Bug: Accordion / Collapsible - Items animate when they are defaultOpen

We've identified a bug within the accordion/collapsible component. Interestingly, the bug's origin is not directly within the park library itself, but rather in the handling of props by the accordion/collapsible mechanism within the Zag project. To assist in addressing this issue, a sandbox demonstration of the problem will be shared shortly.
In the meantime, we need to temporarily disable all animations as a workaround.
/*
 * Animations for accordion item contents are permanently disabled for both open
 * and closed states. This design choice is rooted in the observation that
 * animations upon the initial loading or state changes do not add meaningful
 * value to the user experience, particularly in scenarios where all accordion
 * items are set to be open by default. Immediate positioning of items in their
 * respective states—open or closed—without the delay of animation ensures a
 * direct and clear presentation of content right from the start. The potential
 * for this issue to arise from bugs in the libraries @ark-ui/react,
 * @park-ui/tailwind-plugin, or @zag-js has been considered; however, the
 * decision to disable animations is primarily about optimizing for immediate
 * accessibility of information and maintaining a seamless and efficient user
 * interaction model.
 *
 * Note: This approach, eliminating animations for state transitions, aims to
 * enhance the component's usability by ensuring that content is immediately
 * accessible, avoiding unnecessary wait times for animations to complete. It's
 * a deliberate strategy to prioritize content availability and interaction
 * speed, enhancing the overall user experience.
 */
.accordion__itemContent:is([open], [data-state='open']) {
  animation: none; /* Disables animation to ensure content is immediately accessible, optimizing user interaction. */
}

.accordion__itemContent:is([data-state='closed']) {
  animation: none; /* Maintains consistency by disabling animation for items in the 'closed' state as well. */
}

This is the actual component / panda setup followed.
<Accordion.Root
   multiple
   collapsible
   defaultValue={navItems.map((navItem) => navItem.name)}

<Accordion.Item
   defaultOpen // open all items on initial render - this somehow does animate at least it seems it does, not a full animate but a flicker from the initial position on the way to the end position.

'use client';

import { FC } from 'react';
import Link from 'next/link';
import ChevronDownIcon from 'lucide-react/dist/esm/icons/chevron-down';
import { Button } from '../button';
import { Accordion } from '../accordion';

type NavItem = {
  name: string;
  children: Array<{ name: string; href: string; disabled: boolean }>;
};

const navItems: Array<NavItem> = [
  {
    name: 'Group 1',
    children: [
      { name: 'Group 1 - Item 1', href: '/test/1/1', disabled: false },
      { name: 'Group 1 - Item 2', href: '/test/1/2', disabled: true },
      { name: 'Group 1 - Item 3', href: '/test/1/3', disabled: true },
      { name: 'Group 1 - Item 4', href: '/test/1/4', disabled: true },
    ],
  },
  {
    name: 'Group 2',
    children: [
      { name: 'Group 2 - Item 1', href: '/test/2/1', disabled: false },
      { name: 'Group 2 - Item 2', href: '/test/2/2', disabled: true },
    ],
  },
  {
    name: 'Group 3',
    children: [{ name: 'Group 3 - Item 1', href: '/test/3/1', disabled: true }],
  },
];

export const SideNav: FC = () => {
  return (
    <Accordion.Root multiple collapsible defaultValue={navItems.map((navItem) => navItem.name)}>
      {navItems.map((menuItem) => (
        <Accordion.Item defaultOpen key={menuItem.name} value={menuItem.name}>
          <Accordion.ItemTrigger>
            {menuItem.name}
            <Accordion.ItemIndicator>
              <ChevronDownIcon />
            </Accordion.ItemIndicator>
          </Accordion.ItemTrigger>
          <Accordion.ItemContent>

              {menuItem.children.map(({ name, href, disabled }) => {
                return (

                    {!disabled ? (
                      <Link passHref href={href}>
                        <Button variant="solid">{name}</Button>
                      </Link>
                    ) : (
                      <Button disabled variant="solid">
                        {name}
                      </Button>
                    )}

                );
              })}

          </Accordion.ItemContent>
        </Accordion.Item>
      ))}
    </Accordion.Root>
  );
};

Thx!

@gurkerl83
This was fixed in Ark.


Set Content-Security-Policy header to allow embedding in RenkuLab

Description
HTTP requests to notebooks should set the Content-Security-Policy header to a value that will allow embedding the notebook UI within the RenkuLab UI from which it was started.
See<EMAIL_ADDRESS>

This isn't necessary. The change in renku-notebooks https://github.com/SwissDataScienceCenter/renku-notebooks/pull/606 is enough.


Not Monitored State and Workflow fail

Hi Zvi,
I need your help:
We have installed your MP version <IP_ADDRESS> in scom2012R2 UR14.
Set up 6 query to monitore by windows authentification.
I do the test connection it's OK but the state is always in Not Monitored and i have a message error :workflow fail
Total Workflows Failed: 2
Details: show/hide
Object Id: {2F545F66-0620-7FB0-2A41-80F412DB4AF9}
Object Display Name: Kofax Seuil 10
Workflows: show/hide
Workflow Id: Workflow Display Name:
QueryOleDbMonitor.OleDBQueryUnitMonitor.fc8d30a560b949288d841f2650a9919d Ole DB Query Unit Monitor
QueryOleDbMonitor.OleDbQueryPerformaceCollection.fc8d30a560b949288d841f2650a9919d OleDb Query Performance Collection
Thanks a lot for your help.
Best Regards
[David]

Hi David,
Can you add more details? You should see more information about the exception in the log.

Hi Zvi,
Thanks for your reply.
I don't find the log ,it's in eventviewer ?
my query in your MP :+1: SELECT CASE
WHEN (SELECT COUNT (*)
FROM T_IMPORT_XEROX_ACK_PLI
WHERE CodeErreurACK !=0 and  convert(date, DateInsertion) = CONVERT(date,GETDATE())) >= 150
THEN 1
ELSE 0
END

the query is Ok. yes, search for the exception in the event log (on the agent that hosting the sql instance )

it's normal the state is Not Monitored ?

Hi Zvi,
Rule/Monitor "QueryOleDbMonitor.OleDbQueryPerformaceCollection.ffadfec4ce504d7783a3e4c523bdeb25" running for instance "Kofax Seuil 100" with id:"{BAE5DF25-4523-7D3D-3BEB-1E9101669F1C}" cannot be initialized and will not be loaded. Management group "SCOM-GIS-FR"

Rule/Monitor "QueryOleDbMonitor.OleDBQueryUnitMonitor.ffadfec4ce504d7783a3e4c523bdeb25" running for instance "Kofax Seuil 100" with id:"{BAE5DF25-4523-7D3D-3BEB-1E9101669F1C}" cannot be initialized and will not be loaded. Management group "SCOM-GIS-FR"

Source :healthService
EventID : 1102
Thanks

Zvi,
I restart the healthservice now and :+1: Rule/Monitor "QueryOleDbMonitor.OleDbQueryPerformaceCollection.a032311048ca4bc0a3905f50208b87d9" running for instance "Kofax Seuil 50" with id:"{6253EF11-8B2D-1C11-4DDA-35769537501F}" cannot be initialized and will not be loaded. Management group "SCOM-GIS-FR"

make sure that the agent is enable agent proxy (https://scomandothergeekystuff.com/2017/07/23/enabling-scom-2016-agent-proxy/) same in scom2012

The agent is enable agent proxy,i restart the healthservice and same error :+1: Rule/Monitor "QueryOleDbMonitor.OleDbQueryPerformaceCollection.ffadfec4ce504d7783a3e4c523bdeb25" running for instance "Kofax Seuil 100" with id:"{BAE5DF25-4523-7D3D-3BEB-1E9101669F1C}" cannot be initialized and will not be loaded. Management group "SCOM-GIS-FR"

you can try to follow this https://www.opslogix.com/knowledgebase/debugging-scom-workflows-using-powershell to debug.

Zvi,
I'm not a expert of powershell,i must change this ?
$targetName=“Target1”
$monitorName=“OpsLogix.IMP.Monitor.Ping.WMIPingCheck”

$monitorName=OleDBQueryMonitoring
$targetName=DSI-WXXXBDDV0.Groupe.XXXX.fr\SQLT110_TECH8_PB
it's correct ?
thanks

Sorry I didn't explain it properly the link is to an example how to debug MP, the PS is not an option for query mp since I didn't implemented such as capability but you can use other 4 options to debug as describe in the link.

Hi Zvi,
I use traceconfig and start tracing.cmd but it doesn't work i have this error : failed to create temporaly file when starting trace session error code 5
Thanks for your help

[1]8888.10292::07/24/2020-12:03:34.170 [HealthServiceCommon] [] [Verbose] :CRegistryUtility::_ReadRegistryValue{RegistryUtility_cpp1419}RegQueryValueEx of value "WorkflowErrorReloadAllocations" returned FILE_NOT_FOUND.

[1]8888.10292::07/24/2020-12:03:34.170 [HealthServiceCommon] [] [Verbose] :CMonitoringHostServer::Initialize{RegistryUtility_cpp513}_ReadRegistryDword for value "WorkflowErrorReloadAllocations" returned FILE_NOT_FOUND, will use default value 5.

[4]8888.4268::07/24/2020-12:03:59.238 [ConfigurationManager] [] [Warning] :CWorkflowsLoader::LoadWorkflow{MEWorkflowsLoader_cpp4286}LoadWorkflow for workflow 'QueryOleDbMonitor.OleDbQueryPerformaceCollection.8ddba28450094799a42fceec87b853ec' failed with code WINERROR=80FF006F.

[4]8888.4268::07/24/2020-12:03:59.239 [HealthServiceCommon] [] [Error] :EventLogUtil::LogEvent{EventLogUtil_cpp379}Logging event 1102 from source "HealthService" with severity Error and description "Rule/Monitor "QueryOleDbMonitor.OleDbQueryPerformaceCollection.8ddba28450094799a42fceec87b853ec" running for instance "Kofax Seuil 20" with id:"{A93F21E3-14F2-4894-7BB8-5914CCBFD22F}" cannot be initialized and will not be loaded. Management group "SCOM-GIS-FR"".

I'm not sure but I think you have some issue related to the user account you are using to access to SQL .
by the default the mp will use the default action account to access to SQL, check your "default action account" has enough permissions to access and run the query.

[4]8888.4268::07/24/2020-12:03:59.224 [HealthManager] [] [Information] :HealthStateTable::RegisterMonitorAlertNotification{HealthManagerJetTable_cpp3238}Registering monitor to alert notification on state Error with name QueryOleDbMonitor.OleDBQueryUnitMonitor.8ddba28450094799a42fceec87b853ec

the "default action account" must have sysadmin role or just datareader ?

datareader should be enough in your case but advice with your db admin

the account is already datareader


Get UE for macOS from AWS S3 instead of Google GCS.

macOS builds don't run on Google Cloud like Windows and Linux builds do, so downloading it from GCS isn't free. And GCS costs more than S3, so let's use S3.

Thanks for the pull request @kring!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.


Help with getting second accessory working... (IndexOf Error)

What am I doing wrong...
Steps carried out:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git make
curl deb.nodesource.com/setup_6.x | sudo bash
sudo apt-get install nodejs
sudo npm install -g --unsafe-perm homebridge hap-nodejs node-gyp
cd /usr/lib/node_modules/homebridge/
sudo npm install --unsafe-perm bignum
cd /usr/lib/node_modules/hap-nodejs/node_modules/mdns
sudo node-gyp BUILDTYPE=Release rebuild
sudo npm install -g --unsafe-perm homebridge
sudo npm install -g homebridge-pi
sudo su
cd /root/.homebridge
sudo nano config.json

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-154"
    },

    "accessories": [
        {
            "accessory": "PiTemperature",
            "name": "Raspberry Pi Temperature"
  	}
    ]
 }

Ctrl+O
Enter
Ctrl+x
sudo homebridge

This seems to load as I see the PIN code box + message to say "Homebridge is running"
Point of failure:

npm install -g homebridge-people

update config.json to:
{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},

	"accessories": [{
		"accessory": "PiTemperature",
		"name": "Raspberry Pi Temperature",

		"accessory0": "people",
		"name0": "People",
		"people": [{
			"name": "Pete",
			"target": "PetesiPhone"
		}],
		"threshold": 15

	}]
}

The above complies on jsonlinet.com
When I restart my Pi and type:

sudo homebridge

I get an error - TypeError: Cannot read property 'indexOf' of undefined
Can someone help please?? (i am a bit of a linux/pi n00b)
Is it even possible to have more than one accessory at a time?
When I compile just using 'accessory' I get a warning about duplicate names, that's why I am trying 'accessory0' & 'accessory1'.

Found the error...
{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},

	"accessories": [{
		"accessory": "PiTemperature",
		"name": "Raspberry Pi Temperature"
	**}, {**
		"accessory": "people",
		"name": "People",
		"people": [{
			"name": "12345",
			"target": "12345"
		}],
		"threshold": 15

	}]
}


[SUBGRAPH] Investigate a technical solution re trivial deprecating fields

Problem
We want to do trivial deprecating fields exercise with the intent of removing them soon without having to a major breaking versioning release.
This issue occurred when using ListEvents, arguably it has some tech debt/design issues:
1. maintainability issue wrt deprecating fields
2. optimization issue wrt querying all fields of all events
Potential Things to Look Into
A. removing deprecating fields from codegen stage

this is to make newer packages ready for removing of deprecating fields in the future
this seems too daunting tasks to address it ourselves
we should reach to either subgraph or @graphql-codegen project to see what they have to say to this engineering problem.
(SPIKE) investigate if @deprecated can be of any help: http://spec.graphql.org/October2021/#sec--deprecated

B. run-time solution using runtime introspection:

filtering out deprecating fields in queries in run-time (CONS: complicated solution, and change existing product behaviour is usually not a good idea)
print big-arse warnings in console (Preferred solution)
overall this might be a difficult task.

Other Notes
We may also want to consider deprecate listEvents, and use new sdk-core apis in console such that there is no run-time compatibility issue and potentially also more optimized (not querying all unnecessary fields)

oops sorry, I created ticket in wrong place.


Added About Us

Hello @codervivek5 ,
Added about us Page for VigyBag.
Video -
Screencast from 22-06-23 01:28:00 PM IST.webm
It is ready to Merge

Thank you for your contribution :)

kindly close the issue related to this PR


Remove time from monthly stats grouping

Checklist

[ ] You added tests to cover the change
[ ] mvn clean install build and test completes
[ ] You changed or added to the documentation

Codecov Report

Merging #98 (44989d0) into main (3cd8d0d) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main      #98   +/-   ##
=========================================
  Coverage     64.20%   64.20%
  Complexity      183      183
=========================================
  Files           112      112
  Lines          2917     2917
  Branches        441      441
=========================================
  Hits           1873     1873
  Misses          824      824
  Partials        220      220

Impacted Files
Coverage Δ

.../net/adoptopenjdk/api/v3/DownloadStatsInterface.kt
90.90% <100.00%> (ø)

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 3cd8d0d...44989d0. Read the comment docs.


react-scripts: not found

"I'm trying to install following the step-by-step guide, but when I run the 'npm start' command, it returns the following error."

Did you run npm install first?


Better support for home directory installation

Verification

[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

Provide a detailed description of the proposed feature
Make it easy and supported for Mac users to install Homebrew, formulae, casks and everything associated with them in their home directories.
What is the motivation for the feature?

If only one user is going to use an application, which is the usual case for Homebrew, it is best practice for that application and everything associated with it to live in the user's home directory.

Like most Mac users, my usual user profile has zero administrative capabilities for obvious security reasons.  Changing the ownership of /usr/local/opt and most other directories in /usr/local breaks other things, so changing ownership of those directories is not an option.  Thus, every time I want to upgrade/update/install/unininstall anything to do with Homebrew, I need to change my user to one with directory ownership (and/or sometimes with sudo capability).

Your current instructions make it clear that installing other than to /usr/local (or /opt/homebrew for Mac silicon) is both not supported and not recommended.

How will the feature be relevant to at least 90% of Homebrew users?
See items (1) and (2) in the answer to the preceding question.
What alternatives to the feature have been considered?
Following the advice in your current instructions which caution against installing in other than the default directories, I have not considered alternatives.

3. Your current instructions make it clear that installing other than to /usr/local (or /opt/homebrew for Mac silicon) is both not supported and not recommended.

I'm afraid this is because it's currently not possible for us to deliver the majority of binary packages (the only configuration in which Homebrew is supported and works well) outside of the default locations because they are not relocatable (i.e. when installed elsewhere: they do not work).
This is something we're working making better long-term but it will be a long time, perhaps forever, before we ever are able to officially support home directory installation, sorry!


Unexpected value 'IonRangeSliderModule' imported by the module 'AppModule'

Hello, I got an error message like this.
Unexpected value 'IonRangeSliderModule' imported by the module 'AppModule'
Hope you can give me some help, thank you~
I used webpack to compile my project.
I install ng2-ion-range-slider:
npm install ng2-ion-range-slider --save
and import it in my main module:
import { IonRangeSliderModule } from 'ng2-ion-range-slider'; .... imports:[         ......         IonRangeSliderModule     ], ....
when I start my project, try to view it in the browser, it can not loading on with an error up there.

Which browser are you using? I have also issues importing this module in IE11, in Chrome it just works fine.
in IE11 it stops at this line:
modules[moduleId].call(module.exports, module, module.exports, webpack_require);

I used Chrome, which version is "56.0.2924.87".   Did you use webpack2 to compile your project?

I am using Angular-CLI 1.0.0-rc2 which is using webpack 2.2.1

Hi @huanghai21 could you please provide an example project to reproduce the issues?
Is the example working for you?

I have the same issue in firefox 43.x.x  but i upgraded to 47.0.2 and now woks fine , in chrome works fine too

Probably this is related to #3, switching the target version to es5 solved #3. Maybe this issue is now also fixed? @huanghai21 could you please test with the new version v1.0.3?


Installing and running homebase non-globally …

Is there any way to npm install homebase/dathttpd non-globally to use this wonderful service on  shared servers as e.g. uberspace where users don’t have root privileges and cannot use—or modify—the default http and https ports 80 and 443 (which are defined by other services like apache, nginx, et cetera)?

Sure, though it depends on how you want to use it.
You can clone the repository using git, then run npm install inside that directory, and then run it with npm start.
Alternatively, you can install global npm apps/modules without needing root access by following this guide.
You can also configure the ports that homebase uses (see the readme for info on that).


suthesan/update content on market to trade page

Description
Update contents on the Markets to trade page
Changes:

Update description for trading options for forex, synthetic indices, stock and commodities
Remove Call/Put spreads for forex and synthetic indices markets
Added Range Break trading options for synthetic indices
Added trading instruments for continuous indices (volatility 25(1s), 50(1s) and 75(1s) index)
Fixed wrong flags shown on exotic pairs (gbp/sgd & nzd/sgd)
Update instrument available for margin trading in stock indices to German index

Type of change

[x] Bug fix
[ ] New feature
[ ] Refactor code
[ ] Update translation text
[ ] Breaking change
[ ] Dependency update
[ ] This change requires a documentation update
[ ] Release

@suthesan-binary please resolve the conflicts


MEDS 0.3 Tracker

Proposals:

[ ] Collapse properties into the schema directly (#28)
[ ] Going to unnested as the default schema
[ ] Store code descriptions and other metadata in a parquet or dataframe file (actually, as json can store dataframes, it could still be json, though that may be strange) separate from the dataset version information given they have different schema nesting levels.

Related issues to track

[ ] Revise canonical ETLs to match these changes. Possibly shift to this repo's ETL as the canonical MIMIC ETL pending https://github.com/mmcdermott/MEDS_polars_functions/issues/32 and this version change

Those all look fine to me. Given the limitations of 0.2, I think this is more than enough improvement to justify a release. My only real concern is what additional constraints we want to enforce on the unnested schema.
There are three questions in particular:

Are a single patient's events allowed to be split across files?

Are a single patient's events allowed to be in any order within a file?

I vote:

No, a single patient's events must all be in the same fil
A single patient's events must be ordered by timestamp from earliest to latest and in a contiguous block (e.g., the entire shard should be sorted by patietn ID and timestamp, or at least grouped by patient ID and within each patient ID sorted by timestamp)

To be even more concrete re 1, I'd also advocate for their being a "shards.json" file or something that maps shards to what patients are in those shards, where shard names are "/" delimited strings used to denote relative file paths. E.g., (per slides 18-19 in this deck)
We might have shards.json say
{
  "train/0": [239684, 1195293],
  "train/1": [68729, 814703],
  ...
}

Indicating that in a shard stored in train/0.parquet there will be all events for patients 239684 & 1195293 and in train/1.parquet for patients 68729 & 814703. Note here that the names "train/0", "train/1" are arbitrary, and could also be 0.parquet, aa019d2c.parquet, or special_held_out_set/foo/10.parquet or whatever (though naturally often certain prefixes may be used to denote shards that subdivide other, pre-set groups of patients, and some tools may be built to limit their analysis to only shards starting with a certain prefix, etc., though that is all outside the scope of this point).

I do not think a shards.json file is necessary. We can simply specify that glob.glob('data/**/*.parquet') will always list all the shards (and parquet isn't really designed for random access so a patient map of shards isn't all that useful).


Small change

Includes both the rescaling of symlog and a modification of the auto vmin/vmax so that it is centered at zero by default


Adding dev and test db config into repo to fix build errors with Trav…

…isCI
Remove openssl command from travis.yml
Ensure that spec_helper generates the tmp/cache before running tests
Remove encrypted database.yml.enc
Add tmp create call to the spec_helper instead of travis.yml
Use a default dummy key for weatherunderground tests
Paired with @williamcodes to get the Travis CI working again on Forks as described in https://github.com/heatseeknyc/heatseeknyc/issues/92

Awesome, great work! This finally fixes our long-standing Travis-CI issues which we've been ignoring and helps us move toward style-guide compliance to boot. If you update for that typo in dev and for the appropriate settings in prod, I'll merge.

@williamcodes I updated with the config you copied and pushed the commit. I think it should be good to merge, but I did notice that you had no timeout listed? Is that correct or should it be using 5000 ms like prod and test?


As a keptn user, I want the CLI to prompt me for missing mandatory parameters

When using the CLI, it can happen that the user forgets mandatory parameters. As a convenience feature, the CLI should ask the user for the value of the mandatory parameters, that have not been passed.
Acceptance criteria

Given I'm a keptn CLI user
When I issue commands with mandatory parameters and don't provide all of them or none
Then the CLI prompts the user for values for all mandatory parameters before executing the command

closing, we won't implement that now


and ocw-livelabs with proper get help link for WMS ID 442

Add here your WMS ID
WMS ID 442
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[x ] All filenames are lower case (including folders, images, files, etc.)
[x ] Filenames are descriptive
[x ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[x ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[x ] Image references in markdown contain an alternate text

@arabellayao done, thanks


fix(nuxt): assign route without reactivity afterEach

🔗 Linked issue
resolve https://github.com/nuxt/nuxt/issues/24642

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Hi :wave: this PR sync nuxtApp._route for NuxtLayout

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@caef295). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24673   +/-   ##
=======================================
  Coverage        ?   58.65%
=======================================
  Files           ?        5
  Lines           ?      861
  Branches        ?       46
=======================================
  Hits            ?      505
  Misses          ?      356
  Partials        ?        0

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


Fixed a regression where Linux theme is not properly detected

Pull request type

Please check the type of change your PR introduces:

[X] Bugfix
[ ] New feature or enhancement
[ ] UI change (please include screenshot!)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: #1381
What is the new behavior?
Use DBus to retrieve the org.freedesktop.appearance parameter to detect the theme on Linux Mint, Ubuntu, Fedora.
Other information

Quality check
Before creating this PR:

[X] Did you follow the code style guideline as described in CONTRIBUTING.md
[X] Did you build the app and test your changes?
[X] Did you check for accessibility? On Windows, you can use Accessibility Insights for this.
[ ] Did you verify that the change work in Release build configuration
[ ] Did you verify that all unit tests pass
[ ] If necessary and if possible, did you verify your changes on:

[ ] Windows
[ ] macOS
[X] Linux

Looks good to me. On Fedora, the app now follows dark mode again, but the titlebar remains light:

Which I guess is to expected since GTK itself still doesn't know about the dark mode preference...

@CodedOre Thanks for testing then I will skip the testing on my side.
Making the title bar dark should be possible, too.

Looking through the docs, I think setting the gtk-application-prefer-dark-theme property should work?
Though I haven't tried that yet.

@CodedOre Yes this works, tested on fedora 40 with:
var application = Gtk.Application.New("org.gir.core", Gio.ApplicationFlags.FlagsNone);
application.OnActivate += (sender, args) =>
{
    var window = Gtk.ApplicationWindow.New((Gtk.Application) sender);
    window.Title = "Gtk4 Window";
    window.SetDefaultSize(300, 300);
    window.GetSettings().GtkApplicationPreferDarkTheme = true;
    window.Show();
};

return application.RunWithSynchronizationContext(null);

So setting GtkApplicationPreferDarkTheme  to true looks to be the right thing to do.

I think Gtk.Settings.GtkApplicationPreferDarkTheme should not be used as a fallback decider for the preferred theming mode. This is implied by the linked docs of @CodedOre, too.
I think it is more meant as an "application level setting" defining the developers preference of either a dark or light theme. E.g. in GNOME there are apps, which use a dark theme, even if the user chooses to have a light theme. This is the case for media related apps like video players. I think those apps set this setting to indicate that they prefer a dark theme over the user choise.
And If your code detects, the user wants to use a dark theme you set this property to  true to adhere to the users wish resulting in a dark titlebar.

@veler Are you aware that the dbus call might fail regularly in case of old distributions (API not available). In those cases you would not check the GTK theme currently.

Hey everyone! Thank you all for your feedback, it's super helpful :)
I think I updated the PR according to your suggestions. I'm struggling at setting up a Fedora somehow. I wouldn't mind if one of you could try it. On my side, I tested on Mint and Ubuntu.

Alright, I finally got Fedora to work!
The title bar now follows the theme of DevToys. However, DevToys does not detect the system's theme. userThemePreference on line 179 is 0, so it fallback on checking the theme name, which is just "adwaita", whether it's dark or not.
I'm happy to take suggestions, otherwise I kind of happy with the current state too. I know it's not perfect but it's not a blocking issue.

Which edition of Fedora did you install?
Because the Settings portal, like the other XDG desktop portals, depend on a implementation in the desktop to provide the information.
Gnome and Elementary have implemented the new portal, as well as KDE (partially at least).
But some like Cinnamon or Xfce might not provide the preference yet, so there a fallback to the theme name would be used.

I did just check with my Fedora desktop (to be precise, Fedora Silverblue with the Gnome desktop), and it does work fine and is indeed using the portal.

@veler you could double check if you use "D-Spy" to execute the call to the portal interface manually like I showed in the screenshot.
Perhaps you really have some variant / version which does not have this feature available?

Hey there,
Thanks for your comments :)
I made a virtual machine of Fedora Workstation 40 using the ISO from the Fedora website.
If I'm not wrong, @badcel , I'm getting the same result than you in D-Bus. This is in my Fedora, currently set to Dark mode.

Am I understanding correctly it finds "1" ? Also, when I switch the theme to Default, then the value is "0".

The values from the settings portal looks right to me. If you look at the portal documentation, the value 1 stands for dark mode, while 0 for "no preference". The reason Gnome sets "no preference" instead of "prefer light" on the default setting is that some apps on default would prefer to be dark (like image viewers), while most apps use light as default.

So, I so notice that as of now, on the default setting the app uses the fallback. So, this could be improved by calling the fallback if the DBus call returns an error (like when it did not find the portal).


Add BHASA scenarios

Add the following for BHASA:

[x] Setup dependencies
[x] Run entries (few-shot and zero-shot settings)
[x] Custom metrics for machine translation (ChrF++), summarization (XL-Sum Rouge-L), and question-answering (SQuAD exact match and SQuAD F1)
[x] Run specs
[x] Scenarios (Indonesian, Tamil, Thai, Vietnamese):

[x] Natural Language Understanding: question answering, sentiment analysis, toxicity detection/classification
[x] Natural Language Generation: machine translation, abstractive summarization
[x] Natural Language Reasoning: natural language inference, causal reasoning

[x] Presentation schemas

Moved to a different PR:

[x] Linguistic Diagnostics: syntax minimal pairs, pragmatic reasoning

LINDEA scenarios have been moved to here.

Should I review this now or should we try to merge #2694 first?

Let's review this first as #2694 requires further discussion on how to handle the aggregation of scores across categories!

Hi @yifanmai, addressing your comments from the other PR here:

https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629814407: Replaced the name with chr_f_plus_plus
https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629824027: Removed the overriding for evaluate() as it is not called.
https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629827362: Moved these to a bhasa_metrics_specs.py file.
https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629837809: Added a comment explaining that we maintain the SQuAD v1.1 behavior.
https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629842931: Removed this line to cast the type.
https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629843448: Corrected the type declaration.
https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629847299: Moved this line after the if statement.
Increased the sample size for the test sets (https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629851764, https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629852427, etc.)
For the comments regarding XLSum (https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629820793, https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629883482, etc.), we've decided to remove those from the PR for now.
Removed the generator functions for some scenarios (https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629868843, https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629873389, etc.)
Replaced the F1 metric specs with exact match and classification metric specs (https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629872062, https://github.com/stanford-crfm/helm/pull/2694#discussion_r1629872981, etc.)

Looks good, thanks! Could you also run the linter on this?
pip install -e '.[dev]'
./pre-commit.sh

Looks good, thanks! Could you also run the linter on this?
pip install -e '.[dev]'
./pre-commit.sh

Linter has been run, files have been reformatted.
Test files have been removed.
Sampling for TyDiQA test set has been removed.
remove_braces function from chrF++ has been removed.

@yifanmai there's a peculiar issue I'm running into when executing pre-commit.sh.
There are some lines in our code that are >120 characters, in particular some instructions that are in Tamil ("உங்களுக்கு ஒரு பத்தியும் ஒரு கேள்வியும் தரப்படும். தரப்பட்ட பத்தியிலிருந்து கேள்விக்கான பதிலைக் கண்டறியவும்.") and Thai ("อารมณ์ความรู้สึกของข้อความต่อไปนี้เป็นอย่างไร?\nกรุณาตอบโดยใช้คำเดียวเท่านั้น:\n- แง่บวก\n- แง่ลบ\n- เฉยๆ") found in bhasa_run_specs.py. Because they are >120 characters, I try to split them into multi-line strings. However, pre-commit.sh thinks that they are <120 characters and tries to remerge the multi-line strings into just one line, causing the failures in the Git checks.
To remedy this, I had to assign these strings to a temporary variable to ensure the whole statement is <120 characters. Please advise.

What you did looks reasonable. We have two different tools, flake8 and black. It looks like they conflict in how they measure string length (this doesn't happen often). In the future, if you run into this again, you can add   # noqa to the end of the line, which should skip the length check for that line.

Thanks for your help!


Iterating over multivectors and applying function?

Hey, me again. So, I'm writing some auxiliary functions, such as isapprox. I was wondering what is the "correct" way of iterating over a multivector. For example, it would be nice to have map(f, a::Multivector).
Based on the last answer you gave me, it's not advisable to use the vector function to turn the multivector into an iterable vector. My question is, what is the correct way of doing this? Here is my naive implementation of the isapprox function:
function Base.:≈(a::MultiVector,b::MultiVector)
    for e in propertynames(a)
        if !isapprox(getproperty(a,e),getproperty(b,e))
            return false
        end
    end
    return true
end

Now,

Your implementation is mostly correct. I would enforce a and b be from the same algebra. You can also use coefficient to extract the coefficients without reference to the properties:
function Base.:≈(a::MultiVector{CA},b::MultiVector{CA}) where {CA}
    K = order(CA)
    N = 2^K
    for n = 1:N
        if !isapprox(coeffiient(a,n), coefficient(b,n))
            return false
        end
    end
    return true
end

However, for large algebras you may want to use the sparse encoding of the multi vectors, which can be accessed using coefficients and baseindices. With this, you can check if the coefficients of a and b are approximately the same for the intersection of their respective base indices and approximately zero for the set differences.
This is clearly more complicated than the code above, but may be worth it if you need the performance.


Rename get_record_table() to camtrapR_recordTable()

Suggested in camtraptor July 2023 coding sprint
Rationale: get functions are mixed bag, now same name as in camtrapR without masking. Some parameters should be removed as well.
camtrapR_recordTable(
  package = NULL,
  # ... removed, see filter functions
  stationCol = "locationName",
  exclude = NULL,
  minDeltaTime = 0,
  deltaTimeComparedTo = NULL,
  removeDuplicateRecords = TRUE
  # datapkg removed
)

Completed by PR #331.


Annotated Spreadsheets and T2WML Integration

The following steps are how I think the integration would work.

User annotates a spreadsheet. (In future, the annotation should happen in the T2WML UI)
User creates a project in T2WML
User uploads the annotated spreadsheet to T2WML UI, in an already created project.
T2WML should:

Validate the annotated spreadsheet.
Populate the ‘Properties’
Populate the ‘Item Definitions’
Populate the ‘wikifier’
Upload the yaml file and apply it.
Files required for steps above are already being created in the t2wml-annotation repository.

Users can then tweak the yaml file to suit their requirements
Download kgtk file (edge file, exploded)
Users upload the file to Datamart.

Optional requirements:

Instead of always creating properties, we should have a service which can suggest Wikidata properties for any given column.
T2WML should annotate the spreadsheet automatically, NYU has something similar to this already.

The correct sequence of steps to get this to work is as follows,

User annotates a spreadsheet. (In future, the annotation should happen in the T2WML UI)
User creates the dataset in Datamart via datamart-api
User creates a project in T2WML
User uploads the annotated spreadsheet to T2WML UI, in an already created project.
T2WML should:
a. Validate the annotated spreadsheet.
b. Populate the ‘Properties’
c. Populate the ‘Item Definitions’
d. Populate the ‘wikifier’
e. Upload the yaml file and apply it.
Files required for steps above are already being created in the t2wml-annotation repository.
Users can then tweak the yaml file to suit their requirements
User uploads the file to Datamart using Load to Datamart button

@kyao for your reference
datamart-api branch development
t2wml branch annotation-integration
t2wml-annotation branch master

@devowit the yaml is not applied in this workflow, please take a look.
Also, Load to Datamart returns ,
{
      "datamart_get_url": <datamart url to download data for all variables>
}

This should be shown to users in T2WML GUI as a fleeting notification.

This issue is complete.


add REFUSED_STREAM retry policy

This also requires wiring up REFUSED_STREAM handling in the HTTP/2 codec.

@lyft/network-team
cc @louiscryan

👍

Nice!


TypeError: object AccessToken can't be used in 'await' expression

fsspec seems to have an option to manually enable asynchronous processing, and adlfs also has this option, set to False by default:
https://github.com/fsspec/adlfs/blob/695e8f18d13b2c1219738f833b170f53bd84049e/adlfs/spec.py#L409
However, it looks like adlfs is just ignoring this and working asynchronously anyways? I get the following error:

TypeError: object AccessToken can't be used in 'await' expression

Below is my code - I am using the synchronous version of the Interactive Login since there is no async one.
import os
import pandas as pd
from azure.identity import InteractiveBrowserCredential
from azure.storage.filedatalake import FileSystemClient

os.environ["http_proxy"] = "http://localhost:3128"
os.environ["https_proxy"] = "http://localhost:3128"

credential = InteractiveBrowserCredential()
credential.authenticate()

storage_name = "<my_storage_name>"
container = "<my_container_name>"
url = f"https://{storage_name}.dfs.core.windows.net/"
fs_client = FileSystemClient(account_url= url,
                             credential=credential,
                             file_system_name=container)
fs_client.exists()

from adlfs import AzureBlobFileSystem
fs = AzureBlobFileSystem(credential=credential, account_name=storage_name)
fs.listdir(f'abfs://{container}/*')

It looks like a synchronous version is currently not implemented? Or is the flag just ignored accidentally? Is there a fix I can do, or do I need to write a PR?

Thankyou for posting this issue, I have encountered this error via pandas;
To reproduce the error
using python 3.9
pip install fsspec[abfs] pandas azure-identity

import pandas as pd
from azure.identity import InteractiveBrowserCredential

pd.read_csv(
<EMAIL_ADDRESS>    storage_options={
        "account_name" : ACCOUNT_NAME,
        "credential"   : InteractiveBrowserCredential(),
    }
)

The browser process is triggered, python awaits the result, then it the error message ending in:
...
File ...\Miniconda39\lib\site-packages\pyarrow\fs.py:233, in FSSpecHandler.get_file_info(self, paths)
    231 for path in paths:
    232     try:
--> 233         info = self.fs.info(path)
    234     except FileNotFoundError:
    235         infos.append(FileInfo(path, FileType.NotFound))

File ...\Miniconda39\lib\site-packages\adlfs\spec.py:715, in AzureBlobFileSystem.info(self, path, refresh, **kwargs)
    713     fetch_from_azure = True
    714 if fetch_from_azure:
--> 715     return sync(
    716         self.loop,
    717         self._info,
    718         path,
    719         refresh,
    720         version_id=kwargs.get("version_id"),
    721     )
    722 return super().info(path)

File ...\Miniconda39\lib\site-packages\fsspec\asyn.py:65, in sync(loop, func, timeout, *args, **kwargs)
     63     raise FSTimeoutError from return_result
     64 elif isinstance(return_result, BaseException):
---> 65     raise return_result
     66 else:
     67     return return_result

File ...\Miniconda39\lib\site-packages\fsspec\asyn.py:25, in _runner(event, coro, result, timeout)
     23     coro = asyncio.wait_for(coro, timeout=timeout)
     24 try:
---> 25     result[0] = await coro
     26 except Exception as ex:
     27     result[0] = ex

File ...\Miniconda39\lib\site-packages\adlfs\spec.py:746, in AzureBlobFileSystem._info(self, path, refresh, **kwargs)
    743 version_id = _coalesce_version_id(path_version_id, kwargs.get("version_id"))
    744 kwargs["version_id"] = version_id
--> 746 out = await self._ls(
    747     self._parent(fullpath), invalidate_cache=invalidate_cache, **kwargs
    748 )
    749 out = [
    750     o
    751     for o in out
    752     if o["name"].rstrip("/") == fullpath
    753     and (version_id is None or o["version_id"] == version_id)
    754 ]
    755 if out:

File ...\Miniconda39\lib\site-packages\adlfs\spec.py:961, in AzureBlobFileSystem._ls(self, path, invalidate_cache, delimiter, return_glob, version_id, **kwargs)
    959 outblobs = []
    960 try:
--> 961     async for next_blob in blobs:
    962         if depth in [0, 1] and path == "":
    963             outblobs.append(next_blob)

File ...\Miniconda39\lib\site-packages\azure\core\async_paging.py:154, in AsyncItemPaged.__anext__(self)
    152 if self._page_iterator is None:
    153     self._page_iterator = self.by_page()
--> 154     return await self.__anext__()
    155 if self._page is None:
    156     # Let it raise StopAsyncIteration
    157     self._page = await self._page_iterator.__anext__()

File ...\Miniconda39\lib\site-packages\azure\core\async_paging.py:157, in AsyncItemPaged.__anext__(self)
    154     return await self.__anext__()
    155 if self._page is None:
    156     # Let it raise StopAsyncIteration
--> 157     self._page = await self._page_iterator.__anext__()
    158     return await self.__anext__()
    159 try:

File ...\Miniconda39\lib\site-packages\azure\core\async_paging.py:99, in AsyncPageIterator.__anext__(self)
     97     raise StopAsyncIteration("End of paging")
     98 try:
---> 99     self._response = await self._get_next(self.continuation_token)
    100 except AzureError as error:
    101     if not error.continuation_token:

File ...\Miniconda39\lib\site-packages\azure\storage\blob\aio\_list_blobs_helper.py:75, in BlobPropertiesPaged._get_next_cb(self, continuation_token)
     73 async def _get_next_cb(self, continuation_token):
     74     try:
---> 75         return await self._command(
     76             prefix=self.prefix,
     77             marker=continuation_token or None,
     78             maxresults=self.results_per_page,
     79             cls=return_context_and_deserialized,
     80             use_location=self.location_mode)
     81     except HttpResponseError as error:
     82         process_storage_error(error)

File ...\Miniconda39\lib\site-packages\azure\core\tracing\decorator_async.py:79, in distributed_trace_async.<locals>.decorator.<locals>.wrapper_use_tracer(*args, **kwargs)
     77 span_impl_type = settings.tracing_implementation()
     78 if span_impl_type is None:
---> 79     return await func(*args, **kwargs)
     81 # Merge span is parameter is set, but only if no explicit parent are passed
     82 if merge_span and not passed_in_parent:

File ...\Miniconda39\lib\site-packages\azure\storage\blob\_generated\aio\operations\_container_operations.py:1791, in ContainerOperations.list_blob_hierarchy_segment(self, delimiter, prefix, marker, maxresults, include, timeout, request_id_parameter, **kwargs)
   1788 request = _convert_request(request)
   1789 request.url = self._client.format_url(request.url)  # type: ignore
-> 1791 pipeline_response = await self._client._pipeline.run(  # type: ignore # pylint: disable=protected-access
   1792     request,
   1793     stream=False,
   1794     **kwargs
   1795 )
   1796 response = pipeline_response.http_response
   1798 if response.status_code not in [200]:

File ...\Miniconda39\lib\site-packages\azure\core\pipeline\_base_async.py:215, in AsyncPipeline.run(self, request, **kwargs)
    209 pipeline_request = PipelineRequest(request, context)
    210 first_node = (
    211     self._impl_policies[0]
    212     if self._impl_policies
    213     else _AsyncTransportRunner(self._transport)
    214 )
--> 215 return await first_node.send(pipeline_request)

File ...\Miniconda39\lib\site-packages\azure\core\pipeline\_base_async.py:83, in _SansIOAsyncHTTPPolicyRunner.send(self, request)
     81 await _await_result(self._policy.on_request, request)
     82 try:
---> 83     response = await self.next.send(request)  # type: ignore
     84 except Exception:  # pylint: disable=broad-except
     85     if not await _await_result(self._policy.on_exception, request):

File ...\Miniconda39\lib\site-packages\azure\core\pipeline\_base_async.py:83, in _SansIOAsyncHTTPPolicyRunner.send(self, request)
     81 await _await_result(self._policy.on_request, request)
     82 try:
---> 83     response = await self.next.send(request)  # type: ignore
     84 except Exception:  # pylint: disable=broad-except
     85     if not await _await_result(self._policy.on_exception, request):

    [... skipping similar frames: _SansIOAsyncHTTPPolicyRunner.send at line 83 (3 times)]

File ...\Miniconda39\lib\site-packages\azure\core\pipeline\_base_async.py:83, in _SansIOAsyncHTTPPolicyRunner.send(self, request)
     81 await _await_result(self._policy.on_request, request)
     82 try:
---> 83     response = await self.next.send(request)  # type: ignore
     84 except Exception:  # pylint: disable=broad-except
     85     if not await _await_result(self._policy.on_exception, request):

File ...\Miniconda39\lib\site-packages\azure\core\pipeline\policies\_authentication_async.py:73, in AsyncBearerTokenCredentialPolicy.send(self, request)
     67 async def send(self, request: "PipelineRequest") -> "PipelineResponse":
     68     """Authorize request with a bearer token and send it to the next policy
     69
     70     :param request: The pipeline request object
     71     :type request: ~azure.core.pipeline.PipelineRequest
     72     """
---> 73     await await_result(self.on_request, request)
     74     try:
     75         response = await self.next.send(request)

File ...\Miniconda39\lib\site-packages\azure\core\pipeline\_tools_async.py:36, in await_result(func, *args, **kwargs)
     33 result = func(*args, **kwargs)
     34 if hasattr(result, "__await__"):
     35     # type ignore on await: https://github.com/python/mypy/issues/7587
---> 36     return await result  # type: ignore
     37 return result

File ...\Miniconda39\lib\site-packages\azure\core\pipeline\policies\_authentication_async.py:51, in AsyncBearerTokenCredentialPolicy.on_request(self, request)
     48     async with self._lock:
     49         # double check because another coroutine may have acquired a token while we waited to acquire the lock
     50         if self._token is None or self._need_new_token():
---> 51             self._token = await self._credential.get_token(*self._scopes)
     52 request.http_request.headers["Authorization"] = "Bearer " + self._token.token

TypeError: object AccessToken can't be used in 'await' expression

Undesirable work-around
The following example with "anon":False DOES work. But it is not ok, because it will internally trigger DefaultAzureCredential(); this will try several authentication methods, but by default it will not trigger InteractiveBrowserCredential() or DeviceCodeCredential() which are the methods I want to use.
import pandas as pd

pd.read_csv(
<EMAIL_ADDRESS>    storage_options={
        "account_name" : ACCOUNT_NAME,
        "anon"         : False
    }
)

I am also looking for a work around for InteractiveBrowserCredential(). Perhaps it can be wrapped in an async function or something???

I had the same issue. I fixed it by passing the DefaultAzureCredential parameters directly to the filesystem constructor:
storage_options = {
        "account_name": account_name,
        "anon": False,
        **default_azure_credential_parameters
    }
filesystem = fsspec.filesystem("abfs", **storage_options)

This works because all named parameters are forwarded to DefaultAzureCredential


chore: release master

:robot: I have created a release beep boop
ton-grpc: 0.9.6
Dependencies

tonlibjson-client: 0.16.3
0.16.3 (2024-02-27)
Bug Fixes

deps: bump syn from 2.0.49 to 2.0.51 (d8badbe)

tonlibjson-sys: 0.1.13
0.1.13 (2024-02-27)
Bug Fixes

deps: bump tonlibjson-sys/ton from 73621f6 to 692211f (0c17b1c)
deps: bump tonlibjson-sys/ton-testnet from 71c6506 to 310dd6d (968b14b)

tvm-grpc: 0.4.9
Dependencies

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/getgems-io/ton-grpc/releases/tag/tvm-grpc-v0.4.9 :sunflower:

:robot: Release is at https://github.com/getgems-io/ton-grpc/releases/tag/ton-grpc-v0.9.6 :sunflower:

:robot: Release is at https://github.com/getgems-io/ton-grpc/releases/tag/tonlibjson-sys-v0.1.13 :sunflower:

:robot: Release is at https://github.com/getgems-io/ton-grpc/releases/tag/tonlibjson-client-v0.16.3 :sunflower:


test: use VaadinWebSecurity instead of deprecated VaadinWebSecurityConfigurerAdapter

Description
This PR refactors some of the integration tests to get them extended from VaadinWebSecurity which is officially advised for use instead of the deprecated VaadinWebSecurityConfigurerAdapter class.
This change is required for #599 to prevent a circular reference that otherwise emerges when using Spring Security 6.

Warning
I think this PR should be merged into master only when it points to the next 2.0 major, so I'll keep the PR in draft mode until then.

Part of https://github.com/vaadin/flow/issues/14785
Type of change

[x] Internal

Checklist

[x] I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
[x] I have added a description following the guideline.
[x] The issue is created in the corresponding repository and I have referenced it.
[x] I have added tests to ensure my change is effective and works as intended.
[x] New and existing tests are passing locally with my change.
[x] I have performed self-review and corrected misspellings.

 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.

The documentation must be also updated accordingly as it currently advises using the old approach:
https://hilla.dev/docs/tutorials/in-depth-course/login-and-authentication


Scala 2.12 support

Hello Team,
We are using spark 2.4.4 with scala 2.12.
Previously in our tech stack we used zalando package version 0.6.1 with scala 2.11.
Now while we upgrade , we would like to know if you guys are releasing scala 2.12 package.
We are eagerly waiting for this and if it takes time would like to know any alternatives specially in pyspark

Hi, sorry for no reaction in a long time. Version 0.6.2 has been published using scala 2.12.


Occasional login errors

Seeing the following every other attempt to send a message using Home-Assistant:
16-05-26 11:14:28 homeassistant.core: Bus:Handling <Event call_service[L]: domain=notify, service=googlevoice, service_call_id=140087954985872-230, service_data=message=test, target=[mycellnumber]>
  File "$PATH/lib/python3.5/site-packages/homeassistant/components/notify/googlevoice.py", line 54, in send_message
  File $PATH/lib/python3.5/site-packages/googlevoicesms/voice.py", line 70, in login
  File "$PATH/lib/python3.5/site-packages/googlevoicesms/voice.py", line 127, in __do_page
16-05-26 11:14:38 homeassistant.components.http: "POST /api/services/notify/googlevoice HTTP/1.1" 200 -

So you are saying every other attempt works? I haven't run into this issue.


Fixing gulp build issues with css

This should fix the issues with gulp build on a fresh repo.

Thanks! That should have been obvious :) Committed in https://github.com/KyleAMathews/coffee-react-quickstart/commit/0b28a5b06ec3a7db7d7f42d073b552ca1c1846eb


Re-Validating Awesome bootstrap Checkbox using FormValidatio.IO

How to revalidate Awesome Bootstrap Checkbox using Formvalidation.IO ..Revalidate is not Working ...
How to fire revalidate event in Formvalidatio.IO for Awesome Bootstrap Checkbox.
Can Anyone Help me??

Hi, @rajukt! Sorry, but we don't have free time for resolving your issue.


support MYSQL_TYPE_JSON

Hi, can you add a test or post the result of your manually test?

Hi, can you add a test or post the result of your manually test?

this is my old issue
https://github.com/go-mysql-org/go-mysql/issues/395


update to<EMAIL_ADDRESS>new API

This updates the plugin against the new API in 0.7.0.
Let me know if you have any questions / comments.
Regards

@bucaran eslint, tap-spec and tape are not in devdependencies but dependencies. Is it right?

Wait, my bad.

:sweat_smile: It's fixed now.

Thanks :+1:


Fix incorrect definition and usage of REUSABLE_TYPE_PARAMETERS_HANDLESCOPE

The macro REUSABLE_TYPE_PARAMETERS_HANDLESCOPE was incorrectly defined as ReusableTypeArgumentsHandleScope. It has been renamed to the correct ReusableTypeParametersHandleScope.

In the place where the macro REUSABLE_TYPE_PARAMETERS_HANDLESCOPE should have been used, the incorrect macro REUSABLE_TYPE_ARGUMENTS_HANDLESCOPE was used instead. It has been updated to use the correct one.

[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.

Note that this repository uses Gerrit for code reviews. Your pull request will be automatically converted into a Gerrit CL and a link to the CL written into this PR. The review will happen on Gerrit but you can also push additional commits to this PR to update the code review.

Thanks!


IGAPP-910: Linting

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

Now even more linting warnings... For me having this amount of warnings makes them completely useless, as if my changes will add a few warning, i wouldn't even recognize as they get lost in the shuffle. Any ideas how to deal with this?

I only run yarn lint --quiet all the time. Which warnings are new? I thought I did not add any additional warning rules :thinking:

Now even more linting warnings... For me having this amount of warnings makes them completely useless, as if my changes will add a few warning, i wouldn't even recognize as they get lost in the shuffle. Any ideas how to deal with this?

I only run yarn lint --quiet all the time. Which warnings are new? I thought I did not add any additional warning rules thinking

So also ignoring warnings^^
I don't know, but previously it was ~70 warnings now it is ~100 warnings

So also ignoring warnings^^ I don't know, but previously it was ~70 warnings now it is ~100 warnings

Created https://issues.tuerantuer.org/browse/IGAPP-912. Hmm only kind of. When I run linting for all files, I ignore them. When I see warnings in the code/files I am working on I try to fix them (which is not always possible, e.g. for non-null assertions). So I think it is not that bad and the issue should be discussed.


Picking between ts-mockito forks

Hi, I'm looking for a ts-mockito fork that will be maintained long-term. Someone mentioned your fork on this thread:
https://github.com/NagRock/ts-mockito/issues/212
The thread concluded with creating a new community-maintained fork:
https://github.com/TypeStrong/ts-mockito
Do you plan to keep maintaining this or would you merge with the TypeStrong repo? Asking because both repos are actively being maintained and it would be clearer to have one repo for this project, preferably maintained by a community instead of an individual.
Also as an aside: so far the original project and the TypeStrong fork are at v2 whereas this fork is currently at v1. Do you plan to update this to keep up with v2?

Hi @mebble
The plan is to add all features of this repository to the TypeStrong repository.
Until I find time to do so, I will maintain this repository.

Thanks, @johanblumenberg


Fixes reload on publish

Certain actions do not reload the page when using the pagetree. This adds the last else fallback.

:+1:


Added an OpenShift template for deploying broker & etcd

This adds an OpenShift template which shows how to parameterize options.
The run_template.sh is an example of how to deploy the template with parameters.
Currently this is for information purposes.
Next step will be to update catasb to begin using this file opposed to the "all in one" yaml we have in the project root.

Our plan is to merge this in now then add in a few other changes for ConfigMaps that Dylan has put together, as well as incorporate the persistent etcd work Fabian put in.
For next day or so this will be a parallel path with ansible-service-broker-all.yaml
Once we are happy with the template we will move catasb to using it and can remove ansible-service-broker-all.yaml

ACK


Using install.sh fails on Ubuntu 20.04

Installation of code-server via install.sh fails on Ubuntu 20.04 docker images. But the same approach worked a few days ago.
OS/Web Information

Remote OS: Ubuntu 20.04 (Docker version, including official base image but also e.g., jupyter/datascience-notebook:2021-12-15)
Remote Architecture: amd64

Steps to Reproduce

Install Docker
Run docker run --rm -ti -u root jupyter/datascience-notebook:2021-12-15 bash
Within container, execute: curl -fsSL https://code-server.dev/install.sh | sh

As the jupyter image has curl preinstalled, I use it to skip curl installation, but I could reproduce the same behavior with docker run --rm -ti ubuntu and the additional steps to install curl.
Expected
Code-server should get installed.
Actual
Installation fails and I get the following output:
Ubuntu 20.04.3 LTS
Installing vhttps://github.com/coder/code-server/releases/tag/v3.12.0 of the amd64 deb package from GitHub.

+ mkdir -p ~/.cache//code-server
+ curl -#fL -o ~/.cache//code-server/code-server_https://github.com/coder/code-server/releases/tag/v3.12.0_amd64.deb.incomplete -C - https://github.com/cdr/code-server/releases/download/vhttps://github.com/coder/code-server/releases/tag/v3.12.0/code-server_https://github.com/coder/code-server/releases/tag/v3.12.0_amd64.deb
######################################################################## 100.0%curl: (22) The requested URL returned error: 404

Same issue in my case. Worked until yesterday.

We're moving to our new organization, @coder.
I overlooked a few changes that needed to be made before that'd work, so I moved the repo back to @cdr.


Carousel Cards too small

The Card height seems to be too small, will push a PR with a quick fix.

I suggest to increase the space little bit between cards.

I suggest to increase the space little bit between cards.


Custom error message for StorageNoopGuard

There should be a constructor like from_error_message and/or a setter for a custom error message on the StorageNoopGuard.
Also we should add a new() function which does the same as default() - seems to be a pattern in Rust.

@daredevil3435 if you are still looking for an easy issue; this here for example.

@daredevil3435 if you are still looking for an easy issue; this here for example.

Yup. I'll look into this. If any question can I ask?

Yes, sure!


traefik proxy 2.9 => 3.0 ClientIP()

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
Hello,
it's more of a question than a problem.
Tested my configuration for Traefik 2.9 with Beta 3.0.
Everything works without any change except the ClientIP() in the router rules.
Previously you could specify a list of IPs in ClientIP(). Only a single IP address works with 3.0.
After I changed the router rule
ClientIP(`ip1`,ìp2`) => (ClientIP(`a`) || ClientIP(`b`)) everything works again.
Is this correct for 3.0 that only one argument for ClientIP() is possible?
Regards, Henry
What did you see instead?
only a question
What version of Traefik are you using?
Version:      3.0.0-beta2
What is your environment & configuration?
  - "traefik.http.routers.traefik.rule=Host(`traefik.mydomain`) && ClientIP(`a,`b`)"

change to
  - "traefik.http.routers.traefik.rule=Host(`traefik.mydomain`) && (ClientIP(`a) || ClientIP(`b`))"

If applicable, please paste the log output in DEBUG level
No response

Hello,
yes, in v3.0, all the matchers take only one parameter.
Basically, the previous matchers don't follow the same rule (AND/OR) with multiple parameters, and it was confusing.
So your change is right.


Why do you assume 4 tuples per TOAST page?

Where do you get that logic from?  Trying to understand the calculations ...

Per documentation, TAOSTed values are sliced into rows with maximum size of TOAST_MAX_CHUNK_SIZE, which is about 2kB. See http://www.postgresql.org/docs/current/static/storage-toast.html :

Out-of-line values are divided (after compression if used) into chunks of at most TOAST_MAX_CHUNK_SIZE bytes (by default this value is chosen so that four chunk rows will fit on a page, making it about 2000 bytes). Each chunk is stored as a separate row in the TOAST table for the owning table.

Seems like that would make for an overly generous estimate; it assumes that all rows use the max size, no?
Not that I have better figures for you ...

Seems like that would make for an overly generous estimate; it assumes that all rows use the max size, no?

Indeed. But I prefer to over-estimating the size of the bloat.

Not that I have better figures for you ...

Having a finer estimation of the toast bloat is complex. I didn't dig very far, but I see at least 4 big issues with bloat estimation for toast:

what fields will be moved out-of-line ?
when fields will be compressed ?
what fields will be compressed ?
compressed data size is hard to estimate...

I have no time presently to work on this issues. We have pushed some optimizations in check_pga (https://github.com/OPMDG/check_pgactivity/commit/be9bacdba42a071689455981e022355849af0861)  related to table bloat estimation I hadn't time to backport here...
Any help, research or discussion from outside is welcome.
In the meantime, it would be interesting to document the different situations where these bloat estimation queries are totally wrong because of this.

I couldn't come up withanything better, so I just used your math.


WebUSB setup not perfectly automatically

Related to this:
https://stackoverflow.com/questions/55178243/webusb-how-to-call-navigator-usb-requestdevice-if-navigator-usb-getdevices
and this:
https://scratch.mit.edu/discuss/topic/343940/

Solved ... not perfectly but good enough ...


Submission form

Added Form block and Excel backend content to deal with authoring, submitting and saving multiple entries of the form in this excel file. Also includes a slack integration whenever someone submits a form.
Test URLs (update as needed):

Before: https://main--aem-rockstar-website--amol-anand.hlx.page/en/submissionform
After: https://submission-form--aem-rockstar-website--amol-anand.hlx.page/en/submissionform

cc: @shsteimer

cc: @shsteimer

@amol-anand why are there changes to package-lock.json, but not to package.json? that seems a bit odd, maybe you have a different version of nom that me or something like that?


Refactor how Computed values are calculated.

Pull Request
Issue
#40
Description
The previous implementation had computed calculations happening in several places, that was quite bad(tm).
Making the calculation of 'Computed' values it's own step after values are calculated making things easier to test.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.

I like this approach a lot!


Do not reload the page when server disconnected.

Is your feature request related to a problem? Please describe.
I have noticed that with the Vite setup, if I stop my local dev server the page will often go blank and whatever was there before will be lost. This is often a small inconvenience but sometimes I had something of value on there that I wanted to keep looking at for reference.
Describe the solution you'd like
Is there any way to just leave the page as-is when the dev server is disconnected

Hmm, it has never happened to me. Need an actual reproduction.

This is an issue for me. When I change a server file and nodemon restarts, the socket close listener forcibly reloads the page.
I might be missing a config option, but it seems like there should be a way around this behavior, or at least a way to pass a timeout before the vite client force-refreshes the page.

Hey @weeksie, please open a new issue with a minimal reproduction against the latest version, so we can properly track this. Comments on old closed issues are probably going to get lost.


[zh] sync resource-metrics-pipeline.md

Sync with en.
content/zh-cn/docs/tasks/debug/debug-cluster/resource-metrics-pipeline.md

Preview: https://deploy-preview-38178--kubernetes-io-main-staging.netlify.app/zh-cn/docs/tasks/debug/debug-cluster/resource-metrics-pipeline/

Thanks.
/lgtm
/approve


Bump to NX 17.2.8

This updates the library to be compatible with the latest Nx version as requested in #53
Allows us to keep getting all the juicy Nx updates and performance improvements.
I've removed some of the previous logic around ESLint which should be re-added, but needs further work as the way this is done has been changed. I think the @nx/js library build executor can be used as a template for re-adding this functionality.
This would require that users update their Nx monorepo to latest version by running nx migrate latest and following the instructions - so it must be published as a new major version (e.g. 3.0.0-beta) - please let me know how you're managing the versioning 👍🏼

Thanks for the PR, @jackgraves.
A few comments:

addition of the sourceMap parameter should go into a separate PR
after running the migration we can remove the migrations.json file. It's only required if other branches in this repo need to run the migration scripts but that's not the case here
it's probably sufficient if the peer dependencies on the plugin package.json require version ^17.0.0, unless we are using some APIs that require a specific Nx version
would be good if we could fix the ESlint issue before merging these changes

Versioning is handled automatically by semantic release which computes the version based on the commit messages. In this case, there should be a breaking change tag in the commit message to indicate a breaking release (similar to the commit here).
I will check if we can fix some of the outstanding issues.


could not identify the root crate and ESP_IDF_SYS_ROOT_CRATE not specified

I'm using workspace and when I want to build one of my binary packages from workspace directory I'll face to these errors:
Compiling xxxxx v0.1.0 (/dc_fw/platforms/esp32/xxxxx)
The following warnings were emitted during compilation:

warning<EMAIL_ADDRESS>could not identify the root crate and `ESP_IDF_SYS_ROOT_CRATE` not specified.

error: failed to run custom build command for `esp-idf-sys v0.33.7`

Caused by:
  process didn't exit successfully: `/dc_fw/target/release/build/esp-idf-sys-ed2a604075017141/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=ESP_IDF_TOOLS_INSTALL_DIR
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG_DEFAULTS
  cargo:rerun-if-env-changed=MCU
  cargo:rerun-if-env-changed=ESP_IDF_SYS_ROOT_CRATE
  cargo:rerun-if-env-changed=ESP_IDF_VERSION
  cargo:rerun-if-env-changed=ESP_IDF_REPOSITORY
  cargo:rerun-if-env-changed=ESP_IDF_CMAKE_GENERATOR
  cargo:rerun-if-env-changed=IDF_PATH
  cargo:rerun-if-env-changed=EXTRA-COMPONENTS
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENTS
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENT_MANAGER
  cargo:warning=could not identify the root crate and `ESP_IDF_SYS_ROOT_CRATE` not specified

  --- stderr
  Build configuration: BuildConfig {
      esp_idf_tools_install_dir: None,
      esp_idf_sdkconfig: None,
      esp_idf_sdkconfig_defaults: None,
      mcu: None,
      native: NativeConfig {
          esp_idf_version: None,
          esp_idf_repository: None,
          esp_idf_cmake_generator: None,
          idf_path: None,
          extra_components: [],
          esp_idf_components: None,
          esp_idf_component_manager: None,
      },
      esp_idf_sys_root_crate: None,
  }
  Error: Unsupported target 'x86_64-unknown-linux-gnu'
make: *** [Makefile:5: Build_xxxxx_ESP] Error 101
make: *** [Makefile:23: cbexxxxx] Error 2

If I won't put this crate to workspace directory everything will work correctly.
I tried to add "export ESP_IDF_SYS_ROOT_CRATE=xxxxx" and getting following errors:
The following warnings were emitted during compilation:

warning<EMAIL_ADDRESS>could not read build config from manifest metadata: Matching variant not found

error: failed to run custom build command for `esp-idf-sys v0.33.7`

Caused by:
  process didn't exit successfully: `/dc_fw/target/release/build/esp-idf-sys-ed2a604075017141/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=ESP_IDF_TOOLS_INSTALL_DIR
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG_DEFAULTS
  cargo:rerun-if-env-changed=MCU
  cargo:rerun-if-env-changed=ESP_IDF_SYS_ROOT_CRATE
  cargo:rerun-if-env-changed=ESP_IDF_VERSION
  cargo:rerun-if-env-changed=ESP_IDF_REPOSITORY
  cargo:rerun-if-env-changed=ESP_IDF_CMAKE_GENERATOR
  cargo:rerun-if-env-changed=IDF_PATH
  cargo:rerun-if-env-changed=EXTRA-COMPONENTS
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENTS
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENT_MANAGER
  cargo:warning=could not read build config from manifest metadata: Matching variant not found

  --- stderr
  Build configuration: BuildConfig {
      esp_idf_tools_install_dir: Some(
          Global,
      ),
      esp_idf_sdkconfig: None,
      esp_idf_sdkconfig_defaults: Some(
          [
              "/dc_fw/platforms/esp32/xxxxx/sdkconfig.defaults",
          ],
      ),
      mcu: None,
      native: NativeConfig {
          esp_idf_version: None,
          esp_idf_repository: None,
          esp_idf_cmake_generator: None,
          idf_path: None,
          extra_components: [],
          esp_idf_components: None,
          esp_idf_component_manager: None,
      },
      esp_idf_sys_root_crate: Some(
          "xxxxx",
      ),
  }
  Error: Unsupported target 'x86_64-unknown-linux-gnu'

Where is your .cargo/config.toml? I think it must be in the workspace root, and that might be the reason why it fails for you. As in here: https://github.com/ivmarkov/ruwm/tree/master/.cargo

yes, thank you, config.toml was problem but one of them. I have multiple platforms on this repository and don't want to put esp32 files on root directory, so I have to change sdkconfig and others path too.

Where is your .cargo/config.toml? I think it must be in the workspace root, and that might be the reason why it fails for you. As in here: https://github.com/ivmarkov/ruwm/tree/master/.cargo

yes, thank you, config.toml was problem but one of them. I have multiple platforms on this repository and don't want to put esp32 files on root directory, so I have to change sdkconfig and others path too.

Can you explain how you solved this?


fix: simdpp/types/empty_expr.h: c++17 compilation fix

Compiling with gcc -std=c++17  gave an error message.

would it be possible to merge this into the dev branch and/or synchronize the dev and master branches?

also I get the same error in simdpp/types/generic.h xcode 13.2 at line:
simdpp/types/generic.h:244:52: No viable conversion from returned value of type 'mask_int32<4U>' to function return type 'uint32<4U>'
SIMDPP_INL operator uint32<N>() const { return eval(); }

there are additional errors in empty_expr.h as well. class mask_int64<N, expr_empty> has a similar issue, and the bit_cast solution also appears to resolve it.


about: Clarify various points.

The idea is to make content more understandanle to novice user, as well
as to generalize/update content based on latest project development
(support for more vendors than just HiSilicon, 2nd development branch
with Buildroot, etc.)
Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

Super !  Thanks !


Use latest @cloudant/cloudant 3.x.x release

Checklist

[x] Tick to sign-off your agreement to the Developer Certificate of Origin (DCO) 1.1
[ ] Added tests for code changes or test/build only changes
[x] Updated the change log file (CHANGES.md|CHANGELOG.md) or test/build only changes
[x] Completed the PR template below:

Description
Use latest @cloudant/cloudant 3.x.x release.

Approach
Bump dependency in package.json.
Required small patch https://github.com/cloudant/couchbackup/commit/5d50a56c5b5c023587411b5d945d04747fe65c98 to ensure the Cloudant client was returning a stream when required.

Schema & API Changes
No change.

Security and Privacy
No change.

Testing
Covered in existing test suite.

Monitoring and Logging
No change.

Added changes entry in https://github.com/cloudant/couchbackup/pull/260/commits/d93a78a90b566443f69d977eecb6f41d723dd690.


WebView messaging relies on exception

We have an issue with how our postmessage works for communicating between the webview and the extension. Currently we rely on an exception being thrown to determine the direction of the message. We should find a better way to solve this.
See: https://blog.mattbierner.com/vscode-webview-web-learnings/

This has been resolved with the update to cdn architecture: https://github.com/microsoft/vscode-edge-devtools/pull/449


No session is created in sample application

I'm using the complete webapp of the current 1.5.2.RELAESE.
I do these steps:

Start Application from Intellij
Calling http://localhost:8080 (tried firefox / chrome)
Click on here => calling http://localhost:8080/hello
Login page appears
Do login with user/password
I get an error:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
...
Could not verify the provided CSRF token because your session was not found.
When I disable csrf by .csrf().disable() I get no error, but login does not work either.

The problem is, that no session is created. I can't find any session cookie in my browser.
There is a Cookie Header in the response:
Set-Cookie:JSESSIONID=D59CD127502B46E6F4A88C4629545E65;path=/;HttpOnly
When I intercept add whitespaces, it works:
JSESSIONID=D59CD127502B46E6F4A88C4629545E65; path=/; HttpOnly

Works for me (and there is no whitespace in the set-cookie header). I have Chrome 56.0.2924.87.

When calling http://<IP_ADDRESS>:8080/ it works.
That's strange.

I also faced the same issue sometime back. After several close inspection, I could see something get cached in the browser. It will start working when the browser cache is cleared.

Check the issue #28


xiwi broken after ChromeOS 50 update

Please paste the output of the following command here: sudo edit-chroot -all

name: debian
encrypted: yes, locked
Unmounting /mnt/stateful_partition/crouton/chroots/debian...
Please describe your issue:
Using the extension with xiwi has a high delay for part of the extension window.
The chroot is almost unusable with the extension but seems to work fine with Xorg
If known, describe the steps to reproduce the issue:
Install ChromeOS from the stable channel
Install Chroot (in my case debian jessie, stretch didn't work either)
Make sure they work properly
Update to beta channel ( ChromeOS 50 )
sudo startxfce4 ( with extension and xiwi)
Open some window and try to move it around the desktop
After some testing it seems like a 'refresh'/rendering issue.
The image is broken after moving the window around but clicking on it seems to make it right.

Some additional output from crosh
Cannot open /sys/class/tty/tty0/active: No such file or directory
Connected to extension, launched crouton in a window.
Error: target STRING not available
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
xfce4-session: No gpg or ssh authentication agent found
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable

Use a second 'l' to show us your chroot details, as in: sudo edit-chroot -all
Also, xmethod 'xiwi' has no hardware acceleration so it will be slow for graphics intensive applications.
If you're not using the ARM architecture, then try using xmethod 'xorg'.

name: debian
encrypted: yes, unlocked
Entering /mnt/stateful_partition/crouton/chroots/debian...
crouton: version 1-20160206234800~master:daa872a0
release: jessie
architecture: amd64
xmethod: xiwi
targets: xiwi,xorg,xfce
host: version 7978.18.0 (Official Build) beta-channel samus
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Mar 14 16:05:52 PDT 2016 x86_64 GNU/Linux
freon: yes

If I get a chance, I'll try to install 'jessie' with xiwi and see if I can replicate it.
I don't have a 'samus' ( envy ;) but I do have a Dell CB 13 Lulu (i5).

I am experiencing this too on a chromebook pixel:
name: xiwi
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xiwi...
crouton: version 1-20160206234800~master:daa872a0
release: wily
architecture: amd64
xmethod: xorg
targets: x11,xiwi,touch,xfce
host: version 7978.18.0 (Official Build) beta-channel samus
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Mar 14 16:05:52 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/xiwi as another instance is using it.
It is only experienced in xiwi in x11 it works great.

Is there a way to run X11 inside the extension window?

No you can't. I set up X11 as well so I could get some work done whilst xiwi was playing up.

In any case I also get some errors when using xorg
[ 12058.390] (EE) Backtrace:
[ 12058.393] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x56) [0x7ff4f81cad46]
[ 12058.393] (EE) 1: /usr/bin/Xorg (0x7ff4f8014000+0x1baf29) [0x7ff4f81cef29]
[ 12058.393] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7ff4f5b04000+0x351c0) [0x7ff4f5b391c0]
[ 12058.393] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff4f1f0f000+0xd1e0a) [0x7ff4f1fe0e0a]
[ 12058.393] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff4f1f0f000+0xd256b) [0x7ff4f1fe156b]
[ 12058.393] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff4f1f0f000+0xd2c76) [0x7ff4f1fe1c76]
[ 12058.394] (EE) 6: /usr/bin/Xorg (DRI2SwapBuffers+0x1d0) [0x7ff4f819b700]
[ 12058.394] (EE) 7: /usr/bin/Xorg (0x7ff4f8014000+0x188f3c) [0x7ff4f819cf3c]
[ 12058.394] (EE) 8: /usr/bin/Xorg (0x7ff4f8014000+0x573f7) [0x7ff4f806b3f7]
[ 12058.394] (EE) 9: /usr/bin/Xorg (0x7ff4f8014000+0x5b596) [0x7ff4f806f596]
[ 12058.394] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7ff4f5b25b45]
[ 12058.394] (EE) 11: /usr/bin/Xorg (0x7ff4f8014000+0x4590e) [0x7ff4f805990e]
[ 12058.394] (EE)
[ 12058.394] (EE) Segmentation fault at address 0x18
[ 12058.394] (EE)
Fatal server error:
[ 12058.394] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 12058.394] (EE)
[ 12058.394] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 12058.394] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[ 12058.394] (EE)
[ 12058.395] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 12058.420] (EE) Server terminated with error (1). Closing log file

@AdaRoseEdwards is right, only xmethod 'xiwi' allows you to run in a tab or window.
@mangas - Update your chroot (sudo sh ~/Downloads/crouton -n debian -u ) and try again.
Also, if it's happening on other releases besides 'jessie', like 'wily', then I don't think it's release specific.
I guess it could be a 'samus' problem...
I have a 'trusty/lxde' chroot using 'xiwi'  and I'm not experienceing any problems with vers. 7978.18.0 (Official Build) beta-channel lulu.

@DennisLfromGA I installed everything fresh because I tried to revert to stable and had to powerwash so I'm running latest according to croutonversion
This is the build of ChromeOS I'm running
Version 50.0.2661.32 beta (64-bit)
Platform 7978.18.0 (Official Build) beta-channel samus
Firmware Google_Samus.6300.174.0
So far I've seen a similar behavior from the PDF reader app on chrome but it seems to re-render more often so the problem is barely noticeable.
On xiwi there is a very small portion of the screen ( Top left ) that works perfectly and the rest of it seems delayed on refreshing/ re-rendering.

@mangas - That may be the best we get out of 'xiwi' until hardware acceleration is implemented.
Sorry you had to start over, a powerwash will do that. ;-)

You can move up from 'stable --> beta --> dev' channel without a powerwash
You can not move back 'dev --> beta --> stable' channel without a powerwash *

*(without issuing the command sudo update_engine_client --channel [beta|stable] --nopowerwash)

@DennisLfromGA  Thanks, the command is definitely useful.
Are you familiar with the code involved, do you have any advice for where to look ?

@mangas,

Are you familiar with the code involved? do you have any advice for where to look ?

Not familiar with the code but for all the options, just enter: sudo update_engine_client --help

What device scale do you see when debug is enabled on the extension? For me it's showing 2

Not quite sure what you mean by that, sorry.
My chroot is up & running but when I check 'enable debugging' I get no further output.
-DennisL

Sorry I meant where to look in the crouton code. I am looking into the extension but so far no luck.
if you enable debugging and right click on the black bar and chose inspect, then go to console and search for 'scale', can you paste the line you get?
Something like:
debug:(0) 3300 InitContext 1600x1062s1 (device scale: 2, zoom level: 1)
window.js:156 debug:(2) 3302 message=resize:1600/1046

Just an update, the problem doesn't happen with an external monitor for the following resolution
debug:(0) 0 fps: 51 (34) delay: 13 deltat: 19 target fps: 30 1680x1034
@AdaRoseEdwards would you be able to test this as well ?

@mangas,
The crouton code for the 'extension' target is here: targets/extension
You can find the source code for the 'crouton integration' extension on your Chromebook here:   ~/Extensions/gcpneefbbnfalgjniomfjknbcgkbijom/2.5.1_0
-DennisL

Latest update for ChromeOS fixes the rendering problems, seems unrelated to crouton

See also #2609


Use AmazonSQSBufferedAsyncClient for sends

AmazonSQSBufferedAsyncClient attempts to group similar SendMessage and
DeleteMessage requests into batch requests. Each request will wait up to 200ms
for similar requests before being sent. Batches are immediately sent once full.
The trade-off is fewer network calls (which costs less $ since SQS cost is
proportional to API calls) at a slightly higher individual call duration.
This buffered client is only used for sending/deleting messages (not receiving)
but it's configured with no pre-fetching, meaning any receives are on-demand
(i.e. just like a unbuffered client) and don't spawn any extra background
threads for pre-fetching.

This is an optimization that had been planned since we swapped Jobsy with SQS but wasn't
picked up because we needed all hands on deck to replace Evently and weren't aware of
AmazonSQSBufferedAsyncClient (i.e. thought we'd have to build buffering ourselves).
Turns out it's pretty trivial.
By pooling sends and deletes, we'll reduce the number of outbound SQS calls and put less
strain on our proxy, which should help alleviate SQS request/response times under periods of
intense load.

[ ] Buffered behavior behind feature flag

@chris-ryan-square I had a task to prevent this from being merged until I landed feature flag gated behavior. Can we go ahead and revert this merge? I'll reopen the PR.


[feat] make tauri icon support SVGs

Describe the problem
the tauri icon cli currently uses rasterized images and downscales them.
Describe the solution you'd like
Using an SVG would be nice, it can be converted to any resolution!
Alternatives considered
No response
Additional context
No response

I've implemented SVG support for the icon tool in the CLI, here is the PR
https://github.com/tauri-apps/tauri/pull/6444

Hey, I would like to work on this issue.
Correct me if I'm wrong, so basically I've got to change the tauri icon in the cli?


Roadmap

It looks like some activity is taking place, welcome back!
Do you have a roadmap of what you want to accomplish on this round of changes?
I'd be willing to lend a helping hand if you have a checklist of things.

Basically rewrite it in a typed language and then have the output format more static, so the output is stable and reliable and can also be converted back easier.
But it is a bigger project I don't really have the time for so I just merged the low-hanging fruit and the most requested features.


updates README

adds image in chapter Optimistic Concurreny Control
fixes a typo
changed 'backend instances' to 'instances of this application'
adds warning admonition box to a potential risk

Hi @tjuerge
Thanks a lot for fixing and improving the README.
Merging the PR.


Label

In this pull request:

Create a Book class in a separate .rb file.
Create a Label class with an association to the Item class (in a separate .rb file).
All Book class properties visible in the diagram should be defined and set up in the constructor method.
All Label class properties visible in the diagram should be defined and set up in the constructor method.
Implement methods:

add_item method in the Label class

should take an instance of the Item class as an input
should add the input item to the collection of items
should add self as a property of the item object (by using the correct setter from the item object)

can_be_archived?() in the Book class

should override the method from the parent class
should return true if parent's method returns true OR if cover_state equals to "bad"
otherwise, it should return false

Add unit tests for all implemented methods.
Item issues fixed

I think we should discuss the item.rb together and decide how it should look.


[Improvement][Alert] HTTP Related Alert plugin add retry logic

close #14971

Codecov Report

Merging #14972 (1c83f94) into dev (8cb765b) will decrease coverage by 0.01%.
The diff coverage is 30.00%.

:exclamation: Current head 1c83f94 differs from pull request most recent head 5ceda6e. Consider uploading reports for the commit 5ceda6e to get more accurate results

@@             Coverage Diff              @@
##                dev   #14972      +/-   ##
============================================
- Coverage     38.88%   38.88%   -0.01%
  Complexity     4603     4603
============================================
  Files          1235     1235
  Lines         43411    43387      -24
  Branches       4803     4790      -13
============================================
- Hits          16880    16870      -10
+ Misses        24662    24644      -18
- Partials       1869     1873       +4

Files
Coverage Δ

...eduler/plugin/alert/pagerduty/PagerDutySender.java
60.65% <30.00%> (-5.42%)
:arrow_down:

...uler/plugin/alert/webexteams/WebexTeamsSender.java
71.42% <30.00%> (-4.97%)
:arrow_down:

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

PTAL @Gallardot

@SbloodyS PTAL

PTAL @Gallardot @fuchanghai

PTAL @SbloodyS @caishunfeng

@Radeity


Pre-processing virtual site notebook failing

https://github.com/openforcefield/openff-docs/actions/runs/10755472185
Snippet of log is below. I'm not seeing these failures in my own nightly CI, so perhaps something is configured differently here? (https://github.com/openforcefield/openff-docs/issues/53 ?)
--------------------------------------------------------------------------------
openforcefield/openff-toolkit/virtual_sites/vsite_showcase.ipynb failed. Traceback:

Traceback (most recent call last):
  File "/home/runner/work/openff-docs/openff-docs/source/_ext/proc_examples.py", line 218, in execute_notebook
    executor.preprocess(nb, {"metadata": {"path": src.parent}})
  File "/home/runner/micromamba/envs/openff-docs-examples/lib/python3.10/site-packages/nbconvert/preprocessors/execute.py", line 103, in preprocess
    self.preprocess_cell(cell, resources, index)
  File "/home/runner/micromamba/envs/openff-docs-examples/lib/python3.10/site-packages/nbconvert/preprocessors/execute.py", line 124, in preprocess_cell
    cell = self.execute_cell(cell, index, store_history=True)
  File "/home/runner/micromamba/envs/openff-docs-examples/lib/python3.10/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped
    return loop.run_until_complete(inner)
  File "/home/runner/micromamba/envs/openff-docs-examples/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/runner/micromamba/envs/openff-docs-examples/lib/python3.10/site-packages/nbclient/client.py", line [100](https://github.com/openforcefield/openff-docs/actions/runs/10755472185/job/29827200581#step:7:101)5, in async_execute_cell
    exec_reply = await self.task_poll_for_reply
  File "/home/runner/micromamba/envs/openff-docs-examples/lib/python3.10/site-packages/nbclient/client.py", line 806, in _async_poll_for_reply
    error_on_timeout_execute_reply = await self._async_handle_timeout(timeout, cell)
  File "/home/runner/micromamba/envs/openff-docs-examples/lib/python3.10/site-packages/nbclient/client.py", line 856, in _async_handle_timeout
    raise CellTimeoutError.error_from_timeout_and_cell(
nbclient.exceptions.CellTimeoutError: A cell timed out while it was being executed, after 1200 seconds.
The message was: Cell execution timed out.
Here is a preview of the cell contents:
-------------------
interchange = force_field.create_interchange(topology=molecule.to_topology())

assert "VirtualSites" in interchange.collections.keys()

n_virtual_sites = len(interchange.collections["VirtualSites"].key_map)

print(f"There are {n_virtual_sites} virtual particles in this topology.")
-------------------

The following 1/29 notebooks failed:
     openforcefield/openff-toolkit/virtual_sites/vsite_showcase.ipynb
For tracebacks, see above.
Writing log to /home/runner/work/openff-docs/openff-docs/notebooks_log.json
Error: Process completed with exit code 1.

P.S. I'm still getting daily email about these runs - could updating the notification flow be looked into? I'm not the best person to figure out if these failures are genuine or if there's a change in the config, automation, etc.

That seems like an okay band-aid; if the cause is something as silly as getting worse hardware, it would reduce this noise. But if there was a regression introduced in a new release that legitimately makes some common process goofily slow, it would go undetected.
If a few extra CPU cores would be helpful, what about running on better hardware? Either provided (reliable and expensive) by GitHub or by our new tools that hook into AWS?


Feature/3506: Improve Type Conversion errors, use rich to prettify error messages

TL;DR
This PR makes input/output type conversion error messages a lot more useful by providing more context to the user.
Type

[ ] Bug Fix
[X] Feature
[ ] Plugin

Are all requirements met?

[X] Code completed
[X] Smoke tested
[X] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
This PR makes input/output type conversion error messages a lot more actionable by:

providing context on what workflow and task was executing when the error was raised
providing context on the input name / output name and positional index that raised the error
modifying the string representation of flyte literal types to be more explicit
pretty-printing errors using rich

Appearance Changes
Given the following script:
import random
from flytekit import task, workflow

@task
def add_rand(n: int) -> float:
    return float(n + random.randint(-1000, 1000))

@task
def bad_types(a: int) -> float:
    return str(a)

@workflow
def wf(a: int):
    bad_types(a=add_rand(n=a))

@workflow
def wf_bad_output(a: int) -> int:
    return good_types(a=add_rand(n=a))

Running wf(a=1) (incorrect type in intermediate task)
Before:

After:

Running wf(a=1.0) (incorrect input type to workflow)
Before:

After:

Running wf_bad_output(a=1) (incorrect workflow output)
Before:

After:

Running bad_types(a=1) (incorrect task output)
Before:

After:

Running bad_types(a=1) (incorrect task output)
Before:

After:

Running bad_types(a=str(1)) (incorrect task input)
Before:

After:

Tracking Issue
https://github.com/flyteorg/flyte/issues/3506
Follow-up issue
NA

do we set the env var to be non-json in pyflyte run/register?

Planning on doing that in another PR


Update examples to better represent actual query instead of initial query

Examples page shows the initial query that was supplied to the QueryBuilder, instead of showing the query that the QB actually uses.
These things are different sometimes, since we're generating IDs in case the given query doesn't contain them.
Showing the query in the current way is misleading.

This was fixed in this PR - closing.