Banks "not cleared" indicator in date or some other field

First of all thanks for this great tool. It was very easy to configure because your documentation was done really well. 👍
My bank Nordea describes upcoming not cleared transactions in the date field with a text "Varaus" (reservation).
Would it be possible to either have transactions with specific text value in some column as a not cleared transaction or alternatively simply to ignore them.
This is not a big issue. For now I just delete those rows manually. I also know that my banks CSV is crap so I understand if this kind of feature would be a feature creep. 😄

Hey rauhasto
It's an interesting topic. On the one hand you're right about this being a bit of a feature creep.
ynab-buddy is supposed to be a generic tool, so adding an exception for 1 bank does go against that philosophy. (This is how projects like YNAP end up having to maintain 100+ different formats.)
On the other hand... if this is supposed to be a generic tool, then it should work with any (csv) format, no matter how weird the bank makes it. 🤔
💡 With that in mind, here's a (possible) solution I came up with:
ynab-buddy could be extended using a hooks system.
Here's what that could look like:

Alongside the config file in ~/ynab-buddy/config.yaml, there would be a javascript file: hooks.js
That file would contain several functions that each get called at certain points in the process of parsing a file, extracting transactions, and uploading them to YNAB.
By adding your own code, you could "hook into" any part of the process, and modify the behavior. In your case: you could delete any line containing the text "Varaus", after ynab-buddy has finished parsing the file, but before it starts converting lines into transactions.

Of course this approach is assuming you're comfortable writing a bit of javascript code. (Or maybe, have ChatGPT do it?)
This is still in the 'idea' phase, so I'd love to hear your thoughts!

Hi,
And thanks for help!
This would be a good idea! For now I've made a batch script that deletes these problematic lines from the input csv and then calls ynab-buddy. It seems to work pretty ok. However your solution does sound better.
By the way have you planned to add cleared/not cleared support for transactions? I actually meant that when I incorrectly used term "reservation". Those Nordea "Varaus" lines are transactions that have not yet been cleared. It does seem that the api supports importing them but I'm not so sure about the csv uploader.

Hi again @rauhasto , hope you're doing well
Good news: the Hooks 🪝 feature is now in Beta!
This should not only allow you to remove certain transactions from your CSV files, but also mark transactions as 'uncleared' before they're uploaded to your budget.
I've already started using a hook of my own to clean up the "memo" field in my own CSV files. (My bank loves putting random junk there)
If you have some time to give Hooks a try, I'd love to get your feedback.
Just let me know if you need some help getting set up, or if you run into any issues. After all, it's still a beta 🏗😉

Great! I'll have a look as soon as possible. This would likely be a good alternative for my current messy batch script (why on earth did I make it with batch? 😅).
Big thanks for developing this tool further and listening to ideas! 💪


Added flavor check to apk path resolution

Guys, here is PR 37 with a test.

@pratclot thanks a lot!
LGTM
cc: @piotrmadry


openbiox 学习资源共享专用

文献分享
题目
The UCSC Xena platform for public and private cancer genomics data visualization and interpretation. bioRxiv preprint first posted online May. 18, 2018; doi: http://dx.doi.org/10.1101/326470
原文：PDF
摘要
UCSC Xena is a visual exploration resource for both public and private omics data, supported through the web-based Xena Browser and multiple turn-key Xena Hubs. This unique archecture allows researchers to view their own data securely, using private Xena Hubs, simultaneously visualizing large public cancer genomics datasets, including TCGA and the GDC. Data integration occurs only within the Xena Browser, keeping private data private. Xena supports virtually any functional genomics data, including SNVs, INDELs, large structural variants, CNV, expression, DNA methylation, ATAC-seq signals, and phenotypic annotations. Browser features include the Visual Spreadsheet, survival analyses, powerful filtering and subgrouping, statistical analyses, genomic signatures, and bookmarks. Xena differentiates itself from other genomics tools, including its predecessor, the UCSC Cancer Genomics Browser, by its ability to easily and securely view public and private data, its high performance, its broad data type support, and many unique features.
点评
整合大队列以及实验室小型数据进行统一分析是目前生物信息学研究领域最为迫切的需求之一。对来源于于不同实验室、不同数据库的繁杂数据进行质量控制和标准化则是必须要解决的难题之一。而随着越来越多大队列测序项目的启动和完成，相关项目的原始数据量已经非常庞大，进行 PB 级别的原始数据重分析和挖掘的难度已经越来越大。
感觉我们现在可以对已经标准化的数据进行重新整合和额外的内容扩展，特别是数据质量控制和评估、可视化、表型关联分析、功能试验文献的信息整合等方向。

小工具分享
clipboard2markdown

http://euangoddard.github.io/clipboard2markdown/
复制富文本/网页/表格，生成 Markdown 格式


Create 2025 release schedule

As the end of the year approaches, we will also need to make sure to update our release schedule for next year.
1H2025 dates

Code freeze
Release date
Version
Status

Jan 13, 2025
Jan 22, 2025
2.58.0
Unreleased

Jan 27, 2025
Feb 5, 2025
2.59.0
Unreleased

Feb 10, 2025
Feb 19, 2025
2.60.0
Unreleased

Feb 24, 2025
Mar 5, 2025
2.61.0
Unreleased

Mar 10, 2025
Mar 19, 2025
2.62.0
Unreleased

Mar 24, 2025
Apr 2, 2025
2.63.0
Unreleased

Apr 7, 2025
Apr 16, 2025
2.64.0
Unreleased

Apr 21, 2025
Apr 30, 2025
2.65.0
Unreleased

May 5, 2025
May 14, 2025
2.66.0
Unreleased

May 19, 2025
May 28, 2025
2.67.0
Unreleased

Jun 2, 2025
Jun 11, 2025
2.68.0
Unreleased

Jun 16, 2025
Jun 25, 2025
2.69.0
Unreleased

Jun 30, 2025
Jul 9, 2025
2.70.0
Unreleased

[x] Add 2H2025 dates
[x] Review for typos (years, days, release numbers)
[x] Review for holidays
[ ] Review adjustments with leads
[x] Add new dates to release schedule

Code freeze
Release date
Version
Status

Jul 14, 2025
Jul 23, 2025
2.70.0
Unreleased

Jul 28, 2025
Aug 6, 2025
2.71.0
Unreleased

Aug 11, 2025
Aug 20, 2025
2.72.0
Unreleased

Aug 25, 2025
Sep 3, 2025
2.73.0
Unreleased

Sep 8, 2025
Sep 17, 2025
2.74.0
Unreleased

Sep 22, 2025
Oct 1, 2025
2.75.0
Unreleased

Oct 6, 2025
Oct 15, 2025
2.76.0
Unreleased

Oct 20, 2025
Oct 29, 2025
2.77.0
Unreleased

Nov 3, 2025
Nov 12, 2025
2.78.0
Unreleased

Nov 17, 2025
Nov 26, 2025
2.79.0
Unreleased

Dec 1, 2025
Dec 10, 2025
2.80.0
Unreleased

Dec 15, 2025
Dec 24, 2025
2.81.0
Unreleased

Dec 29, 2025
Jan 7, 2026
2.82.0
Unreleased

November 26 is the day before Thanksgiving and December 24 is Christmas Eve with Christmas being a holiday for most of our global teams.
Recommended adjustment for 2H2025 dates with two 3-week releases for Thanksgiving and Christmas/New Year’s.

Code freeze
Release date
Version
Status

Jul 14, 2025
Jul 23, 2025
2.70.0
Unreleased

Jul 28, 2025
Aug 6, 2025
2.71.0
Unreleased

Aug 11, 2025
Aug 20, 2025
2.72.0
Unreleased

Aug 25, 2025
Sep 3, 2025
2.73.0
Unreleased

Sep 8, 2025
Sep 17, 2025
2.74.0
Unreleased

Sep 22, 2025
Oct 1, 2025
2.75.0
Unreleased

Oct 6, 2025
Oct 15, 2025
2.76.0
Unreleased

Oct 20, 2025
Oct 29, 2025
2.77.0
Unreleased

Nov 3, 2025
Nov 12, 2025
2.78.0
Unreleased

Nov 17, 2025
Dec 3, 2025*
2.79.0
Unreleased

Dec 8, 2025
Dec 17, 2025
2.80.0
Unreleased

Dec 22, 2025
Jan 7, 2025*
2.81.0
Unreleased

2025 schedule has been added, and Slack workflows have been offset for the New Year to match our current 3 week cycle.
https://github.com/carbon-design-system/ibm-products/wiki/Carbon-for-IBM-Products-Releases


Publish to Marketplace

Publish to Mozilla market place

Yeah now done https://addons.mozilla.org/en-US/firefox/addon/home-blocks/


Current user

New users endpoints to fetch the current user information was added with a little rearrangement in server.ts configuration

The branch is meant to be merged with dev and not main


Azure SWA region when using a private endpoint

Hello,
We are enforcing with some policies the resource creation in the region for which the subscription has been created for.
This is currently a big limitation for static web apps, even if exposed behind a private endpoint, because the region is used for the managed azure function and for staging environments and even with private endpoint it is mandatory to select one.
For example, my subscription and vnet are in NE, hence the company policy is preventing me to create a static web app with a NE private endpoint, because I cannot select WE as default region for the SWA.
Can you help me to find a solution for the issue?
Thanks,
Andrea

wrong repo


Anchor 1.0.2 and Ledger 1.3.1 not connecting

I'm trying to move from eos-voter to Anchor but am having problems connecting to my Nano S.  Anchor seems to be hanging ("establishing connection, please wait" but Reinitializing wheel spins forever).  Both Anchor and Ledger versions are current and I've rebooted W10 with no change.  Any suggestions?

Do you have them both open at the same time? That might actually be the problem.
Anchor and eos-voter compete for the USB connection of the Ledger device, so you can only use one at a time. Try quitting one of them and then see if it works.

I just opened Anchor from a cold start, no eos-voter running.  It asks to
connect and login Ledger which I did, then a pop up asks to enable the EOS
app which I did.  However it then seems stuck showing:
"Reinitializing
Establishing connection, please wait..."
I did have "Automatically enable Ledger Support" checked from my previous
attempts.  I'll try unchecking and see if that helps.  Stand by.
Well some success!  I unchecked and then clicked the colored Disable Ledger
Service, then Enable Ledger Support.  Then the app proceeded OK and I was
able to see my existing accounts on Ledger.
However when attempting to stake some additional EOS to NET, the app again
went into a loop and did not recognize the clicks on the Nano to authorize
the staking action.  Nano cycled "Confirm Transaction" and "With 2 actions"
but Anchor did not respond.  Somewhere in this process it did give me the
following:
TypeError: Cannot read property 'split' of null
at Function.mapToProps
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:9:1554226)
at o
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:162044)
at h
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:163321)
at
file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:163393
at Object.run
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:159824)
at i.l.onStateChange
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:160300)
at Object.notify
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:157143)
at e.t.notifyNestedSubs
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:156785)
at i.l.onStateChange
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:160442)
at Object.notify
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:157143)
So I've made a little progress in being able to log in but am still stuck
with Anchor not recognizing Ledger when attempting to authorize the staking
process.
I'll keep playing with it but hopefully the above may be some help.
Bill
On Thu, May 21, 2020 at 12:55 AM Aaron Cox<EMAIL_ADDRESS>wrote:

Do you have them both open at the same time? That might actually be the
problem.
Anchor and eos-voter compete for the USB connection of the Ledger device,
so you can only use one at a time. Try quitting one of them and then see if
it works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/greymass/anchor/issues/886#issuecomment-631879434,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIGCRRCXEWY22PJA7DAWM3RSSX3TANCNFSM4NF4JZ6A
.

FYI I tried using eos-voter to stake some EOS to NET.  That's hanging up
also although the Nano response is different.  It cycles through Confirm
Transaction, Contract, Action, From, Receiver, NET, CPU but eos-voter does
not recognize clicked checks from Nano and "Confirm Action on Ledger" spins
continually.  So the problem may not be unique to Anchor.  I don't think
it's my Nano which seems to work OK for other apps.
On Thu, May 21, 2020 at 6:31 AM Bill Tippett<EMAIL_ADDRESS>wrote:

I just opened Anchor from a cold start, no eos-voter running.  It asks to
connect and login Ledger which I did, then a pop up asks to enable the EOS
app which I did.  However it then seems stuck showing:
"Reinitializing
Establishing connection, please wait..."
I did have "Automatically enable Ledger Support" checked from my previous
attempts.  I'll try unchecking and see if that helps.  Stand by.
Well some success!  I unchecked and then clicked the colored Disable
Ledger Service, then Enable Ledger Support.  Then the app proceeded OK and
I was able to see my existing accounts on Ledger.
However when attempting to stake some additional EOS to NET, the app again
went into a loop and did not recognize the clicks on the Nano to authorize
the staking action.  Nano cycled "Confirm Transaction" and "With 2 actions"
but Anchor did not respond.  Somewhere in this process it did give me the
following:
TypeError: Cannot read property 'split' of null
at Function.mapToProps
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:9:1554226)
at o
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:162044)
at h
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:163321)
at
file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:163393
at Object.run
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:159824)
at i.l.onStateChange
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:160300)
at Object.notify
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:157143)
at e.t.notifyNestedSubs
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:156785)
at i.l.onStateChange
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:160442)
at Object.notify
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:157143)
So I've made a little progress in being able to log in but am still stuck
with Anchor not recognizing Ledger when attempting to authorize the staking
process.
I'll keep playing with it but hopefully the above may be some help.
Bill
On Thu, May 21, 2020 at 12:55 AM Aaron Cox<EMAIL_ADDRESS>wrote:

Do you have them both open at the same time? That might actually be the
problem.
Anchor and eos-voter compete for the USB connection of the Ledger device,
so you can only use one at a time. Try quitting one of them and then see if
it works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/greymass/anchor/issues/886#issuecomment-631879434,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIGCRRCXEWY22PJA7DAWM3RSSX3TANCNFSM4NF4JZ6A
.

Well finally success to report, but I got there a strange way:

I decided to check W10 for updates even though I did yesterday.  I
found 2020-01 Update for Windows 10 Version 1909 for x-64 based systems
(KB4497165) and installed the update.  I'm surprised it was 2020-01 since I
had previously installed cumulative updates through 2020-05.

After connecting to Ledger, I attempted to stake some NET and CPU.  As
before I got "Confirm Transaction" and "with 2 actions" in successive Nano
windows.  Then I got something new on Nano, a window that was a character
(which I forget) at the extreme left and a checkmark at the extreme right.
I clicked both buttons several times and the staking was accepted and then
confirmed on eosflare.

I'm happy to finally execute the staking but it was definitely not without
problems.  Hopefully some of the info I submitted will help you make it
smoother for others.
Best regards,
Bill
On Thu, May 21, 2020 at 7:15 AM Bill Tippett<EMAIL_ADDRESS>wrote:

FYI I tried using eos-voter to stake some EOS to NET.  That's hanging up
also although the Nano response is different.  It cycles through Confirm
Transaction, Contract, Action, From, Receiver, NET, CPU but eos-voter does
not recognize clicked checks from Nano and "Confirm Action on Ledger" spins
continually.  So the problem may not be unique to Anchor.  I don't think
it's my Nano which seems to work OK for other apps.
On Thu, May 21, 2020 at 6:31 AM Bill Tippett<EMAIL_ADDRESS>wrote:

I just opened Anchor from a cold start, no eos-voter running.  It asks to
connect and login Ledger which I did, then a pop up asks to enable the EOS
app which I did.  However it then seems stuck showing:
"Reinitializing
Establishing connection, please wait..."
I did have "Automatically enable Ledger Support" checked from my previous
attempts.  I'll try unchecking and see if that helps.  Stand by.
Well some success!  I unchecked and then clicked the colored Disable
Ledger Service, then Enable Ledger Support.  Then the app proceeded OK and
I was able to see my existing accounts on Ledger.
However when attempting to stake some additional EOS to NET, the app
again went into a loop and did not recognize the clicks on the Nano to
authorize the staking action.  Nano cycled "Confirm Transaction" and "With
2 actions" but Anchor did not respond.  Somewhere in this process it did
give me the following:
TypeError: Cannot read property 'split' of null
at Function.mapToProps
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:9:1554226)
at o
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:162044)
at h
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:163321)
at
file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:163393
at Object.run
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:159824)
at i.l.onStateChange
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:160300)
at Object.notify
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:157143)
at e.t.notifyNestedSubs
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:156785)
at i.l.onStateChange
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:160442)
at Object.notify
(file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:80:157143)
So I've made a little progress in being able to log in but am still stuck
with Anchor not recognizing Ledger when attempting to authorize the staking
process.
I'll keep playing with it but hopefully the above may be some help.
Bill
On Thu, May 21, 2020 at 12:55 AM Aaron Cox<EMAIL_ADDRESS>wrote:

Do you have them both open at the same time? That might actually be the
problem.
Anchor and eos-voter compete for the USB connection of the Ledger
device, so you can only use one at a time. Try quitting one of them and
then see if it works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/greymass/anchor/issues/886#issuecomment-631879434,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIGCRRCXEWY22PJA7DAWM3RSSX3TANCNFSM4NF4JZ6A
.

Thank you!
We'll do some testing on our end reproducing these steps and try to refine the process a little bit.
One note - I think the Anchor process where you couldn't proceed beyond 2 actions is actually related to a bug in the EOS app itself, which we're waiting on a resolution for. All the other issues you've reported I think we can deal with internally, but this one issue I think we're going to be stuck on.


CB-15294 Generate hostkeytab

Get keytab for host
https://jira.cloudera.com/browse/CB-15294

the commit message/name should contain that this is a test


Use sizeof when appropriate

140002dbf  struct rc4_ctx rc
140002dbf  memset(&rc, 0, 0x100)

rc4_ctx is 256 byte long structure, so BN can use sizeof(rc) instead of 0x100 in order to help me understand that all structure will be zeroed in this case.

This is a really good idea. I think the way to go about this is to make it part of the IntegerDisplayType system. Very much like how the enum dialog works. You tell it to display as a sizeof and then you have to select what type. By default it might be able to look up the types that are in scope and select the size type whose size matches most closely. This would also allow you to change any integer into a sizeof operation. Hmm makes me think we should do offsetof as well 🤔

If the selected type doesn't match the integer value then it can still display it in terms of the selected variable's type.
memset(&var4 + 0x10, 0, sizeof(var4) - 0x10)

Now as to the age old question should it be sizeof(<type>) or sizeof(<variable>) my vote is for sizeof(<variable>) Unless there is no variable of that type in the current function.


Reduce noise from rhcos job

And have proper, maybe aggregate, but surely actionable info through https://issues.redhat.com/browse/ART-3953

/lgtm


Planned orders / SL Trigger

Describe the bug
I want to ceate a sl trigger for an open position on futures trading.
With API V1 and V2 I can not get the open trigger positions from server for validation they already exist and maybe have to be changed or whatever.
To Reproduce
var asd = await bitgetClient.FuturesApiV2.Trading.GetOpenTriggerOrdersAsync(Bitget.Net.Enums.BitgetProductTypeV2.UsdtFutures, Bitget.Net.Enums.BitgetFuturesPlanType.PositionProfitPlan);
var reseultUntriggeredOrders = await bitgetClient.FuturesApi.Trading.GetPlanOrdersAsync("ETHUSDT_UMCBL");
V2 interfave returns: [ServerError] 40812: The condition planType is not met
V1 returns no data (status 200)
I have created the sl trigger via the app and it exists
Expected behavior
Both functions should return the manually created SL-Trigger

I have checked nearly all plantypes in V2 version. For all it's teh same error

These are the supported values for the V2 endpoint planType parameter:
NormalPlan: average trigger order
TrackPlan: trailing stop order
ProfitLoss: take profit and stop loss orders(including the profit_plan, loss_plan, moving_plan, pos_profit and pos_loss)
I validated that these call return successfully, though I don't have plan orders open so let me know if this fully fixes your issue

I have tried all parameters but did not get any open/planned order.
In the app I can see those orders but not via the endpoint.
I wanted to check via postman but the APi is not very friendly to use with postman. :-(

I having the same problem here. In the Bitget documentation (https://www.bitget.com/api-doc/contract/plan/Place-Tpsl-Order)
it have different parameters acording to the plan. But the method only give us one option. The option for the 'one-way position' is missing.
"
holdSide
Two-way position:(long: long position, short: short position)
OR
one-way position: (buy: long position, sell: short position)
"

Hi, I don't think you 2 have the same issue.
@danielhw2 I've updated the method to support both oneway and twoway parameters, so it should work for you with the latest version.
@SRNebu2007 I'll look into it and see if I thave the same problem

Oh sorry for not answering.
Do you need more details from my side?
Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg

From: Jan Korf @.>
Sent: Monday, September 30, 2024 8:40:22 AM
To: JKorf/Bitget.Net @.>
Cc: SRNebu2007 @.>; Mention @.>
Subject: Re: [JKorf/Bitget.Net] Planned orders / SL Trigger (Issue #39)
Hi, I don't think you 2 have the same issue.
@danielhw2https://github.com/danielhw2 I've updated the method to support both oneway and twoway parameters, so it should work for you with the latest version.
@SRNebu2007https://github.com/SRNebu2007 I'll look into it and see if I thave the same problem
—
Reply to this email directly, view it on GitHubhttps://github.com/JKorf/Bitget.Net/issues/39#issuecomment-2382235759, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A64BSLVEMVJM56OHAETHOQ3ZZDW5NAVCNFSM6AAAAABNUR6THOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBSGIZTKNZVHE.
You are receiving this because you were mentioned.Message ID: @.***>

@JKorf many thanks... My problem was solved with the new update!

Hi, sorry for the delay.
I checked all the values and split some enums so it should be clear when to use what values. There was also a value missing for requesting the data you're looking for.
With the latest version you can do this await bitgetRestClient.FuturesApiV2.Trading.GetOpenTriggerOrdersAsync(BitgetProductTypeV2.SimUsdtFutures, TriggerPlanTypeFilter.ProfitLoss); to retrieve active tp/sl orders.


bump cube-hierarchy-query to v3.0.0

v3.0.0 has the same functionality

fixes a specific issue with some SPARQL query engines
performs equally

see perf results at https://rdataflow.github.io/speedtest-cubehierarchy/
@bprusinowski thanks for your review & merge

Hi @Rdataflow, thanks for opening a PR :) It looks like our CI passed, but I'll also take a look at the preview deployment to see if the behavior stays the same (as there's a major version bump) 👀


Fix failing symbol and struct IonHashTest (Zero symbol scenario)

Ticket: https://github.com/amzn/ion-hash-dotnet/issues/8
scenario: {$0:1} is failing on IonHashWriterTest.cs and returning System.InvalidOperationException: In a struct but field name is not set exception.
The test creates a reader that reads the struct and is passed into writer.writeValues(). As the reader moves next to $0 symbol, the CurrentFieldName is called but is not written to the writer because it is null. When the writer tries to write 1, the field name is not set and the exception is thrown.
The fix is to call SetFieldNameSymbol() instead of SetFieldName() so the zero symbol is set to the writer.

Has been merged on AMZ side


x/mobile driver

It's not clear that GXUI will ever be ideal for mobile devices, but it's worth an experiment.

I'm up for it :)
Let me know if there's anything I can do to help.

I would prefer gotk3/gtkmm over gxgui. Layout and treeview are mature in gtkmm and map well over X-Window.  Gotk3 also helps to reduce the time relearning another api that already works on win64, Linux and osx.

I was just going to open an issue about this and more... Now I'm not sure if I should post here or new issue.

+1

I'm working on this now (alongside with adding WebGL backend to x/mobile/gl, as discussed in #49).

Okay, I've got a working version of the driver that uses x/mobile/gl and runs both on desktop, and in browser (via the new WebGL backend).
I ran into two more x/mobile/gl API issues while making this. One is described at https://github.com/golang/go/issues/10218#issuecomment-87332142.
The other has to do with with x/mobile/gl.BufferData:
func BufferData(target Enum, src []byte, usage Enum)

gxui currently tries to support multiple src types like []float32, []uint8, []uint16, []uint32. I'm only aware of f32.Bytes helper to convert []float32 data to []byte at this time.
For now, I did a quick hack to get it to run:
func CreateIndexBuffer(ty PrimitiveType, data16 []uint16) *IndexBuffer {
	// HACK: I know only `USHORT` PrimitiveType is being used atm,
	//       so this was the quickest thing to get it to compile and run. Assumes LittleEndian.
	data := make([]byte, len(data16)*2)
	for i, v := range data16 {
		data[2*i+0] = byte(v >> 0)
		data[2*i+1] = byte(v >> 8)
	}

	...

But we need to think of the right long term solution. There's more than one option, each with tradeoffs (performance vs. generality of code and ability to run on platforms with different endianness, etc.).

I just need to clean up a little and rebase on top of latest master, then I can make a PR for review and potential merging.
But before I can do that, I need to know the following:

Would you prefer a PR that changes/replaces the current drivers/gl from using "github.com/go-gl/gl/v2.1/gl" to one that uses "golang.org/x/mobile/gl" (with only desktop and mobile support, WebGL to be added, and no Windows support yet)? Or would you prefer a PR that adds a 2nd driver that is a copy of the current gl driver with the only difference that it uses "golang.org/x/mobile/gl"?

The advantage of replacing current driver is that it will receive most thorough testing as everyone will be using it (and the samples don't need to be duplicated, one for each driver).
The disadvantage is that I expect "golang.org/x/mobile/gl" to be slightly slower since it's a higher level OpenGL/OpenGL ES/WebGL interface than "github.com/go-gl/gl/v2.1/gl". Additionally, "golang.org/x/mobile/gl" currently does not support Windows (see issue https://github.com/golang/go/issues/9306).
I am guessing it's better to go for 2 separate drivers for now, so that will be my upcoming PR. But feel free to comment on that.


upgrade from llvm 8 to llvm 13

Upgrade DiscoPop from LLVM 8 to LLVM 13

It still has many conflicts including is in DPUtils, initializeLoopInfoWrapperPassPass in DPReduction


stat/all: Change all Source to Src

Fixes original gonum/stat #147

In the commit message you mean?

Yes, that's right. Now I'm confused about why there are two commits. Sorry.

(you should probably squash the 2 commits into 1, though)

I'm also confuled about the two commits. But, squashing.


invalid characters should cause std.base64.decode to return an error

Such as it is, the spec
Relevant passage:
Implementations MUST reject the encoded data if it contains
   characters outside the base alphabet when interpreting base-encoded
   data, unless the specification referring to this document explicitly
   states otherwise.  Such specifications may instead state, as MIME
   does, that characters outside the base encoding alphabet should
   simply be ignored when interpreting data ("be liberal in what you
   accept")

Currently, encode accepts all incoming data.
For reference:
VGltZSBwcmVzZW50IGFuZCB0aW1lIHBhc3QKQXJlIGJvdGggcGVyaGFwcyBw
cmVzZW50IGluIHRpbWUgZnV0dXJlLApBbmQgdGltZSBmdXR1cmUgY29udGFp
bmVkIGluIHRpbWUgcGFzdC4KSWYgYWxsIHRpbWUgaXMgZXRlcm5hbGx5IHBy
ZXNlbnQKQWxsIHRpbWUgaXMgdW5yZWRlZW1hYmxlLgpXaGF0IG1pZ2h0IGhh
dmUgYmVlbiBpcyBhbiBhYnN0cmFjdGlvbgpSZW1haW5pbmcgYSBwZXJwZXR1
YWwgcG9zc2liaWxpdHkKT25seSBpbiBhIHdvcmxkIG9mIHNwZWN1bGF0aW9u
Lgo=

when decoded with zig yields:
Time present and time past
Are both perhaps pÉÍ¹Ð¥¸Ñ¥µÕÑÕÉ°)¹Ñ¥µÕÑÕÉ½¹Ñ¤æVBâFÖR7Bà¤bÆÂFÖR2WFW&æÆÇ0\Ù[[[YH\È[YY[XXKÚ]ZYÚ@ve been is an abstraction
Remaining a perpetu°Á½ÍÍ¥¥±¥Ñä)=¹±ä¥¸Ý½É±½ÍÁÕ±Ñ¥½¼à¤

It makes sense to either validate and reject nonconforming input or ignore it.  Bsd's base64 utility seems to ignore whitespace and return an error on other characters.

The spec actually says to reject whitespace, not ignore it, "unless the specification referring to this document explicitly states otherwise".
But we definitely need an error for invalid characters when decoding data. The existing undefined behavior is a security hazard.
I'm working on this.

It's not undefined behavior, so it's not a security hazard. The encoder is ultimately responsible for the bytes they want to be decoded, and that doesn't change with the status quo implementation.

There are 3 use cases here:

Rejecting invalid base64. Ideally we could even point out the index of the first error.
Decoding a chunk of text which has garbage that is not part of the encoded data, such as from an email or an RSA key that has extra whitespace (or maybe even other bytes)
Optimally decoding known-to-be-valid base64 (this is the only currently supported use case)

These are all valid use cases, and this issue is to support the other 2.

It's worth considering supporting different modes. Many languages seem to do this (I checked ruby and go, but I'm sure others do.) Where strict aborts on any invalid character and "regular" ignores them or at least ignores whitespace. Note that = is invalid when not in a terminal position.
@thejoshwolfe thanks for looking! I was hoping to do some more research and submit a PR for this but I'm starting a new job next week so probably won't have too much time in the near term.

It's not undefined behavior, so it's not a security hazard.

Sorry, it's undefined values, not undefined behavior. I misread the doc comment.

There are 3 use cases here:

You're right.

strict aborts on any invalid character and "regular" ignores them or at least ignores whitespace.

Yeah. I'm planning to support every usecase, but whatever you want to ignore has to be explicit. That fits with the zen of zig.


Fix broken links and refine props format

The following changes have been made to React_Native_Component.md:

Fixed the format of links that're not showing properly
Refined the format of props sections, allowing readers to distinguish prop names and contents easily

thanks for checking!


mawxell_filter with CTF data

Hi All,
When running
raw_sss = maxwell_filter(raw, origin='auto', st_duration=10.0,
                                     coord_frame='head',
                                     destination=raw_dest,
                                     ignore_ref=True, verbose=True)

I got the following error:
ValueError: trans must go meg<->head, provided trans is ctf_head->head
I checked that I have a dev_head_t in raw_dest.info.
I have the same issue before having set a montage or after.
Thank you!
Romain

What is raw.info['dev_head_t']?
Can you share a problematic file somewhere?

@Eric89GXL Please see the link to the data.
https://www.dropbox.com/sh/q73kkw9tllavhgx/AABoiZmkYl3RrQoSGcgp44W2a?dl=0
The raw_dest is the destination location for the head.
The info['dev_head_t'] is:
<Transform  |  MEG device->head> [[  9.99036014e-01   2.97366362e-02   3.22922021e-02   1.94156461e-03]  [ -3.16679031e-02   9.97632802e-01   6.10405616e-02   2.34328065e-04]  [ -3.04006208e-02  -6.20043464e-02   9.97612774e-01   7.58210793e-02]  [  0.00000000e+00   0.00000000e+00   0.00000000e+00   1.00000000e+00]]
To get the error described above:
from mne.io import Raw
from mne.preprocessing import maxwell_filter
raw = Raw('/Users/quentinra/Dropbox/test_maxwellfilter/raw.fif', preload=True)
raw_dest = '/Users/quentinra/Dropbox/test_maxwellfilter/raw_dest.fif'
raw.apply_gradient_compensation(0)
raw_sss = maxwell_filter(raw, origin='auto', st_duration=10.0,                                      coord_frame='head',                                      destination=raw_dest,                                      ignore_ref=True, verbose=True)
Thanks a lot!

Oh you're passing a Raw filename to trans. It just calls read_transform and the first transform it gets is probably a CTF transform. Can you try adding this line?
raw_dest = mne.io.read_raw_fif(raw_dest).info['dev_head_t']

I guess we could make read_trans (which is used under the hood) smarter to not just take the first transform found.

oh, ok! Thanks. It works until this error:
Only 0 head digitization points of the specified kinds ("eeg", "extra",), at least 4 required
Do I need a headshape to use maxwell_filter?

With origin='auto' you do, but you can always set it to something reasonable depending on your subject age like (0., 0., 0.04) for adults

Got it. Thank you!
2016-12-21 11:09 GMT-05:00 Eric Larson<EMAIL_ADDRESS>
With origin='auto' you do, but you can always set it to something
reasonable depending on your subject age like (0., 0., 0.04) for adults
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/3870#issuecomment-268561662,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APiP7gSzIBheYcDLrGa3ro99IjKBDlOQks5rKU8igaJpZM4LScEm
.


Strip cdata from the value when using WebsiteAgent

There are a few RSS feeds which contains <![CDATA[]] to include HTML content in their rss. (some, like github uses escaped html).
With this change you can extract the content from cdata tags. You just need to set strip_cdata: true in extract options.
Example WebsiteAgent:
{
  "name": "feed with cdata",
  "type": "rss",
  "url: "<url>",
  "extract": {
     "embed_code": {
         "css": "feed entry embed",
         "value": ".//text()"
         "strip_cdata": true
      }
  }
}

With the following RSS:
<feed>
  <item>
     <embed>
         <![CDATA[]]
     </embed>
     <embed>
         <![CDATA[]]
     </embed>
  </item>
</feed

The result is:
[
   '',
   ''
]

We've been using this changed WebsiteAgent for couple of months to extract  from CDATA and forward it to tumblr and wordpress.
RSpec and updated documentation attached.

Thanks @oroce!
@knu / @dsander, do you think we should just always do this?

I'm open to any suggestions, I just couldn't a better solution. (Xpath can be very messy if it's about stripping cdata)

@cantino Sounds like a good idea to always do it, but I don't know if there are use case where one would need the CDATA tags.

@knu (or maybe @virtadpt or @irfancharania), can you think of any case where someone would want to keep literal CDATA blocks in the output?

I can't think of a case where I'd want to hang on to the <![CDATA part for the website agent. This is much better than my pulling content out via regex.

@cantino I can't.  I don't know why anybody would use WebsiteAgent to parse an RSS or ATOM feed, because RSSAgent does that already, and does it with a lot less parsing hackery.

@oroce, mind making this just always be the behavior, as will the code example I left above?

@cantino yeah sure

@cantino i submitted my own version, see a796caa
the oneliner you wrote well, we have a little bit more complex case, it should look like this:
value = node.xpath(extraction_details['value'] || '.')
value = value.first.text if value.is_a?(Nokogiri::XML::NodeSet) && value.first.is_a?(Nokogiri::XML::Node) && value.first.cdata?
value = value.to_i if value.is_a?(Float) && value.to_i == value
value.to_s

We can go either one, I'm neutral on this, but imho the latter one (the oneliner) is really hard to read and I didn't find an easier way unfortunately, because:

value.first throws error when value is Integer or Float (nomethoderror)
value.first is false positive for String because it does not have cdata? method
there's a test case where value.first returns a Nokogiri::XML::NodeSet which does not have cdata? method
everytime we are dealing with cdata, value will be NodeSet and value.first has to be Node

If you have more test cases for CDATA I would love to add them.

I'm fine keeping your version, I agree that it's more readable.

Thanks @oroce!

Oh, I think I completely missed this PR.  You should probably use the XPath expression string(.) to extract what's in a CDATA section instead of .//text().  I already fixed the documentation in WebsiteAgent.

It seems to me that the special treatment on a node set whose first node is CDATA is inappropriate because it would truncate all the following nodes when you might want to extract all nodes contatenated as raw HTML/XML rather than just the content of the CDATA.
If XPath expressions like string(.) solves the original problem, can we consider reverting this change?

I don't think I understand the subtleties of this enough, but it sounds like this might not be a great solution to have in place.  @oroce?

totally makes sense what @knu says.
I used text() because I haven't that edgecase, when the cdata isn't the only node but there are siblings.
@knu, can you make that change and update the test with an example you mentioned?

@oroce Thank you for your confirmation!  Actually, the specs were altered to use string(.) in #1744 by me not knowing this change, so they already no longer rely on it, that is, the block starting with if value.is_a?(Nokogiri::XML::NodeSet).
I think we can safely revert this after you update your XPath expressions.  Could you confirm that expressions like string(.) work for you?

@knu since the tests are still passing which were written by me and partly you. I see no reason why we couldnt move to string(.).

OK, done!


TypeError: jest.restoreAllMocks is not a function

Using the latest version of jest (21.2.1), calls to
jest.restoreAllMocks()
Is failing with

TypeError: jest.restoreAllMocks is not a function

This maybe inside a test, or inside the afterEach.
However, it seems to work inside an afterAll?
The problem seems to have been mentioned and supposedly resolved here:
https://github.com/facebook/jest/issues/4436
However, I created a new app using create-react-app, added a jest.restoreAllMock in the test, and it fails with the same error.
Is anyone else hitting this problem?

+1

I'm unable to reproduce this, can you give a snippet which reproduces?

Thank you for looking into this @SimenB
I updated app.test.ts to the following:
`afterEach(() => {
jest.restoreAllMocks();
});
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(, div);
});
`

I still cannot reproduce this... Are you sure you are on latest version of jest?
This is my repro case: https://gist.github.com/anonymous/7e1f26019551ec8acdb287c4cf89ce27

Closing until we can reproduce this. Happy to reopen if we can, of course 🙂

thanks @SimenB.
Looks like you are right, at least for the create-react-app example.
The actual project where this is happening does seem to have the correct version though, so I will need to investigate this further.
thanks for your help.


FRITZ!DECT 200 does report null value for temperature

Describe the bug
I added my FRITZ!DECT 200 plug to the Homebridge config. I can control it, but it does not report the temperature value. In Homebridge and finally Homekit I can see the temperature stated as 0°C.
In the FRITZ!App, the temperature is reported correctly.
Expected behavior
The measured temperature value is pulled by the module and reported to Homebridge.
Screenshots

Debug logs
"3D Drucker" is the name of my plug.
[28/01/2021, 20:12:38] [FritzPlatform] 3D Drucker: Polling state (smarthome-switch)...
[28/01/2021, 20:12:38] [FritzPlatform] 3D Drucker: {"name":"3D Drucker","id":"16","ain":"xxxxxxx","online":1,"bitmask":"35456","busy":0,"battery":false,"alert":false,"temperature":false,"humidity":false,"powermeter":{"voltage":235.626,"power":23.96,"energy":535.724},"switch":{"state":1},"button":false,"thermostat":false,"light":false}
[28/01/2021, 20:12:38] [FritzPlatform] 3D Drucker Temperature: Polling state (smarthome-temperature)...
[28/01/2021, 20:12:38] [FritzPlatform] 3D Drucker Temperature: {"name":"3D Drucker","id":"16","ain":"xxxxxxxx","online":1,"bitmask":"35456","busy":0,"battery":false,"alert":false,"temperature":false,"humidity":false,"powermeter":{"voltage":235.626,"power":23.96,"energy":535.724},"switch":{"state":1},"button":false,"thermostat":false,"light":false}
Config file
{
"name": "FritzPlatform",
"debug": true,
"devices": [
{
"name": "FRITZ!Box 7490",
"host": "fritz.box",
"username": "xxxxxxx",
"password": "xxxxxxx",
"ssl": true,
"tr064": true,
"igd": false,
"master": true,
"connection": "repeater"
}
],
"presence": [
{
"ping": false
}
],
"smarthome": [
{
"name": "3D Drucker",
"ain": "08761 0264470",
"group": false,
"energy": true,
"temperature": true,
"accType": "switch"
},
],
"callmonitor": {
"active": false,
"port": 1012
},
"extras": {
"alarm": {
"active": false
},
"wakeup": {
"active": false
},
"ringlock": {
"active": false
},
"phoneBook": {
"active": false
}
},
"options": {
"polling": {
"timer": 10
}
},
"telegram": {
"active": false
},
"platform": "FritzPlatform"
}
]
}

Sry for the late response, i ve looked into this.
It seems that the API doesnt give any temp values back.
can u try with a different AIN pls. Something like
"087610264470-1" or without empty space like "087610264470"

Hello, same issues with Fritz!Dect 210. AIN modifications were not effective.

@Norbert-Witowski @heikobischoff
can u enable debug pls and post your log
There must be a line starting with „ SmartHome Devices: ..“ in the log

@SeydX Unfortunately I don't have the device anymore.
@Norbert-Witowski Can you help?

Hello, as I do not have the FRITZ!DECT 200, I cannot help. My FRITZ!DECT 210 works reliably. Regards, Norbert!

Am 05.06.2021 um 07:12 schrieb seydx @.***>:
Closed #153 https://github.com/SeydX/homebridge-fritz-platform/issues/153.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/SeydX/homebridge-fritz-platform/issues/153#event-4846216112, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATAQUEHLAQKLPDV76DCTFX3TRGW3PANCNFSM4WXTFPOQ.


How to write Commits

Writing clear, concise, and meaningful commit messages is crucial for maintaining an organized and understandable version history in any project. Here’s a professional guideline for crafting great commit messages:
1. Follow a Consistent Structure
Stick to a standard format:

Subject line (50 characters max): A short summary of the change, written in the imperative mood (as if you're giving a command).

Example: “Fix login bug on mobile devices.”

Blank line: Leave a blank line after the subject to separate it from the body.
Body (if necessary, 72 characters per line max): Detailed explanation of what and why of the change (not the how). This helps future maintainers understand the context.

Example: “This resolves an issue where users were unable to log in on small screen devices due to incorrect CSS media queries.”

2. Write in the Imperative Mood
The subject line should describe what the commit does, not what it did. Think of it as completing the sentence: “This commit will...”

Good: “Add caching mechanism for database queries.”
Bad: “Added caching mechanism for database queries.”

3. Keep Commit Messages Focused
Each commit should address one specific issue or change. This helps with clarity and makes it easier to review history and find bugs.

Good: “Refactor user profile component.”
Bad: “Refactor user profile and update settings page styles.”

4. Explain Why, Not Just What
Especially in the body of the message, explain why the change was made, not just what was done. This is helpful for future developers or even your future self.

Good: "Remove deprecated function calls to improve performance and prevent warnings in upcoming versions of the framework."
Bad: "Removed deprecated function calls."

5. Use Keywords for Automation (Optional)
You can include keywords like "Fixes", "Closes", or "Resolves" followed by an issue number for automated issue tracking.

Example: “Fixes #134 – Update outdated dependencies.”

6. Be Consistent
Whether working alone or with a team, consistency in commit messages helps create a clean, navigable history. Set clear standards and follow them.
Example of a Great Commit Message:
Fix broken image rendering on product page

The product images were failing to load due to a wrong path in the asset pipeline.
Updated the image helper function to point to the correct directory.

Fixes #345

By following these guidelines, your commit messages will be more professional, understandable, and helpful for both current and future development.

That style is inspired by conventional commits, which use prefixes to categorize changes clearly. It can be a very effective way to make the commit history more organized and readable. Here's a quick breakdown of how these prefixes are typically used:
Common Commit Prefixes:

FEAT: Introduces a new feature.

Example: FEAT: Add user authentication

FIX: Fixes a bug.

Example: FIX: Resolve issue with login form validation

ADD: Adds a new component or functionality (similar to FEAT but often used for smaller additions).

Example: ADD: Add social media buttons to footer

CHORE: For routine tasks like refactoring, documentation, or build-related tasks that don’t impact functionality.

Example: CHORE: Update project dependencies

DOCS: Documentation changes.

Example: DOCS: Update README with installation steps

STYLE: Code style changes that don’t affect logic, like formatting.

Example: STYLE: Reformat code according to new linter rules

REFACTOR: Refactoring code without changing its external behavior.

Example: REFACTOR: Extract function for cleaner code

TEST: Adding or modifying tests.

Example: TEST: Add unit tests for user service

PERF: Performance improvements.

Example: PERF: Optimize database query execution time

Commit Message Format:
PREFIX: Short description (50 characters max)

Optional longer description explaining more details about the change.

This method is great for categorizing and filtering commits when reviewing the codebase or using tools like changelogs or CI/CD pipelines.


Encrypted Data

It is not easy/possible to use TensorFlow with encrypted data, such as via Homomorphic Encryption or Multi-Party Computation.  It would be useful if future versions of TensorFlow could support HE/MPC or provide the ability for third-party HE/MPC support.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

©martinwicke What do you think about "low latency"
approaches like Gazelle?
I think that we can leave an issue open to track privacy preserving efforts. Probably we could reprhase this orginal issue.

If I read those numbers correctly, that's still roughly a 1000x slowdown over plain computation, not considering accelerators. It's hard to tell because the paper does not compare to non-HE runtimes.
I'm sure this will get better. If someone were to propose a set of ops that are useful in the context of  HE, I would want those, but in a separate repo (I want everything in a separate repo for maintainability, see lattice, agents, ...)
I'm ok with keeping this open in case people want to organize such an effort.
@ewilderj FYI.

Just to reference some interesting effort: https://github.com/OpenMined/PySyft

For who is interested in this topic related to TF check this new post https://mortendahl.github.io/2018/03/01/secure-computation-as-dataflow-programs/

/cc @mortendahl

just an update to anyone interested: work on bringing secure computation to tensorflow has been progressing nicely recently as tf-encrypted

https://ai.intel.com/he-transformer-for-ngraph-enabling-deep-learning-on-encrypted-data/


Feature request: Enable image download on WiFi

Expected behavior
Provide image download 3 options
Always, only WiFi,
Environment
K-9 Mail version:5.010
Android version:
Account type (IMAP, POP3, WebDAV/Exchange):

Do you want that as additional value for the "Always show images" setting? Or are you asking for a setting to automatically download image attachments when on WiFi?

My suggestion is for an extra value in "Always show images"  but a new option "Auto download only via wifi" could work as well.

I'd like to work on it :) My plan is to add a separate "only via Wi-Fi" checkbox in "Always show images" and disable it when "no" in "Always show images" is selected.

I just found this issue before suggesting the same.
Actually this could be extended a bit more:

additional option to automatically download images while on wifi
additional options to select message size download limit while on wifi.

Basically we are not that concerned about message size nor downloading additional images while on wifi while using mobile data we are usually more interested in header and some lead into message.

"on wifi" is generally understood as "unmetered" by users. android has logic for detecting metered wifi connections (typically hotspots from other phones), that can be used internally.

This is an old, old feature request, but I'd like to toss my support in. I may also suggest an additional setting:

Download from Trusted Senders

This is separate from your contacts-- purely an internal list unique to K9 that whitelists specified senders and automatically downloads from them. See Aquamail's functional workflow:

Recieve mail, no images downloaded
Tap button/bar to download images
Button/bar becomes "remember for this sender"
Tap that button
In the future, images will download from that sender automatically

This would probably mean that "downloaded images on wi-fi" would become its own separate setting checkbox, that is then refined with the options:

Always download all images
Download from contacts
Download from trusted senders
Never download

The default behavior for mobile image downloading could also be split into its own checkbox, with the same options as above.
I realize I'm rambling. Does that make sense?

K-9 Mail is a wonderful app, and that's why I was a bit surprised that it still doesn't offer the option to download images only when connected to Wi-Fi.
Since K-9 Mail is a mobile app, I believe it would be beneficial to have an option to automatically download images only when connected to Wi-Fi.
This feature would help maintain convenience when connected to Wi-Fi while also conserving data usage on metered networks and being useful in cases of very slow network connections.


Postgres/Oracle:Native support for geometry columns

Is your feature request related to a problem? Please describe.
The platform is nice and functionnal for data without geometry but for some parts of my data I need postgis/oracle geometry support.
For now the geometry columns are casted as string which result in a loss of the geometry when the table is exported to another database.
Describe the solution you'd like
Same as today but with the geometry columns recognized as geometry not strings
Describe alternatives you've considered
Pretty much no integration platform supports geometry today, so no real alternatives.

Hi @cazitouni , do you want to use the geometry column in data integration pipeline?

Hello @wangxiaoyou1993,
Thanks for the answer.
Yes, I would like to move data from Oracle DB into Postgis, or Postgis into Postgis. But theses datas are geographical and at time the platform doesn't seems to support the geometry column type.
It result in an error when I load oracle data and if I move data from postgis to another postgis the geometry is re-casted as string.
Other data integration platform (airbyte etc..) seems to have the same problem as well.

Hi @cazitouni !
I did some research and found almost no real alternatives as well.
i could try to add some basic geometry types to a PostGIS integration, but it would really help to understand how the data is being written in your PostgreSQL ( as a string )
Could you share that?

Hello @Luishfs,
It's writtent the same as the geometry column for example :<PHONE_NUMBER>6C0F0000E6263723AF503F417A21CCDEBFC15B41
except it's recasted as a string column because not recognized as geometry.
Maybe one solution could be to use WKT ?
Thanks you.


[INLONG-6668][Sort] Reusing existing constants

Prepare a Pull Request

Fixes #6668

Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve?
Using already existing constants and removing hard codings
Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)  not documented
If a feature is not applicable for documentation, explain why? This change needs no documentation as it's using already created constants at hard-coded strings
If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

@bibhu107 You could run mvn spotless:apply to fix the check style error.

@bibhu107 You could run mvn spotless:apply to fix the check style error.

With second commit ran mvn spotless:apply, it built successfully.


Collaborate on Docker Images

I've written and tested pihole-cloudsync-docker.  It's really as simple as packaging this script up into layers on top of the regular pihole docker image, but it also does some clever things not mentioned here by hooking into gravity.sh and list.sh to push immediately to git when config changes.
I'm currently only supporting v4 (latest) but I have builds on docker hub for all architectures supported by pihole (Model 2B - Model 4b)
I'd like to continue testing this for a while on my own, but also talk about how we could either bring my work into this repository or add some docs to link out to my repo.
I think an auto-syncing docker image would provide a lot of value.
Cheers!

Note that I'll be unable to support non-standard configurations until #10 is merged.

Pihole is kind of a mess, I've moved on to AdGuard Home hoping I can pester them into adding first-class support for webhooks.


YuniKorn not able to schedule resources while kube default is able to

When Scale up of an nginx deployment is done to an extent when available resources fall short (7 in my case), some pods remain in pending state (1 in my case, 6 pods are running). If then, the deployment is scaled down to 4 pods, deployment shows 4/4 running as expected. But now I cannot scale it back to 6 pods (while previously 6/7 pods were running). If I do a fresh deployment in another queue, still same issue persists. However, if I remove "schedulerName: yunikorn" from the nginx deployment and re deploy nginx, I get upto 2/2 pods running, i.e. 6 pods in all across the 2 deployments.
Please find my environment and configurations below to reproduce the problem:

Thanks @abhranilc  for the detail instructions. It really helps.
I was able to reproduce the same issue on my local environment. So what happens was:
internally, yunikorn-shim re-uses some code from default scheduler specifically for predicates, as a plugin. this is because we need to support all predicates currently available in K8s. when we place a pod to a node, we first assume the pod will be running on that node (cached data), that way we can evaluate some predicate rules during the allocation process.
So when we do allocations, it will be some pods be "assumed" in the cache, however, current code forgets to remove them when releasing allocations. This causes the issue, even allocations are correct in the scheduler, the cached data was out-of-sync. so when you want to scale up again, it complains the predicate rule is failing.
I will provide a fix soon. Thanks for catching up this issue.

this should be fixed now, @abhranilc pls try out when you get some time.


FileType:attributes:associated_instruments: Follow the RDA standard for persistent instrument ID

For the instrument section it might be good to have a look at https://zenodo.org/record/6396467#.Y6Q0toSZM-V there they use manufacturar, model, and instrument type. Just if the registry later should be integrated with other registries. For the software there might be something similar.
Originally posted by @hgoerzig in https://github.com/marda-alliance/metadata_extractors_schema/issues/2#issuecomment-1362688878

Hi @hgoerzig, between @ml-evs and myself, we've had a look at this proposed schema. In principle, it's a good idea, but the way I understand the implementation currently, it's meant to identify "instances" of instruments located in people's labs (entries Owner and LandingPage are mandatory). What we are after is not specifying the instrument "instance" but the whole "class", (Identifier, Name, and especially Manufacturer, and Model) against which people's compliant schemas could be matched. Let us know what you think!
@davidelbert: Do you have contact with anyone from that RDA effort?

I don't think we'll be implementing this one any time soon.


feat(FieldTheory/IntermediateField): add Subfield.extendScalars

... which can be viewed as an inverse to IntermediateField.toSubfield.
This is similar to IntermediateField.extendScalars.

bors r+


Does not work on OSX

Installed from source following instructions
hastec vec.hs
vec.hs:3:18:
    Could not find module `Prelude'
    Use -v to see a list of the files searched for.

Unable to reproduce this anymore on master, so I'm assuming it is fixed. If not, please reopen with new repro instructions.


Not showing complete git-info information

[X] I've checked the existing issues and I'm not duplicating a report.
[X] I'm using the latest version of zimfw.
[X] I've checked the Changelog and I'm not being affected by documented changes.
[X] I've checked the 📢 Announcements and I'm not being affected by announced changes.
[X] I was able to reproduce the issue with a clean installation of Zim.
[X] I've pasted the output of zimfw info below.

Describe the bug
Ahead and behind indicators do not show in asciiship theme.
Steps to reproduce
The fist 4 steps restart the shell with a clean installation of Zim in a temporary directory.
Use exec zsh when restarting the terminal or restarting the shell is needed.

cd ${$(mktemp -d):A}
ZDOTDIR=${PWD} HOME=${PWD} ZIM_HOME=${PWD}/.zim exec zsh
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
exec zsh
Other steps to reproduce the behavior

Current behavior
The git-info plugins is only showing symbols for changes made (dirty), but does not show anything wrt to the remote (ahead or behind)

Expected behavior
It should show the symbols as expected from the pages example.

zimfw info
zimfw version:        1.11.3 (built at 2023-02-26 00:43:41 UTC, previous commit is 6a24459)
OSTYPE:               darwin22.0
TERM:                 xterm-256color
TERM_PROGRAM:         tmux
TERM_PROGRAM_VERSION: 3.3a
ZIM_HOME:             /Users/aanzolaavila/.cache/zim
ZSH_VERSION:          5.9

Additional context
I've setup the   zstyle ':zim:git-info' verbose yes option, but nothing changes, I've also set up every individual option with a format value, but does not take effect on the ahead or behind indicators.

If it helps, this is where I set the configuration in my files: https://github.com/aanzolaavila/.zsh/blob/main/zim.zsh#L4
And this is my zimfw config file: https://github.com/aanzolaavila/dotfiles/blob/main/home/dot_zimrc

Thanks for reporting this. It was a regression I introduced in the git-info module. It's fixed now. Please run zimfw update.


[libiconv] i met some problems when use "vcpkg install libiconv:x64-windows"

issue_body.md
Searched a lot of issues about libiconov, but still did not solve.
I felt a little anxious, who can help me

I can't reproduce this issue with following test environments:

VS2022 17.2.4 + V143 + latest vcpkg 2022-06-17-9268e366206712e38102b28dbd1617697a99ff2e
VS2017 15.9.49 + V141 + latest vcpkg 2022-06-17-9268e366206712e38102b28dbd1617697a99ff2e

Also, I see in your log that the code page of your running window is 65001, while mine is 437. I think you can try to modify your active code page as 437 and then install libiconv again.

I can't reproduce this issue with following test environments:

VS2022 17.2.4 + V143 + latest vcpkg 2022-06-17-9268e366206712e38102b28dbd1617697a99ff2e
VS2017 15.9.49 + V141 + latest vcpkg 2022-06-17-9268e366206712e38102b28dbd1617697a99ff2e

Also, I see in your log that the code page of your running window is 65001, while mine is 437. I think you can try to modify your active code page as 437 and then install libiconv again.

thanks for your attention,i tried changing the page code to 437, but still had the same problem.

What's the result when you do below steps:

git pull
.\bootstrap-vcpkg.bat
.\vcpkg.exe install libiconv:x64-windows --binarysource=clear

What's the result when you do below steps:

git pull
.\bootstrap-vcpkg.bat
.\vcpkg.exe install libiconv:x64-windows --binarysource=clear

thanks for your attention,i tried, but still had the same results

Given the occurences of Active code page: 65001: check
https://stackoverflow.com/questions/48183570/how-to-fix-windows-batch-file-for-command-returing-active-code-page-65001
The build could be affected by output from auto-run commands.
CC @dad98253 for #27047.

https://english-for-chinese.blogspot.com/2008/06/and-meet-problem.html

Given the occurences of Active code page: 65001: check https://stackoverflow.com/questions/48183570/how-to-fix-windows-batch-file-for-command-returing-active-code-page-65001 The build could be affected by output from auto-run commands.

@BaiwanHuang Please refer to this solution, if this issue still exist, please reopen.


update table readers and writers to ngff table proposal

hi,
with this issue, I'm referring to the discussion here: https://forum.image.sc/t/roi-annotations-and-tracking-information-in-ome-zarr/65975/4
It should be straightforward to change the current code in the notebook to readers and writers with the correct .zattr, you can see and example for

writer
reader

the logic is that we store the metadata necessary for the table specification: region, region_key and instance_key in the adata.uns slot, and also redundantly in the .zattrs. However, at read time, we only take it from uns (but it should be straightforward to also read it from the .zattr metadata).
let me know if you encounter any issue or for any clarification

Thanks @giovp we shall try to check it out in the next few days and see how that works.


Inconsistent terminology - "Container" vs. "Container ID" vs "Id"

In the Console, the terms "Container" vs. "Container ID" vs "Id" are all used to refer to the Container ID of the Client.  We should choose on term and use it consistently.

My vote is for "Container ID" if space will allow

+1 for the Container ID.
btw, for the Container ID,  It should be the Connection's container ID, so I'd like to know do we have any other Container ID in this page, such Router Container ID?

vote for 'Container ID'.
What do you think if we switch Container Id and Name columns. Name is the identification of an object (a row). Container ID is more like a class, and could be the same in different rows. Also, Name is the first column of tables in Connection tab. Users could match an object more easily when switching between the tabs if the first columns are same. So place Name as the first column makes more sense.

Note that container id is an AMQP concept. In the standard space there isn't much really any support in the console except for AMQP. In the brokered space we don't actually get the container id as such. (One other possibility might be client id, but that is not entirely accurate either).

What do you think if we switch Container Id and Name columns. Name is the identification of an object (a row). Container ID is more like a class, and could be the same in different rows. Also, Name is the first column of tables in Connection tab. Users could match an object more easily when switching between the tabs if the first columns are same. So place Name as the first column makes more sense.

Note that the name of the sender or receiver need not be unique here.  Indeed, it would be legal for many different connections to have a sender or receiver called '1' attached to the same queue. This is under the AMQP client's control.  I think what we have now is already good enough.


Spies not being removed after tests in 2.3.0

As soon as we upgraded to mocha 2.3.0 our tests started failing with the error:
TypeError: Attempted to wrap {some function name} which is already wrapped. We're using sinon.js to create spies. Seems like there's some kind of incompatibility with sinon and mocha 2.3.0?

Please paste your test code

actually, this is stale.


[New Feature]: Landing page shouldn't be blank

Per @LucaCinquini : I suggest that the Home page is not completely blank - either expose the same links as in the menu, or at least some verbiage to provide context and don't give the first impression it's not working.
I agree, it should have some information about the system or the venue itself.

We should also clean up the navigation menu so it doesn’t have stuff that you can’t navigate to, at least in the SIPS Test environment

Maybe landing page is the Starting Line thing. could be common service page.

Punting to 24.2

perhaps near-term we could make the health-status board a “blank state” page. With links to each service/app along with the health status

estimate based on making the health-page the default "Home" page if you log in with no other target UI

new card-based entry point


Allow variable number of arguments on command-line

Right now Option are optional and Argument are mandatory, but there's no way to indicate that you want a list of arguments. Add another constructor to Options, perhaps called Remaining which, when evaluated by a new function lookupArguments (plural) returns a list of [String].
        [ Argument "config" [quote|
            The mandatory configuration file
          |]
        , Remaining "remainder"  [quote|
            The list of files you wish to process
          |]
        ])

lookupArguments :: LongName -> Parameters -> Maybe [String]

maybe?

could hard-code the parameter name
what's the return type there? What purpose is Nothing serving? That there was no remainder? Or (as with the others) no key by this name. This whole API needs a rethink.

I did this up as:

Remaining is special; it indicates that you are expecting a variable number of additional, non-mandatory arguments. This is used for programs which take a list of files to process, for example. It'll show up in the help with the description you supply alongside.

        [ Option "indefinite" Nothing Empty "Use the indefinite article?"
        , Argument "this" "This thing"
        , Argument "that" "The other thing"
        , Remaining "The files you wish to delete permanently."
        ]

I haven't created a specialized lookup API yet, right now it's just an additional field in Parameters.


[Help wanted] Does Nock not work with intranet calls

Hi,
I am fairly new to Nock and am trying to write async action tests. I am using Nock to mock httpRequest sent to an intranet site and I keep getting this error. Could someone please help me understand how to achieve this. Thanks..
FetchError: request to {MaskedForPrivacy} failed, reason: Nock: No match for request {
"method": "GET",
"url": "{MaskedForPrivacy}",
"headers": {
"accept-encoding": [
"gzip,deflate"
],
"user-agent": [
"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
],
"connection": [
"close"
],
"accept": [
"/"
]
}
}
  at OverriddenClientRequest.<anonymous> (node_modules\node-fetch\index.js:133:11)
  at emitOne (events.js:96:13)
  at OverriddenClientRequest.emit (events.js:188:7)
  at node_modules\nock\lib\request_overrider.js:207:11
  at _combinedTickCallback (internal\process\next_tick.js:67:7)
  at process._tickCallback (internal\process\next_tick.js:98:9)

@sacredMonster Nock should work as long as you're using HTTP. It looks like nock hasn't been setup correctly for your host. Could you share your code?

Thank you for your help.
Here is the code. I am using import fetch from 'isomorphic-fetch' to call my API which I am masking for privacy.
// Action
import * as actionTypes from '../../shared/actionTypes';
import { fetchData} from '../../dal/Service';
function requestTeamData() {
return {
type: actionTypes.REQUEST_Team_DATA,
};
}
function receiveTeamData(json) {
return {
type: actionTypes.RECEIVE_Team_DATA,
totalCount: json.count,
rawInformation: json.value,
receivedAt: Date.now(),
};
}
const fetchTeamsAction = function fetchTeamsAction(teamName) {
return function start(dispatch) {
dispatch(requestTeamData());
return fetchTeam(teamName) // makes a fetch("api") call
.then(response => response.json())
.then(json => dispatch(receiveTeamData(json)));
};
};
export default fetchTeamsAction;
// Test
import configureMockStore from 'redux-mock-store';
import nock from 'nock';
import thunk from 'redux-thunk';
import fetchTeamsAction from './actions';
import * as types from '../../shared/actionTypes';
const middlewares = [thunk];
const mockStore = configureMockStore(middlewares);
describe('fetch team data action test', () => {
it('creates receivedataData and requestdataData actions when fetching data has been done', () => {
nock('MaskedForPrivacy')
.get('/')
.reply(200, { body: { count: 75, value: [ { id: 229345903, name: 'Jon Doe',Organization: 'Weird World' }],
}});
const expectedActions = [
  { type: types.REQUEST_BUG_DATA },
  { type: types.RECEIVE_BUG_DATA,
    body : { count: 75, value: [ {  id: 229345903, name: 'Jon Doe', Organization: 'Weird World' }], }
  },
];

const store = mockStore();

return store.dispatch(fetchTeamsAction('TeamAlpha'))
  .then(() => {
    expect(store.getActions()).toEqual(expectedActions);
  });

});
});

@sacredMonster What endpoint does fetchTeam try to hit? Your nock is only setup for /.
Also nock appears to have issues with fetch ATM: https://github.com/node-nock/nock/issues/409

I want to specify an exact url as the first parameter in nock. I was under the impression that in get if I specify what I have written it will just consider the entire match

Your scope needs to specify the full path. Closing so we can reserve issues for bugs/feature requests.


Bug building node modules using makeNodeJsModules

While creating an environment using makeNodeJsModules I get the following error:
failed to create symbolic link '/nix/store/g7dl7khfwcr0bxhmk9vxajh3fch7ads8-make-node-js-modules-for-docs-runtime/.bin/@babel/parser': No such file or directory.

This error is caused because the name on the @babel/parser dependency is written as a path @babel/parser but the path to the binary is written as a string, not an object like it's usually done. The correct fix for this is to keep the symbolic links as they are right now, but patch the name by plaining it, instead of creating a path like @babel/parser create a plain file as @babel-parser.


Improve chips search filter

This PR improves the chips search filter.
Companion PR: https://github.com/espruino/BangleApps/pull/1739

I never used the git submodules before now, I hope I haven't screwed up!!

Great - thanks!


[BUG] <If you use nacos data synchronization, the registration fails and the registration is still successful>

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
If you use nacos data synchronization, the registration fails and the registration is still successful
Expected Behavior
I want to modify other registry logs
Make it as elegant to use as
HttpClientRegisterRepository
Steps To Reproduce
look #issue 2710
Environment
ShenYu version(s):master

Debug logs
No response
Anything else?
No response

please assign it to me

Duplicate of #2710


Moving construction of IR into runtime parser project

Pull Request Description
Moving and shuffling around to isolate construction of IR from the rest of the runtime project. All the classes can be found in org.enso.compiler.core and subpackages.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] All code follows the
Scala,
Java,
All code has been tested:

[x] Unit tests have been written where possible and continue to pass

Note that you may need to run gatherLicenses - while the dependencies did not change, the internal structure of dependencies has changed - so the hash that is used to verify the dependency structure may need to be updated (but no other action should be needed if dependencies are not moved around).


Cannot install under node:8

I am having problems installing under Node 8:
Dockerfile
FROM node:8
RUN \
  npm install -g @sematext/logagent

The result is:
$ docker build .
Sending build context to Docker daemon  2.048kB
Step 1/2 : FROM node:8
 ---> b87c2ad8344d
Step 2/2 : RUN   npm install -g @sematext/logagent
 ---> Running in c8ae3510c38f
npm WARN deprecated<EMAIL_ADDRESS>The sprintf package is deprecated in favor of sprintf-js.
/usr/local/bin/logagent-setup -><EMAIL_ADDRESS>/usr/local/bin/logagent -><EMAIL_ADDRESS>/usr/local/bin/logagent-windows -><EMAIL_ADDRESS>/usr/local/bin/logagent-uninstall -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /usr/local/lib/node_modules/@sematext/logagent/node_modules/microtime
> prebuild-install || node-gyp rebuild

prebuild-install info begin Prebuild-install version 2.5.0
prebuild-install info looking for local prebuild @ prebuilds/microtime-v2.1.7-node-v57-linux-x64.tar.gz
prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.9.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir<EMAIL_ADDRESS>gyp WARN EACCES user "nobody" does not have permission to access the dev dir<EMAIL_ADDRESS>gyp WARN EACCES attempting to reinstall using temporary dev dir<EMAIL_ADDRESS>gyp WARN EACCES user "nobody" does not have permission to access the dev dir<EMAIL_ADDRESS>
The workaround is to use:
npm i -g --unsafe-perm @sematext/logagent

It looks like you are running npm as the root user. This is not supported by prebuild-install, and you need to add the --unsafe-perm flag. Please open the issue with https://github.com/prebuild/prebuild-install .

Actually see this long ticket that is discussing the same issue: https://github.com/nodejs/node-gyp/issues/454#issuecomment-315691803

@wadey thank you for the pointers. Logagent runs sometimes as service, the above example is from LA Docker image, which worked fine before we got this issue  by a dependency to graygelf, which uses microtime.
Anyhow an endless loop during installation is a serious problem ..., we might remove the dependency to  graygelf until we have a better solution. CC: @fbalicchia

Removed the optional graygelf dependency, released Logagent 2.0.105 and updated documentation for GELF/graylog users to install graygelf separately:
https://sematext.com/docs/logagent/input-plugin-gelf/
https://sematext.com/docs/logagent/output-plugin-gelf/


Terminal Key-Map Sets for/from iTerm & other Terminals

Description of the new feature/enhancement

This feature request was requested by an early-adopter of Terminal at a review meeting.

It'd be great if Terminal could implement a set of key-mappings that mimic most/many of iTerm's most common key-mappings.
This would help users who're already familiar with iTerm
We should also take a look at key mappings for other common Terminals and see if we can introduce "key-mapping sets" or preconfigured "key-maps" allowing the user to select and/or switch between key-maps on the fly, perhaps per-tab since some shells/apps/tools may be better suited to one set of key-maps than others.
If other Terminals store their key-mappings in settings/config, we could even permit importing of keymaps & converting them into Terminal key-mappings.
Proposed technical implementation details (optional)

Somebody has to spec this. @bitcrazed, want to do the honors?

Ooh this is a subset of #2237

Documenting publicly for posterity:
I think our unofficial plan has been to add support for "keymaps". This would follow the work for #1571 / #6899. Then, keymaps would contain objects which bind keys to various actions. The user could then just specify keymap: "foo" to replace all their keybindings with the ones in foo, no layering involved. Adding keys to actions directly would just update the "default" keymap, which is used when no keymap is specified.
Profiles could also just set a keymap relatively easy then. That's still weird - different profiles having different keys for an app-level command like newTab, but hey, if that's what people want, that's what they get.


Getting error while registering new customer account using orange theme.

"Cannot make non static method Igniter\Flame\ActivityLog\Contracts\ActivityInterface::getType() static in class Igniter\User\ActivityTypes\CustomerRegistered" on line 50 of /Applications/MAMP/htdocs/food/extensions/igniter/user/activitytypes/CustomerRegistered.php#0 {main}

Please use the ISSUE TEMPLATE when creating a new issue.


Load PNGs from MapTiler for comparison

This task is done when we have the following:

[x] Implemented rendering of tiles using PNGs rather than vector tile
[x] Add functionality to swap between vector and PNG rendering

[x] A button to switch between vector graphics and PNGs
[x] Add bools to swap between the two modes in the MapWidget class

[x] Find PNG URL template
[x] Load PNGs to memory
[ ] Cache PNGs to disk.

[ ] Cache PNG tilesheet to disk, similar to the stylesheet.
[ ] Fix bug where tilesheet for vectortiles is not cached, and therefore doesn't work without internet.
[ ] Incorporate function that returns PNG tilesheet link based on MapType
[ ] Rename Bach::getPbfLinkFromTileSheet() to "getUrlTemplateFromTileSheet"
[ ] Add more error handling during tile loading process
[ ] Fix unit tests for TileLoader


[ENG-4501] lazy metadata gatherers

Purpose
avoid breakingly-slow page loads

Changes
make metadata gathering lazy, so database queries are postponed until they are needed (or skipped)

QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify
Verify

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation

Side Effects

Ticket
ENG-4501

Cherry-picked in as 46a1f5550fbb3d86fa88d58f38a8c4afed056158, consider this merged :octocat:


Integrate Unleash

recently i stubled upon unleash which also  got added to gitlab. the current referenced php client implementation is not that well maintained and also not on packagist.
it would be sooooo awesome to have it integrated in flagception. there are some libs for laravel and some old generic ones. as flagception has also a symfony bundle, it could be quite pushing for this lib to support unleash.
what do you think?

In general, I think the idea of connecting Flagception with such services is pretty cool. Not directly in the core, but as extensions like https://packagist.org/packages/flagception/database-activator or https://packagist.org/packages/flagception/contentful-activator.
However, I don't currently have time to implement it. But you are free to write an adapter and offer it via Packagist ;-)

In general, I think the idea of connecting Flagception with such services is pretty cool. Not directly in the core, but as extensions like https://packagist.org/packages/flagception/database-activator or https://packagist.org/packages/flagception/contentful-activator.
However, I don't currently have time to implement it. But you are free to write an adapter and offer it via Packagist ;-)

Just for information,

It's on packagist https://packagist.org/packages/unleash/client
It's quite well maintained https://github.com/Unleash/unleash-client-php https://github.com/Unleash/unleash-client-symfony with github actions, rector, php-cs-fixer, phpstan, phpunit.

There is an official symfony bundle available. If there is still a need for an unleash activator - please create an issue here https://github.com/playox/flagception-sdk/issues


Security issue: Members of organizations can perform owner tasks

As member of an organization I was allowed to:

Remove an invite
Invite a user
Add api keys

You had ownership rights higher in the organization tree.


Popup disappears when you start moving down the list of completions.

To reproduce - Popup completer and control+n or arrow key and after first step the completer disappears. I think it is since the timer was added.

Fixed


Move to Cloudflare Pages

Describe the feature you'd like to request
Cloudflare offers a handy guide here
https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site
There's also reference documentation to move to the edge runtime
https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes
Not sure if all of our dependencies work in this runtime, but worth a shot
Describe the solution you'd like
Use the edge runtime, deploy to Cloudflare pages
Describe alternatives you've considered
Stay on Vercel

It was worth a shot, was able to move all the API route handlers over to the edge runtime, but not the pages. I think Plasmic doesn't work in the edge runtime, filed an issue here
https://github.com/plasmicapp/plasmic/issues/98

Here's the partial move to edge runtime
https://github.com/opensource-observer/oso/pull/639
Closing this for now, at least until Plasmic works with edge runtime


Is anyone accepting PR's for this Repo?

I have some contributions I'd like to make, but there seems to be some old PR's that have not been dealt with

Sorry for the long wait! You PR is valid and finally accepted


Questions about the models

Very great work! The idea is very interesting and thank you for providing the codes.
After running the script download_models.sh, I found out that there are several pretrained models in the folder, which are cam, sep, and shift. I am a little bit confuse about which model for which purpose. For example, which is the model for,

Self-supervised audio-visual features: a pretrained 3D CNN that can be used for downstream tasks (e.g. action recognition, source separation).

Thank you.

Sorry that wasn't clear! Use should use the "shift" model if you are using the pretrained network for downstream tasks (e.g. action recognition). Please let me know if you run into any issues with that (for reference, the "sep" model is for source separation, and "cam" is for localization).

Thank you for your quick response!
I have other two questions:
1. In shift_example.py,
# Example using the pretarined audio-visual net. This example predicts
# a class activation map (CAM) for an input video, then saves a
# visualization of the CAM.

pr = shift_params.shift_v1()
model_file = '../results/nets/shift/net.tf-650000'
gpu = None

# uncomment for higher-resolution CAM (like the ones in the paper)
# pr = shift_params.cam_v1()
# model_file = '../results/nets/cam/net.tf-675000'

Does it means that since the beginning, the pretrained audio-visual features can detect sound source location since we can switch between the two models?
2. About the make_net function in shift_net.py, I guess there is normal net and also 'resized' net according to:
self.ims_ph = tf.placeholder(tf.uint8, [1, pr.sampled_frames, pr.crop_im_dim, pr.crop_im_dim, 3])
self.ims_resize_ph = tf.placeholder(tf.uint8, [1, pr.sampled_frames, None, None, 3])

predict_cam_resize() is used in 'shift_example.py` which corresponds to the second line in the code above. For the first line, is it for giving the net images after being cropped randomly?
Thank you! :smiley: :smiley:

Yeah, you can compute sound localization using either net -- the "cam" net is just 2x the spatial resolution. In our paper, the sound localization comes from the network's attention map. To get the "cam" model we fine-tuned the "shift" model after removing spatial stride in the last layer of the net (i.e. it's just "shift" but with a higher resolution in the final layer).

Yeah, that instantiation of the network simply resizes the images to be 224 x 224 before processing them. You could resize the images yourself and pass them into the first net and get the same result.

Hope that helps!


Question about predictable random generator

I understand that you are using some form of hashing to always get the same image back based on the input value. However I am confused on how you can select something like img_01.png based on a hash value. Can you explain to how a hash value can be used to select a value like this? Essentially you pass the hash into a switch statement and it will always return img_01.png but if the hash changes even slightly you return img_02.png, how does that work?

@BaileyMillerSSI you are correct that if the hashing function changes the outcomes will change.
I encourage you to look at the SlotMachine class and its tests, but in essence our hashing works like this: given a collection of outcomes (e.g. avatar images) and a hashing function that returns an integer (e.g. "sum all the character codes in the string"), we get an instance that will return one of the outcomes when passed a string.
I hope that sets you on the right path. If so, please do close this issue.
The code is all right here, so I will again encourage you to browse the codebase if you have more questions. Thanks for your interest!

My friend is looking to do something similar for a school project so I am trying to help with the code. Your @slots variable is an array of images, or in the test case file1, file2, file3, file4, file5. Then you call the pull method with your input string, in the case of the demo website this can the username, or anything really.
Pull returns a variable out of the @slots array of images, in the test case again file1, file2, file3, file4, file5, and what you do is you go var eyes= SlotMachine.pull('inputString'); var nose = SlotMachine.pull('inputString'); where SlotMachine will be a different machine for each category, eyes, face, etc. Then at the end you have some code that creates an image by combining all these variables.

@BaileyMillerSSI yes, I think you've got it.
The eyes/nose stuff is for the more complicated v2 endpoint with several slotMachine instances for each part of the image, and would be closer to
var eyes = (new SlotMachine(eyesCollection)).pull('inputString');
var nose = (new SlotMachine(noseCollection)).pull('inputString');

The v1 endpoint is the simpler one that I'd suggest you start with; it does the "hash the string and pick an image file" logic, as opposed to building up the image programmatically. The general concept is the same in both cases, though.
Also, @itsthatguy just rewrote the code for es6, so I would suggest looking at the develop branch as opposed to master.

Closing this due to inactivity.


chore: remove postcss-conditionals package

Removed postcss-conditionals as it's causing to pull in some old dependencies which have CVEs discovered on them.

/ok-to-test env=release


Meteor.userId()

I'm using Meteor.userId() to check if the user is logged in (so I can choose whether or not to display data) however this doesn't seem to be working with meteor-desktop. Is there an alternative or suggested workaround?

Hey,
well, it should work, and works normally 🙂
I have two production apps now and never had problems with this. That of course does not mean you did not hit a case where it doesn't work.
Can you be more specific? Can you paste the code from client and server where this occurs?

@wojtkowiak suggest to close this issue due to inactivity.


fix(transport): add support for TLS connection

Pull Request Test Coverage Report for Build 10

0 of 93 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-5.3%) to 32.715%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/rt.rs
0
6
0.0%

src/transport.rs
0
87
0.0%

Totals

Change from base Build 9:
-5.3%

Covered Lines:
194

Relevant Lines:
593

💛  - Coveralls


Fix Airgap EksaVersion

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm

Forcing the merge here bc it's quite difficult to test just one branch of the new code with the current setup. In practice, the program will mostly never walk that path.
It's not worth exporting private methods to testing or complicate the code to tinker with the failure paths.

/cherry-pick release-0.17


2dplot

Added 1d plot: Histogram and Pie chart

One thing to note, the graph's load in a non-deterministic order that differs from the config order.


Adding Testimonials

Adding testimonials for the shop would enhance the user experience . These are my previous works.

Congratulations, @sharmi4590! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

Hii @sharmi4590 we aren't working on a real life product so, IG this ain't necessary as of now :)


add catalog-info.yaml

Thank you for contributing to Harbor!
Comprehensive Summary of your change
add catalog-info.yaml
Please indicate you've done the following:

[x] Well Written Title and Summary of the PR
[x] Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
[x] Accepted the DCO. Commits without the DCO will delay acceptance.
[x] Made sure tests are passing and test coverage is added if needed.
[x] Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

Codecov Report

Merging #10 (dd194be) into alauda-release-v2.6.4 (75ede6c) will increase coverage by 23.95%.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@                    Coverage Diff                     @@
##           alauda-release-v2.6.4      #10       +/-   ##
==========================================================
+ Coverage                  43.21%   67.16%   +23.95%
==========================================================
  Files                        234      993      +759
  Lines                      13188    84336    +71148
  Branches                    2687     2687
==========================================================
+ Hits                        5699    56646    +50947
- Misses                      7167    23793    +16626
- Partials                     322     3897     +3575

Flag
Coverage Δ

unittests
67.16% <ø> (+23.95%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 762 files with indirect coverage changes