Better explanation on how to choose the good design matrix when scaling FIR coefficients

Hi,
I'm trying to expand the GLM FIR Analysis tutorial to a more complex case than the one presented. There is something which is not clear to me in the Plot the response from a single condition section: I wonder how and why fir coefficients are scaled to an individual design matrix. From what I understand, each individual record is estimated via a particular design matrix, which depends on the individual signal length -- so that I do not understand why this kind of design matrix (the dm variable in the tutorial) is used to scale FIR coefficients (df_sum), which is not an individual output.
Could the tutorial elaborate a bit more about the way to select the appropriate design matrix to scale the fir coefficients ?
If needed, I can elaborate more my question.
Thanks a lot for your great work.

Hi @benoitvalery,
Sorry for taking so long to respond to your message, somehow I didn't see it.
In the meantime, have you found a paper that discusses appropriate scaling details? I would be pleased to reproduce any articles in MNE-NIRS to demonstrate how to achieve best practices from the literature.


0x7ca4e804692649e7f93c60519c048c6106cd0922

Related Safe Addresses
0xfafd604d1cc8b6b3b6cc859cf80fd902972371c1
0xf3e48a2b1b9808f66321fb1eb385c86d2486dd6a
0x7bd7de26ebd064465bb9c272513bb3bcbddb1e93
0xfa3811e5c92358133330f9f787980ba1e8e0d99a
0xc4ddc2f471a476da1b906727072669f95d37c622
0x49ae0f9d0bd8dbe9bcbd4d3c501a4a8a0944c2e5
0x2281eb45954a48fd2befe323433c3bcdb31b0773
0x8a771e2874b1e8a38cb08ebcb6e1058d27fa64c0
0xd26b6de62363ce83d4fa6362da283594d0df4ecc
0xa47d57b74361b20fb24e1dd2d22944db12ee8553
0x9884a6877c018c472a083d3e7a1c35dc427db7e3
0xf80cd14ec747b2adf7b1a9911b38c65a885daeea
0xb40f4ce59da4a0b6d10ae605e10fd4e6ca9ed4ae
0xd5e0f35b1512512a7d14fae94798bd6aa16e0fac
0x9718ba71dc1284842fce66dc3e34dffc6c630074
0xc88a741b63ee39f765b8fc586c6f219e2496080e
0x226e7af139a0f34c6771deb252f9988876ac1ced
Reasoning
These safe accounts are all created by 0x7ca4e804692649e7f93c60519c048c6106cd0922
We can see through this link：
https://etherscan.io/address/0x7ca4e804692649e7f93c60519c048c6106cd0922
Methodology
##using the sql query：
with target as (
select *
from url('https://raw.githubusercontent.com/safe-global/safe-user-allocation-reports/main/safe_user_allocations_reworked.csv', CSVWithNames)
), transactions as (
select t1.*
from ethereum.transactions t1
join target t2
on t1.to_address = t2.safe_address
)
select distinct to_address
from transactions
where from_address = '0x7ca4e804692649e7f93c60519c048c6106cd0922'
Safe Address
0xD12f90cF187169C1C8b3E2b220E14061EB56109C

Reasoning
These safe accounts are all created by 0x7ca4e804692649e7f93c60519c048c6106cd0922

Creating a number of Safes from the same account doesn't mean it's airdrop farming. It's quite common for projects/users to own multiple Safs.


Update LTS documentation

doc: LTS release docs
doc: master -> main branch
doc: more LTS details

@MaureenHelm  @ioannisg  @carlescufi  can you please review?


User matching query does not exist

This is the new commit with this issue:
commit
The mutation is necessary, the error is not. Error affects updating the voter profile

Fixed. Check commit


Consider gene resource to link out to

I was showing a colleague who is working on a couple of diseases associated with the gene DLG4. I noticed that the NCBI link we use doesn't list the diseases associated with a gene, which is an odd omission:
https://www.ncbi.nlm.nih.gov/gene/1742
By contrast, GeneCards does (but is only available for use by academics):
https://www.genecards.org/cgi-bin/carddisp.pl?gene=DLG4
So I wonder if we could chat with people who think about these databases all the time to find one that is completely openly available but also has disease info.

Not a priority - and the first step would be to decide which source to link to; GeneCards may not be the best choice anyway.


Improve Genesis to Chainspec conversion

Describe the feature
this from impl is super messy and lacks test coverage for json -> chainspec
https://github.com/paradigmxyz/reth/blob/7fd16914a43551952ce1dfa6e9a86f0c75ec1825/crates/chainspec/src/spec.rs#L597-L598
ref https://github.com/paradigmxyz/reth/pull/10724
first, this function should be split into two, one for op one for regular eth, ideally with some additional tests.
Additional context
No response

hey @mattsse, down to clean and add some test coverage


acdh:hasLiteralIdentifier lacks acdh:ordering annotation property

This is on purpose. Not all of our properties have the ordering annotation, because they should not be displayed in the metadata editor

Ah, fine. But if that's so, you probably also don't want it in the root table. A rule for Norbert can probably be "skip properties reporting order 99999" (the arche-lib-schema sets order to arbitrary chosen high number - 99999 - when it's not provided so such properties don't get listed first).

The root table should display everything. So it is fine as it currently is.


Resistration page UI improvement done

Related Issue
#435
Proposed Changes

Improve the UI of the registration page
Add an animation effect to the image
give a hover effect on the registration page

Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the documentation.
[ ] 🎀 I have updated the documentation accordingly.
[x] 🌟 ed the repo

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Title goes here
Title goes here

https://github.com/agamjotsingh18/codesetgo/assets/83147410/fccc099c-4328-4085-88b1-bd429046f8eb
|

Please look for responsivenes as well(it isn't looking good on mobile screens)

Please look for responsivenes as well(it isn't looking good on mobile screens)

ok


Member create modal

What does this PR do and why?
Describe in detail what your merge request does and why.
This PR adds functionality to add a member to a group/project using a modal and to use turbo_stream.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.

Login as any user
Visit a groups members page
Click the Add New Member button
A modal should pop up for you to select a user and their access level
Select a user and their access level
Click the Add member to group button
The table and pagination should update to include this user
Verify in the network tab of the browser dev tools that the request to add a member to a group is sent via turbo_stream
Verify the same functionality for a project
Verify in the network tab of the browser dev tools that the request to add a member to a project is sent via turbo_stream

Note: If trying to add a member to a subgroup or a project where the user also has membership in one of it's ancestors, with a lower access level you should see an error in the modal such as:

PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

[X] I have evaluated the PR acceptance checklist for this PR.

This is still doing a full page fetch on the project add new member

This is still doing a full page fetch on the project add new member, it is working properly on the groups though.

I can't seem to replicate it..these are what my network tab looks like for both group members new and project members new

I was actually wrong before (not in your favour though), the response to both is returning a full HTML page.  Look at the network tab you showed me above, click on the first call named new and look at the response, it's the full page.  This is turbo's normal action and gives you the entire page and then just replaces what it wants.  What I think you are trying to do is to get the partial that just has the dialogue contents in it.

I was actually wrong before (not in your favour though), the response to both is returning a full HTML page on both project and groups. Look at the network tab you showed me above, click on the first call named new and look at the response, it's the full page. This is turbo's normal action and gives you the entire page and then just replaces what it wants. What I think you are trying to do is to get the partial that just has the dialogue contents in it.

As discussed the purpose of this PR was to open the create modal via a server call and not have the new page load on a separate page. The request to create the member is what is being sent via a turbo stream request

Overall, from what I see, this looks good. I would still like to see the dialogue being rendered using a turbo_stream instead of a full-page request. Good work Deep.

Thanks! I updated the modals to be rendered via turbo_stream in 4ba6e11798a68b9286ba3c74ce734d70ba5e1eb7


Could use some performance improvements

The library is really slow on phones with photos in thousands (not very unusual!). After digging a bit into the Content Resolver code, I found the culprit. It's the ArrayList.contains() you're doing for each content row, for checking if to add a new album into the ArrayList.
This can be done in a simpler, efficient way, by passing MediaStore.Images.Media.BUCKET_ID for orderBy of Cursor, and then just comparing adjacent IDs instead, to know if it's a new album.
FishBun does it this way and it works great. https://github.com/sangcomz/FishBun/blob/master/FishBun/src/main/java/com/sangcomz/fishbun/ui/album/AlbumActivity.java#L163
Thanks for the nice library!

Thanks for the suggestion :) will update soon

Commit fc9a4e8 optimises album loading. Earlier logic was to check if image existed and then check if it belonged to a unique album. Presently, album ids are also queried, and first check is performed to see if it is an unique album id. If unique, then check if image existed.


Make sure API's aren't refetching data on timeout

rtk refetching to false if it's doing it automatically


Investigate why CO connection is timing out.

[1;31m12:45:46.136 [pool-2-thread-2147][106161] FATAL-ALERT gov.cdc.prime.router.azure.SendFunction -
FAILED Sftp upload of inputReportId a4b33018-fd48-41af-bb0f-55ab35d196b7 to
SFTPTransportType(host=prod.moveit.state.co.us, port=22, filePath=./, credentialName=null) (orgService = co-phd.elr-hl7),
Exception: Connection timed out (Connection timed out), All retries failed.  Manual Intervention Required.
Send Error report for: a4b33018-fd48-41af-bb0f-55ab35d196b7 to co-phd.elr-hl7[m
[1;31m12:49:27.317 [pool-2-thread-2147][106161] FATAL-ALERT gov.cdc.prime.router.azure.SendFunction -
FAILED Sftp upload of inputReportId c0205651-b84d-4685-b85d-752a7dd2fca2 to
SFTPTransportType(host=test.moveit.state.co.us, port=22, filePath=./, credentialName=null) (orgService = co-phd.elr-secondary),
Exception: Connection timed out (Connection timed out), All retries failed.  Manual Intervention Required.
Send Error report for: c0205651-b84d-4685-b85d-752a7dd2fca2 to co-phd.elr-secondary[m

Note, after CDC Firewall is resolved.  I will resent those failures in the last mile failure.

The is the same as ticket 9375.  It is done.


[metrics] Metric files are missing

It seems that many metric description files are missing in the wg-gmd/metrics folder. Few are not created, few have broken links.
If you are still discussing and working on the metric, then you can close this issue. But, if it is like a mistake, I can send a PR fixing it. :slightly_smiling_face:

@jgbarah @sgoggins
I will be asking about the files here. You can decide what to do about such files and lets see what we can do it. :smiley:

These metrics in the focus_areas doesn't have a .md file in metrics (not even the template)

Pull Request Merged
Pull Requests Closed
Pull Requests Code Review
[New Contributors of Initiated Code Reviews]
Open Issues

If you are planning to create them later maybe during the GSoC period, I am ok with it. You can use this issue as a reference at that time but if you are likely to close this asap then I would like to send a PR to this issue.

I doubt the below metrics have a file but the link is broken. I have corrected the link beside it

Metric with broken link
Correct link

Lines of Code Changed
https://github.com/chaoss/wg-gmd/blob/master/metrics/code-lines-of-code-changed.md

New Contributors of Initiated Code Reviews
https://github.com/chaoss/wg-gmd/blob/master/metrics/pull-requests-code-reviews-contributors-new.md

Closed Issues
https://github.com/chaoss/wg-gmd/blob/master/metrics/Issues_Closed.md

Please correct me if I am wrong.

The below files look the same, I would like to learn if there is any under depth meaning of this as I see @jgbarah comment over there

What is the number of persons contributing with reviews of code for the first time? this is currently the same as pull-request-code-reviews-new

pull-requests-code-reviews-contributors-new.md, pull-request-code-reviews-new.md

Hey @vchrombie, as you know this project is still under development, and so the files would be made in place once the implementation for those metrics is also done. Till then I don't think adding metric files by including only the headers will do any good. Also considering the fact that this is the case for only a few metrics :slightly_smiling_face:
Anyways, this was just my opinion.

Ok, @harshalmittal4. Thanks for the comment.

If you are still discussing and working on the metric, then you can close this issue. But, if it is like a mistake, I can send a PR fixing it.

I too felt the same, maybe we can use this issue as a reference at that time.
If you anyone feels this as unnecessary, please let me know. I am ok with closing this issue.

I too felt the same, maybe we can use this issue as a reference at that time.

Agreed! :innocent:

@jgbarah @sgoggins
any comments on this issue?

I would just let this as it is now, if needed explaining in the README.md file that we're still in the process of producing metrics, which means that many of the metrics found in focus area files are still not detailed, and don't have their own file.
Do you think you could produce such a text for the README.md file?
I'm labeling this as help wanted, just in case someone wants to produce that pr.
(And of course, thanks a lot for raising this issue)

I would just let this as it is now, if needed explaining in the README.md file that we're still in the process of producing metrics, which means that many of the metrics found in focus area files are still not detailed, and don't have their own file.
Do you think you could produce such a text for the README.md file?

It would be good, I can produce a PR if you are Ok with that.

It would be good, I can produce a PR if you are Ok with that.

Yes, please, go ahead.

I agree that we should simply make a note in the README.md that metrics without full definitions are great places for newcomers to start, and that we are leaving them initially with a template so that newcomers will have the structure "at the ready" and be able to structure the definition as we intend.
I think we might also consder opening issues for each metric that is empty

Sorry, I couldn't attend the meeting. I went through the discussion in the minutes just now. I will produce the required PR.

I think we might also consder opening issues for each metric that is empty

Maybe we can do this while the GSoC coding time. We can open one issue for each metric for discussion, clarifications of doubts on the implementation of the metrics.

I just merged the PR. I guess we can close this issue, right?


Check runtime requirements of applications

Some of the yafti apps pull in outdated flatpak runtimes.
Ideally we'd pick a set of apps that doesn't pull in outdated runtimes, or at least minimize what we can.
There's likely no long term solution for this since it's up to the flatpak app developers, but maybe for 38 we can have an optimized set.

These are using version 43 of the GNOME platform, everything else is on 44:
com.github.tchx84.Flatseal, com.mattjakeman.ExtensionManager, com.raggesilver.BlackBox, org.gnome.NautilusPreviewer

We need everything on the list so this isn't for us to fix.


To model 'abs' and 'labs' functions in klee-libc and suggest to KLEE mainline

This is a follow-up of that thread.
Currently, 'abs' and 'labs' function calls lead to concretization. Therefore important paths remain uncovered, as in the following example:
Code
int foo(int x)
{
  int y = abs(x);
  if (y == 1234) {
    return -1;
  }
  return +1;
}

Generated tests
TEST(regression, foo_test_1)
{
    int actual = foo(0);
    EXPECT_EQ(1, actual);
}

Moved to https://github.com/UnitTestBot/klee/issues/66


[BugFix] fix incorrect scan metrics in FE (#27779)

backport #27779
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


Keyboard pushes the whole interface up and it's seen on ionCancel (iOS)

Short description of the problem:
The whole view is pushed up by the keyboard and it's seen when the keyboard goes down.
Video : http://sendvid.com/wrgu72ai
What behavior are you expecting?
The view not to lag on keyboard hide.
Steps to reproduce:

Open an ion-searchbar.
Cancel it using cancel button.
See view getting back in place.

Which Ionic Version? 2.x
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.9
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.6
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.0.0
Xcode version: Xcode 7.3.1 Build version 7D1014

Hello, thanks for opening an issue with us! I will be closing this issue as a duplicate of https://github.com/driftyco/ionic/issues/5432. Thanks for using Ionic!


[Feature Request]: Adding leetcode-3099 Harsh Number

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
.
Use Case
.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

hello @Ajay-Dhangar
please assign me this issue


Support for variadic functions

Wanted to allow for extra "optional" class names, something like:
{% func tableCell(name string, num int, extraClassNames ...string) %}

Does this look acceptable?  Happy to revise if necessary.

Looks great!
Thanks, @stereosteve !


Plugin discussion: plugin to auto-deploy to google-play

I want to know what you think about create a plugin for strider to deploy .apk to google play store.
I searched a bit and discover that jenkins add this.
I wonder if you guys think it's feasible to do something like this for strider?

I don't whether it is feasible, but I hope so! I would love to use this plugin.


Reintroduce back some logging messages we lost in refactoring

New logging has lost some extremely valuable messages in broker's initialization:
...
2019/10/11 01:13:38 Loading internal plugins...
2019/10/11 01:13:38 - ConfigurationManagers: [configfile k8s/crd]
2019/10/11 01:13:38 - ConnectionManagers: []
2019/10/11 01:13:38 - Providers: [keychain kubernetes literal vault aws conjur env file]
2019/10/11 01:13:38 - Handlers: [mysql pg ssh sshagent http/aws http/basic_auth http/conjur]
2019/10/11 01:13:38 - Listeners: [ssh ssh-agent http mysql pg]
...
2019/10/11 01:13:38 mysql listener 'mysql_tcp' listening at: [::]:3306
...

AC:

[ ] Add back listing of internally-recognized plugins on startup
[x] Add back listing of what ports/sockets are being opened by the broker's plugins

The port logging is back in but we sitll don't list the internally-recognized plugins yet. Adding severity label since this is pretty important for the operator persona.


Vmq-admin session show: session not found with --topic

Hello,
our production environment is made up of at least 3 nodes (max 5 nodes) running with Kubernetes on Google Cloud Platform. Over that is running an official docker image "erlio/docker-vernemq:1.5.0", in particular a cluster made up of 3 PODs.
If i get the sessions list with the command vmq-admin session show --topic --is_online --user --limit=5000 the number of records shown is less than the number of records returned by the command vmq-admin session show --is_online --user --limit=5000. Why?
Thank you

Hi, that's interesting.
How many records are returned in each case? Are there any errors/warnings in the logs?
It could be that some of the queries time out (this is printed in the log), you can increase the time the command waits for each query for each session to respond using --rowtimeout=milliseconds. The default is 100.

Hi @larshesel
at the moment for example the first command return 4056 record, the second one 4060. I launched the 2 commands at the same time.
This is our logs configuration:
log.console = console
log.console.file = /vernemq/log/console.log
log.console.level = info
log.error.file = /dev/null

log.crash = on
log.crash.file = /etc/vernemeq/crash.log
log.crash.maximum_message_size = 64KB
log.crash.size = 10MB
log.crash.rotation = $D0
log.crash.rotation.keep = 5

but i can't find console.log, crash.log or error.log in Vernemq PODs, i can see only logs provided by Kubernetes and there i can't find warning or errors.
Thank you

Could it be that there are actually clients disconnecting and connecting all the time? You could for instance sample mqtt.socket_open - mqtt.socket_close over time (every second or similar).

No, is a device similar to the others. If i look at the result of second command the flag is_online is true.
I made a test with another device in the same situation: i used the command "vmq-admin session disconnect" and then the client made a new register+subscribe and now if i execute the first command i can see the record correctly.

Today other 3 clients are in the same situation.
What can i do to provide you more information?

Does our logs configuration look correct?

log.crash.file = /etc/vernemeq/crash.log

this looks wrong, firstly it's unusual to log anything to /etc/, secondly vernemeq looks like a typo, you probably meant vernemq.
You have too make sure that you see normal logs, for instance there should always be something logged in the console.log file when vernemq starts. If that happens then logging works.
In general all the log files should be created, even if  nothing is logged at all.

Btw, just realized when using docker the console logs will only be logged to STDOUT and not the log files unless DOCKER_VERNEMQ_LOG__CONSOLE is set to both , see https://github.com/vernemq/docker-vernemq#logging


Regression in extracting text from Excel TIF image

Environment
ExcelTest_Bug.zip
ExcelTest_text_TesseractV4.txt
Tesseract Version: 5.2.0 vs. 4.1.1.-rc2-37-gcla5
Ubuntu 20.04.3 LTS
Current Behavior:
With the attached TIF image of an Excel file (in the zip), Tesseract version 5.2.0 extracts a minimal amount of text (only a single line "hiding rows 15 through 20").  However, in prior versions of Tesseract, namely the version 4.1.1 version noted above, but likely other versions as well, the amount of text extracted from the same TIF image is significantly larger (multiple lines of text, approximately 1K of text over multiple pages).  Attached a separate text file with the output of the V4.x text output.
Expected Behavior:
Expecting version 5.2+ of Tesseract to at least replicate the behavior of prior versions in extracting text from this sample TIF.
Suggested Fix:
Correct the text extraction to match the output from previous Tesseract versions.  Concerned with Tesseract's regression in ability to extract text from Excel files.

This is an issue in 5.3 version as well. Tried using both best/fast trained data still we see this issue.

Hey, Just wanted to know the status of this issue. Can I take this up?

I can confirm the issue with the latest code. What about releases between 4.1.1 (working) and 5.2.0 (not working)? Can we narrow down which release introduced the regression?

According to git bisect the regression was introduced by commit 86d981eee69eb504cfd6c6e233f1fbf1862b5cfa.

Pull request #4136 fixes the regression.

@jwmepiq, thank you for reporting this nasty regression.

Now that #4136 has been merged and 5.3.3 released, I assume this can be closed

Yes, thanks.


[Share data] Complete Tx - General display

As a user, I want to be able to proceed to the payment of the referencing fees so that my dataset goes through the validation process
Acceptance criteria
Scenario 1: Transaction step
Given that I am in the step of "Complete the transaction",
And I am using a desktop device,
Then the page is displayed as follows

Text  I SHARE A DATASET
Figure Stepper
Text Complete the transaction
Text Shared dataset
Name of the dataset
Fee Section
Button < Previous step always active

Scenario 2: Dataset name
Given that I entered a dataset name in the metadata step
Then this name should be displayed in dataset name field.
Scenario 3: Internationalisation
ENG

Complete the transaction
Shared Dataset
Fee estimation
to reference your dataset into the protocol
Proceed to the payment on

FR

Finaliser la transaction
Jeu de données partagé
Estimation des frais
pour référencer votre jeu de données dans le protocole
Procéder au paiement sur

DE

Die Transaktion abschließen
Gemeinsamer Datensatz
Kostenschätzung
um Ihren Datensatz im Protokoll zu referenzieren.
Nehmen Sie die Zahlung vor auf

Resources
Mockups
Desktop

┆Issue is synchronized with this Wrike task by Unito

name of the dataset
large screen device

Tech specs
Paiement & fees estimation are not part of this issue.

create a sharedata step 5
retrieve saved dataset name
use the tooltip component from radix to display dataset info.

@ChaimaaZaoui could we get translations for the following tooltip content ?

This fee consists only of gas fees. This is an estimation based on the current network conditions and the complexity of the transaction.

Please note:
The gas fee ensures your transaction gets processed on the blockchain network.
If the actual gas fees required exceed the estimated amount, the transaction will be declined. Otherwise, it will be validated.
You will only be charged for the exact gas fees spent during the transaction.

Additionally, the maximum processing time for a new block is 10 seconds. Your transaction will be included in an available block based on the gas price you choose.

Make sure to review the gas price carefully to optimize transaction speed and costs.

@0xLodz you can put this ticket in the to do column, @ChaimaaZaoui will give you the missing translations to achieve the UI part👍

@ChaimaaZaoui @lolottetheclash sorry for the inconvenience, I just found the issue #432 with all translations.
I suggest to separate both issues as such:

this issue that integrates the step content (not wired to ontology), including tooltip's content
the issue #432 that consist of building a tooltip component, with the style related to our design system.

Are you ok with these updates? If so, we can update and create tech specs accordingly.
Thanks

@0xLodz translations updated

tested


Incorrect implementation of HMC sampling criterion.

https://github.com/larsgeb/hmc-linear-systems/blob/744093f224357d8f1e3d1f92d91789d3be729d96/src/hmc/sampler.cpp#L152-L169
https://github.com/larsgeb/hmc-linear-systems/blob/352b1d577618770491ff955544e812d2605d76c9/src/hmc/sampler.cpp#L153-L171
Energy levels should be evaluated before and after the propagation. In this implementation the energy level is first evaluated before the resampling, which is not valid for the hmc sampler.

Both versions (Neal's algorithm and the new one) satisfy the detailed balance. Both have been implemented in the latest commit.


[bug]: Issue with Verifying Framework in ShadCN Setup (React + Rspack) #3602

Describe the bug
I’m currently trying to set up ShadCN in my project(Rsbuild + React + shadcnui), but I’m encountering an issue during the “Verifying framework” step. The error message I get is:
➜ nlx shadcn@latest add button
✔ You need to create a components.json file to add components. Proceed? … yes
We could not detect a supported framework at /Users/huyixi/i/store-app-demo/frontend.
Visit ui.shadcn.com/docs/installation/manual to manually configure your project.
Once configured, you can use the cli to add components.
Affected component/components
components.json
How to reproduce

Start a React App with rsbuild(https://rsbuild.dev/)
Install shadcn/ui

Codesandbox/StackBlitz link
No response
Logs
No response
System Info
MacOS
node -v v22.9.0

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

You can solve this creating a vite.config.ts file on root of project, run the npx shadcn@latest init and after that you can delete the file vite.config.ts.
But you need to manually configure the tailwindcss.

It can solve my problem.
But why?

It can solve my problem. But why?

I'm currently encountering the same issue. I can explain to you to better understand why the fix works.
The error comes from the script being unable to detect a supported framework and by creating a vite.config.ts we can trick it into thinking we are using Vite and complete the initialization.
And yeah, under the  manual installation section,it's noted that you need to manually config Tailwindcss 👍

You can solve this creating a vite.config.ts file on root of project, run the npx shadcn@latest init and after that you can delete the file vite.config.ts. But you need to manually configure the tailwindcss.

bro wtf. Im with webpack and this solve my problem installing shadcn components 👍 thanks


Added plugin 'JMeter Listener pack'

This plugin is Listener with ability to send result to ClickhouseDB. It could send each Sampler-transation or aggregated Sampler-transaction info (averaged times, count of Sampler transactions etc.)
In additional, this plugin contains Classes for InfluxDB and ElasticSearch with Samplers aggregation ability.
Project link https://gitlab.com/testload/jmeter-listener
Wiki link https://gitlab.com/testload/jmeter-listener/wikis/home

Welcome!


Build Fail in Centos7

error: failed to run custom build command for `openssl-sys v0.9.58`

Caused by:
  process didn't exit successfully: `/root/abs_admin/target/debug/build/openssl-sys-bc6e4f996293b8bd/build-script-main` (exit code: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=OPENSSL_STATIC
  cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit code: 1\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'openssl\' found\n"

  --- stderr
  thread 'main' panicked at '

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-linux-gnu
  $TARGET = x86_64-unknown-linux-gnu
  openssl-sys = 0.9.58

  ', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.58/build/find_normal.rs:157:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

+1 also having an issue building 0.9.58.


:sparkles: feat: Check potential of Figma-Variables with spacing

Summary
As a small POC we want to tackle the spacing values to see if we can seamlessly integrate them.

Testing Space can be found here:
https://www.figma.com/files/1066001700381986311/team/1267790329829890037
Use Case
-> Testing for more consistency
Preferred Solution
No response
Additional Information
No response
Will this feature introduce breaking changes?
None
Code of Conduct

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

will be done in #1080


Regression: Xcode 15 cannot build correctly for macOS versions older than 10.15

Description
According to the documentation, Xcode is supposed to be able to build for macOS 10.13 and up. However, this does not seem to be the case in practice; my testers on 10.14.6 have reported random crashes when trying to test my app when built with Xcode 15 beta. I've isolated the code that crashes to a simple test case, and posted it on GitHub Issues, but it seems to have attracted no attention:
https://github.com/apple/swift/issues/67614
I've reproduced the bug in Xcode 15 beta 5, beta 6, and beta 7.
What's more, I decided to spin up a macOS 10.13 VM in UTM to see what would happen there. On 10.13 it doesn't even launch:
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/csrstka/Desktop/crashtest
  Reason: image not found
Abort trap: 6

It seems that Xcode 15 is not correctly including the embedded Swift libraries for use on macOS versions older than 10.15. On macOS 10.14.6, it seems there are embedded Swift libraries in /usr/lib/swift, but they are apparently buggy and not compatible with modern Swift code. The net result is that although it claims to be able to build for 10.13, the effective minimum target is 10.15, and this should either be fixed before release, or the documentation should be updated to reflect the change.
Steps to reproduce
Write this code to a file called crashexample.swift:
class MyObject {
    var dict: [String : String] = [:]
}

print("creating object")
let obj = MyObject() // crashes here
print("created object") // will never be logged
print("object is \(obj)")

Then compile it with the following command:
swiftc -O -target x86_64-apple-macos10.13 crashexample.swift
Now copy the resulting binary to a Mac running an older macOS version. On 10.14.6 it will crash. On 10.13 it will not even start up.
Expected behavior
Code should work, and not crash, or Xcode should be updated to reflect that its actual minimum target is 10.15.
Environment

Swift compiler version info

$ swiftc -version
swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-<IP_ADDRESS>.106 clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx13.0

Xcode version info 15 beta 7 (15A5229h) but it has also happened in betas 5 and 6
Deployment target: macOS 10.13

Thank you for the report. Both reports, that is, and sorry we missed the earlier one.
I believe there are two separate problems here. The dyld error on 10.13 is due to the runtime not being present on that OS. Xcode will copy the back-deployment runtime into a .app, but if you're building a bare executable, there's no place to put it. You can install this to allow bare Swift executables to work: https://support.apple.com/kb/DL1998?locale=en_US
The crash on 10.14.6 looks like a codegen problem. I was able to reproduce it here with your example. I'm fairly ignorant of compiler matters but I'll be sure this gets attention from the right folks.
I've filed a matching issue internally: rdar://114699006.

We have the similar problem on iOS sample project with the same code.
The iOS  sample project's minimum deployments is set  10.0,  build the app use XCode beta 8 with Release Configuration, then run the app in iOS 10、iOS 11、 iOS12 will crash.

I believe there are two separate problems here. The dyld error on 10.13 is due to the runtime not being present on that OS. Xcode will copy the back-deployment runtime into a .app, but if you're building a bare executable, there's no place to put it. You can install this to allow bare Swift executables to work: https://support.apple.com/kb/DL1998?locale=en_US

Unfortunately the linker errors occur on 10.13 even with an .app, although it is a little different. On 10.13 with an app, I get:
dyld: Library not loaded: @rpath/libswiftAppKit.dylib
  Referenced from: /Users/_redacted_/Desktop/test.app/Contents/MacOS/test
  Reason: Incompatible library version: test requires version 45.0.0 or later, but libswiftAppKit.dylib provides version 1.0.0
Abort trap: 6

I'm attaching the Xcode project for the test app, although there's nothing special about it—it's just a stock app built for 10.13.
test.zip

Thanks, I'm able to replicate that problem as well. Filed this internally, and I'll get it to the right people: rdar://114820860

As a workaround, you can add $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib to your Other Linker Flags build setting in Xcode. You'll want to remove that if and when you increase your deployment target past 10.13.

Thanks @mikeash. Always enjoyed those "Let's Build" articles back in the day :)

Glad you liked them! And thanks again for the reports here.

On top of that Xcode 15 will fail to weak link libraries prior to macOS 11, so if you have a library whose symbols were not available prior to macOS 11 and you used those symbols with
if (@available(macOS 11.0, *)) {

or the Swift equivalent
if #available(macOS 11.0, *) {

then those symbols were weakly linked and as a result, the entire library was weakly linked. To provide an example, UniformTypeIdentifiers.framework was not available prior to macOS 11. But with Xcode 15, it is now strong linked and thus you'll also end up with dyld error when trying to start on an early system. The workaround for this issue is to pass -Wl,-ld_classic to the Other Linker Flags, the weak link works correctly again.

As a workaround, you can add $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib to your Other Linker Flags build setting in Xcode. You'll want to remove that if and when you increase your deployment target past 10.13.

I wonder how this workaround actually works. When I check libswiftAppKit.dylib, the system tells me that this is x86_64 only file, still the project builds fine for both, x86_64 and ARM and also runs fine on ARM. That's against my expectations, I would expect the linker to complain when linking for ARM.
Sometimes when making an Analyzer build, I get a warning that libswiftAppKit.dylib is not available for all build architectures and whether I want to build for Rosetta instead. This meats my expectations far better but what I don't get is why I would only sometimes see this dialog and not every time I run an Analyzer build and also not when doing an Archive (aka Release) build.

Now that you mention it, I'm also a little surprised the linker doesn't complain. I would expect it to only be a warning, at least, and be a no-op when targeting ARM. And it's OK for it to be a no-op on ARM, because ARM support only goes back to macOS 11.

I do get a warning when linking the ARM binary:
Ignoring file libswiftAppKit.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64

I can confirm that it still happens with Xcode 15.0. I got alerted after receiving a negative review for my App Store app after publishing an update built with Xcode 15.0, which I thought still supported macOS 10.13. Why does it take so long to fix this issue?

I can confirm that it still happens with Xcode 15.0. I got alerted after receiving a negative review for my App Store app after publishing an update built with Xcode 15.0, which I thought still supported macOS 10.13. Why does it take so long to fix this issue?

This is a new issue in Xcode 15.0.
Problem was not present in previous versions.

This is a new issue in Xcode 15.0. Problem was not present in previous versions.

I mean that it still happens after all the beta releases.

The release notes of Xcode 15.1 beta do not address this issue at all. It's neither listed as solved issue nor as a known issue.
The release notes of Xcode 15.0 at least list that as a known issue:

Swift apps built with Xcode 15.0 crash on launch on macOS 10.13. (114820860)
Workaround: Add $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib to the Other Linker Flags build setting in Xcode. This should be removed when the deployment target is increased to 10.14 or later.

https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes
Good news are that another issue is solved with 15.1:

Fixed: Binaries using symbols with a weak definition crash at runtime on iOS 14/macOS 12 or older. This impacts primarily C++ projects due to their extensive use of weak symbols. (114813650)

https://developer.apple.com/documentation/xcode-release-notes/xcode-15_1-release-notes
That is unless you use weak symbols with LTO, this can still fail and is still listed as a known issue:

Weak symbol imports are linked as non-weak imports, when used from LTO object files. (115521975)
Workaround: Add -Wl,-weak_reference_mismatches,weak or -Wl,-ld_classic options to the OTHER_LDFLAGS build setting.

Since other problems with Xcode 15 prevents me from making a testable release build at the moment, I cannot test myself if Xcode 15.1 might also address 114820860 already and it's  just not in the release notes. I case it doesn't, at least there is hope that an upcoming beta might do so.

The release notes of Xcode 15.0 at least list that as a known issue:

Better than nothing. But if Xcode 15 officially supports macOS 10.13, then it shouldn't take so long to fix the issue. Since it was known from the beginning, Xcode 15 should have removed support for 10.13 at least as long as the issue wasn't fixed. Not everybody reads the release notes.

Solved in Xcode 15.1 beta

Solved in Xcode 15.1 beta

The Xcode 15.1 beta release notes don’t actually say that.

@michaeljtsai the fix was finally confirmed in the Xcode 15.1 Beta 2 release notes: https://forums.swift.org/t/regression-xcode-15-cant-build-swift-for-macos-earlier-than-10-15/66986/8

Beta 3 release notes state "Fixed: Swift apps built with Xcode 15.0 crash on launch on macOS 10.13. (114820860)"

Just put it to the test ... and the answer is: Fixed! 🥳
Xcode 15.1 Beta 3 can make builds that run on macOS 10.13 and you neither have to explicitly use the legacy linker (-Wl,-ld_classic), nor do you need the Swift compatibility hack ($(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib).
Now I only need to figure out, why those builds still crash on 10.14. They run fine on 10.13 and 10.15, but still crash on 10.14 as the dynamic linker still tries to load a symbol that apparently is not there. It fails in dyld::fastBindLazySymbol(ImageLoader**, unsigned long) and the symbol it cannot find is _$s7Network13NWProtocolTCPC7OptionsCMa, which is expected to be found in /System/Library/Frameworks/Network.framework/Versions/A/Network. Building the same Xcode project with Xcode 14.3.1 results in a build that works just fine on macOS 10.14

I am using Xcode 15 to compile my project against macOS 13.1 SDK (targeting macOS 10.9).
The compiled app ridiculously asks for SwiftUI support on macOS 10.9 and macOS 10.13.6.

Process:               vChewingInstallerLegacy [422]
Path:                  /Users/USER/Desktop/vChewingInstallerLegacy.app/Contents/MacOS/vChewingInstallerLegacy
Identifier:            org.atelierInmu.vChewing.vChewingInstallerLegacy
Version:               3.6.3 (3631)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           vChewingInstallerLegacy [422]
User ID:               501

Date/Time:             2023-12-26 21:57:28.868 +0800
OS Version:            Mac OS X 10.13.6 (17G14042)
Report Version:        12
Anonymous UUID:        C339FA0C-FB59-DEAA-8724-C5FE836A1F10

Time Awake Since Boot: 97 seconds

System Integrity Protection: disabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
  Referenced from: /Users/USER/Desktop/vChewingInstallerLegacy.app/Contents/MacOS/vChewingInstallerLegacy
  Reason: image not found

Binary Images:
       0x109173000 -        0x10919aff7 +org.atelierInmu.vChewing.vChewingInstallerLegacy (3.6.3 - 3631) <CD605A3A-57E2-3E3C-9DE4-8522F41A24E8> /Users/USER/Desktop/vChewingInstallerLegacy.app/Contents/MacOS/vChewingInstallerLegacy
       0x114801000 -        0x11484badf  dyld (551.5) <CB9BFB56-4511-36F1-A546-891FF770C01C> /usr/lib/dyld
    0x7fff29298000 -     0x7fff2a0f6fff  com.apple.AppKit (6.9 - 1561.61.100) <4E6EA3FA-8C2C-3B21-BFF9-6F8C458B7BE1> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff2aff8000 -     0x7fff2aff8fff  com.apple.Carbon (158 - 158) <F8B370D9-2103-3276-821D-ACC756167F86> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff2bc58000 -     0x7fff2c0fbfe7  com.apple.CoreFoundation (6.9 - 1455.300) <CB44B892-64CD-3E32-A518-6D40B1A7033F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff2c0fd000 -     0x7fff2c70dfef  com.apple.CoreGraphics (2.0 - 1161.21.5) <6451A561-3A83-37FB-AAA7-3FCE6D95C34C> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff2ddbc000 -     0x7fff2e183ffb  com.apple.Foundation (6.9 - 1455.300) <0479E072-1DD0-3881-A9A2-EDAD3EE58C23> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff2e49a000 -     0x7fff2e535fff  com.apple.framework.IOKit (2.0.2 - 1445.71.6) <4B5C715C-6A49-366B-9080-ABADE6A3B3BD> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff37ade000 -     0x7fff37e09fff  com.apple.security (7.0 - 58286.70.19) <E118FC23-2E20-3999-826B-58488049A277> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff50c23000 -     0x7fff50c24ffb  libSystem.B.dylib (1252.50.4) <5A02016C-8F9D-3F47-8C39-AD2CD4F9F11D> /usr/lib/libSystem.B.dylib
    0x7fff522dc000 -     0x7fff526ca7e7  libobjc.A.dylib (723) <843EFB54-EFCC-3A7C-BE11-092B6A556262> /usr/lib/libobjc.A.dylib

Model: VMware7,1, BootROM VMW71.00V.21805430.B64.2305221826, 4 processors, 3.04 GHz, 8 GB, SMC 2.8f0
Graphics: Display, 128 MB
Memory Module: RAM slot #0/RAM slot #0, 8 GB, DRAM, 0 MHz, VMware Virtual RAM, VMW-8192MB
Bluetooth: Version 6.0.7f22, 3 services, 26 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: VMware Virtual SATA Hard Drive, 42.95 GB
Serial ATA Device: VMware Virtual SATA CDRW Drive
USB Device: USB 2.0 Bus
USB Device: USB Bus
USB Device: VMware Virtual USB Hub
USB Device: Virtual Bluetooth Adapter
USB Device: VMware Virtual USB Keyboard
USB Device: VMware Virtual USB Mouse
Thunderbolt Bus:

I repeated this bug with Xcode 15.1 built-in SDK (targeting macOS 10.13).
It seems like an issue with Xcode itself. I am sending a DTS to Apple.

It seems like an issue with Xcode itself. I am sending a DTS to Apple.

Did you get any response from Apple?

@nickasd No. However, I found a workaround.
It might not work with you, but it worths trying.
The workaroud is: Disable "Generate asset symbols" for SwiftUI.
This option generates symbols for SwiftUI which creates SwiftUI dependencies.

Same bug here with Xcode 15.2/15.3 -
app crashing on customer systems with 10.13 and 10.14 due to SwiftUI being referenced.
The app uses AppKit, Obj-C, and Swift.
No SwiftUI whatsoever. Referenced nowhere, imported nowhere, nothing in the build log…
Still it's randomly referenced in the binary according to otool -L
The asset symbol workaround appears to work - so far…

Please be aware that a similar Xcode bug like the one discussed above has surfaced recently:
Search for FB13820420 on https://mjtsai.com/blog/2024/05/13/xcode-15-4/#xcode-15-4-update-2024-06-12

@fedoco
Thanks for your precious intel. My decision of keeping my mac at Xcode 15.3 is right.
 // Not talking about runing Xcode on it but let the apps built by Xcode run on it.

As a workaround, you can add $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib to your Other Linker Flags build setting in Xcode.

Is there a way to fix it with just the app binary using the install_name_tool?

Did I miss something? Did anyone left a message here 2 days ago?


The input: nexthop_type value "IPv4Gateway" does not work.

File: themes/default/content/registry/packages/alicloud/api-docs/vpc/routeentry/_index.md
Alibaba's API doc hasn't updated yet : https://api.alibabacloud.com/document/Vpc/2016-04-28/CreateRouteEntry?spm=api-workbench-intl.Product Home Page.0.0.5c594f450DeOKi
The GUI has IPV4 Gateway available to select.
Terraform registry has it but with small "p" not capital "P" (Didn't test if it works)
https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/route_entry
This affect Pulumi CLI as well.
PS. I'm not an experienced coder, so if I've made mistakes please kindly point out my error.

Thank you @ponlayookm for submitting this issue; while we look into the docs if you are feeling stuck and want to talk with our community engineers, we have a wonderful slack community here : https://slack.pulumi.com/ and folks would be happy to help


Add NGF telemetry data for TLSRoute

Proposed changes
Problem: NGF did not support telemetry for TLSRoute.
Solution: Add telemetry collection of TLSRoute.
Testing: Added unit tests for the updated code.
Closes #2286
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked that all unit tests pass after adding my changes
[x] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

Credit to @sarthyparty for the work done in the code, and @salonichf5 for testing the work on the xcdf side!


Add BlazorPages to Sample Projects section

There are some examples of how to deploy a client-side Blazor app to GitHub Pages manually,
but I have not found any where this is automated, or where the original source code is also
shown. Hence, I made this project in case it helps anybody.

Hello.
Thank you for the submission (and sorry for the delay).


Autoselect customer addresses

This PR adds support for default billing/shipping address as well as selecting the last used payment method resulting in less selection work and potential wrong selections

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/PT-10300
Please use this issue to track the state of your pull request.

hey @pascalheidmann-bedarf
thanks again for your contribution 👍
Sorry it took us so long to work on that one :see_no_evil:
Unfortunately we were not able to merge it, because to much did not work properly.

The customer search results in an exception because you removed the join to the billing address
re-adding this, lead to several issues on the ExtJs part.
the selection of the billing address does not work properly. it looks like the value is set correctly, but internally the event listener is not triggered and with this an event is not thrown, which triggers the recalculation. also the address is not shown under the select box like it would without your change.

Due to time and resource constraints we are not able to fix those issues on our own, so we must decline your PR.
Thanks again and keep up the good work :slightly_smiling_face:


Combo

Hello @Ice3man543 ,
Integrating SubOver in Subfinder become a great combo !

There's always the unix approach to consider - have each tool do one thing, and do it very well. Once we start integrating these kinds of features it takes aware from the core of subfinder: discovering subdomains.
I've spoken to a few people from other fields (marketing, for e.g.) using subfinder for tasks other than subdomain takeover discovery. I think that keeping this distinct difference is an important part of the project.
I'll leave this open in case any of the others disagree, but for my part, I think this would be against the projects intention.

I agree with codingo. Which is why we haven't added subover yet. And probably will not do so in future too.


List of Fridges : reduce panel width for desktop

List of Fridges : reduce panel width for desktop

Done using media queries


Change outdated jquery.autosize plugin cdn

As description says, http://www.jacklmoore.com/autosize/jquery.autosize.js is not there any more

Star.


Update Go dependencies

Build and works fine (tried start, status, logs, exec, pause, resume, stop)…


{CI} Add code gen report

Related command

Description

Run azdev statistics list-command-table in the Batch CI stage and collect codegen report data and send it to kusto db.
The table format is as follows:

build_id tyep: int
manual type: int
codegenv1 type: int
codegenv2 type: int
total type: int
is_release: bool
date: datetime (utc+8)
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

CI


Seeker bug when a parent element has an transform: translate property in CSS

Steps:
just add an transform property on any parent element of a player and try to click or drag the seeker

omfg thank you for pointing this out i have been banging my head against the wall for 30 minutes


Fixed an issue that the config of IkaUI was unexpectedly reset.

Changed to keep the previous value of context['config'].

Thanks!


WindowsError: exception: access violation writing 0x0000000000030000

I am using the explorer example as a basis for the below sample application
import pywinauto
import ctypes, os
import platform
import sys

print "Python info", sys.version
print "pywinauto info", pywinauto.__version__
print "system info", platform.uname()
is_admin = ctypes.windll.shell32.IsUserAnAdmin() != 0
print  is_admin
if is_admin:
    pywinauto.Application().start('explorer.exe "C:\\Python27"')

    # connect to another process spawned by explorer.exe
    # Note: make sure the script is running as Administrator!
    app = pywinauto.Application(backend="uia").connect(path="explorer.exe", title="Python27")
    print "Calling set focus"
    app.Python27.set_focus()

and I am getting the following error when I execute the above program on window 7 machine + python 2.7 idle version + pywinauto-0.6.5
Python info 2.7.8 (default, Jul  2 2014, 19:48:49) [MSC v.1500 64 bit (AMD64)]
pywinauto info 0.6.5
system info ('Windows', 'VSNAG3', '7', '6.1.7601', 'AMD64', 'Intel64 Family 6 Model 69 Stepping 1, GenuineIntel')
True
Calling set focus
Exception WindowsError: 'exception: stack overflow' in <bound method tagVARIANT.__del__ of VARIANT(vt=0x3, 26672)> ignored

Traceback (most recent call last):
  File "C:\Users\vsnag\Desktop\test1.py", line 18, in <module>
    app.Python27.set_focus()
  File "C:\Python27\lib\site-packages\pywinauto\application.py", line 368, in __getattribute__
    ctrls = self.__resolve_control(self.criteria)
  File "C:\Python27\lib\site-packages\pywinauto\application.py", line 246, in __resolve_control
    criteria)
  File "C:\Python27\lib\site-packages\pywinauto\timings.py", line 431, in wait_until_passes
    func_val = func(*args, **kwargs)
  File "C:\Python27\lib\site-packages\pywinauto\application.py", line 191, in __get_ctrl
    dialog = self.backend.generic_wrapper_class(findwindows.find_element(**criteria[0]))
  File "C:\Python27\lib\site-packages\pywinauto\findwindows.py", line 84, in find_element
    elements = find_elements(**kwargs)
  File "C:\Python27\lib\site-packages\pywinauto\findwindows.py", line 196, in find_elements
    cache_enable=True)
  File "C:\Python27\lib\site-packages\pywinauto\uia_element_info.py", line 279, in children
    return self._get_elements(IUIA().tree_scope["children"], cond, cache_enable)
  File "C:\Python27\lib\site-packages\pywinauto\uia_element_info.py", line 265, in _get_elements
    ptrs_array = self._element.FindAll(tree_scope, cond)
WindowsError: exception: access violation writing 0x0000000000030000

Can some one point me what I am missing?
The current user I am using has administrator privileges but is not "Administrator", would that cause a problem?

Same old bug https://github.com/enthought/comtypes/issues/98 ?

Binary type for C:\Windows\explorer.exe is 64-bit. Maybe it's incorrect size or alignment of data passed by comtypes to UIAutomationCore.dll. I need to debug deeper when I have time.


Peak shaving is missing from the GoodWe ET inverter operation mode

GoodWe has added a peak shaving mode in ARM version 22 for the ET series. See: https://community.goodwe.com/Forum/details/2c9180827a7b69a0017a94a74d0c0281
It is also mentioned in the manual.
This option is missing in Home Assistant
This feature was implemented by GoodWe for the Belgian market for example. There will be a peak tariff starting from 1/1/2023
Goodwe's implementation of the peak shaving might not be the most ideal, though it can be useful when it's combined with some smart logic, for example: connect car >> switch mode >> charge battery taking into account the maximum peak >> charge EV and stop when battery is depleted, repeat until car is full. >> switch back to general mode.
So, it's an important feature.
Also see: https://github.com/marcelblijleven/goodwe/issues/31

Available in v<IP_ADDRESS>


Add the BibTeX entry, add self-awareness keyword

add the BibTeX entry to the readme, as suggested by @Sohl-Dickstein. Will add  Ethan Dyer too, if @ethansdyer is ok with it

describe the many contributions of @joshrule and @ethansdyer in the readme. Thank you again, folks!

add "self-awareness" keyword, as suggested by @ethansdyer. Add to the "pro-social behavior" section, due to the potential importance of self-awareness in solving the alignment problem

It's a follow-up pull-request to #271

Thanks @RomanPlusPlus!


installing error

Hi, I'm trying to install the multimap tool using this command: " npm install @github/multimap"
But I have this errors:
`npm ERR! Linux 5.4.0-77-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "@github/multimap"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG
npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror     at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:190:5
npm ERR! typeerror     at /usr/share/npm/node_modules/slide/lib/async-map.js:52:35
npm ERR! typeerror     at Array.forEach ()
npm ERR! typeerror     at /usr/share/npm/node_modules/slide/lib/async-map.js:52:11
npm ERR! typeerror     at Array.forEach ()
npm ERR! typeerror     at asyncMap (/usr/share/npm/node_modules/slide/lib/async-map.js:51:8)
npm ERR! typeerror     at exports.loadRequestedDeps (/usr/share/npm/lib/install/deps.js:188:3)
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     http://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     /home/kermezly/npm-debug.log
`
any help, please?
Thank you.

It looks like you have an extremely old version of npm.  Could you tryin installing a newer version of node (which includes a newer version of npm?  If you want to keep the older version of node, you can also just update npm by running npm i -g npm@6


Added Step CI

Step CI is a API Testing and Monitoring tool

@mishushakov thanks a lot for your PR!
Merging

@garrrikkotua Thank you for including us! We're very grateful to be on the list among other awesome alternatives 😄


some fixes for windows

Q
A

Fixed issues?

Tests added + passed?
Yes

Changeset added?
Yes

Documentation PR link

Any dependency changes?
No

Closing in favor of https://github.com/finos/legend-studio/pull/431


all -> array_module.all

The builtin all requires the object to be iterable, which 0d arrays are usually not.
import numpy as np

all(np.array(True))

TypeError: iteration over a 0-d array

I pushed an alternate fix for this.


PR Request: Re-evaluate HTTP methods that won't write output

PR request from Alan:

It seems more than just GET won't write output to the HttpURLConnection

PR review can be found here.

Removed the following code:
if (httpRequest.getHttpMethod() != HttpMethod.GET) {
  connection.setDoOutput(true);
}

and added connection.setDoOutout(true) in the following block:
switch (httpRequest.getHttpMethod()) {
  case POST:
  case PUT:
  case DELETE:
    connection.setDoOutput(true);

This change should allow for other HTTP methods that will not write output (e.g., GET, TRACE, CONNECT, HEAD, OPTIONS).
Test classes are passing as expected. Committed changes to main branch.


feat: date range filter added to Questions Filters

#146  implemented date range filter for Questions.

This is awesome, thanks!


Tv power on if a send Off

Hi,
i have an inject node that on 1 am send an OFF to the tv, everiting works if tv is On.
BUT, i the tv is off from about 4-5 hours when the inject node send the Off, the tv turns On...
If i try after to send againg after some minutes that the tv is Off nothing append...
Why? Wol?
Tnx

Sorry for not answering.... I guess your TV behaves different than mine. Mine shuts down the Network interface and is not reachable on TCP/IP Level when it's off. Your's seems to keep the network interface alive... node-red-contrib-lgtv doesn't implement WOL.


Create Invalidations.yml

This is based on https://github.com/julia-actions/julia-invalidations. Adding such checks came up in https://discourse.julialang.org/t/potential-performance-regressions-in-julia-1-8-for-special-un-precompiled-type-dispatches-and-how-to-fix-them/86359. I suggest to add this check here since this package is widely used as a dependency.
See also SciML/MuladdMacro.jl#26 and SciML/MuladdMacro.jl#29

@oscardssmith @KristofferC @stevengj pinging you since you seem to have been active on this repo. It would be good to have this merged.


[Question] How to modify the CORS

I want to allow Azure Static Web Page to access to HTTP function that runs on KEDA on AKS.
The local setting is valid for debug mode. Is it possible to allow CORS at this moment?

Nope. The runtime doesn't handle CORS. It's handled either by the cli or the platform. You can open an ask here to add CORS support to the runtime itself.


Queries Fail if Not at the Bottom of the Workspace

The above query fails if the order of the blocks is reversed.

The problem was that the regular expression grabbing queries from the code was greedy. Resolved in dev.

The problem was that the regular expression grabbing queries from the code was greedy. Resolved in dev.


Consider switching to poetry

There are a variety of reasons why switching to poetry would be beneficial (example), especially at this early stage of the project.  Most notably, it allows us to remove the current overcomplicated setup.py/pyproject.toml/requirements.txt setup.
I'd be happy to open a PR for this if the project maintainers feel it would be beneficial. Thanks.

Rough pyproject.toml

[tool.poetry]
name = "sentiment-investor"
version = "2.0.0"
description = "Access the Sentiment Investor API through Python"
authors = ["Robert Stok<EMAIL_ADDRESS>readme = "README.md"
license = "MIT"

homepage = "https://sentimentinvestor.com/"
repository = "https://github.com/sentimentinvestor/sentipy"
documentation = "https://docs.sentimentinvestor.com/python/"

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/sentimentinvestor/sentipy/issues"

[tool.poetry.dependencies]
python = "^3.8"
requests = "^2.26.0"
websocket-client = "^1.1.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

So if I understand correctly, it is easier to switch now while the Python library is rather small, and it will save time in the long run by making dependency management and packaging simpler?

So if I understand correctly, it is easier to switch now while the Python library is rather small, and it will save time in the long run by making dependency management and packaging simpler?

Exactly. Compare this to https://github.com/bakdata/streams-explorer/pull/144, where they've got a lot more to transition due to their larger size.

I have taken a look at a few other projects on GitHub that use poetry, and personally, I think that this is a good idea.
If you open a pull request I would gladly merge it.


IndexError: index 1 is out of bounds for dimension 0 with size 1

Thank you for your efforts,

This issue occur when I train model with custom dataset. I did follow your guild

It looks like you're trying to train a new dataset using the pretrained weights (and the classes less than both COCO and Objects365). Currently, the code logic maps the Objects365 classes to COCO during finetuning if the categories are different. If you want to map to your own custom classes, you can customize the self.obj365_ids. Also, I’ve just updated the code in src/solver/_solver.py. Now, the mismatched class heads will be automatically skipped. You can choose the appropriate solution based on your situation.

It looks like you're trying to train a new dataset using the pretrained weights (and the classes less than both COCO and Objects365). Currently, the code logic maps the Objects365 classes to COCO during finetuning if the categories are different. If you want to map to your own custom classes, you can customize the self.obj365_ids. Also, I’ve just updated the code in src/solver/_solver.py. Now, the mismatched class heads will be automatically skipped. You can choose the appropriate solution based on your situation.
Thank you. Did these models support training huge image (img_size: 5300x3300)? I've got this error after fix the above error

It seems that this issue is related to the PIL library rather than the model itself.
During training, the model randomly resizes all images to a range of 400x400 to 800x800 to improve generalization. However, during inference, as long as there is enough GPU memory, there are no specific size restrictions. The problem arises from PIL's limitations on image sizes, and is clearly written in the Error Log.
I recommend checking the script located at tools/dataset/resize_obj365.py for preprocessing large images. This script can help you resize the images before training to avoid the decompression bomb error.

It seems that this issue is related to the PIL library rather than the model itself.
During training, the model randomly resizes all images to a range of 400x400 to 800x800 to improve generalization. However, during inference, as long as there is enough GPU memory, there are no specific size restrictions. The problem arises from PIL's limitations on image sizes, and is clearly written in the Error Log.
I recommend checking the script located at tools/dataset/resize_obj365.py for preprocessing large images. This script can help you resize the images before training to avoid the decompression bomb error.

Yes. This issue is related to PIL. So I added MAX_IMAGE_PIXELS = None in the function _decompression_bomb_check of PIL.Image to bypass this error. Thank you and have a nice day

You're welcome. Have a nice day~

Optional Custom Finetune Tutorial is added: eed6df6132098791c03c5c07d50fa84c415a7b7b


 Not able to open a casket.

🐛 Bug Report
Write a description of the bug here, give all the information you can about what it is, how it happened.

ive seen it not realize the casket is in the bank for a minute or two, can you try again


Please make a new release for windows with bug fixed.

I tried everything, but no method solved the problem, no bug fix, nothing, please make a compiled version for windows.

Release version doesn't work but building from source does. If you've got the tooling setup, building is as simple as:
npm run-script dist:win32
or
npm run-script dist:win64
Output goes to the build folder.

Could you please try last release?
https://github.com/emilioastarita/lyricfier/releases/tag/0.2.6
thx!


Running As Non-Root

This is just a general question about the falcon operator. If someone could please explain the use case for the product having to run as a privileged user if deployed within a kubernetes or openshift environment.
Is it possible that the service can run as a non-privileged user? Thanks in advance. :-)

Can you provide more info on which part of the operator that you are referring to since there are many workloads of varying permissions that get deployed to a cluster?

@redhatrises I really appreciate your prompt reply. Thanks so much. So there is another team that manages the falcon operator deployment within kubernetes / openshift and as result would be more familiar with the internals. The questions that I ask are just based on somethings that I've observed about the service.
To answer your question about which part of the operator, I believe it is the falcon node sensor which looks like it is deployed as a DaemonSet on each node in the cluster.
Now, based on your statement of "run as a native process on nodes", I believe you are speaking about a daemon running on the node that is managed by systemd on a Linux platform correct? If this is the case, from my understanding of how systemd works, you can manage a systemd process as a specific non-privileged user. Would that be the only reason that this security product would be configured to run with root privileges?
Btw, I am asking these questions because I am a part of a security team that manages how microservice architecture runs by setting guardrails.

It kinda is a misnomer for security software to be unprivileged. Since K8s manages the pods and containers, systemd doesn't manage the falcon sensor process on the nodes; K8s and the container runtime do. The sensor is privileged for several reasons:

It runs as a K8s native resource on each of the nodes.
Has to be able to look at all the processes including containers running
Has to be able to see what files/folder exist which RBAC and FACL might prevent access to.
For effective detection and prevention, can't run without privileges as you might not be able to see what is going on in the first place thereby missing an attacker's activity.
It runs as a kernel module or uses eBPF. Both require full root privileges. Full stop there.
Most K8s security recommendations to run as non-root are not written for many infrastructure services like filesystem managers and security but because many people were operating with bad practices and running with privileges for web services, etc.

Thanks @redhatrises for providing your insight on this. It does make more sense now.


Warm up hangs process if timed out and at INFO level 2.3.1

If logging level is set to info during the warm up post the main thread will be trapped in a loop.
Found in version 2.3.1, reproducable with below scenario (made a dummy timeout server) with logback.xml level=INFO.
It seems the HttpEngine.warmpUp() catches the timeout exception which then calls e.rootMessage which calls rootCause() where e.getCause will return a cause who's own cause is itself.
    def rootCause: Throwable = {
      var cause: Throwable = e
      while (e.getCause != null) {
        cause = e.getCause
      }
      cause
    }

import scala.concurrent.duration._
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._

class RecordedSimulation extends Simulation {

	val httpProtocol = http
		.baseURL("https://google.com")
		.warmUp("http://localhost:8081/timeout")
		.inferHtmlResources()
		.acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8")
		.acceptEncodingHeader("gzip, deflate")
		.acceptLanguageHeader("en-US,en;q=0.9")
		.userAgentHeader("Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36")

	val scn = scenario("RecordedSimulation")
		.exec(http("request_0")
			.get("/"))
	setUp(scn.inject(atOnceUsers(1))).protocols(httpProtocol)
}

Fixed as of a18bc2678c6ce830794c7717bebd68b551965294 on master.
Thanks for reporting


iOS: Update log prefix for device logs. We don't use SkyShell anymore

Fixes https://github.com/flutter/flutter/issues/868

lgtm

Done. Rebased.


Grains insecure for targeting sensitive data

Grains are controlled by the minion, so targeting sensitive data via grains is not secure. A compromised minion could modify its grains. The only grain that is safe is id, since the master enforces that the id grains must match the minion ID on the accepted key.
So the example:
"If a template contains a grain which evaluates to a list, it will be expanded into multiple policies. For example, given the template saltstack/by-role/{grains[roles]}, and a minion having these grains:
The minion will have the policies saltstack/by-role/web and saltstack/by-role/database."
Is not necessarily a secure way to target your secrets as a compromised minion could simply change its role in order to retrieve secrets it should not be able to access.  I think there should be a warning next to this example that grains are controlled by minions and therefore insecure.
I think that a more appropriate support for targeting would be pillar data.  Is that a possibility?

Closing now. Looks like this has been addressed by saltstack and will be in the the next major release. https://github.com/saltstack/salt/issues/43287

See my comments in the linked issue and PR. Also, I should add a note on this repo that it has been merged to saltstack main.


golly: not drawing center area

Issue description
I can run golly just fine, it seems to compute, but it doesn't draw the playing field (center area) at all.
Steps to reproduce

nix-shell -p golly --run golly
center area not redrawn

Technical details

System: 17.09pre-git
Nix version: 1.11.7
Nixpkgs version: 17.09pre102667.2839b10

Oh how interesting. Apparently, Golly uses OpenGL in some complicated way: the drawing works for me with DRI_PRIME=1 but not without (i.e. it works via nouveau but not via i965/modesetting).
Maybe takin upstream beta release from their Git will help, no idea. Will try at some point.

This is as far as I got from git, doesn't seem to want to compile, something with fpermissive.
pkgs.golly.overrideDerivation (attr: rec {
      version = "20170322";
      name = "golly-${version}";
      src = pkgs.fetchgit {
        url = "git://git.code.sf.net/p/golly/code";
        rev = "9d9c61b019759115559d9fac756a5d745f533b59";
        sha256 = "0wpg2wk17kn4qywjvwyjmf2s09c4bf5gm5rlxapb63n2cr867apc";
      };
      sourceRoot="code-9d9c61b/gui-wx/configure";
      NIX_CFLAGS_COMPILE = "-fpermissive";
      buildInputs = with pkgs; attr.buildInputs ++ [ autoconf automake ];
      preConfigure = ''
        ${attr.preConfigure}
        patchShebangs autogen.sh
        ./autogen.sh
      '';
    })

OK, I added 2.9b2 just to test; on my system it is not better — maybe you will be more lucky. I have DRI_PRIME mode anyway…

Hmm, yeah, I don't have DRI_PRIME mode. I'll try it on the nvidia system.
2017-03-22 16:55 GMT+01:00 Michael Raskin<EMAIL_ADDRESS>
OK, I added 2.9b2 just to test; on my system it is not better — maybe you
will be more lucky. I have DRI_PRIME mode anyway…
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/24204#issuecomment-288445729,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAnfpAEkldLX2JNIhV6-Art3ZovypqYpks5roUR6gaJpZM4MlF-D
.

Well, maybe golly-beta would work better for you, although the chances
are not too high.
Actually, what should fix something is what I have just pushed to
master: a switch to fresher wxGTK.

Seems to be working now.


How to embed script into Interpreter

Hi there,
Thank you very much for your Rebol fork. It's great and saves a lot of work!
The thing that I want to ask is that I have script that I can run with Rebol interpreter, but is it possible to somehow embed the script into the rebol executable file so that it could be run as an executable?
I found out that for Carl's Rebol there was something called encap:
http://www.rebol.com/docs/sdk/encap.html
Is something similar available here?
What to look for?
Thank you,

Hi... it depends how much skills do you have?
If I remember it well (I was not using the old Rebol SDK), it just merged multiple scripts together and than somehow attached the single script to the app binary, so it was done without need to compile anything. That is not supported for now.
But if you are able to compile own Rebol, than it is rather easy. Good (and only) example how to do it is the Siskin Builder utility, which I use to build Rebol itself. It is actually a customized Rebol.
It is compiled using this specification file: https://github.com/Siskin-framework/Builder/blob/master/tree/rebol/siskin.nest
If you read the file, you can see, that there is a section with some parts of the Rebol sources, custom mezzanine files and an entry script.
Also quite useful are these 2 defines, to let the compiler know, that we are not building just an ordinary Rebol, but a custom app.
I don't think it is perfect... but it works for me so far and I can use GitHub action to build binaries for all main systems directly from web.
Things to be improved in the current process:

instead of including multiple scripts like it is now, there must be a way, how to preprocess these into the single file, like it was done with the SDK.
it is possible to have Rebol as a library and the utilities could be just like the host files.. I still try to keep this possibility alive.. for example lib-rebol3-core-windows-x64.dll and host-core-windows-x64.exe, where the exe is only 37kB and the library could be shared between multiple apps.

There was one day also an extension for embedding scripts to R3, but I am not sure, how much open sourced it was and where the sources are.

Hi... it depends how much skills do you have? If I remember it well (I was not using the old Rebol SDK), it just merged multiple scripts together and than somehow attached the single script to the app binary, so it was done without need to compile anything. That is not supported for now.

Thank you  for quick reply. Indeed I was looking for something like you said in the beginning - that works without compilation. But since it's currently not supported I'll dive deeper into Siskin Builder with the help of links that You provided.
Thank you very much :)


Send header with image Url

Hey, guys, it's kinda weird that I have to post this in issues section, but I've a question, I'm currently working on a project in which I've to implement a search component for people, the search component uses ng2-completer to fetch people info from secured API. For the retrieval of profile images, the API requires the client to send auth_token in request header, but I've no idea how to send it in the request headers when ng2-completer request for images, do you guys have any solution or workaround????

@asimhashmi RemoteData has requestOptions in which you can set the request options including the headers
this.dataRemote = completerService.remote(
            "http://server.example.com?",
            "name",
            "name");

let options = new RequestOptions({headers: new Headers()});
options.headers.set("Authorization", token);
this.dataRemote. requestOptions(options);

@oferh Thank you for your reply, I'm already sending the headers with RequestOptions, as you described and it's working fine. But the real problem is that, headers are not sent when the image is fetched in the suggestion list, is there any way so I may be able to send the authorization token in the image request too?


Loss of Quality

Hey,
I am saving a .jpg image with a width of 1700px:
$img->fit_to_width(1700)->save($new_file, 100);
Even though quality is set to 100, the result is very blurred.
Do you have any idea what could be the reason/a solution?
Thanks!

Could be the resampling that happens in the resize() method. Need to see the image to know for sure.

Also, is the original image bigger or smaller than 1700px? There would be obvious quality loss if the image was smaller, otherwise it shouldn't be too bad.
For further consideration, please attach the image in question so we can test it out :)


Resume previous Search for Images with previous downloaded image state and only download new image which haven't been downloaded yet / Recude duplicate Downloads

Example Query for reference:
ddgs images -k "hitman game" -r wt-wt -type photo -m 5 -d

Result:

Folder 1:

Folder 2:

Is your feature request related to a problem? Please describe.
For each Query to the same keywords a new directory is opened and the same Images will be saved. (Or small differences)
Describe the solution you'd like
That I can specify (maybe with a new parameter -r (for resume)) if DDGS should only fetch and download images that aren't available in my previously created directory or in a state-file.
Describe alternatives you've considered
As of now I can't think of an alternative besides an Index-Value which tells DDGS what number of images I already have and only fetch the images with greater index from the API.
I assume that the API returns a pagable response so one could skip Pages which should contain a somewhat fixed amount of elements. So when I say skip X Elements it should skip the first Y pages and the remaining Elements. (Pseudo-Code :D )
Additional context
none

The results of image searches are always partially different, so it is not possible to compare images based on their indexes.
Images are not always downloaded successfully due to various reasons - inaccessible url, blocking by ISP or the site itself.
What you want to do requires working with images and their comparison, most likely it is possible to do it, but it goes far beyond the tasks of this package.


Robot accelerometer and gyro use example

A new example is needed that demonstrates the use of Cozmo's:

accelerometers for measuring acceleration along the x, y, and z axes
gyro for measuring agular velocity around the x, y, and z axes

Yes this would be nice, also add an example for cube  acceleration


Windows 10 Build 1809 Automatic Updates GPO ignored

Please update your documentation accordingly: on Windows 10 build 1809 the setting "Automatic Updates - deactivated" is ignored. Updates are downloaded anyway, despite the documentation suggesting otherwise. (At the moment, the documentation misleads the reader to think this setting overrides any other settings for automatic update installation. Which appears to be WRONG.)
Its mitigation caused a significant strain and workload in my department, which given current times is less than welcome.
Please fix.

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

ID: 4d9a7aaf-447d-a2dd-d7f6-828f277a00ea
Version Independent ID: c3dd7389-454f-870d-5502-46544d6336dc
Content: Step 4 - Configure Group Policy Settings for Automatic Updates
Content Source: WindowsServerDocs/administration/windows-server-update-services/deploy/4-configure-group-policy-settings-for-automatic-updates.md
Product: windows-server
Technology: wsus
GitHub Login: @eross-msft
Microsoft Alias: lizross

... and it appears that the documentation clearly states "Applies to: Windows Server*" and not Windows Desktop/client.
Oh well. Please re-target my (mis-filed) suggestion to add to this page instead: https://docs.microsoft.com/en-us/windows/deployment/update/waas-wu-settings#configure-automatic-updates
My apologies for the sleep-deprived feedback.

@deucalion  Happens to the best of us...thank you for taking the time to comment :) I'm going to go ahead and close this.


Frontend does not ignore required validations from backend

Description of the bug
Apps that enable "RemoveHiddenDataPreview" gets the benefit of backend validation of components that are marked "required": true (or an expression that evaluates to true). This is great because it ensures that users that open devtools, or deliver schema using the API, also is forced to answer all the required questions before submitting.
A problem is that backend during validation does not know what language the user wants their messages, so it can't really say anything more than required and indicate the field and component that triggered the error. I suggest to improve it somewhat in https://github.com/Altinn/app-lib-dotnet/pull/217, but as frontend already generates great warnings for empty required fields, the result will always be a duplicated validation message. I think the best solution is to just ignore any validation error with "code": "required" so that frontend can handle required independent of backend. (there probably need to be some way to show the error in case frontend thinks the instance is OK, but backend still thinks required values are missing).

Steps To Reproduce

Enable "RemoveHiddenDataPreview"
Add components with "required" to the schema
Trigger validation with empty required components
See that you get double error messages for required where one just states TODO required

Additional Information
No response

@RonnyB71 @olemartinorg I'd like to be able to resolve this mess with TODO required showing up in frontend, because I feel it has my name written all over it. Any ideas/preferences?
I currently see a few possible solutions:

Add default translation text for TODO required, or just change the text to remove TODO (easy, but does not solve the problem that frontend also does this validation, and it causes duplicate errors for users.)
Ignore "code": "required" validations in frontend in redux. (there would need to be some way to show the errors before submitting in case the validation in frontend works differently and OK in frontend fails in backend.)
Be intelligent in frontend on display, and ensure that only a single required validation is shown to the user, and obviously prefer the pretty client side one with proper translation and included question text.

I'd prefer number 2 as a temporary solution, but with that said, the whole validations system is due for an overhaul (and I think the plan is to start discussing solutions there very soon). I think it's better to look into the whole problem area instead of playing whack-a-mole with every bug in this category right now.

Workaround has been manually tested and verified to work. 🥳 Thanks!

I think it's time to close this one, and live with the workaround we already have. It is even less temporary now than it was back when we started talking about it as temporary.. 😉
As for the overhaul: https://github.com/Altinn/app-template-dotnet/issues/180


Deleting code out of .js file doesnt stop triggers at runtime

I've both commented and deleted the code for UWU jails in an attempt to stop interference with the jail plugin my static is using. However, cactbot's jail functions still execute, causing overlap, and subsequently, wipes unless i disable audio callouts.
Things I have done:

Commented the code in the .js
Deleted the code
Removed cactbot from my plugins and added it back
Deleted the plugin cache in %appdata%

Yes, that is 100% true.  The individual trigger file js files are not used, so you cannot modify them and have any effect.  You should use the cactbot config ui to disable triggers.
See: https://github.com/quisquous/cactbot/blob/main/docs/CactbotCustomization.md#using-the-cactbot-ui

Let me know if you have any other questions.  I think this is answered, so I will close it for now.


Replaced cumbersome shared generic base class

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-13 of 63 (79.37%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.4%) to 80.679%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/fis/adapters/inbound/fastapi_/routes.py
3
4
75.0%

src/fis/core/ingest.py
24
28
85.71%

src/fis/ports/inbound/ingest.py
21
29
72.41%

Totals

Change from base Build<PHONE_NUMBER>:
-1.4%

Covered Lines:
309

Relevant Lines:
383

💛  - Coveralls


Deployment stuck for service.

The deployment is stuck on service.
Manual stack termination is needed. (No build error)
The project is rather small, so the build time should not be the problem.

RUN poetry config virtualenvs.create false \
  && poetry install --no-dev --no-interaction --no-ansi

CMD ["python", "src/main.py"]

error
Deploying birdzview-fargate to stage dev (eu-central-1, "default" provider)

✖ Stack birdzview-fargate-dev failed to deploy (1804s)
Warning: Publication to Serverless Dashboard errored with:
            The security token included in the request is expired
Environment: linux, node 16.11.0, framework 3.22.0, plugin 6.2.2, SDK 4.3.2
Credentials: Serverless Dashboard, "default" provider (https://app.serverless.com/timpolyma/apps/birdzview/birdzview-fargate/dev/eu-central-1/providers)
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
The security token included in the request is expired

PS: It works when adding schedule.
fargate:
  memory: "4GB"
  cpu: 2048
  logGroupName: fargate-log-group
  tasks:
    daily:
      image: python
      service:
        spot: true
      schedule: "rate(1 minute)"

The container is supposed to be triggered by a lambda.
So I would need it without the schedule option.

I have the same issue.
Works:
fargate:
  tasks:
    process-updates:
      image: my-image
      memory: '2GB'
      cpu: 512
      schedule: rate(10 minutes)

Forever in create:
fargate:
  tasks:
    process-updates:
      image: my-image
      memory: '2GB'
      cpu: 512
      service:
        desiredCount: 1

I think I'm seeing a similar problem - since this has been open since last year, is this still being looked at?

https://stackoverflow.com/a/66802973
Need to enable assignPublicIp if using an ECR image + public subnet due to a recent AWS update. Or attach a NAT gateway or ECR VPC endpoint if private (more expensive).


middleware/etcd: more tests

Add a test which enables caching and debug queries and make sure
the debug query does not overwrite the cache.

Current coverage is 39.64% (diff: 100%)

Merging #342 into master will not change coverage

@@             master       #342   diff @@
==========================================
  Files           103        103
  Lines          5103       5103
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2023       2023
  Misses         2904       2904
  Partials        176        176

Powered by Codecov. Last update 89a2912...f31d7e7


[BUG] Volume snap meta file getting deleted

HI,
We have observed it multiple times where the volume snapshot metadata file is getting deleted and as a result, PVC is getting stuck in init state
if you see the below screenshot, the log on the right is of longhorn manager and on the left side you can notice that the snapshot meta file is missing
You guys have handled this scenario for volume.meta file via this github issue but in the underlying PR I don't see this being handled for snapshot meta file https://github.com/longhorn/longhorn/issues/4846
We have been waiting for longhorn 1.3.3 from quite sometime to consume this fix, can you please fix snap meta file issue as well in 1.3.3 such that we don't have to wait for another release

cc @mantissahz

lh-bundle.zip
Please find the attached support bundle

@rajivml 1.3.3 was just released.

oh :( ,  if there is a hotfix release for 1.3.3, please have it included in the same as volumes are not getting recovered automatically from this state

I mean the issue has been fixed in 1.3.3 and 1.3.3 just released today. @rajivml

@innobead just want to confirm once again,
I see that this PR is only dealing with volume.meta and not snapshot meta https://github.com/longhorn/longhorn-engine/pull/775/files
Can you please confirm if the snapshot meta issue is also fixed in 1.3.3

cc @mantissahz @derekbit

Hi @rajivml,
Snapshot metadata files in the replica directory is only way now we get the snapshot live chain information. If snapshot metadata files (such as a snapshotA will have 3 replicas of metadata files on three nodes in default) are empty or deleted in all replica directories, the chain will be broken and it is hard to recover it. The Engine CR of volume might have correct information in engine.status.snapshots (but it seems difficult to get the info at longhorn-engine.)

@mantissahz these snap meta files, we aren't deleting the same manually, either they are not been written to disk by longhorn for some reason or they are getting deleted due to some other unknown reasons but the deletions are not manual

The case is weird.
The problematic volume is pvc-8e631c76-a6d5-454f-b2ef-70a672b233a0.
Its snapshot resource volume-snap-uipath-s-3bbc2fef-da42-4667-b60b-2bd8d22d5e6 doesn't exist.
engine.status.snapshots is empty snapshots: {}.
The useful log messages in the support are gone.
@rajivml Can you provide the content of *.meta in the pvc-8e631c76-a6d5-454f-b2ef-70a672b233a0 replica directory?
@shuo-wu @PhanLe1010  Do you have any idea for this issue?

Hi @derekbit

Can you provide the content of *.meta in the pvc-8e631c76-a6d5-454f-b2ef-70a672b233a0 replica directory?

We don't have this env anymore.
Earlier we had similar issue with volume.meta file where we have added self-healing logic to recreate missing volume.meta file. I am not sure about the root cause causing volume.meta file deletion, but same behaviour we are observing with snapshot meta file here.

@mynktl
I see. Will you provide support bundles and the associated information when detecting the issue in the future? We can further investigate and figure out the root cause.

support bundle
list of the replica directory
content of the *.meta in the replica directory

For now, we are keeping finding the culprit on our side and see if we can enhance the resilience.
cc @rajivml @mantissahz

@c3y1huang Please help with this one first before negative testing.


Error with custom RPCs/LCDs: "Failed to connect el.match is not a function"

Hello,
I recently started to see errors in the networks where I have custom RPCs/LCDs configured.
This is my networks.local.json file:
{
  "cryptoorgchain": {
    "restUrl": [
      "http://xxx:yyy"
    ],
    "rpcUrl": [
      "http://xxx:yyy"
    ]
 },
 "terra": {
   "restUrl": [
      "https://terra-lcd.stakely.io"
    ],
    "rpcUrl": [
      "https://terra-rpc.stakely.io"
    ]
 },
 "cosmoshub": {
    "restUrl": [
      "https://cosmoshub-lcd.stakely.io"
    ],
    "rpcUrl": [
      "https://cosmoshub-rpc.stakely.io"
    ]
  },
  "secretnetwork": {
    "gasPrice": "0.25uscrt"
  },
  "desmos": {
    "gasPrice": "0.01udsm"
  }
}

The JSON file seems to be fine and has been working properly for weeks.
This is the error I get with the networks I have with custom providers (cryptoorgchain, terra, cosmoshub)
 Failed to connect el.match is not a function

Many thanks in advance

Hey sorry an update broke this but it was fixed last night. Latest master should solve it

Many thanks, I just updated the code and it is working fine again.
Keep up the great work