include_task_folder

Hi all, I had a folder with custom YAML task definitions, which I was importing via include_task_folder. Now this method is not available anymore: how should I include my YAML files?

Founds the relevant docs! https://github.com/EleutherAI/lm-evaluation-harness/blob/main/docs/new_task_guide.md

It's not really clear to me how to use TaskManager tho -- I'm getting the following error:
  File "[..]./cli/eval-cli.py", line 71, in <module>
    main()
  File "[..]./cli/eval-cli.py", line 52, in main
    task_manager.initialize_tasks(include_path="src/backend/tasks/")
  File "[..]/lib/python3.10/site-packages/lm_eval/tasks/__init__.py", line 54, in initialize_tasks
    tasks = self._get_task_and_group(task_dir)
  File "[..]/lib/python3.10/site-packages/lm_eval/tasks/__init__.py", line 300, in _get_task_and_group
    tasks_and_groups[config["group"]] = {
KeyError: 'group'

Oh I see, if a task doesn't belong to a group this will automatically raise an error.

I assigned each of my custom tasks to a group, and now I'm getting another error:
{'group': 'mmlu_flan_n_shot_loglikelihood', 'task': ['mmlu_flan_n_shot_loglikelihood_stem', 'mmlu_flan_n_shot_loglikelihood_other', 'mmlu_flan_n_shot_loglikelihood_social_sciences', 'mmlu_flan_n_shot_loglikelihood_humanities']}
Traceback (most recent call last):
  File "[..]./cli/eval-cli.py", line 71, in <module>
    main()
  File "[..]./cli/eval-cli.py", line 51, in main
    task_manager = TaskManager(include_path="src/backend/tasks/")
  File "[..]/lib/python3.10/site-packages/lm_eval/tasks/__init__.py", line 30, in __init__
    self._task_index = self.initialize_tasks(
  File "[..]/lib/python3.10/site-packages/lm_eval/tasks/__init__.py", line 54, in initialize_tasks
    tasks = self._get_task_and_group(task_dir)
  File "[..]/lib/python3.10/site-packages/lm_eval/tasks/__init__.py", line 341, in _get_task_and_group
    tasks_and_groups[group]["task"].append(task)
KeyError: 'task'

Ok this last error seems to happen when there is a clash between task and group names

Oh I see it now, task_manager needs to be passed to simple_evaluate

Oh I see, if a task doesn't belong to a group this will automatically raise an error.

This should definitely not be the case--we'll push a fix if so! Looking through this method, it looks like this branch only executes if _config_is_group is true, which only happens when task is a list (and so should only happen on a benchmark's config, as far as I'm aware?)
Not also including a deprecation warning for include_task_folder is a mistake on our part, we added a warning in initialize_tasks() and include_path() that I hope helps. We'll try to be more clear about what components define our public interface in future--wanted to get this PR in because it should speed up startup times pretty massively, now that we're getting so many language variants / tasks with many subtasks added to the library.
cc @lintangsutawika might have an easy fix for this, if the issue persists after passing task_manager?

Ok in case anyone else runs into this -- the following:
task_manager = TaskManager(include_path="./src/my/custom/tasks/")
results = evaluator.simple_evaluate([..], task_manager=task_manager)

seems to run like a charm! :)


Permissions for maven-jellydoc-plugin

Description
https://github.com/jenkinsci/maven-jellydoc-plugin was recently transferred from the kohsuke GitHub organization to the jenkinsci GitHub organization. This PR sets up release permissions on this repository. Once granted permissions, I plan to refresh this plugin to use the recent Maven APIs.
Submitter checklist for adding or changing permissions
https://github.com/jenkinsci/maven-jellydoc-plugin
Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[ ] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

Admin permissions setup for the repo

Thank you!


chef_gem[chef-sugar] error when chef-client runs as a service on CentOS6.5 with chef-client 11.16.0

I'm having a really odd error that I haven't got to the bottom of yet. It may well have nothing to do with chef-sugar, so I apologize in advance, but I can't think of a better place to start asking for help.
We use the chef-client cookbook to configure chef-client to run as an init-style service on CentOS6 platforms. In most cases, this is working fine, however we have a couple of servers with the same runlist, all erroring with this same error when chef-client runs from the service, yet the runlist converges without any error when run manually as root.
[2014-12-10T23:20:16+00:00] ERROR: Running exception handlers
[2014-12-10T23:20:16+00:00] ERROR: Exception handlers complete
[2014-12-10T23:20:16+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-12-10T23:20:16+00:00] ERROR: chef_gem[chef-sugar] (chef-sugar::default line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/chefdk/embedded/bin/gem install chef-sugar -q --no-rdoc --no-ri -v "2.4.1" ----
STDOUT:
STDERR: ERROR:  While executing gem ... (TypeError)
wrong argument type nil (expected Regexp)
---- End output of /opt/chefdk/embedded/bin/gem install chef-sugar -q --no-rdoc --no-ri -v "2.4.1" ----
Ran /opt/chefdk/embedded/bin/gem install chef-sugar -q --no-rdoc --no-ri -v "2.4.1" returned 1
[2014-12-10T23:20:16+00:00] ERROR: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[2014-12-10T23:20:16+00:00] ERROR: Sleeping for 1800 seconds before trying again
Running chef gem list shows that the chef-sugar gem v2.4.1 is in fact already installed, and when chef-client is run manually it also skips the chef_gem[chef-sugar] line as it correctly detected the gem.
chef-client version is 11.16.0
chef-client cookbook version 3.9.0
chef-sugar cookbook version 2.4.1
Our cookbook just does a recipe_include "chef-sugar" which obviously in turn does the chef_gem[chef-sugar].
Does anyone have any thoughts on what I should check / try next ?

@sethvargo @robcoward we experienced the same with recent centos/7.2 and chefdk/0.11.2 and chef-sugar/3.3.0.
Manually running /usr/bin/chef-client chefdk script (#!/opt/chefdk/embedded/bin/ruby ...) in bash runs fine though.
# /opt/chefdk/embedded/bin/gem install chef-sugar -q --no-rdoc --no-ri -v "3.3.0"
WARNING:  You don't have /root/.chefdk/gem/ruby/2.1.0/bin in your PATH,
    gem executables will not run.
Successfully installed chef-sugar-3.3.0
1 gem installed

Workaround: adapting chef-client.service.erb with User=root ensures the same GEM PATHS whether in the cli or service (see /opt/chefdk/embedded/bin/gem env)
Standardizing on chefdk and the embedded berkshelf in CI environments is our main motivation (to avoid any ruby gem dependency yakshaving)


Need Info on Scaler Fitting - issue on training by using pretrained Word2Vec and Scaler Fitted Vocabulory

I have built Word2Vec model over entire Corpus.
The Scaler fiting is being done over Current Trainng Corpus(a subset of entire corpus).Again, If I need to run training  with different set of training Corpus,  but with same Word2Vec, again Scaler fitting needs to be done.
How can I avoid this?
ie
Can I make Scaler fitting too a One Time Activity similar to Word2Vec building  by genrating Scaler fitting over entire Corpus?

@rajeshkumargp yeah, you can do it only once. Just run the init_word_vectors() function on the entire corpus to build vectors and fit the scaler and save them somewhere afterwords. Then you can reuse it every time you need to scale things.

I have built Word2Vec model over entire Corpus.
The Scaler fitting is being done over Current Trainng Corpus(a subset of entire corpus).
I have used the above Scaler Fitting and Word2Vec model for training.
While training , i get error as below:

Fitted to 67612 vectors
Traceback (most recent call last):
  File "S005_TT_010_magpiedemo.py", line 115, in <module>
    magpie.train(train_dir,labels,test_ratio=0.25,epochs=1)
  File "/home/Abc/magpieCNN/magpie/main.py", line 96, in train
    scaler=self.scaler,
  File "/home/Abc/magpieCNN/magpie/nn/input_data.py", line 44, in get_data_for_model
    train_data = build_x_and_y(train_files, train_dir, **kwargs)
  File "/home/Abc/magpieCNN/magpie/nn/input_data.py", line 88, in build_x_and_y
    y_matrix[doc_id][index] = True
IndexError: index 1433 is out of bounds for axis 0 with size 1102

Can you please guide me where I am mistaking..
Where am i wrong ..
For Scaler fitting, I am using the Script at the location :
https://github.com/rajeshkumargp/magpie/blob/master/ScalerFitting.py
(The input is a single file containing the entire corpus which i have used for Word2Vec building)

As per #171 , Due to duplicates in Labels, the above issue arose.

👍


optirun not working when not plugged in

Fixed on a clean install with 4.15.18-041518-generic + 396.54.

Bug is still present.

The problem was tlp, it switched to some kind of power saving mode, interfering with bbswitch.


Ship Typings with foundation-sites

As the procedure for adding typings to DT is really time consuming you would like to suggest to ship typings for foundation within this package similar to moment.js
It's would be just adding the typings link to package.json
example: https://github.com/moment/moment/blob/develop/package.json
The currently best version can be found here: https://github.com/samvloeberghs/foundation-sites-typings
Would be great if somebody could find the time to add this.
I guess this might also help minimize problems described here: #9086

I believe this is now fixed with #9471


Add ability to handle polarized sources

Create a keyword in the match_to_gleam function that can create an optional additional DataFrame to store information provided in the .sav files about flux in various polarizations.

Added new key word in match_to_GLEAM to allow users to specify I, Q, U, or V


Is there a way to add 2 sliders for home screen ?

I want to implement 2 sliders in home screen, tried configuring in cms block but its working.
Is there any way i can achieve it ?

It is not implemented to have multiple sliders on the home screen. But you can easily add it in the code https://github.com/troublediehard/magento-react-native/blob/master/src/components/home/HomeScreen.js

ok will check it out
thanks for the quick response


[API Integration - AUDIO] ccmixter (original #317)

This issue has been migrated from the CC Search Catalog repository
Author: annatuma
Date: Wed Mar 11 2020
Labels: providers,✨ goal: improvement,🙅 status: discontinued

Provider API Endpoint / Documentation

http://ccmixter.org/query-api
Provider description

http://dig.ccmixter.org/free
Licenses Provided

They have over 29,000 objects, but it is unclear from the UI how many are CC licensed. They appear to also have their own license on some objects. We'd need to restrict to CC BY and CC BY-NC, which are the two licenses they appear to support for objects upon upload.
further information required below this point
Provider API Technical info

Checklist to complete before beginning development

No development should be done on a Provider API Script until the following info is gathered:

[ ] Verify there is a way to retrieve the entire relevant portion of the provider's collection in a systematic way via their API.
[ ] Verify the API provides license info (license type and version; license URL provides both, and is preferred)
[ ] Verify the API provides stable direct links to individual works.
[ ] Verify the API provides a stable landing page URL to individual works.
[ ] Note other info the API provides, such as thumbnails, dimensions, attribution info (required if non-CC0 licenses will be kept), title, description, other meta data, tags, etc.
[ ] Attach example responses to API queries that have the relevant info.

General Recommendations for implementation

The script should be in the src/cc_catalog_airflow/dags/provider_api_scripts/ directory.
The script should have a test suite in the same directory.
The script must use the ImageStore class (Import this from
src/cc_catalog_airflow/dags/provider_api_scripts/common/storage/image.py).
The script should use the DelayedRequester class (Import this from
src/cc_catalog_airflow/dags/provider_api_scripts/common/requester.py).
The script must not use anything from
src/cc_catalog_airflow/dags/provider_api_scripts/modules/etlMods.py, since
that module is deprecated.
If the provider API has can be queried by 'upload date' or something similar,
the script should take a --date parameter when run as a script, giving the
date for which we should collect images. The form should be YYYY-MM-DD (so,
the script can be run via python my_favorite_provider.py --date 2018-01-01).
The script must provide a main function that takes the same parameters as from
the CLI. In our example from above, we'd then have a main function
my_favorite_provider.main(date). The main should do the same thing calling
from the CLI would do.
The script must conform to PEP8. Please use pycodestyle (available via
pip install pycodestyle) to check for compliance.
The script should use small, testable functions.
The test suite for the script may break PEP8 rules regarding long lines where
appropriate (e.g., long strings for testing).

Examples of other Provider API Scripts

For example Provider API Scripts and accompanying test suites, please see

src/cc_catalog_airflow/dags/provider_api_scripts/flickr.py and
src/cc_catalog_airflow/dags/provider_api_scripts/test_flickr.py, or
src/cc_catalog_airflow/dags/provider_api_scripts/wikimedia_commons.py and
src/cc_catalog_airflow/dags/provider_api_scripts/test_wikimedia_commons.py.

I just took a look at this API for the first time in a while. I think I'll try to contact
someone there about inclusion in Openverse. Here's some sample responses:
http://ccmixter.org/api/query?tags=hip_hop&sort=name&u=teru&format=json
Here's a single result from this array of results:
{
    "upload_id": 2565,
    "upload_name": "All I Need-teru-remix",
    "upload_extra": {
      "usertags": "bass,funky,hip_hop,loops",
      "ccud": "media,remix,how_i_did_it,bpm_100_105",
      "systags": "non_commercial,audio,mp3,44k,stereo,CBR",
      "relative_dir": "content/teru",
      "bpm": 104,
      "howididit": {
        "tools": "FL Studio, FL pan-o-matic, Slayer 2, Echo. \r\nAudacity, Audacity compressor.",
        "samples": "Ft. rap by J. Gomes. Courtesey of J. Lang.",
        "origial": "",
        "process": "Bassline- Slayer Fretless w/FL pan-o-matic.  \r\nDrum- Bass/snare/hat looped and heavily compressed in Audacity.\r\nRap- Tempo changed 93 to 104BPM. Also used FL pan-o-matic and echo in parts.",
        "other": "I think applying the pan-o-matic to the bassline was a mistake. Works really well for the vocals though. : )"
      },
      "num_reviews": 4,
      "collab": null
    },
    "user_name": "teru",
    "upload_tags": "media,remix,how_i_did_it,bpm_100_105,bass,funky,hip_hop,loops,non_commercial,audio,mp3,44k,stereo,CBR",
    "upload_num_scores": 5,
    "file_page_url": "http://ccmixter.org/files/teru/2565",
    "user_real_name": "teru",
    "artist_page_url": "http://ccmixter.org/people/teru",
    "license_logo_url": "http://ccmixter.org/ccskins/shared/images/lics/small-by-nc.png",
    "license_url": "http://creativecommons.org/licenses/by-nc/2.5/",
    "license_name": "Attribution Noncommercial",
    "upload_date_format": "Tue, Sep 6, 2005 @ 3:41 PM",
    "files": [
      {
        "file_id": 1658,
        "file_upload": 2565,
        "file_name": "teru_-_All_I_Need-teru-remix.mp3",
        "file_nicname": "mp3",
        "file_format_info": {
          "media-type": "audio",
          "format-name": "audio-mp3-mp3",
          "default-ext": "mp3",
          "mime_type": "audio/mpeg",
          "sr": "44k",
          "ch": "stereo",
          "ps": "3:06",
          "br": "CBR"
        },
        "file_extra": {
          "sha1": "EZDHMHW52D2XLLNOP5VNOYQOLBRFWIQX"
        },
        "file_filesize": " (2.84MB)",
        "file_order": 0,
        "file_is_remote": 0,
        "file_num_download": 0,
        "download_url": "http://ccmixter.org/content/teru/teru_-_All_I_Need-teru-remix.mp3",
        "local_path": "/var/www/ccmixter/content/teru/teru_-_All_I_Need-teru-remix.mp3",
        "file_rawsize": 2980592
      }
    ],
    "upload_description_plain": "Minimal funky hip hop. Thanks J. Gomes and J. Lang. : )",
    "upload_description_html": "Minimal funky hip hop. Thanks J. Gomes and J. Lang. : )"
  }


Enhancement: Windows Store for Business Configs

Show details of WSFB account

Added in 2017.01.02


Added limitations to 'Other' org user's access

Fixes #1935.
Changes proposed in this PR:

Added additional where clause to published scope to exclude the orgs.is_other Org. Technically that org does not have admins and should never have guidance or templates. There are situations though where a Super Admin can switch to the 'other' org and still have access to the guidance page and is then able to create guidance.
Added additional checks to prevent users associated with the 'Other' Org from accessing the Template, Guidance and User Permissions endpoints. This should prevent the original issue from occurring in the first place.

@xsrust would you mind reviewing this PR?
I'm not familiar enough with the requirements to assess the implementation.

just an FYI ... I need to update the Spec tests on this still

closing in favor of #1953


readme.md should be more focused on installing & usage.

I've decided to finally add Flow to our dev stack on the project I am currently working on. I had a bit of trouble getting started though, as I was a bit surprised that the first thing I saw in the readme is how to build Flow instead of how to actually install it and get up & running.
For me personally it was quiet stressful as I wasn't sure if I need to do the building or I can just install using brew (I'm pretty sure there's a diagnose for that).
I am not very good at writing stuff so just take this as a poke & point to the better (didn't want to use "right") direction.
Thanks,
Foxhoundn

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

This seems like a good idea! Thanks for the contribution!

@facebook-github-bot import

Thanks for importing. If you are an FB employee go to Phabricator to review.

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!


please don't format exist code

when format a file, please don't format exist code. I don't set default formatter, the file is in source control

I tried this settings, but it not work
    "editor.formatOnSave": true,
    "editor.formatOnSaveMode": "modifications",

/needsMoreInfo including version, language mode of the file, and what extensions you have. Also, does the problem occur if you run with all extensions disabled?

In my case,  below image is the answer.


'mlx.core.matmul/tensordot' do not support integer type matrix operations

Describe the bug
I found that mlx.core.matmul/tensordot do not support integer type matrix operations, but numpy does, and it is not stated in the mlx documentation that these two APIs do not support integer type operations
To Reproduce
Include code snippet
import mlx.core as mx
import numpy as np

a1 = np.array([[1, 2], [3, 4]])
b1 = np.array([[5, 6], [7, 8]])
npresult = np.tensordot(a1, b1)
print('numpy', npresult)

a = mx.array([[1, 2], [3, 4]])
b = mx.array([[5, 6], [7, 8]])
mlxresult = mx.tensordot(a, b)
print('mlx', mlxresult)

import mlx.core as mx
import numpy as np

a1 = np.array([[1, 2], [3, 4]])
b1 = np.array([[5, 6], [7, 8]])
npresult = np.matmul(a1, b1)
print('numpy', npresult)

a = mx.array([[1, 2], [3, 4]])
b = mx.array([[5, 6], [7, 8]])
mlxresult = mx.matmul(a, b)
print('mlx', mlxresult)

Desktop (please complete the following information):

OS Version: MacOS 14.2.1
Version 0.10.0
numpy 1.26.2

Additional context
According to my inspection, only these two APIs were found to have this issue. I am not sure if there are other APIs that also have this issue. If it is the design of mlx itself, I think it can be explained in the documentation.

This is not a huge priority for us since it's a decent amount of work for something which is not super useful. We can update the docs for now until someone has bandwidth to add it or makes a contribution.


Add Conv1D layer

Hi @mjovanc,
I am interested in contributing to the Conv1D layer feature. Is this still open for contribution?

@Javid2070 It is, go ahead.


PDF Viewer Not Scrollable When Nested Inside SingleChildScrollView

Issue Description:
I have embedded a PDF viewer widget inside a SingleChildScrollView in my Flutter application. However, I've encountered an issue where the PDF viewer becomes non-scrollable when nested in this way.
Expected Behavior:
The expected behavior is that the PDF viewer should remain scrollable even when placed inside a SingleChildScrollView.
Actual Behavior:
The PDF viewer loses its scrolling functionality when nested inside a SingleChildScrollView.
Steps to Reproduce:

Place a PDF viewer widget inside a SingleChildScrollView.
Attempt to scroll through the PDF content.

Flutter Environment:

Flutter version: 3.16.7
Platform: (web-desktop) not tested on mobile

Additional Context:
I am looking for a solution or workaround that allows the PDF viewer to be scrollable while still being a child of SingleChildScrollView. Any suggestions or insights into why this behavior occurs would be greatly appreciated.

i just tested on macos, and it works correctly, but web doesnt scroll

In general, nesting Scrollables are not recommended because scroll logics conflict each other.
Only possible workaround for such situlation is, just disable scrolling on focus change. If PdfViewer has focus, you should disable scrolling on the outer Scrollable widget by switching SingleChildScrollView.physics.

for the example i provided can you explain your workaround, since i dont see a focus node in the pdf viewer

Just wrapping PDFViewer with some Focus or such is enough to control Focus on PdfViewer I guess. Anyway, PdfViewer does not use its own FocusNode directly (so far).

thank you very much, if i implemented a workaround i will share here in case it helps

Note: I failed to implement it this why I didn't provide the workaround

Just a sample, which controls outer Scrollable's physics by tapping:
class _MyHomePageState extends State<MyHomePage> {
  bool focusedOnPdf = false;
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Pdfrx Nested Scrollables'),
      ),
      body: GestureDetector(
        onTap: () => setState(() {
          focusedOnPdf = false;
        }),
        child: SingleChildScrollView(
          physics: focusedOnPdf
              ? const NeverScrollableScrollPhysics()
              : const AlwaysScrollableScrollPhysics(),
          child: Column(
            children: [
              Container(
                height: 1000,
                color: Colors.blue,
              ),
              SizedBox(
                height: 500,
                child: GestureDetector(
                    onTap: () => setState(() {
                          focusedOnPdf = true;
                        }),
                    child: PdfViewer.asset('assets/hello.pdf')),
              ),
              Container(
                height: 1000,
                color: Colors.green,
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Thank you very much


remove userWrapper margin for small viewports

There is an unused right margin for small viewports, which is visible during the on-click ripple effect. This PR removes this margin.

@mchalet I recommend adding the email address used for this commit to your GitHub profile


How to enable proper error logging (e.g. DB table does not exist, incompatible event adapter, etc)

Hello, I'm new to Scala, Akka, persistent actors, and this library, so I apologize if my question seems silly.
I'm trying to set up an Oracle backing store for a minimal POC using the official Akka persistence sample project found here: https://developer.lightbend.com/start/?group=akka&project=akka-samples-persistence-scala.
Using the OracleProfile and the oracle-application.conf provided by your library, I finally was able to get the POC to work. However, along the way I encountered setup issues such as incorrect table names, etc, and the sample application logged 0 errors! I had to use the debugger and browse my way through the various call stacks to stumble upon the correct clue: ORA-00942: table or view does not exist.
Before I figured this part out through the debugger, the application was starting and finishing without the expected output, but also without any error entries in the log.
I'm pretty sure I'm missing something very simple. I would have expected an Oracle error to be in my face in the log.
Can you show me how to configure logging so that these errors show up? Thank you very much.
BTW, below are the log-related settings I tried to use:
akka {
stdout-loglevel = DEBUG // defaults to WARNING can be disabled with off. The stdout-loglevel is only in effect during system startup and shutdown
log-dead-letters-during-shutdown = on
loglevel = debug
log-dead-letters = on
log-config-on-start = on // Log the complete configuration at INFO level when the actor system is started
loggers = ["akka.event.slf4j.Slf4jLogger"]
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
actor {
debug {
receive = on // log all messages sent to an actor if that actors receive method is a LoggingReceive
autoreceive = on // log all special messages like Kill, PoisoffPill etc sent to all actors
lifecycle = on // log all actor lifecycle events of all actors
fsm = on // enable logging of all events, transitioffs and timers of FSM Actors that extend LoggingFSM
event-stream = on // enable logging of subscriptions (subscribe/unsubscribe) on the ActorSystem.eventStream
unhandled = on
}
}
}
logger.scala.slick=DEBUG

you have enabled the "akka.event.slf4j.Slf4jLogger"  which is the first step, in addition you also need to configure a logging backend.
What you can do is add a dependency to logback-core
And place a basic logback.xml file in your src/main/resources directory
<configuration>

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>

  <root level="debug">
    <appender-ref ref="STDOUT" />
  </root>
</configuration>

see https://logback.qos.ch/manual/configuration.html for more details

Thanks a lot for the suggestion. I'll implement the above and report back. I'm familiar with logback.

@WellingR thank you very much for the logback tips. I got logging working. I had to make a minor tweak. Instead of adding a dependency to logback-core, I needed logback-classic. Otherwise I got these warnings in stdout (and no debug logging):
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.


How to find the name from code

Is your feature request related to a problem? Please describe.
When I see names in the svg dir, it is impossible to find emoji names from file names.
Is there any list to associate file names and file names?
Describe the solution you'd like
A list of emojis and file names.

file name
Emoji

1f004

Describe alternatives you've considered
Web app to find emoji from file name.

You can use https://emojipedia.org/ for that.

Thanks.

https://emojipedia.org/cherries/
Scroll down to the bottom where the codepoint is located

The twitter svg's aren't prefixed with U and are all lowercase, so the cherries emoji svg is 1f352.svg.
If you're looking at emojis that have multiple codepoints, like 👨🍳 (U+1F468, U+200D, U+1F373), then they'll be seperated by hyphens. So 1f468-200d-1f373.svg

Thanks.

Is there not an easier way to find emojis by name? Seems a bit hilarious we need to be scouting the svg dir by codepoints 😅

Issue with names is, that names are very ambiguous. The same emoji can have multiple names, and it would take too much effort to maintain a list of that for this repo probably.
Codepoints are much clearer in that regard.


Feat: introduce a scheduling state

This can be either a new scheduling state or a specific timeout of type ScheduleTimeout

Scheduling timeout added via #24, will make it fully configurable once the use-case comes up.


Excessive warnings in CoreFX build: RestoreSources.props imported multiple times

This warning shows up many, many times (~1700) in the master CoreFX source-build:

/work/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/DefaultVersions.props(79,3): warning MSB4011: "/work/bin/obj/x64/Release/RestoreSources.props" cannot be imported again. It was already imported at "/work/Tools/RepoAPI.Mapping.props (29,3)". This is most likely a build authoring error. This subsequent import will be ignored.

Both BuildTools and Arcade detect DotNetRestoreSourcePropsPath and try to import it, causing this warning. The way forward is probably to remove it from BuildTools since Arcade is taking over. However it might not be that simple if other projects still depend on BuildTools for this functionality.
I think the "header guard" approach would also work: set some property inside the props file that disables the other import. It would be better to fix the root cause, though.

@crummel to check if this is still an issue

This should go away with BuildTools.


Insert Line Placement

Is the Insert Line command not supposed to insert the line at the position of the cursor?
I was using your online demo to enter some text. I then placed the cursor on an empty line between two paragraphs and used the Insert Line command.
When the line was inserted it appeared below the 2nd line and not where my cursor was, which is what I would expect.

Thanks. There was a bug that I could not check.
I'll fix it and commit it again.
It will be uploaded to the next commit version :)

I modified and committed.


Exclude accepted and rejected facts in Get facts APIs

[x] facts detail and list API should not include accepted and rejected facts.
[x] test APIs by reloading the page in UI after accepting and rejecting facts. The page shouldn't break and API should not return accepted or rejected facts.

close with #43


Forward client certificates

If IIS accepts a TLS client certificate then HttpPlatformHandler should forward it on to us. This could be done as a base64 encoded header that is then unpacked by the middleware upon request from the ITlsConnectionFeature.

For Azure websites - https://azure.microsoft.com/en-us/documentation/articles/app-service-web-configure-tls-mutual-auth/#special-considerations-for-certificate-validation

Requires a new release of HttpPlatformHandler (v1.3?)

This as been fixed in AspNetCoreModule v0.8: https://github.com/aspnet/IISIntegration/issues/105.


Scrollbar: Fixed infinite execution of the scrollbar component componentDidUpdate hook function

…Update hook function
Please makes sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you are merging your commits to master branch.
[x] Add some descriptions and refer relative issues for you PR.
[x] Rebase your commits to make your pull request meaningful.
[x] Make sure that your changes pass npm test, npm run lint and npm run build.

Changes in this pull request

修复了滚动条componentDidUpdate钩子函数的无限执行问题

@rookie125 It's been a while since you started this PR - are you still interested in working on this? It looks like the branch needs to be updated and an ESLint error needs to be fixed before this can be merged (it says there's a dependency loop).


Incorrect behavior for an empty star line

In testing #6 I found that a line with a single star without following whitespace acts on the previous line; if there is more then one line.
Source ([|] marks the cursor).
* This
*[|]

Hit tab
  * This
*[|]

The same goes for Un-indent.

Thanks for the bug reports!
This sounds pretty reasonable to me.  Three questions:

I would assume your proposal would only apply if there wasn't any non-whitespace characters afterwards.  For example:  * This
  *[|]That

Would not indent because of the "That" without whitespace after second bullet.

If you had this setup before you indented:  * This
  *[|]

And you were to indent, would you expect no space added after the star:
      * This         *[|]
or a space automatically added
      * This         * [|]
?

I'm genuinely curious how you got into this position.  Is it something you see infrequently because you happened to delete a space?  I ask in case there some set of test cases I'm not thinking of.

This should be fixed at this point, with me making the assumption that in case 2 that a space shouldn't be added.  @jkamenik I am still interested in your opinion about all three though.

To answer your questions.

If my cursor is anywhere on a given line "tab" should re-indent the entire line.  This is not a common behavior, but one I really miss from emacs.

I like the last option where the extra whitespace is added after the star

I was having trouble understanding what the unit tests were doing so instead I created a file with bunch of the cases I was interested in.  After I got all the unit tests working I would go to the file and start manually testing.  My editor config removes ending whitespace; so on save *[space] was reduced to *.  The next time I ran my manual tests I saw the issue.


analyzer: Remove generated NPM lock files if they did not exist before

If npm install creates a lock file that did not exist before, delete it
afterwards to not pollute the working directory.

This change is

This is @mnonnenmacher's first commit from https://github.com/heremaps/oss-review-toolkit/pull/885 split out to get it merged earlier than that whole PR, which needs some work.

Merging as this is @mnonnenmacher's code that I reviewed before.


kube-down.sh can't delete master-pd

kube-down.sh gave me this error the past two times I've turned down a cluster.
ERROR: (gcloud.compute.disks.delete) Some requests did not succeed:
 - The resource 'projects/crested-analogy-671/zones/us-central1-b/disks/e2e-test-dbsmith-master-pd' was not found

It's normal for down to give errors about resources that don't exist?

(It did finish, yes?)
I added that code because it's obnoxious when kube-up creates the PD but then fails to create the VM, yet there's no script to clean up. So this is either a non-bug, or you just want someone to /dev/null it.

Oh, I see the misunderstanding. I just re-read the title. This isn't the bug. I'm changing the title.
By the time kube-down.sh is trying to actually delete the PD, it passed --delete-disks all to gcloud compute instances delete. So it had one shot to delete the master PD already. The second attempt is just to delete a lonely PD if there was no PD.
Closing for now. Reopen if you really want the spam fixed.

I see. Thanks for explanation.


Consider making "key=" valid line

Now it's not, see:
https://github.com/slapresta/rust-dotenv/blob/master/src/lib.rs#L322
I think "key=" could be a valid line, what do you think?

:+1: the Ruby dotenv gem supports this and gives you an empty string.

Not necessarily for or against this, but if you want to set an empty string as a value, you can do key="".
I imagine that this is more about being able to distribute a "fill-in-the-blanks" .env file and not failing when processing it, which is something we probably should play nice with.

For reference, it seems to me that this behavior should be pretty easy to alter: https://github.com/slapresta/rust-dotenv/blob/master/src/lib.rs#L166


Replace PyPI mock test dependency with unittest.mock

The unittest.mock module is part of the standard library since Python 3.3, so there is no longer any benefit to carrying the PyPI package as a test dependency.
See https://fedoraproject.org/wiki/Changes/DeprecatePythonMock for further context.

Codecov Report

Merging #1084 (13bf54b) into master (43005b3) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1084   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           36        36
  Lines         2452      2452
=========================================
  Hits          2452      2452

Thanks!


Correctly instrument websocket handshakes

Part of weaveworks/monitoring#82
Just vendors a correct version of the library.

LGTM


Class Diagram

How can I see our class diagram big enough to read other than opening the link directly ? it looks pretty small right now.

I should have asked this question in general actually not just for the class diagram

You can use the zoom function of your browser. It can be used via ctrl+ whell up

I know that but it is a little bit tricky :) I was trying to find something more professional

if you open in a new tab at Chrome, it can be bigger
here is the link
https://camo.githubusercontent.com/ca9c395abe4c2d22874db016a9e9eb93beed6c61/687474703a2f2f692e696d6775722e636f6d2f6f55734a4d44582e706e67


Error processing platform mediabrowser.media_source

System Health details
Home Assistant 2023.5.4
Supervisor 2023.05.0
Operating System 10.1
Frontend 20230503.3 - latest
Checklist

[ ] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
Getting this on startup
Reproduction steps

NA

...
Debug logs
Logger: homeassistant.helpers.integration_platform
Source: custom_components/mediabrowser/media_source.py:44
Integration: MediaBrowser (Emby/Jellyfin) integration (documentation, issues)
First occurred: 08:52:10 (1 occurrences)
Last logged: 08:52:10

Error processing platform mediabrowser.media_source
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 61, in _async_process_single_integration_platform_component
    await integration_platform.process_platform(hass, component_name, platform)
  File "/usr/src/homeassistant/homeassistant/components/media_source/__init__.py", line 88, in _process_media_source_platform
    hass.data[DOMAIN][domain] = await platform.async_get_media_source(hass)
  File "/config/custom_components/mediabrowser/media_source.py", line 44, in async_get_media_source
    hubs = [hass.data[DOMAIN][entry.entry_id][DATA_HUB] for entry in entries]
  File "/config/custom_components/mediabrowser/media_source.py", line 44, in <listcomp>
    hubs = [hass.data[DOMAIN][entry.entry_id][DATA_HUB] for entry in entries]
KeyError: 'mediabrowser'

Diagnostics dump
No response

I think this is the fault of Home Assistant, it is trying to load the media source component before loading the config entries. Sincerely I have no idea how to solve this, theoretically this should not happen.

Ok no worries I'll put an ignore in my logger


Feature Request: Support updating chapter names in M4B

Chapter metadata is stored in the M4B, not as separate files. If possible, (not sure if beets is capable of editing this metadata, perhaps @seanap would know ) it would be great to update chapter names with the names from audnexus if the chapter time marks are within a small margin of error.
Existing chapter (ffprobe output)
    Chapter #0:7: start 8412.031000, end 10245.433000
      Metadata:
        title           : 6

Audnexus chapter data
{
  lengthMs: 1833401,
  startOffsetMs: 8414167,
  startOffsetSec: 8414,
  title: "6. Loopholes"
},

Start time difference is 2136ms, length difference is 1ms
ffprobe length 10245433 - 8412031 = 1833402ms
Only update the titles, not the start times.

Ideally this could be run manually as well as optionally during import. Manually so the chapters could be compared with audnexus data on the off chance that existing M4B chapters are more detailed.

This would require a huge rearchitecting of how Beets works to support the concept of how m4b files can contain tracks (i.e, multiple tracks in one file). See beetbox/beets#4269 for details.

Understandable. Thanks for let me know.


SlimeRead ERRO

Source information
SlimeRead 1.4.14
Source language
Português (Brasil)
Steps to reproduce
Show the erro: Could not find API URL
Expected behavior
Show works available
Actual behavior

Mihon/Tachiyomi version
App version: 0.17.0 (standard, 38d5fc9, 8, 2024-10-26T17:39:14Z)
Android version
Android version: 14 (SDK 34; build UKQ1.231003.002 release-keys)
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Add a :+1: reaction to issues you find important.

thanks, i am newbie here.


Support Bundle functionality split to 3 requests

Earlier the support bundle download was a single GET request and it was a blocking call where the request was forwarded to the manager and when the download completes it returns the compressed zip file back to the caller. This was causing timeout if the content is huge.
In order to fix this issue, the request is split into 3 requests:

POST request to initiate a support bundle download and the backend returns the nodeid of the manager that's performing this operation
GET request to check the status of download. This returns true or false based on the progress of the download.
POST request to download the compressed file.

Git Commit ID: a52cea4f660e26fd52e384e86031cf49d588ae92

https://github.com/rancher/longhorn/issues/414

The comments are addressed in the new design - https://github.com/rancher/longhorn-manager/pull/273


iOS Archive build: UnityFramework/UnityFramework.h file not found

Generally this works great, thank you. I have hit a bit of a brick wall on the final straight though....
I can build directly to a device no problem but upon building to archive I'm getting:
{...}/node_modules/@asmadsen/react-native-unity-view/ios/UnityUtils.h:2:9: 'UnityFramework/UnityFramework.h' file not found
Presumably a setting in the target that's missing, but having tried a few things I'm wondering if you got that far and, if so, how you made it build?

Turns out it's this setting - needed to be unchecked in order for archive to work. Didn't affect build to device...

@englandrp So running into this issue as well. I've set the Target SDK to be Device SDK and running the app on device. So your solution fixes this issue but if you clean install all modules or lets say another developer wants to use run the code they run into the same error again unless they manually use your solution.
Have you been able to figure out a permanent solution for this?
Maybe @asmadsen know something about it?

ok so figured it out. Couple of things needed to happen:

Our own project was not leveraging "parallelize build" option. I turned that on.
I added UnityFramework.framework under Embedded Frameworks originally since using Xcode 10 and it has slightly different interface than Xcode 11. So I removed it from Embedded Frameworks. Then followed this guide to resolve my issue https://stackoverflow.com/a/43197278/9487378

@englandrp nice! It works, thx very much!

Unfortunately, I have not been able to resolve this in Xcode 12. I followed the guide linked above, but still get the "UnityFramework/UnityFramework.h file not found".
One piece of information to add: I successfully archived the example unity project. I added ARFoundation and ARKit to the unity project (no other changes) and now it won't build the archive.

The same issue for us too, everything works for debug build, but when we try to make an archive we get this error.
'UnityFramework/UnityFramework.h' file not found, aslo tried all suggestions above without a luck (

An alternative to changing "Build Active Architecture Only" is to put x86_64 in the Excluded Architectures list. I believe this will resolve your AR issue @miketalbott

This is the solution that is simple and works flawlessly for anyone still looking: https://github.com/asmadsen/react-native-unity-view/issues/8#issuecomment-728683394

The same issue for us too, everything works for debug build, but when we try to make an archive we get this error.
'UnityFramework/UnityFramework.h' file not found, aslo tried all suggestions above without a luck (
What worked for us was to set Pods and Runner projects deployment targets to 12.0 (minimum iOS supported on Xcode 12)

And set Build Active Architecture Only to YES for Pods project.

Thanks for sharing!


Many load balancers need to get ip through proxy protocol , can support proxy protol ?

What should we add or change to make your life better?
Many load balancers need to get ip through proxy protocol , can support proxy protol ?
Why is this important to you?
get Real ip (user ip )

Inbound or outbound?
https://github.com/microsoft/reverse-proxy/issues/11
https://github.com/microsoft/reverse-proxy/issues/12
Closing as a duplicate.

We need to get the user's ip through the proxy protocol
my network topology


glava: 1.5.8 -> 1.6.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I'm not sure if it is a new issue with this package but:
[nix-shell:~/.cache/nix-review/pr-57476]$ ./results/glava/bin/glava -V
GLava (glava) unknown (stable, unix/fhs)


fix: map ports via uPnP when addresses change

Refactors the uPnP port mapper to map ports when addresses change instead of once at startup.
This is because some addresses are not open at startup and only become available some time later.

Closing in favour of #2797


demo error

Hi :D
I followed the README to try to run the demo. There was no problem up to '3' but I got the following error in '4'. What should I do?

Traceback (most recent call last):
File "demo.py", line 4, in
from faster_rcnn.faster_rcnn import FasterRCNN
File "/home/anears/Desktop/test/faster_rcnn_pytorch/faster_rcnn/faster_rcnn.py", line 10, in
from faster_rcnn.fast_rcnn.nms_wrapper import nms
File "/home/anears/Desktop/test/faster_rcnn_pytorch/faster_rcnn/fast_rcnn/init.py", line 9, in
from . import nms_wrapper
File "/home/anears/Desktop/test/faster_rcnn_pytorch/faster_rcnn/fast_rcnn/nms_wrapper.py", line 9, in
from faster_rcnn.nms.gpu_nms import gpu_nms
ImportError: /home/anears/Desktop/test/faster_rcnn_pytorch/faster_rcnn/nms/gpu_nms.cpython-36m-x86_64-linux-gnu.so: undefined symbol: __cudaPopCallConfiguration

What is cudaPopCallConfiguration..??
Thank!

hi:
i have meet this prolem.Did you resolve it?
please tell me the way to resolve the problem.

hi:
i have meet this prolem.Did you resolve it?
please tell me the way to resolve the problem.

Hi :D
I tried with another computer and it succeeded.
I think it's a version issue.
I want to tell you the computer environment(eg CUDA version) at that time, but I can not tell because I formatted my computer. sorry.
I hope you solve this problem.
thank.

I have the same problem, and my computer uses AMD threadripper. I am not sure if it is the problem?


jaeger-collector "caller":"kafka/writer.go:58","msg":"circuit breaker is open"

hey,
i am getting lots of
{"level":"error","ts":1584263247.6373,"caller":"kafka/writer.go:58","msg":"circuit breaker is open","stacktrace":"github.com/jaegertracing/jaeger/plugin/storage/kafka.NewSpanWriter.func2\n\tgithub.com/jaegertracing/jaeger/plugin/storage/kafka/writer.go:58"}
my jager-collector uses kafka as a storage
and i have jager-ingester listen to kafka and saves to elastic search
what does it mean circuit breaker is open and how can i solve this problem ?

this is something coming from the sarama kafka driver.
https://github.com/jaegertracing/jaeger/blob/af674a5433ff6bd9cf624dacaa28ec6ebea82c48/plugin/storage/kafka/writer.go#L57-L61

I know, but what does it mean and how can i solve that ?
i tried googling the answer, not a lot of results!

I know, but what does it mean and how can i solve that ?
i tried googling the answer, not a lot of results!

I also encountered the same error, did you solve it? how did it solve it
Look forward to your reply

Is it happening only after a period of time? Or right away, upon bootstrap? What are the versions of the components involved (Kafka, Jaeger)? Are you able to consistently reproduce it easily? If so, please share the steps so that we can try it out ourselves.

We need information in order to reproduce and eventually fix this. I'm closing this, but feel free to reopen if you can provide the information or a fix.


support for service definitions

This includes another commit for option name surrounded with brackets and maps as option values.
closes #10

Thanks! Released in 2.1.0


merge m3u8 segments into mp4 not working

Describe the bug
i am trying to merge the segments from a m3u8 file and save/download it into mp4
but i keep getting an error
Expected behavior
Merge .ts files and save/download
Desktop (please complete the following information):

OS: Linux
Browser: brave/chromium
Version: 91.0.4472.114

anything i am doing wrong?
Code
{
  args: ['-i', 'index.m3u8', '-c', 'copy', 'video.mp4'],
  inFilename: 'index.m3u8',
  outFilename: 'video.mp4',
  mediaType: 'video/mp4',
}

response
[fferr] [hls @ 0x1a33300] Failed to open segment 57 of playlist 0
log.js:15 [fferr] [hls @ 0x1a33300] Opening 'index58.ts' for reading
log.js:15 [fferr] [hls @ 0x1a33300] Failed to open segment 58 of playlist 0
log.js:15 [fferr] [hls @ 0x1a33300] Opening 'index59.ts' for reading
log.js:15 [fferr] [hls @ 0x1a33300] Failed to open segment 59 of playlist 0
log.js:15 [fferr] [hls @ 0x1a33300] Opening 'index60.ts' for reading
log.js:15 [fferr] [hls @ 0x1a33300] Failed to open segment 60 of playlist 0
log.js:15 [fferr] [hls @ 0x1a33300] Opening 'index61.ts' for reading

@spidyhackx Have you loaded all of your segments into the Emscripten file system?


form-data module not supported?

Using FormData in the browser works perfectly, but when using the Node.js version require('form-data'), I get a socket hang up error after waiting for like a minute.
Example:
const FormData = require('form-data')
const fs = require('fs')
const axios = require('axios')

const data = new FormData()
data.append('file', fs.createReadStream('package.json'))

axios.post('/upload', data).then(() => console.log('Done'))

This works with node-fetch.

It isn't supported for the moment. Also closing as duplicate from #789.


Feature: Add Debian packages to releases

Feature description
We should have Debian packages in our releases, to make it easier to install Conduit on Linux machines.
Once this is done, the AWS installation guide added here should be updated.

Would be nice to do this to make the installation even easier.

We added Debian and RPM as installation methods meanwhile.


"Oh no!" error after loading a session

I use https://github.com/vim-ctrlspace/vim-ctrlspace for session loading. Which worked before, but now I get an error:

Seems to happen when there is only one buffer in a tab?!

I also get this every once in a while (5 times this day, I believe) when I hit ,tc which is mapped to:
nmap <Leader>tc :tab split<cr>

:tab split is not a plugin, I don't think it has to do with ctrl-space itself.

Seems like a core Oni issue then

:tabclose also breaks Oni. I switch now to nvim as with that much various crashes and error popups I can't work.
@badosu yes, happens without init.vim aswell

@hoschi , have you got a repro for this? I'm trying to have a look into it, but I'm struggling to get it to happen for me.

I got it after 5mins with repeating this steps:

open a file with "ctrl+p"
open another file
:tab split
open another file
open another file
:tab split
...

I'm on 44e162d359c6b2a669e5d6

Yep, repro'd it and got it sorted.
 Sorry!
Should also fix #1588 as far as I can tell, just pushing it now so the CI tests can run.

Thanks for looking into it @CrossR
I update tomorrow morning and test it.

@hoschi Not sure if it would have avoided this specific error, but using the tagged released versions has proven stable for the last 3 months for day-to-day work to me.

As I post several bugs after in depth testing after an update, I can skip the question "it is fixed in master" right away using master instead of stable.

I try to update when a stable version was released, but most of the time it doesn't fit in my schedule :disappointed:

Seems to be fixed with  #1590
I'll test it this day and close this and #1588 if it doesn't crash anymore.

No crash yesterday.


API_KEY formatting

In my terminal I need to have parentheses around the actual API key. You just list the API key after the export ANTHROPIC_API_KEY=api_key
I think it would be clearer for novices to have
ANTHROPIC_API_KEY="api_key"
All the best.

That's interesting, what terminal are you using? All unix based shells should support the export syntax shown in the readme.

I was using iTerm.

Hmm yeah not sure why it wasn't working for you. I have no issues running it in iterm. I'm gonna go ahead and close this.


Transition hooks aren't called from render function

Version
3.0.0-beta.20
Reproduction link
https://jsfiddle.net/qjds4L1r/5/
Steps to reproduce

Click 'Toggle failure' - hook not fired
Click 'Toggle working' - hook fired, message logged

What is expected?
Hooks called when manually rendered
What is actually happening?
Hooks aren't called

The TransitionWrapper need pass slots into Transition.Use blew code inside TransitionWrapper steup
return () => h(Transition, { css: false, onEnter }, slots)

@underfin - using that code in my reproduction still doesn't call the onEnter hook

You forgot registerTransitionWrapper  inside App=.=

Nice catch, sorry for the false report and thanks for taking a look @underfin !

Nice catch, sorry for the false report and thanks for taking a look @underfin !

hi， brother, how to  fix it ?

@zangtian2 - here's a working version - https://jsfiddle.net/j9vp0uy3/
As Underfin mentioned, I was missing the component registration - e.g. components: { TransitionWrapper }

oh, thank u very much


(bug) System.UnauthorizedAccessException when accessing paths under 'C:\Program Files (x86)\Babble App\AppConfiguration.json'

Describe the bug
Installed versions of the Babble App throw an System.UnauthorizedAccessException.
To Reproduce
Steps to reproduce the behavior:
This is present in current version of the app.
Expected behavior
The app does not throw this issue.
Desktop (please complete the following information):

OS: Windows 10 x86
Version 22H2

Additional context
@Xlinka mentioned this may have to do with our use of System.IO.Ports or any similar networking libraries such as System.Net.
@SummerSigh mentioned this may have do with protected folders under the C drive.

From the discord:

i think its happen only when its install in "C:/" or where you place the OS
when i try install it in my "D:/" it run with out UAC
maybe try changing path file to %appdata% so the app able to R/W it
...
Installed Babble onto another drive other than the C:/Program Files folder and I don't have to run BabbleApp as Administrator to open it.
Actually on the C: it works just fine as well, It seems to be just installed in C:\Program Files (x86)\ that requires elevated privileges.

This may just be a code signing issue at this point.

Further testing by @Xlinka indicates this is a problem if a user installs the application to %Program Files%. A workaround is to install to %appdata%.


net.jini.lookup.LookupCacheImpl improve ServiceEvent processing and ServiceDiscardTimerTask Executors

ServiceDiscardTimerTask unnecessarily consumes threads while waiting a ScheduledExecutorService would be simpler and more suitable.
ServiceEvent's are not presently arranged in the queue prior to processing, and ordered queue would be more efficient than passing the event back to the queue.
HandleServiceEventTask could be more efficient with thread consumption, also synchronization on EventReg should be atomic when checking state.

Work completed in last commit.


Update multi-stage example to reference latest example from Macros section

Current Example is based on obsolete content of macros-spec.md (which was updated in commit d8c9714) . This small change brings in the updated content here as well.
Attn @nicolasstucki

There are some test failures, but they seem unrelated. They should disappear after rerunning the CI

The CI seems to be still broken and when I tried to rebase I got conflicts in places no changes were done. Did you check out from the main branch? You might need to redo the PR by doing it.

The CI seems to be still broken and when I tried to rebase I got conflicts in places no changes were done. Did you check out from the main branch? You might need to redo the PR by doing it.

Thanks Tomasz. I've created my PR online following links from the online doc. I believe it refers scala:language-reference-stable branch, which became current base branch for my PR. I'll try to re-base it to master, and if not - close this PR and open a new one. Thanks for taking a look and pointing it out!

Closing this PR, and open a new (properly based on branch main): https://github.com/scala/scala3/pull/22256


Difficulty level 4 is a little too extreme

It's almost impossible to play in this difficulty. I'm a professional cs player and can easily beat original bots with expert difficulty. But the highest difficulty for yapb is too extreme. One reason is that yapb bots start to fire even when the enemy is still behind the cover, but close to the edge of it (it gets even worse when the cover is a door and shots poss through it).

Well this is not a problem. As you can lower the difficulty. I know some players, that finds this bots are easy.
I have plans to add autodiffuclty based on humans KpD.


pathogen field support for PhyloRun, Sample, PathogenGenome tables

Summary:

What: add pathogen foreign keys to Sample, PthogenGenome, and PhyloRun tables
Ticket: sc211473
Env: <rdev link>

Demos:
Notes:
Checklist:

[x] I merged latest trunk
[x] I manually verified the change
[x] I added labels to my PR
[ ] I tested in multiple browsers
[ ] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

We should merge & deploy migrations before updating our SA models to use the new columns, or else we'll cause errors while upgrading our app.

I agree with this, but how do we handle the Prod aspect? Would we make a separate PR of just the migrations, merge that to Staging, verify things didn't break in Staging and the migration succeeded, then do a Prod push before coming back with the PR to handle the SA models and rest of the changes? Or are you thinking something different?

I agree with this, but how do we handle the Prod aspect? Would we make a separate PR of just the migrations, merge that to Staging, verify things didn't break in Staging and the migration succeeded, then do a Prod push before coming back with the PR to handle the SA models and rest of the changes? Or are you thinking something different?

Yep, we can deploy to prod once we've verified that staging looks good, and then open up a PR for other code changes that use new fields.


WIP: Firefox policies w/ extensions integration

Description
Ability to provide a list of extensions, that will be installed in a correct way (none-hacky), which is supported from the Mozilla point of view.
Currently this will not work, as it also requires some work to be done on how the Firefox addons are generated.
This also relies on the work here https://github.com/NixOS/nixpkgs/pull/94898 , as a custom patch is required to make the policies on a pr. profile basis.
It can be made user wide, but that would not be that useful for some.
Maybe supporting both would be good? Any input @rycee , on what you think?
This is the config I use atm.
{ config, pkgs, lib, ... }:

let
  ffxpis = pkgs.recurseIntoAttrs (pkgs.callPackage ./modules/firefox {});
in {
    programs.firefox = {
      enable = true;
      package = pkgs.firefox-policies;

      profiles = {
        "default" = {
          id = 0;
          extensions = with ffxpis; [
            https-everywhere
            bitwarden
            i-dont-care-about-cookies
            ublock-origin
            surfingkeys_ff
          ];

          settings = {
            "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
            "svg.context-properties.content.enabled" = true;
          };
          extraPolicies = {
            DontCheckDefaultBrowser = false;
            OfferToSaveLogins = false;
          };

          userChrome = ''
          '';
        };
      };
    };
}

Where I use this version, to generate my plugins. Slightly modified default.nix, with a python rewrite of the current version - https://gitlab.com/eyJhb/nix-firefox-addons
Checklist

[ ] Change is backwards compatible.

[ ] Code formatted with ./format.

[ ] Code tested through nix-shell --pure tests -A run.all.

[ ] Test cases updated/added. See example.

[ ] Commit messages are formatted like
{component}: {description}

{long description}

See CONTRIBUTING for more information and recent commit messages for examples.

If this PR adds a new module

[ ] Added myself as module maintainer. See example.

[ ] Added myself and the module files to .github/CODEOWNERS.

Hmm, I don't have any particular opinion. I image it would be nice to have a per-profile setup. The extensions are now installed per-profile although the setting is global, I've been thinking about moving the option to be per-profile.
I don't understand how it could work with the XDG_RUNTIME_DIR, though. Since that directory gets deleted regularly and the HM activation only happens occasionally you might not actually start Firefox while the file is available? XDG_RUNTIME_DIR seems like an odd choice for this file in general, it doesn't seem ephemeral and non-essential.

The current way is somewhat hacky compared to this, as it is a more official way of doing it (using policies, that is).
I have however not thought about /run/user/.../ being deleted that often. The reason for placing it there, is that it is the place where Firefox will read the policies from, if the patch in the Nixpkgs is not applied (which allows for the pr. Profile settings/extensions). Not sure if there is a better way.
Ideally we would get the nixpkgs PR merged, butI can also see forcing users to use that specific Firefox with that patch is not ideal. But so is forcing any Firefox version/package on a user isn't. So I think that supporting both a normal FF version and a patched one is ideal. Or is that just me?
Is there a way to make the /run/user/.../, file always available using HM? I am guessing the only way would be a systemd unit, or patching the package like in the other PR that is open.

Thinking I will integrate it with a  systemd path unit, which will ensure that the file exists :) Not sure it will be before Friday/Saturday. Any comments is appreciated !

Should be mentioned that a systemd unit would make the module incompatible with macos. But I imagine the use of XDG_RUNTIME_DIR already is causing an incompatibility 😕
I'm wondering if not this policy file is intended for something completely different than actually setting up Firefox in a general way? The way its done using XDG_RUNTIME_DIR seems to very focused on some use-case that doesn't match ours. Perhaps it's more for when you'd like to run a containerized Firefox?

Slip of a finger regarding the closing.
It is actually called enterprise policies, so it is a way for a company to configure it in a special way. Normally it would reside in/etc/firefox/policies.json, until someone complained about it, and got it enabled for using pr. User. The directory chosen does not seem optimal no. But there should be a similar place for Mac OS X I would suppose?

Yeah, I imagine it should be available for macos as well but I don't really know anything about it :-/ If it's not available then I fear this would have to go in a separate module firefox-policies.nix, or something, which is only enabled for Linux hosts.

We might have to pull in a Mac user then, and see how that works. That could be a option yes, and would be quite nice if that is the end result.
I guess that would have to be cleared first. However, how do you feel about the nixpkgs patch?

I don't really know anything about the Firefox code to say whether the patch itself is fine or not but in general I imagine it would be quite nice to have per-profile policies 🙂
But I worry a bit about requiring the user to use a special firefox-policies package. It might be worth doing a first iteration of this feature in HM without per-profile policies and then bring in the per-profile support later?

The code itself is a thing, but it was more the general idea of having it :)
Hmm, that might be a good thing yes. Let me try and see, if I can clean this PR up a little bit. I will be making the changes in the assumption, that it will work on Mac too, and that it can replace the current way extensions work. If that is not the case, it should be easy to put it back in again :)
Need to figure out how systemd wants to cooperate with a path unit, but I am not sure that can be a solution at all, sadly... I think the best choice it a timer script, that runs ever X secs to check if the file exists, if not symlink it :)

Since the runtime dir is created when you log in I imagine it should be sufficient with a oneshot service wanted by default.target.

Update - Not forgotten, but have had (and still have) a lot of preparations for family gathering.
Hoping to work on this soon again!

@rycee I have made it into a oneshot service, but it does not seem to run the service on nixos-rebuild switch, or am I doing something wrong?

Seems to work with systemd.user.startServices = true, as the bash implementation did not work well. This should either be set for the user, or indicate it in a option.
Besides this, I am still debating if it should have the option to include the patch for Firefox, so that we can have a pr. profile policies.json. I really like the idea of it! Because you could have one for uni, hacking (accept all certs), work, personal each with its own extensions, bookmarks, etc.
Any comment is appreciated @rycee  !

@rycee it should be working now, is there anything that should be changed? And can this even be merged? :)

Should maybe be reworked to work with #91724 instead :)


what does "pip install ." mean

When I install package following the file named "readme.md":

the system displays an error like this:

as showing, I'v tried to find out the 'setup.py' or 'pyproject.toml', but none of them was found.
My OS is windows 10 PE and my python version is 3.9 in conda env. I don't know how to solve this problem, then it influences my debugging because there is no package named "searchsorted" as below:

as a greendhand, I hope for some help,  thanks!

I think I know why: I download the code by ZIP rather than by 'git clone', so, the files in floder 'torchsearchsorted' were not downloaded.

I only configured the environment today, and a kind person can tell me a qualified configuration horse, because some python3.6 can no longer be found.


Used 'compressed' header encoding for hsm messages' payload

This PR changes the way on how block headers are being encoded when included in payloads of HSM messages. With the change they are now being "compressed".
rskj:rskip351+rskip144

pipeline:run

pipeline:run

pipeline:run

pipeline:run

pipeline:run

pipeline:run

pipeline:run

pipeline:run

pipeline:run

pipeline:run


sublime4-dev: 4147 -> 4148

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for sublime4-dev is: Sophisticated text editor for code, markup and prose
meta.homepage for sublime4-dev is: https://www.sublimetext.com/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4148 with grep in /nix/store/sdjb1vk2rpyrsa7zr2rz71hids7w38sq-sublimetext4-4148
found 4148 in filename of file in /nix/store/sdjb1vk2rpyrsa7zr2rz71hids7w38sq-sublimetext4-4148

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
sublime4-dev

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sdjb1vk2rpyrsa7zr2rz71hids7w38sq-sublimetext4-4148 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sublime4-dev https://github.com/r-ryantm/nixpkgs/archive/dde6ae47d5198ad64d6cf822e964febb925687ce.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sdjb1vk2rpyrsa7zr2rz71hids7w38sq-sublimetext4-4148
ls -la /nix/store/sdjb1vk2rpyrsa7zr2rz71hids7w38sq-sublimetext4-4148/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sublime4-dev

Maintainer pings
cc @jtojnar @wmertens @demin-dmitriy @zimbatm for testing.

Result of nixpkgs-review pr 221899 run on x86_64-linux 1

1 package built:

sublime4-dev

For me, it appears to crash:
traps: git_thread[1116276] general protection fault ip:7ffff7959f8d sp:7fffd3af3418 error:0 in libc.so.6[7ffff7828000+176000]

(gdb) bt full
#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:273
No locals.
#1  0x00005555558e59cb in ?? ()
No symbol table info available.
#2  0x00005555559454f6 in ?? ()
No symbol table info available.
#3  0x0000555555d52514 in ?? ()
No symbol table info available.
#4  0x00005555559c52ff in ?? ()
No symbol table info available.
#5  0x0000555555a89ac6 in ?? ()
No symbol table info available.
#6  0x00007ffff7888e86 in start_thread (arg=<optimized out>) at pthread_create.c:442
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737488324368,<PHONE_NUMBER>543309021,<PHONE_NUMBER>09024,<PHONE_NUMBER>79680, 11, -64, -8757590129037645603, -8757669064384943907}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#7  0x00007ffff790fd30 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.


[DROOLS-787] remove unnecessary synchronization in Process*Factory classes

the providers are initialized only once by default, so most of
the synchronization could be removed. This use case
covers the standard (non-OSGi) use cases as the provider class
will be on classpath when doing the initializaiton. In OSGi,
we need a way to force re-initialization as the provider class
might not have been available when calling the initialize method
the first time (e.g. the jBPM bundles were not yet started). But
once activating the jBPM bundles, we want to make sure the Drools
engine is aware of the jBPM-related factories.

simple getters/setters do not need synchronization as assignment
of object reference is atomic

synchronization is left only in the reInitialize*() methods.
Since they are called only once in the Activators it should
not bring any noticible performance penalty

@mariofusco, @mswiderski  would be great if you could take a look to make sure I haven't overlooked something.

This PR needs to be merged together with https://github.com/droolsjbpm/jbpm/pull/379

looks good to me so +1

Merged by https://github.com/droolsjbpm/drools/commit/b28fd0a2b


Update .openpublishing.redirection.json

edits

Docs Build status updates of commit a4b91bb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:bulb:Suggestion

Details

.openpublishing.redirection.json

Line 6: [Suggestion] Can't preserve document ID for redirected file 'index.md' because redirect URL 'community.yml' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.

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

Docs Build status updates of commit f0caf83:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

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

Docs Build status updates of commit 26935a4:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in https://SiteHelp and include the URL of publishing report as well as below information: One or more errors occurred..

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


run.sh is out of date

run.sh is out of date after the command line interface was changed.  This should be fixed later.

Never mind.  A more accurate description is that run.sh is part of the obsolete code.


Connector: Redshift Destination

We need a Redshift destination connector.

The connector is being developed here: https://github.com/conduitio-labs/conduit-connector-redshift It's mostly done and currently it's in this branch. It's undergoing some testing before a PR is opened.

Redshift connector exists: https://github.com/conduitio-labs/conduit-connector-redshift


[Firefox] Checkbox, text and link about data protection not shown in contactform

Prestshop version: <IP_ADDRESS>
Module version: 1.1.3
Chrome - OK

Internet Explorer - OK

Firefox 70.0.1 - NOK

Module configuration

Thanks for the information :)
Regards,

Please provide us more information to reproduce ?
Wich os ? firefox version ?


Heap-buffer-overflow caused by out-of-bounds vector access when using SetScalingTechnique(FIXEDAUTO) in BGV

In simple-integers-bgvrns example, the program can run normally when SetScalingTechnique(FIXEDAUTO) (or FLEXIBLEAUTO) is used instead of the default value FLEXIBLEAUTOEXT. However, a heap-buffer-overflow can be detected by AddressSanitizer. By tracing the error position indicated in the ASAN report, I found that there was no strict boundary check for the vector in bgvrns-parametergeneration.cpp.
Since the operator[] of the vector does not automatically perform boundary checking, the program can run normally but will be detected by AddressSanitizer. Adding the condition moduliQ.size() > numPrimes before judging moduliQ[1] == moduliQ[numPrimes] can solve this problem. However, as long as numPrimes is small, I am concerned that moduliQ[1] and moduliQ[0] may also pose similar risks, and it is currently unclear whether there are any limitations on the size of numPrimes.
// add one line in simple-integers-bgvrns.cpp
    parameters.SetScalingTechnique(FIXEDAUTO); // or FLEXIBLEAUTO

// ===========  in source code: src/pke/lib/scheme/bgvrns/bgvrns-parametergeneration.cpp ==============
    size_t numModuli = scalTech == FLEXIBLEAUTOEXT ? numPrimes + 1 : numPrimes;
    std::vector<NativeInteger> moduliQ(numModuli);                       // defined here: src/pke/lib/scheme/bgvrns/bgvrns-parametergeneration.cpp:181

// !!! moduliQ[numPrimes] may result in out-of-bounds vector access
    while (moduliQ[1] == moduliQ[0] || moduliQ[1] == moduliQ[numPrimes] || moduliQ[1] == plainModulusInt) { // crash here: src/pke/lib/scheme/bgvrns/bgvrns-parametergeneration.cpp:253
         moduliQ[1] = NextPrime<NativeInteger>(moduliQ[1], cyclOrder);
    }

// ================ ASAN report =====================
==378525==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6030000008f8 at pc 0x55ccf2901447 bp 0x7ffede825dd0 sp 0x7ffede825dc0
READ of size 8 at 0x6030000008f8 thread T0
    #0 0x55ccf2901446 in intnat::NativeIntegerT<unsigned long>::Compare(intnat::NativeIntegerT<unsigned long> const&) const /root/openfhe-development/src/core/include/math/hal/intnat/ubintnat.h:1800
    #1 0x55ccf2901446 in lbcrypto::operator==(intnat::NativeIntegerT<unsigned long> const&, intnat::NativeIntegerT<unsigned long> const&) /root/openfhe-development/src/core/include/math/hal/integer.h:553
    #2 0x55ccf2901446 in lbcrypto::ParameterGenerationBGVRNS::computeModuli(std::shared_ptr<lbcrypto::CryptoParametersBase<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > > >, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const /root/openfhe-development/src/pke/lib/scheme/bgvrns/bgvrns-parametergeneration.cpp:252
    #3 0x55ccf2905929 in lbcrypto::ParameterGenerationBGVRNS::ParamsGenBGVRNS(std::shared_ptr<lbcrypto::CryptoParametersBase<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > > >, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const /root/openfhe-development/src/pke/lib/scheme/bgvrns/bgvrns-parametergeneration.cpp:391
    #4 0x55ccf26b7705 in lbcrypto::SchemeBase<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > >::ParamsGenBGVRNS(std::shared_ptr<lbcrypto::CryptoParametersBase<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > > >, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const /root/openfhe-development/src/pke/include/schemebase/base-scheme.h:174
    #5 0x55ccf26a4473 in lbcrypto::CryptoContextBGVRNS::ContextType lbcrypto::genCryptoContextBGVRNSInternal<lbcrypto::CryptoContextBGVRNS, lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > >(lbcrypto::CCParams<lbcrypto::CryptoContextBGVRNS> const&) /root/openfhe-development/src/pke/include/scheme/bgvrns/gen-cryptocontext-bgvrns-internal.h:93
    #6 0x55ccf26822d0 in lbcrypto::CryptoContextBGVRNS::genCryptoContext(lbcrypto::CCParams<lbcrypto::CryptoContextBGVRNS> const&) /root/openfhe-development/src/pke/include/scheme/bgvrns/cryptocontext-bgvrns.h:61
    #7 0x55ccf26822d0 in lbcrypto::CryptoContextBGVRNS::ContextType lbcrypto::GenCryptoContext<lbcrypto::CryptoContextBGVRNS>(lbcrypto::CCParams<lbcrypto::CryptoContextBGVRNS> const&) /root/openfhe-development/src/pke/include/gen-cryptocontext.h:90
    #8 0x55ccf26822d0 in main /root/openfhe-development/src/pke/examples/simple-integers-bgvrns.cpp:46
    #9 0x7fa2f91c1d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
    #10 0x7fa2f91c1e3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
    #11 0x55ccf2681ee4 in _start (/root/openfhe-development/build_static/bin/simple-integers-bgvrns+0x6bee4)

0x6030000008f8 is located 0 bytes to the right of 24-byte region [0x6030000008e0,0x6030000008f8)
allocated by thread T0 here:
    #0 0x7fa2f97a71c7 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
    #1 0x55ccf28ff352 in __gnu_cxx::new_allocator<intnat::NativeIntegerT<unsigned long> >::allocate(unsigned long, void const*) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h:127
    #2 0x55ccf28ff352 in std::allocator_traits<std::allocator<intnat::NativeIntegerT<unsigned long> > >::allocate(std::allocator<intnat::NativeIntegerT<unsigned long> >&, unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h:464
    #3 0x55ccf28ff352 in std::_Vector_base<intnat::NativeIntegerT<unsigned long>, std::allocator<intnat::NativeIntegerT<unsigned long> > >::_M_allocate(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:346
    #4 0x55ccf28ff352 in std::_Vector_base<intnat::NativeIntegerT<unsigned long>, std::allocator<intnat::NativeIntegerT<unsigned long> > >::_M_create_storage(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:361
    #5 0x55ccf28ff352 in std::_Vector_base<intnat::NativeIntegerT<unsigned long>, std::allocator<intnat::NativeIntegerT<unsigned long> > >::_Vector_base(unsigned long, std::allocator<intnat::NativeIntegerT<unsigned long> > const&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:305
    #6 0x55ccf28ff352 in std::vector<intnat::NativeIntegerT<unsigned long>, std::allocator<intnat::NativeIntegerT<unsigned long> > >::vector(unsigned long, std::allocator<intnat::NativeIntegerT<unsigned long> > const&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:511
    #7 0x55ccf28ff352 in lbcrypto::ParameterGenerationBGVRNS::computeModuli(std::shared_ptr<lbcrypto::CryptoParametersBase<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > > >, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const /root/openfhe-development/src/pke/lib/scheme/bgvrns/bgvrns-parametergeneration.cpp:180
    #8 0x55ccf2905929 in lbcrypto::ParameterGenerationBGVRNS::ParamsGenBGVRNS(std::shared_ptr<lbcrypto::CryptoParametersBase<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > > >, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const /root/openfhe-development/src/pke/lib/scheme/bgvrns/bgvrns-parametergeneration.cpp:391
    #9 0x55ccf26b7705 in lbcrypto::SchemeBase<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > >::ParamsGenBGVRNS(std::shared_ptr<lbcrypto::CryptoParametersBase<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > > >, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const /root/openfhe-development/src/pke/include/schemebase/base-scheme.h:174
    #10 0x55ccf26a4473 in lbcrypto::CryptoContextBGVRNS::ContextType lbcrypto::genCryptoContextBGVRNSInternal<lbcrypto::CryptoContextBGVRNS, lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint<unsigned int> > > >(lbcrypto::CCParams<lbcrypto::CryptoContextBGVRNS> const&) /root/openfhe-development/src/pke/include/scheme/bgvrns/gen-cryptocontext-bgvrns-internal.h:93
    #11 0x55ccf26822d0 in lbcrypto::CryptoContextBGVRNS::genCryptoContext(lbcrypto::CCParams<lbcrypto::CryptoContextBGVRNS> const&) /root/openfhe-development/src/pke/include/scheme/bgvrns/cryptocontext-bgvrns.h:61
    #12 0x55ccf26822d0 in lbcrypto::CryptoContextBGVRNS::ContextType lbcrypto::GenCryptoContext<lbcrypto::CryptoContextBGVRNS>(lbcrypto::CCParams<lbcrypto::CryptoContextBGVRNS> const&) /root/openfhe-development/src/pke/include/gen-cryptocontext.h:90
    #13 0x55ccf26822d0 in main /root/openfhe-development/src/pke/examples/simple-integers-bgvrns.cpp:46
    #14 0x7fa2f91c1d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)

PS: The issues I reported can be easily reproduced in the examples provided by OpenFHE. I would appreciate it if these issues could be confirmed as soon as possible, so that I can mention them in my research. Thanks in advance.

A fix is currently available in the dev branch of OpenFHE. We will move it to main with the next OpenFHE release.


Unable to get a valid config for Template Cover

Home Assistant release with the issue:
0.68.1
Last working Home Assistant release (if known):
Unknown
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
Template Cover
Description of problem:
Unable to get a valid config.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
cover:
  - platform: template
    covers:
      garasjeport:
        friendly_name: "Garasjeport"
        value_template: "{{(states.switch.gangswitch_switch.state)}}"
        open_cover:
          service: switch.turn_on
          data:
            entity_id: switch.garasjeport_switch
        close_cover:
          service: switch.turn_on
          data:
            entity_id: switch.garasjeport_switch

Traceback (if applicable):
Additional information:
The config validation tool returns the following:
ERROR
starting version 3.2.4
Testing configuration at /config
Failed config
  cover:
    - Invalid config for [cover]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 6). Please check the docs at https://home-assistant.io/components/cover/

configuration.yaml line 6: cover: !include cover.yaml

If you !include like you do here, Home Assistant will parse the config like this:
cover:
  cover:
    - platform: template
      covers:
        garasjeport:
          friendly_name: "Garasjeport"
          value_template: "{{(states.switch.gangswitch_switch.state)}}"
          open_cover:
            service: switch.turn_on
            data:
              entity_id: switch.garasjeport_switch
          close_cover:
            service: switch.turn_on
            data:
              entity_id: switch.garasjeport_switch

which is invalid. Put the following in your cover.yaml to fix the issue:
- platform: template
  covers:
    garasjeport:
      friendly_name: "Garasjeport"
      value_template: "{{(states.switch.gangswitch_switch.state)}}"
      open_cover:
        service: switch.turn_on
        data:
          entity_id: switch.garasjeport_switch
      close_cover:
        service: switch.turn_on
        data:
          entity_id: switch.garasjeport_switch


fix: missing 1825 rule

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Part of #8944

You can test this PR using the following package version. 11.0.999-cibuild0024733-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0024795-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


tf2 Tutorials: update code snippets in the python broadcaster tutorials

Signed-off-by: Shyngyskhan Abilkassov<EMAIL_ADDRESS>

@mergify backport foxy galactic


[BarChartCard] timestamps in tooltip are not reflecting the given data timestamp

Describe the bug
The timestamp value shown in the tooltip does not match the value in the x-axis.
To Reproduce
Steps to reproduce the behavior:

Go to BarChartCard - time series story
Hover over tooltip
See that the tooltip dates don't match the data

Expected behavior
Tooltip date should reflect the actual given date
Environment/versions:

OS:  MacOS
Browser: chrome
carbon-addons-iot-react version: v2.100.2

Specific timeline issues / requests
Do you want this work within a specific time period? Is it related to an
upcoming release?
September release

:tada: This issue has been resolved in version 2.112.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


List of supporting browsers?

Trying to build a production app, but need to support old Android browsers. Is there a list of supporting browsers some where in the doc?

I've been developing on an LG Realm with 4.3 I believe. There isn't a list, but it works pretty well.

I've encountered issues supporting older Android browsers. I've found that Android default browsers under 4.3 do not support flexbox layouts.
To solve, I created a replacement titlebar component that does not use a flexbox layout. For the other ui components, I added fallback css styles for browsers which don't recognize flexbox.
Additionally, the modals will not work on Android browsers under 4.3, although the issue is not flexbox. There seems to be a bug in these browsers wherein z-indexes are not respected on fixed position elements. See http://stackoverflow.com/questions/26408978/android-browsers-position-fixed-and-z-index-issue and http://stackoverflow.com/questions/12923305/workaround-polyfill-for-android-4-0-3-stock-browser-z-index-issues. So, I created a replacement modal component.
I am still stuck on scrolling issue for Chrome on Android 4.0 - users cannot scroll down in Chrome (works fine on Android default browser). I cannot seem to recognize the cause. I tried switching overflow-y behavior from 'hidden' to 'scroll'. If anyone has experience with this odd behavior, insight would be appreciated.

Sorry I can't help on the scroll issue, but if your fallbacks are something you could create a PR for it sure would be appreciated.


auro-badge: add icon to Figma component

Is your feature request related to a problem? Please describe.
There has been requests from designers and use cases for icons to be used in a badge (pill option).
Describe the solution you'd like
Add a Figma component that will let designers implement this. This is already possible in code (can add anything into the slot), so no code changes needed.

Blueprint for new change done. Changes include less padding on the left side of an icon and an addition of an icon.
https://www.figma.com/file/mi7SCkpWH8lV3hv8SISZoc/Badge?node-id=1809%3A10114&t=WZ7gDzprfvNKH57s-4


fix: Support expr instead of string for argument to interval

In Big Query and MySQL, the following query is valid:
SELECT DATE_ADD(DATE "2008-12-25", INTERVAL 5 DAY);

https://cloud.google.com/bigquery/docs/reference/standard-sql/date_functions#date_add
https://www.w3schools.com/mysql/func_mysql_date_add.asp
But now if the expression is number, an error occurred because the type of the value in interval is String
https://github.com/sqlparser-rs/sqlparser-rs/blob/ca15a4edbf1de4c00304b12e44d3adf9ac729406/src/ast/value.rs#L53
This PR replaces String with Expr to run correctly in Interval
One concern thing is that should I validate when the other dialect like PostgresSQL, sqlite. I don't know if the query is valid except for Big query and MySQL.

Great to see this. There's related discussion in #298.

@togami2864  -- there appear to be some CI failures

@alamb I fixed all CI failures. Thanks.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

28 of 29 (96.55%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 89.822%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/ast/value.rs
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
8737

Relevant Lines:
9727

💛  - Coveralls


ChatJoinedEvent not working

I've always used ChatJoinedEvent but once I updated it just stopped working. I put debug messages and they don't run.

ParticipantAddedEvent doesnt work either

uh oh


Add a favicon

List of Changes

Add new logo as a favicon to docs.

Acknowledgement

[x] I have read the Contributing Guidelines

This probably also requires a change in conf.py, something like html_favicon = "_static/favicon.ico" (for Windows, this path should probably be constructed using pathlib or so).

BTW when building the docs now I get
WARNING: The config value `html_favicon' has type `PosixPath'; expected `str'.


Not enough fuel capacity

Version of Advanced Rocketry

1.7.0-232

Have you verified this is an issue in the latest unstable build

[x] Y

Version of LibVulpes

0.4.2-75

Version of Minecraft

1.12.2

Does this occur without other mods installed

[x] N/A

Description of the problem

See screenshots. The rocket assembly machine keeps saying there's not enough fuel capacity despite having 4 liquid fuel tanks.

I think it is pretty clear: you don't have enough fuel to get off the planet. Not a bug.

Sorry, forgot to post an update but initially I ripped off this rocket design from someone else for whom this amount of tanks worked. I tried adding even more later on (about 10 AFAIK) but it still complained about fuel capacity.
After some experimentation, simply rebuilding the launch pad helped, and tanks are now properly detected. Unfortunately i was unable to reproduce the issue...


WM5 | SariatAdenike | HTML-CSS-CakesCo | Week-2

Learners, PR Template
Self checklist

[x] I have committed my files one by one, on purpose, and for a reason
[x] I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
[x] I have tested my changes
[x] My changes follow the style guide
[x] My changes meet the requirements of this task

Changelist
Briefly explain your PR.
My PR is about a Cake shop website with some features.
Questions
Ask any questions you have for your reviewer.

@jcholyhead I have made the changes and will be looking forward to your review.
Thanks


Add possibility to query enriched activities by ids

Hello,
I wanted to add possibility to query enriched activities by ids like in other clients (for example JS client).
Thank you

We will try to include it into a release today

@Solstice1557 We did a small rework of your feature, but we just released it as 4.6.0: https://www.nuget.org/packages/stream-net/

@peterdeme @ferhatelmas Thank you very much.