Add Changeling antagonist

About the PR

The Syndicate now has another weapon in their arsenal, the infamous Changeling!
List of currently implemented features:

DNA Sting, the changeling can use this action on another player to get their DNA
Transform: the changeling can change its physical structure to that of another person whose DNA they have obtained (still implementing, didn't mess with UI stuff yet)
Evolution Menu: the changeling can open a store and spend 10 points (configurable) on abilities that they will use throughout the round
Arm Blade: the changeling can mutate one of their arms to become a sharp blade capable of prying open doors like a crowbar
Absorb DNA: the changeling can absorb all of the DNA of the victim, making them become a DNAless husk (still implementing that last part)

Plans for features:
I plan to implement most or all of the features that TG's changeling has.
Reference: https://tgstation13.org/wiki/Changeling
Media

[ ] I have added videos to this PR showcasing its changes ingame

DNA Sting, Absorb, Transform abilities showcase
https://youtu.be/LDBqbl0Sn6U

Changeling Shop and Arm Blade abilities showcase
https://youtu.be/ox7Hy8k995M

Changelog

:cl:

add: Introducing the Syndicate's latest weapon: the Changelings, masters of shape-shifting prowess.

Hi, I want to ask a question about a script that I had to use from the Polymorph system (https://github.com/space-wizards/space-station-14/blob/master/Content.Server/Polymorph/Systems/PolymorphSystem.Map.cs). This script is going to be very useful for my implementation of the "Transform" ability, because it will work a lot like how polymorphs currently work, with the pauses map. I tried using this class to access these methods, but noticed they are private, so I had to create a copy of this script for my own system for it to work (ChangelingSystem.Map.cs). However, reusing code like that isn't really good practice, so I want to ask how I should approach this problem. Should I extract this part of the class to be something of its own and have both systems use it?

BRAZIL CAMPEAO PENTA NUMERO UNO 🇧🇷 🇧🇷

This feature is large enough that a design doc is required, and additionally "tg did it" is generally not accepted design reasoning here, so you'll need to support and evaluate every feature changelings have that you implement.

I want to ask a question about a code snippet that I had to use from the Polymorph system (https://github.com/space-wizards/space-station-14/blob/master/Content.Server/Polymorph/Systems/PolymorphSystem.Map.cs). This snippet is going to be very useful for my implementation of the "Transform" ability, because it will work a lot like how polymorphs currently work, with the pauses map. I tried using this class to access these methods, but noticed they are private, so I had to create a copy of this script for my own system for it to work (ChangelingSystem.Map.cs). However, copying code like that isn't really good practice, so I want to ask how I should approach this problem. Should I extract this part of the class to be something of its own and have both systems use it?

What prevents you from adapting/expanding Polymorph?

Id probably create some kind of class that PolymorphPrototype inherits from. Kinda like how StoreListing does it. That way, you can just store/specify all the info in there.

This feature is large enough that a design doc is required, and additionally "tg did it" is generally not accepted design reasoning here, so you'll need to support and evaluate every feature changelings have that you implement.

Thank you for your feedback. I will make sure to provide a design document and include each feature that I plan to implement for the Changeling.

What prevents you from adapting/expanding Polymorph?

I just wanted know your opinions on this before messing with it!

Id probably create some kind of class that PolymorphPrototype inherits from. Kinda like how StoreListing does it. That way, you can just store/specify all the info in there.

Interesting idea, I'll look into that!

An arm blade item already exists, as well as chitinous armor
Judging by how you named the changeling armblade "TrueArmBlade" I assume this is intentional?

An arm blade item already exists, as well as chitinous armor
Judging by how you named the changeling armblade "TrueArmBlade" I assume this is intentional?

It is intentional! Before making this PR, I was developing everything in another downstream, and didn't want to mess with the original arm blade prototype, as its missing a component, and I wanted to avoid having merge conflicts if upstream changed it. Now that I separated the code from that repo, I can change it and probably will do so

Re-open if you get a chance on discord.


Lab 08 feedback

@francojc

a. Exploratory analysis involves identifying variables potentially linked to research questions, inspecting data for later analysis, interrogating it to provide quantitative measures using descriptive or unsupervised learning methods, and interpreting the results to evaluate whether they address the research questions effectively.
b. count() automatically groups and ungroups variables as needed.
c. geom_smooth() includes a linear trend line by default.
d. The stopwords list is to exclude common words that may affect the final data.
e. The lemmatize_words() function is effective in treating identical words across multiple variables as the same, yet it requires a lookup table.
f. Dimensionality reduction simplifies features within a dataset, with Principal Component Analysis (PCA) being the most prevalent method.
I find the theory quite understandable; however, the methods section is challenging to grasp, particularly because it involves a lot of statistical or mathematical concepts, such as dimensionality reduction and k-means clustering. I needed to look up additional information for these concepts. Even though I searched online, some explanations include formulas that I haven't learned in my math coursework before.
Because I find it challenging to understand, I mainly rely on information in Chinese. From this video, https://www.xiaohongshu.com/explore/651b1ade000000001e0309fc?app_platform=ios&app_version=8.29&author_share=1&share_from_user_hidden=true&type=video&xhsshare=CopyLink&shareRedId=ODc1NUk-Njo2NzUyOTgwNjY1OTk1OjY9&apptime=1712440474, it discusses aligning data points in the same line by calculating the mean of their x and y values. Moving the data and the point we get according to the (mean) x, and (mean) y to the central point serves to decentralize the data. The line that is closest to all the data points can best describe the distribution of the data. The Pythagorean Theorem can be used to determine this line. Another line perpendicular to the first line can also be found, allowing the lines and data to be switched to establish a new set of x and y axes, forming a new coordinate system.
I don't feel there's anything new I want to learn because I haven't fully understood the current content. So, I came across a video aimed at new learners of exploratory data analysis: https://www.bilibili.com/video/BV1xY411x77p/?spm_id_from=333.337.search-card.all.click&vd_source=f94fa1d4f65b4001146f043fbc7e4b2a. It discusses the purpose of exploratory data analysis and the process involved. It also mentions handling missing data in variables related to research questions by deleting it. Extreme data points are mentioned, suggesting that they may signify abnormalities, especially in small databases where their deletion has minimal impact. The video also covers reading scatter plots and suggests tools for use in exploratory data analysis.

Great job. Yes, the math behind these methods and algorithms can be daunting, especially in formula notation. The most important thing at this point, however, is to have a basic idea of their uses. If you continue to work with these methods, then a deeper dive into the inner workings will likely prove useful.


Adding storybook shows Type '{ class: string; }' is not assignable to type error

I added storybook to my vue project. Once I add I get error in vs code when I set class on an element.
When I do

 I get
Type '{ class: string; }' is not assignable to type
'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
  Property 'class' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
Did you mean 'className'?ts(2322)

When I hover over a div, I see
(property) div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>

in vs code.
This is a vue project with .vue file.
This happens only when I add storybook. To add storybook, the command I used is
npx sb@next init --builder storybook-builder-vite

I don't know what's making vs code assume the code is React

I believe this is related to https://github.com/storybookjs/storybook/pull/16630, and not an issue with the builder itself.

Going to close this, but let me know if you think this is an issue in this project.

@IanVS  Adding this fixed it. See here: johnsoncodehk/volar#592
// tsconfig.json
{
  "compilerOptions": {
    // ...
    "types": [
      "vite/client", // if using vite
      // ...
    ]
  }
}

Hi there, I am facing the same issue, however adding "vite/client" does not do the trick for me.

@khusseini can you please open a new issue and fill out the template?


how do I solve Kivy Launcher recycleview error?

I have wrote a nice code for a mobile app. Usually I run it on Kivy Launcher and most of the time everything goes well. But recently I have added recycleview and now Kivy Launcher doesnt start my app. I use Logcat. When I run it, it says;
ImportError: No module named recyclerview kivy launcher
my Python version is Python 3.7.0.
I think it is going to fail when I convert it to APK with buildozer as well.
my import line is;
from kivy.uix.recycleview import RecycleView

How can I solve it ?

https://play.google.com/store/apps/details?id=org.kivy.pygame&hl=en_US&gl=US
says version <IP_ADDRESS>
https://kivy.org/doc/stable/api-kivy.uix.recycleview.html
says added in 1.10.0
which perhaps explains the message.
when you build the apk specify kivy==2.0.0


Cannot Create Postgres Read_Replica service successfully

I've been trying to create a service  replica via the service integrations option.  Terraform runs and creates the PG service and its replica. Both services go into status "Running" but after the read replica goes into "Running" - Terraform fails  and gives me this error.
│ Error: 403: {"errors":[
    {"message":"Service integrations are not available for this service","status":403}],
"message":"Service integrations are not available for this service"} -
│
│   with aiven_service_integration.pg-readreplica,
│   on main.tf line 49, in resource "aiven_service_integration" "pg-readreplica":
│   49: resource "aiven_service_integration" "pg-readreplica" {

I am using a container with Alpine Linux v3.13.5, terraform 1.0.4 the aiven provider is v2.0.11 (imported by terraform).
I've also tried using Aiven plugin v2.0.0, 2.1.18 and v2.0.11 with terraform form v0.11.14 then v0.14.2 and finally 1.0.4 (latest)
This is the tf file I am using.
terraform {
  required_providers {
    aiven = {
      source  = "aiven/aiven"
      version = "~> 2.0.0"
    }
  }
}

provider "aiven" {
  api_token = "insert-token"
}

data "aiven_project" "test" {
  project = "my-test-project"
}

resource "aiven_pg" "timescaledb" {
  project      = "my-test-project"
  cloud_name   = "timescale-aws-us-east-1"
  plan         = "timescale-basic-100-compute-optimized"
  service_name = "timescaledb-test"

  pg_user_config {
    pg_version = 12          # Choose an available postgres version
    variant    = "timescale" # Do not forget to specify this variant
  }
}

resource "aiven_pg" "pg2" {
  project      = "my-test-project"
  cloud_name   = "timescale-aws-us-east-1"
  plan         = "timescale-basic-100-compute-optimized"
  service_name = "pg-replica"
  pg_user_config {
    variant    = "timescale" # Do not forget to specify this variant
  }
  service_integrations {
    integration_type = "read_replica"
    source_service_name = aiven_pg.timescaledb.service_name
  }
}

resource "aiven_service_integration" "pg-readreplica" {
  project = "my-test-project"
  integration_type = "read_replica"
  source_service_name = aiven_pg.timescaledb.service_name
  destination_service_name = aiven_pg.pg2.service_name
}

Hi @github4es, can you try creating it from scratch with the version v2.1.18? In all previous versions it won't work


Models

Tables load on server.js.
Some new comments on server.js, careful.

J and N lookover - Looks good!


Ordering Service Error Code: 20

When creating an ordering service, I am met with the following error:
REQUEST_ERROR_IN_RESPONSE: POST /api/saas/v3/components failed with 500: Internal Server Error
failed to reconcile node: Code: 21 - failed to initialize orderer node: failed to enroll with CA: Response from server: Error Code: 20 - Authentication failure

@sdejea6  interesting it says it's an authentication issue, that's probably some password or you are using the wrong user to create the service.... you might need to recreate the CA and Orderer.. Please make sure you follow the instructions exactly... it's a bit difficult to troubleshoot these problems and the main solution is to retry the steps

@sdejea6 why is your enroll id ordered?

Closing issue. Everything was okay after rebuilding network.


[pt-br] Localize index page to Portuguese (Brazil)

Changes

Created  /content/pt-br/_index.md
Added the language config to hugo.yaml

Preview
https://deploy-preview-4615--opentelemetry.netlify.app/pt
cc @jpkrohling

/lgtm

cc @igorestevanjasinski

Thank you @edsoncelio and @jpkrohling, looking forward to have a third language in place! :-)
@chalin: please take a look

@chalin please could you give a helping hand to fix this spelling check error?
I'm not sure If I need to create a new spelling check file with the pt-br words or something similar.

Hi @edsoncelio - yes, I'll jump in to help as soon as I can. FYI, note my comment in the #otel-docs-localization Slack: https://cloud-native.slack.com/archives/C076RUAGP37/p1717767428381689:

All: as was discussed during the last Comms meeting, onboarding of new languages will be incremental and slightly throttled back. I’m still trying to ensure that we have the necessary base infrastructure and docs to support new localizations. My focus will be on the support of localizations that have already landed so as to avoid overwhelm and unnecessary churn. This is just a heads up, and is not meant to curb anyone’s enthusiasm! :smile: So if you submit a new localization, and we don’t get to merging it right away, this is why. Cheerio! :sparkles:

Hi @edsoncelio - yes, I'll jump in to help as soon as I can. FYI, note my comment in the #otel-docs-localization Slack: https://cloud-native.slack.com/archives/C076RUAGP37/p1717767428381689:

All: as was discussed during the last Comms meeting, onboarding of new languages will be incremental and slightly throttled back. I’m still trying to ensure that we have the necessary base infrastructure and docs to support new localizations. My focus will be on the support of localizations that have already landed so as to avoid overwhelm and unnecessary churn. This is just a heads up, and is not meant to curb anyone’s enthusiasm! 😄 So if you submit a new localization, and we don’t get to merging it right away, this is why. Cheerio! ✨

I saw it now!
Thanks, no worries!

Please rebase, as I can't from the UI:

Please rebase, as I can't from the UI:

Sure!

@chalin I opened a new PR with the latest changes, I had a lot of conflicts to fix when rebasing.
We can close this one!
https://github.com/open-telemetry/opentelemetry.io/pull/4794

Superseded by #4794. Closing


Bug: match on "ϰϯ" for the regex "ϯ*"

What version of regex are you using?
regex = "1.5.4"
Describe the bug at a high level.
I found a case were the regex matches on something it believe should not.
What are the steps to reproduce the behavior?
#[test]
fn regex_bug() {
    let regex = "ϯ*";
    let input = "ϰϯ";
    let compiled = regex::Regex::new(&regex).unwrap();
    assert!(!(compiled.is_match(input)))
}

What is the actual behavior?
thread 'automata::quickcheck::regex::regex_bug' panicked at 'assertion failed: !(compiled.is_match(input))', src/automata/quickcheck/regex.rs:210:5

What is the expected behavior?
That it does not match for the given input. And therefore does not fail.

ϯ* checks for ϯ zero or more times... so it will always match.

Could you say why you think this should not match?

Because i was working late and mixed up fullmatch vs match.


Empty result when using gpt-4-- models

I've observed that I receive an empty result when utilizing either gpt-4-1106-preview or gpt-4-0125-preview. This issue occurs without any accompanying code, but rather in the context of an explanation.
I've configured custom actions similarly to the default settings, with the modification being the model selection:
{
  "complete_code": {
    "type": "chat",
    "opts": {
      "template": "Complete the following code written in {{lang}} by pasting the existing code and continuing it.\n\nExisting code:\n```{{filetype}}\n{{input}}\n```\n\n```{{filetype}}\n",
      "strategy": "replace",
      "params": {
        "model": "gpt-4-0125-preview",
        "stop": ["```"]
      }
    }
  },
  "grammar_correction": {
    "type": "chat",
    "opts": {
      "template": "Correct this to standard {{lang}}:\n\n{{input}}",
      "strategy": "replace",
      "params": {
        "model": "gpt-4-0125-preview"
      }
    },
    "args": {
      "lang": {
        "type": "string",
        "optional": "true",
        "default": "english"
      }
    }
  },
  "translate": {
    "type": "chat",
    "opts": {
      "template": "Translate this into {{lang}}:\n\n{{input}}",
      "strategy": "replace",
      "params": {
        "model": "gpt-4-0125-preview",
        "temperature": 0.3
      }
    },
    "args": {
      "lang": {
        "type": "string",
        "optional": "true",
        "default": "english"
      }
    }
  },
  "keywords": {
    "type": "chat",
    "opts": {
      "template": "Extract the main keywords from the following text.\n\n{{input}}",
      "strategy": "replace",
      "params": {
        "model": "gpt-4-0125-preview",
        "temperature": 0.5,
        "frequency_penalty": 0.8
      }
    }
  },
  "docstring": {
    "type": "chat",
    "opts": {
      "template": "# An elaborate, high quality docstring for the above function:\n# Writing a good docstring\n\nThis is an example of writing a really good docstring that follows a best practice for the given language. Attention is paid to detailing things like\n* parameter and return types (if applicable)\n* any errors that might be raised or returned, depending on the language\n\nI received the following code:\n\n```{{filetype}}\n{{input}}\n```\n\nThe code with a really good docstring added is below:\n\n```{{filetype}}",
      "strategy": "edit",
      "params": {
        "model": "gpt-4-0125-preview",
        "stop": ["```"]
      }
    }
  },
  "add_tests": {
    "type": "chat",
    "opts": {
      "template": "Implement tests for the following code.\n\nCode:\n```{{filetype}}\n{{input}}\n```\n\nTests:\n```{{filetype}}",
      "strategy": "append",
      "params": {
        "model": "gpt-4-0125-preview",
        "stop": ["```"]
      }
    }
  },
  "optimize_code": {
    "type": "chat",
    "opts": {
      "template": "Optimize the following code.\n\nCode:\n```{{filetype}}\n{{input}}\n```\n\nOptimized version:\n```{{filetype}}",
      "strategy": "edit",
      "params": {
        "model": "gpt-4-1106-preview",
        "stop": ["```"]
      }
    }
  },
  "refactor_code": {
    "type": "chat",
    "opts": {
      "template": "Refactor the following code as Senior Developer.\n\nCode:\n```{{filetype}}\n{{input}}\n```\n\nRefactored version:\n```{{filetype}}",
      "strategy": "edit",
      "params": {
        "model": "gpt-4-0125-preview",
        "stop": ["```"]
      }
    }
  },
  "summarize": {
    "type": "chat",
    "opts": {
      "template": "Summarize the following text.\n\nText:\n\"\"\"\n{{input}}\n\"\"\"\n\nSummary:",
      "strategy": "edit",
      "params": {
        "model": "gpt-4-0125-preview"
      }
    }
  },
  "fix_bugs": {
    "type": "chat",
    "opts": {
      "template": "Fix bugs in the below code\n\nCode:\n```{{filetype}}\n{{input}}\n```\n\nFixed code:\n```{{filetype}}",
      "strategy": "edit",
      "params": {
        "model": "gpt-4-0125-preview",
        "stop": ["```"]
      }
    }
  },
  "explain_code": {
    "type": "chat",
    "opts": {
      "title": " Explain Code",
      "template": "Explain the following code:\n\nCode:\n```{{filetype}}\n{{input}}\n```\n\nUse markdown format.\nHere's what the above code is doing:\n```",
      "strategy": "display",
      "params": {
        "model": "gpt-4-0125-preview",
        "stop": ["```"]
      }
    }
  },
  "roxygen_edit": {
    "type": "chat",
    "opts": {
      "template": "Insert a roxygen skeleton to document this R function:\n\n```{{filetype}}\n[insert]\n\n{{input}}\n\n```",
      "strategy": "prepend",
      "params": {
        "model": "gpt-4-0125-preview",
        "temperature": 0.5,
        "max_tokens": 1024
      }
    }
  },
  "code_readability_analysis": {
    "type": "chat",
    "opts": {
      "strategy": "quick_fix",
      "template": "{{input}}",
      "params": {
        "model": "gpt-4-0125-preview",
        "max_tokens": 2048,
        "messages": [
          {
            "role": "system",
            "content": "\nYou must identify any readability issues in the code snippet.\nSome readability issues to consider:\n- Unclear naming\n- Unclear purpose\n- Redundant or obvious comments\n- Lack of comments\n- Long or complex one liners\n- Too much nesting\n- Long variable names\n- Inconsistent naming and code style.\n- Code repetition\nYou may identify additional problems. The user submits a small section of code from a larger file.\nOnly list lines with readability issues, in the format <line_num>|<issue and proposed solution>\nYour commentary must fit on a single line\nDo not use the range of lines but just single line number\nIf there's no issues with code respond with only: <OK>\n"
          },
          {
            "role": "user",
            "content": "\n0 public class Logic {\n1      public static void main(String[] args) {\n2         Scanner sc = new Scanner(System.in);\n3         int n = sc.nextInt();\n4         int[] arr = new int[n];\n5         for (int i = 0; i < n; i++) {\n6             arr[i] = sc.nextInt();\n7         }\n8         int[] dp = new int[n];\n9         dp[0] = arr[0];\n10         dp[1] = Math.max(arr[0], arr[1]);\n11         for (int i = 2; i < n; i++) {\n12             dp[i] = Math.max(dp[i - 1], dp[i - 2] + arr[i]);\n13         }\n14         System.out.println(dp[n - 1]);\n15     }\n16 }"
          },
          {
            "role": "assistant",
            "content": "\n0: The class name 'Logic' is too generic. A more meaningful name could be 'DynamicProgramming'\n2: The variable name 'sc' is unclear. A more meaningful name could be 'scanner'.\n3: The variable name 'n' is unclear. A more meaningful name could be 'arraySize' or 'numElements'.\n4: The variable name 'arr' unclear. A more descriptive name could be 'inputArray' or 'elementValues'.\n8: The variable name 'dp' is unclear. A more informative name could be 'maxSum' or 'optimalSolution'.\n9: There are no comments explaining the meaning of the 'dp' array values and how they relate to the problem statement.\n11: There are no comments explaining the logic and purpose of the for loop"
          },
          {
            "role": "user",
            "content": "\n0    for (let i: number = 0; i < l; i++) {\n1       let notAddr: boolean = false;\n2       // non standard input\n3       if (items[i].scriptSig && !items[i].addr) {\n4         items[i].addr = 'Unparsed address [' + u++ + ']';\n5         items[i].notAddr = true;\n6         notAddr = true;\n7       }\n8 \n9       // non standard output\n10       if (items[i].scriptPubKey && !items[i].scriptPubKey.addresses) {\n11         items[i].scriptPubKey.addresses = ['Unparsed address [' + u++ + ']'];"
          },
          {
            "role": "assistant",
            "content": "\n0: The variable name 'i' and 'l' are unclear and easily confused with other characters like '1'. More meaningful names could be 'index' and 'length' respectively.\n1: The variable name 'notAddr' is unclear and a double negative. An alternative could be 'hasUnparsedAddress'.\n3: The comment \"non standard input\" is not very informative. It could be more descriptive, e.g., \"Check for non standard input address\"\n9: The comment \"non standard output\" is not very informative. It could be more descriptive, e.g., \"Check for non standard output address\"\n10: The variable name 'items' might be more informative if changed to 'transactions' or 'txItems'.\n11: The array element 'Unparsed address [' + u++ + ']' could use a more descriptive comment, e.g., \"Assign a unique identifier to non standard output addresses\"\n11: The variable name 'u' is unclear. A more meaningful name could be 'unparsedAddressCount' or 'unparsedAddressId'."
          },
          {
            "role": "user",
            "content": "\n0 function BaseAction:init(opts)\n1   self.opts = opts\n2 end"
          },
          {
            "role": "assistant",
            "content": "<OK>"
          }
        ]
      }
    }
  }
}

Here is my config:
  {
    "jackMort/ChatGPT.nvim",
    event = "VeryLazy",
    config = function()
      local chatgpt = require("chatgpt")
      local wk = require("which-key")

      chatgpt.setup({
        actions_paths = { "~/.config/nvim/helpers/actions.json" },
        open_ai_params = {
          model = "gpt-4-0125-preview",
        },
        openai_edit_params = {
          model = "gpt-4-0125-preview",
        },
      })
}

Here how it looks for example optimize_code action:

Same optimize_code action with gpt-4 model:

Hi @jackMort,
I hope you're doing well. I find myself in need of some assistance and was wondering if you could possibly lend me a hand with an issue I'm facing. Your expertise would be greatly appreciated

This problem should be solved after this PR is merged. #396


[0.1.16 rc 3] Look into audio sending twice

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #feedback.

Fixed, my beta branch


[SPARK-5929][PYSPARK] Context addPyPackage and addPyRequirements

What changes were proposed in this pull request?
Context.addPyPackage()
Context.addPyRequirements()
Both of these methods take a package on the master and ship it to the workers when called instead of having to manually install packages on all workers.
How was this patch tested?
Unit tests are written, but I do not believe they accurately reflect a distributed environment. The test_add_py_package is not using addPyPackage and still works. The addRequirementsFile method requires internet access to hit the global pypi server and won't work on the current Jenkins build system.
We have had this patch running at Palantir for about a year in production.

Can one of the admins verify this patch?

So looking back on the predecessor PR it seemed like @davies suggested adding support for specifying these at runtime with spark-submit & it seems like the pip install permissions issue might still be present for testing.

I think having this supported could be very useful :)

Since @andrewor14 got Jenkins to run the earlier iteration of this PR maybe you could do the same here?

I could see the pipBase approach working.
The other testing blocker I have is that it seems like that context that's getting created in the test is able to use local packages. The test package that's created is able to be imported on the workers without distributing it via addPyPackage. https://github.com/apache/spark/pull/12398/files#diff-388a156f4ce454fe98d7a99a0f7f0012R1950
Is there a way to get the mocked workers to not use the master python path?
The pip part is nice, but I think the meat of this PR is in the addPyPackage.
I looked into adding a flag to the CLI, but kind of went down a rabbit hole trying to figure it out. I'd advocate adding it to the CLI, but think someone working in the spark core space could get that integrated much more efficiently than myself.

ok to test
@dvaies

Test build #2967 has started for PR 12398 at commit ce9966e.

Test build #2967 has finished for PR 12398 at commit ce9966e.

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

@buckhx  These API seems useful, could you also add an argument for bin/spark-submit (only for requirement file) ?

Added an addPyPackage example to the docstring and that test formatting. We're looking into adding the spark-submit arg for --py-requirements.
The pip API takes a file path via pip.req.parse_requirements https://github.com/pypa/pip/blob/develop/pip/req/req_file.py#L64 but it looks like it might be possible to take a string and break it out line by with a mock file name via pip.req.process_line & pip.req.preprocess https://github.com/pypa/pip/blob/develop/pip/req/req_file.py#L110

@buckhx Even the pip API only takes a file path, we could write the as temporary file, I think.

@robert3005 added the --py-requirements to spark-submit. I'm looking at passing the requirements as a list or a line delimited string currently.

changed addRequirementsFile to addPyRequirements which takes a list of requirement strings

@davies how's this looking?

Test build #3068 has started for PR 12398 at commit 9c37e06.

Test build #3068 has finished for PR 12398 at commit 9c37e06.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

@buckhx any interest in updating this against master?

@buckhx Just following up to see if this is something you are still interested in working on?

ping @buckhx


Paragraph tags stripped from post text

Sunlit does some processing on the HTML and (I think) in the process strips out some
 tags that are important parts of the formatting. I don't think we should change this for 3.0 because it risks breaking other things, but maybe shortly after.

Might this work as a solution for providing both types:
"content": [{
    "html":"
Tuneresque

",
    "value":"Tuneresque\n\n![Dramatic sunset over Brighton’s West Pier](https://getindiekit.github.io/sandbox/media/photos/2020/08/30/8u53c.jpg)"
}]

i.e. content.html uses HTML, context.value is Markdown (or perhaps what is currently provided?)

This issue is about how Sunlit processes text from the timeline API, so not directly related to Micropub or publishing.

Shall I file a separate bug for this then?

Sure, feel free to file it. I don't think it's clear how best to handle this, because passing separate Markdown-only text (without any HTML tags) will lose some data since Markdown image references can't have width/height/class. So I'm leaning to not changing this for now until there's more feedback from other Micropub implementations. We always recommend that people enable Markdown processing for anything posted from Micro.blog or Sunlit.

Moving this out to 3.2 because it isn't a simple/easy fix. The reason we strip the  tags in the first place is that the html renderer in iOS labels adds a ridiculous amount of whitespace to the bottom of the view.

This isn't going to make the cut for 3.2 mostly because I'm not sure exactly how this should be solved.
To be honest, I'm not sure it's actually a bug or more of a preference. We're never going to keep all html formatting in the Sunlit feed simply because that's not how it was designed to work. It was a conscious decision to strip the  tags because of how NSAttributedStrings (the widget we use to render) handles them. The best suggestion would be to use a  tag instead of a  tag.


Object.assign is not a function in Internet Explorer

Versions:

VueJs: 2.2.1
Vee-Validate: 2.0.0-rc.14

Description:
Internet explorer does not have Object.assign method. Vee-Validate does check for such cases with its isCallable method except one place in /dist/vee-validate.js:L3395 like this.fieldBag = Object.assign({}, flags); as far as I could find.
I have found in the /src/utils.js:L339 a const assign which checks with isCallable if Object.assign is a function or if not gives an implementation to do what Object.assign does. Somehow build output has the above line. In source there are probably a place where Object.assign is used directly instead of const assign.
This line of code can be changed to use const assign accordingly.
Or maybe just wrapping it with a conditional and supplying an alternative case like
if (isCallable(Object.assign)) {
    this.fieldBag = Object.assign({}, flags);
  }
  else {
    this.fieldBag = flags
  }

should solve the issue. It did so in my case.
I prefer the first way.
Steps To Reproduce:
use this lib in the Internet Explorer 11

Can you try upgrading to rc.17, I think this was already fixed.


function calling with structured output using EasyTalk gem.

Define the JSON Schema inside a Ruby class using the EasyTalk gem. Then generate a function with the schema and pass it to the OpenAI's chat method via the tools argument. Run the call and expect valid JSON output.

@sergiobayona Thank you for your effort here. I think the current DSL, enabled by the Langchain::ToolDefinition module is sufficient.


Edit cell(s)?

Is there a plan to ad support for editing cell (or multiple cells at same) values with a callback for handling save logic?

No real plan for that. As I use dedicated modal window for adding/editing data in the row.

Modal is then almost the same as opening a new page with edit form for that record...
We are doing developing a business application which relies heavily on tables. There is often a need to update some columns on a group (multiple) of records. Doing this by opening modal/page to edit a record is very time consuming operation.
Thats why in-line editing in table comes in very handy. Even selecting group of records in column and edit more at once is very nifty feature.
For example here you can see out Angular grid component which is used in our client application and shows similar editing functionalities >> https://www.youtube.com/watch?v=On9eSj_4xzo.
I don't say we need everything but the editing would be 👍.

You can implement an editable input component and use Vuetable's __component special field to use that component.

You can also do that using the __slot option and add handlers to save the data

This works for me
`

    <template slot="actions" scope="props">
        <div class="custom-actions">
            <input/>
        </div>
    </template>

</vuetable>

`

Advice: use html's built-in property contentEditable:
<vuetable ref="vuetable"
      @vuetable:cell-clicked="onCellClick"
/>

onCellClick ({data, field, event}) {
      if (field.editable && cell.contentEditable != 'true') {
        console.log(data, field, event)
        // editable cell:
        let cell = event.target
        cell.contentEditable  = true
        cell.addEventListener('blur', function() {
          data[field.name] = cell.innerText
        });
        cell.focus()
      }
    },


fix(charts/dex): Helm - Versioning

Overview
This PR adapts the versioning of the Helm chart to make it consistent with other project and its internally used comments for versioning.

What this PR does / why we need it
Fixes: https://github.com/dexidp/helm-charts/issues/125.

Special notes for your reviewer
Checklist

[x] Change log updated in Chart.yaml (see the contributing guide for details)
[x] Chart version bumped in Chart.yaml (see the contributing guide for details)
[x] Documentation regenerated by running make docs

Dear maintainers. Does the chart automatically get release to gh-pages?
I assume yes, but in the end, what I'm after is this here:
-    appVersion: 2.39.1
+    appVersion: v2.39.2

Hi @sagikazarmark, is this now ready?

Up @sagikazarmark - any news here?


Open Modal over Another Modal closed

Hi,
I have an Izimodal Open, and when i click on a button of it, i wana open another modal, this another modal is opened, but after it closed previous modal and it selfe, i sow destroy event is triggered....
How can i manage this issue of open modal inside another opened Modal, this two modals are sibling in a Dom...
Best regards.

I'm interested on it too. Any idea?

Same here. I'm about to going crazy trying to solve this.


[FOOTER] Footer social links not working

Description
Footer social link are not working.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I have read the Contributing Guidelines
[X] I have read the Code Of Conduct
[X] I joined onboarding group for knowledge flow and direct conversation and support from admins  Curious Developers Community - Curious Connect
[X] The changes don't break the code
[X] Please attach the screenshots and video of the development work once it is done
[X] If you need any help please join the default  (Google Meet Link)

@abcd-aakarsh you can start working on it

can i work on this issue @thecuriousteam

Hi there, I am an contributor of gssoc 2024 , I can work on this issue , please assign it to me.

Hi there, I'm a beginner at open-source contribution so I want to gain hands-on experience by contributing to this project through GSSOC'24.Please kindly requested to you to assign me this issue .


Project structure

Adds project structure
Adds init command

Users can now successfully initialise a dodl workpsace with dodl init

Adds Makefile

make, make test, make setup and other useful make commands

Adds linter config
Adds pre-commit (with checks and linting) for standardising code.

Closes https://github.com/matthewchivers/dodl/issues/2


Normalize Swift package names

In other places in Github, like in Security Advisories, or the Dependency Graph page, a different naming schema is used.
This means that when we try to find security updates to resolve a certain alert for a dependency, we won't be able to match the dependency with the advisory in the alert, and Dependabot will see it as non vulnerable.
So, normalize the schema to what the rest of GitHub uses.

This will require an update to the smoke tests but other than that I think it's ready.
Open questions:

In the second commit I made an extra change to keep current PR titles using the short name, but we may want to keep the one starting with github.com/.
I used metadata to pass the "identifier" around, since we need to pass that to the swift package update command to update specific packages, and swift does not know about our naming scheme. An alternative to using metadata would be to use a display_name builder like the one for Gradle for example, and deduce it from the long name.

Thoughts?

I believe changing the naming schema here is also going to force users to use the github.com/reactivecocoa/reactiveswift naming schema in their ignore conditions?
I'm not sure that's ideal, but if we go that route, we should also use github.com/reactivecocoa/reactiveswift in PR titles and bodies to not make things more confusing.

We believe the best path forward is to stick to full names, at least for now.
Last open question is regarding the implementation:
I used metadata to pass around the "identifier" dumped by swift package show-dependencies --format join around, since we need to pass identifier to the swift package update and swift package resolve commands to update specific packages, and swift does not know about our naming scheme.
An alternative to using metadata would be to use add some custom logic right before passing it to the package manager (like name.split("/").last).
Letting the package manager "decide" the logic to build the "identifier" for a dependency feels better, but it does require more work to allow passing that metadata around everywhere.

This should go green once https://github.com/dependabot/smoke-tests/pull/112 is merged.

Oh your last comment says exactly the same, so yes we agree!


Add automatic filing of reports of algorithms bugs

done in https://github.com/w3c/strudy/commit/8868fa747337e0f0417260f0f2d4d65eeda20d29


Can't install amd64 version of older terraform on arm64 macOS

I have a project that is still using 0.12.29, which isn't available in arm64 arch for darwin:
$ asdf install terraform 0.12.29
Downloading terraform version 0.12.29 from https://releases.hashicorp.com/terraform/0.12.29/terraform_0.12.29_darwin_arm.zip
Error: terraform version 0.12.29 not found

I'm not sure if you want to special-case darwin_arm to fall back to darwin_amd64, but if not it would be nice to at least be able to manually set my arch via an environment variable so one can do something like ASDF_ARCH=amd64 asdf install terraform 0.12.29 to install the amd64 version.

They don't provide pre-built artifacts for Apple Silicon. I recommend contacting them about that.
https://releases.hashicorp.com/terraform/0.12.29/

Ya, I wouldn't expect them to build darwin_arm64 builds of the older versions of terraform, only the latest ones.  But the amd64 versions work ok under Rosetta so it'd be nice if this plugin fell back to them (or at least allowed one to install them via a forced override of the arch).
FWIW I was able to work around this to install the amd64 version by temporarily putting a hacky uname shim in my path:
$ cat ~/bin/uname
#!/bin/sh
/usr/bin/uname $* | sed s/arm64/amd64/g

You can get rid of the hack by running asdf through Rosetta.

Hah, good point!  For anyone else running into this issue, the work-around is:
arch -x86_64 asdf install terraform 0.12.29
I'll close this issue.


Vite 5 support

There is a breaking change with vite 5: The manifest file generated by vite 5 is located in .vite/manifest.json now. (see https://vitejs.dev/config/build-options.html#build-manifest)

Vite 5 is supported since v5.0.0 :)
I try to keep the major version numbers in sync with Vite. Which version are you on?

Closing this issue, since it should aready work. Feel free to re-open it if you still have problems with Vite 5!


Fix multiple scroll sliders on login page in iOS Safari

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/16625
PROPOSAL: https://github.com/Expensify/App/issues/16625#issuecomment-1493378101
Tests

Test Pinch and zoom

Open app on mWeb Safari/Chrome (make sure to test on iOS 10+ Safari)
Touch 2 fingers and pinch to zoom
Verify that the document should not zoom

Test Double tab to zoom

Open app on mWeb Safari/Chrome (make sure to test on iOS 10+ Safari)
Double tab on the screen to zoom
Verify that the document should not zoom

[ ] Verify that no errors appear in the JS console

Offline tests

QA Steps

Test Pinch and zoom

Open app on mWeb Safari/Chrome (make sure to test on iOS 10+ Safari)
Touch 2 fingers and pinch to zoom
Verify that the document should not zoom

Test Double tab to zoom

Open app on mWeb Safari/Chrome (make sure to test on iOS 10+ Safari)
Double tab on the screen to zoom
Verify that the document should not zoom

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
Chrome
https://user-images.githubusercontent.com/68777211/230602595-e06e2c48-4fc9-4dc0-b9ac-564b2aea88fc.mov
Safari
https://user-images.githubusercontent.com/68777211/230602655-2633a429-6dd9-464a-8da5-ab9a2e4bbc0a.mov

Mobile Web - Chrome
https://user-images.githubusercontent.com/68777211/230602510-7e4c57d3-af4c-47c3-9fc6-560380817584.mp4

Mobile Web - Safari
https://user-images.githubusercontent.com/68777211/230602478-36858269-1f76-4f60-8da2-b59e1b4b2409.mov

Desktop
https://user-images.githubusercontent.com/68777211/230602456-d4861b54-c021-4cf2-9806-7ad0872bef10.mov

iOS
https://user-images.githubusercontent.com/68777211/230610801-d82a194a-e513-416e-ad98-8b539a79c19f.mov

Android
https://user-images.githubusercontent.com/68777211/230602397-8db5762a-4543-4c8e-b350-519e6cec96a2.mp4

@marcochavezf @parasharrajat One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

BUG: iOS Safari: Multi-touch pinch-zoom on a message shows a mini menu.
Steps: Simulator:

Open any report.
Scroll the message history so the message actor's name is in the center of the screen.
Now press 'option+ Click' to show the touch points.
Expand the touch points outwards over the message.
Notice that the menu will show up.

Screen.Recording.2023-04-19.at.5.32.02.AM.mov
This issue can be categorized as unrelated as the mini menu should be hidden on mobile devices. This is very hard to reproduce on staging but I reproduced it once. But because this PR increases the severity of that, it will be considered the root cause.
@marcochavezf Should we solve it here?

I think this is an extreme edge case because a user shouldn't try to zoom in/out on the chat, and if they try, I don't think showing the mini menu is a bad thing. So we shouldn't worry about it.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/marcochavezf in version: 1.3.4-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.4-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Sign-in failures via the web ui

I'm running an urbit on a remote server. I am using nginx to forward any requests to routes beginning with /~ or /=== to <IP_ADDRESS>:8443 using this nginx config.
In this image you see the state of the application just after I entered what I think is the correct code. A narrow gray html element appears

 with no useful content and I don't get signed in.

Another screenshot of me trying the same thing, this time not in incognito mode.

So, if I intentionally enter a bad code, I see the error text that starts with something like: :(<PHONE_NUMBER>260  %exit
If I enter the correct code, I just see that empty gray  element and my urbit emits an error like: [%bad-oryx 'mirres-samleg-bannec-ponfyr--hanpyx-pinmeb-racdec-talser' {}]

The #err codebox is always there I think, tho I'm not sure why it got CSSed to be visible while empty.
What is the devtools Network "Response" view of the request like? E.g. for the %auth-fail one(which is supposed to only happen if your password is wrong):

Also, this might be running into the issues mentioned in #941; don't suppose you're running "nightly" urbit off github?

Yep, I'm running latest master.

Looks like a 401 in the network devtools.

That's the page itself, what about the auth.json XHR request for submitting the code?

Under the response tab I see:

I still see [%bad-oryx 'tanwep-danwyt-rolryp-minbep--togrex-rocsyr-magnyt-lavsyp' {}]   on my urbit.

{ship: "pattus-malsec", code: "tindev-motmec-tilbyt-filsyr",…}
code
:
"-----GOOD CODE-----"
oryx
:
"bitnyl-nortug-fogrum-hacpes--fanwyx-landeg-fasner-racteb"
ship
:
"pattus-malsec"

huh okay 200, that's weird
and the preview/response?
(bad-oryx is cosmetic, though would be an error if we cared more about CSRF; I guess it points to the session not being recognized? But like I can log in from incognito successfully myself)

Preview & Response both say "failed to load response data". It might be that I messed up my nginx config... pasting my current config below.
server {
    listen 80 default_server;
    listen [::]:80 default_server;
    server_name boustro.com www.boustro.com;
    return 301 https://boustro.com$request_uri;
}

server {
    listen 443 http2 default_server;
    listen [::]:443 http2 default_server;
    server_name boustro.com www.boustro.com;

    root /var/www/boustro.com;

    index index.html;

    location /~ {
        proxy_pass http://<IP_ADDRESS>:8443;
        proxy_pass_header  Set-Cookie;
        proxy_pass_header  P3P;
    }

    location /=== {
        proxy_pass http://<IP_ADDRESS>:8443;
        proxy_pass_header  Set-Cookie;
        proxy_pass_header  P3P;
    }

    location / {
        try_files $uri $uri/ =404;
    }

    ssl on;
    ssl_certificate /etc/letsencrypt/live/boustro.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/boustro.com/privkey.pem;
}

By the way, I am being redirected after I submit my code because to see my auth.json?PUT I have to select the Preserve Log option in my devtools. It didn't seem like you had to do that to record the XHR request.

I did not, with the incorrect code it doesn't redirect you anywhere
So it's like getting the response back, parsing it as a success, and refreshing to load the authenticated version of the page. I think you're on the right track with proxy_pass_header Set-Cookie: it looks like the cookie gets set on <IP_ADDRESS>, while you want it on boustro.com

Yep that fixed. I'm a web n00b, sorry.
This config makes everything work:
server {
    listen 80 default_server;
    listen [::]:80 default_server;
    server_name boustro.com www.boustro.com;
    return 301 https://boustro.com$request_uri;
}

server {
    listen 443 http2 default_server;
    listen [::]:443 http2 default_server;
    server_name boustro.com www.boustro.com;

    root /var/www/boustro.com;

    index index.html;

    location /~ {
        proxy_pass http://<IP_ADDRESS>:8443;
        proxy_pass_header  Set-Cookie;
        proxy_pass_header  P3P;
        proxy_cookie_domain <IP_ADDRESS> boustro.com;
    }

    location /=== {
        proxy_pass http://<IP_ADDRESS>:8443;
        proxy_pass_header  Set-Cookie;
        proxy_pass_header  P3P;
        proxy_cookie_domain <IP_ADDRESS> boustro.com;
    }

    location / {
        try_files $uri $uri/ =404;
    }

    ssl on;
    ssl_certificate /etc/letsencrypt/live/boustro.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/boustro.com/privkey.pem;
}

Well, there are a few console errors that still appear while loading resources, but at least the auth works; if I figure out the rest I'll write up what I did in case others want to do something similar. Not sure if a guide like this already exists.


Brew warning about use of deprecated bottle call

I just installed kafka-gitops via brew, and I received the following output:
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the devshawn/kafka-gitops tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/devshawn/homebrew-kafka-gitops/kafka-gitops.rb:8

The installation was successful, but it was printed in the console 3 times.

It looks like this has escalated from a warning to an error. As of Homebrew 3.4.1, I'm unable to tap devshawn/kafka-gitops because of this.
It's caused by this line:
https://github.com/devshawn/homebrew-kafka-gitops/blob/master/kafka-gitops.rb#L8
❯ brew tap devshawn/kafka-gitops
==> Tapping devshawn/kafka-gitops
Cloning into '/usr/local/Homebrew/Library/Taps/devshawn/homebrew-kafka-gitops'...
remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 42 (delta 17), reused 25 (delta 6), pack-reused 0
Receiving objects: 100% (42/42), 10.00 KiB | 5.00 MiB/s, done.
Resolving deltas: 100% (17/17), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/devshawn/homebrew-kafka-gitops/kafka-gitops.rb
kafka-gitops: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the devshawn/kafka-gitops tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/devshawn/homebrew-kafka-gitops/kafka-gitops.rb:8

Error: Cannot tap devshawn/kafka-gitops: invalid syntax in tap!

I was attempting the install kafka-gitops via brew but I am getting the same error:
`brew install kafka-gitops
Error: kafka-gitops: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the devshawn/kafka-gitops tap (not Homebrew/brew or Homebrew/core):
/usr/local/Homebrew/Library/Taps/devshawn/homebrew-kafka-gitops/kafka-gitops.rb:8`

It seems like this issue has now been escalated to an error.

Receiving objects: 100% (42/42), 10.00 KiB | 10.00 MiB/s, done.
Resolving deltas: 100% (17/17), done.
remote: Total 42 (delta 17), reused 25 (delta 6), pack-reused 0
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/devshawn/homebrew-kafka-gitops/kafka-gitops.rb
kafka-gitops: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the devshawn/kafka-gitops tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/devshawn/homebrew-kafka-gitops/kafka-gitops.rb:8

Error: Cannot tap devshawn/kafka-gitops: invalid syntax in tap!


Imports for shortcodes doesn't work suddenly

Suddenly, the shortcodes stopped working.
I have errors like this and I can complete the build:
failed to extract shortcode: template for shortcode "changelog" not found
I use andromeda premium theme.

@skaftanis Are you still facing this problem?

I fixed it using the following command (many times).
hugo mod clean && hugo mod get -u ./... && hugo mod tidy

Yes you are right. We need to clear Hugo Mod cache; That's what you did. Thanks for your feedback.


Use new Travis CI infrastructure

Should speed up the build a bit... http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
Signed-off-by: Chris Aniszczyk<EMAIL_ADDRESS>

@caniszczyk Any idea why this is failing for openjdk 6 and 7?

sorry about attribution, but everybody knows this was yours :)
09a35015cff6b10a577d1d610f173c2c74266da7

openjdk 7 build unfortunately still gets killed, but that was also the case prior https://travis-ci.org/twitter/zipkin/jobs/68721928
0.65s$ ./bin/sbt ++$TRAVIS_SCALA_VERSION clean test
downloading sbt-launch.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1188k  100 1188k    0     0  7026k      0 --:--:-- --:--:-- --:--:-- 20.3M
*** buffer overflow detected ***: java terminated


[After #1181] More graph device

I can't reproduce the failing test on my machine. It looks like sorted isn't doing the right thing, which is weird.

At the sync meeting we decided to put this in contrib.

@bryano  Please QubitId -> Qid.

Still blocked on the Qid change, and getting very stale. I'll close in two weeks if there are no updates.

@Strilanc PTAL


Create hack/verify-zonal.sh

Create script to ensure that the generated zonal.tf is in sync with regional.tf.

I think this can be closed?


Booster in enemy shuffle pool

Reported by AaronDobbe.  They reportedly saw Booster in the Bowser's Keep revisit in a normal battle.  They ran instead of fighting, but defeating him may cause issues.

Seed<PHONE_NUMBER>: http://randomizer.smrpgspeedruns.com/h/Qhjjl2Apxg
Clips:
https://clips.twitch.tv/ImportantSleepyShallotTriHard?tt_medium=creation
https://clips.twitch.tv/DeterminedFairLeopardPJSugar

Introducing explicit boss enemy list instead of trying to detect this based on enemy properties to see if this addresses the problem.

Confirmed: Booster (and Hidon!) lost the death event flag that identified them as bosses in the old logic, so they were shuffled with the regular enemy formations.
Fix: Introduced a list of explicit boss indexes so enemies are marked as bosses independent of any logic.


⚠ Bofrost.fr has degraded performance

In 4a8fce4, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1569 ms

Resolved: Bofrost.fr performance has improved in 134a197 after 6 minutes.


macOS Support

Xamarin.Forms.MacOs would be great 💕

Sorry, i have time to support only iOS and Android :(
I will be superhappy to receive a pr, tho. Maybe someone expert in macOS can help and create a pull request' :)
The fact is that ios/macos does not support shared transitions out of the box. So is very time consuming to create them by hand

So i changed my mind with this. As soon as the UWP implementation is done i will start with MacOS.
The plan is to support more platform possible and the switch everything to the XamarinCommunityToolkit if they want my messy code :)

Closing this, i'm going to support Mac Catalyst in maui, i will not add new features to the xforms version


Create Tests

Tests for:

[X] *
[X] ?
[X] []
[X] |
[ ] ()

https://github.com/okapi-web/php-wildcards/commit/ff7eb9380a4ebbf65d709b6d89eab23c26aedfd9


No update-products.sh for Bitstamp

Hi,
Bitstamp just started trading ETH pairs and there's no transaction cost this month, so I was hoping to get on the action.
How do I get the bot to add the selectors for this?

https://www.bitstamp.net/api/
Has no API function to retrieve asset pairs. If you need a currency pair added, edit productlist.json manually

@procmail, @cmroche
I think nedievas created a PR for this yesterday

Yes you are right, ETH trading pairs added on https://github.com/carlos8f/zenbot/pull/485


Unable to compile after v<IP_ADDRESS>6

https://github.com/go-xorm/xorm/commit/f9e450f3488d71533ac3acd3f8f5cf441c61dea9
[root@8b774f86244f /]# go version
go version go1.4.2 linux/amd64
[root@8b774f86244f /]# go get github.com/go-xorm/xorm
# github.com/go-xorm/xorm
opt/go/src/github.com/go-xorm/xorm/session.go:1789: col.SQLType.IsJson undefined (type core.SQLType has no field or method IsJson)
opt/go/src/github.com/go-xorm/xorm/statement.go:420: col.SQLType.IsJson undefined (type core.SQLType has no field or method IsJson)
opt/go/src/github.com/go-xorm/xorm/statement.go:525: col.SQLType.IsJson undefined (type core.SQLType has no field or method IsJson)

I got the same problem.

Hi, I missed push github.com/go-xorm/core just now. Please go get -u github.com/go-xorm or go get -u github.com/go-xorm/core.

thank you


Issue #10 Solved

Now i have set a message line below the text area which show the user remaining characters.
#10 issue Solved

I think we should increase the max characters to 10K. Usually, a Statement of Purpose is 1000 "words" long

Okay then i will set the characters limit to 10k .


Specify browserslist config file through an environment variable

Hey,
As per https://github.com/postcss/autoprefixer/issues/420:
I find clogging up the project root with dozens of config files is a little shabby. Browserslist takes an env variable for setting the list. A similar variable for setting the file to read would be useful.

Hm. We can add BROWSERSLIST_PATH env.
But maybe BROWSERSLIST env with browsers is better?

Well, one can set BROWSERSLIST=$(cat "$BROWSERSLIST_PATH") in theory...
I dunno. Probably both wouldn't be bad given that so many other tools provide a way to set their RC file via an env variable.

I actually tried the above with:
BROWSERSLIST=$(cat ./config/browserslist) ./node_modules/.bin/autoprefixer -i

I'm still not getting the proper output that I do when I move ./config/browserslist to the root. Am I doing this right?

Nope. BROWSERSLIST accepts chrome 10, ie 5 with commas.
You not use ./config/browserslist in your case. Better add some variable and use it in build tool.

Ah, that's.. a little inconsistent. I'd rather have a proper file with comments etc. if possible, so I take it that leaves only the path variable proposal as the solution?

OK. I will add BROWSERSLIST_PATH var.

config option was added 7cfb7f8

BROWSERSLIST_CONFIG was added too 2e3c919

Can confirm it works. Thanks!


add store and recover framework id

Current coverage is 45.32% (diff: 100%)

Merging #121 into master will increase coverage by 1.65%

@@             master       #121   diff @@
==========================================
  Files            16         16
  Lines          8909       8909
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3891       4038   +147
+ Misses         4013       3854   -159
- Partials       1005       1017    +12

Powered by Codecov. Last update aaace15...505e5a7

LGTM

LGTM


Season 2 Update Patch 3

Added "R1 Shadowhunter" special weapon
Changelog
- Added Season 2 weapon

Added "R1 Shadowhunter" special weapon

Note 1: This special weapon includes different challenges than the previous special weapon that I can't add to the code, cause frankly, I don't know how to add separate challenge for certain weapons.
R1 Shadowhunter Challenges

Spray: Kill 30 enemies with the R1 Shadowhunter in Multiplayer
Stripes: Get 50 Longshot metals with the R1 Shadowhunter in Multiplayer
Classic: Get 2 kills without dying 20 times with all kills coming from R1 Shadowhunter in Multiplayer
Geometric: Destroy 50 Equipment, Scorestreaks, or vehicles in Multiplayer
Flora: Shoot and kill 50 enemies taking cover from you in Multiplayer
Science: Destroy 3 Scorestreaks or enemy vehicles in a single match 10 times in Multiplayer
Psychadelic: Kill 2 or more enemies rapidly 25 times in Multiplayer

Note 2: I noticed that my commits on my fork were behind and I attempted to go to the latest commit and now it says I'm ahead in commits than yours, so can you make sure I didn't break your website lol, everything looked fine on the localhost though.

Changing the camouflage requirement for a specific weapon is fairly easy. Take the "Spray" camouflage for example. In the camouflages.js file you would add the name of the specific weapon in the category object after the default key. Like so:
{
    name: 'Spray',
    requirements: {
     // ...

      'Special': {
        default: '50 Kills',
        'R1 Shadowhunter': '30 Kills'
      },

      // ...
    }
  },

Because by looking at the tooltip method camoTooltip(...) in Weapons.vue it runs a conditional if the weapon has any specific requirement or if it should just use the default value. See below:
camoTooltip(category, camo, weapon) {
    let requirement = this.$store.state.camouflages.find(c => c.name === camo).requirements[category];
    return `${ camo } - ${ requirement[weapon] ? requirement[weapon] : requirement.default }`;
}

I'll fix that for now, but could be good to know for future updates!
Also, regarding your second note, it just looks like you didn't get the latest commit I did to the master branch and those changes are brought in with your pull-request. So everything should be fine! 😄

Thanks for letting me know!


how to set region for checkpoint table?

library is creating checkpoint tables ("DynamoDBCrossRegionReplication*") in the default region (us-east-1 for me), and not in the region of the source (?) table.
I tried setting AWS_REGION env var, AWS_DEFAULT_REGION, ~/.aws/credentials do not have a default region... no matter which region end point I chose as source, or what I put into AWS_%REGION env vars, checkpoint tables always end up in in us-east-1.
how to configure this?

Checkpoint table for KCL will be created in the same region as the EC2 instance region, please see:
https://github.com/awslabs/dynamodb-cross-region-library/blob/master/src/main/java/com/amazonaws/services/dynamodbv2/streams/connectors/CommandLineInterface.java#L119
and
https://github.com/awslabs/dynamodb-cross-region-library/blob/master/src/main/java/com/amazonaws/services/dynamodbv2/streams/connectors/DynamoDBConnectorUtilities.java#L116
If you are not running the utility from an EC2 instance the default is us-east-1.


Job runs at weird times

I have a job that is supposed to run every day at 8pm, but it runs roughly twice every other day:
$ jobber -v
1.3.4

$ lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic

$ uname -r
4.18.0-16-generic

$ date
Tue Apr  2 09:55:41 EDT 2019

$ jobber list
NAME                    STATUS  SEC/MIN/HR/MDAY/MTH/WDAY  NEXT RUN TIME              NOTIFY ON SUCCESS  NOTIFY ON ERR  NOTIFY ON FAIL  ERR HANDLER
daily_screenshot        Good    0 0 20 * * *              Apr  1 20:00:00 -0400 EDT  false              false          true            Continue

$ jobber log
TIME                  JOB               SUCCEEDED  RESULT
Mar 31 22:04:34 2019  daily_screenshot  true       Good
Mar 29 21:39:27 2019  daily_screenshot  true       Good
Mar 27 21:14:05 2019  daily_screenshot  true       Good
Mar 25 22:47:23 2019  daily_screenshot  true       Good
Mar 23 20:00:00 2019  daily_screenshot  true       Good
Mar 23 17:05:12 2019  daily_screenshot  true       Good
Mar 21 20:00:00 2019  daily_screenshot  true       Good
Mar 21 18:37:43 2019  daily_screenshot  true       Good
Mar 19 20:00:00 2019  daily_screenshot  true       Good
Mar 19 17:09:11 2019  daily_screenshot  true       Good

Ah man, I hate bugs like this.

Sorry for the massive delay. Are you still seeing this?

Looks like it:
% jobber -v
1.3.4

% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:        19.10
Codename:       eoan

% uname -r
5.3.0-51-generic

% date
Mon May 25 20:13:13 EDT 2020

% jobber list
NAME                    STATUS  SEC/MIN/HR/MDAY/MTH/WDAY  NEXT RUN TIME              NOTIFY ON SUCCESS  NOTIFY ON ERR  NOTIFY ON FAIL  ERR HANDLER
daily_screenshot        Good    0 0 20 * * *              May 25 20:00:00 -0400 EDT  false              false          true            Continue

% jobber log
TIME                  JOB               SUCCEEDED  RESULT
May 25 10:29:51 2020  daily_screenshot  true       Good
May 24 11:26:09 2020  daily_screenshot  true       Good
May 21 20:00:00 2020  daily_screenshot  true       Good


New test files

It would be of great help if more test wdf files can be included in the repo to debug different WiRE versions / data types. @expert-git

sorry, because of security, I can't share file right now, but I will try.

I'm definitely fine with that. feel free to close the issue if it is infeasible.

Thanks for understanding. I am closing issue.

It would be good to add a test suite too. I should be able to help with sourcing test file - I am not acquiring the data myself but I can ask someone else to provide these files.

@ericpre Thanks for your help!

I am going to provide more example files, but couldn't push because of file size limit.

@alchem0x2A I created new PR and uploaded some example files, but I see there are issues on this repo and would like to update.

hi @expert-git thanks for your file uploads! To keep the size of our repo I would prefer to only provide the wdf files as optional binary release assets for downloading https://github.com/alchem0x2A/py-wdf-reader/releases/tag/binary.
Currently I'm busy with other personal things so updating will be delayed, I'll let you know once there I merge your test files with the master branch. If you have example codes to add please feel free to update your PR. thanks again!

Thanks for response @alchem0x2A
I have got two problems.

MeasurementType in types.py is not correct.
In order to compare with .wdf and .spc data, I tried to upload both of two files. spc file was generated by software from .wdf file, so it will be helpful to catch issues what's wrong.
extracting spectra data is not accurate
one value is missing, so it's necessary for me to contact and share some knowledges.


rowDisplayConditions is missing as a type in ContentDialog

Describe the bug
in the npm version of this plugin, the rowDisplayConditions is not part of the contentDialog type.
To Reproduce
Steps to reproduce the behavior:

download the npm version of the beeEditor

Try to insert the following as part of contentDialog in the BeeConfigs
	rowDisplayConditions: {  	label: 'Custom text for display conditions',  	handler: function(resolve, reject) {  		// Your function  	}  },

You get a TS error saying that this is not part of ContentDialog even though the docs showcase it
https://docs.beefree.io/beefree-sdk/advanced-options/content-dialog#how-it-works

Hi @cruzayye - We have an internal Jira task open for this item and we'll post back here once it's released.


The Clippy "large_enum_variant" warnings fix

This change fixes the clippy warning related "large enum variant", the fix boxes KademliaEvent and updates the relevant code accordingly.

Description

Fixes pyrsia/pyrsia#
This PR does... by accomplishing... and it can be reviewed by... you can also test the changes by running...
Screenshots (optional)
PR Checklist

[x] I've read the contributing guidelines.
[x] I've read "What is a Good PR?"
[x] I've included a good title and brief description along with how to review them.
[x] I've linked any associated an issue.

Code Contributions

[x] I've built the code cargo build --all-targets successfully.
[x] I've run the unit tests cargo test --workspace and everything passes.

@tiainen @fishseabowl Alternative solution to the clippy problem.


directConnect - any known performance gain/loss?

In Chrome and Firefox I can use directConnect: true and it'll connect directly to the Chrome/Firefox driver (so I don't need to call webdriver-manager start)
Is there any performance benefit (or loss) when using directConnect? Or is it just for convenience?
Raising it as an issue as the documentation left me confused as to why I'd want to use it (or not).

The benefit (as I understand it) is not needing to spin up a selenium server to run your tests. That means anywhere from a 10 to 40 second savings for me depending on the machine. I think it shines for quick local testing. Feel free to open a PR with clarification in the documentation if you want.

Thanks @NickTomlin - appreciate the input.
Locally, webdriver-manager start seems to get Selenium server up and running in less than a couple of seconds, so less of an impact for me :)
I'm wondering if there's any speed benefit while running the tests, but I'm guessing it's so-small-it's-insignificant if there's any at all.

I think related to the performance gains of running tests is reliability. Do we gain or lose reliability by using directConnect? If you save seconds on successful runs but lose minutes on failures, then failures have to be rare for the success savings to be worth it.
I'd gladly use the slightly slower method if it meant a huge boost in reliability.

It's all described here http://www.protractortest.org/#/server-setup.
Specifically the last line says: "The advantage of directly connecting to browser drivers is that your test scripts may start up and run faster."
This means if the standalone server starts very quickly for you, and you don't mind running another command before protractor, then there is no difference.
On the other hand, if you need to run Protractor tests multiple times, it might be better to have a standalone server running in the background already so it doesn't need to load with every test run. Against the difference is trivial. Hope that helps.

Thanks @hankduan
Would be nice to include a note in the example config file which is where I'd looked for info.


cannot start without a valid service runner url set

Describe the bug
Cannot start jade explorer without valid service runner url set
ideally i should be able to start explorer and then us rpcUrl=. currently it errors trying to get to service runner.
To Reproduce
Steps to reproduce the behavior:

npm start
do not start any service runner
localhost:3000?rpcUrl=<any>
See error

Screenshots

:tada: This issue has been resolved in version 1.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Camera init sequence did not complete

I have the same problem as this: https://github.com/raspberrypi/picamera2/issues/300 , with the difference I have installed the picamera2 on a docker container, but I tried opening python from the terminal INSIDE docker and the picamera2 is imported and everything is ok, but when I run my whole project, where my python file for the camera is, I get this error. I made everything this issue (#300) explain, but it's still the same. I didn't installed picamera2 with pip, actually on my container I have it like it is recommended on github page.

This is the output for uname -a :

The only difference I can see is that I don't have any output with dmesg | grep ov5 , but this is the output from cat /etc/os-release

I've been working through this issue many days and it's for my job, that's why I'm asking for help. Has anyone any idea about what to try? Thanks!!
Originally posted by @Cande8a in https://github.com/raspberrypi/picamera2/issues/300#issuecomment-1296919939

Hi, can you post the Dockerfile you used and I'll try and have a look.
It sounds like you installed in the Docker container, via apt?

Hi @chrisruk  thanks for your wuick response..
I can't send all the file for reproduction problems in my work, but this is what I've made regarding picamera2, I hope it would be enough to you.
RUN echo deb http://archive.raspberrypi.org/debian/ bullseye main | tee /etc/apt/sources.list.d/raspberrypi.list
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7FA3303E
RUN apt-get update -y
RUN apt-get upgrade -y

RUN apt install -y python3-picamera2 --no-install-recommends

Thanks in advance!

Sorry, I forgot this picture: output from libcamera-hello

Thanks, also what image are you using?

an image for arm64 on app, and redis on services. On my image for arm64 I call for all the installations for my requirements

I found a few things that where useful -

https://forums.raspberrypi.com/viewtopic.php?t=325755 (the bottom post here)
https://github.com/balena-io-experimental/libcamera-apps
https://github.com/balena-io-library/base-images/blob/master/balena-base-images/amd64/ubuntu/focal/run/entry.sh

Used the following from the raspberry pi forum post -
docker run -it --rm --privileged -v /dev/:/dev/ --env UDEV=1 --device /dev:/dev --entrypoint /bin/bash <IMAGE>

I then did in the container
apt install udev
unshare --net /lib/systemd/systemd-udevd --daemon &> /dev/null
udevadm trigger &> /dev/null
udevadm control --reload

Then did
from picamera2 import Picamera2
picam2 = Picamera2()
picam2.start_and_capture_file("test.jpg")

There will be security implications of mapping all of /dev and using privileged.

Thank you so much @chrisruk !! I will read all of this and let you know if it's working. I'm also not so experienced with docker, but it's the way I need to do it.

Thanks @chrisruk !!


Watchdog sometimes doesn't trigger the restart of raspimjpeg and camera

Watchdog sometimes (it happens randomly every one or two days) doesn't trigger the restart of raspimjpeg, it doesn't even run the startstop macro, so the camera gets freezed, this is the extracted part of the log showing this:
{2024/07/17 23:45:43} DEBUG 3
{2024/07/17 23:46:05} Watchdog detected problem. Stopping
{2024/07/17 23:46:21} SIGINT/SIGTERM received, stopping
{2024/07/17 23:46:22} Executing macro /var/www/cam/macros/startstop.sh "watchdog"
{2024/07/17 23:46:30} RaspiMJPEG Version 5.10.2
{2024/07/17 23:46:30} Executing macro /var/www/cam/macros/startstop.sh "start"
...
{2024/07/18 05:10:17} Watchdog detected problem. Stopping
{2024/07/18 05:10:17} SIGINT/SIGTERM received, stopping

as you can see yesterday evening a watchdog event restarted raspimjpeg and triggered the startstop.sh script, but this night it did not, so this morning I've found the camera freezed at 05:10 AM.
Why watchdog don't work sometimes? How to fix? If someone can point me on the files that should trigger raspimjpeg restart I might have a look there.
info on my system is on another post
my startstop.sh script:
#!/bin/bash
echo $1`date +_\%Y_\%m_\%d_\%H_\%M_\%S` >> /var/www/cam/macros/startstop.log
if [ "$1" == "watchdog" ]; then
	echo "watchdog restart" > /var/www/cam/macros/watchdog`date +_\%Y_\%m_\%d_\%H_\%M_\%S`.log 2>&1
#	sudo systemctl reboot
#	sudo pkill -9 raspimjpeg
fi

My script just outputs a file with the time when the watchdog happened but there is no file when the camera freezed, indicating that the script was not triggered:
-rw-r--r-- 1 www-data www-data      17 Jul 16 20:29 watchdog_2024_07_16_20_29_05.log
-rw-r--r-- 1 www-data www-data      17 Jul 16 20:48 watchdog_2024_07_16_20_48_06.log
-rw-r--r-- 1 www-data www-data      17 Jul 17 13:14 watchdog_2024_07_17_13_14_14.log
-rw-r--r-- 1 www-data www-data      17 Jul 17 23:46 watchdog_2024_07_17_23_46_22.log

more log:
{2024/07/18 02:22:31} send smd 1
[2024/07/18 02:22:31] Start capture requested from Pipe
[2024/07/18 02:22:31] Send ca 1
{2024/07/18 02:22:31} Capturing started
{2024/07/18 02:22:42} send smd 0
[2024/07/18 02:22:42] Stop capture requested
[2024/07/18 02:22:42] Send ca 0
{2024/07/18 02:22:42} Capturing stopped
{2024/07/18 02:22:43} Add /var/www/cam/media/vi_1224_20240718_022231.mp4 to Box Queue at pos 9
{2024/07/18 02:22:43} DEBUG 3
{2024/07/18 02:22:43} Start boxing /var/www/cam/media/vi_1224_20240718_022231.h264 to /var/www/cam/media/vi_1224_20240718_022231.mp4 Queue pos 9
{2024/07/18 02:22:44} Finished boxing /var/www/cam/media/vi_1224_20240718_022231.mp4 from Box Queue at pos 9
{2024/07/18 02:22:44} Removed item from Box Queue
[2024/07/18 02:23:18] Scheduled management tasks. Next at<PHONE_NUMBER>
[2024/07/18 02:23:18] Purged 10 Files
{2024/07/18 02:23:30} DEBUG 3
{2024/07/18 02:23:30} DEBUG 2: 0, 1
{2024/07/18 02:23:30} Error: Error in iframe list
{2024/07/18 02:23:30} Executing macro /var/www/cam/macros/error_soft.sh "Error in iframe list"
{2024/07/18 02:24:11} send smd 1
[2024/07/18 02:24:11] Start capture requested from Pipe
[2024/07/18 02:24:11] Send ca 1
{2024/07/18 02:24:12} Capturing started
{2024/07/18 02:24:26} send smd 0
[2024/07/18 02:24:26] Stop capture requested
[2024/07/18 02:24:26] Send ca 0
{2024/07/18 02:24:26} Capturing stopped
{2024/07/18 02:24:26} Add /var/www/cam/media/vi_1225_20240718_022412.mp4 to Box Queue at pos 10
{2024/07/18 02:24:27} Start boxing /var/www/cam/media/vi_1225_20240718_022412.h264 to /var/www/cam/media/vi_1225_20240718_022412.mp4 Queue pos 10
{2024/07/18 02:24:27} DEBUG 3
{2024/07/18 02:24:28} Finished boxing /var/www/cam/media/vi_1225_20240718_022412.mp4 from Box Queue at pos 10
{2024/07/18 02:24:28} Removed item from Box Queue
{2024/07/18 02:24:30} send smd 1
[2024/07/18 02:24:30] Start capture requested from Pipe
[2024/07/18 02:24:30] Send ca 1
{2024/07/18 02:24:30} Capturing started
{2024/07/18 02:24:44} send smd 0
[2024/07/18 02:24:44] Stop capture requested
[2024/07/18 02:24:44] Send ca 0
{2024/07/18 02:24:44} Capturing stopped
{2024/07/18 02:24:44} Add /var/www/cam/media/vi_1226_20240718_022430.mp4 to Box Queue at pos 11
{2024/07/18 02:24:45} Start boxing /var/www/cam/media/vi_1226_20240718_022430.h264 to /var/www/cam/media/vi_1226_20240718_022430.mp4 Queue pos 11
{2024/07/18 02:24:45} DEBUG 3
{2024/07/18 02:24:46} Finished boxing /var/www/cam/media/vi_1226_20240718_022430.mp4 from Box Queue at pos 11
{2024/07/18 02:24:46} Removed item from Box Queue
{2024/07/18 02:25:31} DEBUG 3
{2024/07/18 02:25:31} DEBUG 2: 0, 1
{2024/07/18 02:25:31} Error: Error in iframe list
{2024/07/18 02:25:31} Executing macro /var/www/cam/macros/error_soft.sh "Error in iframe list"
{2024/07/18 02:27:12} send smd 1
[2024/07/18 02:27:12] Start capture requested from Pipe
[2024/07/18 02:27:12] Send ca 1
{2024/07/18 02:27:13} Capturing started
{2024/07/18 02:27:25} send smd 0
[2024/07/18 02:27:25] Stop capture requested
[2024/07/18 02:27:25] Send ca 0
{2024/07/18 02:27:25} Capturing stopped
{2024/07/18 02:27:25} Add /var/www/cam/media/vi_1227_20240718_022713.mp4 to Box Queue at pos 12
{2024/07/18 02:27:26} Start boxing /var/www/cam/media/vi_1227_20240718_022713.h264 to /var/www/cam/media/vi_1227_20240718_022713.mp4 Queue pos 12
{2024/07/18 02:27:26} DEBUG 3
{2024/07/18 02:27:27} Finished boxing /var/www/cam/media/vi_1227_20240718_022713.mp4 from Box Queue at pos 12
{2024/07/18 02:27:27} Removed item from Box Queue
{2024/07/18 02:28:13} DEBUG 3
{2024/07/18 02:28:13} DEBUG 2: 0, 1
{2024/07/18 02:28:13} Error: Error in iframe list
{2024/07/18 02:28:13} Executing macro /var/www/cam/macros/error_soft.sh "Error in iframe list"
{2024/07/18 02:43:57} send smd 1
[2024/07/18 02:43:57] Start capture requested from Pipe
[2024/07/18 02:43:57] Send ca 1
{2024/07/18 02:43:57} Capturing started
{2024/07/18 02:44:09} send smd 0
[2024/07/18 02:44:09] Stop capture requested
[2024/07/18 02:44:09] Send ca 0
{2024/07/18 02:44:09} Capturing stopped
{2024/07/18 02:44:09} Add /var/www/cam/media/vi_1228_20240718_024357.mp4 to Box Queue at pos 13
{2024/07/18 02:44:09} Start boxing /var/www/cam/media/vi_1228_20240718_024357.h264 to /var/www/cam/media/vi_1228_20240718_024357.mp4 Queue pos 13
{2024/07/18 02:44:10} DEBUG 3
{2024/07/18 02:44:10} Finished boxing /var/www/cam/media/vi_1228_20240718_024357.mp4 from Box Queue at pos 13
{2024/07/18 02:44:10} Removed item from Box Queue
{2024/07/18 02:44:56} DEBUG 3
{2024/07/18 02:44:56} DEBUG 2: 0, 1
{2024/07/18 02:44:56} Error: Error in iframe list
{2024/07/18 02:44:56} Executing macro /var/www/cam/macros/error_soft.sh "Error in iframe list"
{2024/07/18 03:13:24} send smd 1
[2024/07/18 03:13:24] Start capture requested from Pipe
[2024/07/18 03:13:24] Send ca 1
{2024/07/18 03:13:24} Capturing started
{2024/07/18 03:13:35} send smd 0
[2024/07/18 03:13:35] Stop capture requested
[2024/07/18 03:13:35] Send ca 0
{2024/07/18 03:13:35} Capturing stopped
{2024/07/18 03:13:35} Add /var/www/cam/media/vi_1229_20240718_031324.mp4 to Box Queue at pos 14
{2024/07/18 03:13:35} Start boxing /var/www/cam/media/vi_1229_20240718_031324.h264 to /var/www/cam/media/vi_1229_20240718_031324.mp4 Queue pos 14
{2024/07/18 03:13:36} DEBUG 3
{2024/07/18 03:13:36} Finished boxing /var/www/cam/media/vi_1229_20240718_031324.mp4 from Box Queue at pos 14
{2024/07/18 03:13:36} Removed item from Box Queue
{2024/07/18 03:14:23} DEBUG 3
{2024/07/18 03:14:23} DEBUG 2: 0, 1
{2024/07/18 03:14:23} Error: Error in iframe list
{2024/07/18 03:14:23} Executing macro /var/www/cam/macros/error_soft.sh "Error in iframe list"
[2024/07/18 03:23:19] Scheduled management tasks. Next at<PHONE_NUMBER>
[2024/07/18 04:23:20] Scheduled management tasks. Next at<PHONE_NUMBER>
{2024/07/18 05:08:00} send smd 1
[2024/07/18 05:08:00] Start capture requested from Pipe
[2024/07/18 05:08:00] Send ca 1
{2024/07/18 05:08:00} Capturing started
{2024/07/18 05:08:12} send smd 0
[2024/07/18 05:08:12] Stop capture requested
[2024/07/18 05:08:12] Send ca 0
{2024/07/18 05:08:12} Capturing stopped
{2024/07/18 05:08:12} Add /var/www/cam/media/vi_1230_20240718_050800.mp4 to Box Queue at pos 15
{2024/07/18 05:08:12} DEBUG 3
{2024/07/18 05:08:12} Start boxing /var/www/cam/media/vi_1230_20240718_050800.h264 to /var/www/cam/media/vi_1230_20240718_050800.mp4 Queue pos 15
{2024/07/18 05:08:14} Finished boxing /var/www/cam/media/vi_1230_20240718_050800.mp4 from Box Queue at pos 15
{2024/07/18 05:08:14} Removed item from Box Queue
{2024/07/18 05:10:17} Watchdog detected problem. Stopping{2024/07/18 05:10:17} SIGINT/SIGTERM received, stopping
[2024/07/18 05:23:21] Scheduled management tasks. Next at<PHONE_NUMBER>
[2024/07/18 05:31:03] New period detected 2
[2024/07/18 05:31:03] Send em auto
[2024/07/18 05:31:05] Send mm spot
[2024/07/18 05:31:07] Send px 1296  972  25  25 2592 1944 1
[2024/07/18 05:31:09] Send me 150
[2024/07/18 05:31:11] Send md 1
[2024/07/18 05:51:02] New period detected 3
[2024/07/18 05:51:02] Send em auto
[2024/07/18 05:51:04] Send mm average
[2024/07/18 05:51:06] Send px 1296  972  25  25 2592 1944 1
[2024/07/18 05:51:08] Send me 150
[2024/07/18 05:51:10] Send md 1
[2024/07/18 06:23:22] Scheduled management tasks. Next at<PHONE_NUMBER>
[2024/07/18 07:23:23] Scheduled management tasks. Next at<PHONE_NUMBER>
[2024/07/18 08:23:24] Scheduled management tasks. Next at<PHONE_NUMBER>
[2024/07/18 09:23:25] Scheduled management tasks. Next at<PHONE_NUMBER>
[2024/07/18 10:23:26] Scheduled management tasks. Next at<PHONE_NUMBER>
[2024/07/18 11:08:54] Logged in user::
[2024/07/18 11:08:54] UserLevel 6
[2024/07/18 11:23:27] Scheduled management tasks. Next at<PHONE_NUMBER>

Probably a power related issue since it mostly happens when I turn on or of the engine of the van, despite that raspberry pi zero stays on with all its processes but maybe a subtle power variation that doesn't like to the camera.
Anyway I've found a workaround, which plays on the fact that when camera remains freezed I noticed the main raspimjpeg process get stuck at 100% cpu usage, so I wrote a bash script that detects if raspimjpeg process is using more than 99 % cpu and in that case kills the main process which immediately after gets restarted by the second instance of raspimjpeg.
#!/bin/bash
#process to kill if above cpu usage limit
PROCESS=raspimjpeg
CPU_LIMIT="99"

while :
do
#echo Limit   $CPU_LIMIT
PID=`pgrep $PROCESS | tail -n 1`
#echo Pid     $PID
CPU=`top -b -p $PID -n 1 | tail -n 1 | awk '{print $9}'`
#echo CPU LVL $CPU
CPUINT=${CPU%.*}
if [ $CPUINT -gt $CPU_LIMIT ];
then
	echo CPUINT  $CPUINT
	sudo kill $PID -s9
	echo "$(date +\%Y_\%m_\%d_\%H_\%M_\%S) raspimjpeg has been killed"
#else
#	echo "$(date +\%Y_\%m_\%d_\%H_\%M_\%S) we're good"
fi
sleep 5
done


FCS makes calls to kernel32.dll when running on OSX

https://github.com/fsharp/FSharp.Compiler.Service/blob/c1ca06144d8194000cf6b86f5f26bdc433ccaa7d/src/absil/ilread.fs#L169

Ive notices this a lot too, Its detrimental to performance on the x-plat compiler and tools.

If possible please submit a PR to change this throw-and-catch to a conditional that detects whether we are running on Windows: https://github.com/fsharp/FSharp.Compiler.Service/blob/master/src/absil/ilread.fs#L3977


Raspberrypi4 WiFi is not working using core-image-full-cmdline

sorry to reopen this issue:
https://github.com/agherzan/meta-raspberrypi/issues/841
I have the some issue with core-image-full-cmdline ?
I do not know how to enable the wifi work.
before I do not use the pi 4 wifi function with core-image-full-cmdline, but one of our projects will use it
any help?
I have to switch to core-image-base?
what different between core-image-full-cmdline and core-image-base ?
any help?

core-image-full-cmdline redefines IMAGE_INSTALL to a minimum setup without ending up pulling MACHINE_EXTRA_RRECOMMENDS which in turn includes the WiFi firmware. In the case of the default setup (e.g. using core-image-base), this is done through packagegroup-base-extended.

Hello @agherzan I read your two posts about this and I am still confused. I am currently building a core-image-full-cmdline image. I will eventually need Wi-Fi.  Am I able to add the packagegroup-base-extended as an EXTRA_IMAGE_FEATURES in my local.conf?
Or do I need to add MACHINE_EXTRA_RDEPENDS and MACHINE_EXTRA_RRECOMMENDS sections?

If I remember correctly, packagegroup-base-extended was pulling packagegroup-base which was pulling packagegroup-machine-base which was pulling MACHINE_EXTRA_RRECOMMENDS. Nevertheless, you can just add MACHINE_EXTRA_RRECOMMENDS to IMAGE_INSTALL and you should be fine.

@MichaelBMiner
for me, I used core-image-base to build it ,did not use core-image-full-cmdline


unresolved import libc::ucred when compiling for musl

The row 25 of ucred.rs: use libc::ucred; fails to compile.

A workaround: setting tokio-uds = "=0.1.5" in Cargo.toml.

PRs are of course welcome to help get this compiling!


match an expression

match only takes a variable
let v = f a b c
match v
  case ...

I would like that variable to be automatically generated by an expression
match f a b c
  case ...

At least this limitation should be documented for now

You should be able to do:
match (f a b c)
  case ...

Is that a problem?

yes, that does work

Fixed in 8f68d3f46fde81d9ab4d501c1d949362bd2322cc


PyFerret: Do not overdraw axis lines, tics or labels

Reported by ansley b manke on 4 May 2015 22:02 UTC
As Ferret draws plots, it does lots of re-drawing of the axis lines, because the rectangles or polygons in a SHADE or other plot may slightly leak out over the axis edges.
The anti-aliasing done in PyFerret takes the multiply-drawn lines and makes them extra thick on the page.  We need to:

Draw axis lines and tics only once, after the graphics calls that have drawn the plot on the page.

for overlays, don't re-draw axes. (Unless the user has specifically turned on axes with the /AXIS= qualifier on the plot command, or or a PPL AXSET command?)

Check that labels aren't drawn more than once.

Document the behavior. For example there's a technique for showing multiple variables using identical viewports, e.g. to show variables with different vertical scales together. In this case the user will need to be careful to plot each axis just once.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2279

Comment by ansley.b.manke on 6 May 2015 22:05 UTC
Done on the PyFerret branch.  The routine pltit.F drew axes at least a couple of times, and some of the axis-drawing routines drew the axis line both while drawing tic marks, and again as a single line.
For overlay plots, the default is now to not draw axis lines (as it always has been). If the user wants axis lines to be re-drawn, they can specify /AXES on the PLOT/OVERLAY command and all axes or specified axes will be overlaid.  This example from one of the benchmark scripts has the vector lines overlaid on the plot axes:

yes? contour/color=lightBlue x[vector/over/thick=3/color=green [x=0:1:.1](x=0:1:.1]*SIN(Y[y=0:6.3:.2])
yes?)*SIN(Y[y=0:6.3:.2]),x[x=0:1:.1]*COS(Y[y=0:6.3:.2])

Now, if they say
yes? vector/over/AXES...

then the axis lines will be drawn a second time when the vectors are drawn.


Feature/search

Added a search endpoint so /search?q=blah will return matches.
NOTE: components now require a searchText property which contains the text to be indexed. This means creating components like:
{
  'data': { 'markup': '
title

My texy
' },
  'searchText': 'title my text', // whatever text contained within the component you wish to index
  ...
}

@lukemarsh @menthena @davunderscorei

+1 from me, alright.


White background - no css theme

I am getting a white page.
I started a new Hugo site.

Hugo.toml
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme= 'gallery'

Could you please try to add the module and build settings to your configuration file?
[module]
  [module.hugoVersion]
    min = "0.113.0"
  [[module.mounts]]
    source = "assets"
    target = "assets"
  [[module.mounts]]
    source = "hugo_stats.json"
    target = "assets/watching/hugo_stats.json"

[build]
  writeStats = true
  [[build.cachebusters]]
    source = "assets/watching/hugo_stats\\.json"
    target = "styles\\.css"
  [[build.cachebusters]]
    source = "(postcss|tailwind)\\.config\\.js"
    target = "css"
  [[build.cachebusters]]
    source = "assets/.*\\.(js|ts|jsx|tsx)"
    target = "js"
  [[build.cachebusters]]
    source = "assets/.*\\.(.*)$"
    target = "$1"

I think this is still missing in the README.

Thank you very much for your fast reply!  it's working!


Clean up Bibliography section

Consistently set journal and conference titles in italics
Add DOI links to references where possible
Use the preferred https://doi.org domain over http://dx.doi.org
Add links to stable resources for papers without DOIs

@mozzadrella feedback?

@chrisma hi! Thanks for this!

Hi. Glad I could help!


[Traits] Add experimental flags to enable specific or all traits, disable default traits

Motivation
When building, testing or running a root package we want users to be able to change the traits enabled in the packages. This allows them to build binaries with different traits enabled or run tests with different traits.
Modification
This PR adds trait options to a few commands and wires them through to the ModuleGraph loading and the build description caching. The latter is important to trigger rebuilds when the trait configuration has changed. Along the way I refactored the GraphLoadingNode and externalised the logic to calculate traits since I need slightly different logic for the root nodes and for the dependency nodes.
Result
swift build/run now support passing trait configuration.

@swift-ci please test

@swift-ci please test

@swift-ci test windows