text:
Clean up the add table methods in ClusterTest for simplicity

Use addRealtimeTable() for both LLC and HLC
Add helper method to reduce duplicate code in addOfflineTable() and updateOfflineTable()
Add more APIs for adding offline table
Update integration tests to use the new APIs

Codecov Report

Merging #1694 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1694      +/-   ##
==========================================
+ Coverage   67.92%   67.92%   +<.01%
==========================================
  Files         830      830
  Lines       40399    40399
  Branches     5312     5312
==========================================
+ Hits        27439    27442       +3
- Misses      11106    11111       +5
+ Partials     1854     1846       -8

Impacted Files
Coverage Δ

...not/common/segment/fetcher/HttpSegmentFetcher.java
28.57% <0%> (-19.05%)
:arrow_down:

...m/linkedin/pinot/common/utils/FileUploadUtils.java
45.58% <0%> (-7.36%)
:arrow_down:

.../impl/dictionary/FloatOnHeapMutableDictionary.java
88.88% <0%> (-6.67%)
:arrow_down:

...not/core/query/pruner/DataSchemaSegmentPruner.java
53.65% <0%> (-4.88%)
:arrow_down:

...r/filter/predicate/PredicateEvaluatorProvider.java
68% <0%> (-4%)
:arrow_down:

...om/linkedin/pinot/transport/netty/NettyServer.java
81.05% <0%> (-2.11%)
:arrow_down:

...pby/NoDictionarySingleColumnGroupKeyGenerator.java
91.91% <0%> (-1.02%)
:arrow_down:

...regation/function/customobject/QuantileDigest.java
49.14% <0%> (ø)
:arrow_up:

.../pinot/core/common/datatable/DataTableBuilder.java
91.06% <0%> (+1.11%)
:arrow_up:

...lix/core/realtime/PinotRealtimeSegmentManager.java
73.44% <0%> (+1.12%)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

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

authors: Jackie-Jiang codecov-io

repo: linkedin/pinot


text:
Raise a metric indicating the response from the controller for segment commit

We were experiencing socket timeouts from the controller when posting segment commit message. This issue went unnoticed because we never did any reporting of the status of the post, and because if the other replicas committed successfully, the problem never has a chance to leave a trail on the consumption or segments.

Codecov Report

Merging #2950 into master will decrease coverage by 0.3%.
The diff coverage is 78.26%.

@@            Coverage Diff             @@
##           master    #2950      +/-   ##
==========================================
- Coverage   69.23%   68.93%   -0.31%
==========================================
  Files         914      914
  Lines       43420    43429       +9
  Branches     5924     5925       +1
==========================================
- Hits        30064    29936     -128
- Misses      11339    11483     +144
+ Partials     2017     2010       -7

Impacted Files
Coverage Δ

...com/linkedin/pinot/common/metrics/ServerMeter.java
100% <100%> (ø)
:arrow_up:

...manager/realtime/LLRealtimeSegmentDataManager.java
72.62% <64.28%> (-0.46%)
:arrow_down:

...nkedin/pinot/common/metrics/ValidationMetrics.java
15.94% <0%> (-55.08%)
:arrow_down:

...pinot/controller/validation/ValidationManager.java
50.87% <0%> (-35.09%)
:arrow_down:

...e/operator/dociditerators/SortedDocIdIterator.java
54.05% <0%> (-10.82%)
:arrow_down:

...e/impl/dictionary/LongOnHeapMutableDictionary.java
82.22% <0%> (-6.67%)
:arrow_down:

...inkedin/pinot/common/config/RealtimeTagConfig.java
93.33% <0%> (-6.67%)
:arrow_down:

...roller/helix/core/PinotTableIdealStateBuilder.java
72.56% <0%> (-6.2%)
:arrow_down:

...edin/pinot/common/metadata/ZKMetadataProvider.java
70.06% <0%> (-6.13%)
:arrow_down:

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
67.27% <0%> (-5.46%)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

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

Moved the metric logic to ServerSegmentCompletionProtocol

source: gharchive/pull-request

authors: codecov-io npawar

license_type: permissive

license_source: bigquery


text:
Improve inequality performance on sorted columns

When a query predicate is specified on a sorted column, we gather the
matching dictionaryIds and convert them to a range list. For inequality
predicates, such as NEQ (not equals) or NOT_IN, when querying a high
cardinality column, it means that we have to hold on to a large list
of ranges during query processing.
This rewritten algorithm for computing the list of ranges merges
adjacent docId ranges and builds its list of ranges from the list of
excluded dictionaryIds, thus minimizing the number of ranges held
resident during query processing and lowering the amount of memory
used during effective range calculation.

This code improves on the previous list sizes. For example, given six excluded dictionaryIds in a query, the old code generates oldPairs while the new code generates newpairs:
additiveRanges = false
   holes = [[947,1308], [2277,2601], [2889,3810], [4637,4940], [5550,6094], [8486,8819]]
oldPairs = [[0,325], [326,658], [659,946], [1309,1658], [1659,1922], [1923,2276], [2602,2888], [3811,4058], [4059,4335], [4336,4636], [4941,5226], [5227,5549], [6095,6390], [6391,6689], [6690,6957], [6958,7246], [7247,7532], [7533,7919], [7920,8183], [8184,8485], [8820,9135]]
newpairs = [[0,946], [1309,2276], [2602,2888], [3811,4636], [4941,5549], [6095,8485], [8820,9135]]

As shown above, adjacent ranges are merged correctly.

Please add a test case for sortedinvertedindexfilter

Current coverage is 47.34% (diff: 13.79%)

Merging #433 into master will decrease coverage by 0.05%

@@             master       #433   diff @@
==========================================
  Files           724        725     +1
  Lines         34089      34138    +49
  Methods           0          0
  Messages          0          0
  Branches       5118       5133    +15
==========================================
+ Hits          16156      16161     +5
- Misses        16666      16709    +43
- Partials       1267       1268     +1

Powered by Codecov. Last update 41f559a...573486a

I'll add the unit test for SortedInvertedIndexBasedFilterOperator in another PR, no other filter operator has a matching unit test and some of the plumbing to make this test readable is missing (eg. most of DataSourceUtils is commented out and defunct, see the latest revision of DataSourceUtils)

LGTM, prefer to have a unit test for sortedinvertedindexfilteroperator, please create an issue for that

Created PINOT-3600 for the unit test.

authors: codecov-io jfim kishoreg


text:
TE: adding rest end point for email configuration

adding rest end point for email configuration
correcting message template for merged anomaly

lgtm

authors: MarthaWB puneetjaiswal


text:
[dvc][server] Removed locking from PartitionTracker

This was flagged when reviewing 6c8b672 and left as a followup.
The historical context is that there was a temporary phase of the A/A migration where RT producers would be replicated to all regions and so servers would consume duplicate events concurrently, even some written by the same producer GUID. This led to race conditions in the DIV code, and so this locking was introduced to guard against it. The locking was retained as part of the aforementioned commit, but is not actually necessary anymore, so we're cleaning it up. This is expected to provide a small boost to ingestion performance as well as the memory efficiency of DIV, especially in cases where there are lots of producer GUIDs involved.
Miscellaneous:

Tweaked the VeniceSystemFactoryTest::testSerializationCastParams data provider so that it returns parameters with a deterministic toString output, which is necessary for the test-retry plugin to work well.

How was this PR tested?
CI
Does this PR introduce any user-facing changes?

[ ] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Thanks Gaojie!

repo: linkedin/venice

license_source: github-api


text:
feat: [M3-7687] - Refactor & Improve LinodeActionMenu Restricted User Experience

[!note]
There's more work to do for Linodes to improve the user experience for restricted users, but I've decided to breakup the work in separate PRs

Description 📝
This refactors the LinodeActionMenu while providing disabled tooltips for action items.
Tooltips specifically designed for disabled buttons will persist within action menus. These tooltips prove valuable in scenarios where a restricted user has permission to delete their personal resources but lacks the permission to delete those belonging to the admin user. In such cases, we refrain from displaying notices on the page.
Changes  🔄
List any change relevant to the reviewer.

Created LinodeActionMenu directory for compartmentalizing files
Added more options to our type ActionType
Updated getRestrictedResourceText for instances where we don't want to be so verbose
Moved buildQueryStringForLinodeClone into a util file

Target release date 🗓
March 4, 2024
Preview 📷

Desc
After

Read Only

Host Maintenance

Powered Off Linode

How to test 🧪
Prerequisites
(How to setup test environment)

Log into two accounts side by side:

An unrestricted admin user account: full access
A restricted user account (use Incognito for this)

Start with Read Only for everything

Reproduction steps
(How to reproduce the issue, if applicable)

Before changes, observe that all tooltips are same: You don't have permission to modify this Linode

Verification steps
(How to verify changes)

After changes, observe tooltips are tailored to the action.
Verify maintenance and reboot tooltips by enabling read_write of Linodes for restricted user:

For maintenance, change this value to true
For reboot, if Linode is powered off we should see This action is unavailable while your Linode is offline.

As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[x] ❔ Our contribution guidelines
[x] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[x] 🔐 Removing all sensitive information from the code and PR description
[x] 🚩 Using a feature flag to protect the release
[x] 👣 Providing comprehensive reproduction steps
[x] 📑 Providing or updating our documentation
[x] 🕛 Scheduling a pair reviewing session
[x] 📱 Providing mobile support
[x] ♿  Providing accessibility support

Thanks @bnussman-akamai

repo: linode/manager


text:
refactor: [M3-8771] - Add more customization to legends and charts

Description 📝
Problem: The height of the Recharts graph changes when the number of legend rows varies, which affects the graph size, especially with many legend rows.
Request: We would like flexibility to control the styling of legend rows and the graph itself so that it can handle dynamically varying legend rows effectively.
Changes  🔄

Legends should have an overflow scroll
Legend TableHead should remain fixed when scrolling
MetricsDisplay: Added hasFixedLegendHeight so legends across metrics should have option to have fixed height (so charts remain similar size)
Remove double borders from legend table
Allow ability to change AreaChart height and width while maintaining sensible defaults (100%)
Fixed all the negative margin styling we were doing
Legends should be able to account for long titles

Target release date 🗓
N/A
Preview 📷

Before
After
After (Fixed)

 Current version never fills entire space until legend grows which seemed weird.

Before
After

How to test 🧪
Verification steps

Go to Linode details analytics tab and verify charts still good (/linodes/:id)
Enable Managed and verify the charts (/managed/summary)
Go to NodeBalancers details and verify the charts (/nodebalancers/:id)

As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[x] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[ ] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

@jaalah-akamai can we also make the legend row values also to be in single line, here the symbol os going in new line for long name

@jaalah-akamai for the type of data prop in the AreaChart component, can we make it DataSet[]. As it'll be easy for anyone  who is implementing it, to identify the structure of data it accepts
export interface DataSet {
  [label: string]: number;
  timestamp: number;
}

https://github.com/user-attachments/assets/b70a0f07-2f7a-4c80-a907-ee2f0d2e7381
Some padding is required at the last cell because vertical scroll is overlapping with the text.

Some padding is required at the last cell because vertical scroll is overlapping with the text in case of horizontal overflow

Yea this is an issue with our table component (of many). I'd rather not make that change in this PR since it will require checking every table in the app.

@jaalah-akamai for the type of data prop in the AreaChart component, can we make it DataSet[]. As it'll be easy for anyone who is implementing it, to identify the structure of data it accepts

We can look at incorporating @types/recharts as dependency to give us better typesafety, but defining our own wouldn't work since the library expects any[] | undefined for the data prop as types.

authors: jaalah-akamai nikhagra-akamai


text:
Cancel buttons

I had the wrong styles for the cancel buttons (were previously black) and applied the proper styles as well as targeting a few missing ones on the profile drawers and dialogs

Cancel buttons look good. noticed they have a hover state now too 👍

authors: alioso patthiel


text:
longview test

This test takes about 2.5 minutes to run since the longview takes a bit to be ready. I built the waiting into the script so that the test doesn't fail waiting for elements.
How to verify that that the test works:

yarn up
yarn cy:debug
Choose longview.spec.ts in the cypress test runner
Test(s) should pass

Extra check (runs headless):

yarn cy:e2e -s ./cypress/integration/longview.spec.ts
Result should be "✔  All specs passed!"

Make sure your .env contains:
REACT_APP_LOGIN_ROOT='https://login.linode.com'
REACT_APP_API_ROOT='https://api.linode.com/v4'
REACT_APP_APP_ROOT='http://localhost:3000'
REACT_APP_LAUNCH_DARKLY_ID='*************************' (CMR flag)
REACT_APP_CLIENT_ID='' (https://cloud.linode.com/profile/clients, copy ID)
MANAGER_OAUTH='******************************************************'
(create in https://cloud.linode.com/profile/tokens > "Add a Person Access Token", Save the token that appears in the modal, you will only see it once)

opened this same pr from my fork instead


text:
DiscretePredictionStatistics.getRecall() Incorrect

DiscretePredictionStatistics.getRecall() is giving some incorrect numbers.

Fixed. Division by integers was replaced by division by doubles.
Also includes test classes, and style changes.

source: gharchive/issue

authors: eriq-augustine nkini

repo: linqs/psl-utils


text:
Internal server error after vagrant reload

Everything runs just fine until you try to reload the machine. Any ideas why this could happen?

What's the error?

I'm having the same issue. Here's a log showing the first successful load, and the second unsuccessful load after a vagrant halt && vagrant up.
This doesn't happen when I just suspend the machine.

Sorry for the late response, I've not looked at this for a year or so. Looks to me like upstart isn't automatically starting / restarting uwsgi. I'd suggest having fiddle with the manifest about here. If you have any success, a pull request is always very welcome.
Thanks for the logs and report, @JFreegman. Let us know how you get on.

authors: JFreegman linssen pestrov

license: mit


text:
Setting non-existent UID, GID to owner and group should fail.

When non-existent UID and GID is set for
owner:
group:
It should fail to look up for that instead of creating certificate and key.

Reported in : https://bugzilla.redhat.com/show_bug.cgi?id=1844935

repo: linux-system-roles/certificate

license: MIT


text:
This PR is to trigger periodic CI testing

This PR is for the purpose of triggering periodic CI testing. We don't currently have a way to trigger CI without a PR, so this PR serves that purpose.

[citest]

repo: linux-system-roles/vpn


text:
Issue with GetUsersFromIds and null data

Hey,
Try out this little code snippet:
Auth.SetUserCredentials("xxxxxx", "xxxxxx", "xxxxxx", "xxxxxx");
var z = Tweetinvi.User.GetUsersFromIds(new List<long> { 1, 2, 3 }); // or any twitter Id's that do not exist

This will error yielding the following:
Value cannot be null.
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at Tweetinvi.Factories.User.UserFactoryQueryExecutor.GetUsersDTOFromIds(IEnumerable`1 userIds)
at Tweetinvi.Factories.User.UserFactory.GetUsersFromIds(IEnumerable`1 userIds)
at Tweetinvi.User.GetUsersFromIds(IEnumerable`1 userIds)

If you put a twitter id that is known to exist with the other Id's that are known to NOT exist:
Auth.SetUserCredentials("xxxxxx", "xxxxxx", "xxxxxx", "xxxxxx");
var z = Tweetinvi.User.GetUsersFromIds(new List<long> { 783214, 1, 2, 3 });

... everything works as expected.

Thanks, I will take a look into it.

No worries, thanks for the quick response!

Hi, I have been able to reproduce the issue and I can say that this is a bug.
Now what would you expect from such a query, null or an empty collection?

I would return an empty collection as it is the expected return type... but a null would work... what do you think @linvi

Whilst I would normally return null if an error occurs in the WebRequest I think that in this context returning an Empty collection makes more sense.
I am working on this. A version 0.9.9.4 will be released tomorrow with non critical bug fixes.

Sweet!  Thanks for addressing this so quickly

Hi,
Knowing that I am taking a 2 weeks off I have reconsidered the release of version 0.9.9.4 on nuget.
This new version will be available on nuget as hidden (not main). I will post here how to update to 0.9.9.4 with nuget tomorrow.
I do not want to publish a main release only 2 days prior to leaving. The source code will also be available on github and codeplex.
For more information concerning the dates of limited support please visit here:
https://github.com/linvi/tweetinvi/issues/10
Cheers,
Linvi

You can now use nuget to get version 0.9.9.4 with the following command line.
Install-Package TweetinviAPI -Version 0.9.9.4
I am now closing the issue.

authors: linvi nokturnal

repo: linvi/tweetinvi


text:
Frozen

Stopped getting updates from api's for many currencies.  Anyone else having this issue?

Yes, me too. Started yesterday.

Yep, me too!

I just used app cleaner and reinstalled and things are updating again.  Could be a local cache issue?

Yesterday I cleared app data and the prices were still blank, but checking again now it seems to be working again.

Most major currencies seem to be updating normally, but for me, FCT, GAME, SC (possibly more) seem to be way behind

im currently not getting updates. did clean reinstall, no dice

repo: lionsharecapital/lionshare-desktop


text:
Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/ZYL/.gradle/caches/transforms-1/files-1.1/jiaozivideoplayer-6.4.0.aar/59e5ae9eb97af9cfc870a67316fe8bdc/jars/classes.jar

**什么jzvd版本
**是否和安卓版本有关系，什么版本
**是否和特定品牌的手机机型有关系，什么机型
**相关log是什么
**复现流程
**最好有截图或者视频说明情况

6.4.0这个样子，6.3.1可以运行

是的 ，我这也是一样 更新到6.4.0后编译过不了 今天找了一天的问题，还没解决，后来没办法又回退到6.3.1了。

老铁亲测build通过

我昨天下了你的Demo 运行是没有任何问题的，就是不知道为什么老项目里边由6.3.1 升级到 6.4.0会编译不过，报的错在百度搜很多人说是依赖库冲突，但是我检查了很久并没有发现哪里冲突，然后我将你的源码copy了一份放到项目里运行就可以编译过，所以很是郁闷。

试试加上这个

加了这个报这个错
Java 8 language support, as requested by 'android.enableD8.desugaring= true' in your gradle.properties file, is not supported when 'android.useDexArchive= false'.
然后我在gradle.properties里加上android.enableD8.desugaring= true 和 android.useDexArchive= true后再次编译就冒的问题了，以上亲测可用~！

Adding this to build.gradle solved it for me:
android {
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

Source

repo: lipangit/JiaoZiVideoPlayer


text:
Add glob support

Allows use of glob patterns in files parameter of .doclets.yml.

:100: looks great! don't know why the tests fail right now...

@lipp I've fixed the style issue. Now it complains about some .changeOwner though I can't figure out how it's related to the changes I've made.

@zandaqo yeah that's strange. this has definitely nothing todo with your PR. My PR also fails because of changeOwner although tests work locally. During adding more verbose error assertions travis builds stalled :(
no idea why...
I'll trigger a re-rerun in some hours, maybe the stalling is due to some trouble with travis itself

anyhow i'll merge the PR today no matter what.

@zandaqo seems that the .changeOwner test is causing the trouble (if i remove it, travis works just fine)

@zandaqo maybe you can rebase from master? the changeOwner test is disabled for now. i'll look into this and readd it soon.

Coverage increased (+0.02%) to 90.29% when pulling dc42e8adb8fa3566c4da534c55d6784192f777ed on zandaqo:issue-77 into fe39dc37df7f5f95e9fd9b1acf0222e49c83bc14 on lipp:master.

@lipp done. Can you re-run Travis on Node 4? To be sure it's something with Travis since other builds are passing.

:+1:

authors: coveralls lipp zandaqo

repo: lipp/doclets


text:
liqoctl move pvc: bump restic and make container resources configurable

Description
This PR extends the liqoctl move pvc command, to allow for the configuration of the resources of the different containers created. This is especially required when used in conjunction with resource quotas, or #1224. Additionally, it bumps Restic to the latest version.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[x] Automatic tests (new + existing)
[x] Manually

/rebase test=true

/merge

repo: liqotech/liqo


text:
Remove dependency from k8s.io/kubernetes and k8s.io/klog (v1)

Description
This PR removes the dependency from the k8s.io/kubernetes repository, since it is currently problematic (it requires many rewrites), making it also problematic to import liqo from external projects. Yet, it was only used for a very few utility functions, which have either been reimplemented or copied verbatim (the same approach was adopted in the virtual-kubelet repo for those functions). Finally, it converts all klog dependencies to v2.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[x] Unit tests
[x] E2E tests

Maybe I would add a file (maybe a doc.go) in /internal/kubernetes/ to explain the purpose of this package.

/rebase

/test

/test

/test

/test

/merge


text:
Use brain.js for non evolution?

Remaking your in "yet another js lib for more" might not be optimal. Why not use brain.js (which supports GPU among other things) for non evolution but retain Instinct algorithm as is?

Hey @lagleki 👋
Thank you for the first issue! 😄  🙏
We think Brain.js is fantastic - 'specially GPU.js by Robert and the streaming he's built in already (very cool) -, but there were some really great things that originally attracted us to Neataptic - and Thomas - as a foundation that hasn't (yet) been built into brain.js:

The fine-grained control of building structures all the way from networks, groups, layers, down to nodes
The ease of changing structures (networks, groups, nodes) AFTER we create them (one of the things we love the most about Carrot)
The wonderful neuro-evolution methods (of course)

In short, most of the things we love about Carrot have to do with the architecture which will start to pay off more as we:

Add new & better evolutionary algorithms
Add reinforcement learning
Begin to blend different learning styles
Double down on "irregular" network topologies to solve larger classes of problems
And add different behaviors to the nodes themselves (a lot of stuff we're dying to try out)

Right now we're in a cleaning and testing stage in the project to get it to the point where we can start  quickly expanding it in new directions. We really love brain.js but we think that it would be more difficult to accomplish some of the things we have planned on brain.js' architecture.
We'll likely end up helping with GPU.js in the near future - but it will be hard for us to take this project where we want and adopt Brain.js as our core. Definitely keeping our eyes peeled though 👀
Our goal is just to make an awesome library we can enjoy using and can be easy to add the latest bells and whistles to.

authors: christianechevarria lagleki

repo: liquidcarrot/carrot


text:
Update to newest Swift

Any chance of updates this? The auto updater in xCode doesn't seem to be able to handle it.

I would also like to see an update. And I've been trying to do it myself. This code is worth saving!!

authors: Hackmancoltaire dndydon

repo: liscio/FunctionalDSP


text:
点击两次查询再次才能显示正确

请问为什么我这个需要点击两次查询再次才能显示正确呢？是哪里设置不对吗？
@page "/bar/bar3"
@attribute [RouteName("ECharts 入门示例|666")]
@using Blazor.ECharts.Options
@using Blazor.ECharts.Options.Enum
@using B = Blazor.ECharts.Options.Series.Bar
@using L = Blazor.ECharts.Options.Series.Line
@using System.Data
@using System.Dynamic
@using System.Drawing
@using XYOA

            <input type="radio" name="chart" value="chart1" @onchange='(e => ShowSelectedChart("2020"))' checked />每天销售

            <input type="radio" name="chart" value="chart2" @onclick='(e => ShowSelectedChart("2021"))' />每月销售

            <input type="radio" name="chart" value="chart3" @onclick='(e => ShowSelectedChart("2022"))' />每年销售

<button name="btFind" class="btn btn-primary mx-6" @onclick="BtFind">查询</button>

        <button @onclick="ChangeTheme">切换主题 @theme</button>

        <EBar Option="@Option1" Class="flex-fill" Theme="@theme"></EBar>

@code {
    dynamic dts;
    private EChartsOption Option1;
    private string theme = "light";
    protected override async void OnInitialized()
    {
        base.OnInitialized();

        await GetDayData(2020);
    }

    protected async Task GetDayData(int year)
    {
        Option1 = new()
            {
                Grid = new()
            {
                new() { Left = "1%", Right = "1%", Bottom = "8%", ContainLabel = true }
            },
                Color = [ColorTranslator.ToHtml(Color.OrangeRed)],// 设置每个柱形的颜色
                Title = new()
                {
                    Left = "center",
                },
                Tooltip = new()
                {
                    Trigger = TooltipTrigger.Axis,
                    TriggerOn = "mousemove|click",
                    ValueFormatter = new("(value) => value.toFixed(2) + '万元'")
                },
                Legend = new Legend() { Show = true, Align = Align1.Right, Orient = Orient.Horizontal, Top = 36 },
                XAxis = new List<XAxis>()
                {
                    new XAxis(){Type=AxisType.Category, Data=dListYear }
                },
                YAxis = new()
                {
                    new(){ Type = AxisType.Value,}
                },
                Series = new()
                {
                    new B.Bar
                    {
                        Name = "今年",
                        Data=dList// 设置DataSet这里不需要再设置
                    },
                    new L.Line
                    {
                        Smooth=true,
                        Name = "去年",
                        Data=dList2
                    }
                }
            };
        string err = "";
        List<BList> list2 = [];
        try
        {
            list = SqlHelper.ExecSelect2Entity<BList>("exec PrShowDayChart '0'");//去年
            list2 = SqlHelper.ExecSelect2Entity<BList>("exec PrShowDayChart");//去年
            err = list.Count.ToString();
        }
        catch (Exception ex)
        {
            err = ex.Message;
        }
        Option1.Title.Text = $"每天销售汇总";
        // 设置每个柱形的颜色
        Option1.Color = [ColorTranslator.ToHtml(Color.OrangeRed)];
        dListYear = list.Select(obj => DateTime.Parse(obj.日期).Day.ToString()).ToArray();
        dList = list.Select(obj => obj.金额).ToArray();
        dList2 = list2.Select(obj => obj.金额).ToArray();
        (Option1.Series[0] as B.Bar).Data = dList;
        (Option1.Series[1] as L.Line).Data = dList2;
        await InvokeAsync(StateHasChanged);
    }
    protected async Task GetMonthData(int year)
    {
        Option1 = new()
            {
                Grid = new()
                {
                    new() { Left = "1%", Right = "1%", Bottom = "8%", ContainLabel = true }
                },
                Color = ["#6696ED", ColorTranslator.ToHtml(Color.OrangeRed)],// 设置每个柱形的颜色
                Title = new()
                {
                    Left = "center",
                },
                Tooltip = new()
                {
                    Trigger = TooltipTrigger.Axis,
                    TriggerOn = "mousemove|click",
                    ValueFormatter = new("(value) => value.toFixed(2) + '亿元'")
                },
                Legend = new Legend() { Show = true, Align = Align1.Right, Orient = Orient.Horizontal, Top = 36 },
                XAxis = new List<XAxis>()
                {
                    new XAxis(){Type=AxisType.Category, Data=dListYear }
                },
                YAxis = new()
                {
                    new(){ Type = AxisType.Value,}
                },
                Series = new()
                {
                    new B.Bar
                    {
                        Name = "今年",
                        Data=dList
                    },
                    new B.Bar
                    {
                        Name = "去年",
                        Data=dList2
                    }
                }
            };

        string err = "";
        try
        {
            list = SqlHelper.ExecSelect2Entity<BList>("exec PrGetMonthDataXY");
            list = list.OrderBy(item => item.月份).ToList();
            err = list.Count.ToString();
        }
        catch (Exception ex)
        {
            err = ex.Message;
        }
        Option1.Title.Text = $"每月销售汇总";
        dListYear = list.Select(obj => obj.月份).ToArray();
        dList = list.Select(obj => obj.去年).ToArray();
        dList2 = list.Select(obj => obj.今年).ToArray();
        (Option1.Series[0] as B.Bar).Data = dList;
        (Option1.Series[1] as B.Bar).Data = dList2;
        await InvokeAsync(StateHasChanged);
    }
    protected async Task GetYearData(int year)
    {
        Option1 = new EChartsOption()
            {
                DataSet = new Options.DataSet
                {
                    Source = dts
                },
            Grid = new()
            {
                new() { Left = "1%", Right = "1%", Bottom = "8%", ContainLabel = true }
            },
            Color = [ColorTranslator.ToHtml(Color.OrangeRed)],// 设置每个柱形的颜色
            Title = new()
            {
                Left = "center",
            },
            Tooltip = new()
            {
                Trigger = TooltipTrigger.Axis,
                TriggerOn = "mousemove|click",
                ValueFormatter = new("(value) => value.toFixed(2) + '亿元'")
            },
            Legend = new Legend() { Show = true, Align = Align1.Right, Orient = Orient.Horizontal, Top = 36 },
            XAxis = new List<XAxis>()
            {
                new XAxis(){Type=AxisType.Category, Data=dListYear }
            },
            YAxis = new()
            {
                new(){ Type = AxisType.Value,}
            },
            Series = new()
            {
                new B.Bar
                {
                    Name = "今年",
                    Data=dList// 设置DataSet这里不需要再设置
                },
            }
            };
        string err = "";
        try
        {
            list = SqlHelper.ExecSelect2Entity<BList>("exec PrGetYearData");
            err = list.Count.ToString();
        }
        catch (Exception ex)
        {
            err = ex.Message;
        }
        Option1.Title.Text = $"每年销售汇总";
        dListYear = list.Select(obj => obj.日期).ToArray();
        dList = list.Select(obj => obj.金额).ToArray();
        (Option1.Series[0] as B.Bar).Data = dList;

        await InvokeAsync(StateHasChanged);
    }

    public class BList
    {
        public string 日期 { get; set; }
        public decimal 金额 { get; set; }
        public string 月份 { get; set; }
        public decimal 去年 { get; set; }
        public decimal 今年 { get; set; }
    }
    decimal[] dList = [];
    decimal[] dList2 = [];
    string[] dListYear = [];
    List<BList> list = [];

    private List<BList> Persons { get; set; } = new List<BList>() { };

    private async Task OnValueChanged(int year)
    {
        // TODO:需要点击两次查询再次才能显示正确
        switch (year)
        {
            case 2020:
                await GetDayData(year);
                break;
            case 2021:
                await GetMonthData(year);
                break;
            case 2022:
                await GetYearData(year);
                break;
        }
        await InvokeAsync(StateHasChanged);
    }
    private Task ChangeTheme()
    {
        theme = theme == "light" ? "dark" : "light";
        //通知组件其状态已更改。 如果适用，这将导致重新呈现组件
        StateHasChanged();
        return Task.CompletedTask;
    }
    private string selectedChart = "2020";
    private void ShowSelectedChart(string SelectType) => selectedChart = SelectType;

    private async void BtFind() => await OnValueChanged(int.Parse(selectedChart));
}

解决啦，关闭！


text:
[New] dataset regarding population

What dataset you need?
Dataset regarding population information.
How will you use the dataset for your analysis?
Some datasets of infectious disease do not include population data and this is a challenge for analying the dynamics of infectious disease with SIR-derived models.
(Optional) Example datasets
United Nations, made available under a Creative Commons license CC BY 3.0 IGO: http://creativecommons.org/licenses/by/3.0/igo/
Suggested citation: United Nations, Department of Economic and Social Affairs, Population Division (2022). World Population Prospects 2022, Online Edition.
https://population.un.org/wpp/Download/Standard/CSV/

PopulationPyramidData (download population pyramid data from World Bank Open Data) will be deprecated.

This is related to #1131

Total population and population dencity will be included.

With #1213, usage:
import covsirphy as cs
dl = cs.DataDownloader()
dl.layer(databases=["wpp"])
dl.citations()

import covsirphy as cs
eng = cs.DataEngineer()
eng.download(databases=["wpp"])
eng.all()
eng.citations()

Documentation will be done with #1131.


text:
Enhancment: Allow customizing uploader.

Discussed in https://github.com/orgs/litestar-org/discussions/1463

Originally posted by 4n1qz5skwv April  9, 2023
Currently, Uploaded files are stored in temporary location. In order to save it elsewhere, we have to rewrite or copy it.
Is it possible to setup a custom handler?
Say, uploaded file will saved in my_dir/{uuid4}/filename.ext directly ?

Please specify exactly what you are requesting. Thanks

repo: litestar-org/litestar


text:
Workflows - Refactor Performance Test Custom Slider

Update CSS preferences and Adjust the Performance Test Values according to MUI Component APIs

close by this PR - https://github.com/litmuschaos/litmus/pull/1651

repo: litmuschaos/litmus


text:
Error undefined is not an object

Extension encountered an uncaught exception:
/Users/davidemaglio/Library/Application Support/Nova/Extensions/littlegreenman.TaskFinder/Scripts/ComposerTaskAssistant.js (Line 13, Column 0)
TypeError: undefined is not an object (evaluating 'nova.fs.stat(this.packageJsonPath).isFile')
    provideTasks@file:///Users/davidemaglio/Library/Application%20Support/Nova/Extensions/littlegreenman.TaskFinder/Scripts/ComposerTaskAssistant.js:13:43

Thanks @dmaglio, I'll look into it this weekend.

Ran into this as well.  Looks like its mostly working still.

Hi all. I think I've identified a fix - and will test it asap.

Yep. So I misunderstood the Nova filesystem API. Resolved now!

authors: bcomnes dmaglio kurucu

repo: little-green-man/nova-taskfinder


text:
onOuterAction doesn't work Chrome v 51.0.2704.106

onOuterAction doesn't work Chrome v 51.0.2704.106
maybe the reason is
const isOuterAction = (
      !this.containerEl.contains(event.target) &&
      !this.targetEl.contains(event.target)
    )

@ilyasf onOuterAction works for me on Chrome 53. You should try running your code against that and see if there's something else wrong or if specifically Chrome 51 is still not working for you.

Closing. If this is still an issue please re-open with more details. Thanks!

authors: ilyasf jasonkuhrt xRapidDavex

repo: littlebits/react-popover


text:
有没有办法让itchat收到链接时自动打开这个链接？

我们在微信客户端，收到一个饿了么链接，点进去就可以收一个优惠券，这个优惠券自动放到与微信地址绑定的饿了么的账户里面去了。
请问如何让itchat实现这个   点进去   的功能？电脑端的浏览器打开微信里面的链接识别不到相应的微信号

@cc9200 无法实现，根据描述该操作限定了在客户端完成。

repo: littlecodersh/ItChat


text:
🛑 USTC Mirrors (IPv4) is down

In 118b92d, USTC Mirrors (IPv4) (https://ipv4.mirrors.ustc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: USTC Mirrors (IPv4) is back up in d4dc54e after 8 minutes.

repo: littlekud/sites-status


text:
🛑 USTC is down

In 2776703, USTC (https://www.ustc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: USTC is back up in e5605a6.


text:
Organizer filter views

Improvements to organizer filter views. Corrected CSV response generation to actually use the same table and implemented search.

I'm a little concerned that putting the loupe button on the far side of the change columns and filter buttons is confusing. Is it okay if I move it next to the search bar?

I'm also a little concerned that this form might have some unexpected behavior. For instance, if I click "Change columns and filters", make some changes, press "Cancel", then enter a search term and press the loupe, the changes I supposedly cancelled will take effect.

Maybe I should just merge this as is and do a UI cleanup on another branch...

I'm okay with you moving the loupe. But I think I do prefer the UI cleanup as a separate branch, potentially.

:+1:

Also, if I enter search terms or change the filters, don't submit, and then press download CSV, it'll download a filtered CSV. There's a lot of potential UI failure points in making this a single form. I'll think about how to best break it up for another ticket.

@melinath Bouncing back to you for a final check. Merge if it's ready.

Looks fine to me.

authors: harrislapiroff melinath

repo: littleweaver/django-brambling


text:
请问官方没有更新包吗, 并且marketpplace 搜索不到

我会尽快适配一下，晚些给你答复

新的版本已经过审，可以到商店进行下载, enjoy！ 🏂
https://plugins.jetbrains.com/plugin/14409-convert-json-sql-to-go-struct


text:
自定义parser生成失败

toObservableHttpResponse()方法生成成功了，但是toObservableHttpResponseList()和toObservableHttpResponsePageList()没有生成

rxhttp版本号多少

implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation "com.github.liujingxing.rxhttp:rxhttp:3.2.6"
annotationProcessor "com.github.liujingxing.rxhttp:rxhttp-compiler:3.2.6"
implementation 'io.reactivex.rxjava3:rxjava:3.1.6'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'
implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.2.2'

你是升级rxhttp版本，还是项目首次接入rxhttp?

首次接入rxhttp

知道了，你的解析起泛型传入了<HttpResponse<T>>,这样是不是生成toObserableXxxList系列方法的，改TypeParser<T>就会生成

好的问题解决了，谢谢大佬

repo: liujingxing/rxhttp


text:
安装环境的一些疑问？

您好，我想请问下您的环境使用的python版本是3.6.5吗？按照论文的说法我在安装requirments的依赖时，出现了多个依赖版本错误，是不是更新了python版本呢？此外我看meta官方已经停止使用llama_7B了，那目前使用llama2可以吗？最后想请教下数据集具体使用到了那些文件呢/

好的，感谢您的回复！


text:
🛑 warehouse.korabli.su is down

In 177384a, warehouse.korabli.su (https://warehouse.korabli.su) was down:

HTTP code: 0
Response time: 0 ms

Resolved: warehouse.korabli.su is back up in 827e848 after 8 minutes.


text:
WIP: add smart cell definition for KinoFLAME with k8s backend

Once https://github.com/livebook-dev/kino_flame/pull/3 is merged, let's add a definition for Kubernetes backend with the required packages. I guess there is no way to set the "backend" attribute to "k8s", right?

I guess there is no way to set the "backend" attribute to "k8s", right?

The smart cell itself should guess the default "backend" based on the environment. We could do check which backend module is installed, but since Fly is built-in, that's not reliable. I think the best option is to check env vars, same ones we check for the warning. I see you already do that on the PR, so it should be enough, no?

Have removed yaml_elixir from the deps.

authors: jonatanklosko mruoss

repo: livebook-dev/livebook


text:
[Improvement]:Update Package Scripts for Cross-Platform Compatibility

What feature?
Currently, some of the package scripts in our package.json files are not compatible with all operating systems. To ensure seamless development across different platforms, we need to update the scripts to be cross-platform compatible.
Affected script:
clean The current implementation uses rm -rf to remove directories, which is not compatible with Windows systems.
Describe the solution you'd like
We should switch to a cross-platform solution like rimraf.
Describe alternatives you've considered
No response
Additional context
No response
Add screenshots
No response
Record

[X] I agree to follow this project's Code of Conduct

good idea!
packages/cli/package.json uses shx which is a more generic solution AFAIK.

Can I work on this issue?

authors: hassansuhaib roy9495 royra

repo: livecycle/preevy


text:
The worker periodically disconnects

The worker periodically disconnects. There are no loads on the CPU and RAM. No correlation has been found with the number of active rooms. Could you please advise what might be causing this?
Error code:
source_traceback: Object created at (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.11/multiprocessing/spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/usr/local/lib/python3.11/multiprocessing/spawn.py", line 135, in _main
    return self._bootstrap(parent_sentinel)
  File "/usr/local/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/local/lib/python3.11/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/cli/cli.py", line 242, in run_worker
    loop.run_until_complete(main_task)
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1914, in _run_once
    handle._run()
  File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/aio/debug.py", line 13, in instrumented
    val = _run(self)
  File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/apipe.py", line 37, in _put_msg
    _ = asyncio.ensure_future(self._read_ch.send(msg))
  File "/usr/local/lib/python3.11/asyncio/tasks.py", line 659, in ensure_future
    return _ensure_future(coro_or_future, loop=loop)
  File "/usr/local/lib/python3.11/asyncio/tasks.py", line 680, in _ensure_future
    return loop.create_task(coro_or_future)

Additional Information:
Python Version: 3.11
Operating System: Debian
Package Version:
livekit-agents~=0.7.2
livekit
python-dotenv
boto3
openai
livekit-plugins-openai~=0.6
livekit-plugins-deepgram~=0.5
livekit-plugins-elevenlabs~=0.6
livekit-plugins-silero~=0.5

We are receiving several thousand of such errors per second, which makes it difficult to track any other potential error messages. Unfortunately, we do not have any additional error messages at the moment.
If there's any other specific information you need or any steps you would like us to take to gather more details, please let us know.
Thank you for your assistance!

It's unclear what is happening. Can you give livekit-agents v0.8.0 a try?

If there are no other options available, we will give livekit-agents v0.8.0 a try. Thanks again!

Yes, livekit/agents/apipe.py has been replaced by ProcChannel in v0.8.0. So this was maybe an old issue?

I haven't had a chance to test it on the new version yet, maybe after the weekend

Hi everyone, I wanted to update you that we've tested livekit-agents v0.8.0, and it seems to have resolved the issue. Everything is working fine now, so we can close this issue. Thank you for your help!

authors: theomonnom wezerr

repo: livekit/agents


text:
Ability to Add Virtual BG in IOS

Can you enable the support to add virtual bg in ios SDK.
Describe the solution you'd like

Easier or convenient solution is to allow the startCapture and stopCapture to be able to override, so that we can send a customised track with custom videoCapturer. Seems like we are allowing this for the web/Android sdk but not in iOS.

Describe alternatives you've considered

Livekit SDK can provide certain interface to enable the background blur effect or adding image in the BG
Any other solution is also very welcome.
Additional context
Please let us know if you already support it or if we can achive it in some way.

This is a must have item for a lot of people. Customers won't use video conferencing apps that don't support this.

We also are interested in this so we can also insert our own track processor, essentially to do other things to the video (for example, have a gesture recognizer and then modify the video based on those gestures).

repo: livekit/client-sdk-swift


text:
🛑 Personal Blog is down

In 8b6059c, Personal Blog (https://blog.liyaodong.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Personal Blog is back up in f05bcaf.

repo: liyaodong/uptime


text:
🛑 신세계그룹 www.shinsegaegroupnewsroom.com is down

In a5c7a2a, 신세계그룹 www.shinsegaegroupnewsroom.com (https://www.shinsegaegroupnewsroom.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 신세계그룹 www.shinsegaegroupnewsroom.com is back up in 61c44b8 after 18 minutes.

repo: lksjames/monitoring


text:
🛑 Goodmd total.good-md.com:5280 is down

In c9c6307, Goodmd total.good-md.com:5280 (https://total.good-md.com:5280) was down:

HTTP code: 503
Response time: 991 ms

Resolved: Goodmd total.good-md.com:5280 is back up in 4fa5d64 after 2 hours, 48 minutes.


text:
Allow teacher login on Sugarizer

This patch allows the teacher to log in to Sugarizer.

[x] The teacher to login to Sugarizer and access their journal entries.
[x] In Sugarizer-Server, add some way to view teacher journal entries. -- Now teacher entries can be viewed from the journal view.

Fixes #222

Very cool.
BTW I guess we could also add in the Users view the action to see the teacher Journal:
For teachers:

For students:

I guess we could also add in the Users view the action to see the teacher Journal.

@llaske done.

Good job. Thanks.

repo: llaske/sugarizer-server


text:
#1303 Fix

Fixed the problem.

Hey @kartikaysaxena , You have raise PR in wrong branch, Pr should be raised in dev branch not in master :)

Follow up on https://github.com/llaske/sugarizer/pull/1347

authors: NischayGoyal1 kartikaysaxena llaske

repo: llaske/sugarizer


text:
Feat/ccm 25 text parametrisation

I've prepare parametrisation of translations as simple as it could be but with thoughts to future extension.
So I turned configs into function with one param - option object of messages - so we can pass down multiple messages at once.
I've also rejected parametrisation using some type of template string and replacing them by some clever function. Config is deeply nested object so I've avoided to parsing it.
In addition and to be sure that config is generated as it should be I have introduce few test using Jest Testing framework.
Configs are tested against snapshots of them. It is the simplest test and again I do not need to parse entire config object or store it and match them agains each other. But this could ve discussed.
Lastly, @OndraM should we rename uk config to ua? I am confused because uk is normally United Kingdom and Ukraine is ua.

Lastly, @OndraM should we rename uk config to ua? I am confused because uk is normally United Kingdom and Ukraine is ua.

I was confused as well, but ISO 3166 country code (which is "ua" for the country Ukraine) is different than ISO 639 language code for the language Ukrainian ("uk"). 🤷

I was confused as well, but ISO 3166 country code (which is "ua" for the country Ukraine) is different than ISO 639 language code for the language Ukrainian ("uk"). 🤷

@OndraM Well, we should definitely extend our readme, because I've just notice that newly added languages are missing. And maybe add this information to separate section. Something like "Supported languages".

I was confused as well, but ISO 3166 country code (which is "ua" for the country Ukraine) is different than ISO 639 language code for the language Ukrainian ("uk"). shrug

@OndraM Well, we should definitely extend our readme, because I've just notice that newly added languages are missing. And maybe add this information to separate section. Something like "Supported languages".

True, I will update the readme.

(wrong button, sorry :facepalm: )

(wrong button, sorry 🤦 )

:D I am happy that I am not the only one to whom this happens :D

Looks nice! So could you un-draft the PR (and rebase to main)?

authors: OndraM literat

repo: lmc-eu/cookie-consent-manager


text:
Add a seed parameter for repeatability

It would be great to add seed parameter for repeatability, the way how scikit-learn does it.

I agree, that would make a lot of sense. Ideally it isn't too hard, but has some quirks given how I am currently handling random number generation. It is certainly on my list of things to do (which is unfortunately long).

It might be a good idea to publish roadmap, community will be able to contribute!

Sounds like a good plan -- any suggestions for where and how best to do that?

Well, an issue on github will do. People will add comments, and you will be able to update the issue after each release.

Basic random seed support is now in place via the random_seed parameter which takes an int. Ideally things would work a little differently as per standard sklearn with a random_state that supports more input types (e.g. numpy random states) but that will take a little thought as to the best way to do that.

Okay, that helps more. I have a nagging feeling there will be more minor things like the eigenvector solver to track down if I want to truly eliminate variability.

Well that was a lot more work than I intended. For the record (since others may face this, and so I will remember in the future) the issue is that numba very cleverly swaps out np.random calls for something lower level (to avoid roundtrips back to python I presume), and this does (may?) not play nice with setting a random seed for numpy. Once I worked out what the issue was and rewrote everything to deal with that the issue resolved itself nicely and we get something repeatable. I believe setting random_state now works and should provide consistent embeddings (with a consistent random state).

authors: infalco lmcinnes

repo: lmcinnes/umap


text:
index navigation improvement for cluster which has so many indeies

I have about 100 indicies and it is a little tired to navigate between indicies.
It would be great if index navigation got some improvements.
to my bad english I'd like to suggest by image! :) :D

@jeesim2 hey, just published v1.4.5
I added the option to sort indices asc/desc, and you can now paginate indices using left and right arrows.

wow. that's awesome!!! I'll try it on!!

btw, each node's cpu and disk usage indicator has gone.
it was very useful information to me. what happen? or some issued problem?

@jeesim2 yes, I have removed them and added a new "nodes" section. I'm not sure about your particular use case, but I assume if you use kopf for monitoring your nodes, the nodes section might give you more insight(it's still being improved). does it make sense?

@lmenezes
I usually use kopf main cluster view for monitoring purpose(cpu, heap, disk. they were great) in general.
but I'm expecting your next release and improving about monitoring feature.
ThankS!!!
my favorite ES site plugin.!!!

repo: lmenezes/elasticsearch-kopf


text:
TTGO_v1.0 board Changes

Amend Screen RST = 16 for this board
Also Use built-in LED = 2

This indeed fixes the display for ttgo v1 :)
But I think it contains too many changes, e.g. the prints and LMIC calls should not be part of such PR imo.

repo: lnlp/LMIC-node


text:
add list params test to each relevant resource

ticket
Created a test for each resource that has a "List" operation. Some of them, like Addresses, will break if a certain number of entries is added but I counteract this possibility by:

Deleting any resources that are created during testing and
Making other tests less stringent and reliant on the exact number of records there are

@jho44 - 4 tests failed

sobbing It's all so very fragile. Looking into it now...

repo: lob/lob-openapi


text:
Swift 2.3 in Xcode 8

I got an error when using Swift Xcode 2.3 on 8

Type ‘Self’ does not conform to protocol ‘NSFetchRequestResult’

Did you try with the new version (1.1) for Swift 3 ? This code seems to be the one used for Swift 2.2.

Hello! I'm experiencing the same issue as @resand.

Which version of Swift are you using ? Just a reminder :

Swift 3 -> take the last version of CDHelper (1.1 for now)
Swift 2.x -> take the version 1.0.0

Hope it'll help.

authors: kdomingo lobodart resand

repo: lobodart/CoreDataHelper


text:
Support for Layers

It seems samlocal currently cannot handle layers, it fails on my AWS::Serverless::LayerVersion resource. Any plans to support it?

It seems that layers are only supported for pro users: https://docs.localstack.cloud/aws/lambda-layers/

https://docs.localstack.cloud/user-guide/aws/lambda/#lambda-layers

Lambda Layers
Lambda layers lets you include additional code and dependencies in your Lambda functions. With LocalStack Pro/Team, you can deploy Lambda Layers locally to streamline your development and testing process.

repo: localstack/aws-sam-cli-local


text:
Duplicated titles

RIght now in https://docs.locust.io/en/latest/ the edited titles are shown duplicated:

thx

repo: locustio/locust


text:
How to account for upstream sample barcodes?

How would a region upstream of the random 12-nucleotide barcode be accounted for? e.g., sample barcodes. The following sequence is how I set it up:
5' P5 region, Read 1, Sample Barcode, Universal Primer, Random Barcode, Spacer, TARGET SEQUENCE, Spacer, Random Barcode, Universal Primer, Sample Barcode, Read 2*, P7 region 3'
In other words, I have 72 bases upstream of the Random Barcode

There's code that parses out the sequences that form what you want to define as your tag. It uses simple string slicing.  You'd have to change that. That being said, it's not at all clear to me how your system would work, especially with the high number of invariant bases. The sequencer will choke on that. DS was designed based on the TruSeq adapter design. There's not any plans to support designs at this point.

On May 11, 2017, at 7:09 PM, dcraig2 notifications@github.com wrote:
How would a region upstream of the random 12-nucleotide barcode be accounted for? e.g., sample barcodes. The following sequence is how I set it up:
5' P5 region, Read 1, Sample Barcode, Universal Primer, Random Barcode, Spacer, TARGET SEQUENCE, Spacer, Random Barcode, Universal Primer, Sample Barcode, Read 2*, P7 region 3'
In other words, I have 72 bases upstream of the Random Barcode
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

repo: loeblab/Duplex-Sequencing


text:
[Devspace6] Using variables mixed in between imports/functions/dependencies/etc.

Using Devspace 5 the following was achievable:
version: v1beta11

vars:
  - name: PROJECT_TYPE
    default: devspace
    options:
      - "devspace_type_one"
      - "devspace_type_two"

images:
  web:
    image: web.${PROJECT_TYPE}.Dockerfile
    ....

With Devspace6 i was trying to split things out a bit more using imports, by doing something similar using variables.
version: v2beta1
name: example-please-change-to-actual-name

vars:
  PROJECT_TYPE:
    question: What project type is this?
    default: project_type_one
    options:
      - "project_type_one"
      - "project_type_two"

imports:
  - git: git-repository.git
    tag: master
    subPath: devspace-configs/${PROJECT_TYPE}

where the subpath contains a devspace.yaml and a commands.yaml that the devspace.yaml imports using local path imports.
But sadly, the following error is being spit out when i try devspace print
fatal read import config: open ~/.devspace/dependencies/git-repository-git-tag-master/devspace-configs/${PROJECT_TYPE}/devspace.yaml: no such file or directory
Having the ability to utilize the vars throughout the devspace.yaml (maybe even in the files that are imported) would be awesome in terms of being able to make things dynamic :)

/kind feature

I can't reproduce this

@karbowiak thanks for reporting this issue! Right now we are not supporting this, but its definitely an interesting use case, so I'm opting to implement this.

authors: FabianKramm WebKenth karbowiak

repo: loft-sh/devspace


text:
feat: (structure redesign) platform docs restructuring for 4.0

Summary
This PR reorganizes the remaining sections of the platform docs improving navigation and structure.

Administer
Understand
Learn How-To
Use Platform

Key Changes

moving, renaming and restructuring
no content updates, just small typos and naming
adjust vale style rules
fix vale style violations

Dependencies

PR #269 must be merged first to avoid conflicts.

TODO

[x] re-flowing the menu order
[ ] convert @site calls to relative paths

Closes DOC-253

@deniseschannon thank you for the commit, I managed to fix all broken links and references in the last commit. Re-tagging you for review.

Closing in favor of #279

repo: loft-sh/vcluster-docs


text:
In using min-date and max-date attribute, while selecting date from other months from default selected date month, the calendar scrolls down to the bottom

If i used min-date and max-date attribute,
while selecting date from other months from default selected date month, the calendar scrolls down to the bottom.
This is because of wrong value of md-top-index in mdcDatetimePickerCalendar directive.
In the line 563 of our js file, we update calendar.topIndex from currentMonthIndex method alone.
var index = currentMonthIndex(nDate);
if (calendar.topIndex != index) {
calendar.topIndex = index;
}
Here we have to subtract calendar.months[0] from currentMonthIndex method to get exact index to set calendar.topIndex so that md-top-index.
So the correct code will be
var index = currentMonthIndex(nDate);
if (calendar.topIndex != index) {
calendar.topIndex = index - calendar.months[0];
}
Kindly fix this issue as soon as possible.
Thanks

Fixed in most recent release.


text:
Scoping or filtering to specific namespace/pods

Currently is there any way to scope to a specific namespace and/or annotations such that only logs from these are forwarded. I don't see anything of the sort in the helm values.yaml.

Hi @GoldenMouse,
You should use LOGDNA_EXCLUSION_RULES env variable to set the exclusion rule to anything that does NOT match your namespace:
- name: LOGDNA_EXCLUSION_RULES
  value: "!(*my-namespace*)"

The agent uses k8s logs symlinked to /var/log/containers/. K8S logging drivers will create symlink files to using the following pattern: {pod-name}_{namespace}_{containerid}.log. So you could use "!(*my-namespace*)" or "!(*_my-namespace_*)"
TLDR: We have an internal ticket to document this sort of allowlisting/denylisting.

Documentation would be good; this took me hours to figure out.  And still it doesn't work the way I want. Instead of having a bunch of exclusion rules, I tried to use inclusion rules. For instance, I only want a few namespace logged. Inclusion rules doesn't seem to work - it includes /var/log/ no matter what.

I agree we should support it: I've filed an internal ticket to support excluding or including only pods matching labels and annotations (LOG-9906).
About including /var/log no matter what, I also found it unexpected initially. We have an internal ticket (LOG-9352) to allow overriding that behaviour. In the meantime, we will tackle that issue with documentation.
To workaround this issue, the best solution is to use negative exclusion rules (exclude everything that doesn't match).

It is not working tested for 3.7 and 3.6.
          - name: LOGDNA_EXCLUSION_RULES
            value: '!(*default*)'

With this ^ rule I still see all logs.

Thank you for the feedback @Mmmariusz. We were able to reproduce this behavior and have filed an internal ticket to investigate further.
In the meantime, as a workaround, you could just use the LOGDNA_EXCLUSION_RULES to explicitly exclude log file you don't want to see.
Additionally, the above mentioned feature (LOG-9906) is complete and will be included in our next release. This will allow you to explicitly target Kubernetes objects such as namespaces, rather than using glob patterns.

TLDR: We have an internal ticket to document this sort of allowlisting/denylisting.

@jorgebay - Was this ever released? If yes, could you please point to the documentation?

Hi Sagar,
I'm currently not dedicated to this project, I think the feature is documented under the K8s docs: https://github.com/logdna/logdna-agent-v2/blob/3.8.6/docs/KUBERNETES.md#configuration-for-kubernetes-metadata-filtering
The settings are LOGDNA_K8S_METADATA_LINE_INCLUSION and LOGDNA_K8S_METADATA_LINE_EXCLUSION.
@stsantilena Can you confirm that this is included in the latest 3.8 release? can this ticket be closed?

Hey @jorgebay - Yes, this work was included in the 3.8 release. I'll defer to @gjanco on whether or not he wants to close this issue as I'm no longer dedicated to this project either.

Closing the loop on this.  This fix is currently available in all distros.
cc: @AdamHattrell

authors: GoldenMouse Mmmariusz gjanco jorgebay ranesagar stsantilena


text:
CSVLoader Bug

Describe the bug
CSVLoader Bug -- raw file which contain metadata, there is no need to input metadata information， and I don't know the format the metadata to input , which loader return a list .
Browser and Version

Browser Edge
Version 114.0.1823.67

To Reproduce
1, Fork Community Examples - CSV Loader
2. Use data from https://media.githubusercontent.com/media/datablist/sample-csv-files/main/files/organizations/organizations-100.csv
3. run and report error
Screenshots

Additional context
Add any other context about the problem here.

I use the version 0.2.2

Hey @westwind027, is the error still occurring in the latest version?

repo: logspace-ai/langflow


text:
Update document

Multiple key value entries are separated by spaces rather than commas.

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

this has already been fixed. nevertheless thank you for the contribution :)

authors: elasticsearch-release hrchu jsvd

repo: logstash-plugins/logstash-filter-csv


text:
Added zookeeper as sql_last_value storage

It will cover following cases:

When we have "Active - Stand by" architecture where 2 logstash instances work on different machines and they need to use same metadata path
When we need to refill old events by changing last value (In case of file system it's difficult to change values)

Hi.
Any updates?

Anybody home?))

repo: logstash-plugins/logstash-input-jdbc


text:
No method found for blank?

Hi there!
First off, thank you for what you do in Open Source.
I doubt this is the correct reporting format and I apologize for that. However I believe this line:
https://github.com/logstash-plugins/logstash-output-loggly/blob/6102367efa0b2261a0a7fff58dc7f196170b20af/lib/logstash/outputs/loggly.rb#L145
should be something like this:
 unless /%{\w+}/.match(t) || t.empty?

That is, the blank? method is in activesupport and not available here. And since t is a string it should respond to empty? in a way that makes everything work correctly.
Thanks,
hb

I am seeing this error when I specify a tag.

I'm getting the same error...
[ERROR] 2021-12-13 22:22:38.948 [[main]>worker0] javapipeline - Pipeline worker error, the pipeline will be stopped {:pipeline_id=>"main", :error=>"(NoMethodError) undefined method `blank?' for \"kubernetes\":String", :exception=>Java::OrgJrubyExceptions::NoMethodError, :backtrace=>["RUBY.prepare_meta(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-loggly-6.0.0/lib/logstash/outputs/loggly.rb:145)", "org.jruby.RubyArray.each(org/jruby/RubyArray.java:1821)", "RUBY.prepare_meta(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-loggly-6.0.0/lib/logstash/outputs/loggly.rb:142)", "RUBY.multi_receive(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-loggly-6.0.0/lib/logstash/outputs/loggly.rb:127)", "org.jruby.RubyArray.collect(org/jruby/RubyArray.java:2584)", "RUBY.multi_receive(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-loggly-6.0.0/lib/logstash/outputs/loggly.rb:127)", "org.logstash.config.ir.compiler.OutputStrategyExt$AbstractOutputStrategyExt.multi_receive(org/logstash/config/ir/compiler/OutputStrategyExt.java:143)", "org.logstash.config.ir.compiler.AbstractOutputDelegatorExt.multi_receive(org/logstash/config/ir/compiler/AbstractOutputDelegatorExt.java:121)", "RUBY.start_workers(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:299)"], :thread=>"#<Thread:0xd632ed2@/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:129 sleep>"}

I tested the proposed solution and it fixes the issue. The String class has the empty? method instead of blank?,

Same here... Why has the PR been closed? This is a valid fix...

authors: JeremyCB harlanbarnes mool ryechus

repo: logstash-plugins/logstash-output-loggly


text:
Caching question

Question issue, regards caching;
I'v noticed this feature:

I have enabled it.
However, when i install package from nuget.org i cant see it in my BaGet volume.
How can i tell this feature works?
thanks a lot!

However, when i install package from nuget.org i cant see it in my BaGet volume.

This is odd - you should see the cached nupkg in your BaGet volume. Is the volume empty?

This is odd - you should see the cached nupkg in your BaGet volume. Is the volume empty?

Unfortunately the package didn't make it,
I am installing packages in VS from nuget.org

What NuGet sources are you using in Visual Studio? You should have just http://localhost:5555/v3/index.jon to force Visual Studio to use BaGet. If you have both nuget.org and BaGet, Visual Studio may use nuget.org to download the package.
Also, have you already installed this package? NuGet won't contact upstream feeds if it has already downloaded the package. Check your machine's offline mirrors (like C:\Users\your-usernam\.nuget\packages) to see if the package has already.

I removed the nuget.org source and tried to install package from there via the console:

Did you come across something like this?

I took a look on what happens here.
I have started baget under debugger. Then ran
nuget install log4net -DisableParallelProcessing -NoCache -Source http://localhost:50561/v3/index.json

This will hit RegistrationIndexController which calls IPackageService and returns NotFound.
var packages = await _packages.FindAsync(id);
            var versions = packages.Select(p => p.Version).ToList();

            if (!packages.Any())
            {
                return NotFound();
            }

@loic-sharma how was this supposed to work? isn't the package service responsible only for indexing local packages?
Would you accept a PR in which cache is moved to separate endpoint? E.g. v3/cache/index.json?

Apologies, I haven't had a chance to look into this bug yet.

isn't the package service responsible only for indexing local packages

You're correct, the IPackageService does not cache packages from an upstream purpose. The MirrorService is what downloads and then caches packages from an upstream source.
Not all endpoints cache packages from an upstream source:

v3/registration/test/index.json (aka, the "registration index")

❌ This doesn't mirror any versions of package Test
This endpoint is handled by RegistrationIndexController

v3/registration/test/1.0.0.json (aka, the "registration leaf")

✔ This does mirror the package Test v1.0.0 (see this code)
This endpoint is handled by RegistrationLeafController

v3/package/test/1.0.0/test.1.0.0.nupkg

✔ This does mirror the package Test v1.0.0 (see this code)
This endpoint is handled by PackageController.DownloadPackage

v3/package/test/1.0.0/test.1.0.0.nuspec

✔ This does mirror the package Test v1.0.0 (see this code)
This endpoint is handled by PackageController.DownloadNuspec

From what you're saying, it sounds like the Install-Package command somehow uses the registration index to restore packages. If that's true, I'll add support for mirroring packages from the registration index.

Would you accept a PR in which cache is moved to separate endpoint? E.g. v3/cache/index.json?

Out of curiosity, what would be the benefit of this? What would the response look like?

From what you're saying, it sounds like the Install-Package command somehow uses the registration index to restore packages.

That's because it does not just "restore", but rather makes a query on what versions are available first, and then uses other endpoints to get particular package.
Paket does that too.

If that's true, I'll add support for mirroring packages from the registration index.

Something like I started in #102 ?

What's the benefit of adding a separate endpoint? Are the current endpoints not enough?

Currently in any of the endpoints we have a workflow like this:

query db to see if we have x package

if yes then just return it
if not then fallback to mirror service, which triggers cache hit/miss procedure

In short I think query to db is unnecessary for cached/public packages.
If we have different endpoint for cached packages, then we know from the start that query is for a public package and we don't need to search for it in the db.
I would rather focus on creating a cache based on something like https://github.com/MichaCo/CacheManager which could use memory, redis, or other database for serving public packages.
In the long run I would not want to store private packages in same place as public ones and would not want to use the same db.
My typical load on a server would involve 200 public packages and a few of private ones. Sqlite can easily handle a few packages, but it would be a major slowdown on hundreds.
Also notice that caching can be usually implemented with KV database much more efficiently. For caching based on KV db we don't have to worry about locks at all.
We could also start to cache responses of other endpoints, such as v3/registration/test/1.0.0.json? That would be nice to have an already pre-generated response in a KV store. SQL is unnecessary for it.
Lastly from user perspective, specifying source which is known to include only private or only public packages makes sense.
PS: I wrote you an email with some issues too.

This should have been fixed by https://github.com/loic-sharma/BaGet/pull/124. Feel free to open a new issue if you have any additional questions or problems!

authors: loic-sharma rong0312 tomzo

repo: loic-sharma/BaGet


text:
🛑 Help - 社区协议 is down

In 2376fb5, Help - 社区协议 (https://support.longbridgeapp.com/topics/misc/cr7cva) was down:

HTTP code: 404
Response time: 1460 ms

Resolved: Help - 行情使用免责声明 is back up in 3c892e1 after .

repo: longbridgeapp/uptime


text:
🛑 Help - 社区协议 is down

In f5f0bb4, Help - 社区协议 (https://support.longbridgeapp.com/topics/misc/cr7cva) was down:

HTTP code: 404
Response time: 1254 ms

Resolved: Help - 行情使用免责声明 is back up in 56fb005 after .


text:
Mixture total vs. single component properties, accessing nonstandard state parameters

Overall, I like the ideas I'm seeing here and am considering adopting the interface for my implementation of the Modified Quasichemical model. I'd like to request an easy way to get any of these properties for individual components as well as the entire mixture. I think this should be doable by a final argument or similar:
function mol_gibbs(mt::MultiPT, model::MyFancyModel, st::ThermodynamicState, unit=u"J/mol", component="Total")
    p = pressure(FromState(), st, u"Pa")
    t = temperature(FromState(), st, u"K")
    x = molefracs(FromState(), st) # didn't see this in the Readme, so not quite sure what the name is?
    val = gibbs_impl(mt, model, p, t, x, component) # or dispatch to different implementations of gibbs_impl depending on the component?
    return ThermoState.convert_unit(u"J/mol",unit,val)
end

But since you already have a bunch of types for dispatch, you could do something similar here:
function gibbs_impl(mt::MultiPT, model::MyFancyModel, p, t, x, ::ComponentChoice{TOTAL})
    # implement total Gibbs of liquid here
end

function gibbs_impl(mt::MultiPT, model::MyFancyModel, p, t, x, ::ComponentChoice{FIRST})
    myfunc(x1) = gibbs_impl(mt, model, p, t, [x1, x[2:end]...], ComponentChoice{TOTAL})
    return ForwardDiff.derivative(myfunc, x[1]) # Or implement the derivative by hand
end

Either of those would be helpful to me.
Also, and I don't know if this is a separate issue or not, but the Modified Quasichemical Model has a special state parameter called coordination fractions which basically measure which species in the liquid phase coordinate better with each other. The computationally-expensive piece of the model is a nonlinear solve for the optimal coordination fractions given the mole fractions and temperature. I don't know if the ThermodynamicState struct is the best place to encode this information; actually I rather think it would be the MyFancyModel (in this case the QuasichemicalModel) struct, but it would be nice to have some kind of standard interface for getting special information like this from a WhateverModel struct to make it available for the ThermodynamicState struct. Or maybe I should just access in the gibbs_impl functions and other functions I'm writing to implement the model. What do you think?
(Edit: missed a ')' in some code)

On the first one:
oh, yeah, im encountering the same dilemma in ThermoModels.jl, in the implementations it isnt a problem, but calling from high level is something that should be implemented. to add this, i would need:

the name of the type
a keyword that represents the the type (to call state(kwargs,...key=value))
the name of an accesor function.
i imagine something like this:

struct ComponentChoice{T<:SpecModifier} <: CategoricalSpec #check choices can be done

keywords: component_choice? = name of the function?
i can add those right away after defining the options.
On the second one:
im trying to make thermodynamic state as stateless as possible, but i have a escape hatch if you need it: you can a named tuple with any value to options:
st = state(t=373.15,p=1u"atm,options=(precalc_struct=...))

and then querying those results with
options(FromState(),st)

the function is called mol_fraction(FromState();st,nothing,mw), but i can add alternative definitions


text:
🛑 Posie is down

In aeffda2, Posie (https://posie.jau.co.jp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Posie is back up in 33eaa39.

repo: longforme/longforme-uptime-monitor


text:
🛑 MAHO is down

In bc4fe98, MAHO (https://maho.jau.co.jp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MAHO is back up in 8f406cb.


text:
[IMPROVEMENT] Prevent users from accidentally uninstalling Longhorn

Is your improvement request related to a feature? Please describe
To avoid any data loss by involuntary uninstall, so it's better to keep volume data after uninstalling longhorn. However, there will be a downside which is users need to clean up volume data on their own if they don't want them afterward.
Also, see whether when reinstalling longhorn after that, all things still go well, or if there are any compatibility concerns like installing different longhorn versions w/ previously kept data.
Describe the solution you'd like
Leverage helm.sh/resource-policy for chart part and need to update uninstall process accordingly to avoid deleting volume data before we can tackle https://github.com/longhorn/longhorn/pull/3224#issuecomment-986391892.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@PhanLe1010 Please help investigate this as a priority.
This has been raised again due to a recent 3rd party gitops solution  issue like Rancher fleet would accidentally uninstall longhorn.

Usecase:

keep the following resources

Replicas
Engines
Volumes
Snapshot
Setting

Recover by installing the same Longhorn version
Provide a clean-up deamonset that will read the setting CRs to determine the replica location and clean up all replica directories as well as the above CRs

Implementation:
Creating a new setting, keep-volume-data-when-uninstalling. By default, this setting is false which is the current behavior. When the users turn on this setting, the uninstalling controller will not delete the above CRs.
In addition, we have to keep the CRD as well

Helm

Considering adding a new helm value, keep-crds, to specify the annotation helm.sh/resource-policy for CRDs

Rancher chart

CRDs is a separate chart but will use the same helm value as above

Kubectl

There is no way to prevent users from deleting CRs using kubectl

Just leaving a note here, for 3. If I am not mistaken one can use a mutating admission webhook to prevent deletions, is my understanding correct on this @derekbit

Thanks @joshimoo for the design idea in the today's meeting (Preferrable write some yaml data to the volumes on the disks and read it back when reinstalling Longhorn. ). Could you note it down here again?

Together with https://github.com/longhorn/longhorn/issues/4711, the flow is:

Longhorn has a custom resource definition called settings.longhorn.io
Longhorn instantiates a boolean value CR of this CRD called deleting-confirmation-flag
When users uninstall Longhorn chart, there is a pre-delete helm hook which is a Kubernetes job here that run some checking logics including checking if the above flag is set to true ,link
If the deleting-confirmation-flag is currently false the pre-delete hook will fail thus Helm uninstallation fail.
User will be given 2 options at this moment:

If the deletion is intended, just  kubectl edit settings.longhorn.io deleting-confirmation-flag -n longhorn-system to set the flag to true and retry helm uninstall
If the deletion is not intended (the Rancher Fleet bug), the user can cancel the uninstallation by helm rollback to latest revision.

Additional context:
I was trying to stream the uninstallation pod's logs to show users when they run helm uninstall for quicker feedback about the error but it is currently not possible yet. Ref: https://github.com/helm/helm/pull/10309

Test step:

Note that this issue should be tested together with https://github.com/longhorn/longhorn/issues/4711

Install Longhorn using helm chart at master branch https://github.com/longhorn/longhorn/tree/master/chart

git clone https://github.com/longhorn/longhorn.git
helm upgrade --install longhorn ./chart --namespace longhorn-system --create-namespace

Case 1: the flag deleting-confirmation-flag is false

Try to uninstall Longhorn helm uninstall longhorn -n longhorn-system --debug
The uninstallation should fail
Check the logs of the uninstallation pod inside longhorn-system, it should yelling that it failed because deleting-confirmation-flag is false
If users want to cancel the uninstallation (a.k.a, this is an unexpected uninstallation). User can run helm list -n longhorn-system -a to list the latest revision of the release. Then helm rollback longhorn <latest-revision> -n longhorn-system
If users want to retry uninstallation (a.k.a, this is an intended uninstallation), user can set deleting-confirmation-flag to  true by Longhorn UI or kubectl edit settings.longhorn.io deleting-confirmation-flag -n longhorn-system. Then retry helm uninstall longhorn -n longhorn-system --debug

Case 1: the flag deleting-confirmation-flag is true

Try to uninstall Longhorn helm uninstall longhorn -n longhorn-system --debug
The uninstallation should succeed

Should we put this one into the release note stating that users would need to set the lag deleting-confirmation-flag is true to be able to uninstall Longhorn @innobead?

YES, because it's a behavior change.

Thank you. May be we can point the release note to our doc https://github.com/longhorn/website/pull/595

+1 totally required. In my opinion:

Longhorn uninstall job should not have --force flag by default
Longhorn uninstall should not proceed if there're Volumes in attached status by default
The --force behaviour should be configurable by the user (maybe using deleting-confirmation-flag you're talking about)

Verified passed on master-head (longhorn/longhorn 777bc5b) by following the test steps, the deleting-confirmation-flag flag works as expected.

+1 totally required. In my opinion:
* Longhorn uninstall job should not have` --force` flag by default

* Longhorn uninstall job should not proceed if there're Volumes in _attached_ state by default

* The `--force` behaviour should be configurable by the user (maybe using `deleting-confirmation-flag` you're talking about)

@PhanLe1010 @innobead what do you think?

I think deleting-confirmation-flag should be enough to prevent the accident. We don't need 3-step verification by allowing customization of the --force flag in the uninstallation job.

authors: PhanLe1010 innobead joshimoo kladiv yangchiu

repo: longhorn/longhorn


text:
[BUG] Volume cannot attach because of the leftover non-empty volume.status.PendingNodeID after upgrading Longhorn

Describe the bug
if the volume.status.PendingNodeID is set in v.1.4.x, Longhorn v1.5.x will not clean it up and will not be able to attach the volume again as:

Volume attachment controller check if volume is fully detached https://github.com/longhorn/longhorn-manager/blob/8ce69c8f280a5a2715c528034e0274391ad761c0/controller/volume_attachment_controller.go#L550-L552
Volume attachment controller think that the volume is not fully detached because of the non-empty .status.PendingNodeID field https://github.com/longhorn/longhorn-manager/blob/50acc8136199f5042afcf2b5b3c7285edb9b7820/controller/utils.go#L33-L38

To Reproduce (not tried yet)

Deploy Longhorn v1.4.x
Create a volume
Delete Longhorn manager daemonset
Artificially set volume.status.PendingNodeID to a node name in the cluster by  kubectl edit volumes -n longhorn-system VOLUME-NAME --subresource=status
Upgrade Longhorn to v1.5.x
Try to attach the volume
See that it cannot finish attaching

Expected behavior
Volume is able to attach after upgrade
Additional context
This will happen when upgrading Longhorn from 1.4.x to 1.5.x or 1.6.x

Workaround:
The workaround for this volume is run kubectl edit volumes -n longhorn-system VOLUME-NAME --subresource=status and set empty .status.PendingNodeID to empty string ""

In addition to clearing any non-null value in upgrade, it's also necessary to remove the code that checks pendingNodeID, since there are upgrades that have already happened.

Verified pass on longhorn master(longhorn-manager 3f99a6)
Follow test steps to upgrade from v1.6.1-rc2 to master, after upgrade completed, the volume can attach success and data correct.

authors: PhanLe1010 chriscchien james-munson


text:
book download using company mail id

Hi,
I have to use my ACM credentials  to log into O Reilly. It is not a straight forward login and password setup but rather  couple of steps involved:

Provide acm mail id  in login
It is directed to ACM and there i provide my mail id and password
Access is granted.

I there a way to get around downloading book using 2 step verification process ?

Read: https://github.com/lorenzodifuccia/safaribooks/issues/150#issuecomment-555423085

repo: lorenzodifuccia/safaribooks

license: WTFPL


text:
can't give the password

hi, i have an account in safari online books which was given by my employer so if i give my company credentials its not working. so how can i use my office credentials to download it?

It's a SSO, you have to use browser's cookies.
Please read the #2 and #9

Thanks for referencing those two issues! Wouldn't it be good to add this bit of information (and maybe the bookmarklet created by anhhh11 in #2) to the readme file?

Creating cookies.json with #2 or #9 no longer works and gives closed issue #70 API: Out of Session. May be best to update the readme and remove references to SSO as it no longer functions.

Is corporate logon going to be fixed?

Linking from #70 seems that there are new httponly cookies for the session id. so the methods in #2 and #90 do not work for these.

Thought i would try again after 8 months and see if anything worked. After reviewing all the feedback and trying it all unfortunately nothing still works for SSO. It gives the can not find profile error. Cookies are identical in browser and in file. While the issue is closed it does not function. I guess that means that this will not work for SSO in future.

Hi Lorenzo
I have not faced issue in last few months. Thanks for reaching out.
With regards
Pradhyot Chaudhary
Op zo 23 feb. 2020 om 10:13 schreef okovwvrv notifications@github.com:

Thought i would try again after 8 months and see if anything worked. After
reviewing all the feedback and trying it all unfortunately nothing still
works for SSO. It gives the can not find profile error. Cookies are
identical in browser and in file. While the issue is closed it does not
function. I guess that means that this will not work for SSO in future.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lorenzodifuccia/safaribooks/issues/26?email_source=notifications&email_token=ALBECDLEN2TPPG25ENQJDOLREIV3PA5CNFSM4FO2SPGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVULOI#issuecomment-590038457,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALBECDIJCGN3OKUO6W7V6MTREIV3PANCNFSM4FO2SPGA
.

--
Met vriendelijke groet/ With kind Regards
Pradhyot Chaudhary

Seems to work by changing the profile to oreilly. I stand corrected.


text:
Improve homepage

Adds a slideshow object (the same used on the conference#show page) to the homepage.

Pull Request Test Coverage Report for Build 1429401454

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.066%

Totals

Change from base Build 1211159747:
0.0%

Covered Lines:
227

Relevant Lines:
242

💛  - Coveralls

authors: coveralls louis-vs


text:
Support gRPC protocol

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
New Monitor
🔖 Feature description
In our system, we need to monitor internal services which only support the gRPC protocol
✔ Solution
Using protobufjs and @grpc/grpc-js to allow user can monitor their gRPC service
❓ Alternatives
No response
📝 Additional Context

Closing as resolved by #1964

authors: CommanderStorm minhhoangvn

repo: louislam/uptime-kuma


text:
error on install

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
installing manually not docker.
$ npm run setup

> uptime-kuma@ setup /code/uptime-kuma
> git checkout 1.0.0 && npm install && npm run build

Previous HEAD position was 0176857 add ability to change the listening port and hostname
HEAD is now at a1adfb9 minor fix
npm WARN vue-confirm-dialog@1.0.2 requires a peer of vue@^2.6.10 but none is installed. You must install peer dependencies yourself.
npm WARN uptime-kuma@1.0.0 No repository field.
npm WARN uptime-kuma@1.0.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

removed 1 package and audited 457 packages in 7.619s

10 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> uptime-kuma@1.0.0 build /code/uptime-kuma
> vite build

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'worker_threads'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/code/uptime-kuma/node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:23:20)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! uptime-kuma@1.0.0 build: `vite build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the uptime-kuma@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /.npm/_logs/2021-07-12T13_47_45_765Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! uptime-kuma@ setup: `git checkout 1.0.0 && npm install && npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the uptime-kuma@ setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /.npm/_logs/2021-07-12T13_47_45_782Z-debug.log

checking the debug log gives me :
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'setup' ]
2 info using npm@6.14.4
3 info using node@v10.19.0
4 verbose run-script [ 'presetup', 'setup', 'postsetup' ]
5 info lifecycle uptime-kuma@~presetup: uptime-kuma@
6 info lifecycle uptime-kuma@~setup: uptime-kuma@
7 verbose lifecycle uptime-kuma@~setup: unsafe-perm in lifecycle true
8 verbose lifecycle uptime-kuma@~setup: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/code/uptime-kuma/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle uptime-kuma@~setup: CWD: /code/uptime-kuma
10 silly lifecycle uptime-kuma@~setup: Args: [ '-c', 'git checkout 1.0.0 && npm install && npm run build' ]
11 silly lifecycle uptime-kuma@~setup: Returned: code: 1  signal: null
12 info lifecycle uptime-kuma@~setup: Failed to exec setup script
13 verbose stack Error: uptime-kuma@ setup: `git checkout 1.0.0 && npm install && npm run build`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:198:13)
13 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:198:13)
13 verbose stack     at maybeClose (internal/child_process.js:982:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid uptime-kuma@
15 verbose cwd /code/uptime-kuma
16 verbose Linux 5.8.0-1031-oracle
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "setup"
18 verbose node v10.19.0
19 verbose npm  v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error uptime-kuma@ setup: `git checkout 1.0.0 && npm install && npm run build`
22 error Exit status 1
23 error Failed at the uptime-kuma@ setup script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

18 verbose node v10.19.0
Uptime-Kuma requires node.js 14 or above.

authors: KingPin TheGuyDanish


text:
Filter which event (UP/DOWN/CERT-EXPIRY/...) triggers alerts

Is it a duplicate question?
Nope
Is your feature request related to a problem? Please describe.
Currently the notifications send on both service up and service down - but not only up, or only down.
Describe the solution you'd like
It would be nice if we could specify we only wanted the notification to send when the service went down (or when it comes back online) (or both).
Describe alternatives you've considered
-NA-
Additional context
I'm using this program to monitor (among other things) a minecraft server, and notify the server owner when his server is down. He's mentioned it's a bit annoying to get the 'server up' notification since he's literally the person who restarted the server.

This is no longer necessary. Can we close issue? @louislam

This is no longer necessary. Can we close issue?

Why is this no longer necessary?

I thought the "upside down mode" feature met this request.

No, this FR is speciically to filter which event (UP/DOWN/CERT-EXPIRY/...) triggers alerts. Upside-down mode does not allow filtering
=> issue won't be closed ^^

I would love to see this a possibility for webhooks. I have a few Alexa routines I can trigger via webhook but would need the ability to send a webhook based on up or down status vs trying to filter through another service first to filter that out.
Even if we could have a custom section for creating a trigger mechanism ourselves to tie in globally would be great. E.g. a custom_trigger.js where we can say if status is up do x, if down do y.

authors: CommanderStorm Genc OneNerdyDad fatflyingpigs


text:
求助,插入数据时提示 packets out of order

Describe Your Environment (描述你的环境)

System:
PHP version: Ubuntu14.04
Swoole version: 4.2.5
SMProxy version: 1.2.6 beta

How to Reproduce the Problem? (如何重现问题)

批量插入数据

Expected Behavior (预期行为)
正常插入
...
Actual Behavior (实际行为)
SQLSTATE[08S01]: Communication link failure: 1149 08S01Got packets out of order
...
More Information (更多信息)
不使用SMP时一切正常 单条数据量也没有很大 只是一篇文章
...

@qq380998880  能够贴出sql 以及表结构吗

08b7cdd57caa41c4bdc632dd68ae69fcaaf81509

repo: louislivi/SMProxy


text:
loading chart with default settings will not work with 5 digits float price scale [BUG]

Expected Behavior
Price scale not showing at all
Current Behaviour

Reproducible Example
loading chart from default settings

Environment
- OS:windows 11
- Library:

this is my df

                    time    open    high     low   close  tick_volume  spread  real_volume   ema_4
0    2023-10-26 15:02:00 1.05386 1.05392 1.05383 1.05384           28       0            0 1.05384
1    2023-10-26 15:03:00 1.05384 1.05389 1.05378 1.05384           35       0            0 1.05384
2    2023-10-26 15:04:00 1.05388 1.05388 1.05370 1.05378           43       0            0 1.05382
3    2023-10-26 15:05:00 1.05378 1.05380 1.05371 1.05380           30       0            0 1.05381
4    2023-10-26 15:06:00 1.05380 1.05382 1.05369 1.05382           28       0            0 1.05381

Hey @esteban2006,
chart.precision is needed in this case.


text:
make link_text in hero component mobile friendly

Hi, is it possible to make link_text mobile friendly? With long text it does not fit. Thank you.

SELECT 'hero' as component,
    'Nirmala Vidya' as title,
    'Build **Your Self Knowledge** Effortlessly with **Lectures of Shri Mataji Nirmala Devi**' as description_md,
    'Kundalini Rise Animation with music_EN.webm' as video,
    'https://www.amruta.org/self-realisation/' as link,
    'New to Sahaja Yoga? Then first get your Self Realisation here.' as link_text;

Yes, you can add the text-wrap class to the button. Can you open a new pull request?

sure, should I do it here?
https://github.com/lovasoa/SQLpage/blob/main/sqlpage/templates/button.handlebars

authors: amrutadotorg lovasoa

repo: lovasoa/SQLpage