Help with server.auth.sign_in

Describe the bug
i can't login and have the server.auth.sign_in.
tableau_auth = TSC.TableauAuth('USERNAME', 'PASSWORD', 'SITENAME')
server = TSC.Server('http://SERVER_URL')
i don't now with i put wrong information on TSC.TableauAuth and TSC.Server.
On Username and Password is ok for me. On SERVER_URL i put the site of the company, the same i put when i sign in tableau server to put my username and password, and after i login teh site put another thing after / this thing i put on sitename
example
http://analytics.work.com.br
username: my_user  Password:  my_pass
after that the site change for
http://analytics.work.com.br/POCtableau
Versions

Tableau Server version
Python version 3.11.5
TSC library Version: 0.30

To Reproduce
import tableauserverclient as TSC
import urllib3

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
tableau_auth = TSC.TableauAuth('my_user', 'my_pass', 'POCtableau')
server = TSC.Server('https://analytics.work.com.br')
server.add_http_options({'verify': False})

with server.auth.sign_in(tableau_auth):
    all_datasources, pagination_item = server.datasources.get()
    print("\nThere are {} datasources on site: ".format(pagination_item.total_available))
    print([datasource.name for datasource in all_datasources])

Results
NotSignedInError: (b'<?xml version=\'1.0\' encoding=\'UTF-8\'?><tsResponse xmlns="http://tableau.com/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tableau.com/api [https://help.tableau.com/samples/en-us/rest_api/ts-api_2_4.xsd"><error](https://help.tableau.com/samples/en-us/rest_api/ts-api_2_4.xsd%22%3E%3Cerror) code="401001"><summary>Erro de logon</summary><detail>Erro ao entrar no Tableau Server (16)</detail></error></tsResponse>', 'https://analytics.work.com.br'//api/2.4/auth/signin')
If i make without urllib3
tableau_auth = TSC.TableauAuth('my_user', 'my_pass', 'POCtableau')
server = TSC.Server('https://analytics.work.com.br')
server.auth.sign_in(tableau_auth)

the result is
SSLError: HTTPSConnectionPool(host='analytics.work.com.br', port=443): Max retries exceeded with url: /api/2.4/auth/signin (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

for the second part: you shouldn't need urllib3, because that's exactly what this line is doing:
server.add_http_options({'verify': False})

For signing in: nothing looks wrong immediately, and that's the most general login error response. Try running these lines before sign in - this will verify that you've got a valid connection to the server.
    server = TSC.Server(server_url)
    print("Connected to {}".format(server.server_info.baseurl))
    print("Server information: {}".format(server.server_info))

One idea: if you are able to log in to the webpage, then go to your user account (from the circle at the top right) and check what it says for 'username'.

When i run this lines, the print is
Connected to https://analytics.work.com.br/api/2.4/serverInfo
Server information: <Endpoint ServerInfoItem: [product version: 2023.3.4, build no.:20233.24.0314.1442, REST API version:3.21]>
i have to change de rest api version from 2.4 from 3.21? how can i make that ?

Did you check your username? I think you might need to check with your server admin, they should be able to see the logs that say why your login isn't working.

Can you try creating a Personal Access Token and see if that allows you to sign in?
If your server is configured for multi-factor authentication or some form of single-sign-on, then using username and password may not work.

Tried using Personal Access Token and get the same Error 401001 :(


why cant custom directive catch the event?

hi,
this is a event listener in bind function , but i cant trigger it from parent component.
$dispatch and $broadcast also dosen work.
  Vue.directive('ajax', {
    params: ['for' , 'to'],
    terminal: true,
    bind: function () {
      var self = this;
      var el = self.el
      self.anchor = createAnchor('v-ajax')
      replace(el, self.anchor);

      self.on('ajax-success' , function(res){
        self.render(self.params['for'] , self.params['to'] , res);
      });
    },
  .......

  });

中文用户，英语不太好。。。

Hello! Please use our forum or Gitter for questions like this. The repo issue list is strictly for bug reports and feature requests, as specified in the contributing guidelines. Thanks.


Discount code for Manning Publications

File: get-started/resources.md
The discount code "webdoc40" has expired as of 11/18/19.

@cobbjb Apologies for the discount code error. I'll check with the author and see if we can get an updated code.

@cobbjb Unfortunately, there isn't a discount code available at the moment. We'll update the page when we receive an updated code. I'm closing this issue here for that reason.


Sample command isn't working

I'm running OS X El Cap 10.11.1 when I run one of the sample commands I get the following error:
$ t followings -l --sort=tweeted | head -10 | awk '{print $1}' | xargs t unfollow -i
/usr/local/lib/ruby/gems/2.2.0/gems/twitter-5.15.0/lib/twitter/utils.rb:39:in value': No live threads left. Deadlock? (fatal) 	from /usr/local/lib/ruby/gems/2.2.0/gems/twitter-5.15.0/lib/twitter/utils.rb:39:in collect'
from /usr/local/lib/ruby/gems/2.2.0/gems/twitter-5.15.0/lib/twitter/utils.rb:39:in pmap' 	from /usr/local/lib/ruby/gems/2.2.0/gems/twitter-5.15.0/lib/twitter/rest/utils.rb:116:in parallel_users_from_response'
from /usr/local/lib/ruby/gems/2.2.0/gems/twitter-5.15.0/lib/twitter/rest/friends_and_followers.rb:154:in unfollow' 	from /usr/local/lib/ruby/gems/2.2.0/gems/t-2.9.0/lib/t/cli.rb:836:in block in unfollow'
from /usr/local/lib/ruby/gems/2.2.0/gems/t-2.9.0/lib/t/utils.rb:54:in block in fetch_users' 	from /usr/local/lib/ruby/gems/2.2.0/gems/retryable-2.0.3/lib/retryable.rb:67:in retryable'
from /usr/local/lib/ruby/gems/2.2.0/gems/t-2.9.0/lib/t/utils.rb:53:in fetch_users' 	from /usr/local/lib/ruby/gems/2.2.0/gems/t-2.9.0/lib/t/cli.rb:835:in unfollow'
from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' 	from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command'
from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' 	from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start'
from /usr/local/lib/ruby/gems/2.2.0/gems/t-2.9.0/bin/t:20:in <top (required)>' 	from /usr/local/bin/t:23:in load'
from /usr/local/bin/t:23:in `'

Been happening to me also. Only fix I found was to use -n 1 on xargs:
$ t followings -l --sort=tweeted | head -10 | awk '{print $1}' | xargs -n 1 t unfollow -i
You can also add -P 4 to make it run faster. Sadly, none of this works for t follow for me.


Top part of sidebar goes under header

Hello,
Thanks for the work you put into this plugin!
This works great except that a portion of the sidebar like 20% goes under the header and continues perhaps until it reaches the top. My header is about 360px so I set additionalMarginTop:360 but it didn't help, it appears that the plugin does nothing with this value?.
The whole idea of this is to keep useful items completely visible as the user scrolls up and down the right content. Please help, thanks.
Here's a screenshot of the relevant sections of my code;

No no, totally my bad - your code is amazing!

Hi, happy to hear it worked out! :) 🍻


Start processing method definitions with inline visibility modifiers

Motivation

Fixes #548. We are currently missing constructs like private def foo; end and protected def bar; end when processing document symbols.
Implementation

The problem is because we do an early return for the command visitor if the node is not an attr accessor, and we do that without processing the child nodes of the CommandNode. This makes us miss a method definition like private def foo; end.
Automated Tests

Added a new expectation test named def_with_visibility that defines two methods with inline visibility with a command and a call syntax.
Manual Tests

^ quite a performance impact if that's accurate, can we run a couple more times?

Running again, but do we really care if we are twice as slow as before but more correct, when the total time is 0.000443s?


Certain images give div/0 error for value of det_a

Exporting a batch of .tif images from a video file and they mostly work well. There are some image pairs that when used with the code will give a zero value for "det_a" which generates a div/0 error and produces a black image result. This issue also arises when exporting the same batch of images after modulating brightness/gain/sensitivity to increase image contrast prior to running through code.
Are there known reasons as to why det_a would be zero?
"RuntimeWarning: divide by zero encountered in divide:
v = (carriers[0].k_loc[1] * phis[1] - carriers[1].k_loc[1] * phis[0]) / det_a"
Thanks

Hey,
Unfortunately I know very little about the actual algorithm/maths involved. I can only tell that det_a is only calculated from the reference image (i_ref). Maybe something is wrong with some of your reference pictures? Maybe you can show me one of them.


Adding Products with price

Closes #50

This looks good. I'm going to merge it and review it more carefully later - in case of some minor problems I'll push some fixes from my side.


Cannot compile sample

I am trying to build a simple OPCUA Browser, and am considering this OPCUA Client, but I cannot get the sample code to run. I am using a VS2015 UPD 3 with a new Console App.
I imported the NuGet package COnverterSystems.OpcUA v 5.0.0
//declaration:
using System;
using System.Linq;
using System.Threading.Tasks;
using Opc.Ua;
Issue: these aren't recognized and I don't know the proper way to include them in a new console app:
using Workstation.ServiceModel.Ua;
using Workstation.ServiceModel.Ua.Channels;
errors:
Error	CS0103	The name 'TransportProfileUris' does not exist in the current context	ConsoleOPCUA	C:\Users\user\Documents\Visual Studio 2015\Projects\ConsoleOPCUA\ConsoleOPCUA\Program.cs	44	Active
Error	CS0103	The name 'UaTcpDiscoveryClient' does not exist in the current context	ConsoleOPCUA	C:\Users\user\Documents\Visual Studio 2015\Projects\ConsoleOPCUA\ConsoleOPCUA\Program.cs	46	Active
Error	CS0246	The type or namespace name 'UaTcpSessionChannel' could not be found (are you missing a using directive or an assembly reference?)	ConsoleOPCUA	C:\Users\user\Documents\Visual Studio 2015\Projects\ConsoleOPCUA\ConsoleOPCUA\Program.cs	57	Active
Error	CS1061	'ApplicationDescription' does not contain a definition for 'GetCertificate' and no extension method 'GetCertificate' accepting a first argument of type 'ApplicationDescription' could be found (are you missing a using directive or an assembly reference?)	ConsoleOPCUA	C:\Users\user\Documents\Visual Studio 2015\Projects\ConsoleOPCUA\ConsoleOPCUA\Program.cs	57	Active

Update: I did include the "Workstation.ServiceModel" Files however it didn't make a difference.

Please delete Nuget package "ConverterSystems.OpcUA v 5.0.0".
Install instead the package "Workstation.UaClient" which is reformulated for both UWP and WPF.
Sorry for the confusion. And thanks for considering this project and for reporting the issue!
Andrew

Hi Andrew
I tried doing this, but got the error:
Severity
Code
Description
Project
File
Line
Suppression State
Error
Could not install package 'Workstation.UaClient 1.2.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
0
From: Andrew Cullen<EMAIL_ADDRESS>Sent: Thursday, August 4, 2016 12:54 PM
To: convertersystems/workstation-samples<EMAIL_ADDRESS>Cc: Bob Meads<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [convertersystems/workstation-samples] Cannot compile sample (#1)
Please delete Nuget package "ConverterSystems.OpcUA v 5.0.0".
Install instead the package "Workstation.UaClient" which is reformulated for both UWP and WPF.
Sorry for the confusion. And thanks for considering this project and for reporting the issue!
Andrew
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/convertersystems/workstation-samples/issues/1#issuecomment-237614247, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABiR2W13qvslHvpAzAaxEKY1iNXLABEwks5qchkMgaJpZM4Jc4y-.

I see the dependency is .NET 4.6; I enabled this and it appears to load.  ( I assumed VS2015 would pick most recent .NET for the project, but I guess not)

setting project to .NET 4.6 and deleting the ConvertSystems.OpcUA NuGET fixed the issue. thanks.


Cannot read properties of null (reading 'query') when testing with Jest

Title is self explanatory, I receive this error when testing the file.
Relevant code from: Notification.js (component being tested)
import React from "react";
import {Box, Button, Card, CardActions, CardContent, List, ListItem, Typography, FormControlLabel, ButtonGroup,} from "@mui/material";
import SwitchIos from "./SwitchIos";
import { useTranslation } from "next-export-i18n";
import Image from "next/image";
import { useEffect, useState } from "react";
import nookies from "nookies";
import axios from "axios";
import ApiRunner from "../../plugins/api";
import { useAuthentication } from "../../hooks/useAuthentication";

let summaryNotifs = [{ id: "day" }, { id: "week" }, { id: "month" }];

const styleSummarySelectButton = { backgroundColor: "gray", color: "white" };
const styleSummaryDefault = { color: "black" };

const Notification = (props) => {
  const { summaryType, setSummaryType } = props;
  const { t } = useTranslation();

Relevant code from: notification.test.js
  import { render, screen } from '@testing-library/react'
import userEvent from '@testing-library/react'
import Notification from '../../../components/user/Notification'

describe('Page renders', () => {
    it('renders', () => {
        render(<Notification />)
    })
})

describe('User sets notification preferences', () => {

    it('renders notification, then clicks one of the switches', async () => {
        render(<Notification />)

        await userEvent.click(screen.getByTestId('postScheduled'))

        expect(screen.getByTestId('postScheduled')).toBeTruthy()
    })
})

Full text of error in console:
● User sets notification preferences › renders notification, then clicks one of the switches

    TypeError: Cannot read properties of null (reading 'query')

      17 | const Notification = (props) => {
      18 |   const { summaryType, setSummaryType } = props;
    > 19 |   const { t } = useTranslation();
         |                               ^
      20 |   // console.log(t, useTranslation(''))
      21 |   const userData = useAuthentication();
      22 |   const [notifSettings, setNotifSettings] = useState({});

      at useSelectedLanguage (node_modules/next-export-i18n/index.js:80:24)
      at useTranslation (node_modules/next-export-i18n/index.js:155:22)
      at Notification (components/user/Notification.js:19:31)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:17811:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19049:16)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
      at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
      at node_modules/react-dom/cjs/react-dom.development.js:26021:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
      at node_modules/@testing-library/react/dist/pure.js:101:25
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (__tests__/components/user/information.test.js:43:15)

  I've tried playing around with some of the solutions suggested over at the i18next/react-i18next github but got nowhere with it. Console logs of useTranslation and {t} both return function t(key, view). Thanks for any help/suggestions.

I'm facing the same issue.

Hi,
Thank you for reaching out.
Can you provide a complete code example or even better a sample repostiory so I can see the actual code?
Thank you in advance!


Moved most of business logic out of Module.js, refactored into custom hooks

I think we should either change some of these file names or add comments at the top explaining the purpose of each hook as it may be hard to a reader to understand what is going on upon first glance. It takes time to really read through the file to understand the purpose of each hook


[bug]: SonarScanner CLI Execution Fails for Forked PRs

When a PR is created from a forked repository, the SonarScanner CLI execution fails due to the absence of a SONAR_TOKEN. This results in a 401 Unauthorized error during the analysis process.
The error occurs because forked repositories do not have access to the SONAR_TOKEN secret for security reasons.

Use the workaround to check if the token exists. If it does not, print a message on how to get a token and add it to the forked repo so the checks can run.


Third-Party Library Version Inconsistencies in your project

We are currently investigating the usage of different versions of the same third-party library in different modules of a project (i.e., the library version inconsistency problem). It is a non-trivial and time-consuming task to maintain the evolving third-party libraries. In that sense, it seems necessary to harmonize the different versions of the same third-party library in different modules into one single version. Thus we developed a prototype tool to detect library version inconsistencies and suggest harmonized version with detailed maintenance efforts. We applied our tool on your GitHub project, and attached the generated report. We hope that the report could be useful for you to be aware of the library version inconsistencies in your project and to decide whether to harmonize inconsistent library versions.
Here is the report:
openzipkin brave.pdf
We will appreciate your comments very much.
Best regards

not a big fan of unsolicited pull requests.

one suggestion is in your bot code look for issue templates. if there's an issue template hesitate before auto-creating an issue as it might have some pointers such as ours which says chat on gitter https://gitter.im/openzipkin/zipkin


@clerk/remix does not support Vercel Edge Functions

[X] Review the documentation: https://clerk.com/docs
[X] Search for existing issues: https://github.com/clerkinc/javascript/issues
[X] Go through package changelog files.
[X] Provide the Frontend API key from your application dashboard.

CLERK_PUBLISHABLE_KEY=pk_test_c21hcnQtc2VhZ3VsbC05Mi5jbGVyay5hY2NvdW50cy5kZXYk

Package + Version

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[X] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore
[ ] other:

Dependencies + versions
Provide a json with the dependencies used in your project (copy paste from yarn.lock / package-lock.json) or a github project / template that reproduces the issue.
Include the @clerk/ packages and their versions!*
  "dependencies": {
    "@clerk/remix": "^2.5.6",
    "@headlessui/react": "^1.7.14",
    "@libsql/client": "^0.1.4",
    "@radix-ui/react-dialog": "^1.0.3",
    "@radix-ui/react-label": "^2.0.1",
    "@radix-ui/react-separator": "^1.0.2",
    "@radix-ui/react-slot": "^1.0.1",
    "@remix-run/node": "^1.16.0",
    "@remix-run/react": "^1.16.0",
    "@t3-oss/env-core": "^0.2.2",
    "@vercel/remix": "1.15.0",
    "class-variance-authority": "^0.6.0",
    "clsx": "^1.2.1",
    "drizzle-orm": "^0.25.4",
    "framer-motion": "^10.12.8",
    "isbot": "^3.6.10",
    "lucide-react": "^0.211.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "tailwind-merge": "^1.12.0",
    "tailwindcss-animate": "^1.0.5",
    "zod": "^3.21.4"
  },
  "devDependencies": {
    "@remix-run/dev": "^1.16.0",
    "@remix-run/eslint-config": "^1.16.0",
    "@remix-run/serve": "^1.16.0",
    "@types/react": "^18.2.5",
    "@types/react-dom": "^18.2.4",
    "eslint": "^8.40.0",
    "tailwindcss": "^3.3.2",
    "typescript": "^5.0.4"
  },

Description
Hello, whenever attempting to use @clerk/remix and deploy to Vercel's edge, I receive the following message:
Error: The Edge Function "index" is referencing unsupported modules:     - @clerk: #crypto, #fetch
I reported this on the Discord a little while ago but I thought I'd just bring it on here for a more official report.

@alrightsure thank you for reporting this.
Is it possible to provide a repository that reproduces the issue? It may be related to the way the imports are being used?

Hello, here is a link to a minimal reproduction: https://github.com/alrightsure/remix-clerk-bug-reproduction.

@alrightsure i haven't found a solution yet.
I have also opened a discord thread : https://discord.com/channels/770287896669978684/1105138751530868896

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue was closed because it has been stalled for 10 days with no activity.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue was closed because it has been stalled for 10 days with no activity.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Keep Hue value when Saturation or Value is zero

In ColorPicker, when Saturation or Value slider is zero, The UV and W box is reset to red. And the hue slider won't work.

This happened when color was set from sliders. Then the UV and W boxes need to update after the color changes. The received new HSV values are converted from the new RGB color. If R == G == B (Gray), The original hue value is lost.
This PR updating HSV from slider values directly to avoid to lost the original hue value.

Should help solve some bug in #46110.

Thanks!

Cherry-picked for 3.2.4.


[FEATURE] : Improve navbar user experience

In the responsiveness design, when a list item is clicked in navbar menu button, the navbar is not closing automatically, we have to manually close it. It feels a little uncomfortable for user experience.

Also, if you find that it needs to be enhanced, could you please assign this to me?!

Can you please elaborate on this more?

We've noticed your Enhancement issue titled "Improving Navbar User Experience" on your GitHub repository. Our expertise would greatly benefit this project, and we kindly request your assistance in addressing this issue.
Could you please consider collaborating with us on this enhancement? our insights and contributions would be highly valuable.
I Want you to give access to this and direct us to work on it.
Looking forward to your response.

Yeah sure @Shreyashkshirsagar. If you want to work on it, I can assign you.

In the responsiveness design, when a list item is clicked in navbar menu button, the navbar is not closing automatically, we have to manually close it. It feels a little uncomfortable for user experience.

Yeah, that's irritating
Assign me this job I'll fix this

I have already fixed it and submitted a pull request which is yet to be  checked and closed.
@PritamSarbajna @sathwikgaddi

Oh, Okay
On Sat, 16 Nov 2024, 11:41 am Jesse-maurice iyoha, @.***>
wrote:

I have already fixed it and submitted a pull request which is yet to be
checked and closed.
@PritamSarbajna https://github.com/PritamSarbajna @sathwikgaddi
https://github.com/sathwikgaddi
—
Reply to this email directly, view it on GitHub
https://github.com/PritamSarbajna/tourism-website/issues/106#issuecomment-2480451754,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWLK3NXYG5UCZ3JXESESRS32A3SJLAVCNFSM6AAAAABR4PJ242VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGQ2TCNZVGQ
.
You are receiving this because you commented.Message ID:
@.***>


Use a separate slide to provide high-resolution detail of a feature.

The idea is to markup a feature with say details(SLIDE_ID, ZOOM_LEVEL), meaning that when zoom >= ZOOM_LEVEL the feature's contents are from the slide with id SLIDE_ID. This second slide will need to be described as id(SLIDE_ID) outline(FEATURE_ID) and contain an (outermost) feature with id(FEATURE_ID).
This allows detail to be more easily drawn in Powerpoint, using a manageable display zoom level.

Implemented with above commits.


APKAM - revoke enrollment changes in enroll verb handler

Is your feature request related to a problem? Please describe.
We have approve/deny features on enroll_verb_handler.dart
Add revoke feature to remove enrollment privileges for the APKAM
Describe the solution you'd like

add revoke option to enroll verb syntax in at_commons
sample command enroll:revoke:
In enroll_datastore_value.dart add an enum value revoked to EnrollStatus
If required add revokeEnrollment to EnrollRequestType
In enrollVerb handler get the enrollment data for the enrollmentId and update the EnrollStatus to revoked.
Change isAuthorized method in AbstractUpdateVerbHandler to check for revoked status.
add/modify functional tests

Describe alternatives you've considered
No response
Additional context
No response

Work done in PR: 65: Completed the changes and raised a PR.
Pending work is PR review and merge the changes to trunk branch


False positives

[+] Testing websites with one form (14)!
 -[   Vimeo   ] Login successful ! <- no
 -[  Ask.fm   ] Login unsuccessful!
 -  Dropbox  form data is invalid! please report to us!
 -[  Github   ] Login unsuccessful!
 -[  Reddit   ] Login unsuccessful!
 -[  StackOF  ] Login unsuccessful!
 -[  Twitter  ] Login unsuccessful!
 -[ Bitbucket ] Login successful ! <- no
 -[ Ebay.com  ] Login unsuccessful!
 -[ Facebook  ] Login unsuccessful!
 -[ FourSquare ] Login unsuccessful!
 -[ Linkedin  ] Login successful ! <- no
 -[ Mediafire ] Login successful ! <- no
 -[ Wikipedia ] Login unsuccessful!

[+] Testing websites with two forms (2)!
 -[ Google ] Email not registered!
 -[ Yahoo  ] Email not registered!

Did two tests on two different accounts, neither had to be true anywhere.

[+] Testing websites with one form (14)!
 -[   Vimeo   ] Login successful !
 -[  Ask.fm   ] Login unsuccessful!
 -  Dropbox  form data is invalid! please report to us!
 -[  Github   ] Login unsuccessful!
 -[  Reddit   ] Login unsuccessful!
 -[  StackOF  ] Login unsuccessful!
 -[  Twitter  ] Login unsuccessful!
 -[ Bitbucket ] Login successful !
 -[ Ebay.com  ] Login unsuccessful!
 -[ Facebook  ] Login unsuccessful!
 -[ FourSquare ] Login unsuccessful!
 -[ Linkedin  ] Login unsuccessful!
 -[ Mediafire ] Login successful !
 -[ Wikipedia ] Login unsuccessful!

[+] Testing websites with two forms (2)!
 -[ Google ] Email not registered!
 -[ Yahoo  ] Email not registered!

This with completely inexistent e-mail.

Have you seen #12 before opening this one !!

But I have the latest git version?

OK, understood, you're already working on it.


Players cannot update with box checked

I've tried to set up a bunch of resources for my players to track. Does not work. Keeps telling them they don't have permission.

Nevermind

For people in the future browsing through the issues for similar problems: Double check the following checkbox in the resource's form. You need to explicitly allow players to modify configuration settings, then check the relevant checkbox before they can change a resource's values themselves:


Second host has ceased sending keepalives!

The title says.
A sensu-client box has simply stopped sending keepalives. There's nothing in the logs, no errors... nothing. It just abruptly stopped sending keepalives about 8 hours ago. I've go so far has to flat out reboot both hosts and flushdb/flush all on the redis instance.
No bueno.
What else can I look at to get the second host to start delivering keepalive notices again?
Also, can we get some type of message in the logs that indicates delivery/failed delivery of keepalives?

@gwinans hi there! Sorry for the radio silence on this! I'm going to go ahead and close this due to inactivity (mostly on our part), and because I'm presuming you figured this out. Also, the sensu keepalive mechanism is one of the more critical components of the software, so if this was a widespread issue related to Sensu itself I'm certain we'd be overwhelmed with similar issues. Please feel free to open a new issue if this matter is not resolved.
#monitoringlove


Can't build from source from nightly tarballs because src/lake/ is missing

Description
Because the nighty tarball doesn't contain a copy of the lake submodule, we can't build from source using the nightlies.
Steps to Reproduce
curl -L https://github.com/leanprover/lean4-nightly/archive/refs/tags/nightly-2021-10-18.tar.gz | tar x
cd lean4-nightly-nightly-2021-10-18/
mkdir -p build/release && cd build/release && cmake ../..
make -j4

Actual behavior: [What actually happens]
Errors with:

[ 81%] Performing configure step for 'stage1'
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00029
-- The C compiler identification is AppleClang <IP_ADDRESS>00029
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- No build type selected, default to Release
-- 64-bit machine detected
-- Found GMP: /usr/local/include (Required is at least version "5.0.5")
-- Found PythonInterp: /usr/bin/python (found version "2.7.16")
-- git commit sha1: b3571290b672ddd02fc59c4b634550fbb0a3b01e
CMake Error at CMakeLists.txt:478 (message):
  src/lake does not exist.  Please check out the Lake submodule using `git
  submodule update --init src/lake`.

-- Configuring incomplete, errors occurred!

The advice is not useful in this case, as the tarball is not a git repository!
Versions
Only relevant for nightly-2021-10-16 onwards.

These are generated by GitHub. Use a shallow checkout instead?


two tikv oom after inject two tikv network-loss and recovery for some time in 5 replicas scenes

Bug Report

What version of TiKV are you using?
[2022/03/24 04:13:50.851 +08:00] [INFO] [client.go:376] ["Cluster version information"] [type=pd] [version=6.1.0-nightly] [git_hash=1ac0ad691260dabb61a25f30359e996a968ed857]
[2022/03/24 04:13:50.851 +08:00] [INFO] [client.go:376] ["Cluster version information"] [type=tikv] [version=6.0.0-alpha] [git_hash=869b953e798cabf29872fd17d526a7061437aec2]
[2022/03/24 04:13:50.851 +08:00] [INFO] [client.go:376] ["Cluster version information"] [type=tidb] [version=6.1.0-nightly] [git_hash=b9bacad6dafabf5e2dfafee8e50ac66785e911b6]
What operating system and CPU are you using?
8core、16GB
2tidb、3pd、5tikv（5replicas）
Steps to reproduce
https://tcms.pingcap.net/dashboard/executions/plan/662849
test data：
{{[tpcc] []} {s3://benchmark/tpcc10000 tpcc10000 10000 64 2013,1213,1105,1205,8022,8027,8028,9004,9007,1062} {s3://benchmark/sysbench_64_7000w sysbench_64_7000w 64 70000000 64 2013,1213,1105,1205,8022,8027,8028,9004,9007,1062} {0} {[]} {false       }}
1、[2022/03/24 04:13:51.083 +08:00] [INFO] [cmd.go:124] ["Start remote command"] [cmd="go-tpc tpcc run -D tpcc10000 --host tc-tidb.endless-oltp-tps-662849-1-968 -P4000 --warehouses 10000 -T 64 --time 36000m --ignore-error '2013,1213,1105,1205,8022,8027,8028,9004,9007,1062'"] [nodename=benchtoolset]
2、inject fault
[2022/03/24 04:24:51.173 +08:00] [INFO] [chaos.go:86] ["Run chaos"] [name=network-loss] [selectors="[endless-oltp-tps-662849-1-968/tc-tikv-1]"] [experiment="{"Duration":"","Scheduler":null,"Loss":"84","Correlation":"25"}"]
[2022/03/24 04:24:51.175 +08:00] [INFO] [chaos.go:86] ["Run chaos"] [name=network-loss] [selectors="[endless-oltp-tps-662849-1-968/tc-tikv-0]"] [experiment="{"Duration":"","Scheduler":null,"Loss":"84","Correlation":"25"}"]
3、recovery fault
[2022/03/24 05:06:51.203 +08:00] [INFO] [chaos.go:151] ["Clean chaos"] [name=network-loss] [chaosId="ns=endless-oltp-tps-662849-1-968,kind=network-loss,name=network-loss-pdhgfxcy,spec=&k8s.ChaosIdentifier{Namespace:"endless-oltp-tps-662849-1-968", Name:"network-loss-pdhgfxcy", Spec:NetworkLossSpec{Duration: "", Scheduler: , Loss: "84", Correlation: "25"}}"]
[2022/03/24 05:06:51.203 +08:00] [INFO] [chaos.go:151] ["Clean chaos"] [name=network-loss] [chaosId="ns=endless-oltp-tps-662849-1-968,kind=network-loss,name=network-loss-zfevalyq,spec=&k8s.ChaosIdentifier{Namespace:"endless-oltp-tps-662849-1-968", Name:"network-loss-zfevalyq", Spec:NetworkLossSpec{Duration: "", Scheduler: , Loss: "84", Correlation: "25"}}"]
What did you expect?
all tikv are normal
What did happened?
two tikv oom at 2022/03/24 06:02 and 06:26
tikv0 memory start to rise form 2022/03/24 05:10 and oom at 06:26
tikv1 memory start to rise form 2022/03/24 05:08 and oom at 06:00

/type bug
/severity Critical
/assign Connor1996
/assign tabokie

/remove-severity critical
/severity major

/found automation

/assign 5kbpers

/remove-severity critical
/severity Moderate

/remove-severity major
/severity Moderate

It appears that the memory growth matches active Raft entry count. After restart, the baseline memory usage (4.5GB) indicates the memory usage of Raft Engine.
This happens because during disconnection, log entries cannot be GC-ed by the leader, and the in-memory index inside Raft Engine accumulates indefinitely.
No fix at the moment.

/remove-severity Moderate
/severity major

/affects-6.0

/label affects-6.0


Add split to two monitors

I'm really happy with the new release 0.44, mainly through the Split.
I just felt powerlessness split on two monitors!
Only a sugestion! Thanks!

Closing since multiple Brackets windows it already tracked on our backlog.


Certain components don't render in latest 1.20.1 build artifact

Describe the Bug
I decided to download the most recent build artifact so I could test it out in 1.20.1, but when I opened the creative inventory, many of Create's components were not rendered. I placed down a few, notably the water wheel and some curved and diagonal train tracks, and they were invisible when placed in the world. After more testing, the components functioned properly but remained unrendered.
Reproduction Steps

Download the latest build artifact: https://github.com/Fabricators-of-Create/Create/suites/14996952850/artifacts/855904306
Place the mod into the mods folder
Launch Fabric 1.20.1
Open a creative mode world
Open the creative inventory and look at the Create tab

Expected Result
All items in the Create tab should be rendered properly, and they should also render when I place them on the ground.
Screenshots and Videos

Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.5.1-d-build.1144
Minecraft Version
1.20.1
Other Mods
Ad Astra
Ambient Sounds
Architectury API
Auto Third Person
Better Advancements
Better Third Person
Boosted Brightness
Botarium
Camera Overhaul
Camera Utilities
Fabric Capes
Cloth Config
Continuity
Creative Core
Disable Custom Worlds Advice
Dynamic Crosshair
Eating Animation
Enhanced Visuals
Entity Model Features
Entity Texture Features
Essential
Fabric API
Fabric Language Kotlin
Forge Config API Port
Iceberg
Legendary Tooltips
Litematica
Make Bubbles Pop
Malilib
Modmenu
No Chat Reports
Not Enough Animations
Player Animations Library
Presence Footsteps
Prism
Puzzles Lib
Resourceful Config
Resourceful Lib
Roughly Enough Items
Sound Physics
Time and Wind
Vanilla Refresh
Visuality
Visual Workbench
Additional Context
No response

After some testing this morning, I narrowed the problem down to an incompatibility between Create and Visual Workbench: https://www.curseforge.com/minecraft/mc-mods/visual-workbench
Visual Workbench and its dependency Puzzles Lib alter the way blocks are rendered, rendering the items used in crafting recipes, so I can see why this causes Create's rendering to not function.

This issue may be caused by Puzzles Lib reimplementing and using the Forge model events on Fabric. It should be using the model events provided by the new Fabric Model Loading API v1 instead as they have better compatibility.

I'll post an issue on Puzzles Lib mentioning this. Thank you!

Hey! I think we both fixed this issue, there's a new version of Puzzles Lib's that doesn't give this problem anymore!

Does this still occur?

 In the event it does please open a new issue.


Switch default backend to eu.gcr.io/gardener-project/gardener/ingress-default-backend:0.11.0

How to categorize this PR?

/area open-source
/kind enhancement
What this PR does / why we need it:
This PR switch default backend from k8s.gcr.io/defaultbackend-amd64:1.5 to eu.gcr.io/gardener-project/gardener/ingress-default-backend:0.11.0. This is required because upstream doesn't publish multi-arch images. We will switch back to the upstream image once multi-arch image is available.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/backlog/issues/19
Special notes for your reviewer:
Release note:

The ingress default backend has been switched to `eu.gcr.io/gardener-project/gardener/ingress-default-backend:0.11.0`.

/cc @ialidzhikov

FYI @holgerkoser @petersutter @grolu


Create option to stop the program mid-execution

Users do not yet have the option of stopping their program after pressing the play button and are forced to wait until the last block has executed. Add an option (button?) that shows up after the play button has been pressed to stop the program and return to editing in the Building Screen.

Should this be "stop" or "pause" (which can then be unpaused)?


Match syntax of libc_bitflags! with bitflags!

Also update a couple of constant declarations while we're at it.

@asomers Want to give this a quick glance-over for me? It should be pretty straight-forward.

@asomers Want to give this another look over now? Should be RFM.

LGTM.  But can you squash the last commit?

@asomers Squash that last commit into which other commit? I left it separate because it didn't seem appropriate to merge it with any other changes in this patchset.

Sorry, I thought that the extra AtFlags definition was also introduced by this PR.  But now I see that it wasn't.
bors r+


Gizmos primitives by ref

What problem does this solve or what need does it fill?
Currently gizmos.primitive_2d() and gizmos.primitive_3d() require a parameter of type P: PrimitiveNd. Passing &my_primitive is not allowed.
This is fine and barely noticeable for primitives that implement Copy but those that don't, like Polygon<N> or BoxedPolyline, need to be cloned every time they are drawn using gizmos (The examples/math/render_primitives avoids this by having all primitives be const).
Some solutions
Since the primitive_Nd functions do not do anything that could not be done with &my_primitive as of now, they could just accept this as a parameter instead.
This would obviously cause existing code to be rewritten (gizmos.primitive_2d(PRIMITIVE) -> gizmos.primitive_2d(&PRIMITIVE)) which is rather annoying.
We could introduce a new trait akin to GizmoRefPrimitiveNd<P: PrimitiveNd> with a function primitive_ref_Nd(primitive: &P, ...) that accepts primitives by ref. GizmoRefPrimitiveNd could probably even be implemented automatically for primitives implementing GizmoPrimitiveNd.
If we allow bevy_math to be changed to fix this, we could implement PrimitiveNd for &P where P is some Primitive that does not implement Copy. This would allow implementing GizmoPrimitiveNd<&P>

I'm personally of the mind that the primitive_Nd functions should probably just take the primitive argument by reference; I wouldn't be surprised if they were initially conceived under the assumption that primitives would be Copy. That unfortunately breaks existing code, but I think it's the semantically correct approach.

I'll get started on implementing this, probably tomorrow.


After connecting to a remote host via SSH jump and opening the binutilis-gdb project, remote host's memory will be quickly exhausted

Type: Bug
After using VSCode to connect to a remote host via SSH jump and opening the binutls-gdb project, ShellCheck will quickly exhaust the remote host's memory.
Scenario:
environment: VSCode<=SSH=>SSH jump<=SSH=>remote host
Reproduction:
1. Open the terminal on the remote host, enter the top command, and then enter M to sort by memory usage;
2. After connecting to the remote host mentioned above, open the binutls-gdb project on that host.
Phenomenon: It can be seen that ShellCheck's memory usage rapidly increases and eventually exhausts the remote host's memory.
Exception:
1. In the above scenario, if you open other projects, such as gcc, there will be no problem.
2. In the scenario where SSH jump is not used, there is no problem opening the binutls-gdb project.
Extension version: 0.37.1
VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Windows_NT x64 10.0.19045
Modes:

How do you connect to the target environment in both cases, is it by using the Remote - SSH extension?

I'm just wondering as well about this:

In the scenario where SSH jump is not used

If you can avoid using the SSH jump, why would you use it?

Got it. The next step to figure this issue out is to isolate whether the vscode extension causes the issue or the shellcheck CLI (which the extension makes use).
Can you try downloading shellcheck in your VM and running it from the terminal to scan the project and observe the use of memory?
Both SSH and SSH with Jump.

@Jamwe, I believe you ran into:
You can work around it by disabling extended analysis: https://github.com/vscode-shellcheck/vscode-shellcheck/issues/1365#issuecomment-1985023560
This issue is tracked at shellcheck CLI at: https://github.com/koalaman/shellcheck/issues/2652


Adding packages for rtp

ISO 20022 message sets
head.001.001.01
pacs.002.001.07
pacs.008.001.06 (existed)
pain.013.001.05
pain.014.001.05
camt.026.001.05
camt.028.001.05
camt.029.001.06
camt.035.001.03
camt.056.001.05
remt.001.001.02
admi.002.001.01
admi.004.001.02

Codecov Report

Merging #30 (2c1d4c0) into master (c0c2d95) will decrease coverage by 8.58%.
The diff coverage is 37.53%.

:exclamation: Current head 2c1d4c0 differs from pull request most recent head 3708981. Consider uploading reports for the commit 3708981 to get more accurate results

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
- Coverage   99.01%   90.43%   -8.59%
==========================================
  Files          90       95       +5
  Lines        7298     8183     +885
==========================================
+ Hits         7226     7400     +174
- Misses         44      755     +711
  Partials       28       28

Impacted Files
Coverage Δ

pkg/acmt_v02/acmt.go
100.00% <ø> (ø)

pkg/acmt_v03/acmt.go
100.00% <ø> (ø)

pkg/auth_v01/auth.go
100.00% <ø> (ø)

pkg/auth_v02/auth.go
100.00% <ø> (ø)

pkg/camt_v01/camt.go
100.00% <ø> (ø)

pkg/camt_v03/camt.go
83.92% <0.00%> (-16.08%)
:arrow_down:

pkg/camt_v03/types.go
97.58% <0.00%> (-2.42%)
:arrow_down:

pkg/camt_v04/camt.go
100.00% <ø> (ø)

pkg/camt_v05/camt.go
53.64% <0.00%> (-46.36%)
:arrow_down:

pkg/camt_v05/types.go
44.07% <0.00%> (-55.93%)
:arrow_down:

... and 73 more

Continue to review full report at Codecov.

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


Pandas should accept ISO 8601 duration

Hello,
ISO 8601 defines duration.
https://en.wikipedia.org/wiki/ISO_8601#Durations
see also usage in XML Schema http://www.w3.org/TR/xmlschema-2/#d0e11648
Duration can't be defined as timedelta (or timedelta64) because

months don't always have 30 days
years don't always have 365 days

It will be nice if Pandas could accept ISO 8601 duration.
We should probably use pd.tseries.offsets.DateOffset like
pd.tseries.offsets.DateOffset(years=2, months=6, days=1)

Kind regards

not sure what you are intending here. The offsets are usually what you use for things like this. As they handle days/month/year counting propertly. OTOH, Timedeltas are more for fixed intervals.

This issue is just an enhancement request to have a Pandas method to parse ISO 8601 duration strings
We could have for example:
pd.tseries.offsets.parse_duration("P3Y6M4DT12H30M5S")

(or something similar)

This is pretty trivial actually. Just need to add a bit to the unit map (e.g. accept DT for days), the P and Y as well.
In [4]: pd.Timedelta("4D12H30M5S")
Out[4]: Timedelta('4 days 12:30:05')

want to do a pull-request?

I don't feel very confortable with regex

its not a regext (anymore). Its all in cython see here

Sorry I don't know cython (maybe one day!)
Moreover I don't understand how you will be able to add a pd.Timedelta with DateOffset(s) because
pd.Timedelta("4D12H30M5S") + pd.tseries.offsets.DateOffset(years=3, months=6)

raises
TypeError: unsupported type for add operation

you wouldn't add a Timedelta directly with an offset. These are 2 different types of things. What you are asking for is an absolute fixed interval which is what a Timedelta is. IOW months are defined to be 30 days, etc.
an offset is a more flexible as it knows its frequency and such.
what you are asking is for an extension of the Timedelta format.

Why not constructing in such a case a DateOffset using
pd.tseries.offsets.DateOffset(years=3, months=6, days=4, hours=12, minutes=30, seconds=5)

we can use years with Timedelta
pd.Timedelta(years=3)

raises
ValueError: cannot construct a TimeDelta from the passed arguments, allowed keywords are [weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds]

but that's probably a misunderstanding from my side.
When I add a 1 month duration to a date I don't want to add (necessarily) 30 days.

@femtotrader exactly, this why for your usecase you almost certainly want to use a DateOffset.
(and that's why I didn't implement years/months on a Timedelta as they are actually not very important BECAUSE they are not fixed intervals).
notice that days,hours,seconds....etc are fixed intervals.

@jreback If I read the explanation of the ISO 8601, I think what they describe as durations, should be considered as DateOffsets in pandas-world, and not timedelta's

to say, I don't think it makes sense to support it in the pd.Timedelta parsing

@jorisvandenbossche yep. We don't support parsing into offsets at all (except for single ones). So this would be a major undertaking, and IMHO not that beneficial).

ISO 8601:2004(E) (Third edition 2004-12-01) can be found here http://dotat.at/tmp/ISO_8601-2004_E.pdf

It probably wouldn't be so bad to support something like DateOffset.from_iso8601_duration as it looks like the definition maps pretty 1-1 with a relativedelta.
I guess then all the other offsets would inherit that method though.  Seems like it may have been to have something like an ABCDateOffset class rather than everything inheriting from DateOffset which has a pretty specific implementation.

@jreback randomly came across this but should be able to close as part of #15136


Added docs on how to integrate JobSet

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Documenting JobSet support
Which issue(s) this PR fixes:

Fixes #738
Special notes for your reviewer:
release-0.4

/retitle Added docs on how to integrate JobSet

/ok-to-test

Add a section describing https://github.com/kubernetes-sigs/kueue/pull/762/files#r1237461450

/release-note-none

/release-note-edit
NONE

/hold cancel
/approve

/lgtm


⚠ Bofrost.at has degraded performance

In 6788b1b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1933 ms

Resolved: Bofrost.at performance has improved in fc1adf8 after 6 minutes.


Image doesnt seem to update with helm image name and tags

I always see the message
time="2021-06-16T17:14:03Z" level=debug msg="Image 'org/example' seems not to be live in this application, skipping" application=myapp
To Reproduce
the source path for the application resource looks like
source:
    path: charts/apps/myapp
    repoURL: git@github.com:/org/charts
    targetRevision: HEAD
    # helm specific config
    helm:
      # Helm values files for overriding values in the helm chart
      # The path is relative to the spec.source.path directory defined above
      valueFiles:
      - ../../values-env/env.yaml
      releaseName: myapp

The annotations are:
kind: Application
metadata:
  annotations:
    argocd-image-updater.argoproj.io/image-list: myrepo=dockerhub.io/org/app
    argocd-image-updater.argoproj.io/write-back-method: git
    argocd-image-updater.argoproj.io/myrepo.allow-tags: 'regexp:^master_.*$'
    argocd-image-updater.argoproj.io/myrepo.update-strategy: latest
    argocd-image-updater.argoproj.io/myrepo.helm.image-name: image.repository
    argocd-image-updater.argoproj.io/myrepo.helm.image-tag: tag_version

Te values file are:
values-env/env.yaml
tag_version: master_abc
replicaCount: 2
resources:
  limits:
    memory: 256Mi
  requests:
    cpu: 64m
    memory: 256Mi

default values.yaml file
image:
  pullPolicy: IfNotPresent
  repository: org/app
tag_app: NONE

The image tag in deployment.yaml inside the app looks like:
image: {{ .Values.image.repository }}:{{  template "tag_name" . }}

The template that produces this tag is in _helpers.tpl below:
{{- define "tag_name" -}}
{{- if .Values.tag_version -}}
{{- .Values.tag_version -}}
{{- else -}}
{{- .Values.tag_app -}}
{{- end -}}
{{- end -}}

Expected behavior
There should be some logs that says that the particular version has been picked up but i always get the  message
`time="2021-06-16T17:14:03Z" level=debug msg="Image 'org/example' seems not to be live in this application, skipping" application=myapp`

Additional context
What should be done in order to have the app get the updated tag. I feel like its not fetching latest tags from the dockerhub repo or something with the filter of allow tags.
This works directly if i use argocd cli to update the app set for example
argocd app set --helm-set tag_version=master_abc myapp

argocd app set --helm-set image.repository=org/app myapp

So this kinda means that the annotations for the following are correct since its picked up by argocli above when tested manually
    argocd-image-updater.argoproj.io/myrepo.helm.image-name: image.repository
    argocd-image-updater.argoproj.io/myrepo.helm.image-tag: tag_version

Version
argoprojlabs/argocd-image-updater:latest
Logs
time="2021-06-16T17:14:03Z" level=debug msg="Image 'org/example' seems not to be live in this application, skipping" application=myapp
What am i doing wrong here. any idea or help would be much appreciated!

Hey, sorry for coming so late to this one. I think you may have success with the force-update annotation, i.e.
argocd-image-updater.argoproj.io/myrepo.force-update: "true"

https://argocd-image-updater.readthedocs.io/en/stable/configuration/images/#forcing-image-updates

@jannfis  How the image-updater find an image is in use, because I am also getting this issue:
time="2021-11-29T11:46:51Z" level=info msg="Loaded 1 registry configurations from /app/config/registries.conf" time="2021-11-29T11:46:51Z" level=debug msg="Creating in-cluster Kubernetes client" time="2021-11-29T11:46:51Z" level=info msg="ArgoCD configuration: [apiKind=kubernetes, server=argocd-server.argocd, auth_token=false, insecure=false, grpc_web=false, plaintext=false]" time="2021-11-29T11:46:51Z" level=info msg="Starting health probe server TCP port=8080" time="2021-11-29T11:46:51Z" level=info msg="Starting metrics server on TCP port=8081" time="2021-11-29T11:46:51Z" level=info msg="Warming up image cache" time="2021-11-29T11:46:51Z" level=debug msg="Processing application demo" time="2021-11-29T11:46:51Z" level=debug msg="Image 'saurabh3460/demo' seems not to be live in this application, skipping" application=demo

@suraj2410 You shouldn't have to use the force-update annotation if your application manifest and chart are correct. It looks like your image-list value includes dockerhub.io/ and image: {{ .Values.image.repository }}:{{  template "tag_name" . }} in your deployment.yaml is rendered to a value that does not include dockerhub.io/. You can check the value under images in the summary for your application in the Argo CD UI.
For your question on how the image-updater determines whether or not an image is in use, the image updater compares the image-list value to the images in the status summary for the running application. Refer here.

@suraj2410
What exactly was your problem - you used argocd-image-updater.argoproj.io/write-back-method: git
You should use argocd-image-updater.argoproj.io/write-back-method: argocd
In general, the working configuration looks like this:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  annotations:
    argocd-image-updater.argoproj.io/image-list: app=registry-host.com/app-dev-registry/app-base-image:main
    argocd-image-updater.argoproj.io/write-back-method: argocd
    argocd-image-updater.argoproj.io/app.helm.image-name: app.image.repository
    argocd-image-updater.argoproj.io/app.helm.image-tag: app.image.tag
    argocd-image-updater.argoproj.io/app.update-strategy: newest-build
    argocd-image-updater.argoproj.io/app.pull-secret: pullsecret:argocd/app-dev-registry
spec:
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
  destination:
    namespace: app
    server: https://kubernetes.default.svc
  source:
    chart: app-chart
    repoURL: https://app-dummy-helm.github.io/charts
    targetRevision: 10.2.2
    helm:
      values: |
        app:
          image:
            repository: repo
            tag: latest

You can delete values from the values field, argocd will modify your chart on the fly


Trident resized screen running under VBox guest does not resize

Resized VBox guest screen doesn't resize until manually changing Lumina desktop settings.
This works under trueos-desktop-201803131015
John
<EMAIL_ADDRESS>

The floating panel is an indication that Fluxbox itself has stopped responding properly as indicated in the Errata/Known Issues section on the website: http://project-trident.org/download/#known-issues
Quick fix: run killall fluxbox from a terminal and Lumina will automatically restart it for you and things will work fine again.


labels halo

Allow the possibility to add a halo below the labels

the simplest technique is stroke="white" stroke-width=4 paint-order=stroke.


csi-cephfsplugin-sa is not part of the CSV

The csi-cephfsplugin-sa is a service account without any RBAC (clusterrole/role), this serviceaccount is missing from the CSV because of this one the deployment is failing.

this is fixed now, closing it


Phonebook web app

Pls add hacktoberfest accepted tag while merging

Thank you for your suggestion to add phonebook app! We are currently not expanding this to any new lessons and projects. But stay tuned for when we open contributions for additional lessons, and example web apps to build. For now, sharing your creations within Discussions would be amazing!


Follow up fixes with feedback from #74129

Didn't need to modify any tests since this shouldn't have any functional change. Just a slight cleanup.

@xedin as per your request.

@swift-ci smoke test

@swift-ci test windows platform


[Bug] Vanilla grindstone is unusable

Version of Variant Grindstones 1.0.7
Version of Fabric API 0.61.0
Version of Minecraft 1.19.2
Version of Fabric Loader 0.14.9
Mod List none
Screen shot or logs of any errors https://gist.github.com/Footage2-Amply-Pounce/75c6edf57a087fe49ef42e091f2ab4f3

Structure mods always use vanilla grindstones, so it's a bit problematic finding useless grindstones.

unusable how?
nothing in log to show anything.

You can't interact with it. When you right-click on it, the GUI automatically closes so fast, it sometimes has no time to even render.

vanilla was renamed to dark oak as the texture is identical.
i've replicated the issue, seems its only the vanilla block but the modded ones are ok.
will work on it today

issue found, 1.0.8 will be on CF shortly.
apologies.
https://github.com/xanthian/variantgrindstones/commit/7c8c90db24dd986d6fb31d6d5adc953abfadd16b


Update Composer dependencies (2020-11-25-00-13)

Visual regression test passed!
View the visual regression test report


Make layout names consistent

What
Issue to make layout names consistent across Design System guidance and technical docs.
Why
A community member has raised a PR highlighting that the name of the 'two-thirds / one-third' layout is inconsistent. After a search, on the Layout page alone I've seen it mentioned as:

two-thirds and one third
two-thirds / one-third
two-thirds to one-third

https://github.com/alphagov/govuk-design-system/pull/1895/files
Who needs to know about this
Content designer, technical writer, designer
Further detail
Done when

[ ] correct name of the layout agreed
[ ] changes to guidance, mainly the Layout page, published
[ ] changes to technical doc published, if needed

Style guide suggests that '/' is sometimes taken to mean 'or', which we isn't what we want here. So we should probably go with either 'two-thirds and one-third' or 'two-thirds to one-third'.
The second sentence in the guidance page says 'two-thirds and one-third'. Maybe we should just use that term throughout?


Apply for showcase

Code of Conduct

[X] I have read and agree to the xyflow contributor Code of Conduct

Project Name
mmapx
Project Description
Mindmap creation board
Project Tags
mindmap, notes
Link to the project website
https://github.com/bbg/mmapx
Link to project demo
https://mmapx.batuhangoksu.com/
Used Library
React Flow
Upload a Project Screenshot

Additional Information
I had in mind to make a board of colored note blocks. I wanted to have colorful colored note blocks on my board and be able to link them together when needed. I started my work to learn the Reactflow library and to realize this idea in my mind and after a few days of work, MMapx was born. I want to develop the MMapx project further. I will continue to develop the project by adding more beautiful features over time.

Hey @bbg , I like the project but it's not as far along in development as the other projects we have in the showcase. I'll close this issue for now, but feel free to re-open the issue if you add new features / use cases to the project. Thanks for taking the time to submit!


[BACKEND] Adjusting the hasConvertToMMATransisitiveUse to look through if results

hasConvertToMMATransisitiveUse is supposed to decide if it is a beneficial to propagate given anchor layout to other ops. The propagation code was missing handling of cases where the def-use chain was going through the if results inside the loop, which was resulting in sub-optimal code in some cases.

Converting to draft to test some changes. We are hitting the bug with unsupported "tensor dimension smaller than MMA layout dimension", for which hack exist, but we need to discuss if we want to proceed this way.


Created Height of Tree [BST] in python and CPP

Hello fnplus I have added a file will you please review it and merge and close the pull request

Thanks for contributing!


Correction for raw affiliation CEE-M, Univ. Montpellier, CNRS, INRA, SupAgro, Montpellier, France

Correction needed for raw affiliation CEE-M, Univ. Montpellier, CNRS, INRA, SupAgro, Montpellier, France
raw_affiliation_name: CEE-M, Univ. Montpellier, CNRS, INRA, SupAgro, Montpellier, France
new_rors: 051escj72;02feahw73;03rnk6m14;00rwjvc96
previous_rors: 051escj72;02feahw73;03rnk6m14
works_examples: W2909146773
contact: 2871823de0a571547d39fdda487dd327:913d2f7ca5ec0087f005f32cd8007687f8fe @ inrae.fr

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


Support Mistral API

Is your feature request related to a problem? Please describe.
We extend OpenAIChatGenerator for MistralChatGenerator. This works for chat completion but not for function calling. Mistral's function calling API is not the same as OpenAI's.
https://docs.mistral.ai/guides/function-calling/
Describe the solution you'd like
We need to support Mistral's own API in MistralChatGenerator
Describe alternatives you've considered
Not supporting function calling in Mistral
Additional context
With the current implementation, MistralChatGenerator states that a message is a function call but the content doesn't provide function name/argument, probably because we cannot map the response coming from Mistral to a ChatMessage object
{'replies': [ChatMessage(content='', role=<ChatRole.ASSISTANT: 'assistant'>, name=None, meta={'model': 'mistral-large-latest', 'index': 0, 'finish_reason': 'tool_calls', 'usage': {}})]}

Related: we should probably also introduce a MistralGenerator which can play well with other components such as the AnswerBuilder

I can work on this if no one is working on it!


viewWillAppear Doesn't work?

It appears that the lifecycle methods (except viewDidLoad) are not being called on the children controllers of SLPagingViewController.
Also, setting a delegate to self in any child controller crashes the app.
The children controllers are not retained properly? Does anyone know how to fix this problem?

@StefanLage There's a wrong method call in SLPagingViewController in line 183. In viewWillAppear you call NSSelectorFromString(@"viewDidAppear:")


Color sorting inversed for first and last item in ColorRange.getColor()

Hey, nice little library i am finding useful.
I have been running into one issue though when using the tool.
So, say i want 14 different shades of blue ordered from light to dark.
I have used code similar to the below to create a map of 14 colors.
However, when querying the colorRange(test_colors, test_ranges).getColor(i).toHex method, all items are returned in the expected light to dark order, aside from the first and last item.
let startRange = 1;
let endRange = 14;

const test_colors = [
      [204, 255, 255],
      [0, 51, 51],
    ];

const test_ranges = [startRange, endRange];

for (let i = startRange; i <= endRange; i++) {
    console.log(colorRange(test_colors, test_ranges).getColor(i).toHex);
}

This image illustrates the order in which the colors are returned.

After a bit more testing, i found that in the color-range.ts file (line 89), if i reverse the two return statements on the two if's like below:
// if (num <= this.map.ranges[0]) return this.map.colors[0];
// if (num >= this.map.ranges[this.map.ranges.length - 1])
    //   return this.map.colors[this.map.ranges.length - 1];

if (num <= this.map.ranges[0]) return this.map.colors[this.map.ranges.length - 1];
if (num >= this.map.ranges[this.map.ranges.length - 1]) return this.map.colors[0];

Then all 14 colors are returned in the expected order including the first and last item.
This also occurs when the order of the base colors in "test_colors" are also revered from Light to Dark, to, Dark to Light

Hello! Great catch there. Feel Free to submit a pull request.

The issue is from line 15 in /src/utils.ts. ratio refers to the amount of color1 we do not want, and the amount of color2 we want.
Replacing the blendChannelByRatio function with the code below should fix it.
export const blendChannelByRatio = (
  channel1: number,
  channel2: number,
  ratio: number
): number =>  (channel1 * (1 - ratio)) + (channel2 * ratio);

Fixed in<EMAIL_ADDRESS>

Hey, Thanks for the quick fix!
I can confirm that all colors are now returned in the expected order in v3.0.1


File Browser demo crash

Crash in readdir (DIR * is NULL)
See video:
https://www.youtube.com/watch?v=qBnX-q7Rm_Y
gdb bt:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5b18786 in __readdir (dirp=0x0) at ../sysdeps/posix/readdir.c:44
44      ../sysdeps/posix/readdir.c: Нет такого файла или каталога.
(gdb) bt
0  0x00007ffff5b18786 in __readdir (dirp=0x0) at ../sysdeps/posix/readdir.c:44
1  0x00007ffff7a0e076 in mk::Directory::update() () from /usr/local/lib/libkiui.so
2  0x00007ffff7a0e16b in mk::Directory::setLocation(std::string const&) () from /usr/local/lib/libkiui.so
3  0x00007ffff7a0e1c7 in mk::Directory::moveIn(std::string const&) () from /usr/local/lib/libkiui.so
4  0x00007ffff7a0dc0b in mk::Dir::trigger() () from /usr/local/lib/libkiui.so
5  0x00007ffff7a13068 in mk::WrapButton::leftClick(float, float) () from /usr/local/lib/libkiui.so
6  0x00007ffff7a06f16 in mk::Widget::mouseReleased(float, float, mk::MouseButton) ()
from /usr/local/lib/libkiui.so
7  0x00007ffff7a0bd4a in mk::RootSheet::mouseReleased(float, float, mk::MouseButton) ()
from /usr/local/lib/libkiui.so
8  0x00007ffff7ac6a83 in mk::UiWindow::dispatchMouseReleased(float, float, mk::MouseButton) ()
from /usr/local/lib/libkiui.so
9  0x00007ffff7abdc74 in mk::GlWindow::injectMouseButton(int, int, int) () from /usr/local/lib/libkiui.so
10 0x00007ffff7abd1f9 in mk::GlWindow::initContext()::{lambda(GLFWwindow*, int, int, int)%3}::operator()(GLFWwindow*, int, int, int) const () from /usr/local/lib/libkiui.so
11 0x00007ffff7abd22e in mk::GlWindow::initContext()::{lambda(GLFWwindow*, int, int, int)%3}::_FUN(GLFWwindow*, int, int, int) () from /usr/local/lib/libkiui.so
12 0x00007ffff663c660 in ?? () from /usr/lib/x86_64-linux-gnu/libglfw.so.3
13 0x00007ffff7abd8af in mk::GlWindow::renderFrame() () from /usr/local/lib/libkiui.so
14 0x000000000041e1a7 in main ()

Can you tell me the value of Directory::mPath just before the crash ?

Yeap, just a minute.

in mk::Directory::setLocation(const mk::string& path):

  path	"..\vnc_client"	mk::string &
  this	@0xf6f700	mk::Directory

Problem with handling relative paths.

Or maybe '' instead '/'
Looks strange enough

Try this ? eee466a

Great, all is good.
Thank you, man

Great topic to read about file path separators:
http://bytes.com/topic/python/answers/23123-when-did-windows-start-accepting-forward-slash-path-separator


Optimize default radius parameter

Description
Will check quality of segmentation in large testing with radius 4 and 5. Will keep the best. This test should be done once https://github.com/neuropoly/spinalcordtoolbox/issues/1454 is fixed.
State of spinalcordtoolbox
Spinal Cord Toolbox (master/a0617b16c5d7776a91ff8b8e2bc03c95fb869ba3)
Additional Information
Screen-shots, error logs and output files.

As deepseg_sc becomes more standard, this issue becomes less relevant.


Contribution guidelines don't consider ideas or bug reports without proposed implementation

The New Issues page
https://github.com/music-encoding/music-encoding/issues/new
says "If you have a bug or an idea, read the contributing guidelines before opening an issue". But those Guidelines
https://github.com/music-encoding/music-encoding/blob/develop/CONTRIBUTING.md
assume you're going to be contributing code, while a large number of the current issues (including this one) are just statements of ideas or descriptions of bug with no related code. It seems like the Contribution Guidelines should discuss that type of contribution.

What would you like them to say?
GitHub automatically links any file named "CONTRIBUTING" to the new Issues page, so that message you see is automatically created. If you have an opinion of what this should say, you can modify the 'CONTRIBUTING' file. You can do this from GitHub without needing to pull or anything:

Click on CONTRIBUTING (make sure you're in the develop branch)
Click the edit button
Make the changes
Write a little message saying what you've changed in the bit below
Click 'Propose file change' (I think that's what the button is called)

GitHub will automatically open a new Pull Request for us.
For now, I'm going to close this issue. If you have a concrete suggestion for wording in the contribution guidelines, please submit that via a pull request.

Thanks for the details, Andrew! I just submitted a pull request.  --Don
On Nov 30, 2017, at 4:29 AM, Andrew Hankinson<EMAIL_ADDRESS>wrote:

What would you like them to say?
GitHub automatically links any file named "CONTRIBUTING" to the new Issues page, so that message you see is automatically created. If you have an opinion of what this should say, you can modify the 'CONTRIBUTING' file. You can do this from GitHub without needing to pull or anything:
• Click on CONTRIBUTING (make sure you're in the develop branch)
• Click the edit button
• Make the changes
• Write a little message saying what you've changed in the bit below
• Click 'Propose file change' (I think that's what the button is called)
GitHub will automatically open a new Pull Request for us.
For now, I'm going to close this issue. If you have a concrete suggestion for wording in the contribution guidelines, please submit that via a pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Donald Byrd
Woodrow Wilson Indiana Teaching Fellow
Adjunct Associate Professor of Informatics
Visiting Scientist, Research Technologies
Indiana University Bloomington


(S)FTP access

Are you planning to add (s)FTP access for synchronization in the near future?
I don't want to set up an extra Dropbox or WebDAV account for synchronization with my smartphone, as I would like to stay offline with my data.

Thanks for your suggestion! We'll work on adding support for (s)FTP, as well as iCloud, Google Drive, and OneDrive. All of these features will be available either in the release candidate planned for early this fall or in the stable release, which should be available later this fall. Hope this answers your question.

Absolutely and I'm glad to hear it - it's just a security thing, what good is it if all my files are stored with me and I need a third party tool to synchronize them. Hence the question: Would it perhaps be possible to create the option of simply importing the data from the internal storage until the other accesses are ready?

There is an option to import data from device storage. However, since the app is still in development and no documentation is available yet, the process is a bit tricky. On iOS, you can place the folder you want to import into the export folder and then click 'Import Data' under 'Settings > Sync.' The app is limited to reading within its own folder. On Android, unfortunately, the app folder is not accessible to the user, so we currently have no way to implement import and export there.

Very unfortunate as I'm on Android 13 here, although I don't quite understand why this isn't possible as I'm constantly giving other apps access to individual folders, which then works.
Anyway, since I think your app is so great, I created a webDAV account yesterday and had to realize that unfortunately that didn't work either. The folder you can see in the screenshot contains the data exported from the desktop app, but the import just won't work. However, when I tap on webdav.login I don't get an error message.

I've read the IONOS documentation, and it seems like the path might be incorrect. Try using https://webdav.hidrive.ionos.com/. Let me know if it works. I'll work on improving the login process to report whether the URL is valid.

I've really tried all sorts of different paths - the one you suggested produced the following error message:

This might sound silly, but after changing the path, did you click the login button again to save the credentials? Have you checked if the Beaver-Pocket folder actually exists and contains a folder named Beaver Notes 2024-09-08? By the way, I apologize for any inconvenience. I'll do my best to help.

Yes I did, no problems...the logo isn't red.

So, does it work now?

No it did not but okay, what exactly does the folder hierarchy on the server have to look like?
I also have the folders public and Users in the root folder, which I can't change...

Normally, the app creates its own folder in the root directory called Beaver Pocket. Inside it, there should be a folder named Beaver Notes YYYY-MM-DD. You can create this folder by exporting it using either Beaver Notes or Beaver Pocket.

In the desktop app I have to decide between public or users and choose public. The desktop app then creates the Beaver Notes [date] folder directly under public during the manual backup...but no pocket folder

the desktop app cannot access the root folder, just as I cannot

The Pocket folder is created by Beaver Pocket. Try exporting using Beaver Pocket first, and then select the folder called Beaver-Pocket in Beaver Notes to export there. Otherwise, create the Beaver Pocket folder manually.

I have tried to copy the Beaver Notes 2004-09-08 in both the public and the users/[username] folder, both with and without the beaver-pocket parent folder, but it always produces the same error message...

Exporting in Beaver pocket does exactly nothing

So, it doesn't read from or write to WebDAV, right?

It seems so

I also tried
https://webdav.hidrive.ionos.com/public/
but it doesn't write to it.

If you open the link https://webdav.hidrive.ionos.com/ in a browser, does it let you log in, or does it show any errors?

It first shows:
Unauthorized
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Bad when I refresh the page manually a pop up for credentials comes up an I can login

issue doesn't appear to be with the connection, although the path seems to be wrong, but rather with the code. I'll be working on fixing it, and a new release candidate will be pushed in the coming weeks. Unfortunately, since this is beta software, bugs like this are to be expected. I apologize again for the inconvenience.

Just a suggestion, we can also leave the whole thing and I'll wait until you have implemented FTP because at the latest then I will cancel this webDAV account again anyway

By the way, if there's an option to disable digest authentication, please use it. The issue appears to be specific to this authentication method. I’ve primarily tested it with Nextcloud, which doesn’t use digest authentication.

No problem, no need to apologize. I will cancel the Web DAV account and then use Beaver pocket later (especially since there is another error that prevents me from using it) and first deal with the desktop app, which is also new to me.
Btw, I can't find an option for digest authentication at all

Hey, thanks for trying to help and for taking the time at such short notice 👍

Hello,
The same issue occurs with pCloud's webdav access on iOS.
The address is https://webdav.pcloud.com + a subfolder that already exists, but Beaver Pocket send the same error than C-O-D got.
I need to mention that that URL scheme works perfectly with other app I use (Documents 5, Taio, etc)
If you can, adding a native integration of pCloud in addition of the others you mentionned above would be great ;D

Sorry for the delay. I've been working on Beaver Pocket non-stop. I've rewritten the WebDAV logic for Android using OkHttp and also fixed the iOS implementation. On top of that, I've worked on adding support for more platforms. I encountered some issues with pCloud and tried to contact the developers, but I had no luck. I hope the WebDAV fixes will work with pCloud too. As for SFTP, we currently have no way of implementing it, especially on iOS. I apologize for any inconvenience this may cause. I hope the next release candidate in mid-October, which includes the WebDAV fixes, will help resolve your issues.

I really appreciate your efforts but I don't really want to pay extra for a web-dav account if I only want to synchronize on my home network. It would be really nice if in the future there was a way to synchronize your data in your home network without the detour via third party providers or the internet.

I’m sorry if I misunderstood or if something got lost in translation. To clarify, we don’t offer any paid sync services on our end. Some cloud providers, like pCloud, do charge for WebDAV access, but that’s out of our control. If you're interested in syncing with something like your own Nextcloud server, our beaver is completely free.

No, no misunderstanding, I realize that and that's not what I meant.
The point is that I don't know of any free web-dav provider and I think it would be overkill to set up my own server in view of the fact that I only want to synchronize some data on my own home network

...but as I already mentioned, I would also be completely happy with the possibility to simply import my data on Android from the internal storage - I could then easily do the synchronization with 'Syncthing'...
Best regards


Spof

Yeah you need a single agent on every machine at the end of the day.
Consider integrating with nomad from hashicorp.
It works with consul.
It's a growing base
It's very pluggable and getting lots of support.
It's also very easy to use on you laptop or a cluster of 1,000 servers.

I don't understand what are you proposing, could you elaborate a little?

I will try.
You need the discovery server to be many, so there is no spof.
So just put an agent on every server that is a discovery server, and let then elect a leader.
Did you checkout nomad from hashicorp ?

AFAIK nomad is a cluster scheduler, this project is not design to run in a cluster, is design to be simple, you can try it if you are curious about it.


Add missing rbac to helm chart when using HCP vault

When trying to setup external-secrets (basically migrating from KES to ESO) with vault enterprise using the helm chart, it's simply impossible to understand why we are getting 403 permission denied. After a bit of digging I understand that the operator's service account can't function without system:auth-delegator clusterrole, which isn’t included in the chart. The operator wasn’t helpful since the only error I saw was
{"level":"error","ts":1642804754.8685496,"logger":"controllers.ExternalSecret","msg":"could not get provider client","ExternalSecret":"external-secrets/vault-example","SecretStore":"external-secrets/vault-backend","error":"error from Vault request: Error making API request.\n\nURL: POST <URL>:8200/v1/auth/kubernetes/login\nCode: 403. Errors:\n\n* permission denied","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.3/pkg/internal/controller/controller.go:298\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.3/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.3/pkg/internal/controller/controller.go:214"}
and from the ExternalSecret all I got was error 403 permission denied to /auth/kubernetes/login.
My secretstore yaml is this:
apiVersion: external-secrets.io/v1alpha1
kind: SecretStore
metadata:
  name: vault-backend
  namespace: external-secrets
spec:
  provider:
    vault:
      server: url
      path: secret
      version: v2
      namespace: admin/kubernetes
      auth:
        kubernetes:
          mountPath: kubernetes
          role: test
          serviceAccountRef:
            name: external-secrets
            namespace: external-secrets

I added the host url and ca, and the sa jwt token.
Adding this ClusterRoleBinding fix the issue
kind: ClusterRoleBinding
metadata:
  name: role-tokenreview-binding
  namespace: external-secrets
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:auth-delegator
subjects:
- kind: ServiceAccount
  name: external-secrets
  namespace: external-secrets

Just for reference for someone who also stumbles into this: this is documented in the vault docs, also relevant the Kubernetes docs.
I'm not sure if it is necessary to bind that to the default service account, because not everyone uses this authentication mechanism.

@moolen  got the same issue, spend some time to find out the issue due to 403 error code not easy to find the root cause.
Since it's the required permission for the vault,  is it possible to add a flag in the helm chart to support it optionally？

I wouldn't like to add this: imo it is an anti-pattern to use an service account for both a pod (the controller) and as authentication credential to vault.
Following the least privilege principle a service account with just system:auth-delegator is sufficient to authenticate with vault.

Tho we definitely need better documentation around this that makes that clear!

I just wasted half a day troubleshooting this issue. Please just add a notice to the doc.

I just wasted half a day troubleshooting this issue. Please just add a notice to the doc.

PRs are welcome! 😁


HideFromDashboardAnnotation

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.
Aspire does not have an existing annotation that could be associated with the resources that whould hide them from dashboard. In my case databases and some other resources are like this as I'm never interacting with them.
Describe the solution you'd like
Have an annotation that could be assigned to resources and when assigned the information could be interpreted by dashboard to hide the resource and do not show.
Additional context
No response

I have another use-case that I'm personally using, but it feels like it could be better served by "global commands" or commands linked to a group of resources:
Upon starting our Aspire app we ensure that we have all our dependencies in order, by calling pnpm install in the frontend directory (using Aspire 9, so we have a WaitFor on that). This works well, but it does leave an ugly "finished" resource just there.

You can hide resources by setting the resource state to KnownResourceStates.Hidden.  This is used for the Aspire Dashboard which is a resource but doesn't show up.
@KennethHoff For your use case, you can do something like the following to hide the resource once it completes.  The advantage of this over a hidden annotation is that if pnpm fails for whatever reason, you'll still be able to see it in the dashboard to investigate the cause, and see why other things may have failed to start.
var app = appBuilder.AddExecutable("pnpm", "whatever", ".");
appBuilder.Eventing.Subscribe<BeforeStartEvent>((e, c) =>
{
    _ = Task.Run(async () => {
        var resourceNotificationService = e.Services.GetRequiredService<ResourceNotificationService>();

        await resourceNotificationService.WaitForResourceAsync(app.Resource.Name, x => x.Snapshot.State?.Text == KnownResourceStates.Finished && x.Snapshot.ExitCode == null, c);
        await resourceNotificationService.PublishUpdateAsync(app.Resource, s => s with { State = new(KnownResourceStates.Hidden, null)});
    });
    return Task.CompletedTask;
});

That's awesome, so we just need an extensionmethod HideWhen(string expectedState) [Finished, Completed, etc] and it does the job!

@attilah I could see HideWhen(Func<ResourceEvent, bool> predicate) and specifically HideWhenFinished() being more useful.

@CZEMacLeod I agree, more flexible and any variant can be built on top of it.


Added proposals feed page for infinex

Resolves #114
Note: we don't have any navigation to the proposals feed in the navbar, since it's only for helping Vlad setup lockup contract for infinex, and providing them a quick UI to approve requests (we will remove it after redacted, so I haven't added any tests)

@race-of-sloths include

@Megha-Dev-19 Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
Are you going to win race-of-sloths this month? If so, you should speed up! Run, Sloth, run!

Current status: waiting for scoring
We're waiting for maintainer to score this pull request with @race-of-sloths score [0,1,2,3,5,8,13] command. Alternatively, autoscoring [1,2] will be applied for this pull request
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow
For contributors:

Tag @race-of-sloths inside your pull requests
Wait for the maintainer to review and score your pull request
Check out your position in the Leaderboard
Keep weekly and monthly streaks to reach higher positions
Boast your contributions with a dynamic picture of your Profile

For maintainers:

Score pull requests that participate in the Race of Sloths and receive a reward
Engage contributors with fair scoring and fast responses so they keep their streaks
Promote the Race to the point where the Race starts promoting you
Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands

For contributors

Include a PR: @race-of-sloths include to enter the Race with your PR

For maintainers:

Invite contributor @race-of-sloths invite to invite the contributor to participate in a race or include it, if it's already a runner.
Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

@race-of-sloths score 5

We do still want an UI to approve requests, right @Megha-Dev-19 ? Do we really need to remove it? We can build on this moving forward?


Forward original errors in multitest instantiate, execute and query

Instead of rewriting errors, just forward them so that they can be used for error matching / patterns.

You basically get rid of annotation "Contract returned an error..." or is something more sophisticated going on here?

Just that. If not, we cannot pattern / text match the original errors anymore; which is useful for tests.


Throw deprecation warning on nested flushes

As indicated in #1051, calling flush in an event subscriber can have unwanted side effects and shouldn't be done. To prepare people for this change, ODM 1.2 will throw deprecation warnings to give users a chance to fix offending event subscribers before 2.0 starts throwing exceptions.

Looking at #1584, the suggestion is to also deprecate calls to other persistence methods (persist, remove, etc. during event subscriber calls. These calls could be allowed in preFlush and onFlush event listeners, but considered unsafe afterwards because any new operations scheduled might not be executed. What do you think @malarzm?

I think it will require a lot of ifology as for instance it is safe to call remove on postPersist as removals are last. But lemme think about it a bit more :)

I think it will require a lot of ifology as for instance it is safe to call remove on postPersist as removals are last. But lemme think about it a bit more :)

Which is exactly why I wouldn't allow any events at all after onFlush. There are just too many variables for us to figure out whether the event call is allowed, and it gets even worse for users that don't know the inner workings of UnitOfWork. I see it as an opportunity to prevent users from shooting themselves in the foot 😉

I see it as an opportunity to prevent users from shooting themselves in the foot :wink:

While this is a noble thing to do, this also takes away feature that is quite powerful and working without side effects (to some degree of course) :P I mean I can see people wanting to remove a document after successful update of another one, and if somebody is caring enough to go look into UoW's internals to figure out it's OK to do so, I'm happy for them.

I can see people wanting to remove a document after successful update of another one

That's a valid use case, although I think people should be handling this in postFlush. However, when postFlush has been called, changeSets have not been cleared, so it isn't save to make another call to flush just yet.
Furthermore, even by looking into UnitOfWork, scheduling a new operation while the flush is in progress is a big no-go as you can't be sure it will be executed (for one, order of operations may forbid it or we may ignore it because we already handled insertions for that type, etc.).

Merging without additional deprecations - we can always re-visit this. Ideally we'll find a different solution to the problem at hand.


A epic issues

Hi dude,
Do you know your app can be reason for ban Github by RosComNadzor?

There's a whole lot of censorship circumvention software available on Github. GoodbyeDPI is just one of them.

I hope you're right, but there's a post on habrahabr only about your app.


Update Ubuntu images to 20.04

I'd like to wait until the actual release date (Apr. 23) and the image is updated but it'd be nice to find any failures before then.

@JohnTitor: no appropriate reviewer found, use r? to override

log from x86_64-unknown-linux-gnu:
cargo:warning=/checkout/target/x86_64-unknown-linux-gnu/debug/build/libc-test-564f8688fcb7d9a9/out/main.c: In function '__test_fn_gettimeofday':
cargo:warning=/checkout/target/x86_64-unknown-linux-gnu/debug/build/libc-test-564f8688fcb7d9a9/out/main.c:37923:24: error: returning 'int (*)(struct timeval * restrict,  void * restrict)' from a function with incompatible return type 'int (*)(struct timeval *, struct timezone *)' [-Werror=incompatible-pointer-types]
cargo:warning=37923 |                 return gettimeofday;
cargo:warning=      |                        ^~~~~~~~~~~~
cargo:warning=/checkout/target/x86_64-unknown-linux-gnu/debug/build/libc-test-564f8688fcb7d9a9/out/main.c: In function '__test_field_type_ipc_perm_mode':
cargo:warning=/checkout/target/x86_64-unknown-linux-gnu/debug/build/libc-test-564f8688fcb7d9a9/out/main.c:42827:28: error: returning '__mode_t *' {aka 'unsigned int *'} from a function with incompatible return type 'short unsigned int *' [-Werror=incompatible-pointer-types]
cargo:warning=42827 |                     return &b->mode;
cargo:warning=      |                            ^~~~~~~~
cargo:warning=/checkout/target/x86_64-unknown-linux-gnu/debug/build/libc-test-564f8688fcb7d9a9/out/main.c: At top level:
cargo:warning=cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]
cargo:warning=cc1: all warnings being treated as errors

It seems glibc changed gettimeofday to take *void. Also the definition of ipc_perm was changed/removed and mode field now takes mode_t on some targets.

SOMAXCONN was updated by this commit.

Hm, it's a strange result on i686-unknown-linux-gnu:
running 5 tests
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }', src/libstd/sys/unix/time.rs:349:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: test failed, to rerun pass '--test cmsg'

Okay, now CI is green, though we're skipping i686-unknown-linux-gnu. I'm going to land this now since it doesn't affect actual code and the image should be stable enough.

got
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }', src/libstd/sys/unix/time.rs:349:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

on armv7, after command  cargo install --git "https://git.koesters.xyz/timo/conduit.git" in docker container.
how to workaround it?


Added a reconnect option

Hi ! I've added a "reconnect" option to the Websocket component.
How it's used :
<Websocket reconnect={10} debug={true} url='ws://localhost:8080/' onMessage={this.handleData}/>
If disconnected, the component will wait between 0 and 10 seconds before attempting a reconnection. The randomness avoids a storm of reconnections in case of server restart.
I've tried using ws.resume() instead of recreating the websocket entirely but it fails to work sometimes. Recreating the ws from scratch shows no ill effect.
If reconnection fails, it will attempt a new reconnection later, and so on...
I tried to stick to your code conventions...

I've added a test to prevent reconnection after the WebSocket component is unmounted


Final issue about the URL

I get all the JSON data returned (I'm parsing it on my service) and I can easily see the id, the title, a ton of other data and an element named webpage_url but that is just the url I passed in with the video code. I see a channel_url and that plays in a browser but it returns the video playing within the channel page.
Is it hidden in one of the format elements? It played on my headset fine when I used your service Heroku service.
Any help is appreciated.

What's your query url, and the result?

I've changed the name of my server but basically I send this string
https://myserver.com/url?url=OZJhhY5h9Hc&cli=yt-dlp
I added an endpoint named url so a) I didn't change yours and b) I can parse the mass of JSON that is returned and extract only a url. It is returning JSON like { "url": "the_url"} Using Postman I receive the JSON and in my headset I can parse that JSON and extract just the url. But I don't know which JSON field is supposed to contain the url to use.
I copied the code from your app.get('/v1/video', async (req, res) I could fetch all the JSON if it would help you but it is what you return from the this one.

If you just need the url try /v1/video?url=OZJhhY5h9Hc&cli=yt-dlp&schema=url

That worked and it save me having to parse. I assume I should read the docs for yt-dlp for these switches? Thanks again.


NPM install

I think you're missing an npm install step in your Makefile.
Having tried to install naively following the Readme, I think this might be needed:
build-godzilla-parser:
	cd parser && npm install && npm run build

@JonathanUsername That's right. You'd need this. Thanks for pointing it out. I will add this in a bit.