MAIN-B-21509

Create ports and port_location tables
Make go models for port and port_location
Add migrations to the migration_manifest
Agility ticket
Summary
Is there anything you would like reviewers to give additional scrutiny?
this article explains more about the approach used.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Access the
Login as a

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots

Test coverage on server failed.
Last run: Mon 28 Oct 2024 06:56:41 PM UTC
Refer to this report to see coverage details for the server app.
Documentation for test coverage can be found at this link.

Test coverage on client failed.
Last run: Mon 04 Nov 2024 10:58:59 PM UTC
Refer to this report to see coverage details for the client app.
Documentation for test coverage can be found at this link.

Test coverage on server failed.
Last run: Tue 05 Nov 2024 09:53:33 PM UTC
Refer to this report to see coverage details for the server app.
Documentation for test coverage can be found at this link.

https://github.com/transcom/mymove/pull/14255/files Here's another PR that includes some of these changes that went into INT

Good catch! I updated the description

What's this PR waiting on??

What's this PR waiting on??

It should be good to go. @brianmanley-caci was gonna merge it was clear to merge into main

merged


Oregon changes 4/2

Per Gov Brown's press conference, Oregon is moving to 1B Group 7 immediately

Updated essential worker to be frontline worker + household
Updated medical condition list to be updated CDC list and 16+
Added multigenerational household qualifier

[{"key":"global","type":"customStrings","value":{"content":{"c19.eligibility.question/essential_worker.are_you_classified":{"en-us":"Are you classified as a frontline worker or are you age 16+ and live in the same household as someone classified as a frontline worker?"}}}},{"key":"oregon","type":"vaccination","value":{"content":{"activePhase":"1b_group_7","phases":[{"id":"1a","qualifications":[{"question":"c19.eligibility.question/healthcare_worker"},{"question":"c19.eligibility.question/long_term_care_resident"}]},{"id":"1b","qualifications":[{"question":"c19.eligibility.question/healthcare_worker","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf","moreInfoText":"c19.eligibility.moreinfo/healthcare_worker.or.1b"},{"question":"c19.eligibility.question/long_term_care_resident.are","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/essential_worker.are_you","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf","moreInfoText":"c19.eligibility.moreinfo/essential_worker.are_you.or.1b"},{"question":"c19.eligibility.question/age.65_up","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/congregate.do","moreInfoText":"c19.eligibility.moreinfo/congregate.do.or.1b","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/essential_worker","moreInfoText":"c19.eligibility.moreinfo/essential_worker.or.1b","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"}],"label":"1b group 5"},{"id":"1b_group_6","label":"1b Group 6","qualifications":[{"question":"c19.eligibility.question/healthcare_worker","moreInfoText":"c19.eligibility.moreinfo/healthcare_worker.or.1b_group_6"},{"question":"c19.eligibility.question/long_term_care_resident.are","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/age.65_up","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/essential_worker.are_you","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/congregate.do","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf","moreInfoText":"c19.eligibility.moreinfo/congregate.do.or.1b_group_6"},{"question":"c19.eligibility.question/health.are_you_age_45","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/essential_worker","moreInfoText":"c19.eligibility.moreinfo/essential_worker.or.1b_group_6","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/health.are_you_currently","moreInfoText":"c19.eligibility.moreinfo/health.are_you_currently.or.1b_group_6","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/housing.are","moreInfoText":"c19.eligibility.moreinfo/housing.are.or.1b_group_6","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/congregate.are","moreInfoText":"c19.eligibility.moreinfo/congregate.are.or.1b_group_6","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"}]},{"id":"1b_group_7","label":"1B Group 7","qualifications":[{"question":"c19.eligibility.question/healthcare_worker","moreInfoText":"c19.eligibility.moreinfo/healthcare_worker.or.1b_group_7"},{"question":"c19.eligibility.question/long_term_care_resident.are","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/age.65_up","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/essential_worker.are_you","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"},{"question":"c19.eligibility.question/congregate.do","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf","moreInfoText":"c19.eligibility.moreinfo/congregate.do.or.1b_group_7"},{"question":"c19.eligibility.question/health","moreInfoUrl":"https://www.cdc.gov/coronavirus/2019-ncov/need-extra-precautions/people-with-medical-conditions.html","moreInfoText":"c19.eligibility.moreinfo/health.or.1b_group_7"},{"question":"c19.eligibility.question/essential_worker.are_you_classified","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf","moreInfoText":"c19.eligibility.moreinfo/essential_worker.are_you_classified.or.1b_group_7"},{"question":"c19.eligibility.question/health.are_you_currently","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf","moreInfoText":"c19.eligibility.moreinfo/health.are_you_currently.or.1b_group_7"},{"question":"c19.eligibility.question/housing.are","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf","moreInfoText":"c19.eligibility.moreinfo/housing.are.or.1b_group_7"},{"question":"c19.eligibility.question/congregate.are","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf","moreInfoText":"c19.eligibility.moreinfo/congregate.are.or.1b_group_7"},{"question":"c19.eligibility.question/multigenerational.do","moreInfoUrl":"https://sharedsystems.dhsoha.state.or.us/DHSForms/Served/le3527A.pdf"}]}]}}},{"key":"oregon","type":"strings","value":{"content":{"c19.eligibility.moreinfo/healthcare_worker.or.1b_group_7":{"en-us":"This includes\n- Hospital staff with patient care responsibilities\n- Urgent care\n- Skilled nursing and memory care facility healthcare personnel (HCP) and residents\n- Tribal health programs\n- Emergency medical services (EMS) providers and other first responders\n- All health care interpreters and traditional health workers in any setting within Phase 1a\n- HCPs in outpatient settings serving specific high-risk groups\n- Day treatment services\n- Non-emergency medical transport (NEMT)\n- Paid or unpaid caregivers (including parents or foster parents) of medically fragile children or adults who live at home\n- Adults and age-eligible children who have a medical condition or disability who receive services in their homes\n- All other outpatient HCPs\n- Other HCP who provide direct service to people with I/DD and other high-risk populations.\n- Other public health settings, such as HCP serving WIC, or CBO's with direct or indirect exposures","ko-kr":"","vi-vn":"","zh-cn":"","es-us":"","de-de":"","es-es":"","fi-fi":"","fr-fr":"","he-il":"","it-it":"","ja-jp":"","pt-pt":"","sv-se":"","th-th":""},"c19.eligibility.moreinfo/congregate.do.or.1b_group_7":{"en-us":"This includes all paid and unpaid healthcare personnel, all staff and contractors, including residents who meet the age requirements of Residential care facilities, Adult foster care, Group homes for people with intellectual and developmental disabilities, Other similar congregate care sites; \n- Hospice programs\n- Mobile crisis care and related services\n- Individuals working in a correctional setting\n- Adults and youth in custody 16 years and older"},"c19.eligibility.moreinfo/essential_worker.or.1b_group_7":{"en-us":"This includes:\n- Migrant and seasonal farm workers\n- Seafood and agricultural workers\n- Food processing workers\n- Wildland firefighters","ko-kr":"","vi-vn":"","zh-cn":"","es-us":"","de-de":"","es-es":"","fi-fi":"","fr-fr":"","he-il":"","it-it":"","ja-jp":"","pt-pt":"","sv-se":"","th-th":""},"c19.eligibility.moreinfo/health.are_you_currently.or.1b_group_7":{"en-us":"Pregnant people 16 and older are eligible","ko-kr":"","vi-vn":"","zh-cn":"","es-us":"","de-de":"","es-es":"","fi-fi":"","fr-fr":"","he-il":"","it-it":"","ja-jp":"","pt-pt":"","sv-se":"","th-th":""},"c19.eligibility.moreinfo/housing.are.or.1b_group_7":{"en-us":"This includes:\n- Individuals experiencing houselessness (sheltered and unsheltered)\n- People currently displaced by wildfires","ko-kr":"","vi-vn":"","zh-cn":"","es-us":"","de-de":"","es-es":"","fi-fi":"","fr-fr":"","he-il":"","it-it":"","ja-jp":"","pt-pt":"","sv-se":"","th-th":""},"c19.eligibility.moreinfo/congregate.are.or.1b_group_7":{"en-us":"This includes people living in low-income senior housing, senior congregate and independent living","ko-kr":"","vi-vn":"","zh-cn":"","es-us":"","de-de":"","es-es":"","fi-fi":"","fr-fr":"","he-il":"","it-it":"","ja-jp":"","pt-pt":"","sv-se":"","th-th":""},"c19.eligibility.moreinfo/health.or.1b_group_7":{"en-us":"This includes:\n- Cancer\n- Chronic kidney disease\n- Chronic lung diseases, including COPD (chronic obstructive pulmonary disease), asthma (moderate-to-severe), interstitial lung disease, cystic fibrosis, and pulmonary hypertension\n- Dementia or other neurological conditions\n- Diabetes (type 1 or type 2)\n- Down syndrome\n- Heart conditions (such as heart failure, coronary artery disease, cardiomyopathies or hypertension)\n- HIV infection\n- Immunocompromised state (weakened immune system)\n- Liver disease\n- Overweight and obesity\n- Pregnancy\n- Sickle cell disease or thalassemia\n- Smoking, current or former\n- Solid organ or blood stem cell transplant\n- Stroke or cerebrovascular disease, which affects blood flow to the brain\n- Substance use disorders"},"c19.eligibility.moreinfo/essential_worker.are_you_classified.or.1b_group_7":{"en-us":"A frontline worker is someone who has a job that puts the individual at higher risk for contracting COVID-19 because of:\n» Regular close contact with others outside of their household (less than six feet); and\n» Routine (more than 15 minutes per person(s)) close contact with others outside of their household; and\n» They cannot perform their job duties from home or another setting that limits the close or routine contact with others outside of their household. \n\nThe list of frontline workers includes:\n• Vaccine manufacturing, and manufacturing of therapeutics, devices, supplies, or personal protective equipment\n• Other food and agriculture not included in Phase 1b, Group 6, including ranching, beverage manufacturing, nurseries, garden centers, farm supply stores, veterinary services, fishing and hunting, forestry\n• Grocery stores and retail (any) stores, including food markets, pharmacies, convenience stores, retail clothing and specialty stores\n• Community colleges, colleges, universities, vocational rehabilitation, trade and professional schools and related educational support services, administration of education programs\n• U.S. Postal Service\n• Public transit, including rural, interurban and urban bus and rail operators, school and employee bus transportation, special needs transportation\n• Manufacturing, including wood, paper, petroleum, coal, asphalt, roofing, chemical, plastics, metal, industrial machinery, computers, electronics, transportation, cabinet and countertops, medical equipment, repair and maintenance, industrial design services\n• Transportation and logistics for any industry included in Phase 1b, including air, rail, water, truck, taxi, limousine, charter bus, other transit and ground passenger transportation, driving schools, wholesalers, warehousing, storage and delivery services, packaging and labeling, motor vehicle and parts dealers, electronic shopping and parts dealers, transportation rental and leasing, and repair and maintenance, related services\n• Food service, including restaurants and bars, commissaries, community food service\n• Energy, including utilities, oil and gas extraction, mining, gas stations, fuel dealers, fuel delivery, environmental consulting, utilities\n• Water and wastewater, solid waste management and recycling, including utilities\n• Housing, including construction, contractors, real estate, community housing services, affordable housing programs, traveler accommodations, commercial accommodations, interior design, architectural, engineering and related services.\n• Information technology and communications, including software publishing, telecommunications, data processing, hosting and related services, internet publishing and broadcasting and web search portals, computer system design and related services, consumer electronics repair and maintenance, communication equipment repair and maintenance\n• News media, including broadcasting and publishing, newsstands\n• Child day care services not included in Phase 1b, groups 1-4, including day camps and afterschool activities.\n• Public health, including scientific and technical consulting, research and development, administration\n• Health care and related services not included in Phase 1a, including services for elderly and persons with disabilities, other individual and family services, funeral homes and funeral services, cemeteries and crematories\n• Public safety not included in Phase 1a, including, including civil engineering, waste management and remediation services, human services and social services, such as child protective services\n• Finance, including banks, credit intermediation, credit bureaus, securities, commodities contracts, financial investments and related activities, accounting, tax preparation, payroll services, company management,\n• Legal, including courts staff, judges, attorneys, court reporting, parole and probation offices\n• Government, including employees and contractors performing services or business for the public, and elected officials, libraries\n• State of Oregon legislative and executive branch as specified by the Department of Administrative Services (DAS)\n• Other: Investigation and security services, zoos and botanical gardens, nature parks and similar institutions, amusement and recreation industries, appliance repair and maintenance, personal and household goods repair and maintenance, pet care, drying cleaning and laundry services, religious organizations, private household services (e.g. in-home child care, housecleaning, in-home repair), administration of conservation programs "}}}}]


When a stylesheet file named in a theme can't be found, the error message should include theme name

If a theme has the file foo.css named in it, and you use that theme in a Markdown source file, the error is cryptic:
PocoCMS /Users/tom/pococms/poco/tmp/index.md:
 	Stylesheet x./../css/poquito.css can't be found

Fixed in commit #76e7dd4


Add Qty Limits

In order to protect the system from someone just saying give me 1million results and killing the API, we should add a max qty to the getQtyFromRequest function used by the endpoints.
I say for the first instance we set this to only 100 and see how that goes.

@ageddesi
I this kind of paginated api ?
pleas assign this to me

@siddharth1729 there is no pagination as its random data. Just the limit is needed adding.

Can I work on this issue ?

I have made a PR regarding this #142


Local video is sometimes empty

Hi !
Rarely I get a strange bug that seems to be completely random. In essence, the video of a self camera is empty:

To reproduce a bug one should simply start a call.
Here are some details:

this happens once in 30-40 tests,
a camera lights up,
a distant peer receives a video form the camera,
localVideo VideoView appears and sized correctly (a rectangle that is appropriately sized)
I test mostly on Ubuntu 20 but I've seen this problem on Windows also

Have you ever encountered this bug?

Hey,
that should be a JavaFX related bug. There is something wrong with the demo view implementation. I guess the frame arrives in the wrong thread. I will correct that.

Great! It was my suspicion too, I tried to play with threads with no luck.

I figured out the issue. This is because of clipping in VideoViewSkin
Rectangle clip = new Rectangle(newBounds.getWidth(), newBounds.getHeight());

Without it everything works well.


docs: update lambda config

Summary
Updates lambda config options:

Moves deprecated options to the bottom of the list
Cleans up deprecation text
Adds ELASTIC_APM_LAMBDA_CAPTURE_LOGS

Closes https://github.com/elastic/apm-aws-lambda/issues/323.

:broken_heart: Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-01-23T22:35:52.068+0000

Duration: 8 min 0 sec

Test stats :test_tube:

Test
Results

Failed
1

Passed
207

Skipped
2

Total
210

Test errors
Expand to view the tests failures
Test / Matrix - PLATFORM = 'ubuntu-18 && immutable' / Test / Test_handleInfoRequest – github.com/elastic/apm-aws-lambda/apmproxy

Expand to view the error details
 Failed

Expand to view the stacktrace
 === RUN   Test_handleInfoRequest
    logger.go:130: 2023-01-23T22:43:38.383Z	INFO	Extension listening for apm data on <IP_ADDRESS>:1234
    receiver_test.go:201:
        	Error Trace:	receiver_test.go:201
        	Error:      	Received unexpected error:
        	            	Post "http://<IP_ADDRESS>:1234/intake/v2/events": EOF
        	Test:       	Test_handleInfoRequest
    logger.go:130: 2023-01-23T22:43:38.383Z	DEBUG	server closed
--- FAIL: Test_handleInfoRequest (0.00s)

Steps errors
Expand to view the steps failures

Running Go tests

Took 1 min 33 sec . View more details here
Description: gotestsum --format testname --junitfile junit-report.xml -- -v ./...

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

/test

/test

💚 All backports created successfully

Status
Branch
Result

✅
8.6

Questions ?
Please refer to the Backport tool documentation


Rule name in Azure Firewall Network Rule log

Hi,
I'm looking for a place to check if there's any updating on when Azure will include the rule names in the Azure Firewall Network rule logs?
It's really useful for us to see which rules are being triggered for allow/denied network rules.
Network rule log

  "msg": "TCP request from <IP_ADDRESS>:12518 to <IP_ADDRESS>:2323. Action: Deny"

Application rule log

  "msg": "HTTPS request from <IP_ADDRESS>:55640 to mydestination.com:443. Action: Allow. Rule Collection: collection1000. Rule: rule1002"

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

ID: 377e85cd-dc27-14aa-c45f-c73603fcd4de
Version Independent ID: 813255e3-d142-b6dc-25d9-87e54682e492
Content: Overview of Azure Firewall logs and metrics
Content Source: articles/firewall/logs-and-metrics.md
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

Hello @anhlqn, Thank you for reaching out. The product team is currently working on this feature and there is no ETA yet on when it will be deployed. Reference:- https://docs.microsoft.com/en-us/answers/questions/629026/index.html
We will now proceed to close this issue out. Please tag me in your response if there are any additional concerns. Thank you!


[BUG] Can't Manage Encryption to Work

Well this is not a valid issue to start with. I don't even know what version you are using.
Channel BW, antenna, distance between radios. All of these things matter.


Updated install to accept custom Unity.app name on OS X

Hi there! I have several versions of Unity installed on my machine, with the format:
/Applications/Unity/Unity.app
I updated the install script so that on OS X you pass the full path to the app being modified, not just the Unity folder.

It looks good! Thanks for PR.


Building a Vue3 component library: components lose reactivity in the template (hydration)

Describe the bug
I am building a component library in Vue3 and packaging them with vite in library mode.
When testing these component in dev mode, components are reactive and ref values are updated on the template by user interaction.
When running build and using those component in another project, templates do not update anymore, but logging the ref values on watch and on @click, they are are updating.
Ex:
ButtonComponent.vue
<template>
    <button @click="increment">--{{ counter }}--</button>
</template>

<script lang="ts" setup>
import { ref, watch } from 'vue';

const counter = ref(0)

const increment = () => {
    counter.value ++
    console.log('Click to increment Counter Value:', counter.value)
}

watch(counter, () => {  console.log('Watch Counter Value:', counter.value) })
</script>

the button text is updating fine in dev mode, so are the console logs
when packaged with vite build , the button text doesn't update anymore, but the console logs are working as expected.
vite.config.ts
import { resolve } from 'path'

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [ vue(), vueJsx() ],
  build: {
    outDir: 'dist',
    lib: {
      entry: resolve(__dirname, 'src/index.ts'),
      name: 'vite-lib',
      fileName: `vite-lib`
    },
  }
})

Reproduction
https://stackblitz.com/edit/vitejs-vite-w8kqvz
Steps to reproduce
npm run dev to see it working
npm run build & npm pack and then use the compiled library in another project like here:
https://vue-wkh8ma.stackblitz.io
System Info
System:
    OS: macOS 13.6
    CPU: (12) arm64 Apple M2 Max
    Memory: 13.75 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
  Browsers:
    Chrome: 119.0.6045.105
    Safari: 16.6
  npmPackages:
    @vitejs/plugin-vue: ^4.4.0 => 4.4.0
    @vitejs/plugin-vue-jsx: ^3.0.2 => 3.0.2
    vite: ^4.4.11 => 4.5.0

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

You should set build.rollupOptions.external: ['vue']. Otherwise you'll have multiple instances of vue bundled in the project.


Bot not responding on a Linux machine, but does on Windows

I wrote a bot for my company's slack channel, and it works fine if I run it locally on my Windows machine. However, whenever I run it on a live linux server I get the following error message:
No handlers could be found for logger "slackbot.manager"

After that the bot simply ignores all input in plugins that were loaded, and when I run the same code on Windows, I do get a reply.
My run.py file:
from slackbot.bot import Bot

def main():
    """
    Main entry point of the application
    :return: void
    """
    bot = Bot()
    bot.run()

# Run if main
if __name__ == "__main__":
    main()

My slackbot_settings.py file:
print("Loaded settings")

API_TOKEN = "secret"
ERRORS_TO = 'luke'
PLUGINS = [
    'plugins.trains.departures'
]

My plugin plugins/trains/departures.py (all directories have __ init __.py files in them):
from re import IGNORECASE
from slackbot.bot import listen_to

@listen_to("foo", IGNORECASE)
def foo(bot):
    bot.reply("bar")

I'm getting the same issue, however I'm running it on a Mac. Seems like it could be missing logging dependencies, but I can't imagine what. Digging into the code to figure it out now.

@yourbuddyconner found out what it was yet? I'm having the same issue right now

Can this issue be closed?


Docs enhancement

🎯 Goal
Describe why we are making this change
🛠 Implementation details
Provide a description of the implementation
🎨 UI Changes
Add relevant screenshots

:tada: This PR is included in version 3.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add a block for icon extensibility

We're customizing the theme in https://github.com/18F/fec-eregs and need a better way to override the open/close icons on the table of contents nav.

No problems


[SPARK-13017][Docs] Replace example code in mllib-feature-extraction.md using include_example

Replace example code in mllib-feature-extraction.md using include_example
https://issues.apache.org/jira/browse/SPARK-13017
The example code in the user guide is embedded in the markdown and hence it is not easy to test. It would be nice to automatically test them. This JIRA is to discuss options to automate example code testing and see what we can do in Spark 1.6.
Goal is to move actual example code to spark/examples and test compilation in Jenkins builds. Then in the markdown, we can reference part of the code to show in the user guide. This requires adding a Jekyll tag that is similar to https://github.com/jekyll/jekyll/blob/master/lib/jekyll/tags/include.rb, e.g., called include_example.
{% include_example scala/org/apache/spark/examples/mllib/TFIDFExample.scala %}
Jekyll will find examples/src/main/scala/org/apache/spark/examples/mllib/TFIDFExample.scala and pick code blocks marked "example" and replace code block in
{% highlight %}
in the markdown.
See more sub-tasks in parent ticket: https://issues.apache.org/jira/browse/SPARK-11337

Can one of the admins verify this patch?

ok to test

@yinxusen Could you help review this PR? Thanks!

@mengxr Don't worry, I'll review all of the replace code PRs.

Test build #51140 has started for PR 11142 at commit 19ad929.

Test build #51140 has finished for PR 11142 at commit 19ad929.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51140/
Test FAILed.

Test build #51164 has started for PR 11142 at commit 6c3122a.

Test build #51164 has finished for PR 11142 at commit 6c3122a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51164/
Test PASSed.

Test build #51351 has started for PR 11142 at commit d0c8bc8.

Test build #51351 has finished for PR 11142 at commit d0c8bc8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51351/
Test PASSed.

Test build #51601 has started for PR 11142 at commit 2d57ba0.

Test build #51601 has finished for PR 11142 at commit 2d57ba0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51601/
Test PASSed.

Merged build finished. Test PASSed.

Thanks a lot for this huge code review

Test build #51612 has started for PR 11142 at commit ff9900b.

Test build #51612 has finished for PR 11142 at commit ff9900b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51612/
Test PASSed.

Test build #51795 has started for PR 11142 at commit 6961bdc.

Test build #51795 has finished for PR 11142 at commit 6961bdc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51795/
Test PASSed.

@mengxr @keypointt LGTM except for the imports.

Test build #52403 has started for PR 11142 at commit 3513e0f.

Test build #52403 has finished for PR 11142 at commit 3513e0f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52403/
Test PASSed.

@mengxr LGTM

cc @mengxr

cc @mengxr

@mengxr I've double checked to build with both scala 2.11 and 2.10 locally and both builds finished successfully

Merged into master. Thanks!

Thank you!


video recorded by iPhone (quicktime format) causes "Error opening filters!" only if uses stream input

Following code will cause "ffmpeg exited with code 1: Error opening filters!" while the one (commented out) with file input will not. Interestingly this happen only with the video recorded with iPhone but not the one created from iMovie. Is there a way to support streaming video recorded by iphone? Thanks.
   var fs = require('fs');
    var ffmpeg = require('fluent-ffmpeg');
    ffmpeg()
      .input(fs.createReadStream("../ffmpeg/ffmpeg_test.mov"))
      //.input('../ffmpeg/ffmpeg_test.mov') <-- this will work
      .output('./output.divx')
      .preset('divx')
      .on('end', function() {
        console.log('file has been converted succesfully');
        res.ok();
      })
      .on('error', function(err) {
        console.log('error: ' + err.message);
      })
      .run();

Can you paste the full stderr output, please?

"ffmpeg exited with code 1: Error opening filters!" is all I get. I am not sure how to get more details debug output.

Some additional info after look into ffmpeg logging flag:
cat ../ffmpeg/ffmpeg_test.mov | ffmpeg -pix_fmt yuv420p -analyzeduration 4G -probesize 4G -i pipe: ./output2.mp4
ffmpeg version 3.1.3 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.38)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Option pixel_format not found.

Hello there. I also could not find a way to run quicktime files with fluent-ffmpeg. Sample..
var fs = require('fs'); var ffmpeg = require('fluent-ffmpeg'); ffmpeg() .input(fs.createReadStream("video.mov")) //.input('../ffmpeg/ffmpeg_test.mov') <-- this will work .output('output.flv') .on('end', function() {   console.log('file has been converted succesfully'); }) .on('error', function(err) {   console.log('error: ' + err.message); }) .run();

@wisecolt please open a separate issue (I think you already did but just in case...)
@waterstar i'm closing this issue as it is getting very old. If you still have a problem feel free to reopen.


Act on the feedback from Geecon to build better explanations

Will be covered in the next architecture meeting since it is already being worked on.


Making sense of Kepler Grafana dashboard - Carbon Emission Metrics

Background:
I'm running my Kepler setup on a single node KIND cluster that is runing on an Ubuntu 20x VM. Based on reading the docs, I think my approach is that of a "Minimum Deployment". I've also deployed the whole monitoring stack and after some troubleshooting (thanks to inputs from @marceloamaral ), my Prometheus setup is successfully and now actively collecting kepler_*_joules_* metrics from my Kepler exporter.
Making sense of the Kepler Grafana Dashboard
My question is on the Grafana Dashboard json that shows the Carbon Emission.

Do we have some documentation on this to better understand how these values are calculated and what they mean / indicate? (I did browse through to understand some of the expression mentioned in the Kepler-Exporter.json)
Can someone help me explain in layman terms what these CO2 emissions (Coal, Petroleum, Natural Gas) value indicate vis-a-vis the kepler_*_joules_* metrics coming from Prometheus?
How can I test the Carbon emission behavior further - is it by adding more intensive workloads or reducing workloads?
How can I test and check that by doing A B C I can reduce the CO2 emission (especially Coal and Petroleum values that do not move much over different timeframes) showing on the Grafana dashboard?

I was looking at some of the expression mentioned in the Kepler-Exporter.json file but if someone can throw more light it may help
me map Kepler metrics to what story and insights are shaping up on Grafana dashboard?
Below are my screenshots with a couple of sample apps running in their own namespace in my cluster)

@sprathod369 there is discussion in this thread and you can find some real time co2 intensity data sources there that can be used alongside of kepler metrics to calculate workload co2 footprint.

Thanks @rootfs - I'll follow up the discussion you suggested. Looks interesting!!
@marceloamaral - Going through the Grafana Dashboard code that is available in the Kepler repo, my understanding is that the Carbon Emissions metrics that are projected on the dashboard basically using a formula that takes into account kepler_container_package_joules_total and kepler_container_dram_joules_total values from kepler exporter that is then multiplied by a FIXED Coeff value(Coal or Petroleum or Natural Gas) - is my understanding correct?
The "standard" carbon factors" that we consider in the example dashboard has an underlying assumption that power source powering this Kubernetes cluster is sourced from "fossil fuel" and not any renewable source (like wind, solar, hydrogen etc) - is my thinking correct?
Thank you!!

@sprathod369 that is correct. But as @rootfs commented before, there is an effort to use real time carbon metrics as detailed in #600. But of course it will change depending on the data center power source.


Common library function for parsing URL fragments

One of the things that should be refactored in Chaise and we can start on this with the record2 app, is to factor out the URL (fragment) parsing into the common library.
I also have a proposal on the table to write a parser in ermrestjs, something I’ve considered doing for a long time, so that we have one parser for URL fragments. See this and comments are welcomed.
https://github.com/informatics-isi-edu/ermrestjs/issues/55
As for Chaise, I still think it should have a common function for parsing URL fragments, even if its just a wrapper around this (to be developed) ermrestjs data path parser. For instance, there will be chaise specific options to be parsed. We should also keep in mind that each app may have some app specific options of its own, so a common library function need to accommodate that.

This should also help to address issue #465.

I noticed that we are using window.location.origin in the code that is used for URL parsing.
Since it is not supported by IE11- and has some issues with IE11, we should make sure that it is defined:
//source: http://tosbourn.com/a-fix-for-window-location-origin-in-internet-explorer/
if (!window.location.origin) {
  window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '');
}


Add arch to host inventory.

Add OS architecture information to host_inventory (is the same as os[:arch]).
You can get architecture infomation like this.
node[:arch]

Thanks. But I'd like to make host inventory compatible with Ohai as much as possible.
So node['kernel']['machine'] would be better than node[:arch]

Thank you for your comments!
Changed node[:arch] to node['kernel']['machine'].
Was it correct?

Good! Thanks!

Released as v2.28.0.


what the "capture size" means?

I read your paper, I don't understand Capture Size, if at state S(t), we get a result A(t), is the Capture size the result of the move A(t) ? or the result of move A(t-1)?  and about liberties after move, is it the same as capture size? thanks.

(Not my paper - DeepMind's paper!)
The capture size is the result of the move, yes. So if playing at a certain location would trigger a capture of N stones, then the "stones captured" feature plane gets a 1 on that particular location, on the Nth one-hot encoded plane.

Happy to answer any other questions.

What does feature "Ones" and "Zeroes" mean?
You said it makes NN know the bound of the board, I still can not understand...
Thanks. @brilee

I wrote up a short description of that feature here  http://moderndescartes.com/essays/convnet_edge_detection - let me know if that helps or if you still have questions.


Debloater Disabled Win Defender, How Do I Re-enable it?

It disabled windows defender, if I try to open it it instantly closes. Please Help!

Try the re-enabler script here:
https://github.com/mattreecebentley/win10_simplifier
if it doesn't work, install latest version of win10.
Have never had this problem from debloater, personally. And have used on hundreds of machines.

Thank you for the reply! Personally I was confused either, but fixed it
with re-installing windows 10.
Matt Bentley<EMAIL_ADDRESS>ezt írta (időpont: 2020. aug. 2.,
Vas 12:08):

Try the re-enabler script here:
https://github.com/mattreecebentley/win10_simplifier
if it doesn't work, install latest version of win10.
Have never had this problem from debloater, personally. And have used on
hundreds of machines.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sycnex/Windows10Debloater/issues/266#issuecomment-667654334,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQKOXUTPA6V6FEO3SDUZ73DR6U3IPANCNFSM4PAIII2A
.


Set PYTHONPATH so that pylint can import stbt

@wmanley: Please review.

So this is for using pylint but without stbt lint?

Yes, or ipython.

I just noticed that one of the usage examples in the README uses python & import stbt, which doesn't actually work currently on master:
$ ./stbt-docker python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import stbt
>>> stbt.match(...)

@wmanley, @drothlis is there any reason why this haven't been merged yet?

There is something that makes me nervous about this, but I can't quite put my finger on it.  I can definitely see that it would be useful and valuable though so +1

I suppose the correct solution would be to install stbt to the system PYTHONPATH (which we want to do anyway)... but that will require reading the Debian & Fedora Python packaging guidelines and figuring out how to do it properly. I'll merge this for now.


⚠ Digital Ocean - https://status.digitalocean.com/ has degraded performance

In c4f4d59, Digital Ocean - https://status.digitalocean.com/ (https://status.digitalocean.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 187 ms

Resolved: Digital Ocean - https://status.digitalocean.com/ performance has improved in b7eefd2 after 11 days, 23 hours, 59 minutes.


KAFKA-14936: Change Time Ordered Buffer to not require Change<> 0/N

Make it so the Time ordered buffer doesn't need a change record. We now have two types for the value. One for the storage type and another for the type. They can be the same if you don't want to use the change value.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-13830/2/tests
Test failures unrelated. As it is a simple type changing PR I'm just going to merge it as is


Proof of concept - IRCC design integration

TODO

[ ] Review IRCC Figma for component designs

Outcomes
Deliverables
Estimated Effort

[ ] XS: 1 to 2 hours
[ ] S: half a day
[ ] M: 1-2 day
[ ] L: 1 week
[ ] XL: Move to an epic

Out of scope

https://www.figma.com/file/16zKKXc4pzBdRAXmbz6Ht4/Components?node-id=89%3A683

Adapted IRCC designs to create our own atoms which can be found here:
GC Components Atoms

Radio Button Page w interactive states
GC Components Radio Buttons
Checkbox Page w interactive states
GC Components Checkboxes

I went a step further and created interactive html/css versions of these states working in real time for demo and to help the dev team if they're creating these styles
Radio HTML / CSS
Radio Buttons sandbox version
Checkboxes HTML / CSS
Checkboxes sandbox version


fix- App does not shown up under results of 'Group' on Launchpad Serv…

Fix: App does not shown up under results of 'Group' on Launchpad Service so as to add into the group
We could see the app under "Content manager" of Launchpad Service, however when we try to add app into a Group it doesn't show up in results.

see https://github.com/SAP-samples/ui5-deployments/issues/4


feat: support images via OpenAI Vision model

feat: support images analysis via OpenAI Vision model

Replaced by: https://github.com/casibase/casibase/pull/701


Followup on 149 and 151

closes #154

[ ] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[ ] Updated CHANGES.md

Codecov Report

Merging #155 into master will decrease coverage by 1.36%.
The diff coverage is 45.45%.

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
- Coverage   36.74%   35.38%   -1.37%
==========================================
  Files          91       91
  Lines        3233     3188      -45
  Branches      500      505       +5
==========================================
- Hits         1188     1128      -60
- Misses       1775     1776       +1
- Partials      270      284      +14

Impacted Files
Coverage Δ

tendermint/src/lite/error.rs
47.05% <0%> (+0.9%)
:arrow_up:

tendermint/src/lite/types.rs
49.13% <0%> (-5.93%)
:arrow_down:

tendermint-lite/src/main.rs
0% <0%> (ø)
:arrow_up:

tendermint/src/lite_impl/signed_header.rs
78.84% <44.44%> (ø)
:arrow_up:

tendermint/src/lite/verifier.rs
70.75% <61.11%> (-5.83%)
:arrow_down:

tendermint/src/validator.rs
47.77% <0%> (-5.49%)
:arrow_down:

tendermint/src/block/commit.rs
45% <0%> (-5%)
:arrow_down:

tendermint/src/vote/power.rs
10.52% <0%> (-3.76%)
:arrow_down:

... and 18 more

Continue to review full report at Codecov.

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

I don't understand why this seems to decrease test-coverage?

As discussed with @Liamsi I'm working on fixing issues with voting_power_in explained here and will be adding more rust-only tests

Looks good to me! 👍

Thanks for the review @Shivani912 👍


3.4.beta2: Crash in ResourceImporterTexture:_save_stex

Godot version
3.4.beta 2 (and 3 and presumably 1)
System information
Windows 10, Godot compiled under x86_64-w64-mingw32-gcc 10-posix 20210110
Issue description
There appears to be an issue with the new webp encoding which was introduced in 3.4 beta.  It is the new default lossless encoder now and is interacting with my project causing crashes.
I am receiving crashes when importing certain -- but not all -- PNGs.  I finally narrowed it down to one PNG that will introduce the crash, which I have included as the only image (aside from the default icon.png) in my example project.
I'm not able to get a good stack trace as it ends up as a SIGSEGV and smashes it, but I was able to step through _save_stex up to the point where the webp packer is called.
284                                     if (use_webp) {
285                                             data = Image::webp_lossless_packer(image);  // <-- crash

Info:
Thread 1 hit Breakpoint 4, ResourceImporterTexture::_save_stex (this=0x60bf1000, p_image=..., p_to_path=..., p_compress_mode=0, p_lossy_quality=0.699999988,
    p_vram_compression=Image::COMPRESS_S3TC, p_mipmaps=false, p_texture_flags=4, p_streamable=false, p_detect_3d=true, p_detect_srgb=true, p_force_rgbe=false,
    p_detect_normal=true, p_force_normal=false, p_force_po2_for_compressed=false) at editor/import/resource_importer_texture.cpp:285
285                                             data = Image::webp_lossless_packer(image);
(gdb) info locals
data = {alloc = 0x0}
data_len = 0
r = {<PoolVector<unsigned char>::Access> = {_vptr.Access = 0x2b08b0c0, alloc = 0x3c, mem = 0x2b08ab16 ""}, <No data fields>}
i = 0
lossless_force_png = false
use_webp = true
image = {reference = 0x48fdeed0}
mmc = 1
f = 0x48fddd30
__FUNCTION__ = "_save_stex"
resize_to_po2 = false
format = 119537664

Steps to reproduce

Import example project in 3.4 beta, and it gives an immediate crash.

Alternative:

Import example project into 3.3.2 stable.  Works OK.
Load project into 3.4 beta, and it works.  It's only the import which causes the crash.

Minimal reproduction project
godot_3.4_beta3_png_stex_save_crash.zip

CC @mortarroad

I don't seem to reproduce the crash with the MRP either, on Linux using the official 3.4 beta 3 binaries. I tried the Windows version in Wine and no crash either.

Windows 10, Godot compiled under x86_64-w64-mingw32-gcc 10-posix 20210110

Is that a custom build? Can you try official binaries from https://downloads.tuxfamily.org/godotengine/3.4/beta3/ ?

@akien-mga  Originally, when I encountered the crash in large game project with the custom build, I went back and tried the binaries from the website.  The crash still occurred but it wasn't as predictable as the case I distilled for the example project with the custom build.  I admit I did not try the original binary on the example project but yes I also see that it does not crash.
While I do use a custom build of Godot with the Goost plugin and Zylann's Voxel engine, I reverted everything back to just a stock 3.4 beta 3 checkout and re-built.  I can still reproduce the crash with the example file.
I'm including my mingw32-gcc debug-enabled binary here: link to my site since binary is too big for github issues
I do my builds from a container based on debian stretch-slim with mingw-w64 and python3 installed (plus related Godot deps).  My Scons config was just: scons -j4 platform=windows bits=64 tools=yes target=debug
I am going to checkout 3.4 beta 3 onto my local machine and compile via MSVC19 and see if it crashes there, too.

Does not reproduce on debug build from MSVC19.  🤒  I am going to create a WSL2 instance on my Windows machine with a complete fresh install of Debian Stretch and setup Mingw64 and all, and test that build to see if this a Mingw64 issue.

Okay after lots of different build configs and setups I found out the cause.  I've posted a PR for master here: https://github.com/godotengine/godot/pull/51644
The gist of it is that if you have a custom.py configuration and disable webp, then ResourceImportTexture::_save_stex will always crash on a new project as it defaults to relying upon modules/webp/image_loader_webp.cpp


[Question/Request] Safari Extension Support

@RemiRigal  Any plans to port this to a safari extension as well or will it remain a chromium only extension?

On the same subject, how about FireFox?

+1 for safari :)

Safari
Apple added support for Manifest v3 in Safari quite recently, so it should work out of the box if you install the extension manually on Safari 15.4+. Unfortunately I do not own any Apple devices so I won't be able to test/debug the extension. To be honest I don't feel confortable publishing a piece of software without being able to assess its stability/quality.
Perhaps one of you may be willing to try the extension ? Here is the official documentation for manually loading extensions into Safari, and a zip archive is available for each version in the release tab.
Firefox
Firefox is a bit of a pain because despite an official announcement a year ago, we don't have any information about Manifest v3 support. I've already considered adding Manifest v2 support to the extension but it implies a lot of refactoring as there is a lot of breaking changes between the two versions and it would be harder to maintain.
Anyway, I think that Firefox support deserves its own issue, I've created #12 to keep things organized.

Thanks for the guide! Maybe someone who has Xcode installed can use the safari-extension-converter tool to convert the extension to safari and then post here to test :)
There is a guide here: https://www.vshsolutions.com/blogs/convert-chrome-extension-to-safari-web-extension/
The benefit of this is that this extension would also work on iOS.

I have Xcode I’ll look into unless someone gets to it Before me
Sent from my iPhone

On Apr 15, 2022, at 16:29, skynet01 @.***> wrote:

Thanks for the guide! Maybe someone who has Xcode installed can use the safari-extension-converter tool to convert the extension to safari and then post here to test :)
There is a guide here: https://www.vshsolutions.com/blogs/convert-chrome-extension-to-safari-web-extension/
The benefit of this is that this extension would also work on iOS.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Awesome, let me know if you want me to test it :)

@justinglock40 Every get this working?


fix: update vendor with fixed code

Summary
I still had a broken rome.cjs on my machine and I needed these changes (https://github.com/romefrontend/rome/pull/1086). Looks like they are not reflected on the final vendor.
I am sure there's a correct way because the source maps are not updated.
@sebmck do you have any suggestion here?

Test Plan
CI should pass

There were a few times where I had to patch the vendored Rome recently to make the build work. We should be able to replace it with a full bundle now if you're interested in doing that. (./rome run scripts/commit-rome)

@sebmck this is now done! Thank you!

Thank you!


doc change: face_detection:mobile_gpu_binary_graph

doc change: face_detection:mobile_gpu_binary_graph rename to face_detection:face_detection_mobile_gpu_binary_graph and binarypb file output renamed

@googlebot I signed it!

Thanks for reporting this. Fixed in our internal code base upstream, and will be pushed to GitHub in the next release.

Fixed in https://github.com/google/mediapipe/commit/a9b643e0f5978425d948050a2228398929733d05.


WebRTC Data Channel Transport

Still in progress
Server-side WebRTC Transport

[x] net.Conn implementation: Gaukas/transportc
[ ] Acquiring mandatory info (majorly SDP) from registration

Raw Socket Update:
9/21/2021: TranspoRTC now supports raw sockets by *DataChannel.UseRawSocket()

Ready for tests. Not viable for merging until thoroughly tested.


allow registration of custom jackson modules

https://groups.google.com/forum/#!topic/finatra-users/xNcuSxzxdOU

Addressed in Finatra v2.x

Hello,
First of all....cool framework!
Second of all...is there an example of how to register a custom Jackson Serializer/Deserializer with my server?
I've done:
override def modules = Seq(LogbackModule, JacksonModule)

but I get an error. Plus I've written my serializer like below, but still not going through it:
object LocalDateParser extends StdSerializer[LocalDate](classOf[LocalDate]) {
  override def serialize(localDateValue: LocalDate, jgen: JsonGenerator, provider: SerializerProvider) {
    jgen.writeString(localDateValue.format(DateTimeFormatter.ISO_DATE))
  }
}

Hi Alex,
You'll need to specifically override the "jacksonModule" field as such.
override def jacksonModule = JacksonModule
Thanks, Steve
On Friday, June 5, 2015, alexmacavei<EMAIL_ADDRESS>wrote:

Hello,
First of all....cool framework!
Second of all...is there an example of how to register a custom Jackson
Serializer/Deserializer with my server?
I've done:
override def modules = Seq(LogbackModule, JacksonModule)
but I get an error. Plus I've written my serializer like below, but still
not going through it:
object LocalDateParser extends StdSerializerLocalDate {
override def serialize(localDateValue: LocalDate, jgen: JsonGenerator, provider: SerializerProvider) {
jgen.writeString(localDateValue.format(DateTimeFormatter.ISO_DATE))
}
}
—
Reply to this email directly or view it on GitHub
https://github.com/twitter/finatra/issues/110#issuecomment-109314488.

--
-Steve
Sent from Gmail Mobile

@alexmacavei
We've also designed FinatraJacksonModule to be customizable, so you can define a custom "JacksonModule" as such:
object CustomJacksonModule extends FinatraJacksonModule {

  override val additionalJacksonModules = Seq(
    new SimpleModule {
      addSerializer(LocalDateParser)
    })

  override val serializationInclusion = Include.NON_EMPTY

  override def additionalMapperConfiguration(mapper: ObjectMapper): Unit = {
    mapper.configure(Feature.WRITE_NUMBERS_AS_STRINGS, true)
  }
}

Thanks a million!


Fix login

Before login you cannot click on on any of the tabs. As soon as you enter any combination of username and pwd its possible to view the contents of those pages even though you are unauthorised.

I've implemented a fix for this but feel that it could be made more robust: https://github.com/igiveadamn/ccdb/commit/a140211720d51153fdbc4625fc36783df61710f0#diff-b2ce957df304528e922f12debf710033R32.
It might be good to return a status code here and add some validation of the response data.

ok. or it might be sufficient just to check the status code, and the existence of the user object.

Now checks if there is a user object: https://github.com/igiveadamn/ccdb/commit/2590646afd9f8604eb0f9a49f44928f01939a5d7


Set CPU Affinity

It would be nice to be able to set CPU affinity to leave a couple threads open for the main node.

+1 , It would be a good improvement!


add test_state_change_handlers and many more tests.

This PR ensures we aren't flying blind when it comes to the transitions and the non HA changes. I added a significant amount of tests and removed the lazy hacky methods I wrote earlier.
We now fire an event exactly like home assistant would during a transition. right down to the context id which we also now test.
I also updated some of the tests to have the dependency property, as when there are many failures it was hard to know which test to debug first. Now if for example test_attributes_have_changed fails, the test_significant_changes won't run.

I'm getting errors I don't even understand anymore trying to create a test. Okay. Might be related to core2023.4.0.
The issue in #541 is the transition timer is never getting reset. since I both can't figure out how to create a test and the new timer code is beyond me I'm not sure how to fix it.
I don't have perms to roll out a hotfix anyway, otherwise I'd just push 1.10.01 out with the last working wait for transition code I had and call it a day.

@basnijholt Hello! I've added some much-needed tests here to avoid any of the 1.10.0 problems from happening again, please check them out!

This PR ensures we aren't flying blind when it comes to the transitions and the non HA changes. I added a significant amount of tests and removed the lazy hacky methods I wrote earlier.

That is really awesome! So we now test for the thing that broke in 1.10.0?

It's also worth noting even the original 3 year old code wouldn't pass these rigorous tests, which is why I had problems in #447

Please see the reviews! I mark the exact line that fails and why. I don't know how to fix it as it's to do with _AsyncSingleShotTimer

Please clean up anything you'd like of course, I can document anything that may still be unclear.

Note that the timers itself know whether they are running :)
https://github.com/basnijholt/adaptive-lighting/pull/544/commits/46207fa2f02f3245c05402c4051b7250b281ebfb

@basnijholt this new code:
if timer is not None and timer.is_running():
needs to now exist on the failing assert to

Looks like the timer is still not getting reset.

Does this mean you fixed the issue #541?! 😄

@basnijholt I believe so! https://github.com/basnijholt/adaptive-lighting/commit/46207fa2f02f3245c05402c4051b7250b281ebfb was the last piece of the puzzle I needed here.

Whew I'm glad we finally have a test. We coded this thing deaf and blindfolded and somehow we still managed to be 2 lines of code away from it working. That's impressive.
Please check out the change I made to the state_changed_event_listener before you merge. But yes!! #514 is fixed.

Wow, this is great!
TBH that code you removed here:

I have no clue what my reasoning was behind that at the time ¯_(ツ)_/¯
I am going on faith in our ability to fix things now 😄

@basnijholt I'm a bit confused on why #541 happened, in the original 1.10.0 we're checking if the transition timer is not defined. The timer is supposed to reset itself when its done, but it wasn't doing so. But now it's magically fixed and none of these redundant tests are picking it up? It doesn't add up.

If it's fixed, it's fixed :joy:
Perhaps we can push a beta release with this PR merged? Do you know how to do that?

@basnijholt I do not but can figure it out.


Bug: pydantic min_length and max_length are not provided in get_constrained_field_value

Description
Hello! I just stumbled across your great project, but I ran into a problem:
I am inheriting some types from pydantic like
pydantic.SecretBytes or pydantic.SecretStr and extending them with additional methods.
Eg:
class EncryptedSecretBytes(SecretBytes):
     min_length = 6
     max_length = 100

     def crypt_password(self) -> None:
         self._secret_value = password.crypt_password(self.get_secret_value())

But I still could not adequately connect this type to polyfactory, due to an error:
polyfactory.exceptions.ParameterException: received constraints for unsupported type <class '__main__.EncryptedSecretBytes'>

URL to code causing the issue
No response
MCVE
from functools import partial
from typing import Any, Dict, Generic, Type, TypeVar

from polyfactory.factories import pydantic_factory
from polyfactory.value_generators.primitives import create_random_bytes
from pydantic import BaseModel, SecretBytes

class EncryptedSecretBytes(SecretBytes):
    """Model for verify bytes range [6;100] and crypt than by bcrypt"""

    min_length = 6
    max_length = 100

    def crypt_password(self) -> None:
        self._secret_value = b"strong_password"

T = TypeVar("T")

class CustomDataclassFactory(Generic[T], pydantic_factory.ModelFactory[BaseModel]):
    __is_base_factory__ = True

    @classmethod
    def get_provider_map(cls) -> Dict[Type, Any]:
        providers_map = super().get_provider_map()

        return {
            EncryptedSecretBytes: lambda: partial(create_random_bytes, cls.__random__),
            **providers_map,
        }

def factory(model):
    # we use our CustomDataclassFactory as a base for the PersonFactory
    class PersonFactory(CustomDataclassFactory[model]):
        __model__ = model

    return PersonFactory.build()

class UserWithCustomPasswordType(BaseModel):
    username: str
    password: EncryptedSecretBytes

print(factory(UserWithCustomPasswordType))

class UserWithNativeType(BaseModel):
    username: str
    password: SecretBytes

print(factory(UserWithNativeType))

Steps to reproduce
Just run mcve code

Screenshots
No response
Logs
Traceback (most recent call last):
  File "t.py", line 125, in <module>
    crashes()
  File "t.py", line 122, in crashes
    print(factory(UserWithCustomPasswordType))
  File "t.py", line 92, in factory
    return PersonFactory.build()
  File ".venv/lib/python3.9/site-packages/polyfactory/factories/pydantic_factory.py", line 301, in build
    processed_kwargs = cls.process_kwargs(**kwargs)
  File ".venv/lib/python3.9/site-packages/polyfactory/factories/base.py", line 741, in process_kwargs
    result[field_meta.name] = cls.get_field_value(field_meta, field_build_parameters=field_build_parameters)
  File ".venv/lib/python3.9/site-packages/polyfactory/factories/base.py", line 625, in get_field_value
    return cls.get_constrained_field_value(annotation=unwrapped_annotation, field_meta=field_meta)
  File ".venv/lib/python3.9/site-packages/polyfactory/factories/base.py", line 598, in get_constrained_field_value
    raise ParameterException(f"received constraints for unsupported type {annotation}")
polyfactory.exceptions.ParameterException: received constraints for unsupported type <class '__main__.EncryptedSecretBytes'>

Litestar Version

Platform

[ ] Linux
[X] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

Funding

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified

You have to specify the constraints when declaring the model.

# incorrect
class UserWithCustomPasswordType(BaseModel):
    username: str
    password: EncryptedSecretBytes

# correct
class UserWithCustomPasswordType(BaseModel):
    username: str
    password: EncryptedSecretBytes = Field(min_length=6, max_length=100)

You have to override the get_constrained_field_value function on the base factory to something like below as well.
    @classmethod
    def get_constrained_field_value(cls, annotation: Any, field_meta: FieldMeta) -> Any:
        if annotation == EncryptedSecretBytes:
            constraints = cast(Constraints, field_meta.constraints)
            return handle_constrained_string_or_bytes(
                    random=cls.__random__,
                    t_type=bytes,
                    lower_case=constraints.get("lower_case") or False,
                    upper_case=constraints.get("upper_case") or False,
                    min_length=constraints.get("min_length"),
                    max_length=constraints.get("max_length"),
                    pattern=constraints.get("pattern"),
            )
        return super().get_constrained_field_value(annotation, field_meta)

Also, your get_provider_map in the example is incorrect in that you should not be using lambda there since partial is already returning a callable. It should be {EncryptedSecretBytes: partial(create_random_bytes, cls.__random__), **provider_map}.


XCode may crash when capturing frame if using MTLHeap

Hello,
After updating MoltenVK, we had xcode crashing when doing a frame capture. After try and error, we found out that disabling MTLHeaps by pretending the device does not support it solved the issue.
MTLHeap is the reason why we upgraded, and they are otherwise working perfectly fine. So our workaround is to have an environment variable to only disable them when we want to do a frame capture from xcode.
I think this is an issue on Apple's side, which cannot be resolved here (a crash report have been sent their way). But this can be marked as a known issue, along with adding an environment variable to force them off until Apple eventually fixes them.
Some more info:

Captures always works if MTLHeaps are not used
Captures never works if MTLHeaps are used with the same game code
Captures will sometime work if we disable our draws an dispatch, with greater success rate as we disable more and more. The issue cannot be pinned to a single draw/dispatch, but is rather dependent on the complexity, with greater probability to fail with more complexity.
Captures always works with MTLHeaps if all draw calls and dispatch are disabled. The memory view of the capture shows heaps and their contents as we expect them.
The game behaves properly with MTLHeaps, we haven't noticed any difference/instability because of it

I think this is an issue on Apple's side, which cannot be resolved here

Disappointing to hear about this. Thanks for the suggestions and for filing the report with Apple.

I installed the xcode update that was just released and it seems to have fixed the issue so far.

MTLHeaps are not preferred, expect in specific situations. Apple acknowledges this too.
Consequently, their use in MoltenVK is optional, but is no longer the default behaviour.


Put OAuth sign up link outside of standard sign up form

The OAuth link for signing in was outside of the standard form in sessions#new which wasn't a problem, but the OAuth link for signing up was inside the form for registrations#new, so I moved it outside similar to the sessions#new page.
Before

After

I can confirm this branch solves the issue for me and that clicking the Google Auth button on the sign up page no longer submits the new user form. 🙌


Update location of file containing Swagger file URL

This commit to Swagger UI separated some code from index.html and placed it in the newly-added swagger-initializer.js. Due to this change, the workflow is unable to replace the reference to the local YAML file as it is no longer stored in index.html. To fix this, change where the workflow tries to replace this from index.html to swagger-initializer.js instead.

Thank you!


apparmor profiles are not recognized

Steps to reproduce
Run this shell command:
vim -Nu NONE --cmd 'filetype on' +'echomsg &filetype' /etc/apparmor.d/usr.bin.man

man is echo'ed (and the file is highlighted as a manpage).
That's wrong: /etc/apparmor.d/usr.bin.man is an apparmor profile, not a manpage.
Expected behavior
apparmor is echo'ed.
Operating system
Ubuntu 20.04.3 LTS
Version of Vim
8.2 Included patches: 1-3720
Patch
Patch fixing the issue:
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f687cc77a..024a977d7 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -97,6 +97,10 @@ au BufNewFile,BufRead *.run			setf ampl
 " Ant
 au BufNewFile,BufRead build.xml			setf ant

+" Apparmor
+au BufNewFile,BufRead /etc/apparmor.d/*				setf apparmor
+au BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*	setf apparmor
+
 " Arduino
 au BufNewFile,BufRead *.ino,*.pde		setf arduino

A pattern ending in a star is probably not a good idea.  E.g. what if there is a LICENSE or README file in that directory?
We should make the pattern much stricter. Can we match with *.man perhaps?

A pattern ending in a star is probably not a good idea.

Maybe, but if that's an issue, then there are already existing patterns in $VIMRUNTIME/filetype.vim which suffer from it.  For example:
vim -Nu NONE --cmd 'filetype on' +'echomsg &filetype' /tmp/etc/apt/apt.conf.d/README

aptconf is echo'ed.  But since the file is named README, shouldn't it be text?

Also, on Ubuntu, we can install the apparmor-utils package:
$ sudo apt-get install apparmor-utils

The latter installs a syntax file for Vim:
/usr/share/vim/addons/syntax/apparmor.vim

The latter contains this comment:
" stick this file into ~/.vim/syntax/ and add these commands into your .vimrc
" to have vim automagically use this syntax file for these directories:
"
" autocmd BufNewFile,BufRead /etc/apparmor.d/*                      set syntax=apparmor
" autocmd BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*   set syntax=apparmor

That's where I copied the patterns from.

Can we match with *.man perhaps?

No, it would not be enough.  Here, the name of the file is the path to the man(1) binary after replacing the slashes with dots.  But there could be apparmor profiles for other binaries, like firefox, in which case the filename would not end with man but with firefox (usr.bin.firefox).
Maybe we could assert the presence of a dot:
au BufNewFile,BufRead /etc/apparmor.d/*.*                      setf apparmor
au BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*.*   setf apparmor

But that would leave files such as /etc/apparmor.d/lightdm-guest-session.
We could try to inspect the contents of the file and look for an #include directive.
But that would leave files such as /etc/apparmor.d/abstractions/aspell, where there is no #include, and the file does not contain any dot.
It's not perfect, but how about this patch:
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f687cc77a..f2f55f1d5 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -97,6 +97,12 @@ au BufNewFile,BufRead *.run			setf ampl
 " Ant
 au BufNewFile,BufRead build.xml			setf ant

+" Apparmor
+au BufNewFile,BufRead /etc/apparmor.d/*{README,LICENSE}		setf text
+au BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*{README,LICENSE}	setf text
+au BufNewFile,BufRead /etc/apparmor.d/*				setf apparmor
+au BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*	setf apparmor
+
 " Arduino
 au BufNewFile,BufRead *.ino,*.pde		setf arduino

E.g. what if there is a LICENSE or README file in that directory?

Actually, I think apparmor(7) reads all the files under /etc/apparmor.d/, including one named README.  That would explain why – on my machine – all the lines in /etc/apparmor.d/local/README start with the comment leader #.
This means that there is no way for Vim to know in advance whether a file is meant to be read by a human or by apparmor(7).  Vim would have to read all the lines, and check whether at least one is not commented.  And even then, what if the file contains code which is commented, but meant to be uncommented on-demand by a sysadmin?
IOW, a README file is technically an apparmor file, not a text file, because it's read by apparmor(7).  The original patch is OK.

A pattern ending in a star is probably not a good idea.

Maybe, but if that's an issue, then there are already existing
patterns in $VIMRUNTIME/filetype.vim which suffer from it.  For
example:
vim -Nu NONE --cmd 'filetype on' +'echomsg &filetype' /tmp/etc/apt/apt.conf.d/README

aptconf is echo'ed.  But since the file is named README, shouldn't
it be text?

Yes.  Although the pattern for aptconf doesn't end in a star, it does
match many file names.  Moving it down to the section with patterns
ending in a star isn't sufficient...  Ah, the pattern matching README
was changed to use "setf" and now it's priority is too low.  I'll move
it above the patterns ending in star.

Also, on Ubuntu, we can install the apparmor-utils package:
$ sudo apt-get install apparmor-utils

The latter installs a syntax file for Vim:
/usr/share/vim/addons/syntax/apparmor.vim

The latter contains this comment:
" stick this file into ~/.vim/syntax/ and add these commands into your .vimrc
" to have vim automagically use this syntax file for these directories:
"
" autocmd BufNewFile,BufRead /etc/apparmor.d/*                      set syntax=apparmor
" autocmd BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*   set syntax=apparmor

That's where I copied the patterns from.

Often a package for a specificy type of file gives priority to that type
over many other things.  Other users that just install Vim have other
priorities.

Can we match with *.man perhaps?

No, it would not be enough.  Here, the name of the file is the path to
the man(1) binary after replacing the slashes with dots.  But there
could be apparmor profiles for other binaries, like firefox, in which
case the filename would not end with man but with firefox
(usr.bin.firefox).
Maybe we could assert the presence of a dot:
au BufNewFile,BufRead /etc/apparmor.d/*.*                      setf apparmor
au BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*.*   setf apparmor

But that would leave files such as
/etc/apparmor.d/lightdm-guest-session.
We could try to inspect the contents of the file and look for an
#include directive.
But that would leave files such as
/etc/apparmor.d/abstractions/aspell, where there is no #include,
and the file does not contain any dot.
It's not perfect, but how about this patch:
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f687cc77a..f2f55f1d5 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -97,6 +97,12 @@ au BufNewFile,BufRead *.run			setf ampl
 " Ant
 au BufNewFile,BufRead build.xml			setf ant

+" Apparmor
+au BufNewFile,BufRead /etc/apparmor.d/*{README,LICENSE}		setf text
+au BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*{README,LICENSE}	setf text
+au BufNewFile,BufRead /etc/apparmor.d/*				setf apparmor
+au BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*	setf apparmor
+
 " Arduino
 au BufNewFile,BufRead *.ino,*.pde		setf arduino

I'll make a patch for aptconf, that should give a hint for apparmor.
I'll also match AUTHORS, COPYING and LICENSE next to README, since these
are often used.
--
ALL:   A witch!  A witch!
WITCH: It's a fair cop.
ALL:   Burn her!  Burn her!  Let's make her into a ladder.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

E.g. what if there is a LICENSE or README file in that directory?

Actually, I think apparmor(7) reads all the files under
/etc/apparmor.d/, including one named README.  That would explain
why – on my machine – all the lines in /etc/apparmor.d/local/README
start with the comment leader #.
This means that there is no way for Vim to know in advance whether a
file is meant to be read by a human or by apparmor(7).  Vim would
have to read all the lines, and check whether at least one is not
commented.  And even then, what if the file contains code which is
commented, but meant to be uncommented on-demand by a sysadmin?
IOW, a README file is technically an apparmor file, not a text
file, because it's read by apparmor(7).  The original patch is OK.

OK, that's different then.
How about the extra-profiles directory?
--
BEDEVERE: And that, my lord, is how we know the Earth to be banana-shaped.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

How about the extra-profiles directory?

It's full of apparmor profiles, which are meant to be copied by the sysadmin under /etc/apparmor.d/.  But there is one README file (/usr/share/apparmor/README) where the lines are not commented.  Not sure it's worth making our code more complicated just to support this file.  I think whoever wrote it should have commented the lines.

I'll make a patch for aptconf, that should give a hint for apparmor.

muttrc is also affected by the issue.  This shell command:
vim -Nu NONE --cmd 'filetype on' +'echomsg &filetype' /tmp/etc/Muttrc.d/README

Outputs muttrc.  It should output text.
Patch fixing the issue:
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 00711d7b5..7cd072b00 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1123,9 +1123,6 @@ au BufNewFile,BufRead *.msql			setf msql
 " Mysql
 au BufNewFile,BufRead *.mysql			setf mysql

-" Mutt setup files (must be before catch *.rc)
-au BufNewFile,BufRead */etc/Muttrc.d/*		call s:StarSetf('muttrc')
-
 " Tcl Shell RC file
 au BufNewFile,BufRead tclsh.rc			setf tcl

@@ -2185,6 +2182,9 @@ au BufNewFile,BufRead */etc/apache2/*.conf*,*/etc/apache2/conf.*/*,*/etc/apache2
 " APT config file
 au BufNewFile,BufRead */etc/apt/apt.conf.d/{[-_[:alnum:]]\+,[-_.[:alnum:]]\+.conf} call s:StarSetf('aptconf')

+" Mutt setup files (must be before catch *.rc)
+au BufNewFile,BufRead */etc/Muttrc.d/*		call s:StarSetf('muttrc')
+
 " Asterisk config file
 au BufNewFile,BufRead *asterisk/*.conf*		call s:StarSetf('asterisk')
 au BufNewFile,BufRead *asterisk*/*voicemail.conf* call s:StarSetf('asteriskvm')

Patch fixing the issue:

Ah, the patch might be wrong.  I didn't take into account the "(must be before catch *.rc)" comment.

See patch 8.2.3730

But there is one README file (/usr/share/apparmor/README) where the lines are not commented. Not sure it's worth making our code more complicated just to support this file. I think whoever wrote it should have commented the lines.

Alternatively, how about this patch:
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 705c2dce4..1a25f2e7a 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2183,6 +2183,10 @@ au BufNewFile,BufRead proftpd.conf*					call s:StarSetf('apachestyle')
 au BufNewFile,BufRead access.conf*,apache.conf*,apache2.conf*,httpd.conf*,srm.conf*	call s:StarSetf('apache')
 au BufNewFile,BufRead */etc/apache2/*.conf*,*/etc/apache2/conf.*/*,*/etc/apache2/mods-*/*,*/etc/apache2/sites-*/*,*/etc/httpd/conf.*/*,*/etc/httpd/mods-*/*,*/etc/httpd/sites-*/*,*/etc/httpd/conf.d/*.conf*		call s:StarSetf('apache')

+" Apparmor
+au BufNewFile,BufRead /etc/apparmor.d/*				setf apparmor
+au BufNewFile,BufRead /usr/share/apparmor/extra-profiles/*	setf apparmor
+
 " APT config file
 au BufNewFile,BufRead */etc/apt/apt.conf.d/{[-_[:alnum:]]\+,[-_.[:alnum:]]\+.conf} call s:StarSetf('aptconf')

It detects the README file as text, and all the profiles as apparmor.


Improve error when command is not defined

This pull request is part of the following issue: rom-rb/rom#324
I made the following changes:

Added tests for the new "default value" feature of ROM::Registry#fetch. The code is in rom-support, but the tests are in this repository. Here is the link for the pull request: https://github.com/rom-rb/rom-support/pull/6. To make this possible I temporarily pointed the rom-support gem reference to my rom-support fork, but this will get removed once the related pull request is OK.
I'm using the "default value" feature to throw a specialized error in case a command is not found under a relation.

Thanks for this. The specs should be moved to rom-support. Here we could only verify if command-specific registry has correct behavior.

@solnic Thanks. I've just updated this pull request with the removal of the registry spec file, and the rom-support pull request was updated with the same spec file which was moved over from here.

Could you rebase on top of master so that we can get a clean merge?

@solnic All done


#3429 Move spec temporary from parameter to json.

Description
Move spec temporary from parameter to json.
Related Issue :
https://github.com/metatron-app/metatron-discovery/issues/3429
How Has This Been Tested?
After creating temporary datasource, see it's type is not temporary.
Discovery always creates non-temporary datasource for HA issue when creating its own temporary datasource.
Need additional checks?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 1


Error while converting text to speech (attempt 1): ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))

Using on Mac  (Sonoma - python 3.9.6) and able to run the enclosed example book without any issue.  however, other epubs  that I have gotten though the years do not work.  All run but the message warning keep showing after several minutes as the attempt increase
I attached the full log.
error.txt

Looks like network connection issue to me. Or maybe not working properly on your epub files. Could you find a book not working on https://www.gutenberg.org and give me its link?

I tested quite a few books from gutenberg and all work. I also tried a few known open source epub i had and all worked. The book i have is copyrighted so i tried another known copyrighted book and same error occurred. I then recreated all tests on a separate system running debian and same occurred.
Ao my conclusion is axure tts has logic yo identify copyrighted books and error out fpr anyone trying to use tts on that material.
So not a bug but suggest add description on readme as suspect others will run into same issue
A shame cant so do but will continue to follow in case in the future other tts added that have this limitation. Thanks for creating this great software

@estrellagus Thanks for detailed trace. I don't think Azure could detect copyrighted books because we're just sending strings/paragraphs to it not the whole epub file. Maybe just some kind of encoding issue.
Very interested in this issue. Will keep this issue open.

I got the same issue yesterday. I changed the language but didn't change the voice, it then worked when I did. Don't know if it's related tho. I'm on Mac M1 sonoma too.

I got the same issue yesterday. I changed the language but didn't change the voice, it then worked when I did. Don't know if it's related tho. I'm on Mac M1 sonoma too.

@alessdangelo Thanks for reporting. May I know what language and voice you used for working and not working cases?

I just downloaded the latest version and tried one audiobook that had issues with the openai backend and it worked fine.   Itis great, only issue is the cost is super high. Over $20 for a single epub.

I just downloaded the latest version and tried one audiobook that had issues with the openai backend and it worked fine.   Itis great, only issue is the cost is super high. Over $20 for a single epub.

@estrellagus Glad OpenAI API works for you. How many characters in your book. I read on twitter about the price difference of all kinds of TTS services. Looks like OpenAI price is very competitive. I think they could even lower their price soon just like their other services.

I just downloaded the latest version and tried one audiobook that had issues with the openai backend and it worked fine.   Itis great, only issue is the cost is super high. Over $20 for a single epub.

@estrellagus Glad OpenAI API works for you. How many characters in your book. I read on twitter about the price difference of all kinds of TTS services. Looks like OpenAI price is very competitive. I think they could even lower their price soon just like their other services.

The book has physically 842 pages.  The character count produced by running script with --preview is
"Total characters in selected chapters: 1387583 "

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
Apdlrcjafg19, @mortimr, @devgms, @unchang3d, @JohannesGitHub, @0xdwong, @dezintegro, @sleepyqadir, @timbeitz, @0xhiroki, @rzvl, @frankynines, @nhuxhr, @fae886, @0xYYY, @OcamsRazor, @gaoypChina, @kfei, @fcantelmi, @deadlock91

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
allwin199, @candigazuberi2, @T4533N, @yellzhi, @jshuadvd, @TrevorJTClarke, @rendonghai, @snwfdhmp, @mesqueeb, @faresdev7, @maxgfr, @NOGALITOS13, @terrytjw, @Yamada202, @sakshamio, @ethSplit, @YessineAmor, @prettyu2021, @liebeskind, @ggrahl18


Update Edgescan Connector

Context
Clients require the ability to import vulnerabilities based on layer type, application and network.
Bug also found when attempting to create Kenna findings.
Changes

Added 2 flags include_network_vulnerabilities, and include_application_vulnerabilities to allow the separation of vulnerabilities when importing. Both set to true by default.
Fixed bug where Kenna findings were not being created when create_findings flag was set to true.

Please run
bundle update rack
to Bundler Audit / audit (pull_request) be successful


Using inputFilter and additionalInputs functionality issues

"Actions": {
"OnSuccess": {
"Name": "EvaluateRule",
"Context": {
"WorkflowName": "inputWorkflow",
"ruleName": "GiveDiscount10Percent",
"inputFilter": ["input2"], //will only pass input2 from existing inputs,scopedparams to the chained rule
"additionalInputs":[ // will pass a new input named currentDiscount with the result of the expression to the chained rule
{
"Name": "currentDiscount",
"Expression": "input1.TotalBilled * 0.9"
}
]
}
}
}
Follow the above instructions to add configuration and use. It is found that it does not work. Finally, debug the source code and find that the program only reads
The values of WorkFlowName and ruleName are entered into the data dictionary, and the program checks the ActionContext data type dictionary to see if there are inputFilter and additionalInputs configurations. This is incorrect. When ActionContext is correct, it means there are inputFilter and additionalInputs configurations. The program no longer calls EvaluateRuleAction but instead calls the ExpressionOutPutAction function. Please ask the author to check if there is a bug, modify

How to correct it, please reply. If it is the problem I am using, please tell me the correct method


Dependency compile error

I'm trying to use Ecto and Postgrex as dependencies in a project, but I'm getting an error when doing mix deps.get.
It appears that ecto, postgrex and poolboy are fetched correctly, then poolboy builds correctly, but building ecto fails. postgrex is never built.
Error message:
Compiled lib/ecto/query/api.ex
lib/ecto/adapters/postgres.ex:17: unused alias Normalizer
lib/ecto/adapters/postgres.ex:15: unused alias QueryExpr
lib/ecto/adapters/postgres.ex:16: unused alias Util
== Compilation error on file lib/ecto/adapters/postgres.ex ==
could not compile dependency ecto, mix compile failed. You can recompile this dependency with `mix deps.compile ecto` or update it with `mix deps.update ecto`
** (CompileError) deps/ecto/lib/ecto/adapters/postgres.ex:43: module Postgrex.Result is not loaded and could not be found
    /Users/jwarwick/Projects/elixir/lib/elixir/lib/kernel.ex:3286: Kernel."MACRO-access"/3
    deps/ecto/lib/ecto/adapters/postgres.ex:43: Kernel.access/2

Don't know if this is a problem with ecto not having a dependency on postgrex, so some macro is unavailable or if it's related to the recent parallel compiler updates.
Sample project available at: https://github.com/jwarwick/ecto_dep_test
Relevant system info:
[jw-macbook-2 ~/Projects/ecto_dep_test]$ erl --version                                                                                [master][]
Erlang R16B02 (erts-5.10.3) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.3  (abort with ^G)
1>
User switch command
 --> q
[jw-macbook-2 ~/Projects/ecto_dep_test]$ iex --version                                                                                [master][]
Erlang R16B02 (erts-5.10.3) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Elixir 0.11.1-dev
[jw-macbook-2 ~/Projects/ecto_dep_test]$ mix --version                                                                                [master][]
Elixir 0.11.1-dev
[jw-macbook-2 ~/Projects/ecto_dep_test]$ uname -a                                                                                [master][]
Darwin jw-macbook-2.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

You can add the deps to additional applications if master isn't acceptable.


STORM-1731 (0.10.x) Avoid looking up debug / backpressure enable flags within critical path

preload the value of flags and use that value

topology.debug

Pull request for 1.x version is here: #1362
Please note that this pull request is NOT on top of STORM-1729 since STORM-1729 is not valid for 0.10.x.
I don't take performance tests on this pull request, since #1362 shows the benefit.

+1

+1 Great Finding.


fix(theme): updated theme.

:tada: This PR is included in version 1.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Compatibility for Homebrew Formula

First of all, thanks for this project! I've started using it (optionally, for now) in one of my projects.
While trying to build on macOS, I noticed that cpptrace isn't yet available in Homebrew. So I thought "how hard can it be" and started writing up a formula, which is currently on a dev branch.
While this works fine, there are a two issues:

ccache is currently a hard dependency. I believe the issue here is that if ccache happens to be installed, but it's not a dependency, then cmake will somehow find the ccache binary, but it won't be in the PATH while building. Making it a hard dependency will put ccache in the PATH. This should be fixed by #184.
A more serious issue is that libdwarf (the formula is called dwarfutils in Homebrew) must be found via pkgconfig, as the formula doesn't installed a CMake config. This is fine for just building cpptrace, but when using cpptrace from another CMake project via find_package, the cpptrace::cpptrace target will try to link -ldwarf, which it doesn't find because it doesn't recall the linker search path from building cpptrace. This should be fixable by adding the original pkg_check_modules call to cpptrace-config-cmake.in and making sure the dependency is correctly resolved. Maybe you have a better idea.

Hello! Thank you for opening this and taking the time to look into a homebrew formula!
Regarding libdwarf, unfortunately I'm not sure the best solution. Even with cmake this stuff is a pain (at least for me). I think what you are suggesting sounds reasonable. The current code checks for a configuration option due to something I encountered when packaging the library for conda.
https://github.com/jeremy-rifkin/cpptrace/blob/124dba5254bd4d396a2f48ab31aac5f6337000ac/cmake/in/cpptrace-config-cmake.in#L17-L19
And easy and safe solution would be to add something similar to facilitate homebrew. Using pkg_check_modules in the config file any time pkg_check_modules is used in the CMakeLists.txt could also be correct though I'd want to test that locally.
P.s.: Nice project, I think I've heard of DwarFS before :)

And easy and safe solution would be to add something similar to facilitate homebrew. Using pkg_check_modules in the config file any time pkg_check_modules is used in the CMakeLists.txt could also be correct though I'd want to test that locally.

Cool, I'll see if I can play with this a bit and come up with a PR. I have the same problem in DwarFS and what I suggested is what worked for me.

P.s.: Nice project, I think I've heard of DwarFS before :)

Thanks! :)
cpptrace helped significantly in the investigation of a recent Windows-specific bug.


Multiple Language Definition Support.

It would be great to have multiple language definitions and glossary management as mentioned in
slack threat https://openmetadata.slack.com/archives/C02DZK3QH8Q/p1652781221405869
@harshach

@chirag-madlani what is the progress so far?

Will be tracking it here: #3474


This one seems to work for the r35s per limited testing from a person on the AmberElec discord.

          This one seems to work for the r35s per limited testing from a person on the AmberElec discord.

rk3326-rg351mp-linux.zip
Originally posted by @christianhaitian in https://github.com/christianhaitian/arkos/issues/782#issuecomment-1710844140

Hi,
Use the ArkOS image available from AeolusUX.  They are customized for the R3xs devices.
https://github.com/AeolusUX/ArkOS-R3XS

Hi, still the same black screen, should I change the DTB file same with the one being used with rf351mp IMage?

With the AeolusUX image, You should not need to change anything, just flash the image to the sd card then boot it

Still same. Black screen. :(
The one that makes a difference is the RG351MP but even when I change the DTB file it still shows white screen only.


New message divider Question

I found that in Room.vue the newMessages array will never got remove, is there any reason?
Since if the newMessages array didn't got remove, the new message divider will keep on the screen.
I added below code in the watcher of messages to remove the newMessages after message been seen, but not sure does it against your original purpose.
messages(newVal, oldVal) {
  newVal.forEach(message => {
    this.newMessages = this.newMessages.filter(n => n._id = message._id && !n.seen)
      if (!messagesValid(message)) {
        throw new Error(
          'Messages object is not valid! Must contain _id[String, Number], content[String, Number] and senderId[String, Number]'
	)
    }
  })
  ...
}

This is the expected behaviour.
The new message divider is displayed above the oldest unseen message, and it will be removed the next time you open this same room.
But I guess we could remove the new message divider once the use scrolled away from it.
Have you checked what is the behaviour of WhatsApp, Telegram, Messenger or Slack?

I checked, I think the expected behaviour should be to remove the new message divider after sending or receiving a new message. Will implement that shortly.

I checked, I think the expected behaviour should be to remove the new message divider after sending or receiving a new message. Will implement that shortly.

Nice to hear that, thank you very much.

Fixed in https://github.com/antoine92190/vue-advanced-chat/commit/2a26e7e0a9f89700d5d22f8317018d7d5b2ec7f0