Updater "updated"

Now the updater works async (which leads the program to open faster on poor connections)
New GUI when updating
Indicator of download status
No program stutter if connection is lost while downloading
MOST IMPORTANT keeps old version if new version is not downloaded

Can you Make filename more relevant and path organized?

Can you check the following changes?


cannot create vehicle 'seat'

Describe the bug
Since 4 days, evcc cannot log into my Seat Account / Seat Vehicle.
Steps to reproduce
1.sudo evcc -l debug vehicle
[main  ] INFO 2023/09/04 15:29:53 evcc 0.119.4
[main  ] INFO 2023/09/04 15:29:53 using config file: /etc/evcc.yaml
[db    ] INFO 2023/09/04 15:29:53 using sqlite database: /root/.evcc/evcc.db
[main  ] ERROR 2023/09/04 15:29:55 creating vehicle ev3 failed: cannot create vehicle 'template': cannot create vehicle 'seat': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights.
.Soc:     vehicle not available: cannot create vehicle 'template': cannot create vehicle 'seat': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights.
Capacity: 32.0kWh
Features: [Offline]
2.
3.
...
Configuration details
uri: <IP_ADDRESS>:7070 # uri for ui
interval: 10s # control cycle interval

# log settings
log: error
levels:
#  core: debug
#  lp-1: debug
#  lp-2: debug

meters:
- type: template
  template: sma-home-manager
  usage: grid
  host: <IP_ADDRESS>
  name: grid1
- type: template
  template: sma-inverter
  usage: pv
  host: <IP_ADDRESS>
  password: xxx  # Wird nur benötigt, wenn das Standardpasswort geändert wurde
  name: pv2

chargers:
- type: template
  template: go-e-v3
  host: <IP_ADDRESS>
  name: wallbox4
- type: template
  template: go-e
  host: <IP_ADDRESS>
  name: wallbox5

vehicles:
- type: template
  template: seat
  title: Mii electric
  user: x
  password: x
  vin: VSSZZZAAZMD509958
  capacity: 32
  cache: 5
  mode: pv
  minSoC: 10
  targetSoC: 80
  minCurrent: 6
  maxCurrent: 16
  name: ev3
  identifiers:
  - Magda # MAC address

loadpoints:
- title: Hof
  charger: wallbox4
  vehicles:
  - ev3
  mode: pv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true
- title: Garage
  charger: wallbox5
  vehicles:
  - ev3
  mode: pv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

site:
  title: Franzosenweg 16
  meters:
    grid: grid1
    pvs:
    - pv2

hems:
  type: sma
  AllowControl: false

sponsortoken:

Log details
pi@steuermann:~ $ evcc --log debug
[main  ] INFO 2023/09/04 15:26:03 evcc 0.119.4
[main  ] INFO 2023/09/04 15:26:03 using config file: /etc/evcc.yaml
[main  ] WARN 2023/09/04 15:26:03 `uri` is deprecated and will be ignored. Use `network` instead.
[main  ] INFO 2023/09/04 15:26:03 starting ui and api at :7070
[db    ] INFO 2023/09/04 15:26:03 using sqlite database: /home/pi/.evcc/evcc.db
[main  ] ERROR 2023/09/04 15:26:10 creating vehicle ev3 failed: cannot create vehicle 'template': cannot create vehicle 'seat': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights.
[lp-1  ] WARN 2023/09/04 15:26:10 vehicles option is deprecated
[lp-2  ] WARN 2023/09/04 15:26:10 vehicles option is deprecated
[site  ] WARN 2023/09/04 15:26:11 deprecated: use 'pv' instead of 'pvs'
[semp  ] WARN 2023/09/04 15:26:11 SEMP_BASE_URL unspecified, using http://<IP_ADDRESS>:7070 instead
[site  ] INFO 2023/09/04 15:26:11 site config:
[site  ] INFO 2023/09/04 15:26:11   meters:      grid ✓ pv ✓ battery ✗
[site  ] INFO 2023/09/04 15:26:11     grid:      power ✓ energy ✓ currents ✓
[site  ] INFO 2023/09/04 15:26:11     pv 1:      power ✓ energy ✓ currents ✓
[site  ] INFO 2023/09/04 15:26:11   vehicles:
[site  ] INFO 2023/09/04 15:26:11     vehicle 1: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗
[lp-1  ] INFO 2023/09/04 15:26:11 loadpoint 1:
[lp-1  ] INFO 2023/09/04 15:26:11   mode:        pv
[lp-1  ] INFO 2023/09/04 15:26:11   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-1  ] INFO 2023/09/04 15:26:11   meters:      charge ✓
[lp-1  ] INFO 2023/09/04 15:26:11     charge:    power ✓ energy ✓ currents ✓
[lp-2  ] INFO 2023/09/04 15:26:11 loadpoint 2:
[lp-2  ] INFO 2023/09/04 15:26:11   mode:        pv
[lp-2  ] INFO 2023/09/04 15:26:11   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-2  ] INFO 2023/09/04 15:26:11   meters:      charge ✓
[lp-2  ] INFO 2023/09/04 15:26:11     charge:    power ✓ energy ✓ currents ✓
[lp-1  ] DEBUG 2023/09/04 15:26:11 phase timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 guard timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 max charge current: 6A
[lp-2  ] DEBUG 2023/09/04 15:26:11 phase timer inactive
[lp-2  ] DEBUG 2023/09/04 15:26:11 pv timer inactive
[lp-2  ] DEBUG 2023/09/04 15:26:11 guard timer inactive
[site  ] WARN 2023/09/04 15:26:11 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2023/09/04 15:26:11 ----
[lp-1  ] DEBUG 2023/09/04 15:26:11 charge power: 4160W
[lp-2  ] DEBUG 2023/09/04 15:26:11 charge power: 0W
[site  ] DEBUG 2023/09/04 15:26:11 pv power: 4717W
[site  ] DEBUG 2023/09/04 15:26:11 grid power: -40W
[site  ] DEBUG 2023/09/04 15:26:11 grid powers: [664 833 -1537]W
[site  ] DEBUG 2023/09/04 15:26:11 grid currents: [3.28 3.53 -6.43]A
[site  ] DEBUG 2023/09/04 15:26:11 site power: -40W
[lp-1  ] DEBUG 2023/09/04 15:26:11 charge currents: [8.4 8.5 0]A
[lp-1  ] DEBUG 2023/09/04 15:26:11 charge total import: 5362.426kWh
[lp-1  ] DEBUG 2023/09/04 15:26:11 charger status: C
[lp-1  ] INFO 2023/09/04 15:26:11 car connected
[lp-1  ] DEBUG 2023/09/04 15:26:11 vehicle api refresh
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer elapse
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 charger: guard elapse
[lp-1  ] DEBUG 2023/09/04 15:26:11 guard timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 charge total import: 5362.426kWh
[lp-1  ] INFO 2023/09/04 15:26:11 start charging ->
[lp-1  ] DEBUG 2023/09/04 15:26:11 wake-up timer: stop
[lp-1  ] DEBUG 2023/09/04 15:26:11 charger vehicle id: Magda
[lp-1  ] DEBUG 2023/09/04 15:26:11 available power 4200W > 4140W min 3p threshold
[lp-1  ] DEBUG 2023/09/04 15:26:11 start phase scale3p timer
[lp-1  ] DEBUG 2023/09/04 15:26:11 phase scale3p in 1m0s
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv charge current: 6.06A = 6A + 0.058A (-40W @ 3p)
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer reset
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer inactive
[site  ] DEBUG 2023/09/04 15:26:21 ----
[lp-1  ] DEBUG 2023/09/04 15:26:21 charge power: 2890W
[lp-2  ] DEBUG 2023/09/04 15:26:21 charge power: 0W
[site  ] DEBUG 2023/09/04 15:26:21 pv power: 4708W
[site  ] DEBUG 2023/09/04 15:26:21 grid power: -1258W
[site  ] DEBUG 2023/09/04 15:26:21 grid powers: [50 224 -1532]W
[site  ] DEBUG 2023/09/04 15:26:21 grid currents: [1.73 1.06 -6.4]A
[site  ] DEBUG 2023/09/04 15:26:21 site power: -1258W
[lp-2  ] DEBUG 2023/09/04 15:26:21 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2023/09/04 15:26:21 charge total import: 612.211kWh
[lp-2  ] DEBUG 2023/09/04 15:26:21 charger status: A
[lp-2  ] INFO 2023/09/04 15:26:21 car disconnected
[lp-2  ] DEBUG 2023/09/04 15:26:21 set charge mode: pv
[lp-2  ] DEBUG 2023/09/04 15:26:21 set min current: 6
[lp-2  ] DEBUG 2023/09/04 15:26:21 set max current: 16
[lp-2  ] DEBUG 2023/09/04 15:26:21 set priority: 0
[site  ] DEBUG 2023/09/04 15:26:31 ----
[lp-1  ] DEBUG 2023/09/04 15:26:31 charge power: 2930W
[lp-2  ] DEBUG 2023/09/04 15:26:31 charge power: 0W
[site  ] DEBUG 2023/09/04 15:26:31 pv power: 4703W
[site  ] DEBUG 2023/09/04 15:26:31 grid power: -1239W
[site  ] DEBUG 2023/09/04 15:26:31 grid powers: [62 230 -1531]W
[site  ] DEBUG 2023/09/04 15:26:31 grid currents: [1.76 1.08 -6.37]A
[site  ] DEBUG 2023/09/04 15:26:31 site power: -1239W
[lp-1  ] DEBUG 2023/09/04 15:26:31 charge currents: [6 5.9 0]A
[lp-1  ] DEBUG 2023/09/04 15:26:31 detected active phases: 2p
[lp-1  ] DEBUG 2023/09/04 15:26:31 charge total import: 5362.443kWh
[lp-1  ] DEBUG 2023/09/04 15:26:31 charger status: C
[lp-1  ] DEBUG 2023/09/04 15:26:31 available power 4169W > 4140W min 3p threshold
[lp-1  ] DEBUG 2023/09/04 15:26:31 phase scale3p in 40s
[lp-1  ] DEBUG 2023/09/04 15:26:31 pv charge current: 8.69A = 6A + 2.69A (-1239W @ 2p)
[lp-1  ] DEBUG 2023/09/04 15:26:32 max charge current: 8A

What type of operating system are you running?
Linux
Version
evcc version 0.119.4

Look at #9615, known problem.


~ ((Cash App Bonus $1000) Free Cash App Money Codes Generator 2024

(Cash App Bonus $1000) Free Cash App Money Codes Generator 2024
Free Money on Cash App download link is given in this post. You can earn a lot of money with Free Money on Cash App. It is very simple working in it is very easy. This app is also available on Play Store under the name of CashApp – Cash Rewards App. You can download this app from the link given below.
FREE CASH APP MONEY ✅ https://quibble9.click/cash-app
CASH APP PLUS PLUS ✅ https://quibble9.click/cashapp-plus-plus
Today I want to show you how to get a lot of free cash cash app using this hack. Cash app hack is an application that allows you to generate money for free in your cash app account. So you’re trying to find a legit Cash App free money code and I’m sure you’re looking for real money you can get instantly in 2022 right?
It's a reliable application that offers a free bonus and has a few features that help its users to generate free money. In this article we will tell you all the details of the cash app money generator apk for mobile users that you should know before using this application. Also it will guide you to operate this app and we will give you some coupon codes to earn extra bonus. Cash App Free Money 1000 dollars on cash app app money apk can i cash app myself can you transfer money from chime to cashapp cash app cash rewards cash app instant transfer cash app reward cash me reward code cassapp does the 750 cash app work free cash generator free money using social security card go app cash how do u cash app someone how much money can i receive on cash app how to download cash app plus plus how to get money
#CashAppHack #CashAppMoney #FreeCashAppMoney #CashAppMoneyGenerator #CashAppMoneyHack2022 #FreeCashAppLegit #FreeCashAppReal
How To Use Free Cash App Money Generator Hack 2022 Cash App Hack Get 750$ Free Cash App Money Generator. I just earned my first 10 billion dollars. FREE CASH APP MONEY GENERATOR 2022 LEGIT [ RgnxCGq]
It’s a reliable application that offers a free bonus and has a few features that help its users to generate free money. In this article we will tell you all the details of the cash app money generator apk for mobile users that you should know before using this application. Also it will guide you to operate this app and we will give you some coupon codes to earn extra bonus.
Cash app money generator real is the best app to earn money with real money by simply doing a certain job (this is an easy way to earn money in real-time) So if you want to earn more money or solve your money problem you don’t need big money in the bank just earn money for free in the cash app download it and start earning. Once you have installed it you need to see a good notification.
So every day they will send an apk notification. Don’t say it’s fake but not the motive is real-time so once you have installed this apk don’t ever delete it because if you remove the money from the currency app you will not earn $10 from this currency app free currency code. Also the best part it is a free app that helps the individual to generate free money. This app is made for those people who want to earn money by doing task tasks on their Mobile.
The best part of the cash app money generator download app is that you can easily generate a $500 bonus during the sign-in of this app. Now you might think you have to make a payment or complete a task on the Cash App to get the bonus. But no there is no work. You get the bonus automatically and also you have to scan the QR code and get paid.
Cash app money generator legit is the most secure and reliable app. All transactions are secure and linked to Lincoln Savings bank which is a well-known bank. Keep in mind that you don’t have to worry.
I have been using this app for about 5 months now and let me tell you that of all the apps on the market this is the best. It is very easy to use the app and if used properly can help you grow your money! I love this app and I have people who only use my free transfer code to sign up and give me a bonus if they do. I like that they send me $ 5 every time someone uses my forwarding code.
I’ve been using this Cash app money generator legit no human verification app for a while now and I just found out you can withdraw your money.
This is very far my favourite app in the play store e.g. Cash app free money apk and it sounds interesting that this game is very easy and simple to use and navigate. I like that I can do everything in the app when it comes to money not just checking and paying bills.
This free money generator app is a must-have if you are looking for a free way to make some money. Initially I was worried about the payment and think that this was legit but this free app money is legal.  So far I have made over $ 100 from this cash app free money and it’s only been 2 weeks!
If you want to download the currency app and download without confirmation from the download button below. Also follow the steps given above to install apk cash app money generator without human verification.

Resolved $


fix wide-character display

it depends https://github.com/migueldeicaza/NStack/commit/3fc024fb2c2e99927d3e12991570fb54db8ce01e

Thank you for your contribution!


Throw exception when use simulator 4s

I have a property which type is NSURL, and i write the custom transform method and it works well when use other simulators(5s,6), but it throw exception when i run in simulator 4s.
@throw [NSException exceptionWithName:@"Type not allowed"
                                                       reason:[NSString stringWithFormat:@"%@ type not supported for %@.%@", property.type, [self class], property.name]
                                                     userInfo:nil];

This is my fault, sorry.


ES indexing issue for deleted tags

Affected module
Does it impact the UI, backend or Ingestion Framework?
Backend
Describe the bug
A clear and concise description of what the bug is.
Even after deleting a tag or category, it appears in ES search results
To Reproduce
Screenshots or steps to reproduce
https://user-images.githubusercontent.com/71748675/170742058-68245d08-eb3e-4dd0-b9f8-a37ee83bfe70.mov
Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

@sureshms should we allow deletion of tags when they are associated with entities. This going to be tricky to resolve on ES side as we need to update all the indexes on one change event to remove any associated deleted tags


Fix for issue #58

@dufoli I believe thanks to your more recent updates, combined with this small change, we should be able to close this issue?  Let me know your thoughts!

Have you check that it has fixed it?

Yes @dufoli all my testing has been successful, including with using Camel Quarkus and this extension in the same project.  Just wanted to make sure with you that removing this line here has to major impact I'm unaware of; I couldn't think of a good reason it would be required.
forceJaxb.produce(new JaxbFileRootBuildItem("."));


Integration no longer loads

Version of the custom_component
How do I tell? HACS says it is the latest, I just upgraded it.
Installation method (hacs / manual)
HACS
Installation method of hass (venv, docker, hassio,...)
Docker-compose
Configuration

Not sure which of the config files I need to include here?.

Describe the bug
2024-07-11 20:37:29.121 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration volkswagen_we_connect_id which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-11 20:37:54.512 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'volkswagen_we_connect_id': Requirements for volkswagen_we_connect_id not found: ['weconnect==0.60.3'].
Debug log
I read the page https://www.home-assistant.io/components/logger/ , but I have no clue as to which of the many config files to add this stuff to, or what to add to make it just log the loading of we_connect_id. Sorry, you will have to explain better!

P.S. Just pulled the latest home assistant, but it made no difference.

Other people saw exactly the same problem in the beginning of June, see https://github.com/mitch-dc/volkswagen_we_connect_id/issues/262.  The component Weconnect==0.60.3 is included in Home Assistnant core 2024.6.1 and newer versions. Are you sure your home Assistant core is version 2024.6.x or 2024.7.x (and has been restarted after upgrade)

Sorry, my mistake - I thought all I needed to do was docker-compose pull,
but I also needed to restart the container.
Thank you for your prompt and helpful support.
Regards
Nikki
On Fri, 12 Jul 2024, 08:01 uougaard, @.***> wrote:

Other people saw exactly the same problem in the beginning of June, see
#262 https://github.com/mitch-dc/volkswagen_we_connect_id/issues/262.
The component Weconnect==0.60.3 is included in Home Assistnant core
2024.6.1 and newer versions. Are you sure your home Assistant core is
version 2024.6.x or 2024.7.x (and has been restarted after upgrade)
—
Reply to this email directly, view it on GitHub
https://github.com/mitch-dc/volkswagen_we_connect_id/issues/265#issuecomment-2224952305,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFG76OWFC3QM2VVBO7RDHTZL55MTAVCNFSM6AAAAABKXUI6LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRUHE2TEMZQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Unable to display admonitions images

Hi Dan,
I tried to get the font-awesome icons to work in Jekyll Asciidoctor however I keep getting dead links pointing at the alleged images directory of the conventional (posts) filename e.g. example.com/2015/01/01/images/note.png which, doesn't exist. Since I don't get the idea Jekyll makes it easy to include post-specific assets this way, I was left but to try and get font-awesome to work.
I think the front-matter screws things up though... I couldn't get Deck.js + Jekyll + Asciidoctor to play nice either and had to resort to a build+launch script for the extra asciidoctor -t templates command. I tried a dozen variations of:
---
stuff: more stuff
---
= Foobar
:icons: font

Some para starts here

Any pointer on how to proceed? I'm kinda lost atm and the png location seems baked in as a fallback without any option to change location from other than the document head (e.g. via _config.yml asciidoctor command line arguments) right?

Also, be advised: the location referenced in the README of this repo mentioned the location lib/asciidoc_plugin.rb but that file (no longer) exists, carrying the name of jekyll-asciidoc.rb currently. I assume this is the file needed (not version.rb in the subdirectory), however, it remains unclear if the intention is to rename this file or if it should keep the current filename.

Oops, looks like the README is out of date. You should be using this as a gem now, so there is no longer any need to move files around.
For an example, see https://github.com/asciidoctor/jekyll-asciidoc-quickstart

It would be good to include a tip on how to get font-based icons setup in the README.

Ok I fixed it. Had to update to jekyll 3, remove a _config.yml entry (icons=fontawesome), tinkered a little bit and all of a sudden they appeared. I used the distributed gem 1.0.0 now, had a distributed earlier but I think it was an older version - this one works... Thanks for the prompt reply.

https://github.com/asciidoctor/jekyll-asciidoc-quickstart/blob/master/_config.yml#L9 That line is incorrect and prevented proper display of the icons me thinks...

Correct. It should say icons=font.
Btw, I'm sending a big update to the README to cover all this.

See https://github.com/asciidoctor/jekyll-asciidoc#supplemental-asciidoc-assets

If you are using Jekyll 3, I highly recommend building the gem from the jekyll-asciidoc repository and using that since it has numerous fixes for Jekyll 3. We should have a new release out soon.


Upgrade golang-runtime to 1.22.4

Is your feature request related to a problem? Please describe.

golang-runtime 1.21.8 is outdated and has vulnerabilities
Describe the solution you'd like

Upgrade golang-runtime to 1.22.4
Describe alternatives you've considered

Additional context

Environment details (remove if not applicable):

Kubernetes version:
Cloud-provider/provisioner:
cert-manager version:
Install method: e.g. helm/static manifests

/kind feature

Hello @inteon ,
We, as well, see this vulnerability CVE-2024-24790 being reported for cert-manager webook, cainjector and controller version 1.15.1. And as per the reports, the golang version being used is 1.22.0.
Could you please update the golang version to 1.22.4 or higher?

For v1.15.1, we indeed use go 1.22.3:
https://github.com/cert-manager/cert-manager/blob/5b04ec62a07f5d35a4298e288a0d43137cadc709/make/_shared/tools/00_mod.mk#L156
This will have to be upgraded via a makefile modules bump, we will do our best to include this in the v1.15.2 release.


extract method of mail sending

https://github.com/WePays/WePay/blob/3ff68747e257f2ebaac393dd30be10c15c90b2ea/WePay/views/bill.py#L145-L154

Fixed


Update ttrockstars.user.js

Fix :D

Thank you fellow dev! :)

it is broken again can you please fix it idk what it is though

wait i found out it is at line 65 and more please fix it


Lost access to Completion3D dataset

Thanks for the nice work!
Recently I want to reproduce your paper result on the Completion3D dataset, however, the official standford completion3d dataset link no longer works...
Although I know this is not relevant to SnowflakeNet, do you have a copy of completion3D that can be shared? Thanks

hello, have found how to get that?


Add new tabs/features for covid-19 publications and data

We should start collecting  news and locations about available datasets and publications
For example:
https://pages.semanticscholar.org/coronavirus-research

here is another covid-19genehostinitiative.net

Data -> https://coronavirus.1point3acres.com/en

also consider a trials registry


NavigationView creates a black view to appear when using a textfield

As shown:
https://github.com/Mijick/NavigationView/assets/53881694/43c848f8-d72e-4104-9ba2-9a455266c3a4
Clicking on a textfield will cause a black (or the colour you set config.backgroundColour as within the NavigationGlobalConfig) to appear and fill the entire view.

Hey @Nathan1258,
The problem should be solved in the "patch-1.1.1" branch. Could you please check it and let me know? Thanks!

Hi @FulcrumOne,
I can confirm the problem has been solved - thank you for being so speedy! Nice to see my UI when entering text 🤣
Will return to stable branch now and wait for patch-1.1.1 to be merged!

Hello @FulcrumOne , I have same problem, and up to date.
config.backgroundColour = .red

@clbemre,
Hey, I'll look at this at the weekend

@FulcrumOne Hey thank you,  I noticed that also, drag gesture conflicts with scrollview and causes an wrong behavior.

@FulcrumOne Hey thank you,  I noticed that also, drag gesture conflicts with scrollview and causes an wrong behavior.
Additionally maybe you can add view.navigationBackGesture(.dragEdges) 😀

There is such an option, I don't remember how it's called exactly but one of NavigationGlobalConfig

@FulcrumOne
I just saw view.navigationBackGesture(.drag).  No (.dragEdges), i don't know :)

In a file "Public+NavigationGlobalConfig", there should be three attributes - backGesturePosition (the one that you're looking for), backGestureThreshold and backgroundColour. Could you confirm that in the version you use, all three attributes exist?

@FulcrumOne
aa okey, i see. We have to configure global config. I thought we could adjust this on a per page basis sorry :)

@clbemre,
Do you think it would be better to add this option to every screen?

No but I just want to override . And my main problem is not this. My problem in video :)

yeah, tomorrow or Saturday I'm returning to this library 😅

Hello, @clbemre
Could you share a code that contains an issue with background color? It will help me to speed up the problem-solving process.
Also the issue with the offset for horizontal drag-gesture action has been resolved in the branch Patch-1.1.2. Feel free to give it a try and let us know if it doesn't work as expected.

@jay-jay-lama Hello, my code like this.
 var body: some View {
        DefaultContainerView {
            VStack(spacing: 0) {
                navigationBarView
                    .padding(.horizontal, 20)
                ScrollView {
                    VStack(spacing: 20) {
                        Group {
                            nameTextField
                            surnameTextField
                            emailTextField
                        }
                    }
                        .padding(.top, 30)
                        .padding(.horizontal, 20)
                }.scrollDisabled(!isShownKeyboard)
            }.overlay(alignment: .bottom, content: { saveButtonView })
        }
            .keyboardToolbar(focusedField: $focusedField, currentVisibilityID: .toolbarVisibilityID)
            .onKeyboardAppear { self.isShownKeyboard = $0 > 0 }
            .animation(.smooth, value: isShownKeyboard)
            .onTap { focusedField = nil }
    }

also
struct DefaultContainerView<Content: View>: View {

    let content: Content

    init(@ViewBuilder content: () -> Content) {
        self.content = content()
    }

    var body: some View {
        ZStack {
            DefaultBackgroundView()

            content
        }
    }
}

@clbemre, the branch patch-1.1.3 resolves the problem with keyboard and Patch-1.1.2 with drag gestures

@FulcrumOne Thank you!

@FulcrumOne It has solved. But just there is a little problem.
https://github.com/user-attachments/assets/dc2ff961-32ab-491a-80a2-116af7c4ee4c

Oh, could you describe it, because I'm clearly blind 😅

@FulcrumOne when it first opens on each screen there is a flicker for the first time when trying to scroll and then it works fine without flickering 😀

Oh, yeah, you're right. I'll check it, thanks

@FulcrumOne I have tested without NavigationView plugin this page. When I remove the navigationview plugin from the page, I do not encounter this problem.

@FulcrumOne  It seems that I've noticed the same problem if I use native solution without our library.
Navigation bar has it's own observer of scrollView callbacks and it can be native problem.
And issue appears not only on first screen presenting but also during switching between the textfields and also just during ordinary scrolling. So it's random...
Need also your test to confirm the situation.
On the video the same problem with native solution.
https://github.com/user-attachments/assets/5f499872-9a7c-438f-b93a-3115daeb392b

I unserstood. But i told you , When I remove the navigationview plugin from the page, I do not encounter this problem. :)

https://github.com/user-attachments/assets/9b11c6d9-3dd8-43c0-95bb-d0b6770887e0
without NavigationView

@FulcrumOne hey there is also a very little problem :)
with background
 var navigationConfig: NavigationGlobalConfig {
        var config = NavigationGlobalConfig()
        config.backgroundColour = .red
        config.backGesturePosition = .edge
        config.backGestureThreshold = 0.25
        return config
    }

https://github.com/user-attachments/assets/11d60de2-2a88-4de4-bb06-0e75ce2c3b71
without background
```
var navigationConfig: NavigationGlobalConfig {
var config = NavigationGlobalConfig()
//        config.backgroundColour = .red
config.backGesturePosition = .edge
config.backGestureThreshold = 0.25
return config
}

https://github.com/user-attachments/assets/e8d4e443-e4b0-4248-98fd-ef3804d6241b

without background
```
var navigationConfig: NavigationGlobalConfig {
var config = NavigationGlobalConfig()
//        config.backgroundColour = .red
config.backGesturePosition = .edge
config.backGestureThreshold = 0.25
return config
}

https://github.com/user-attachments/assets/99b124e7-96e9-4bb9-a54f-9640740f416b

@clbemre, this is actually tricky one and I doubt I will be able to "fix it" - background color cannot be clear, otherwise you always see the view underneath. It's because the animation of the views involves modifying their offset (or scale / rotation).
If you really need to make the safe areas clear, I strongly recommend using .ignoresSafeArea modifier 😉

@FulcrumOne I set the background color. Actually, I don't have a problem with this, I just said it so you know :)
I use .ignoresSafeArea when necessary. But I don't understand where you mean I should use it :)

Oh, I just thought about an use-case like putting a picture that is supposed to be behind a status bar / home indicator and someone may think that it can be resolved with clear background (someone actually asked me exactly this). So if it's not your question just please ignore it 😅
That previous problem I'll try to resolve later today. Thanks for reporting!

@FulcrumOne Hey, hello again. How are you?
I have a little problem again :)
https://github.com/user-attachments/assets/dbcbe535-de96-4076-9b01-ea97c761f989
I have tested without NavigationView. FYI :)

hello again, @clbemre 😉
does this behaviour only occur with maps (and scrolling views partially)?
Could you please provide me with the code I can use to reproduce the above bug? Thanks!

@FulcrumOne Hello again.
Also I have conflick drag gestures.
I have using this framework. https://github.com/ciaranrobrien/SwiftUIPageView but I got confilict with back gestures.
https://github.com/user-attachments/assets/f0962e68-5405-4a9f-bff4-4fdad73132a1

My code like that; (i will delete later, sorry @FulcrumOne )
import SwiftUI
import MapKit

struct MainMapView<VM: MainMapViewModelProtocol>: BaseView {

    enum FocusField: FocusableField {
        var visibilityId: String { .toolbarVisibilityID }

        case search_view
    }

    @StateObject private var viewModel: VM
    @State var searchText: String = ""

    @State private var isShownKeyboard: Bool = false
    @FocusState private var focusedField: FocusField?

    init(viewModel: @autoclosure @escaping () -> VM) {
        _viewModel = viewModel().toStateObject()
    }

}

// MARK: Body
extension MainMapView {

    var body: some View {
        DefaultContainerView {
            mapView.ignoresSafeArea()
        }
        .overlay(alignment: .top, content: { overlayTopView })
            .overlay(alignment: .bottom, content: {
            ZStack {
                bottomGradientView
                    .overlay(alignment: .bottom, content: {
                    rentDetailListView
                        .padding(.bottom, 20)
                })
            }
        })
            .keyboardToolbar(focusedField: $focusedField, currentVisibilityID: .toolbarVisibilityID)
            .onKeyboardAppear { self.isShownKeyboard = $0 > 0 }
            .animation(.smooth, value: isShownKeyboard)
            .onTap { focusedField = nil }
    }
}

// MARK: Define Views
private extension MainMapView {

    var mapView: some View {
        Map(coordinateRegion: .constant(MKCoordinateRegion(
            center: CLLocationCoordinate2D(latitude: 51.507222, longitude: -0.1275),
            span: MKCoordinateSpan(latitudeDelta: 1, longitudeDelta: 1)
        ))).ignoresSafeArea()
    }

    var overlayTopView: some View {
        VStack(alignment: .leading, spacing: 0) {
            searchView
            categoryListView
        }
    }

    var searchView: some View {
        MainMapSearchTextView(searchText: $searchText,
                              isLoading: .constant(false),
                              isFocused: focusedField != nil)
            .focused($focusedField, equals: .search_view)
            .onSubmit { focusedField = nil }
            .onTap { if isShownKeyboard { focusedField = .search_view } }
            .padding(.leading, 20)
            .padding(.trailing, 80)
    }

    var categoryListView: some View {
        MapHorizontalCategoryListView()
    }

    var rentDetailListView: some View {
        HorizontalRentDetailListView()
    }

    var bottomGradientView: some View {
        let color = Color.viewBackgroundColor
        return Rectangle()
            .fill(
            LinearGradient(
                gradient: Gradient(colors: [
                    color,
                    color.opacity(0.9),
                    color.opacity(0)
                ]),
                startPoint: .bottom,
                endPoint: .top
            )
        ).frame(height: 200)
    }
}

// MARK: Toolbar Visibility extension
fileprivate extension String { static let toolbarVisibilityID: String = "MainMapView" }

// MARK: Preview
#Preview { MainMapViewBuilder.generateModule() }

@FulcrumOne Hello, Did you check it?

hey @clbemre,
I've saved the code (so you can delete it), but currently I'm working on PopupView. Sorry, will return to this issue as soon as I finish the sprint for that library 😉
P.S. Soon the tasks should be done a bit faster, as we have expanded our team a bit 😉

Btw, if you use Discord, you can join our here: https://discord.com/invite/dT5V7nm5SC
It's not ready yet, but at least we could communicate more effectively with PMs 😅

@FulcrumOne thank you, I don't have Discord now :) okey I'll be waiting. It is important to solve the problem but there is no rush. 😀
Best regards.

@FulcrumOne
Hello again, how can apply opacity background ?
view.backgroundColour(Color.brandBlueColor.opacity(0.2)), doesn't work?

@FulcrumOne Hello, I'm still waiting for this topic. 👀 :)

Hey @clbemre,
Are you sure it doesn't work? I just tried and here's the effect:

P.S. Sorry for not responding, but I'm busy with other libraries currently, and the next time window for this one will be mid-September ;)

@FulcrumOne I have tried a few thinsg but I wasn't successful.
Global config
var navigationConfig: NavigationGlobalConfig {
        var config = NavigationGlobalConfig()
        config.backgroundColour = Color.viewBackgroundColor
        config.backGesturePosition = .edge
        config.backGestureThreshold = 0.25
        return config
    }

View Config
func configure(view: NavigationConfig) -> NavigationConfig {
        view.backgroundColour(Color.brandBlueColor.opacity(0.2))
}

no background in contentView
 var body: some View {
        ZStack {
            contentView
                .padding(20)
        }.frame(maxWidth: .infinity, maxHeight: .infinity)
    }

@FulcrumOne Hello again. Also I have conflick drag gestures.
I have using this framework. https://github.com/ciaranrobrien/SwiftUIPageView but I got confilict with back gestures.
Screen.Recording.2024-07-28.at.16.59.33.mov

@FulcrumOne Hello again, I'm still waiting to hear back from you.

Hey @FulcrumOne When will you get back to me? We had suspended the project but we've brought it back to the agenda, I don't have much time to wait. (or I will have to change the navigation library.)

Hey @clbemre,
Unfortunately I'm busy with PopupView till the end of this month. The next on my list is CameraView, so I would advise you to change the library.
Sorry and have a nice day,
Tomasz

hey @clbemre,
I've saved the code (so you can delete it), but currently I'm working on PopupView. Sorry, will return to this issue as soon as I finish the sprint for that library 😉
P.S. Soon the tasks should be done a bit faster, as we have expanded our team a bit 😉

You said this before. But it's been so long. thank you. have a nice day.

Hello @FulcrumOne I found the source of the problem but I need your help to solve it. When I delete the code .padding(.bottom, getPadding(.bottom, item)) in this method, the up and down shaking in the video does not happen anymore, but deleting the code is not a solution, it may break something else.
private extension MJNavigationView {     func createItem(_ item: AnyNavigatableView) -> some View {         item.body             .padding(.top, getPadding(.top, item))             .padding(.bottom, getPadding(.bottom, item))             .padding(.leading, getPadding(.leading, item))             .padding(.trailing, getPadding(.trailing, item))             .frame(maxWidth: .infinity, maxHeight: .infinity)             .background(getBackground(item).compositingGroup())             .opacity(getOpacity(item))             .scaleEffect(getScale(item))             .offset(getOffset(item))             .offset(x: getRotationTranslation(item))             .rotation3DEffect(getRotationAngle(item), axis: getRotationAxis(), anchor: getRotationAnchor(item), perspective: getRotationPerspective())             .compositingGroup()             .disabled(gestureData.isActive)     } }
Best Regards

Hello @FulcrumOne , For the second problem, which is the Gesture conflict problem, I have produced a solution as follows. You can examine it, confirm its accuracy and maybe add it to your project.
OLD:
 func createDragGesture() -> some Gesture { DragGesture()
        .updating($isGestureActive) { _, state, _ in state = true }
        .onChanged(onDragGestureChanged)
    }

SOLUTION:
func createDragGesture() -> some Gesture {
       DragGesture()
           .updating($isGestureActive) { _, state, _ in state = shouldActivateGesture() }
           .onChanged { value in
                       if shouldActivateGesture() {
                           onDragGestureChanged(value)
                       }
                   }
   }

   func shouldActivateGesture() -> Bool {
       return stack.views.count > 1 && !stack.transitionsBlocked && stack.navigationBackGesture == .drag
   }

Best Regards.


Some window function unit test need to be modified to close to reality.

Enhancement
for example, https://github.com/pingcap/tiflash/blob/master/dbms/src/WindowFunctions/tests/gtest_window_functions.cpp#L221-L230 test four sortitems, but there will only 2 sortitems in this sql.

I will try to rewrite the test with mock dagRequest to simplify the json format of sort and window.

Looks like it's been resolved


Error installing with composer

I get the following error when using composer install
"./composer.json" does not match the expected JSON schema:
   - name : Does not match the regex pattern ^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]|-{1,2})?[a-z0-
  9]+)*$

Seems it does not like:  "name": "/",

You can change name to following or anything as your wish.
example:
"name": "weatherapi/project",


Basic shoulder tracking support

Enables the use of trackers on the user's shoulders.
2 trackers per arm; 1 on the shoulder and one on the upper arm. No chest tracker is needed on chest if you use shoulder trackers (although still kind of need it for the spine lol).
Needs https://github.com/SlimeVR/SolarXR-Protocol/pull/26.
video displaying shoulder tracking (moving the tracker with my other hand) https://cdn.discordapp.com/attachments/948579740225261598/989736237810192414/2022-06-23_23-28-11.mp4

I meant "move bone stuff", not "bone stuff"...


Paths are not using backslash on windows

Testing #167413

Same for the picker where the repositories are shown btw.

And also the notification toast. I suggest to use the label service for consistent path formatting.

@bpasero, is the label service available to built-in extensions?

I briefly pinged @alexr00 but there seems to be no API to format labels. I am not sure if @jrieken or @mjbvz have suggestions for how an extension can render a path label properly according to our "rules".

I missed the comment on Uri.file().fsPath about not using it for display. microsoft/vscode-pull-request-github is definitely using that for display in a few quick picks. I don't know of another way to get the correct slashes.

One downside of .fsPath is that drive letter is lowercased, but for display purposes it should be uppercased.

You can use vscode.workspace.asRelativePath for this. It makes the path relative, pretty and can pretend the workspace name (if wanted)

Thank you all! The path itself is extracted from a git error message and decided to call path.notmalize() on it after I extract it from the error message. This seems to result in the correct drive letter casing and separator.

And to make things even more fun, I just learned that safe.directory can only handle / as a path separator.

What's the best way to trigger this message? I made a git repo owned by the SYSTEM instead of my user, but did not encounter this warning.

We have tweaked the welcome view and the paths are not being shown any more. Will mark as verified.


Handle onPopState when turbolinks is disabled

When clicking on a link where Turbolinks is disabled via the data-turbolinks="false" annotation the PopStateEvent would have no state. This would result in an Cannot read property 'turbolinks' of null error.
It is now handled by doing an early return in that situation.
If we were using TS version 3.7 we could've used optional chaining instead of early return guards.

This was handled in the coffeescript version

This was handled in the coffeescript version

Confirmed! :) https://github.com/turbolinks/turbolinks/blob/ef969ab53e6bb1d2c0be37f6d8dec38af8e498b2/src/turbolinks/history.coffee#L27-L28

Thanks!


added more special keys

This should partly solve #16
Key now supports Home, End, PageUp, PageDown, Delete, Insert and
Function keys. All this is done through the detection of both VT100
escape codes and more modern standard counterparts.
For instance, F2 can be both ESC OQ on VT100, screen, and some versions of xterm and ESC [12~ on rxvt and other xterm versions depending on your terminal.
Note also that only F1 through F12 are supported since codes tend to wildly diverge beyond that point and it's not part of the ISO or ANSI keyboard specs anyways.

For instance, F2 can be both ESC OQ on VT100, screen, and some versions of xterm and ESC [12~ on rxvt and other xterm versions depending on your terminal.

Could you add this to the docs of F2?

There's still an issue with rxvt somehow, I'll have to fix it before merging.

Very nice!


Why is the data read by User defined Sinks out of order? The default is out of order? Is there any way to become orderly?

The order of entering BatchMapFn and Sink is inconsistent,
The data is out of order after reaching Sink.
apiVersion: numaflow.numaproj.io/v1alpha1
kind: Pipeline
metadata:
  name: bi-account-pipeline-v2
spec:
  templates:
    daemon:
      imagePullSecrets:
    job:
      imagePullSecrets:
        - name: fxzc-image
    sideInputsManager:
      imagePullSecrets:
        - name: fxzc-image
  limits:
    readBatchSize: 1000
    bufferMaxLength: 20000
    bufferUsageLimit: 85
    readTimeout: 30s
  vertices:
    - name: in
      containerTemplate:
        resources:
          limits:
            cpu: "0.2"
            memory: 0.2Gi
          requests:
            cpu: "0.2"
            memory: 0.2Gi
      imagePullSecrets:
        - name: fxzc-image
      scale:
        min: 1
        max: 1
      source:
        kafka:
    - name: account
      limits:
        readBatchSize: 5000
        bufferMaxLength: 20000
        bufferUsageLimit: 85
        readTimeout: 30s
      imagePullSecrets:
        - name: fxzc-image
      scale:
        min: 1
        max: 1
      udf:
        container:
          image: xxx:latest # use  BatchMapFn
    - name: starrocks
      containerTemplate:
        resources:
          limits:
            cpu: "1"
            memory: 1Gi
          requests:
            cpu: "1"
            memory: 1Gi
      limits:
        readBatchSize: 5000
        bufferMaxLength: 20000
        bufferUsageLimit: 85
        readTimeout: 60s
      imagePullSecrets:
        - name: fxzc-image
      scale:
        min: 1
        max: 1
      sink:
        udsink:
          container:
            image: xxx:latest
  edges:
    - from: in
      to: account
      onFull: retryUntilSuccess
    - from: account
      to: starrocks
      onFull: retryUntilSuccess

Kubernetes: v1.24.4
Numaflow:  v1.4
GoSdk：github.com/numaproj/numaflow-go v0.9.0

numaflow does not support ordering processing yet, we have an issue for that.


Possible NPE in user core

Due to having single '&', possible NPE. Refer to code segment [1]
[1] https://github.com/wso2/carbon-kernel/blob/v4.4.17/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/ldap/ReadOnlyLDAPUserStoreManager.java#L1945

@kasunbg : Since this PR is to the 4.4.x branch, you will need to close the issue when the PR is merged.


Don't force install to /vendor folder

For a couple of our projects the Composer folder is not /vendor, but /vendors, or in some cases named completely different.  In composer.json the folder is set using vendor-dir.  Is it possible to not hard code the vendor directory and instead read it from composer.json?  So it would allow /whateverMyFolderNameIs and then also use /whateverMyFolderNameIs/bin.

Hey Martin,
yes, its possible to define a custom name for the vendor folder.
The installer takes the vendor-dir setting into account. (Its not hard-coded.)
If you leave it away, the Composer default is used: ./vendor.
See https://github.com/jakoch/phantomjs-installer/blob/master/src/PhantomInstaller/Installer.php#L43
composer.json
    "config": {
        "bin-dir": "my-binaries",
        "vendor-dir": "my-vendors"
    },

Thanks @jakoch, I'm pulling in dev-master now.


db.login promise chaining

First off, love the PouchDB work Nolan.  Way to go.  Your contribution to the OpenSource/JS community is much appreciated.  Second, my issue very well could be an issue w/ the way I setup my promise chaining and not the library.  But I am posting here since it is directly related to making my Pouch project work...
I would like to chain a login using your repo, to a local database setup, and remote sync.  I would also like to eventually insert a step to return an encryption key from the remote db upon login to allow decrypting the local db w/ crypto-pouch.  Anyway, I have an _init function as follows:
function _init() {
_login()
  .then( _setDatabase() )
  .then( _startSync() )
  .then( _startListening() );
}

the login step is provided as follows:
function _login() {
  var userDb = new PouchDB(_remotedb, {skipSetup: true});
    return userDb.login('USERNAME', 'USERPWD')
      .catch(function(err) {
        return $q.reject(err);
      });
}

I have tried several combinations of catch statement, callbacks, $q.when and $q.reject in the _init() function as well as the _login() function.  No scenario seems to appropriate "short-circuit" the _init promise chain and stop.  I would like a failed pwd error to stop the proceedings and deal accordingly.  But the .then steps all proceed before the catch.  What am I doing wrong?
-Jeff

Uggh!  It WAS my code.  No surprise.  I messed up by including the parenthesis in the subsequent ".then()" statements the functions were being evaluated.  Instead I should be providing the function reference w/out the parenthesis to allow the promise to decide on execution.  Not sure of the correct terminology in all this.  But thought I should include a comment for anyone else interested.  My new code is as follows:
function _init() {
_login()
  .then( _setDatabase )
  .then( _startSync )
  .then( _startListening )
  .catch( function(e) {
    console.error(e);
    if (e.name === 'unauthorized') {
      'do something if authentication failed on login
    }
  });
}

And the corresponding functions look like
function _login() {
    var userDb = new PouchDB(_remotedb, {skipSetup: true});
    return userDb.login('admin', 'Eraser$15');
}
function _setDatabase() {
    _database = new PouchDB(_localdb);
    self.database = _database;
    return $q.when( _database );
}
etc...

Now, if the login fails authentication, the chain of promises "short-circuits" to the catch handler and I can stop the db sync proceedings.

Yup, that is definitely the error. It's a common mistake when you using promises!
By the way, I wrote a blog post on promises that details this error as well as other common errors; you might enjoy it: https://pouchdb.com/2015/05/18/we-have-a-problem-with-promises.html


For lenet cnn use max-pooling. learning-rate independent of gpus.

Currently there is a mismatch in the n/w used for "Training on multiple GPUs from scratch" and for "Training on multiple GPUs with gluon". We should try to use the same pooling everywhere. Since lenet uses max-pooling using that as the standard here.
Second issue is that learning rate is made a multiple of gpus. Under certain cases that makes sense but under this case, it reduces the accuracy significantly which I don't think is a good idea for tutorials for beginners as it throws them off. For instance w/ max-pooling, gluon tutorial resulted in an accuray of around 11% on gpus (learning rate = 0.6) whereas on 1 gpu it was about 98% (learning = 0.3)

So for pedavocial purposes, sure we can keep this as max pooling to avoid  on using  any readdf. But it doesn't really matter. the chapter is demonstrating how to parallelize, a task that isn't affected by type of pooling.
Re learning rate, @mli?


⚠ Secret Website 3 has degraded performance

In 1a71aa7, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2554 ms

Resolved: Secret Website 3 performance has improved in b5284e4.


Improve pagination on main view

As a user, I want to jump to the first/previous/next/further/last site(s) to view more content.

Verified on Safari and Firefox on Macbook 10.11.6.
Idea for future improvement: Add a button for "the last page" and "the first page". when e.g. we got 100 pages, it´s quick to just press once and you get the last one!


Update to work with MBlast 2.0

Updates the MultiBlast client to work with the 2.0 rewrite of the MB service.
Changes:

Split the API wrapper client into 2 separate clients to match the splitting of the MB service into 2 separate services.
Grouped param constants into a const object named ParamNames.

3. Have verbiage changes (e.g., "description" => "summary") been discussed elsewhere?

It was not discussed beyond the approvals on the API design.  The change is not reflected in the UI.

4. taggedFetch is clever. This seems like something we could incorporate into FetchClient.

taggedFetch is copied over from the original API client, so credit for that goes to Jamie.

2. Rename utils/api/{query,blast}/api to utils/api/{query,blast}/types

Done.


Add ProtoBuf txt parsing to read max_batch_size

When config is read by the tritonserver, there is no way to determine if max_batch_size was set to 0 by the user or was it just not provided.
To workaround it, I manually load the config text file (if it exists) and parse it (to a limited level) to read the max_batch_size field.
Signed-off-by: Rafal<EMAIL_ADDRESS>

CI MESSAGE: [7034658]: BUILD STARTED

CI MESSAGE: [7034658]: BUILD PASSED

Why not use RapidJSON or some other JSON parser?

Why not use RapidJSON or some other JSON parser?

This format is not JSON. It is Protocol Buffer Text Format

CI MESSAGE: [7052665]: BUILD STARTED

CI MESSAGE: [7052665]: BUILD FAILED

CI MESSAGE: [7052665]: BUILD PASSED


Cannot change subnets of cluster

Description
Terraform apply fails when attempting to change the subnets of the cluster. Eg. initially create the cluster with 2 subnets, and then attempt to add a third subnet. The plan considers this requires replacing the cluster, but then apply fails because the new cluster is  created before the existing one is deleted (the error is Cluster already exists with name: terraform-issue-1707-eks).
Versions

Terraform:
Terraform v1.1.3
on linux_amd64

Provider(s):

provider registry.terraform.io/hashicorp/aws v3.71.0
provider registry.terraform.io/hashicorp/cloudinit v2.2.0
provider registry.terraform.io/hashicorp/kubernetes v2.7.1
provider registry.terraform.io/hashicorp/local v2.1.0
provider registry.terraform.io/hashicorp/null v3.1.0
provider registry.terraform.io/hashicorp/random v3.1.0
provider registry.terraform.io/hashicorp/template v2.2.0
provider registry.terraform.io/hashicorp/tls v3.1.0

Module:
v18.0.1

Reproduction

Clone this minimal repo: https://github.com/gpothier/terraform-aws-eks-issue-1707 (was initially created for issue 1707, hence the name).
Run terraform plan & apply => everything is ok
Change the number of subnets in terraform.tfvars (variable autoscaling_azs) from 2 to 3
Run terraform plan & apply again => fails

Expected behavior
It should be possible to add subnets of the cluster
Actual behavior
When adding a subnet, apply fails
Terminal Output Screenshot(s)
gpothier@tadzim4:~/ownCloud-Caligrafix/dev/ecaligrafix/terraform-issue-1707 $ ${TF_BIN} apply plan.tfplan
module.eks_cluster.aws_iam_openid_connect_provider.oidc_provider[0]: Destroying... [id=arn:aws:iam::166328510337:oidc-provider/oidc.eks.us-west-2.amazonaws.com/id/97A9A1D3B2128FB24C99446948BE06F2]
module.eks_cluster.aws_iam_openid_connect_provider.oidc_provider[0]: Destruction complete after 0s
module.eks_cluster.aws_eks_cluster.this[0]: Creating...
╷
│ Error: error creating EKS Cluster (terraform-issue-1707-eks): ResourceInUseException: Cluster already exists with name: terraform-issue-1707-eks
│ {
│   RespMetadata: {
│     StatusCode: 409,
│     RequestID: "6f973969-2fe0-4737-ad66-06af60beb1d0"
│   },
│   ClusterName: "terraform-issue-1707-eks",
│   Message_: "Cluster already exists with name: terraform-issue-1707-eks"
│ }
│
│   with module.eks_cluster.aws_eks_cluster.this[0],
│   on .terraform/modules/eks_cluster/main.tf line 7, in resource "aws_eks_cluster" "this":
│    7: resource "aws_eks_cluster" "this" {
│
╵

Additional context
Follow up to issue #1707

this is what is intended by the Terraform AWS provider - please see https://github.com/hashicorp/terraform-provider-aws/blob/6d88292341cd2bee5209da539870bf63eb68c26f/internal/service/eks/cluster.go#L219

I understand that changing subnets requires replacing the cluster (which is far from ideal, but that's another discussion). What I don't understand is why it fails to do so. From what I understand of Terraform, when a resource needs to be replaced, the default behavior is to destroy the existing one before creating the new one, unless lifecycle.create_before_destroy is explicitly set to true. I don't see this flag in the module's source, however Terraform does attempt to create a new cluster before destroying the existing one.


Update README.md

Deprecated app

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

approve

Thank you!


Generate prefix completion candidates for fw add

Currently we don't complete fw add but it would be easy to generate a list of prefixes from the existing config and that would be super useful.
For instance if I have git@github.com:brocode/test.git and git@github.com:mriehl/test2.git then fw add <tab> could suggest both git@github.com:brocode/ and git@github.com:mriehl

After 4 months of use I don't think this is useful anymore. I mostly copy paste urls into fw add anyway so completions are almost useless anyway. For importing many projects from the same org a bash loop or the import org feature would be a better solution.


Create auto-label.yml

Fixed #18
Overview : This pull request addresses the issues with the "auto-label" GitHub workflow, ensuring that labels are automatically applied to pull requests and issues as intended.

Hey @kvcops I have raised the PR
Thanks


Governance candid update 2022 05 03

Motivation
Update governance candid file
Changes
UPDATED AUTOMATICALLY

governance.did
governanceTypes.d.ts
governance.idl.js
governance.certified.idl.js

error type update

governance.errors.ts
governance.spec.ts

Notes

Tests are currently broken because of too many type differences

Done in another PR https://github.com/dfinity/nns-js/pull/93


Issue #1554 - Make search options not static/global

Secondary part of #1554 - make search options not static/global

Thanks a lot!
@allcontributors add @ckaczor for code


Polygon validator address -FP

Attacker: 0x794e44d1334a56fea7f4df12633b88820d0c5888
AD Alert: https://app.forta.network/alerts/0x6693b35916ac7c4784b33a1071dcfa2407830d93261a173feadd8105b6b13a54
Base bots:  suspicious-contract-creation forta-dynamic-high-gas alerted
Potential cause: this address is Polygon validator

Attacker: 0x09385a960a2e0b6b4516d341534da92cb2a50085
AD Alert: https://app.forta.network/alerts/0x6a982d08406cb1114642be6536935af80696a162b5681c2628fbe0fda4187a83

(Copying my replies from #581)

Thanks @0xbhagi. After discussing with the dev team and considering there was only one scanner triggering on the https://github.com/forta-network/starter-kits/issues/597 alert, the issue seems to be with that scanner still running the bot's old version, 1 day after the update.

Polygon Validator check fix was pushed to prod on Feb 29, while this was triggered on Feb 21.


Breaking change to Validate in 6.5.1

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Thanks for making this!
I'm mostly just filing this for documentation: there was a breaking change to the types in version 6.5.1, in this commit https://github.com/dohomi/react-hook-form-mui/commit/75d70f473029d0f93fb05466c2ce306f5944c895. When using the rules or validation props on some elements there might be a new type error like:
error TS2322: Type '(value: string) => Promise<ValidateResult>' is not assignable to type 'Validate<string | number | boolean | string[]>'.
  Types of parameters 'value' and 'value' are incompatible.
    Type 'string | number | boolean | string[]' is not assignable to type 'string'.
      Type 'number' is not assignable to type 'string'.

289           async parse(value: string): Promise<ValidateResult> {

Expected behavior 🤔
No response
Steps to reproduce 🕹
Steps:

It seems like the issue is specific to the validate key within ControllerProps.rules. The referenced commit added the TFieldValues generic to ControllerProps['rules'], but the TName isn't present, so the Validate type isn't being narrowed to the type of the field specified by TName, and instead is defaulting to a union of all types of fields within the form.
I don't have any pressing need to upgrade the version so my solution for now is just to lock the version to 6.5.0

could you provide a repo / codesandbox which higlights the issue that would be helpful

@rynoV have you tested it with v6.8.0 or the latest version v7.0.0?

I see the issue on both of these versions
Here's a sandbox: https://codesandbox.io/p/sandbox/react-hook-form-mui-zh4mxg
It looks like somewhere past v6.5.1 the TName generic was added (at least for the Autocomplete), so I was able to fix it in 6.8.0 by specifying the TName generic with Extract<FieldPath<FormValues>, 'field'> (which works for nested fields as well, unlike my original attempt FieldPath<Pick<FormValues, 'field'>>)
I couldn't find a way to make type inference work to find the most specific TName from the name property, so I had to add the generic manually

@rynoV you would never need to provide it in the way you did in, here is an updated version:
https://codesandbox.io/p/sandbox/react-hook-form-mui-forked-8nhq9h?file=%2Fsrc%2FApp.tsx%3A39%2C45
you can also have a look at https://github.com/dohomi/react-hook-form-mui/blob/master/apps/storybook/stories/FormContainer.stories.tsx#L145 which is meant to have strict typings example.
Basically if you provide control of useForm and you set your default defaultValues the control prop knows which names are allowed within the form context.

I add a typesafe example to the landing page of Github https://github.com/dohomi/react-hook-form-mui?tab=readme-ov-file#typesafe-form-setup

@dohomi Thanks for the example in the docs. I couldn't access the sandbox you sent, but I tried to update my sandbox based on the example in the docs and the type error is still present until I specify the second generic: https://codesandbox.io/p/sandbox/react-hook-form-mui-zh4mxg?file=%2Fsrc%2FApp.tsx%3A10%2C32
Re the other stories link, I didn't see any examples there with the rules.validate prop, which seems to be the main affected area of the breaking change
Please let me know if I'm missing anything

you should not pass any types because control is taking care of it, do you see this example:
https://codesandbox.io/p/devbox/h3spsq?file=%2Fsrc%2FApp.tsx
import { FieldPath, useForm } from "react-hook-form";
import { AutocompleteElement } from "react-hook-form-mui";
import "./styles.css";

interface FormValues {
  field: string;
  otherField: number;
}

export default function App() {
  const { control, handleSubmit } = useForm<FormValues>({
    defaultValues: {
      field: "",
      otherField: 0,
    },
  });
  return (

Hello CodeSandbox

Start editing to see some magic happen!

      <AutocompleteElement
        control={control}
        name={"field"}
        options={[]}
        rules={{
          validate: {
            parse(value) {
              console.log(value);
              return true;
            },
          },
        }}
      />

  );
}

Ah okay I see now, don't specify any generics and pass a control. I wasn't passing control before because I was relying on FormContainer, but I suppose using useFormContext and passing the returned control is what the component is doing anyways so it should be equivalent.
It would be nice if I didn't need to change the code purely to affect things at the type level, but it seems like this would require partial type inference to stop typescript from using the default value for the TName generic. The only other solution I could see is a dummy/phantom parameter like fieldValuesType={undefined as MyFieldValues}, which I might prefer but I'm not that experienced with typescript API design
Appreciate the help


VPC/Firewall Setup for EC2

VPC setup with firewall restrictions, public and private subnets configured and ready for application.


Add provider-credential-controller

Signed-off-by: Joshua Packer<EMAIL_ADDRESS>
Add Provider Credential Controller to the product

[x] 1. Code compiles
[x] 2. Downstream available
[x] 3. Helm chart Cluster-Lifecycle tested on 2.3.0-SNAPSHOT-2021-04-15-23-14-10

/cc @leena-jawale
Can you decide if you want to add put this through or wait until you make the ApiReader change.

we can merge this. I will get apireader done by monday

/lgtm

Issue Ref: https://github.com/open-cluster-management/backlog/issues/11620


Improving and fixing underperformance for the CQL on AntMaze tasks

Even though we have made sure that almost all algorithms match the original papers performance, CQL has turned out to be one of the most difficult algorithms to reproduce accurately, and its performance varies greatly from paper to paper.
We have already made several revisions and refactorings of CQL, gradually improving its performance as much as we could and as time and resource constraints allowed us (see https://github.com/tinkoff-ai/CORL/pull/12 for a public example). Still, we have not yet been able to reproduce the results (as in IQL paper) on AntMaze datasets.
Therefore, we would welcome any contributors who know CQL better than we do to help make it a reliable baseline. We can help and run heavy multiseed benchmarks on our resources. We do, however, expect at least single seed checks to be provided for new PRs.

I randomly came across this issue. I also encountered similar difficulty trying to implement CQL in the past (in JAX instead of PyTorch, so I won't be able to help much with a PyTorch implementation). Nevertheless, I have noticed that reproducing results on AntMaze has been quite difficult. I did some digging and found a few potential things that hopefully may be useful to you.
First, have your checked out the implementation from https://github.com/young-geng/CQL or https://github.com/young-geng? To the best of my knowledge, these versions can provide better performance on AntMaze compared to other implementation that you found out there. Maybe check out some of the code level optimizations they use there and hopefully they are useful.
There are a few code-level optimizations that they did there, which I also found to be quite important to getting sane results on some of the more difficult AntMaze tasks.

The BC pertaining seems to be useful.
For AntMaze, I think they use orthogonal initialization which differs from the default in SAC. Also, you may be interested in checking the weight initialization of the last layer of the policy/critic. If I remember correctly, they are initialized with very small weights They also have some parameterized scaling on the log_std see here. Seems that the network architecture can be quite important for CQL to work well for antmaze.
For AntMaze, I have noticed that the reward transformation is quite important. In the original repo, there was the (reward - 0.5) * 4 transformation. The comments said it was to center the rewards, but I believe that crucial bit is the -0.5 which in some way adds a survival penalty that encourages the agent to finish the maze early. My experience is that this is crucial for a few algorithms (CQL in this case, but also IQL which subtracts 1 from all rewards). In fact, it seems that for AntMaze, with IQL, you can get very good performance essentially replacing all rewards from the dataset with -1. I have also tried removing this trick in the past and found that you can not learn from the original sparse reward dataset even with a reasonable sweep over the hyperparameter space.
For CQL, when running policy evaluation for AntMaze, they have the option of sampling a few actions from s_{t+1} and using the action with the largest Q as the target. This makes the algorithm more like Q learning. I also found this to be quite important, without this it seems performance gets bad. In the CQL implementation above, there are additional changes to the order of taking the min of critic and the max over actions compared to the original implementation, but in practice, I don't know the effect of that.

Hopefully, this helps you (or someone who's interested in this) pin down where underperformance comes from. I tried to isolate the issue myself but I never had the time to finish this, but I am quite eager to know the source of the underperformance. My experience has been that AntMaze performance depends crucially on some code-level details and you can also get some algorithms that were reported to perform badly on AntMaze to get significantly better results once you have incorporated some of these code-level optimizations.
Best of luck!

Seems like we found a way (#56) -- a bunch of tricks from the @ethanluoyc and an increased number of hidden layers (five instead four or three). The last one was the most important one 😵💫🥺👀


Reward model

Hello there,
I want to test this watermark for two model: Llama2 7B and Mistral 7B, can I use a same reward model, let's say OPT 1.3B?
Thank you

Our implementation does not directly support it, as we are using the same tokenizer for the LLM and the reward model. Since the models you mentioned use different tokenizers, you may need some adaptations in the code to get it work.


WARNING: The embedded libsodium is outdated! Expected 1.0.20, but was 1.0.19

This warning is given when running my application in Android Studio while using sodium_libs versions 3.n.n. Correspondently, the app crypto exchange fails. The app successfully runs with version 2.2.1+6.
I/flutter ( 2610): WARNING: The embedded libsodium is outdated! Expected 1.0.20, but was 1.0.19}. Please file an issue at https://github.com/Skycoder42/libsodium_dart_bindings/issues.
Here's my Flutter doctor output:
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.19045.5131], locale en-US)
• Flutter version 3.24.3 on channel stable at C:\Users\Rick\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (2 months ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3

Sorry - have been busy with other things! I noticed that you posted an update so I tried the latest version. The warning goes away but the updated version does not work with our server. 2.2.1+6 or prior works fine.
I am planning on taking some time to try and see if I can determine when it started breaking but my guess is the Flutter side is not congruent with the sodium decrypt library called from our server library in C. On version 3.0.0, you show a minimum sodium version of 3.0.1 so perhaps that is the reason but I hadn't seen an issue until a recent Flutter pub upgrade that I ran. I'm using crypto box easy, crypto box to generate an ephemeral key pair, and random byte generation FYI.

Following building with the 3.4.0 update, I am no longer seeing the warning so I will go ahead and close this ticket. Thank you!
As mentioned, I am now having a problem using any 3. version of sodium_libs. The odd thing is that prior to running a pub upgrade and getting the above warning, our app was working fine with the 3.2.0+1 version. Following the warning hiccup, I now have to downgrade to the 2.2.1+6 version for encryption to work. I'm using sodium_libs to encrypt data which is decrypted by a sodium 1.0.19 versioned C library running on our server. Yeah, it makes no sense. I checked the old version of both sodium_lib and sodium in our app Git history and can't see any difference to what I'm trying so I don't understand why it is no longer working.
For grins, I did try several of your suggestions in between running the different versions but to no avail. It consistently works when using the 2.2.1+6 version and fails with any of the 3. versions. I'll dig further and open a new ticket if it looks like an issue with sodium_libs.


Missing comma

you are missing comma in readme.md  after options tag.

Thanks resolved this issue.


[example] fix typo

May be --> maybe

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

PR merged. Thanks, @Haroenv !

You're welcome, small things count too 😄


Custom influx Port

I am missing something.
Where and how can I configure InfluxDB since is not on standard Influx port?
Thx

Hi Jan,
InfluxDB connection configuration is fetched from Grafana itself. All you have to do is configure Grafana data source correctly, using Grafana GUI Admin mode.

Hi Andrej,
Sorry for trouble. There are different names of sources due to usage of Telegram.


Determine active tab

User Story
As a User, I want to know which tab is currently active so that I know where to continue my work.
Description
In rc-dock at present, the active tab within a panel is indicated by a blue background:

but I can't tell which of the active tabs in each of my open panels is where I'm currently working since each panel indicates an active tab:

Follow something like PT9 that indicates an active tab in a non-active panel with a lighter grey (than the non-active tabs) and therefore reserve the "blue" for the active tab in the active panel:

Note: the colors themselves aren't important at this point since that might all change with a new UX Design System. The important thing here is to be able to descriminate between the different items with available CSS classes.

Yes, please add a css class to distinguish the focused one from all potential active tabs.
For the current (not final) style changes see https://github.com/paranext/paranext-core/pull/665#issuecomment-1845492460.
Current working assumption for styling a focused active tab can be to add a thin top border color like in VS code:


When Reverb on bypass there is no sound

When Reverb on bypass there is no sound:
let reverb:Reverb
.
.
.
reverb = Reverb(myNode, dryWetMix: 0.2)
reverb.loadFactoryPreset(.plate)
reverb.bypass()
.
.
.
in this case there is no sound.
I can switch and put the on/off switch on dryWetMix but..

I wote a test for Reverb's bypass to confirm your findings. I then modified Reverb to toggle the dryWetMix of the internal AU. I don't think this is the correct thing to do and that its actually a bug in Apple's code. But, since I have no control over that closed source audio unit, this is the best I can do. I hope it suffices.

Yes, actually  I did the same..
Thanks!

I don't think this is a good idea ... we just went to lengths the other day to write our own code to handle this as suggested here.
If I 'stop' the effect now, I haven't actually stopped the effect because of this hack.
I don't think this is a bug in apple's code.
I think this is on the user to decide and set up correctly, but this solution now makes this node behave differently than the others.

@eljeff I don't agree. Write a test that shows any other effect having bypass stop all sound like this one does.

I didn't mention bypass though, I mentioned stop.
But that shows my point - there's confusion between start/stop/play/bypass. If I were to 'stop' a processor, I would expect to not use those resources. This makes bypass / stop the same thing... the plugin is still processing, it is just only sending the dry signal.
Maybe I am expecting too much, maybe 'stop' was never intended to be able to 'stop' a processor... Many nodes used to save resources by calling stop. I see that's not necessarily the case now. Old habits...
It's a small thing that just adds to the confusion, and you mentioned yourself that this is not the correct way to fix this - I was just agreeing with that. Go on w yo bad self.

Ideally, bypass and stop do the same thing in the case of processing. The work the AU does is saved and the unaffected sound still comes out. If you know a better way of doing, by all means submit a PR. I have no horse in this race, as I don't even like the Apple Reverb and its messed up on macOS.

I only said something cause its a good example of how this confusion slips in - like why would a reverb have a 'play' command?
(That's a rhetorical question at an appropriate time, I don't need / want an answer).

And if I start w the rhetoricals, we'll never get out alive...
Thank yall

as I don't even like the Apple Reverb and its messed up on macOS.

So what reverb do you use?

as I don't even like the Apple Reverb and its messed up on macOS.

So what reverb do you use?

You could try using some of the SoundpipeAudioKit reverbs, such as ChowningReverb(), Convolution(), and one of my favorites: CostelloReverb().

as I don't even like the Apple Reverb and its messed up on macOS.

So what reverb do you use?

You could try using some of the SoundpipeAudioKit reverbs, such as ChowningReverb(), Convolution(), and one of my favorites: CostelloReverb().

Thanks a lot!
A great idea, I'll check them all


python311Packages.python-roborock: 0.10.0 -> 0.11.0

Diff: https://github.com/humbertogontijo/python-roborock/compare/refs/tags/v0.10.0...v0.11.0
Changelog: https://github.com/humbertogontijo/python-roborock/blob/v0.11.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 229982 run on x86_64-linux 1

2 packages built:

python310Packages.python-roborock
python311Packages.python-roborock


cpp-utilities: 5.8.0 -> 5.9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Martchus/cpp-utilities/releases.
meta.description for cpp-utilities is: "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities"
meta.homepage for cpp-utilities is: "https://github.com/Martchus/cpp-utilities"
meta.changelog for cpp-utilities is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.9.0 with grep in /nix/store/3z2ispsm13apbkh72fsmlxq8240bacr1-cpp-utilities-5.9.0

directory tree listing: https://gist.github.com/6d6604005d70bd9b98ac69caa556bce7

du listing: https://gist.github.com/62d641a84fb5e6c792acb07d797aac05

Rebuild report (if merged into master) (click to expand)

21 total rebuild path(s)

7 package rebuild(s)

7 x86_64-linux rebuild(s)
7 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
7 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
cpp-utilities
libsForQt5.qtutilities
libsForQt512.qtutilities
libsForQt514.qtutilities
libsForQt515.qtutilities
syncthingtray
syncthingtray-minimal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3z2ispsm13apbkh72fsmlxq8240bacr1-cpp-utilities-5.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cpp-utilities https://github.com/r-ryantm/nixpkgs/archive/040b2b386265f652dd496c390d749a937db5ab79.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3z2ispsm13apbkh72fsmlxq8240bacr1-cpp-utilities-5.9.0
ls -la /nix/store/3z2ispsm13apbkh72fsmlxq8240bacr1-cpp-utilities-5.9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

6 packages built:

cpp-utilities
libsForQt5.qtutilities
libsForQt512.qtutilities
libsForQt514.qtutilities
syncthingtray
syncthingtray-minimal

Maintainer pings
cc @doronbehar for testing.

GitHub changes look very small and are mostly documentation.


Reimplement PR #3981

Reimplements PR #3981

This change is

Changes previously lgtm'ed in PR #3981.


Core does not detect a character transfer.

There are 3 ways to get the CharacterOwnerHash

SSO v1 https://login.eveonline.com/oauth/verify
SSO v2 https://login.eveonline.com/v2/oauth/token
ESI Meta Spec https://esi.evetech.net/verify/

All of them need a valid token or authorization code from the SSO callback URL. Therefore, it is not possible for the cron job to do this, as all tokens of a character that has been transferred to another EVE account are invalid (at least I hope so).
When the new owner logs in with his new character, this is recognized and the character is moved to a new Core account.
If not, the character must be manually removed from the player account. I will add new options to the user admin interface: reason for the deletion, so that a corresponding "Remote Character" item can be created in the database.
A character transfer (to another player) can be confirmed at the Character Bazaar.


Animate Underline

Sorry for twice pull request, previous was faulty merge.
All the same, this pull request adding underline animation into all textbox based controls.

nice work :)


Handover much more features to the renderers

Potentially the RGB data (huge, use a scaled version!)
average stroke width (measured percentage of the img dimensions)
Color distribution percentages
Origin metadata
Origin metadata rarity (hard, only feasible for minted collections)

https://stackoverflow.com/questions/3735748/measuring-the-average-thickness-of-traces-in-an-image
https://www.mathworks.com/matlabcentral/answers/88645-average-width-of-lines
https://link.springer.com/content/pdf/10.1007/s41095-015-0007-3.pdf
https://pdfs.semanticscholar.org/733a/7f5640f7cc9202e926e532ace15dcba916f6.pdf
https://stackoverflow.com/questions/18591945/estimating-average-edge-thickness-of-edge-drawing


some fixes for Linux

capitalization of Plugins and Regions folders
fallback for os.startfile for Linux/macOS
handling of zero LAN-addresses
workaround for window icons: replaces ICO by PNG file (my WM does not display these, though)  (needs a quick test on Windows)
handling of game launch parameters: replaces single-command string by list of arguments (needs a quick test on Windows)

On Linux, I set the custom install path to point to a launch script, such as:
#!/bin/sh
wine 'C:\GOG Games\SimCity 4 Deluxe Edition\Apps\SimCity 4.exe' '-UserDir:C:\users\wineuser\Documents\sc4mp\_SC4MP\' "$@"

In particular, this overrules the -UserDir parameter set by SC4MP itself (see #34). I use symlinks to redirect both paths to the same directory.
(On a different note, synchronizing plugins is extremely slow. I execute the client by directly running the Python script.)

Good work. I'm going to merge the changes to their own branch for now, so I can make sure all the changes work fine on Windows.
And I'm well aware of the slowness of the loading sequence, that's something I'm working on fixing for v0.4.0


Feature request: Support for x-enumNames

This is a custom property from NSwag. So e.g. a C# enum looks like the following in the OpenAPI spec:
public enum DataType {
    String,
    Integer
}

{
    ...
    "DataType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
            "String",
            "Integer"
        ],
        "enum": [
            1,
            2
        ]
    }
    ...
}

The RapiPDF doc currently tells users they can use 1 or 2 which is technically correct, but not so helpful. We can add a description manually, but it would be great to take this information from the spec automatically when it's available.

Still quite useful but in the meantime I've realised that I can work around this in NSwag by turning on the "generateEnumMappingDescription": true, option in nswag.json to generate the mappings as a description.


ICollectionView - Group, Sort, etc.

It would be nice to have support for ICollectionView adding grouping, sorting etc.

With DataGridCollectionView and DataGrid added to main Avalonia repo, we received possibilities to display collections with group and sorting support. This can be closed.

@Symbai could you please point out where to find an example of grouping/sorting a DataGrid?
All I found is code behind and the official docs . I would be interested in a XAML representative of the DataGridPage.xaml.cs example. Thanks in advance

With DataGridCollectionView and DataGrid added to main Avalonia repo, we received possibilities to display collections with group and sorting support. This can be closed.

@Symbai DataGridColelctionView doesn't implement IList and can therefore not be used as the source IEnumerable of an ItemsSourceView  which in turn is used by e.g. ItemsControl. So as far as I understand this issue is still not resolved.

@TobiasSchulte

which Avalonia version?
if 11.0 preview 8 or newer, please provide a sample App with your issue to reproduce. Maybe a new issue is needed in that case.

@timunie

Latest preview (8) of version 11.0

The sample is pretty  simple:

ViewModel with a public Property Items of Type DataGridCollectionView
View with an ItemsControl with its ItemsSource bound to the property Items of the ViewModel (ItemsSource="{Binding Items}")

This situation leads to an ArgumentException "Collection implements INotifyCollectionChanged but not IList." because the DataGridCollectionView implements INotifyCollectionChanged (through IDataGridCollectionView) but not IList.
Relevant sources:

DataGridCollectionView: https://github.com/AvaloniaUI/Avalonia/blob/1c927688e9bb97ce4886447dd6c693ace36a6819/src/Avalonia.Controls.DataGrid/Collections/DataGridCollectionView.cs
Origin of the exception in ItemsSourceView (used by the ItemsControl): https://github.com/AvaloniaUI/Avalonia/blob/1c927688e9bb97ce4886447dd6c693ace36a6819/src/Avalonia.Controls/ItemsSourceView.cs#L263-L273


The output of write_csv and write_json methods is confusing.

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Using either the write_json or write_csv on a data frame creates a result that is a bit confusing.
For example this:
    df.clone().write_csv("./data.csv").await;
    df.clone().write_json("./data.json").await;

led to the following results
tree -h data.csv/
[ 320]  data.csv/
├── [ 472]  part-0.csv
├── [   0]  part-1.csv
├── [   0]  part-2.csv
├── [   0]  part-3.csv
├── [   0]  part-4.csv
├── [   0]  part-5.csv
├── [   0]  part-6.csv
└── [   0]  part-7.csv

and
tree -h data.json/
[ 320]  data.json/
├── [ 939]  part-0.json
├── [   0]  part-1.json
├── [   0]  part-2.json
├── [   0]  part-3.json
├── [   0]  part-4.json
├── [   0]  part-5.json
├── [   0]  part-6.json
└── [   0]  part-7.json

Where it is only the part-0 file that has got the result, while the rest of the files created in the directory are empty.
Describe the solution you'd like
Ideally a single file should be created with the results. If there is a technically reason why this cannot be the case, perhaps the methods should be documented on why it acts this way and if it is possible to modify this behaviour and how to.

MRE:
#[tokio::main]
async fn main() -> Result<()> {
    let ctx = SessionContext::new();

    ctx.sql("select 1")
        .await?
        .repartition(Partitioning::Hash(vec![lit(0)], 5))?
        .write_csv("csv")
        .await?;

    Ok(())
}

Output:
jeffrey:~/Code/arrow-datafusion$ tree -h csv
[4.0K]  csv
├── [   0]  part-0.csv
├── [   0]  part-1.csv
├── [   0]  part-2.csv
├── [   0]  part-3.csv
└── [  11]  part-4.csv

0 directories, 5 files

Can see its due to empty partitions still being written out to disk.
Not sure if in writing logic its possible to check if a partition is empty before attempting to write to disk?
https://github.com/apache/arrow-datafusion/blob/1309267e713523bc5d1c23e34dcc934d6d30c22b/datafusion/core/src/physical_plan/file_format/csv.rs#L297-L314

Without requiring execution twice
Not to mention could lead to case where no files are written (if all partitions are empty), unsure if desirable

Probably easiest to update the documentation to reflect behaviour?

Thank you @Jefffrey for the analysis

Not sure if in writing logic its possible to check if a partition is empty before attempting to write to disk?

I think it would be best to defer creating the files until there is actually some data (aka don't create the writer until we have at least a single record batch to write)
The other thing we can do would would be to add some way to the dataframe / write_csv API to say "I want the results in a single partiton/file" -- perhaps by adding DataFrame::repartititon or something so the user can control if they want multiple files (potentially faster to write) or a single file (slower to write, but easier to use)

Another thought that comes to mind regarding this, is if this is done then could have cases where the parts written out aren't in sequential/increasing order, which could cause confusion as well. e.g. if parts 2 and 4 are the only with data then only those will appear on the filesystem like:

This is an excellent point @Jefffrey

Am not sure which is more desirable, having 'gaps' in the parts written, vs. having empty parts. Or somehow only write the parts with data first (which would break the parallel behaviour of the writes? unless force repartition).

I agree that I don't know what is better. I don't really use the DataFrame API and so I don't know if the "write multiple files" is an important feature or if it was just the most straightforward initial implementation

P.S. Another thing I just noticed, is that the empty partition files actually shouldn't be completely empty, they should have a header row. For CSV, the default is to have the header rows in files written, so those empty parts should at least have the header row.

I am not sure about this, although perhaps simple changing the code to ensure there is a header row written (even if there was no data) would be less confusing overall?

As a end user who does not know much about the internal details/limitation of the underlying data formats I'll like to ask:

Is it required for the right usage of the library to be exposed to the facts that data could exist in "parts"?

I ask, because if not, then for a user who wants to take a dataframe and produce a csv file out of that, an implementation that produces just one file will be the most user friendly approach that should be default.
There should still be the option of writing the data out in parts, and an advance user, who knows more about the underlying data format can decided to go for this approach either by passing the appropriate flag or calling the appropriate method

I agree that I don't know what is better. I don't really use the DataFrame API and so I don't know if the "write multiple files" is an important feature or if it was just the most straightforward initial implementation

I feel it is an important feature, as having control over the whether or not to repartition/coalesce before writes makes sense from a performance perspective. It seems Apache Spark has similar behaviour in writing empty partitions out, when I do a similar test.

I am not sure about this, although perhaps simple changing the code to ensure there is a header row written (even if there was no data) would be less confusing overall?

Yeah I feel this header row part is technically a separate bug (though related since if didn't want to write empty partitions then wouldn't have to fix the bug).

Is it required for the right usage of the library, for the developer to be exposed to the facts that data could exist in "parts"?

Speaking from a Spark background, I feel this is an important concept, to maximize parallelization via partitioning data. Having the default behaviour be to produce a single CSV on writes might make sense from a user friendly approach especially for smaller datasets, but could have performance implications in larger ones, requiring a coalesce to single partition.
Though again this is from a Spark perspective, I'm not sure how different DataFusion is regarding performance of repartitions/coalesce (especially since it's not a distributed engine like Spark).

When it creates multiple files, is it creating one per "partition"? Or one per worker?

Seems to be 1 per partition. In my example above can bump the partitioning count to 20 partitions which will output 20 files.
You have good points regarding Spark, especially about how its partitioning behaviour can be painful for smaller datasets.
Yeah it would be good to expose options for writing CSVs (and JSON potentially as well) as the current API is quite limiting in how it doesn't allow this configuration. Having an API like you suggested could be a good starting point.

IMO for now, it would be nice if DataFusion simply:

Didn't write empty files.
Provide an example of passing writing the result of an execution plan to a single CSV file using the arrow-csv writer.

I agree these changes would be a great improvement

In case it helps here is some code that executes a LogicalPlan and writes its output to a single Parquet file, csv.rs does the same for CSV files.


Interlink 2 dropdowns

Discussed in https://github.com/microsoft/AdaptiveCards/discussions/8047

Originally posted by rey949 November 13, 2022
Hi,
We are using adaptive cards to create forms that contains drop downs. How can we interlink 2 drop downs such that values selected in first drop down gives different options/values in 2nd drop down? For example, in attached images, if we select Class = 'Incident', we get 2 values in Case Category drop down and if we select Class = 'Service Request', we get different set of values  to select for Case Category drop down.

Hi @paulcam206,
Could you please let us know whether there is any update on this issue?
Thanks,
Jasmeet

Hi,
Are there any plans in near future to add this feature?
Thanks

Hi @paulcam206,
Is there any update on this?
Thanks


No module named 'llama_index'

When I try and Install a pipline in open-webui from a Github URL I get the error No module named 'llama_index'.
Its interesting to note that when I try and add the pipeline docker image to a docker compose file I recieve the same error during the build and the container will not start. Here is the log output.
INFO:     Started server process [7]
pipelines-1    | INFO:     Waiting for application startup.
pipelines-1    | ERROR:    Traceback (most recent call last):
pipelines-1    |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 732, in lifespan
pipelines-1    |     async with self.lifespan_context(app) as maybe_state:
pipelines-1    |   File "/usr/local/lib/python3.11/contextlib.py", line 210, in __aenter__
pipelines-1    |     return await anext(self.gen)
pipelines-1    |            ^^^^^^^^^^^^^^^^^^^^^
pipelines-1    |   File "/app/main.py", line 210, in lifespan
pipelines-1    |     await on_startup()
pipelines-1    |   File "/app/main.py", line 189, in on_startup
pipelines-1    |     await module.on_startup()
pipelines-1    |   File "/app/./pipelines/llamaindex_ollama_github_pipeline.py", line 23, in on_startup
pipelines-1    |     from llama_index.embeddings.ollama import OllamaEmbedding
pipelines-1    | ModuleNotFoundError: No module named 'llama_index'

If I run the docker compose with just ollama and open-webui images the compose starts fine. I can then run the pipelines as an individial container and runs. I can add the pipelines containter address to the OpenAPI URL and it sees it..
Any thoughts?
Here is the compose file that does not work
services:
  ollama:
    image: ollama/ollama:latest
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]
    environment:
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=compute,utility
    volumes:
      - ollama:/root/.ollama
    ports:
      - "11434:11434"
    runtime: nvidia

  open_web_ui:
    image: dyrnq/open-webui
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]
    environment:
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=compute,utility
    volumes:
      - open-webui:/app/backend/data
    ports:
      - "3000:8080"
    extra_hosts:
      - "host.docker.internal:host-gateway"
    restart: always
    runtime: nvidia

  pipelines:
    image: ghcr.io/open-webui/pipelines:main
    deploy:
      resources:
        limits:
          memory: 4g
          cpus: '2.0'
        reservations:
          devices:
            - capabilities: [gpu]
    environment:
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=compute,utility
    volumes:
      - pipelines:/app/pipelines
    ports:
      - "9099:9099"
    extra_hosts:
      - "host.docker.internal:host-gateway"
    restart: always
    runtime: nvidia

volumes:
  ollama:
  open-webui:
  pipelines:

For reasons the UI pipeline installer from URL does not run the installation of dependencies. You should use the envvar PIPELINES_URLS in your compose/docker run to make sure that pipelines with additional depends will work:
  pipelines:
    image: ghcr.io/open-webui/pipelines:main
    deploy:
      resources:
        limits:
          memory: 4g
          cpus: '2.0'
        reservations:
          devices:
            - capabilities: [gpu]
    environment:
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=compute,utility
      - PIPELINES_URLS="https://raw.githubusercontent.com/open-webui/pipelines/main/examples/pipelines/rag/llamaindex_ollama_github_pipeline.py"
    volumes:
      - pipelines:/app/pipelines
    ports:
      - "9099:9099"
    extra_hosts:
      - "host.docker.internal:host-gateway"
    restart: always
    runtime: nvidia

It might also be necessary to delete your pipelines volume and start fresh.


How does one use a .7z file?

The contents of the code Zip file are a file with extension .7z - what do I do with that?

A .7z file type has been created by the compression utility 7-zip, and should be understood by your OS. If not, download 7-zip, it's free, right click the archive and extract to a folder of your choice.
I use 7-zip because it is much faster than the ubiquitous .zip format, but it can extract those too. Win win!