Count throws error for SQL Server

Bug description
Attempting to count using filters across a many-to-many relation throws the following error:
Invalid `prisma.fund.count()` invocation:

  Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(TokenError { code: 4145, state: 1, class: 15, message: "An expression of non-boolean type specified in a context where a condition is expected, near ','.", server: "xxx", procedure: "", line: 1 }) })

After attempting to perform the following query:
SELECT COUNT(*)
FROM (SELECT [dbo].[Fund].[Id]
      FROM [dbo].[Fund]
      WHERE ([dbo].[Fund].[Id]) IN (SELECT [t0].[Id]
                                    FROM [dbo].[Fund] AS [t0]
                                             INNER JOIN [dbo].[FundSubStrategy] AS [j0] ON (([j0].[FundId] = [t0].[Id]))
                                    WHERE (([j0].[FundId], [j0].[SubStrategyId]) IN
                                           (SELECT [t1].[FundId], [t1].[SubStrategyId]
                                            FROM [dbo].[FundSubStrategy] AS [t1]
                                                     INNER JOIN [dbo].[PlatformSetting] AS [j1]
                                                                ON (([j1].[Id] = [t1].[SubStrategyId]))
                                            WHERE ([j1].[Label] LIKE @P1 AND [t1].[FundId] IS NOT NULL AND
                                                   [t1].[SubStrategyId] IS NOT NULL)) AND
                                           [t0].[Id] IS NOT NULL))) AS [sub]

How to reproduce

Attempt to count using filter on fields on the linked table:

fund.count({
      where: {
        FundSubStrategy: {
          some: {
            SubStrategy: {
              Label: {
                contains: 'a string',
              },
            },
          },
        },
      },
    });

See error

Expected behavior
Should return the count
Prisma information
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["interactiveTransactions"]
}

datasource db {
  provider = "sqlserver"
  url      = env("DATABASE_URL")
}

model Fund {
  Id               Int       @id(map: "PK_Fund") @default(autoincrement())
  FundSubStrategy FundSubStrategy[]
}

model FundSubStrategy {
  FundId         Int
  SubStrategyId Int

  Fund           Fund            @relation(fields: [FundId], references: [Id], onDelete: Cascade, onUpdate: NoAction, map: "FK_FundSubStrategy_FundId_@_Fund_Id")
  SubStrategy   PlatformSetting @relation(fields: [SubStrategyId], references: [Id], onUpdate: NoAction, map: "FK_FundSubStrategy_SubStrategyId_@_PlatformSetting_Id")

  @@unique([FundId, SubStrategyId], map: "UQ_FundSubStrategy_FundId_SubStrategyId")
}

model PlatformSetting {
  Id               Int      @id(map: "PK_PlatformSetting") @default(autoincrement())
  Label            String   @db.NVarChar(255)

  FundSubStrategy FundSubStrategy[]

  @@unique([Label, SettingGroup], map: "UQ_PlatformSetting_Name_Group")
}

Environment & setup

OS: Mac OS
Database: SQL Server
Node.js version: v14.18.3

Prisma Version
prisma                  : 3.15.2
@prisma/client          : 3.15.2
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 461d6a05159055555eb7dfb337c9fb271cbd4d7e (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 461d6a05159055555eb7dfb337c9fb271cbd4d7e (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 461d6a05159055555eb7dfb337c9fb271cbd4d7e (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 461d6a05159055555eb7dfb337c9fb271cbd4d7e (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 461d6a05159055555eb7dfb337c9fb271cbd4d7e
Studio                  : 0.462.0
Preview Features        : interactiveTransactions

This is a tricky one. It would work if the FundSubStrategy had a singular id or unique, but SQL Server does not support IN statements with tuples. The problematic part of the query is in:
WHERE (([j0].[FundId], [j0].[SubStrategyId]) IN (SELECT [t1].[FundId], [t1].[SubStrategyId] ...))

Which is turning into something like:
((10, 20) IN ((11, 21), (10, 20), (5, 10))

This works just fine on SQLite, MySQL and PostgreSQL, but is illegal in SQL Server. You can emulate the same behavior with a correct use of AND and OR statements, such as:
(10 == 11 AND 20 == 21) OR (10 == 10 AND 20 == 20) OR (10 == 5 AND 20 == 10)

We usually do this already for normal in statements, but the query nesting kind of misses the conversion.

Another thing to look at as an alternative solution would be to do an INNER JOIN instead of a WHERE ... IN. So instead of:
SELECT *
FROM foo
WHERE ((id, email) IN (SELECT id, email FROM bar WHERE x = y))

We'd have something like
SELECT * FROM foo
INNER JOIN bar ON foo.id = bar.id AND foo.email = bar.email AND x = y

Internal spec: https://www.notion.so/prismaio/Spec-Faulty-Tuple-Join-on-SQL-Server-55b8232fb44f4a6cb4d3f36428f17bac

Any update on this?

no love for SQL server 😞. really useful feature we can't use. any plans to try and fix? tnx.


AttributeError: accessing private attribute '_max_episode_steps' is prohibited

您好，这是版本不兼容的问题吗？
A.L.E: Arcade Learning Environment (version 0.8.1+53f58b7)
[Powered by Stella]
D:\Anaconda\envs\pycarla\lib\site-packages\gym\utils\passive_env_checker.py:32: UserWarning: WARN: A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (210, 160)
"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). "
Traceback (most recent call last):
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\test.py", line 7, in
is_test=False)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\common\common_tools.py", line 166, in get_runner
runner = run_REGISTRYargs[0].runner if type(args) == list else run_REGISTRYargs.runner
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\torch\runners\runner_drl.py", line 21, in init
super(Runner_DRL, self).init(self.args)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\torch\runners\runner_basic.py", line 11, in init
self.envs = make_envs(args)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment_init_.py", line 68, in make_envs
return REGISTRY_VEC_ENV[config.vectorize]([thunk for _ in range(config.parallels)])
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_vec_env.py", line 233, in init
super(DummyVecEnv_Atari, self).init(env_fns)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_vec_env.py", line 158, in init
self.envs = [fn() for fn in env_fns]
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_vec_env.py", line 158, in
self.envs = [fn() for fn in env_fns]
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment_init.py", line 58, in _thunk
config.obs_type, config.frame_skip, config.num_stack, config.img_size, config.noop_max)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_env.py", line 123, in init
self.max_episode_length = self.env._max_episode_steps
File "D:\Anaconda\envs\pycarla\lib\site-packages\gym\core.py", line 240, in getattr
raise AttributeError(f"accessing private attribute '{name}' is prohibited")
AttributeError: accessing private attribute '_max_episode_steps' is prohibited

你好，看到了你的问题描述，应该是在文件
"D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_env.py"
第123行执行self.max_episode_length = self.env._max_episode_steps时出错，
很有可能是gym[atari]的版本不一样导致，请查看一下xuance/setup.py文件中关于各Python包的版本号，建议按照对应的版本号安装。
感谢您的使用，如有其他问题，欢迎随时联系。

玄策官方
------------------ 原始邮件 ------------------
发件人:                                                                                "agi-brain/xuance"                                                                                @.>;
发送时间: 2023年11月22日(星期三) 晚上10:45
@.>;
@.***>;
主题: [agi-brain/xuance] AttributeError: accessing private attribute '_max_episode_steps' is prohibited (Issue #12)
您好，这是版本不兼容的问题吗？
A.L.E: Arcade Learning Environment (version 0.8.1+53f58b7)
[Powered by Stella]
D:\Anaconda\envs\pycarla\lib\site-packages\gym\utils\passive_env_checker.py:32: UserWarning: WARN: A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (210, 160)
"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). "
Traceback (most recent call last):
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\test.py", line 7, in
is_test=False)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\common\common_tools.py", line 166, in get_runner
runner = run_REGISTRYargs[0].runner if type(args) == list else run_REGISTRYargs.runner
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\torch\runners\runner_drl.py", line 21, in init
super(Runner_DRL, self).init(self.args)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\torch\runners\runner_basic.py", line 11, in init
self.envs = make_envs(args)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment_init_.py", line 68, in make_envs
return REGISTRY_VEC_ENV[config.vectorize]([thunk for _ in range(config.parallels)])
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_vec_env.py", line 233, in init
super(DummyVecEnv_Atari, self).init(env_fns)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_vec_env.py", line 158, in init
self.envs = [fn() for fn in env_fns]
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_vec_env.py", line 158, in
self.envs = [fn() for fn in env_fns]
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment_init.py", line 58, in _thunk
config.obs_type, config.frame_skip, config.num_stack, config.img_size, config.noop_max)
File "D:\CODE\TrafficBigData\ReinforcementLearning\xuance-master\xuance\environment\gym\gym_env.py", line 123, in init
self.max_episode_length = self.env._max_episode_steps
File "D:\Anaconda\envs\pycarla\lib\site-packages\gym\core.py", line 240, in getattr
raise AttributeError(f"accessing private attribute '{name}' is prohibited")
AttributeError: accessing private attribute '_max_episode_steps' is prohibited
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

谢谢您的回复，问题已经解决了


[GSSoC'23] Maths Website for practise Ready

Title and Issue number

Title - Maths Website
Issue Number - 3210
Close #3210

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

@pranjay-poddar @MohitGupta121 @Saurabh-kumar09 sir, please review this pr


Bug when displaying event spanning multiple days

    {
      start: "2019-11-06 09:45",
      end: "2019-11-06 16:05"
    }

If I have an event that crosses multiple days, and is being displayed on the previous month's view it will throw an error:
vue.runtime.esm.js?2b0e:1888 TypeError: Cannot read property 'isFirstDay' of undefined     at fn (vuecal.common.js?7fa7:4699)     at normalized (vue.runtime.esm.js?2b0e:2590)     at Proxy.renderSlot (vue.runtime.esm.js?2b0e:2686)     at fn (vuecal.common.js?7fa7:5879)     at normalized (vue.runtime.esm.js?2b0e:2590)     at Proxy.renderSlot (vue.runtime.esm.js?2b0e:2686)     at Proxy.eventvue_type_template_id_a1c8b120_lang_pug_render (vuecal.common.js?7fa7:5886)     at VueComponent.Vue._render (vue.runtime.esm.js?2b0e:3542)     at VueComponent.updateComponent (vue.runtime.esm.js?2b0e:4060)     at Watcher.get (vue.runtime.esm.js?2b0e:4473)
In my example, the event was at the start of November, so it is also displayed in October's monthly view,  when I first scroll to that month Aug > Sep > Oct (it will throw the error here, and not render the event), if I keep scrolling to Nov, the event will be displayed, and if I scroll back to Oct, the event is now there.
Also, if I navigate directly to Nov (via the Year view) it will render the event in Nov, navigating to Oct will also show the event with no error being thrown.

After playing around a bit, it seems to have disappeared. I think maybe I had an issue with my code, possibly in regards to the classes for the events.

    {
      start: "2019-11-06 09:45",
      end: "2019-11-06 16:05"
    }

If I have an event that crosses multiple days, and is being displayed on the previous month's view it will throw an error:
vue.runtime.esm.js?2b0e:1888 TypeError: Cannot read property 'isFirstDay' of undefined at fn (vuecal.common.js?7fa7:4699) at normalized (vue.runtime.esm.js?2b0e:2590) at Proxy.renderSlot (vue.runtime.esm.js?2b0e:2686) at fn (vuecal.common.js?7fa7:5879) at normalized (vue.runtime.esm.js?2b0e:2590) at Proxy.renderSlot (vue.runtime.esm.js?2b0e:2686) at Proxy.eventvue_type_template_id_a1c8b120_lang_pug_render (vuecal.common.js?7fa7:5886) at VueComponent.Vue._render (vue.runtime.esm.js?2b0e:3542) at VueComponent.updateComponent (vue.runtime.esm.js?2b0e:4060) at Watcher.get (vue.runtime.esm.js?2b0e:4473)
In my example, the event was at the start of November, so it is also displayed in October's monthly view, when I first scroll to that month Aug > Sep > Oct (it will throw the error here, and not render the event), if I keep scrolling to Nov, the event will be displayed, and if I scroll back to Oct, the event is now there.
Also, if I navigate directly to Nov (via the Year view) it will render the event in Nov, navigating to Oct will also show the event with no error being thrown.

@richardkyk Any idea how you solved it?  I'm running into the same problem.


wrong link in main page

In main page README.rst, when it says...

python-Levenshtein (optional, provides a 4-10x speedup in String Matching, though may result in differing results for certain cases)

The last link is broken.

It links here: https://github.com/seatgeek/thefuzz/issues/128 (which does not exist yet)
It should link here: https://github.com/seatgeek/fuzzywuzzy/issues/128 (old project site)

This is fixed

This line also links to ztane/python-Levenshtein (not maintained) instead of maxbachmann/Levenshtein (the actual PyPI version)


SURT recipe for AMI and ICSI

This recipe has a dependency on https://github.com/k2-fsa/icefall/pull/1126.
It trains a SURT model jointly on AMI and ICSI. We get the following results on utterance group based evaluation. SURT-base contains 26.7M params and SURT-large contains 37.9M params.
AMI

Model
IHM-Mix
SDM
MDM

SURT-base
39.8
65.4
46.6

+ adapt
37.4
46.9
43.7

SURT-large
36.8
62.5
44.4

+ adapt
35.1
44.6
41.4

ICSI

Model
IHM-Mix
SDM

SURT-base
28.3
60.0

+ adapt
26.3
33.9

SURT-large
27.8
59.7

+ adapt
24.4
32.3

Pre-trained models: https://huggingface.co/desh2608/icefall-surt-ami-dprnn-zipformer

Training logs:

surt_base: https://tensorboard.dev/experiment/8awy98VZSWegLmH4l2JWSA/
surt_base_adapt: https://tensorboard.dev/experiment/aGVgXVzYRDKbGUbPekcNjg/
surt_large: https://tensorboard.dev/experiment/ZXMkez0VSYKbPLqRk4clOQ/
surt_large_adapt: https://tensorboard.dev/experiment/WLKL1e7bTVyEjSonYSNYwg/

@yaozengwei Thanks for merging the LibriCSS recipe. This recipe follows the same idea, but it is for AMI and ICSI. Most files are symlinks of the ones in LibriCSS.

@desh2608  Is it ready to merge?

@desh2608  Is it ready to merge?

Yes!


[Feature] Added a useToggle hook

Added a new useToggle hook

https://github.com/withvoid/melting-pot/issues/5

Great PR 👍


Application icon

Any plans for creating an icon for juCi++? Would be nice.

I can't draw at all, but it would be great if someone wants to create a suggestion for a juCi++ icon. Should probably be in svg format I guess.

I'm not an artist either but I've messed around with Inkscape before and I can make concept icons/logos. Here's a few concept icons I made:

The first one is just a stylized font:

The second one is the above icon in front of a feather (I could probably tweak it a bit more to make it look more "clean"):

And the last one is a more generic icon:

@eidheim Do you like any of the designs above? Feel free to criticize :stuck_out_tongue:

Thank you, I like the last one, since text in icons can mayve be problematic on some systems when the icons are small. But I should not decide I think, might be better if we vote on the various proposals:)

Where does the name jucipp come from, or what does it mean? Should probably be reflected in the icon as well somehow?

@zalox should probably answer this, but my guess is that the name was partly chosen to be easy to google. From my point of view, juCi++ can have the following meanings:

You C++ or You Zip (Zip meaning the sound of a fast moving small object, that could represent the speed of the lightweight IDE)
You See (this is how most of us are pronouncing juCi++ in Norway, but as in one word)
Juicy (as in raw and smooth, or for instance in a programming context: simple IDE giving you a smooth and uncomplicated programming experience).

Hi,
Originally we named juCi++, cppit. It was meant to be like "just do it", but as "cpp it" instead. After giving the name some though I came to the conclusion that cppit was too tacky. Then someone said juicy++ and we instantly agreed.

Here is another option:

Could probably use some tweaking...

Really nice options! Both the icons above are great! Not sure if the icons should be svg, or is png ok? If png, we might need different scaled versions I guess?

I have svg also.  I'll email them to you :)

@adobrich Since no one else replied here, I decided to use your first proposed icon! Thank you again!

Closing this since we now have an icon.


1.20.1 Update?

My modding friends and I have been waiting for an update to fix the compatability issues with MCreator. We cannot update to Minecraft 1.20.1 because our mods rely on this plugin. Is there any news or something?

I have limited time to spend on this plugin myself. It will happen when it happens.


[Feature] Allow a way for users to quickly reach back to last edited canvas from Api pane / query pane / datasource pane.

Summary
Allow a way for users to quickly reach back to last edited canvas from Api pane / query pane / datasource pane.
Motivation
To ensure that a user's work flow on the canvas is not interrupted because they need to edit Api/query/datasource.
Additional Context
This discussion came up during smart look session on 19 Feb 2021.

Fixed with https://github.com/appsmithorg/appsmith/pull/5558


Added sorting and few essential CPP code files in Data Structures, updated contributors file.

please check the new contributing file and resubmit code with new contributing file.


fix typo

Why
Because typos are annoying.
What
Changed the lesser known english word "erver" to the more known "server".
Checklist

[ ] Tests added
[ ] Changelog updated
[x] Documentation updated

 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.


ENH: CMakeLists.txt uses with FetchContent.  Implements Allocate() and Graft()

On Linux, cmake downloads and uses a precompiled libtorch C++ library.  Implementations for Allocate() and Graft() methods were added.

Are there tests for Allocate() and Graft()?

I have added this as Issue https://github.com/InsightSoftwareConsortium/ITKPyTorch/issues/7.

Are there tests for Allocate() and Graft()?

I have added this as Issue #7.

Incomplete implementation elsewhere in TorchImage makes it difficult to create these tests for this pull request.

Squashed commits for merging.


Container can seen volume paths in bind mounts

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Container process seems to have access to bind volume paths and is referencing them. I know this sounds impossible, but I can't explain this any other way.
Steps to reproduce the issue:

Create the following tree

/var/opt/vault
├── config
│   └── conf.json
├── file
└── logs

With conf.json containing:
storage "file" {
  path = "/var/opt/vault/file"
}

listener "tcp" {
  address = "[::]:8080"
  tls_disable=1
}

Execute

podman run \
  --hostname=vault \
  --cap-add=IPC_LOCK \
  --volume /var/opt/vault/file:/vault/file \
  --volume /var/opt/vault/config:/vault/config \
  vault server

with a vault client pointing at your shiny new vault container execute

vault operator init

Describe the results you recieved:
This yields
 vault operator init
Error initializing: Error making API request.

URL: PUT http://vault.c.artfuldodge.io:8080/v1/sys/init
Code: 400. Errors:

* failed to initialize barrier: failed to persist keyring: mkdir /var/opt/vault: permission denied

Describe the results you expected:
I don't expect the parent folder of the bound volumes to be referenced. In fact I don't expect it to be possible for the contained process to be able to read or know anything about where it is mounted at all.
Additional information you deem important (e.g. issue happens only occasionally):
bind mounts are on a btrfs file system
Output of podman version:
[ben@mullion ~]$ podman version
Version:       <IP_ADDRESS>
Go Version:    go1.10.3
OS/Arch:       linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.3
  podman version: <IP_ADDRESS>
host:
  BuildahVersion: 1.6-dev
  Conmon:
    package: podman-<IP_ADDRESS>-2.git9551f6b.el7.centos.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 1.12.0-dev, commit: b909c9e1a3e8f14d5694a118fb9c0c0325a31d4f-dirty'
  Distribution:
    distribution: '"centos"'
    version: "7"
  MemFree: 183664640
  MemTotal:<PHONE_NUMBER>8
  OCIRuntime:
    package: containerd.io-1.2.4-3.1.el7.x86_64
    path: /usr/sbin/runc
    version: |-
      runc version 1.0.0-rc6+dev
      commit: 6635b4f0c6af3810594d2770f662f34ddc15b40d
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 4
  hostname: mullion
  kernel: 3.10.0-957.5.1.el7.x86_64
  os: linux
  rootless: false
  uptime: 528h 21m 30.83s (Approximately 22.00 days)
insecure registries:
  registries: []
registries:
  registries:
  - registry.access.redhat.com
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.centos.org
store:
  ContainerStore:
    number: 38
  GraphDriverName: overlay
  GraphOptions: null
  GraphRoot: /var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
  ImageStore:
    number: 7
  RunRoot: /var/run/containers/storage

Additional environment details (AWS, VirtualBox, physical, etc.):
physical box.

it is not a bug that a container knows the host mount source, you can verify it by reading /proc/self/mountinfo in the container, or use findmnt:
$ sudo podman run --rm -v /tmp/foo/bar/baz:/foo fedora findmnt /foo
TARGET SOURCE              FSTYPE OPTIONS
/foo   tmpfs[/foo/bar/baz] tmpfs  rw,nosuid,nodev,seclabel

how does it look in your container?
It might be the vault operator to resolve the mount point to the host path.

Is there anything I can do with podman / mount options to prevent the mount paths from being visible? What's the best place to discuss given that this is expected behaviour? I can't find a mailing list link in the readme.

you could probably set up an intermediate mount namespace and from there run podman, but you'd need to do it manually.  It is error prone though, restarting the container is probably not going to work.
We have not a mailing list yet, so probably here is the best place for such discussion

I guess the best thing to do then is probably take this up with the vault  guys and try to understand how they are ending up with that path. I'll probably also try it on docker and see if it has the same behaviour.

BTW We are working on the mailing list, Stay tuned.

I guess we can close this issue, there is not much we can do from podman


[Advice needed] How to implement Push-to-talk like behavior

Hi,
I swear I've spent quite some amount of time reading documentation and trying things out.
How can I implement the following behavior?
a single press will emit C-d, but press and hold will emit C-d on press start and C-d on press finish. The idea is to toggle Mic with short press and turn it on and then off for long press.
Any advice is much apreciated

I don't believe this is possible with the current feature set. If I understand you correctly, you effectively want to simulate a key press on key release.
This feels like something that should be built into the recording software, and I can't think of too many instances in which it would be generally desirable, but I am willing to consider the addition of such an action if you can make a case for it.
If you are really desperate, you can probably hack together a shell script to do this using a combination of keyd monitor and keyd input, but I wouldn't recommend it :P.

Thanks for the response!
Hacking is definitely possible.
I was thinking about something like *layerm(<layer>, <macro>)* but with two macro: one before layer change, another after
Update: it's actually working approach

Before proceeding, it would be preferable if you could precisely outline the action you are proposing as well as the class of problems it solves.
At the moment, the use case seem fairly niche, and I tend to take a conservative approach to new features. I am not yet persuaded that having a dedicated action which does something on key up is warranted.

Let me make a request as well.
I would like to use something like this to turn my computer keyboard into a virtual MIDI keyboard.
https://github.com/cbdevnet/midimonster
To do this, I need to have it execute a NOTE OFF command when the key is up.
Something like this already exists, but to enter MIDI on a computer keyboard requires focus on the GUI window, which makes it difficult to concentrate on the operation seamlessly.
https://vmpk.sourceforge.io/
it would be very smart if it could be done in keyd.

The basic idea would be that key down would execute a key or command to enable/open some function, and key up would execute a key or command to disable/close it, but it could be used in a variety of ways, such as the following.

Record from inside the computer or microphone for as long as the key is held down, and when released, a confirmation dialog appears before execution, and selecting Y will move or upload the file.
vim-clutch https://github.com/alevchuk/vim-clutch
When you start pressing the key, open a new terminal and execute commands via ssh, release the key after checking the results and a confirmation dialog appears before execution, select Y to log out and close the terminal

It is fascinating to be able to complete start and finish with a single key.
I think it would make things much easier by lowering the cognitive load for many things.


Remove all compilation warnings

Removes all compilation warnings.

I think there's still a compilation warning about the 'of' parameter of the json function though. But there's not really a nice way to solve that I think.


feat: added generation rule for tenant_user_id by nanoid

Description
TenantUserID 支持 NanoID 生成方式
Checklist

[ ] 填写 PR 描述及相关 issue (write PR description and related issue)
[ ] 代码风格检查通过 (code style check passed)
[ ] PR 中包含单元测试 (include unit test)
[ ] 单元测试通过 (unit test passed)
[ ] 本地开发联调环境验证通过 (local development environment verification passed)

https://github.com/TencentBlueKing/bk-user/pull/2017#discussion_r1886380465
https://github.com/TencentBlueKing/bk-user/pull/2017#discussion_r1886387391
https://github.com/TencentBlueKing/bk-user/pull/2017#discussion_r1886388875
https://github.com/TencentBlueKing/bk-user/pull/2017#discussion_r1886393722
https://github.com/TencentBlueKing/bk-user/pull/2017#discussion_r1886531462
https://github.com/TencentBlueKing/bk-user/pull/2017#discussion_r1886534287


Better performances with lodash?

I'm doing some tests and I noticed that, using the lodash dropin replacement instead of underscore, I'm getting at least a 10% better performance in the benchmark results.
I simply replaced all the istance of "require( 'underscore' )" with "require( 'lodash-node/underscore' )".

Any news on this?
I just noticed that's closed but without any final comment.

Pheo-Player, have you finished the tests? :)


[ Feature ] If first compilation is faild, the CECompileLive wont create autocmd BufWritePost

If the first compilation by CECompileLive fails, the CECompileLive won't create autocmd BufWritePost.
which it's a little inconvenient.
and seems there's no option can control the quickfix-window popup. I'd rather use the virtual text to indicate the error, don't really need quickfix-window ( might block our sight)

Hi. Thanks for opening this issue.
Regarding the first problem with CECompileLive, that seems like bad design on my part. I'll see what i can do about it.
There used to be an open_qflist option, but I removed it in a previous commit. I did not now if people were using it or not. I'll bring it back.


add ark and bslib

[x] I have converted fonts to outlines in the .svg
[x] My PNG has dimensions 2521 x 2911

Love that the purrr cat made it on the ark! 😻


Enable-WriteCore-feature-for-signalr

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

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.SignalR


EWMA for micro units + artillery import

Once this PR is completed, it will close #17 and fix #27.
TODOs:

[ ] EWMA movement code for attacking micro artillery and missiles
[ ] Attacking artillery can be willing to not wait for sensors when it has more health (esp w/ regen)
[x] Defending artillery never waits for sensors (but does turn them on if no enemies are visible) and has an evade distance of 5 instead of 7
[ ] Artillery should not lay mines when sensors are on and no enemies within 5 range
[ ] Artillery should not ignore other units when shooting at CPU
[x] Mine layers should back up in different directions (closes #30)

Add artillery to defense once done!

Still a bunch of bugs with artillery mining that need to be ironed out.


VMA doesn't support render doc?

I'm trying to use buffer device address, and that doesn't appear to work with renderdoc.  I tried seeing if I could manually set up the replay feature, but that doesn't appear possible... at all?
The problem with this is that I straight up can't use render doc with out the ability to toggle this feature, so the excuse used here
Please note that the library supports only VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT*. The second part of this functionality related to "capture and replay" is not supported, as it is intended for usage in debugging tools like RenderDoc, not in everyday Vulkan usage..  What this effectively is saying, is that I can't debug my memory allocations... I don't understand this logic.

I am sorry but I don't fully understand your question. Can you please clarify what error do you experience? Capturing a frame from an app that uses VMA using RenderDoc works for me.
That quote from the documentation only means that VMA doesn't provide any functions that would interact with "capture and replay" part of that extension. You can still enable VkPhysicalDeviceBufferDeviceAddressFeatures::bufferDeviceAddressCaptureReplay and, for example, you can attach VkMemoryOpaqueCaptureAddressAllocateInfo to VkMemoryAllocateInfo and still use VMA by creating a custom pool for your allocation with the structure attached to VmaPoolCreateInfo::pMemoryAllocateNext.

Even if I don't use buffer device address, merely enabling it on the VMA allocator causes DEVICE_LOST in renderdoc. That straight up shouldn't happen, though it's hard to tell whose "fault" that is.
When I originally read that line, I thought it meant "As a normal user of VMA who is not a developer of a debugging application I shouldn't have to worry about doing anything special".   I see now it must mean I cannot use VMA normally and buffer device address at all if I plan on debugging my application.   This is a massive problem, even if it doesn't have an easy engineering solution.  My expectation as a naïve user would have been that I could use VMA normally all else considered, especially considering render doc itself is specifically mentioned.
If I were to user your solution, I would need to manually create a memory pool for each type of allocation I would hope to create, keep that behind the scenes, and choose at runtime.  It would be even worse if I had to choose for each allocation.  This doesn't seem like a tenable solution, as this problem supposedly infects every allocation I have regardless if one actually needs/uses buffer device address.

My intention was exactly this and it seems to work for me:

"As a normal user of VMA who is not a developer of a debugging application I shouldn't have to worry about doing anything special"

The sample application of VMA - VmaSample has BUFFER_DEVICE_ADDRESS enabled by default wherever available and I was able to capture a frame from this application with RenderDoc successfully. My environment: Radeon RX 6800 XT, driver 21.12.1, Windows 10, Vulkan SDK <IP_ADDRESS>, RenderDoc 1.17.
If it doesn't work for you, please attach a debugger and see why the crash happens - what kind of crash is it and what is the call stack. Please also enable Vulkan validation layers and see if there are no errors reported.


Problem with multi select when using keyboard

Package
filament/forms
Package Version
v2.7.15
Laravel Version
v8.77.1
Livewire Version
v2.8.2
PHP Version
PHP 8.0.13
Bug description
Problems arise when we want to use the multiselect field only with the keyboard. We approve the first result with enter, but the next result is not shown in the list. If we click outside the element and back into the field, everything will be back to normal.

Steps to reproduce
Forms\Components\MultiSelect::make('technologies')
->options([
    'tailwind' => 'TailwindCSS',
    'alpine' => 'Alpine.js',
    'laravel' => 'Laravel',
    'livewire' => 'Laravel Livewire',
]),

Relevant log output
No response

Should be fixed by #1101 - let me know. Make sure to clear your view cache.


Add --limit option to docker search

- What I did
This fix tries to address the issue raised in #23055. Currently docker search result caps at 25 and there is no way to allow getting more results (if exist).
This fix adds the flag --limit so that it is possible to return more results from the docker search.
- How I did it
Additional flag --limit has been added to docker search. Related documentation has been updated.
- How to verify it
Additional tests have been added to cover the changes.
- Description for the changelog
Add --limit option to docker search so that docker search could return different number of search results.
- A picture of a cute animal (not mandatory but encouraged)
This fix fixes #23055.
NOTE: Pull request for engine-api will be created separately.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

I tested this, and it works, but we may need to add some validation / boundary checks;
Values <= 0 are treated as "1" it seems;
docker search --limit=0 a
NAME      DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
ubuntu    Ubuntu is a Debian-based Linux operating s...   4008      [OK]

docker search --limit=-1 a
NAME      DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
ubuntu    Ubuntu is a Debian-based Linux operating s...   4008      [OK]

The maximum limit (I suspect, as set by Docker Hub), is 100, any value over that still returns 100 results.
I think we should at least document that, perhaps add an error message for values < 1 or > 100

Design looks good to me though, so I'm moving to code review

Thanks @thaJeztah. The pull request has been updated with value check between [1, 100]. The documentation has been updated as well. Please let me know if there are any issues.

@yongtang you can make a PR to engine-api too now (design-review passed :+1:)

Thanks @vdemeester!
I created a pull request in engine-api:
https://github.com/docker/engine-api/pull/250
Let me know if there are any issues.

@yongtang It's merged 👍

Thanks for the help @thaJeztah @vdemeester!
It seems that both this pull request (#23107) and another pull request (#23090) have updated engine-api and there are some overlapping conflict.
I am wondering if it is possible to review #23090 first? After #23090 is merged it will be much easier to update this pull request ( #23107 )

@yongtang just reviewed that PR; had one minor nit, but looks ok to go after that

Thanks @thaJeztah @vdemeester for the review.
The pull request has been rebase to reflect the changes in engine-api (PR #23208). Please let me know if there are any issues.

LGTM 🐮

LGTM, thanks!

docs LGTM :angel:

oh, and ping @albers, @sdurrheimer (for the new flag)


Allow file modification commands when focus is in opened editors view

testing #20438

filesExplorer.copy: copy a file from the files explorer
filesExplorer.paste: paste a file that was copied from the files explorer
filesExplorer.rename: rename a file/folder in files explorer
filesExplorer.moveFileToTrash: move a file/folder to trash from files explorer
filesExplorer.deleteFile: bypass trash and delete a file/folder from files explorer

I don't see a technical justification for above commands not to function for resources on disk that are showing in the open files section? It seems we are now building commands with very explicit names (filesExplorer) whereas a later bug fix/feature request could expand them to just work everywhere

@jrieken these are just the commands that show up in the context menu as well and so far we have stayed away from allowing file modification operations from the "opened editors" section. If we allow these commands to work in the opened editors section, they should also show up in the context menu imho.

Thanks for reporting this! I would like to be able to delete or rename a file via the command palette.
Is there some recommend method or shortcut to renaming/deleting a file via keyboard? Or is this a mouse-only feature?


Fixes #945 Check image coordinates for direct Nearby uploads in locations that the user is not currently in

Description (required)
Fixes #945 Check image coordinates for direct Nearby uploads in locations that the user is not currently in.
Compare Wikidata item location with photo location (if exists),

If they missmatch, warns user and doesn't edits wikidata item if user still wants to continue
If they match, does nothing special

If location information of file doesn't exists, doesn't prevent wikidata eidts for now. But we can discuss this decision, we can be more strict and block wikidata edits with no location information at all.
Tests performed (required)
Tested prod debug, API 26 device
Screenshots showing what changed (optional - for UI changes)

Team, ready for review.

I tested this on Samsung Galaxy s7 running API 27, works perfectly, well done! :) Tested for images with no coordinates, image with wrong coordinates, and image with right coordinates.
We can merge once the string changes are done.


Fixing Android builds

Description of changes:
aws-c-common finally builds for Android (on my machine) now.
See commit messages for details on this patch.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

can you run clang-format -i ./tests/*
and repush?


strange behavior with unused variables

expect
    patternMatch = \input ->
        when input is
            [Fo, Bar, Baz] -> Bingo
            _ -> Other

    first = (patternMatch [Fo, Bar, Baz] == Bingo)
    #second = (patternMatch [Fo, Bar, Baz, D] != Bingo)

    first

This passes with roc test, but this doesn't:
expect
    patternMatch = \input ->
        when input is
            [Fo, Bar, Baz] -> Bingo
            _ -> Other

    first = (patternMatch [Fo, Bar, Baz] == Bingo)
    second = (patternMatch [Fo, Bar, Baz, D] != Bingo)

    first

Output:
── EXPECT FAILED ─ ...os/examples/examples/PatternMatching/PatternMatching.roc ─

This expectation failed:

24│>  expect
25│>      patternMatch = \input ->
26│>          when input is
27│>              [Fo, Bar, Baz] -> Bingo
28│>              _ -> Other
29│>
30│>      first = (patternMatch [Fo, Bar, Baz] == Bingo)
31│>      second = (patternMatch [Fo, Bar, Baz, D] != Bingo)
32│>
33│>      first

When it failed, these variables had these values:

first : Bool
first = Bool.false

second : Bool
second = Bool.true

1 failed and 0 passed in 230 ms.

Note that second is not used so it is not supposed to change anything :smile: .
@ayazhafiz this error was introduced with PR #5317, or commit 12b2f7e00b44d137e68cc9c8aca09e9346082e09

This is due to #5354

No longer reproduces

Thanks @JRI98 :)


perf: use final paris difficulty if configured

if the chainspec comes with a known paris/merge final total difficulty, we can use this directly

Codecov Report

Merging #2969 (f66cd15) into main (2e406c1) will decrease coverage by 36.23%.
The diff coverage is 75.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##             main    #2969       +/-   ##
===========================================
- Coverage   70.96%   34.74%   -36.23%
===========================================
  Files         520      520
  Lines       67149    67152        +3
===========================================
- Hits        47654    23332    -24322
- Misses      19495    43820    +24325

Flag
Coverage Δ

integration-tests
?

unit-tests
34.74% <75.00%> (-31.13%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...torage/provider/src/providers/database/provider.rs
26.26% <75.00%> (-3.77%)
:arrow_down:

... and 331 files with indirect coverage changes


fix: panic when trying to loading bool type from env

Fixes issue

Seems good to me. Thanks for your contribution.


[bug] infestation purifier entities persist even after removing the purifier

in some cases they even continue to work

Thank you, I will investigate this


age wise deceased chart added

Description of PR
Type of PR

[ ] Bugfix
[x] New feature

Relevant Issues
Fixes #...
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

Screenshots

if deployed already perhaps title "PATIENT AGE" not clear - is it for mortality cases OR for tested cases?

PATIENT AGE is for age wise positive cases.
I made a PR for Age wise deceased cases

thanks
On Sun, 19 Apr 2020 at 05:03, Tanmay Mittal<EMAIL_ADDRESS>wrote:

PATIENT AGE is for age wise positive cases.
I made a PR for Age wise deceased cases
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/covid19india/covid19india-react/pull/978#issuecomment-615979406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APEWZWO7WYTDY4EO63TKD2LRNI2F3ANCNFSM4MGEQGAA
.

This should probably be done as a toggle in the same Age-wise distribution graph, so that user can switch between different criteria. What do you think?

great idea to put up self serve option!
On Sun, 19 Apr 2020 at 05:53, Sudev<EMAIL_ADDRESS>wrote:

This should probably be done as a toggle in the same Age-wise distribution
graph, so that user can switch between different criteria. What do you
think?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/covid19india/covid19india-react/pull/978#issuecomment-615990288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APEWZWLS5GSGQOVSNFJ4PPTRNI76VANCNFSM4MGEQGAA
.

This should probably be done as a toggle in the same Age-wise distribution graph, so that user can switch between different criteria. What do you think?

I think, for now, we can just add one other graph-like others. In the future, we will bring this toggling feature and other features through which you can interact with graphs.

Thanks. Best to keep it iterative and if needed
Rgds
Saurabh

From: Tanmay Mittal<EMAIL_ADDRESS>Sent: Sunday, April 19, 2020 7:38:20 PM
To: covid19india/covid19india-react<EMAIL_ADDRESS>Cc: Saurabh Sharma<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [covid19india/covid19india-react] age wise deceased chart added (#978)
This should probably be done as a toggle in the same Age-wise distribution graph, so that user can switch between different criteria. What do you think?
I think, for now, we can just add one other graph-like others. In the future, we will bring this toggling feature and other features through which you can interact with graphs.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/covid19india/covid19india-react/pull/978#issuecomment-616143314, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APEWZWLT273KB3KOX23DKS3RNMAVJANCNFSM4MGEQGAA.

Hey, thanks for the PR!
Please raise PRs against issues you've been assigned to and have them referenced in the PR :)


Update mockito-scala-scalatest to 1.16.23

Updates org.mockito:mockito-scala-scalatest from 1.16.15 to 1.16.23.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mockito", artifactId = "mockito-scala-scalatest" } ]

labels: library-update, semver-patch

Superseded by #587.


Move label "kubevirt.io/os" to spec

Signed-off-by: Guohua Ouyang<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1403
Special notes for your reviewer:
Release note:

Support displaying operating system of virtual machine on web console.

@gouyang there are no changed files?
And related to the title only: I'm wondering if we want to really move the label, or to have it at both places...?

@slintes From what I tested in #1403, label kubevirt.io/os in metadata is disappeared after oc process, so I don't know whether it need to be there or not.  If it need to be kept there, I will change the title.

interesting that oc process removes metadata.label. Nevertheless I'd prefer to keep it there, too, but let's see what others think.
LGTM

@slintes From what I tested in #1403, label kubevirt.io/os in metadata.label is disappeared after oc process

@gouyang do you mean that the vm does not have the label if it is just in metadata.label from the template itself? That makes sense. To also have it on the VM, it needs to be added to the metadata of the vm too, like you did.

ci test please

@gouyang do you mean that the vm does not have the label if it is just in metadata.label from the template itself? That makes sense. To also have it on the VM, it needs to be added to the metadata of the vm too, like you did.

Yes, the VM doesn't have that label if it is just in metadata.label.


"bad class file magic (cafebabe) or version (0034.0000)" error when using jdk 1.8

com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
When I add the following to the model closure, it works well.
    compileOptions.with {
        sourceCompatibility = JavaVersion.VERSION_1_7
        targetCompatibility = JavaVersion.VERSION_1_7
    }

Happy to continue to discussion in #43. We should update the README.md with instruction on how to set JDK 1.7 and/or add the proper build.gradle workaround.


rekor-cli, rekor-server: 1.2.2 -> 1.3.2

Description of changes
Building with Go 1.21 (rekor-server does not build without it).
Changes:
https://github.com/sigstore/rekor/releases/tag/v1.3.0
https://github.com/sigstore/rekor/releases/tag/v1.3.1
https://github.com/sigstore/rekor/releases/tag/v1.3.2

Things done

Built on platform(s)

[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

rekor-cli
rekor-server

Can the title be modified (I can't edit it).
otherwise looks good

Done, thanks!

PR title has been updated, I'm considering https://github.com/NixOS/nixpkgs/pull/253272#issuecomment-1766380485 as an approval.


Super Smash Bros Brawl Sfx

REPLACE_WITH_PACK_NAMES
https://github.com/Rickopher/Steam-Deck-Sound-Sfx/tree/main/Smash Bros. Brawl Sfx
Insert a link to the GitHub repository of the pack.
Requirements Agreement
Failure to check the box below by writing an X between the brackets will result in the closing of your pull request. Please write any comments regarding issues with the requirements below.

[X] I have read the pack requirements. I understand that if my pull request does not meet them, it will be closed and I may be banned from the pack database.

For music I know we are allowed to upload our own original compositions, system menu soundtracks?, and music with permission/credit to the artist. But if I wanted to upload a song from a game soundtrack (in-game menu tracks, themes I think work for the Steam Deck) and gave credit to the artist, would I be able to upload the song?

just replaced the image with a better fitting one


4/28/2020 Publish

Docs Build status updates of commit fa081ea:
:warning: Validation status: warnings

File
Status
Preview URL
Details

:warning:Warning

Details

docs-ref-autogen/microsoft-cognitiveservices-speech-sdk/index.yml
:warning:Warning
View (azure-node-latest)
Details

[Warning] Uid(azure.nodejs.sdk.landingPage.services.storagefileshare.detail) has already been defined in docs-ref-services/storage-file-share-readme.md.
[Warning] Uid(azure.nodejs.sdk.landingPage.services.storagefileshare.detail) has already been defined in docs-ref-services/storage-file-share-readme.md.
[Warning] Uid(azure.nodejs.sdk.landingPage.services.storagefileshare.detail) has already been defined in docs-ref-services/storage-file-share-readme.md.

docs-ref-autogen/microsoft-cognitiveservices-speech-sdk/index.yml

[Warning] Uid(microsoft-cognitiveservices-speech-sdk) has already been defined in docs-ref-autogen/microsoft-cognitiveservices-speech-sdk/index.yml.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


LLMs: Add AWS Bedrock LLMs

Adding bedrock LLMs.
Namely the models from following providers:-

A21 Labs (Jurrasic Mid & Ultra)
Amazon (Titans)
Claude (v1-instant, v2, v2.1, v3-sonnet)
Cohere Command (Normal & Lite)
Meta (Llama 2- 13B and 70B Chat)

PR Checklist

[x] Read the Contributing documentation.
[x] Read the Code of conduct documentation.
[x] Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
[x] Describes the source of new concepts.
[x] References existing implementations as appropriate.
[x] Contains test coverage for new functions.
[x] Passes all golangci-lint checks.

Also IMO some CallOptions should be of pointer type, otherwise there is no way to differentiate unpassed parameters. For instance, temperature value 0 may be set explicitly or it may just be the default value (which would in turn overload LLM defaults).


Fetching Data

@CodiumAI-Agent /review

PR Review

 ⏱ Estimated effort to review [1-5]
3, because the PR involves multiple API calls and state management in a React component, which requires careful review to ensure data handling and component lifecycle are managed correctly.

 🧪 Relevant tests
No

 🔍 Possible issues

Possible Bug: The console.log(cabinetData) inside the useEffect might not log the updated state immediately after set operations due to the asynchronous nature of setState.

Performance Issue: Multiple API requests are made sequentially which could be optimized by making parallel requests.
 🔒 Security concerns
No

 Code feedback:
relevant fileclient/frontEnd/src/Components/Build.jsx
suggestion

Consider using Promise.all for parallel API requests to improve loading time. This change involves replacing the sequential axios.get calls with a single Promise.all containing all the requests. [important]

relevant lineconst gpuResponse = await axios.get('http://localhost:5000/GPU');
relevant fileclient/frontEnd/src/Components/Build.jsx
suggestion

Remove the console.log(cabinetData) or move it inside a useEffect that specifically tracks cabinetData changes. This ensures that the logged data is the updated state. [medium]

relevant lineconsole.log(cabinetData)

 ✨ Review tool usage guide:
Overview:
The review tool scans the PR code changes, and generates a PR review which includes several types of feedbacks, such as possible PR issues, security threats and relevant test in the PR. More feedbacks can be added by configuring the tool.
The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.

When commenting, to edit configurations related to the review tool (pr_reviewer section), use the following template:

/review --pr_reviewer.some_config1=... --pr_reviewer.some_config2=...

With a configuration file, use the following template:

[pr_reviewer]
some_config1=...
some_config2=...

See the review usage page for a comprehensive guide on using this tool.


Fail Danger when it's not running on a pull request

Report
What did you do?
Run bundle exec danger
What did you expect to happen?
Danger returns exit status code 1 when it's not running on a pull request
What happened instead?
Exit status code is 0, therefore the CI check is passed
Your Environment

Which CI are you running on? CircleCI

Are you running the latest version of Danger? No (4.3.5)

This is on purpose, because otherwise you’ll nearly always have to add a guard in the command to detect that.

@orta So, do you have a workaround for this? I'm facing a problem where my pull requests contain lots of Rubocop violations but it still gets merged because Danger check is green (because it's skipped).

Maybe the fail on errors might fail in this way, I would accept a pr that did this if not 👍

This is my first time contributing to this and I don't really understand the code base. Does it mean I can just change the exit status code when skipping Danger run from 0 to 1?
# Could we determine that the CI source is inside a PR?
def validate_pr!(cork)
  unless EnvironmentManager.pr?(system_env)
    ci_name = EnvironmentManager.local_ci_source(system_env).name.split("::").last
    cork.puts "Not a #{ci_name} Pull Request - skipping `danger` run".yellow
    exit(0)
  end
end

Yep 👍 (assuming that config is set)


Ensure persistence receiver is dropped when value is received

this currently does not ensure the oneshot rx is dropped when we receive a value:
https://github.com/paradigmxyz/reth/blob/443f7d56ac1317caa29178decd087561828967dd/crates/engine/tree/src/tree/mod.rs#L613-L613
this can be rewritten by doing let tx = self.persistence_state.rx.take() and only reassign it if TryRecvError::Empty
after the latest refactor, we can now also return an error with this function that should terminate the run loop
https://github.com/paradigmxyz/reth/blob/443f7d56ac1317caa29178decd087561828967dd/crates/engine/tree/src/tree/mod.rs#L592-L592
https://github.com/paradigmxyz/reth/blob/443f7d56ac1317caa29178decd087561828967dd/crates/engine/tree/src/tree/mod.rs#L559-L559

:shipit:

Hi @mattsse can I jump on this?


For a 0.2.9 release

Bump [compat] ScientificTypes = "^1.0" to include Nothing as scitype

Codecov Report

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

@@           Coverage Diff           @@
##           master      #44   +/-   ##
=======================================
  Coverage   99.11%   99.11%
=======================================
  Files           7        7
  Lines         225      225
=======================================
  Hits          223      223
  Misses          2        2

Continue to review full report at Codecov.

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


Add cache for CI/CD workflow.

If build, test and deployment is in one job, there is no need for caching.


Html/css

Added h1 to index.html file,
Added css color property to h1 using external style.css file

Hi @Gambit142 , I can't see any logo in my project, and I can't generate license.md for this project either

@Gambit142  @roshan-bajgain  @GedeonTS @TuyishimireEric, Thanks you all for guiding me step by step, going forward I really feel informed well enough

Thank you @zeff96 🙏
Kindly, never merge a PR before being approved by a code reviewer,
As this PR is already merged, Don't forget to add  https://github.com/zeff96/Helo/pull/1 in your new PR description 👍👍

Greetings.
I only did the merging after it was approved and directed to do the merging

On 11 Jan 2023, at 12:15, Tuyishimire Eric @.***> wrote:
Thank you @zeff96 https://github.com/zeff96 🙏
Kindly, never merge a PR before being approved by a code reviewer,
As this PR is already merged, Don't forget to add https://github.com/zeff96/Helo/pull/1 in your new PR description 👍👍
—
Reply to this email directly, view it on GitHub https://github.com/zeff96/Helo/pull/1#issuecomment-1378446665, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2YPQ5KHUYBHWYSQEG27MGTWRZ223ANCNFSM6AAAAAATW2BJXU.
You are receiving this because you were mentioned.


feature/index management

Initial implementation suggestion for index management on ArangoDB.

I prefer use varaible name for getter without a get prefix. get_index  and get_indexes can simply be index and indexes.
We don't need error and code field in response type. The helper function deserialize_response has already map the response to ArangoError if the error field is true.
It seems that some index type has their own fields. For instance, a geo index only has fields while ttl index has an additional expire_after field. Can we use a fat enum to ensure that a geo index must not has a expire_after field and etc?

thank you very much for this

I prefer use variable name for getter without a get prefix. get_index  and get_indexes can simply be index and indexes.

Yes, I agree, that sounds reasonable.

We don't need error and code field in response type. The helper function deserialize_response has already map the response to ArangoError if the error field is true.

Agree, I'll change that too.

It seems that some index type has their own fields. For instance, a geo index only has fields while ttl index has an additional expire_after field. Can we use a fat enum to ensure that a geo index must not has a expire_after field and etc? Also, it seems that you write several methodd to initialize Index. Maybe we can use a builder pattern with the help of typed_builder?

Well, that's the big question here. I did make an implementation using an enum. That would just mean that for every index you retrieve from the database, you were required to use a match statement before you can act on the index (call any function). If that "restriction" is Ok, we may change to an enum (internally tagged by serde).

Ok, I switched to the implementation using enum. There's currently a BaseIndex, which has shared properties with Persistent, Hash, Skiplist and Primary. The others are implemented with independent structs.
I also managed to use typed_builder to do the Into conversion automatically.

@fMeow when can this be merged and included in a version?

Sorry for the late response.
I didn't state my opinion clearly enough. For Index, I think we can use a struct to hold fields that are shared between all kind of index, and use enum to represent those varied across indexes.
Here is a quick but incomplete proof of concepts:
struct Index{
    // common fiedls that all kind of indexes contain
    pub fields: Vec<String>,
    #[builder(default, setter(into))]
    pub name: Option<String>,
    #[builder(default)]
    pub id: Option<String>,
    ...
    // fields depends on index type,
    #[serde(flatten)]
    [builder(default=xxxx)]
    pub index_type: IndexType
}

enum IndexType{
   GeoIndex{geo_json:bool},
   ....
}

Though I am hesitate to name the field index_type and the enum IndexType because it is not merely a label for index type but also contains data.
Thank you!!

As for the error and code field, it's exactly the field I mentioned.
As the HTTP guide on read index suggests, it's used to denote whether the request succeeded.
Let me give a quick explanation. All reponse from arangoDB can be divided into two cases: a) successful request b) failed with error code and message.  Almost all responses contain error and code even when the request succeeded, except for document related API. If a request fails, arangoDB will give back a json like {"error":true,"code":400,"message":""}. I think the error and code is useless for a successful request. So I use the deserialize_response to check whether there is a error field in response, and cast it to a ClientError.  This is done by manually deserialization of Response .
Again, please feel free to remove the error and code fields.
Thank you! :)

As for the error and code field, it's exactly the field I mentioned.
As the HTTP guide on read index suggests, it's used to denote whether the request succeeded.
Let me give a quick explanation. All reponse from arangoDB can be divided into two cases: a) successful request b) failed. Almost all responses contain error and code even when the request succeeded, except for document related API. If a request fails, arangoDB will give back a json like {"error":true,"code":400,"message":""}. I think the error and code is useless for a successful request. So I use the deserialize_response to check whether there is a error field in response, and cast it to a ClientError. This is done by manual deserialization of Response .
Again, please feel free to remove the error and code fields.
Thank you! :)

Thanks for this explanation, I removed the fields.

Sorry for the late response.
Sorry for the vague wording that I didn't state my opinion clearly enough. For Index, I think we can use a struct to hold fields that are shared between all kind of index, and use enum to represent those varied across indexes. The reason behind is to remove as much Option wrapper as possible. There is a time that almost all fields are wrapped in Option and I have to check if it's None for every field I read, which is terrible in my opinion.
Here is a quick but incomplete proof of concepts:
struct Index{
    // common fiedls that all kind of indexes contain
    pub fields: Vec<String>,
    #[builder(default, setter(into))]
    pub name: String,
    #[builder(default)]
    pub id: String,
    ...
    // fields depends on index type,
    #[serde(flatten)]
    #[builder(default=xxxx)]
    pub index_type: IndexType
}

enum IndexType{
   GeoIndex{geo_json:bool},
   ....
}

Though I am hesitate to name the field index_type and the enum IndexType because it is not merely a label for index type but also contains data.
Thank you!!

Ok, I see what you mean. But I'm not sure if it's really a more ergonomic solution in the end. Please check the following example and decide for yourself what you think might be cleaner. There's certainly less code in this one, but I think I like the abstraction concept of the current implementation better. But then that's only personal preference:
#[macro_use]
extern crate typed_builder;

#[macro_use]
extern crate serde;

#[derive(Debug, Serialize, Deserialize, Default, TypedBuilder)]
struct Index{
    pub fields: Vec<String>,
    #[builder(default, setter(into))]
    pub name: String,
    #[builder(default)]
    pub id: String,
    #[serde(flatten)]
    #[builder(default)]
    pub index_type: IndexType
}

#[serde(rename_all = "camelCase", tag = "type")]
#[derive(Debug, Serialize, Deserialize)]
enum IndexType{
    Persistent{unique:bool, sparse: bool, deduplicate: bool},
    Hash{unique:bool, sparse: bool, deduplicate: bool},
    Geo{geo_json:bool},
}

impl Default for IndexType {
    fn default() -> Self {
        IndexType::Persistent { unique: false, sparse: false, deduplicate: false }
    }
}

fn main() {
    let x = Index::builder().fields(vec![]).name("test").build();
    let json = serde_json::to_string(&x).unwrap();
    println!("{}", json);

    let x = Index::builder().fields(vec![]).name("test").index_type(IndexType::Geo{geo_json:true}).build();
    let json = serde_json::to_string(&x).unwrap();
    println!("{}", json);

    let json = r#"{"fields":[],"name":"test","id":"","type":"persistent","unique":false,"sparse":false,"deduplicate":false}"#;
    let x: Index = serde_json::from_str(json).unwrap();

    println!("{:#?}", x);
}

Please let me know what you think.

I just wrote that implementation according to what you outlined above, maybe it's easier to think about it that way. I guess both would work out well.
If you prefer the current (latest) implementation, please let me finalize the documentation before merging.

Documentation updated.

Yes, I agree the current implement that forces to use match to get any data is not ergonomic. Maybe we can combine the current and previous implementation.
#[derive(Debug, Serialize, Deserialize, Default, TypedBuilder)]
struct Index{
    pub fields: Vec<String>,
    #[builder(default, setter(into))]
    pub name: String,
    #[builder(default)]
    pub id: String,
    #[serde(flatten)]
    #[builder(default)]
    pub index_type: IndexType
}

#[serde(rename_all = "camelCase", tag = "type")]
#[derive(Debug, Serialize, Deserialize)]
enum IndexType{
    Persistent(PersistentIndex),
    Hash(HashIndex),
    Geo(GeoIndex),
}

struct PersistentIndex{unique:bool, sparse: bool, deduplicate: bool}
struct HashIndex{unique:bool, sparse: bool, deduplicate: bool}
struct GeoIndex{geo_json:bool}
impl Default for IndexType {
    fn default() -> Self {
        IndexType::Persistent(Persistent{ unique: false, sparse: false, deduplicate: false })
    }
}

Judge from your example, it seem the Index.fileds can be empty. Then maybe we can use a default?
#[derive(Debug, Serialize, Deserialize, Default, TypedBuilder)]
struct Index{
    #[builder(default="Vec::new()")]
    pub fields: Vec<String>,
    #[builder(default, setter(into))]
    pub name: String,
    #[builder(default)]
    pub id: String,
    #[serde(flatten)]
    #[builder(default)]
    pub index_type: IndexType
}

Judge from your example, it seem the Index.fileds can be empty. Then maybe we can use a default?
#[derive(Debug, Serialize, Deserialize, Default, TypedBuilder)]
struct Index{
    #[builder(default="Vec::new()")]
    pub fields: Vec<String>,
    #[builder(default, setter(into))]
    pub name: String,
    #[builder(default, setter(into))]
    pub id: String,
    #[serde(flatten)]
    #[builder(default)]
    pub index_type: IndexType
}

I just added the default value for the fields.
Regarding the implementation with enum: Using this I came to the conclusion that people most often use this index management to create indexes, usually on installation or something. And as this is pretty convenient, I wouldn't change it really. Looks fine I think.

This PR is merged now, and will be released in the next several hours.
Thank you soooo much!

Many thanks!


How to call action draw polygon/ polyline/ Text , edit or remove in new button custom on the app?

Hi,
I'm currently making an app and using geoman I feel it's great.
Now what I'm doing is customizing the external buttons and calling actions inside the map like drawing shapes, deleting, and editing each shape.
Can you guide me to do it?

Thank you

You need to enable drawing after clicking on a button: map.pm.enableDraw('Text'),  map.pm.enableDraw('Line'),  map.pm.enableDraw('Polygon')


Allow for flexibility to plot multiple datasets together

Description
Currently EVA links datasets and figures together, but that means that you can't plot say FV3 backgrounds with obs from IODA overlaid. This PR decouples the diagnostics and allows for multiple types of datasets to be read in for each diagnostic.
Dependencies
None
Impact
None

@danholdaway @asewnath this is a draft for now. I think I made the right change for the Jupyter test, but please check. And please let me know if you think this is a suitable approach to take, @danholdaway, or if you have a better suggestion. This was my quick and dirty suggestion.

Thanks for working on this @CoryMartin-NOAA. I think it's a good idea and actually how I thought it already worked so it's good to make it actually work like that! Probably a little to do to get the tests passing. If you need help with the interactive mode let us know. Would it be possible to add another test that plots the cube sphere restarts with some observational data?

@danholdaway good idea, let me add a test like that while I fix the coding norms/notebook test.

@danholdaway @asewnath I do think I'll need help with debugging the Notebook tests. Ugh, this is also failing now if I re-run an old PR's test, so something changed in the GitHub runner... again...

aircraft dots plotted over T2m

@danholdaway @asewnath notebook tests fixed by updating bokeh and python version, please make sure that's okay with you

Thanks for fixing the CI for the notebooks @CoryMartin-NOAA. One minor thing: this probably warrants a change to the minor version since it's actually quite a significant feature update (even thought we thought it was already part of the system). Can we go to 1.4.0 in the setup.py file? Then we can tag as soon as this gets merged.

@danholdaway done


Improve example

The current example doesn't work because weather site doesn't return json
I switched to using a free dictionary api, because it doesn't require api keys at all
Also I added a Deno api usage , just to showcase that its possible to access

Thanks so much! 🙌


xXx

xxxx

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ddc18273-8bbe-951d-d6a4-acc903772614
Version Independent ID: 29d66337-5772-6187-b64b-02607a682fe3
Content: Autoscale Azure resources based on performance data or a schedule
Content Source: articles/monitoring-and-diagnostics/monitor-tutorial-autoscale-performance-schedule.md
Service: monitoring-and-diagnostics
Product: unspecified
GitHub Login: @anirudhcavale
Microsoft Alias: ancav

@VitaChen1228 closing as spam


Hyperlinks not extracted for particular PDF

Hyperlinks are not getting extracted for this particular PDF. Other PDF viewers, including Chrome, Mac Preview & Acrobat, do render hyperlinks correctly.
Link to PDF file: https://cdn.relayto.com/media/files/ftV2Quw9QaWGCh7vZZbZ_BearingPoint_Annual_Report_2015.pdf
Configuration:

Web browser and its version: Chrome 52
Operating system and its version: Mac OS
PDF.js version: http://mozilla.github.io/pdf.js/web/viewer.html (12.08.2016)
Is an extension: No

Steps to reproduce the problem:

Upload the PDF into http://mozilla.github.io/pdf.js/web/viewer.html
Get 0 hyperlinks

Those are not actually proper Link annotations, but instead that PDF file  they (for some inexplicable reason) use Widget annotations which we don't fully support yet.

Those are not actually proper Link annotations, but instead that PDF file (for some inexplicable reason) uses Widget annotations to simulate normal links.
Note that currently, we only support a subset of the possible Widget annotations.

Duplicate of #4872?

They're using an acroform push button (with no appearance stream) with an URI action, e.g. for the "HyperCube" link on page 6:
Root/AcroForm/Fields/[84]/A/URI
Root/Pages/Kids/[0]/Kids/[1]/Annots/[7]/A/URI
Yes it's a duplicate, the only difference is that the other issue has an annotation with an appearance stream.

I have another PDF where internal hyperlinks fail(page 3, table of contents): https://cdn.relayto.com/media/files/Wq7cashxQCO2JyWvkTlo_rapport-transparence-pwc-septembre2016.pdf
I'm not very familiar with a different type of annotations Link vs. Widget. Is there a way to convert from one type of annotations to another via a third-party tool, like Adobe Acrobat or similar?

@timvandermeij will the work you doing on buttons https://github.com/mozilla/pdf.js/issues/7613 be a solution for this issue?

Yes, this will be fixed once pushbuttons (with actions and appearance streams) are implemented, which is all tracked in that issue. Your PDF generator is doing a somewhat bad job by making links a Widget annotation, while the Link annotation is the standard for this. Essentially it's emulating a normal link by a transparent button, which is a bit of a workaround. I'm not sure why your PDF generator does that, but you might want to check the export settings to make sure it's not exported as a form.
Note: Since a recent PR, we now show these kinds of issues in the console in a more specific manner. Opening the PDF in the first message in this thread now shows Warning: Unimplemented button widget annotation: pushbutton in the console.

@timvandermeij Thanks for the explanation! I've just pulled the latest and saw the warning. Is there an approximate timeline for the pushbuttons?

No, there is no timeline. I think https://github.com/mozilla/pdf.js/issues/7613#issuecomment-251895091 describes the situation quite well. It's a large project and it takes a good amount of time to fully understand the specification and implement it properly. Rendering the pushbuttons themselves is not too difficult, but the associated actions (what happens when the button is clicked) and the appearance streams (how should it look) are much harder, yet required for proper pushbutton support.


Not run in M1 Mac (Big Sur 11.2.3)

I am unable to run the project because of getting error in Flurry SDK.
When I removed Flurry from project, It run successfully.
On Intel based Mac, The project also run successfully along with Flurry SDK. It has been producing errors as I have been thinking on M1 Mac, but On my peer's M1 Mac, it is running successfully on iPhone, not on simulator.
In my case, the difference is that some files are executing with (armv64) see image 1st, but on peer's M1 Mac (macOS Big Sur 11.0.1) those file are executing with (armv7) see image 2nd.
Those file are mentioned below.

Compile FlurryEmpty.m
Compile Flurry-iOS-SDK-dummy.m
Write Flurry_iOS_SDK.LinkFileList
Compile Flurry_iOS_SDK_vers.c
Link Flurry_iOS_SDK

Please choose the platform(s) that you are having the issue by replacing [ ] with [x].

[x] iOS
[ ] tvOS
[ ] WatchOS

Environment
Please tell us the versions of Flurry SDK, XCode, and iOS you are using.

Flurry SDK: 10.3.3
Xcode: 12.4 (12D4e)
iOS: 14.4.2
Mac Version: Big Sur (11.2.3 (20D91))

I am using Flurry with Cocoapods.
I am getting this error : "Undefined symbol: OBJC_CLASS$_Flurry".
I have been trying to solve this issue, but no luck.
I appreciate your time and effort for your suggestions to resolve this issue.

@aansari1234 We have released a Catalyst compatible version of Flurry here: https://github.com/flurrydev/Flurry-Catalyst-Beta
This will allow you to run Flurry on Catalyst apps and includes M1 mac support.

@flurrydev, That one isn't updated to the latest version, and it also includes PLCrashReporter, even if one wouldn't want to use Flurry as a crash reporting tool. When will M1 support be added to the main SDK?

@revolter We will support M1 in the next major release of our SDK. Support for M1 is currently in beta testing.
A couple of things to note:
-Flurry always comes bundled with the crash reporter. In this case it is included as an xcframework (rather than included in the binary) to support M1. You do not have to use the crash reporter based on your session initialization settings.
-I will update this repo to the current version over the weekend. I apologize for this oversight.

@elilien Yes we have versions of Flurry supporting M1 chips available here as a Cocoapod or Swift Package:
https://github.com/flurrydev/Flurry-Catalyst-Beta
https://github.com/flurry/FlurrySwiftPackage
These are offered as beta products at this time. We expect these to be merged with the general audience release in Q1 of 2022. Please check the readme files for instructions.

@elilien Yes we have versions of Flurry supporting M1 chips available here as a Cocoapod or Swift Package:
https://github.com/flurrydev/Flurry-Catalyst-Beta https://github.com/flurry/FlurrySwiftPackage
These are offered as beta products at this time. We expect these to be merged with the general audience release in Q1 of 2022. Please check the readme files for instructions.

@flurrydev Are there any updates when should we expect a Flurry version supporting simulators on Mac with M1 chip? Q1 of 2022 is almost over and still there is no version.

+1

Our new build, 12.0.0, is in QA testing and should be ready in a couple of weeks. Thanks for your patience we are working hard to get this published.

For anyone who just switched to an M1 and is still waiting for Flurry to update I got it working for now by running Xcode (13.3) with Rosetta (Right click on the app and activate 'Open with Rosetta' It's not ideal as you're basically simulating an Intel Mac. But at least for now it lets me work.

But at least for now it lets me work.

Why not use https://github.com/flurrydev/Flurry-Catalyst-Beta?

@revolter sadly for us it didn't work with M1 Macs and Xcode 13.3

+1


jobdetails: make job backend a dropdown

Overview:
Previously,

backend field was broken, and wouldn't allow you to change the value
it was a text input, not a dropdown

Now,

it works
it's a dropdown

Testing:
Local testing.

cc @bgveenstra

More context on making a select/dropdown in this older version of react bootstrap: https://stackoverflow.com/questions/28678466/how-to-get-select-elements-value-in-react-bootstrap


[BUG] Italics are highlighted in bolded italics while in live preview mode instead of simply italics

Describe the Bug
Italics are rendered in both bold and italics instead of simply italics in the live preview mode.
Relevant Screenshots

To Reproduce

Set any text in the editor to be rendered in italics using asterisks as per standard Markdown.
Examine the text's weight.

In which mode does the bug occur?

[ ] Reading/Preview Mode
[ ] Source Mode
[x] Live Preview

Which editor are you using?

[ ] Legacy Editor
[x] New Editor

Which version of Obsidian are you using?

[x] Public Release (Desktop)
[ ] Public Release (Mobile)
[ ] Insider Release (Desktop)
[ ] Insider Release (Mobile)

Checklist

[x] I have updated to the latest version of the theme (Obsidian Settings → Appearance → Themes - Manage → Update).
[x] I made sure that the issue is related to this theme, by checking that the issue does not occur with other themes or the default theme.

This has been fixed in 2.8.5 :)


Fix broken profile links

I think this should fix this: https://kitsu.canny.io/bugs/p/profile-links-dont-work
Changes proposed in this pull request:

Reverted the profile-link changes from 51690c9

/cc @hummingbird-me/staff

Yeeeep my find/replace had a stray


Add option to increase the size of cache to improve performance and use less cpu resources on our old mechanical  HHDs

Hi, I notice it by opening the 2 web browsers, R3dfox opens in the blink of an eye in my old eee pc, while Supermium takes more time to open and the eee pc freezes for a while, I investigated and this difference in speed and impression of lightness comes from the fact that firefox made the good intelligent decision to increase the default cache size from 200mb to 1000mb (1 Gb), which is reflected in the speed of the web browser especially in our old laptops which have a mechanical HDD, while chromium seems optimized more for modern fast SSD and the default cache size of Supermium does not exceed 300mb which is sad because it slows down performance on our mechanical HDD, I tried this command line with Supermium :
--disk-cache-size=1147483647
to increase the default cache size of supermium to 1GB, but I go to the history section and click clear history and I see the cache size of Supermium which remains fixed at 200 MB or 300 MB even with this comand line , so the command --disk-cache-size=1147483647 is not compatible with Supermium and we hope please an easy quick option to increase the default cache of Supermium to 1Gb, or maybe our beloved Supermum should to differentiate itself from chrome's decisions and increase the default cache size to 1Gb as is the case for firefox, thank you!
let's be clear, Supermium is fast even with only 200mb cache, but I feel that r3dfox is a bit lighter and speed  probably because it has a large cache of 1GB by default

Using the HDD cache, on the contrary, creates additional slowdowns in the browser, especially on weak hardware and low-speed HDDs (5400 rpm). A lot of time is spent reading and writing information.
If there is a lot of RAM, then it is better, on the contrary, to avoid caching on the HDD as much as possible, using the following flags: --disable-application-cache --media-cache-size=1 - -disk-cache-size=1
I don't know if they are all supported now.
You can also use the browser in incognito mode and compare the speed in normal mode.

Cache size is capped to about 320 MB in Chromium, but I did notice a feature that is disabled by default, named WebUICodeCache (accessed by --enable-features=WebUICodeCache), which creates a separate cache for WebUI components in addition to JavaScript and WebAssembly caches. However the maximum size for the cache is 5 MB because there are relatively few WebUI pages being accessed.
--disable-application-cache and --media-cache-size have been removed.

I did a lot of experimentations on the chromium cache, hoping to increase the cache network buffer to improve streaming, nothing worked because I concluded that it is the website server that determines the quantity of the streaming cache buffer ....
I also did experimentation to make chromium faster by deleting the cache so that the cache is only in the ram, and experimentation to increase the chromium cache, to avoid wear of the hard cache, it says the cache limit is 2GB, maybe by moving the cache from the chromium path to another folder, the disk cache command would work, I did not try with suprermium because I do not like to change the default values to avoid possible bugs:
--disk-cache-dir="C:\cache" --disk-cache-size=2147483647 --media-cache-size=2000000000
for fiefox, I did some experimentation, it's a bit longer but you can choose the cache size permanently, or completely disable the cache:
browser.cache.disk.smart_size.enabled FALSE
MANDATORY RESTART OF FIREFOX
browser.cache.disk.enable
browser.cache.disk.capacity
browser.cache.disk.max_entry_size
browser.cache.disk_cache_ssl
before I hated the cache, because my hard drive of my main laptop which cracked was not fast and I wanted to delete the cache to use the cache in ram only, firefox was normal with a 300mb cache.....I was afraid that it would have the opposite effect expected and that the fan would become noisy if firefox had to decode each page again when I disabled the cache so I put the default values back.....without cache, firefix was a fighter plane, it says only 30% of the cache is kept and that the cache can wear out the hard drive because the cache is regularly deleted....
now firefox has increased the cache and I have the impression that firefox has become even faster and lighter, probably also for the modifications to the rendering engine, the fear was that firefox would become heavy, the laptop would freeze when firefox searches for the version of the web page in the cache but firefox seems to have optimized the process and start up quickly with a cache of 1GB......
librewolf chose to disable the disk cache and librewlf is very fast, so I really don't know what is the best choice for speed, enable or disable the disk cache? I think if you have an entry-level ssd disk, to preserve it, it is better to disable the disk cache and settle for the ram cache, I have an old mechanical hdd so increasing the cache suits me I think

I have only 2GB of ram memory, but i remember firefox becomme very speed whand cache is disbaled, and user says we should disable cache because cache killS our ssd and consumes many energy lags....
it seems even if we set disk cache=0 in fiefox, disk cache is not disbaled completely for dash youtube videos, japense article talks  about this suprising element about firefox cache and gives solution to really disable firefox cache and save ssd :
Japanese press article
FirefoxでYoutube見続けるとSSDが早死にする問題とその対処法
If you continue to watch Youtube on Firefox, SSD dies prematurely and how to deal with it
https://kanasys.com/tech/892

That sounds weird. Someone correct me if I'm wrong but disabling the cache shouldn't cause a web browser to speed up, as you'll have to redownload stuff everytime. That's literally the point of the cache. Unless your drive is that slow, or damaged.
To be honest, if I was you, I would be way more worried about your memory. 2 GB is kind of low for modern web browsing, even assuming you're on a less memory-hungry older windows. Heavy pagination could cause wear on the long run (I actually saw it happen on a family member's laptop. It lacked memory and was paginating like crazy. The HDD, which was probably not of the highest quality, didn't last long).
Anyway, I never heard of Chromium or Firefox being able to cause signifcant wear to disks, SSD included. Maybe if we talk about back then, when SSD were new, they were way less durable. But it shouldn't be a problem nowadays and the subject was about HDD anyway.
As for your japanese article about Firefox killing SSD when watching youtube, it's not relevant to Supermium, so I'll make it short: It just sounds stupid.
The initial claim starts from seeing increased disk usage in the task manager. No methodology to check what's being accessed. It just claims to have found whole videos in the disk cache. I'm no web browser expert but that sounds like a design flaw or incompetency if that's how the browser is working.
The article is also not dated. I found a japanese discussion thread, from mid 2022 which was  also doubtful of this article. My point is, even if that was true then, this behavior might have changed or been fixed since.
And, more importantly, I couldn't find other sources claiming the same thing.

I have a modern windows 10 computer with a larger amount of ram but the screen turns green during the summer so I now use my old eee pc windows 7 2gb ram, I didn't say I disabled the cache, I reported my impressions and the opinion of other users, try librewolf which disabled the cache, the cache is done in the ram memory only, if you have an old mechanical hdd, you can feel the difference, you say never heard of Chromium or Firefox being able to cause significant wear to disks, this problem dates back to 2016, press, users,  tests, have been done and it is confirmed, leave your chrome open and inactive for a day and consult the task manager of the data consumed, now chrome and firefox have introduced a mechanism to put inactive tab on standby for a certain time but session store still consumes data when browser is active and not active, , I talked about it a lot on the page Thorium github, type keyword ssd in Thorium github:
https://github.com/Alex313031/thorium/issues/61

@MizaGBF

@MizaGBF I report what a user or a developer said, he says the cache means heavy writing operation on the ssd and 70% of the cache is erased because the sites renew their data and he advises us to deactivate the cache in firefox, the cache will be done in the ram, even low ram will do the trick since the cache does not exceed 200 mb,

""Chrome and Spotify are writing over 150GB per day to my SSD."
"At the rates I'm clocking I'm actually probably closer
to this group that is showing upwards of 100 GIG
(yes, ONE HUNDRED GIG) of writes to my SSD PER DAY -
just from leaving Chrome open even if I run the awesome extension
(and BTW about the ONLY thing anyone has come up with to indicate
helps this at all by sleeping tabs via the "Great Suspender" extension). "
https://bugs.chromium.org/p/chromium/issues/detail?id=176727
https://www.reddit.com/r/pcmasterrace/comments/54fft5/chrome_and_spotify_are_writing_over_150gb_per_day/
a user seems to have found a solution to avoid the wear of SSD and HHD and huge disk writes of chromium but I don't know if these flag work with the current version, another user said that the excessive storage writes date of chromium is due to cookies to save the state of cookies even in inactive state so should we disable cookies to save our SSDs ?
"I was finally able to fix the heavy disk I/O activity (while idle, and ultra heavy hdd kill while loading pages) by adding the following command line arguments in shortcut:
%pathtoyourbrowser% --profile-directory=Default --disable-cache --disk-cache-size=0 --disk-cache-dir="Z:"
These commands should disable any kind of disk cache except for streaming multimedia - with no noticable speed diff. So the main reason why chrome eats up HDD for me was disk cache - and does so on every version on every variant with any setting in Chrome flags. There is a high chance that your chromium browser variant will not apply these commands on newer versions, however choosing an advanced browser with implemented setting for disk cache location will ensure that cache is not stored (see 360Chrome cn browser option in attachment and i think Slimjet browser also have it, just specify non-writeable location for cache storage). HDD activity while idle and loading heavy pages (example music. torchbrowser. com) in task manager down from 50% HDD to 3-4% (like in FF but FF is still lower I/O both in load and idle and while streaming multimedia). You could do the same with --incognito trick but then your visited history would never be saved.
Hope this helps someone save his HDD/SSD."
https://bugs.chromium.org/p/chromium/issues/detail?id=401391#c7
disable memory cache may be a good ideo to make browser faster but we cant't disable momory cache :
https://stackoverflow.com/questions/69286753/how-do-i-disable-chromes-memory-cache-without-devtools "

ohh lala, I forgot, inactive idle chrome was able to  consume 100GB of data per day!! do you really think it doesn't affect the ssd? and even other components of the computer that will heat up? @MizaGBF

--disable-application-cache and --media-cache-size have been removed.

Oh, but I still have this written in the shortcuts for launching the browser!
Then tell me, is using incognito mode enough to avoid unnecessary caching to disk, especially when watching videos?

@billi857 , sorry , i didn't see your message :(
i don't use incognito mode, i have to connect to twitter, gmail...i need cookies....well session store and big cache doesn't bother me too much, since i already have a mechanical HDD disk, if it's a cheap ssd , then i would be worried, plus i have r3dfox where i can totally disable session store and cache ...
Mr @win32ss , obviously i keep great Supermium to watch video because it doesn't lag unlike other web browsers, for gmail, surfing news sites...but chrome windows 7 becomes my browser to download videos because it can display temporary video of cat catch extension, and i notice the launch of chrome windows 7 is very fast, maybe faster than r3dfox which has a 1GB cache, i check the size of the chrome windows 7 cache and it's only 320mb, like Supermium, yet chrome startup is faster than Supermium, apparently chrome analyzes the cache differently from other chrome browsers, catsxp startup is slow too...i heard chrome increases the javascript timer that's why it's very responsive but consumes a lot of resources compared to edge for example...

if it's a cheap ssd , then i would be worried

Yes, I have a cheap SSD now, and it's not new. I upgraded the RAM on my netbook to 8GB and am experimenting with a ramdisk (primo ramdisk 5.6.0). I moved various temporary files, Temp folders, the Supermium user folder, and even the swap file to the ramdisk. There are some inconveniences (saving cookies, tabs), but I'm gaining experience.

Interesting, thanks ! in catsxp browser, in start up settings, we have to run the browser as administrator, and there is also option to change data users folder, cache.....it's a bunch of customization options to do quick tests...
Update : Mr Shane @win32ss , I said chrome becomes my browser to download, so the live stream downloader extension with improved heavy mode is constantly enabled, and yesterday at chrome windows 7 startup, the windows 7 browser took too long to start...it's strange, maybe because of the extension

Update : chrome windows 7 shows me error messages related to memory and other things.... and often freezes, crashes, refuses to close... so i think  it's better to use chrome windows 7 just to download, or to surf briefly on web sites, or  avoid opening several tabs....


Prepare 0.1.30

This includes a bug fix (#1864) and compatibility fixes with tokio 0.2 (#2122, #2154).
r? @cramertj

LGTM! I sent you an owner invite for the crate as well if you want to publish it. Otherwise, lmk and I can do it. Thanks!

@cramertj Thanks! I'll publish a new version:)

@cramertj Would you give me a publish permission of futures01? (and if possible, also the sub crates included in 0.3 -- I'll open a PR later, but many changes have been merged into master since the previous version was released, so I also would like to make a new release of 0.3.)

Published 0.1.30 and opened #2226 for the next release of 0.3.

@taiki-e Sent invites for futures01 and the subcrates. Thanks so much!

Thanks, I published futures01 0.1.30. I'll publish the next release of futures 0.3 and sub crates after merge #2226.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 975 ms

Resolved: Bofrost.at performance has improved in 4ad689f.


WIM retail toc bump request.

The toc is still showing for WoW-retail v10.2.5 whereas v10.2.7 is the current version.
but v11.0.0 is coming sooner or later it seems..
and the wrath and burning crusade tocs can be removed now as not needed anymore.

WIM_TBC.toc
WIM_Wrath.toc

thx @Pazza.
thx for one of my favorite WoW addons.

FYI, I decided to keep TBC and Wrath tocs. Either for posterity or for when Blizzard goes classic again 🤣

ooh!? ok. your choice.