Wavelet multi-level ：Direct reconstruction with upcoef

Pywt.upcoef can implement a layer of decomposition and reconstruction of wavelets in Python, but after multi-layer decomposition, it is wrong to reconstruct data.

try this
waveletname = 'db4'
dwt_coeffs = pywt.wavedec(signal, waveletname, level=5)
y_5level_idwt =
pywt.upcoef('a', dwt_coeffs[0][:], waveletname, level = 5, take = len(signal))\

pywt.upcoef('d', dwt_coeffs[1][:], waveletname, level = 5, take = len(signal))\
pywt.upcoef('d', dwt_coeffs[2][:], waveletname, level = 4, take = len(signal))\
pywt.upcoef('d', dwt_coeffs[3][:], waveletname, level = 3, take = len(signal))\
pywt.upcoef('d', dwt_coeffs[4][:], waveletname, level = 2, take = len(signal))\
pywt.upcoef('d', dwt_coeffs[5][:], waveletname, level = 1, take = len(signal))
plt.plot(t,y_5level_idwt)


Lock issue

When:
lockable, in_use == false in the warden config file i'm getting this exception:
File: model/user.php, line 224
elseif ($record->is_access_locked()) {
    throw new Warden_Failure('locked');
}

The is_access_locked() function returns return !$this->is_lock_expired(), and in the function **is_lock_expired()" returns false  when lockable is disabled... the false will be returned to the first call as true, and we have an exception even with lockable disabled

Are you using the latest version of warden?
------Original Message------
From: Andreo Vieira
To: Andrew Wayne
Subject: [warden] Lock issue (#15)
Sent: Nov 4, 2011 8:17 PM
When:
lockable, in_use == false in the warden config file i'm getting this exception:
File: model/user.php, line 224
elseif ($record->is_access_locked()) {
    throw new Warden_Failure('locked');
}

The is_access_locked() function returns return !$this->is_lock_expired(), and in the function **is_lock_expired()" returns php false  when lockable is disabled... the false will be returned to the first call as true, and we have an exception even with lockable disabled

Reply to this email directly or view it on GitHub:
https://github.com/dre1080/warden/issues/15
Sent via my BlackBerry

Yes


Allow special stages to always show their symbol regardless of their status

As an author, I want to be able to set a special stage to always show its icon even if it is locked.

Resolved by https://github.com/otacke/h5p-game-map/commit/e8b1d8477cf6ed9d1205f9850db3b497a4f22aae


Framework Support

Question
What frameworks are needed?
Frameworks:

React
Vue
?

@caschberg @gabriellengoo & @JanWilczek do you need any support for frameworks?

Whats new?

React Support
If you want to take a look on the first working beta see react-cookify. Let me know if you have any ideas.

Framework Support & Features
For a better overview of the Framework Support & Features ist here


Events Focused and Unfocused do not fire.

Bug
Events Focused and Unfocused do not fire.

Version Number of Control: <IP_ADDRESS>
Device Tested On: Any
Simulator Tested On: Any

Expected Behavior
Tapping in an XfxEntry or XfxComboBox should invoke the Focus event.
Tapping out of an XfxEntry or XfxComboBox should invoke the UnFocus event.
Actual Behavior
Neither event is called
Steps to reproduce the Behavior
Perform the steps in Expected Behavior

Fixed in af4c8f1677a8756527dee5bebeffb89656cf8ae8


Missing code samples

The following rules(?) don't have a code sample:

P4
P6
P9
P10
P11
P12
P14-P34

Those are still in progress! Additionally, some of them need an illustrated example instead of a code snippet.


TLS 1.2 client certificate authentification

Hi, is there a way for send the certificate when opening a page? The webpage that I try to open requests a certificate right at the opening (https://forexe.mfinante.gov.ro). I can get it done with HttpURLConnection but I need to enable javascript that's why I'm trying with htmlunit.
SSLContext sc = SSLContext.getInstance("TLS");
sc.init(new X509ExtendedKeyManager[] {km}, null, null);
URL url = new URL("https://webserviceapl.anaf.ro/prod/FCTEL/rest/stareMesaj?id_incarcare=" + msg.id_incarcare);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
if (connection instanceof HttpsURLConnection) {
((HttpsURLConnection) connection)
.setSSLSocketFactory(sc.getSocketFactory());
}
connection.setConnectTimeout(100000);
connection.setReadTimeout(100000);
connection.setInstanceFollowRedirects(true);
connection.setDoOutput(true);
I need to include that SSLContext in HtmlUnit somehow if it is even possible...

You can have a look at the class org.htmlunit.httpclient.HtmlUnitSSLConnectionSocketFactory to find all the details of the current impl.
The SSL Context it created by this code
final SSLContext sslContext = SSLContext.getInstance(protocol);
sslContext.init(getKeyManagers(options), new X509ExtendedTrustManager[] {new InsecureTrustManager()}, null);

and getKeyMangers looks like this
private static KeyManager[] getKeyManagers(final WebClientOptions options) {
    if (options.getSSLClientCertificateStore() == null) {
        return null;
    }
    try {
        final KeyStore keyStore = options.getSSLClientCertificateStore();
        final KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(
                KeyManagerFactory.getDefaultAlgorithm());
        keyManagerFactory.init(keyStore, options.getSSLClientCertificatePassword());
        return keyManagerFactory.getKeyManagers();
    }
    catch (final Exception e) {
        throw new RuntimeException(e);
    }
}

Means you can provide your own 'SSLClientCertificateStore'. Is that sufficient for you?

And how can I provide my own Store? I think I just need to replace the SSLContext instantiated by me, but I don't see how xD

try (InputStream certificateInputStream = getClass().getClassLoader()
        .getResourceAsStream("insecureSSL.pfx")) {
    final byte[] certificateBytes = new byte[4096];
    certificateInputStream.read(certificateBytes);

    try (InputStream is = new ByteArrayInputStream(certificateBytes)) {
        webClient.getOptions().setSSLClientCertificate(is, "nopassword", "PKCS12");
        webClient.getOptions().setUseInsecureSSL(true);

        final URL https = new URL("https://localhost:" + PORT2 + "/");
        loadPage("
test
", https);
    }
}

I can't use webClient.getOptions().setSSLClientCertificateStore(); is not public...
And a second problem would be that I don't have a PFX file. I have a USB stick that the browser need to acces and request the password. The certificate is installed in Windows.

The sample above uses setSSLClientCertificate and this is public.
You can create a your own certificate store and add the certificate to this one....
But yes you are right the was is a bit hard at the moment. Will have a look but this might require some time.

Can you please give me some more details about your use case - what do you have to do when using a real browser.

On this website https://forexe.mfinante.gov.ro/ there is a table with some files that I need to download once a month. I want to automate it. But the website require a Digital Signature Login, a certificate from a USB (same one that I use to sign PDFs for the government). I can't get past that login. And after the login the page is javascript generated and I can't use HttpsURLConnection...
The USB Signature has a software SafeNet Authentification Client. I think the login system is called TLSv1.2 authentification.

can you please check the source code of the web site for some Applet or ActiveX plugin....

maybe you can use the Keytool to remove the expired ones?
https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html

I think the problem is that the InputStream that I send to webClient.getOptions().setSSLClientCertificate is ignored somehow. I think it loads again all the certificates from "Windows-MY"...

any chance to debug it at your end?

If you mean TeamViewer or smth, no I can't... Company PC and stuff xD

no the idea is that you are debugging this ....

will check later today (i have a real job - this means i have to attend to some meetings :-D)

public void setSSLClientCertificate(final InputStream certificateInputStream, final String certificatePassword,
        final String certificateType) {
    try {
        sslClientCertificateStore_ = getKeyStore(certificateInputStream, certificatePassword, certificateType);
        sslClientCertificatePassword_ = certificatePassword == null ? null : certificatePassword.toCharArray();
    }
    catch (final Exception e) {
        throw new RuntimeException(e);
    }
}

private static KeyStore getKeyStore(final InputStream inputStream, final String keystorePassword,
        final String keystoreType)
                throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException {
    if (inputStream == null) {
        return null;
    }

    final KeyStore keyStore = KeyStore.getInstance(keystoreType);
    final char[] passwordChars = keystorePassword == null ? null : keystorePassword.toCharArray();
    keyStore.load(inputStream, passwordChars);
    return keyStore;
}

public KeyStore getSSLClientCertificateStore() {
    return sslClientCertificateStore_;
}

Maybe you can write your own test options class with only these methods and a private KeyStore sslClientCertificateStore_; property. And then use this instead of the options in the code above to figure out what is going on here.

https://www.pixelstech.net/article/1452337547-Different-types-of-keystore-in-Java----Windows-MY
Maybe you have to do something in the setup to add support for this kind of keystore and maybe the input stream is ignored by the load method if you use this type????

I have cloned the repo, made some changes, but how can i compile it to JAR so i can test it on my app?

you need maven (or an ide supporting maven)
then
mvn package -DskipTests

mvn package -DskipTests gives me a Node error wtf xD
node:internal/validators:440
throw new ERR_INVALID_ARG_TYPE(name, 'Function', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "cb" argument must be of type function. Received undefined
at makeCallback (node:fs:198:3)
at Object.mkdir (node:fs:1360:14)
at target.init (C:\Users\User 12\AppData\Roaming\nvm\v18.17.0\node_modules\mvn\target.js:25:10)
at Object. (C:\Users\User 12\AppData\Roaming\nvm\v18.17.0\node_modules\mvn\target.js:39:8)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v18.17.0

mvn - not npm :-D

Have you maven installed?

Yeah i did "npm i -g mvn" and "npm i -g maven" and with " mvn package -DskipTests" i get that Node error xD

Yeah long weekend xD. Got it to work with intellij xD

I think I have solved (atleast for my use-case) with this in the getKeyStore function from WebClientOptions.java :
    Enumeration<String> en = keyStore.aliases();
    List<String> aliases = new ArrayList<>();

    while (en.hasMoreElements()) {
        String aliasKey = en.nextElement();
        Date certExpiryDate = ((X509Certificate) keyStore.getCertificate(aliasKey)).getNotAfter();
        Date today = new Date();
        long dateDiff = certExpiryDate.getTime() - today.getTime();
        long expiresIn = dateDiff / (24 * 60 * 60 * 1000);

        if (expiresIn < 1) {
            aliases.add(aliasKey);
        }
    }

    aliases.forEach(a -> {
        try {
            keyStore.deleteEntry(a);
        } catch (KeyStoreException ignored) {
        }
    });

@alexvrv what do you think about adding a filter parameter to setSSLClientCertificate() to provide a lambda for doing the code you did?
And maybe providing a default impl of that filter that did the removal of expired certs

Is there a point for a lambda parameter? Who would need to use expired certificates? Maybe a function to explicitly set a Certificate not a keystore would help more.

ok, sounds reasonable, let me think a bit ;-)

@alexvrv , decided to go another was. Now (starting with 3.6.0-SNAPSHOT) there is a new method WebClientOptions.setSSLClientCertificateKeyStore(KeyStore, char[]) allowing you to provide your own keystore.
For your case you can decorate/wrap your real keystore and use this wrapped keystore then for HtmlUnit.
Will be great if you can try this solution with the latest snapshot build.
Hopefully this will make your code also a bit simpler and more readable (and you do not need to use a patched version of HtmlUnit).

Only the build.gradle.kts will be a bit simpler, the code will be more complex because I need to filter the keystore before sending it to the webClient. Anyway, the 3.6.0-SNAPSHOT needs to be manually compiled right?

no you don't need to build it yourself - look at https://github.com/HtmlUnit/htmlunit at the end of the page

I have tried this: implementation("org.htmlunit:htmlunit:3.6.0-SNAPSHOT") but I get the following error: Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.htmlunit:htmlunit:3.6.0-SNAPSHOT.

The snapshots are in a separate repository - please have a look at the whole gray area on the page....

Yep, my bad sorry xD

no prob

Just tested it, the code works as intended. Thank you! :D

but do not close this, i like to spend some minutes to update the docu

some docu added, will close this.


Added support to 'loc-key' and 'loc-args' parameters to APNS.

https://issues.jboss.org/browse/AGPUSH-1563
:dart: Targets: master and 1.1.x

Hey @godness84 , thanks for update!
I'd leave on @corinnekrych or @sebastienblanc to check the update itself as I'm not that familiar with java-apns  and APNs message format itself. For me it seems valid. :-)
However I can speak for code-style - I will comment on the files inline.

As you update the formatting and placement of the new arguments, could you please also add a doc update here: https://github.com/godness84/aerogear-unifiedpush-server/blob/master/push/model/src/main/java/org/jboss/aerogear/unifiedpush/message/UnifiedPushMessage.java#L60-L61
and the test needs to be fixed as you can see from Travis build log: https://api.travis-ci.org/jobs/101864583/log.txt?deansi=true

Could you please also create an issue in JIRA and link it back here in Pull Request description?

@godness84 thanks for lot of updates, but consistency is a good thing :smiley:

Lukas, see AGPUSH-1563
On Tuesday, 12 January 2016, Lukáš Fryč<EMAIL_ADDRESS>wrote:

@godness84 https://github.com/godness84 thanks for lot of updates, but
consistency is a good thing [image: :smiley:]
—
Reply to this email directly or view it on GitHub
https://github.com/aerogear/aerogear-unifiedpush-server/pull/669#issuecomment-170957158
.

--
Sent from Gmail Mobile

Yes, you're right, indentation is wrong, maybe my editor messed up.
As @matzew pointed out, the issue in JIRA has been already created and linked back.
ASAP I will do what you asked me :)

Perfect, thanks @godness84 !

@lfryc, I did my homeworks :) Let me know if there is still something wrong

:+1: seems great now! thanks @godness84

Merging...

Thanks. This pull request has been integrated manually.

Great, thanks @lfryc !

:rocket: landed master: https://github.com/aerogear/aerogear-unifiedpush-server/commit/8c19aaec50f3fc2c3ca4f3cef453dffc59e7a1f6
:rocket: landed 1.1.x: https://github.com/aerogear/aerogear-unifiedpush-server/commit/c368c070ef7ed854b4b562fc906b975790cbd8e5


fix(runtime-core): checkDuplicateKeys in patchKeyedChildren&mountChildren

close #3082
consistent with Vue2

if the code is being refactored there must be a test case that was failing before

if the code is being refactored there must be a test case that was failing before

if the code is being refactored there must be a test case that was failing before

makes sense, I added the test cases

if the code is being refactored there must be a test case that was failing before

makes sense, I added the test cases

If you can, please rebase your code in your PR, which helps us understand your solution.
Thanks ^_^

If you can, please rebase your code in your PR, which helps us understand your solution.
Thanks ^_^

https://github.com/vuejs/vue-next/issues/3082#issuecomment-850608712


Cannot seem to post multiple files to action expecting List

I've read the section concerning uploading multiple files in your README. I am trying to post multiple files to an ASP MVC action. The action signature looks like this:
 public JsonResult AddPictures(List <HttpPostedFileBase> albumPictures, long albumId)
I am assigning 'fileFormDataName' to an array of file names. However 'albumPictures' is always null when the data arrives at the server. I must be missing something. Can you offer any advice?

function uploadRapidPhotos(photos, rapidAlbumId) {
        var deferred = $q.defer();
        var fileNames = [];
        angular.forEach(photos, function(value) {
            this.push(value.name);
        }, fileNames);
        $upload.upload({
            url: configuration.host() + '/Photo/AddPictures',
            method: 'POST',
            fileFormDataName: fileNames, //array of filenames
            data: { albumId: rapidAlbumId }, //second parameter. This works fine
            file: photos //array of files ($files)
        }).success(function() {
            deferred.resolve();
        });
        return deferred.promise;
    }

Hi Martin, Im also facing issues with uploading multiple files, this is really helpful please tell more about object photos.
is it a array of formdata objs of files?
plse help me to process from <input type "file" object like filecntrl.files[0]


ignoreInitial: false vs. getWatched

if you set ignoreInitial: false
essentially it fires the on('add')/on('change') handlers when the watcher has initialized.
what I am looking for is watcher.on('ready').   I don't think this is in the docs.
IMO the initial firing should fire watcher.on('ready'), it should not be firing watcher.on('change') or watcher.on('add').
Sorry if I mistaken about this. Is there something akin to watcher.on('ready')?

Yes, there is exactly that, the ready event. It is in the readme, and it is reflected in the example.js file in the repo as well.

sorry! :(


Implement guild chunker internally

At the time of writing this, the GuildChunker is not used internally anywhere. It should be used when requesting the chunks on the initial GUILD CREATE. This might require a rewrite on how it works.
As an addition. hikari.api.chunker should be renamed to hikari.api.guild_chunker

I think a safe way of implementing this would be using a chunking descriptor.
Something similar to this:
class GuildChunks:
    # defaults to None until the first chunk is received.
    # after that, contains the remaining chunk indicies
    # to return.
    # empty set implies completion, None implies not
    # started.
    _remaining_frames: Optional[set[int]] = None
    # map, instead, maybe?
    _future: asyncio.Future[Collection[Member]]

    def __await__(self):
        return self._future.__await__()

This object can be cached for the duration of the request, which means requesting chunks for a guild while already waiting would not send a duplicate request, but just share the awaiting GuildChunks.
This object would also contain the event listener.

This object can be cached for the duration of the request, which means requesting chunks for a guild while already waiting would not send a duplicate request, but just share the awaiting GuildChunks

What about if ppl are specifying a name pattern or array of ids for their chunk request instead of just requesting every member

@FasterSpeeding true. In this case it would be sensible to rechunk, I guess.

btw what memory implications could having the lib store a member twice on start up with one being stored dependent on whether something has been marked as complete or timed-out here and what kind of approach might be suitable for marking events as timed-out on such an arbitrarily large scale

Closed by #424

Closed by #424


Programatically select item from list that have duplicated name

When I call $(selector).typeahead('val', 'city1') to select one item with name 'city1' in list of items where there is duplicate name in two item, typeahead select first item instead of what i want
For example here I want to select item with id 2:
https://jsfiddle.net/or3u1bgh/7/

My guess is that you're using bloodhound alongwith Typeahead. In that case, you should use the identify() function for this. Identify is a function which should return a unique value for every suggestion.
identify: function (suggestion) {         return suggestion.val;        // suggestion.val should be unique    }
Check out the fiddles on this tutorial


[Feature Request]: Ability to add custom search engine/website to agent

Is there an existing issue for the same feature request?

[X] I have checked the existing issues.

Is your feature request related to a problem?
No

Describe the feature you'd like
Making it possible for the agent to also search on a custom website/database, which require an API and Endpoint.
Describe implementation you've considered
No response
Documentation, adoption, use case
Imagine you classify that a "special search" in another kb is needed. Therefore it will call the other source by using its API and Endpoint to do so, retrieves the top results and so on.

Additional information
No response

Do you mean this:

Not quite, here you use DuckDuckGo, Baidu and Co. What if I have some other App, which also conducts searches on custom datasets, but it needs an API and Endpoint


Create a waiting room for participants who are not yet needed for the task

Once the simulation is ready for them, the waiting room sends the participant to the experiment. This isn't needed yet, but will become quite useful when we need sets of people to be simultaneously present.

This issue was moved to Dallinger/Dallinger#74


php artisan db:seed [ReflectionException] Class DatabaseSeeder does not exist Version [v5.5.18]

Laravel Version: v5.5.18
PHP Version: 7.0.9
Database Driver & Version: pdo_mysql

Description:
In a tipical collaboration scenario php artisan db:seed needs to be preceeded by composer dumpautoload because a git pull could fetch seeders are not yet in your autoloaders.
A warning in the doc could show this need.
Steps To Reproduce:

Team member A execute artisan make:seeder NewSeeder
Team member A config added NewSeeder
Team member A commit and push on central repo
Team member B execute git pull
Team member B see only a seeder has been added
Team member B execute artisan db:seed
Team member B receives the following error

[ReflectionException] Class NewSeeder does not exist

Developers should know to run composer dump when new classes are added

This isn't a bug and can be closed


Support for Python 3.13

As of August 2024, Numpy now supports Python 3.13. I have heard numpy was the only dependency blocking support for Python >3.12, so if that is true, umap should be able to support 3.13 as well?

Numba is the the main dependency that tends to be a blocker. I am not aware that they support 3.13 yet, but likely will soon.

Sorry, I meant to say numba now supports 3.13, as seen on their releases page .

Numba is the the main dependency that tends to be a blocker. I am not aware that they support 3.13 yet, but likely will soon.

Well In this case I seem to be unable to install umap on Python 3.10.
error: Failed to prepare distributions
  Caused by: Failed to download and build `llvmlite==0.36.0`
  Caused by: Build backend failed to determine requirements with `build_wheel()` (exit code: 1)

...

  File "<string>", line 55, in <module>
  File "<string>", line 52, in _guard_py_ver
RuntimeError: Cannot install on Python version 3.10.15; only versions >=3.6,<3.10 are supported.


observedAttributes on custom elements does not work

the attributeChangedCallback and the start of observation is only fired if there is an attribute on the custom element. https://github.com/WebReflection/linkedom/blob/main/cjs/interface/element.js#L266
if you have a custom element with no attributes the attributeChangedCallback is never called.
mdm docs:
Note that to get the attributeChangedCallback() callback to fire when an attribute changes, you have to observe the attributes. This is done by specifying a static get observedAttributes() method inside custom element class - this should return an array containing the names of the attributes you want to observe:
we need some like jsdom did: https://github.com/jsdom/jsdom/blob/master/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js#L156-L162

beside the fact I don't care what jsdom does as it's not a goal of this project to be another jsdom, as stated in the README, can you please provide a minimal example of what's the issue here? the code coverage tests Custom Elements and if an element has no attributes then the callback doesn't fire even with native custom elements so I am not sure what are you after.

unhöflich antwort...
i fork this and go ahead with myself


Restore pull and push buttons to the Source Control Graph view title

In the new version (1.94) the pull and push buttons were removed from the Source Control Graph view title.
Before the update, I had:

After the update, only the fetch button remains, and the pull/push buttons were replaced by new buttons with different functionality:

I think the pull/push buttons were useful and should be restored.

Already requested at https://github.com/microsoft/vscode/issues/229574#issuecomment-2394986858

And in https://github.com/microsoft/vscode/issues/226839#issuecomment-2394744543
@lszomoru I suggest these get reinstated (they'd be contributed to scm/history/title by the built-in Git extension). Users who see them as bloat can easily hide them into the ... menu.

those buttons are very useful to me.
if someone prefer one kind of display on another, maybe add a preference in the settings to choose which buttons to display ?

Thanksgiving.

Fixed in https://github.com/microsoft/vscode/pull/234091. Buttons will appear/be enabled if the current branch is contained in the filter of the graph.

Verification steps:

Launch VS Code Insiders
Open a folder/workspace that contains a git repository
Open the "Source Control Graph" view

Confirm that the "History Item Ref" picker in the view title is set to "Auto"
Confirm that the view title contains the "Pull" and "Push" actions
Confirm that the "Pull" and "Push" actions actions work as expected

Use the "History Item Ref" picker in the view title to select a branch other than the current branch

Confirm that the view title contains the "Pull" and "Push" actions but they are disabled

/verified


关于部件分割和分类任务中的特征最大值池化问题

作者您好，感谢你们开源的好工作。
对于下面的代码我有点疑问，面对经过多层mamba之后的特征矩阵（B,N,C），分类是对N进行了最大值池化，变成了（B,1,C）这个我可以理解，但是部件分割代码变成了对C进行了最大值（平均值）池化，变成了（B,N,1），请问这个怎么理解呢？

During segmentation, the max pool and average pool are utilized as global features, which are then concatenated with the point-wise feature (line 531).
Please refer to our paper or the Point-MAE paper for more details.

同理，在我看来有图分类任务中，global特征的提取是可以理解的，即对1这个点数的维度做池化。

We simply follow Point-MAE for fair comparison, which is also used by other work.
https://github.com/Pang-Yatian/Point-MAE/blob/11f4c99f60e2f635e40d23ccaf21ec9aa42705ef/segmentation/models/pt.py#L279

ok thanks~

I am going to close this issue. Feel free to open another issue or reopen this one.


feat(applications): update format for komorebi v0.1.23

[x] I have formatted applications.yaml with komorebic fmt-asc.

Removes comments and border overflow identifiers

I like the cleaning up of the database. I was wondering though whether it could make sense to preserve some comments as actual yaml-comments. E.g.,
float_identifiers:
  - kind: Title
    id: Window Spy
    matching_strategy: StartsWith
    # Uses `StartsWith` to also match `* for AHKv2`

  float_identifiers:
  - kind: Exe
    id: CredentialUIBroker.exe
    matching_strategy: Equals
    # Targets the Windows popup prompting you for a PIN instead of a password on 1Password etc.

I have found them useful in the past for understanding the purpose of some rules, and they might be of use for future maintenance.


goctl error: Unknown flag: --remote

it has already fixed on https://github.com/zeromicro/go-zero/pull/1739


[WIP] Add osx 2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Verbose log for posterity:

[ 34%] Linking CXX static library libsentencepiece_train.a
cd $SRC_DIR/build/src && $BUILD_PREFIX/bin/cmake -P CMakeFiles/sentencepiece_train-static.dir/cmake_clean_target.cmake
cd $SRC_DIR/build/src && $BUILD_PREFIX/bin/cmake -E cmake_link_script CMakeFiles/sentencepiece_train-static.dir/link.txt --verbose=1
$SRC_DIR/build/x86_64-apple-darwin13.4.0-ar qc libsentencepiece_train.a CMakeFiles/sentencepiece_train-static.dir/builder.cc.o CMakeFiles/sentencepiece_train-static.dir/unicode_script.cc.o CMakeFiles/sentencepiece_train-static.dir/trainer_factory.cc.o CMakeFiles/sentencepiece_train-static.dir/trainer_interface.cc.o CMakeFiles/sentencepiece_train-static.dir/unigram_model_trainer.cc.o CMakeFiles/sentencepiece_train-static.dir/word_model_trainer.cc.o CMakeFiles/sentencepiece_train-static.dir/char_model_trainer.cc.o CMakeFiles/sentencepiece_train-static.dir/bpe_model_trainer.cc.o CMakeFiles/sentencepiece_train-static.dir/sentencepiece_trainer.cc.o CMakeFiles/sentencepiece_train-static.dir/pretokenizer_for_training.cc.o
Error running link command: No such file or directory
make[2]: *** [src/CMakeFiles/sentencepiece_train-static.dir/build.make:242: src/libsentencepiece_train.a] Error 2
make[1]: *** [CMakeFiles/Makefile2:317: src/CMakeFiles/sentencepiece_train-static.dir/all] Error 2

Running into the same problem as #15. I'll keep this open because I cannot test macOS locally but currently no idea how to fix this.

Closing in favour of #17


Support before and after reset arguments

Implement different reset modes to allow the user to change the default behavior.

This will also allow solving https://github.com/esp-rs/espflash/issues/346 as you could use --before no-reset-no-sync and monitor the target without reseting it.


chore(RHTAPWATCH-1043): fix Kubelinter issues

Fix Kubelinter issues in Konflux ci.
This will be done by removing checks out of the excluded checks and solve them one by one

Fix Kubelinter issues in Konflux ci. This will be done by removing checks out of the excluded checks and solve them one by one

I'd suggest reducing the scope of the PR for a single exclude, or maybe if you take no-read-only-root-fs you can have it together with run-as-non-root.
if needed (maybe for the resources errors), you can even have a single exclude line fixed by multiple PRs (i.e. we only remove the exclude after we fix the last offending manifest).

/retest

@yftacherzog it worked and I have managed to release succesfully.


Chore(deps): bump go.mongodb.org/mongo-driver from 1.3.2 to 1.5.1

Bumps go.mongodb.org/mongo-driver from 1.3.2 to 1.5.1.

refer to #2391


Read and write json files

Added methods to VariantCollection:

variants.to_json_file(filename)
VariantCollection.from_json_file(filename)

Also fixed initialization of end property from basic fields.

LGTM


it should remove the loop or something XD

https://github.com/GamerJoep/MinetopiaVehicles/blame/5365deb7ad1848b9a05f2634213e62f686543c2d/src/main/java/nl/mtvehicles/core/listeners/VehiclePlaceListener.java#L51C27-L51C27

https://github.com/GamerJoep/MinetopiaVehicles/blame/5365deb7ad1848b9a05f2634213e62f686543c2d/src/main/java/nl/mtvehicles/core/listeners/VehiclePlaceListener.java#L51C27-L51C27

What is the Problem?

it's y+1 spawnLoc.getY() + number one in the loop, maybe should be y+ i

it's y+1 spawnLoc.getY() + number one in the loop, maybe should be y+ i

No, the code you mean should only check the location above the clicked block and save it, so spawnLoc.getY() + 1 is correct.

okay i got it


Click with modifiers versus click without modifiers

Version
2.3.4
Reproduction link
https://jsfiddle.net/50wL7mdz/42772/
Steps to reproduce
Ctrl   click the element in the jsfiddle.
What is expected?
Only one event should trigger.
What is actually happening?
Both events trigger.

I believe there should be a distinction between clicks with modifiers and those without, for I feel there would be some redundancy without the distinction. Yeah, for general cases this is a non-issue, but with the distinction we would at least crunch down on the definitions to what signifies a click and a click with modifiers.

This is expected behaviour, if you want to have better control over what code is executed, you should do the key filtering yourself inside the event callback and keep one single @click handler


🐛  Duplicate reports of lints

VS Code version
1.88.0
Extension version
2.2.2
Biome version
1.6.4
Operating system

[ ] Windows
[X] macOS
[ ] Linux

Description
When a lint error occurs,
the tooltip displays multiple time the same issue

Steps to reproduce
have an error on a file, hoover to display full error message
Expected behavior
one reported once
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Logs
No response

hum 🤔  no... i reloaded the biome lsp  but not the window...
i guess there was a dirt in the pipe somewhere 🤷


Citation Needed (Possible test results to make use of)

Hi Martin,
@richardlehane sent me a link to this repo. It's really cool! I hope to give it a try sometime.
I notice in your README you have 'citation needed' for quicker format identification when using a restricted signature file. It may or may not help, but I've just been doing some work on the opposite - DROID being slower for certain subsets of file format because of their signatures - my suggestion as a potential workflow optimization was to restrict the signature file using a tool like this or Richard's ROY tool for Siegfried.
Maybe check out the report, and if it's useful it may provide a useful testing reference. http://openpreservation.org/blog/2016/08/22/digital-preservation-stage-boss-one-the-performance-of-file-format-identification-tools-vs-checksum-generation-tools/
Cheers,
Ross

Hi Ross,
thanks a lot for you input and sorry the reply took so long - vacation, other work, iPRES, whatever ;-) Your report was indeed a very interesting read. I think the variable length signatures in PRONOM certainly deserve a closer look ...
Anyway, I built some benchmarking tools to compare the performance of DROID using different signature files (commit ad37d86bd1daf819deafd6813a87eaff51b1b3df - may be useful for you too?). Just have to write down the results so I can insert a blog post link or something instead of the TODO marker.
Best regards,
Martin

Can't believe this took me half a year, but anyway. I now wrote a blog post about the performance gained by minimizing the DROID signature file and referenced it in the README file.


⚠ Bofrost.fr has degraded performance

In 38a5e9a, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1050 ms

Resolved: Bofrost.fr performance has improved in dba4000 after 6 minutes.


Add discord as plattform

As we're already using it it would be lovingly to use discord to recover team communication..
Please also add stuff to the README.md so we can find the channels..

I don't want to use a closed source application with a non-standard protocoll.
Furthermore I highly doubt that more devs have Discord instead IRC.
It is not only about the current team members, but also how we can recruit new ones.

I'd love if just some way of communication is going. It would be awesome if we'd be somehow reachable. where did our bouncers go?
I agree: we shouldn't use discord (and btw no one joined me on there, so "we are using it already" when none gave a crap is not really true). Its philosophy isn't appealing to me either.
 People are never reachable in IRC. Plus point of IRC however is that everyone got it.
So we ideally need some sort of document-able chat like communication. E-Mails are too slow, Mumble isn't document-able,
But first thing is: Getting IRC back working.
Well
Discord is CEF based... We need some sort of communication and community system (personal messages, maybe contacts). Why not combine these things together and get some own chat messenger going? If we need bots we could still copy the API of either Discord or some alternative

Did we give up on Teamspeak? I agree, a public (maybe even VOIP alternative to chat only) would be nice! I lost track of you guys in Teamspeak. Please update communication platforms as soon as possible :)

@MartinMuzatko We never used Teamspeak. Some of us are regulary on Mumble. Have a look at https://github.com/inexor-game/code/wiki/Contact

He meant that @Croydon, he joined there from time to time.
@MartinMuzatko: Sure we still use it! If you want I can give you a summary of whats changed to get you back on board. :+1:
(either on IRC or mumble today or tomorrow evening)

Close in favor of #352


New 申请

😀 申请人 Applicant

GitHub: willin

🌏 领养宠物 Adopt pets

dolphin
bear
canary

Invited. Please check your email.

Closed. If have any questions, free to leave a comment below.


Do we need a more sophisticated health check for deis-router?

This is unrelated to application health checks.
On each platform we support, load balancers are configured with a health check that just tests whether anything is listening on port 80.  This means any node in a Deis cluster that is running the deis-router reports back as "healthy" and is therefore included in that load balancer's pool of instances it can send traffic to.
Where this breaks down is the case where Kubernetes is the scheduler.  If the deis-kube-proxy component should fail on any given machine, then the consequence is that even though a router instance might be alive and well on that same machine, application traffic sent to that machine will never reach a pod.
Is it possible that deis-router should include a more sophisticated health check endpoint where a 200 is returned if the router is able to route traffic?  Here, "able" is probably defined as the deis-router component is up and healthy, and, if applicable, deis-kube-proxy is as well.
Ping @bacongobbler for thoughts.

Yes, if we are redirecting traffic to the service's virtual IP address for an app then we should probably do a health check against the proxy, or else the router will not be able to serve traffic. I see that there's https://github.com/kubernetes/kubernetes/pull/5984 which may help with the implementation.

Refs #4222 -- we should fix this at least before k8s becomes the default scheduler.

kube-proxy has its own healthcheck endpoint: localhost:10249/healthz
I think what I'd like to do is modify the router to implement a healthcheck enpoint of its own.  If etcd key /deis/controller/schedulerModule != "k8s", then that endpoint can respond with a hard-coded 200.  (Meaning if router is up, router is "healthy.")  If /deis/controller/schedulerModule == "k8s", then that same endpoint will be a proxy for kube-proxy's own healthcheck endpoint.
@mboersma @bacongobbler would that implementation make sense?

And a shout out to @aledbf for informing me of kube-proxy's own healthcheck endpoint.

Yes that was the endpoint that I pointed out in the kubernetes PR :)

@bacongobbler sorry!  I looked at that PR and once I saw that it was using monit, I think i stopped reading.  I was thinking a separate babysitter process doesn't help us much since that's all built into Fleet anyhow.  But I see now that PR uses the aforementioned health check.  Sorry for not grokking that the first time around.

I would like to see a better health check on the router even without k8s as the scheduler.  I have previously had a one off incident where confd broke and re-wrote all of my templates in an invalid format causing the router to be entirely unfunctional.  This was only detectable as an intermittent routing failure since one of the other routers was still functional.

I have previously had a one off incident where confd broke and re-wrote all of my templates in an invalid format causing the router to be entirely unfunctional.

If the router is entirely non functioning, wouldn't even the existing healthcheck fail anyway?

@krancour The only existing health check I see for an AWS deployment is a ping and as long as the router container is running that passes.

It's not a ping.  It's a check whether anything is listening on port 80.  If nginx is down, nothing is.  If you encountered some circumstance where confd wrote bad nginx config and still kept serving traffic on port 80, then whatever happened there had to have been an extreme outlier and I'd need more concrete information to go on in order to do anything about detecting that.  For now, my main concern is accurately detecting the case when a router can't do its job not because it is down, but because its downstream kube-proxy is down.

So this is a little harder to do than it looks, although I still feel it should be done.
The major barrier I am encountering at the moment is that the kube-proxy only binds to 10249 on <IP_ADDRESS> and not on the host's private IP.  This makes it impossible for the containerized router to proxy kube-proxy's health check endpoint by passing traffic to the host's private IP.
Ping @aledbf.  Any thoughts?

@krancour why not just change the default kube-proxy value of --healthz-bind-address=<IP_ADDRESS> to --healthz-bind-address=<IP_ADDRESS>?

I was digging and found that just as you posted it.  :)  That should solve the problem.

Thanks @aledbf !


Replace CTF flag-action texts

CTF flag-action texts should say 'Your team' instead of ' team' when it applies to your team.
For example:
"Red's flag has been taken by SDK" should be something like
"Your team has captured the Red flag."
Thoughts?

Sure, it should be like this in my opinion

I agree, it always felt like there was something annoying about those messages

If a flag returns to the base it still shows the text in old style.


chore(examples): update vue-apollo example

https://github.com/nuxt/nuxt.js/pull/5333 should be obsolete with this

Codecov Report

Merging #5345 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #5345   +/-   ##
=======================================
  Coverage   95.66%   95.66%
=======================================
  Files          74       74
  Lines        2513     2513
  Branches      639      639
=======================================
  Hits         2404     2404
  Misses         92       92
  Partials       17       17

Continue to review full report at Codecov.

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


Moving location(1), mskconnect(3) resources to v1beta1 version

Moving location (1) resource to v1beta1 version

[ ] aws_location_map

Moving mskconnect (3) resources to v1beta1 version

[ ] aws_mskconnect_connector
[ ] aws_mskconnect_custom_plugin
[ ] aws_mskconnect_worker_configuration

mskconnect will be skipped - will have an error:
make run
23:29:13 [ .. ] go build linux_amd64
github.com/upbound/provider-aws/apis/kafkaconnect/v1beta1
github.com/upbound/provider-aws/apis/kafkaconnect/v1beta1
apis/kafkaconnect/v1beta1/zz_generated.resolvers.go:70:42: cannot use mg.Spec.ForProvider.Plugin[i3].CustomPlugin[i4].Revision (variable of type *float64) as type *string in argument to reference.FromPtrValue
apis/kafkaconnect/v1beta1/zz_generated.resolvers.go:82:63: cannot use reference.ToPtrValue(rsp.ResolvedValue) (value of type *string) as type *float64 in assignment
23:29:17 [FAIL]
make: *** [go.build] Error 1
aws_location_map - now in skip list, and we will se an error if try to run make generate with unlocked this resource:
21:18:16 [ OK ] go modules dependencies verified
21:18:17 [ .. ] go generate linux_amd64
panic: cannot run goimports for internal folder: ./controller/location/map/zz_controller.go:7:9: expected 'IDENT', found 'map'
./controller/location/map/zz_controller.go:9:1: expected ';', found 'import'
./controller/zz_setup.go:449:1: expected 'STRING', found 'map'
./controller/zz_setup.go:704:2: expected 'STRING', found 'for'
./controller/zz_setup.go:1392:3: expected 'STRING', found 'if'
./controller/zz_setup.go:1393:4: expected 'STRING', found 'return'
./controller/zz_setup.go:1396:2: expected 'STRING', found 'return'
./controller/zz_setup.go:1397:3: expected ')', found 'EOF'
: exit status 2
goroutine 1 [running]:
github.com/upbound/upjet/pkg/pipeline.Run(0xc002090300, {0xc0005a2900, 0x31})
/Users/sschegolevatych/go/pkg/mod/github.com/upbound/upjet@v0.8.0-rc.0.0.20221115075453-606a1db65fa2/pkg/pipeline/run.go:126 +0xae5
main.main()
/Users/sschegolevatych/Documents/upb/provider-aws/cmd/generator/main.go:42 +0x47f
exit status 2
apis/generate.go:28: running "go": exit status 1
21:18:40 [FAIL]


Add an all tokens, or active tokens, option to the Token tab

As a product designer using Token Studio, I should have an option to view all tokens that are currently available within the constraints of the active theme options from a single view in the Tokens tab, so that I can quickly find and use a token.
Is your feature request related to a problem? Please describe.
As a design system team we provide a multi-dimensional set of themes with axes on color mode, dimensional scaling, density, and brands. In order to provide tokens for all those dimensions in a reasonably maintainable way we have token definitions spread across over a dozen files. Our product designers, or design system users, are experiencing a significant amount of friction with the current UX of the Tokens tab as they have to guess at which file in the left navigation will contain the token that they want to use.
Describe the solution you'd like
I think our product designers, and all users of Token Studio, would experience greatly improved token discoverability and reduced frustration when searching for a token if there was an option to populate the Tokens tab with all tokens available with the currently selected theme or theme options. This would put all available tokens at the designers fingertips, presumably enable a global search of the entire token set using the search bar at the top of the Token tab, and effectively let our product designers use the tokens without having to learn or concern themselves with the file structure of the token themes. I'd expect that most of the time they'd collapse the left navigation and simply choose tokens from the master list and change theme options as needed.
I think this could be relatively easily addressed (from a design and UX perspective, no comments on implementation difficulty) by adding an "All Tokens" option at the top of the file list, similar to how Figma does with the "All variables" option in the variables editor:

As these values would be calculated against the current theme configuration, one challenge I could see arising is if a user attempted to Edit a token from the proposed "All Tokens" view, since that view is an aggregate of several files at any particular point in time. One approach would be to edit the token definition from whichever file is being expressed for that particular token at that moment, perhaps changing the menu option from "Edit token" to "Edit token in [filename] file". Another would be to simply forgo the ability to edit the token while in the "All Tokens" context.
Describe alternatives you've considered

We've made some attempts to mitigate this by having a 'base' tokens file that includes an instance of each token in the system as the top file in our token package file sets, that we synchronize to our "default" theme values. This has created another set of challenges as it causes us to maintain an extra set of duplicate token entries in our token packages. Additionally, the concept of "default" is increasingly difficult to define as our token theming options have expanded. Our implementation of this approach has been difficult to get to work as expect with "Create styles" and "Create variables" features; requiring us to manually update style/variable references in the $themes.json files to get sensible results. Some early experiments lead us to believe that we would have to refactor our token themes away from this 'base' file approach if we want to effectively use Token Studios variable creation feature.
We've also experimented with using our token transform tool to generate a product designer only (read only) version of our token package. This process creates single files with definitions for all tokens for each permutation of our theme options. While this is sort of workable, it doesn't scale well as we add more theming options and are generating an ever increasing number of files. This approach requires that we QA a larger set of design outputs for our token themes, build non-trivial logic into our token pipeline, and to pay special attention to Figma style and variable references as we generate in these files.

Both approaches, while mitigating the overall issue to a certain extent, don't provide relief for all Token Studio users, deviate from DRY principles, and feel like anti-patterns for maintaining and scaling design token usage across our organization.

Here is a mockup of one way this might be handled:

One thing I'd add here is that Create token, Edit token, Delete token as well as Duplicate token would work very differently in this view. The plugin currently works very set-centric (and should move away from that a bit), but I'd see huge value in this feature so I'd like to see it sooner than later.
I would suggest for the short term we do the following:
Create token
When users hit + to create a new token in any category while viewing All tokens, we show a dropdown letting users choose which token to create in.
Edit token
When users hit Edit token show a secondary menu showing all the token sets this token exists in, letting them choose the one they want to edit
Delete token
When users hit Delete token, show them a secondary menu showing all sets this token exists in, but add an additional Delete from all sets. When clicking a set, it would delete from that set (or all)
Duplicate token
When users hit Duplicate token let them choose the token from the original set they want to copy from.

Note that these are not ideal, and as a user I just want a single Edit operation. This would require a refactor of how we let users edit tokens (and show values from other sets side by side for example, or with a simple switch), but that can be a second step and one we include in a general refactor of Editing.

@six7 this request feels a little similar to #1139

This request has been moved to our new feedback tool. Go check out https://tokensstudio.featurebase.app/ to create a free account. You can upvote and comment on existing posts, make a new request, and subscribe to be notified when requests move into our roadmap.

Added to Featurebase Roadmap : 🪙 Token organization enhancements


Fix types

Build version: 2.2.1-pr-23.121 :crossed_fingers: fix-types on Travis :tada:

:tada: This PR is included in version 2.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Refactor lsl stream

Refactor the lsl stream and player
Changes in imports
new test for lsl data stream
integrate fixtures in lsl testing

@SamedVossberg Sorry to mess currently with your PR. I realized however when working today on the documentation, that there was quite a serious issue with building the documentation (a package was not properly installed due to versioning mismatches).
Therefore I had to remove nbsphinx and pandoc dependencies.
I realized that this will affect your PR here, and also the examples contribution you've prepared. So I merged my RMAP documentation changes changes into this branch here, which will prevent having to resolve merge conflicts later.
All of those changes don't affect your code.
Just as a heads up, I will now work on embedding your example ipynb into a html file that can be included into the rst, so it's compatible with the current documentation setup.

@SamedVossberg Are you still working on changes in this branch? Otherwise the changes look fine imho and I would merge

Works for me and can be merged.

Mhh, so after the discussion here: https://github.com/mne-tools/mne-lsl/issues/262 I think we could get rid of the issue in the LSL example either by adding an additional time.sleep() statement or creating two processes. What do you think @SamedVossberg? Somehow I am in favour of adding the sleep command.. since it seems a bit simpler. But I also need to say that in that case the max. feature sampling rate could likely be 50-70 Hz because of this weird Python Windows issue: https://stackoverflow.com/a/1133888/5060208

I tried playing with the sleep solution but didn't get a really good result in the example yet...
I will look more into it tomorrow though.

I think one solution might be simple to add the sleep command as above... I didn't test it yet. But it would be good to not only keep that in the examples / test files, but directly in the stream that it's broadly applicable.
Btw, it's quite crazy how different different OS can be! On Mac I get with s = time.time(); time.sleep(0.00001); e = time.time(); print(e-s) a lower sleep duration of under 1 ms!

Hi @timonmerk , sorry for butting in, I read your discussion with the maintainer of MNE-LSL and I although I still have to take a look at the LSL stream examples to get an exact idea of the use we want to make of the LSL player, before recurring to time.sleep(), which you already noticed is very unrealiable, I would first quickly attempt to use Python's async computing functions as described here https://docs.python.org/3/library/concurrent.futures.html First probably trying to launch the Player through a ThreadPoolExecutor, and if it does not work then opening a new interpreter using ProcessPoolExecutor.
Sorry I don't have time now to write a test, maybe time.sleep() can solve the issue for now, depends on the urgency, but on the weekend I  should be able to put sth together.

While fixing an unused import, I also changed in __init__.py the matplotlib backend.
Beforehand it was set to tkg, which resulted in an error on my machine that matplotlib could not import tkinter.. I could solve it changing the backend to qtagg, but now the tests fail under Linux with:
[gw0] linux -- Python 3.10.14 /home/runner/.venv/bin/python3 worker 'gw0' crashed while running 'tests/test_all_examples.py::test_run_through_all_test[example_filename0]'
I am pretty sure this is related to the matplotlib backend. @SamedVossberg @toni-neurosc Do you think we should set OS specific backends?
I think we are with our machines just testing on Mac and Windows, but it should definitely also pass on Linux..

I don't fully get why it crashes yet. But if understood right we could just keep the qtagg for Mac and Windows and if on linux run the tkinter version? Or would this result in the tkinter import error thrown before on Linux @timonmerk ?

Way too big PR, but many thanks @SamedVossberg  and @toni-neurosc! It's really great to have LSL implemented now :tada:

@toni-neurosc Hello, by the way, the classes in mne_lsl already use threading under the hood. As of 1.3, through threading module (with spawning/destruction overhead) and as of 1.4 (I'll release today or next week) with ThreadPoolExecutor which sllightly improves performance and improves a lot stability on CIs.


Blocking error on console: "Warning: Unsupported graphics API WebGL 2.0"

On old GPUs with drivers that are incompatible with WebGL 2.0, this error can arise and this result of explorer client never finish loading without any reliable error.
Tested on GeForce 8800 GTS and Windows 7 setup.
May be related to this old chromium bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=660642

The proposed solution is to intervene the logger - when that message is shown in console we should be showing the error message through ReportFatalError. In fact, we already have the NO_WEBGL_COULD_BE_CREATED error created.


⚠ Bofrost.at has degraded performance

In 3fe6ab2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2799 ms

Resolved: Bofrost.at performance has improved in d400c04.


Correct "resilency" typo to "resiliency"

Corrects a small typo of resilency to resiliency

Hey @ialzorriz! I'd love to help improve these docs and patch up a few typos that I found - please let me know if I can help make the review process any easier! Thanks 😁

Closing this as the maintainers are unfortunately no longer active on this project


package build: pass down sbom_util_gcs_root

By passing down sbom_util_gcs_root the package build workflow will start fetching the sbomutil binary.

/lgtm


Site search not focusing on open fixed

Fixes https://github.com/codu-code/codu/issues/1051
https://github.com/user-attachments/assets/50bae398-f4d7-4daa-b4d4-7af57650af49

This works great. Thanks babyyo77

thanks buddy


Types for unstable_createRemixStub don't accept DataFunctionArgs

What version of Remix are you using?
1.19.2
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
Here's a TypeScript.com/play reproduction
import * as React from 'react'
import { unstable_createRemixStub as createRemixStub } from "@remix-run/testing";
import { type DataFunctionArgs, json } from "@remix-run/node";

function rootLoader(args: DataFunctionArgs) {
    return json({})
}

function loader(args: DataFunctionArgs) {
    return json({})
}

createRemixStub([
  {
    id: "root",
    path: "/",
    loader: rootLoader,
    children: [
      {
        path: "/users/:username",
        element: <div />,
        loader, // <-- it doesn't like this
      },
    ],
  },
]);

It's fine with this:
import * as React from 'react'
import { unstable_createRemixStub as createRemixStub } from "@remix-run/testing";
import { json } from "@remix-run/node";
import { type LoaderFunctionArgs } from "@remix-run/router"; // <-- not exported from @remix-run/node 🤔

function rootLoader(args: LoaderFunctionArgs) {
    return json({})
}

function loader(args: LoaderFunctionArgs) {
    return json({})
}

createRemixStub([
  {
    id: "root",
    path: "/",
    loader: rootLoader,
    children: [
      {
        path: "/users/:username",
        element: <div />,
        loader, // <-- no issue here
      },
    ],
  },
]);

Expected Behavior
I expect to be able to define my loaders and actions with DataFunctionArgs and the unstable_createRemixStub API to accept them directly.
Actual Behavior
I get a TypeScript error. Interestingly, LoaderFunctionArgs is only accessible via @remix-run/router and not @remix-run/node. Maybe that has something to do with it?

LoaderArgs is exported by @remix-run/node and is exactly what you're looking for I think

I don't want to use LoaderArgs. I like DataFunctionArgs because it's a single import for both action and loader.

Should be resolved in v2 via https://github.com/remix-run/remix/pull/7098

Great! Thank you :)


Suggestion: Task search should be case insensitive

No auto complete

Auto complete

@aleksandrmelnikov This should be fixed on main branch, can you confirm?
For tracking: https://github.com/Vafilor/TimeTracker/issues/31

Going to mark this one as done. Please re-open the issue if you notice any issues.


Update clang to always force 64-bit

It is implicit in clang, but not in ibm-clang. See https://github.com/ZOSOpenTools/screenport/issues/5

@MikeFultonDev can you can review when you get a chance?


type O under folded line in  normal mode may make fold color disabled

Neovim version (nvim -v | head -n1)
master
Operating system/version
ArchLinux
How to reproduce the issue
local function level1()
    local function level2()

    end
end

2ggzczc
O

Expected behavior

Actual behavior

Caused by level1 and level2 both have folded, can't identify level1 have been become line 2 and skip to refresh its virtual text in the decorator.
Solution:
Get the text per line and use textLine as a field to compare. But we should use a buf lines model to cache the result, otherwise using vim.api.nvim_buf_get_lines directly will get obvious perf regression.

fixed.


Item won't display when dragged into the visual boundary

Select a lot of items.
Scroll the view until the items are out of the visual boundary.
Move the items until the items that used to be out of the visual boundary should be in the boundary now.
Those items won't show up until the view is scrolled.

The issue has been resolved in the latest submission.


s/apiservers/api_servers/ in Salt

It looks like api_servers finally won this battle. Kill off the
last remaining places passing it, but allow the kubelet Salt to
accept apiservers for a period of time.
(This was bothering my OCD.)

LGTM


Managed Instance with Developer edition

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[x] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

Hi Team Can we use SQL Server with developer edition on Managed Instance for test purpose.

@kalkivshashank Thank you for your interest in Azure products and services. There is an option called Azure Hybrid Benefit that allows you to leverage any existing on-premise SQL Server license for discounted pricing. Additional details:
The Azure Hybrid Benefit for SQL Server helps you maximize the value from your current licensing investments and accelerate your migration to the cloud. Azure Hybrid Benefit for SQL Server is an Azure-based benefit that enables you to use your SQL Server licenses with active Software Assurance to pay a reduced rate (“base rate”) on SQL Database. Azure Hybrid Benefit for SQL Server is available to all vCore-based options: SQL Database Managed Instance, Single Database and Elastic Pool. You may apply this benefit even if the SKU is active but note the base rate will be applied from the time you select it in the portal. No credit will be issued retroactively.
You can activate the Azure Hybrid Benefit via the Azure Portal by attesting you have sufficient active licenses with Software Assurance. The Azure Hybrid Benefit works as follows:

If you have Standard Edition per core licenses with Software Assurance, you can get one vCore in the general purpose option for every one license core you own on-premises.
If you have Enterprise Edition per core licenses with Software Assurance, you can get one vCore in the business critical option (coming soon) for every one license core you own on-premises. Note: The Azure Hybrid Benefit for SQL Server for the Business Critical option is only available to Enterprise Edition customers.
If you have highly-virtualized Enterprise Edition per core licenses with Software Assurance you can get four vCores in the General Purpose option for every one license core you own on-premises. This is a unique virtualization benefit available only on Azure.- new bulletted list- new bulletted list- new bulletted list

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


display changes 0.1.5 -> 0.2.0

I have been using a CORE2 with green LED for a couple of years and my code functions fine.  I note that the library version is 0.1.5.
I just got a new CORE2 with a blue LED and wrote my built code as-is to it and it is working fine according to the debug output, touchscreen etc.  but the screen is black, no backlight and can't tell if the screen is actually displaying anything.
Perhaps this is to do with the change to the AXP192?  I'm reluctant to upgrade by old one to 0.2.0 are there any other breaking changes?

All changes are recorded on github. The time span is too long and I can’t answer your last question.
Your new CORE2 should be the AXP2101 version, so it cannot light up the screen and can only use the latest library.

All changes are recorded on github. The time span is too long and I can’t answer your last question.
Your new CORE2 should be the AXP2101 version, so it cannot light up the screen and can only use the latest library.

Thanks, I have updated to 0.2.0 and the screen is working so thats awesome.
Then it crashes, but that will be some other problem...  And appears to be something I am doing with audio.  I don't remember audo changes on the changelog.
Backtrace: 0x400e4487:0x3ffb21b0 0x400ddf72:0x3ffb21f0 0x400d3e09:0x3ffb2240 0x400e24e6:0x3ffb2290
#0  0x400e4487 in i2s_write at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/i2s.c:2129 (discriminator 2)
#1  0x400ddf72 in soundsBeep at lib/foo/Core2_Sounds.c:473
#2  0x400d3e09 in setup() at src/main.cpp:169 (discriminator 4)
#3  0x400e24e6 in loopTask(void*) at C:/platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:42
Which is this line:
// Write to internal I2S speaker driver, then free memory allocated

esp_err_t err = i2s_write(SPEAKER_I2S_NUMBER, raw, length, &bytes_written, portMAX_DELAY);

Fixed it, now requires M5.Spk.Begin() which I didn't need before and also   M5.Axp.SetSpkEnable(true); again, didn't need that before.
Now it beeps and is horribly distorted and terribly clicky - which means its working as well as the older one did - so all fine!

Fixed it, now requires M5.Spk.Begin() which I didn't need before and also M5.Axp.SetSpkEnable(true); again, didn't need that before.
Now it beeps and is horribly distorted and terribly clicky - which means its working as well as the older one did - so all fine!

Glad to see you solved the problem 😊.


Getting AttributeError with python-novaclient 2.21.0

When using credentials file I get:
Traceback (most recent call last):
    pyrax.set_credential_file(location, region)
  File "/usr/local/lib/python2.7/dist-packages/pyrax/__init__.py", line 429, in _wrapped
    return fnc(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pyrax/__init__.py", line 525, in set_credential_file
    connect_to_services(region=region)
  File "/usr/local/lib/python2.7/dist-packages/pyrax/__init__.py", line 616, in connect_to_services
    cloudservers = connect_to_cloudservers(region=region)
  File "/usr/local/lib/python2.7/dist-packages/pyrax/__init__.py", line 665, in connect_to_cloudservers
    extensions = cs_shell._discover_extensions("1.1")
  File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 471, in _discover_extensions
    self._discover_via_entry_points()):
  File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 485, in _discover_via_python_path
    module = module_loader.load_module(name)
  File "/usr/lib/python2.7/pkgutil.py", line 246, in load_module
    mod = imp.load_module(fullname, self.file, self.filename, self.etc)
  File "/usr/local/lib/python2.7/dist-packages/os_networksv2_python_novaclient_ext.py", line 41, in <module>
    @utils.arg('network_id', metavar='<network_id>', help='ID of network')
AttributeError: 'module' object has no attribute 'arg'

+1 Even if you're not using cloudservers, this is a blocker

The problem is not with pyrax, but 2 modules that rackspace-novaclient is dependent on:

os-networksv2-python-novaclient-ext
os-virtual-interfacesv2-python-novaclient-ext

Removing those packages for now should resolve the issue:
pip uninstall os-networksv2-python-novaclient-ext os-virtual-interfacesv2-python-novaclient-ext

See:

https://github.com/rackerlabs/os_networksv2_python_novaclient_ext/pull/4
https://github.com/Cerberus98/os_virtual_interfacesv2_ext/pull/3

Just as another option, downgrading to an older version of python-novaclient such as 2.20.0 should also resolve the issue.

Ok, it appears as though new versions of the affected extensions were just pushed to pypi.
pip install -U os-networksv2-python-novaclient-ext==0.24 os-virtual-interfacesv2-python-novaclient-ext==0.18 python-novaclient==2.21.0
Please let me know if this is resolving the issue for you.

Hi,
Sorry for late response. Yes, I resolved the issue at the time with the python-novaclient==0.21.0 requirement. I just wanted to log the issue here so the issue would be known.
Thanks sivel for the tips!


Package unavailable in registry

tondev on npm returns a 404
https://www.npmjs.com/package/tondev

On the CLI
$ yarn add -D tondev
yarn add v1.22.10
[1/4] 🔍  Resolving packages...
error Received malformed response from registry for "tondev". The registry may be down.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

It's back


[Web PubSub] Fix ESLint errors

We should

fix ESLint errors for each of them
remove the -f html -o recorder-lintReport.html || exit 0 part from their package.json

dupe of #17300


Switch to ruby/setup-ruby and pin version

actions/setup-ruby is deprecated

FYI, ruby/setup-ruby can take care of caching and bundle install, making the separate steps redundant: https://github.com/ruby/setup-ruby#caching-bundle-install-automatically


Containerization Support

As mentioned in this Reddit comment, it would be useful to be able to run Firezone as a containerized application.
This presents us with a few challenges that need to be investigated, however:

Firezone expects control of the host routing table to add default routes for the WireGuard interface and set up IPv4/IPv6 forwarding
Firezone needs to be able to add a new nftables firewall and manage rules in that table
Firezone needs to create a wireguard-type interface on the host and manage it

This StackOverflow post would be a good starting point.
This Arch Linux troubleshooting tip may be helpful as well: https://wiki.archlinux.org/title/nftables#Working_with_Docker
Edit: Perhaps this could be accomplished by abstracting the Firezone firewall driver so that eBPF can be used. This could open the door to integrate with something like https://github.com/cilium/cilium to provide eBPF-based filtering.

I'm sure you are aware of this already but there's also wg-easy which bundles Wireguard + a web UI on a Docker container.
I'm not sure why you'll need to modify the host routing table/iptables if you'll start firezone in the same container that starts wireguard too. Or maybe you are thinking of keeping wireguard on the host and just run firezone in a container?

Wouldn't using --net host solve these issues?

I'm using linuxserver/wireguard and I'd love to use firezone with that (or better, replace linuxserver/wireguard with firezone). That'd be amazing!

I would like to see this in Kubernetes as well, but that would come with containerization. If someone can wrap this in a container I'd test it with host networking.

HI,
I have tried to create a docker-compose of firezone but the problem I have is that firezone is using systemd to start the services and I wasnt able to change it because of the chef cookbooks.

https://github.com/subspacecommunity/subspace run as network host + NET_ADMIN cap.

@clementperon Yeah, definitely possible. We'll be (hopefully) getting to this soon. The main hurdle is we have a whole system/chef-based configuration management system (Omnibus) that handles configuration, restarts, creating secrets, etc which is exposed by our firezone-ctl command, so need to move all that to a docker-compose script or similar.

@gongjason here's my 2c having built both ISPs and writing code.
Preface (I may be 100% wrong):
I'm just learning containers and how they interact with the networks around them. But sometimes thinking of everything like a device in a rack helps me visualise the abstractions.
It all depends of your goals but I think of this similar to a cloudflared tunnel.
The container is 'the edge' between the VPN User and the Internal Network (the pod, the lan).
Currently firezone does a few things:

Terminates Wiregard
Provides a configuration GUI
Routes traffic into and out of the wireguard

Its all about abstracting firezone so people can 'hook' the above where needed.
The TLDR :thinking:
The pod is 'the gateway / edge' between the networks

The pod runs wireguard and the gui (similar to linuxserver/wireguard but with a gui)
The pod exposes ports
The above ports are exposed externally as nodeports
These can be exposed using an ingress (L7 for 443, L3,L7 for UPD) (Nginx will route UDP)

Pod ,<-> Network <-> Connected Networks

Once the traffic has left the pod its up to the Network Administrator do route it
You could assist this by:

using eBPF
using BGP
using Nat

refs #737

Just to clarify: this solution will also work with Podman, right?

Containerization technology is standardized. So hopefully yes. How convenient though, is a different story.

Any estimated milestone to finish Docker support? Or yet better K8s Helm Chart?

@MohammedNoureldin It's done, but we're still working on finalizing the documentation.
If you're familiar with Docker you can get started today using the docker-compose.prod.yml file in the root of the repo, and use #887 as a guide for setting it up.

Just wanted to leave a big kuddos to your team. Maybe there is other solutions out there, none I could find, but when I initially started with Firezone I was seeking something that would support docker, WG, SSO, and MFA. At that time you didn't have the docker image on github but it was only a few weeks out. I've since dropped my requirement for SSO as the SSO service I was using isn't quite what I want. I'll likely end up implemented an SSO solution in the future, but that's an aside.
The container spun up without issue, well actually, I'm running arm64 and the python was missing at build, but you've since corrected that issue.
The product documentation is clear and concise. The docker deployment documentation wasn't as concise as it could be. Though due credit, the docker image isn't even published. Not going to fault you there; I'm sure once the image is published the docker documentation will be added on docs.firezone.dev. Without the product documentation I wouldn't have been able to get this deployed and working with reverse proxies, on it's own vlan, with HTTP headers forwarding, etc.
Again kuddos, great product. It looks like you've re-worked your licensing as well and the CE is now no longer limited to one user, that's great! I'm not using this commercially, just in the homelab and I'm thoroughly excited about having more than one user being able to connect.

Just wanted to leave a big kuddos to your team. Maybe there is other solutions out there, none I could find, but when I initially started with Firezone I was seeking something that would support docker, WG, SSO, and MFA. At that time you didn't have the docker image on github but it was only a few weeks out. I've since dropped my requirement for SSO as the SSO service I was using isn't quite what I want. I'll likely end up implemented an SSO solution in the future, but that's an aside.
The container spun up without issue, well actually, I'm running arm64 and the python was missing at build, but you've since corrected that issue.
The product documentation is clear and concise. The docker deployment documentation wasn't as concise as it could be. Though due credit, the docker image isn't even published. Not going to fault you there; I'm sure once the image is published the docker documentation will be added on docs.firezone.dev. Without the product documentation I wouldn't have been able to get this deployed and working with reverse proxies, on it's own vlan, with HTTP headers forwarding, etc.
Again kuddos, great product. It looks like you've re-worked your licensing as well and the CE is now no longer limited to one user, that's great! I'm not using this commercially, just in the homelab and I'm thoroughly excited about having more than one user being able to connect.

Thanks for the kind words. We are officially releasing Docker support in 0.6.0, coming any day now. Just wrapping up the last few PRs.


[Text Area] Rendering weirdness

Description
The focus and keyboard focus delivery can get out of alignment.
Steps to reproduce

Go to https://opensource.adobe.com/spectrum-css/textarea.html
Tab into a text area
Use the resize handle to change the size of the Text Area
See the focus states not align.

Expected behavior
Should probably keep the borders aligned with each other.
Screenshots

Environment

Spectrum CSS version: Latest
Browser(s) and OS(s): macOS

Additional context
In SWC I'm looking at just moving the keyboard focus designs onto the <textarea> element rather than using the wrapper with an :after pseudo element that is used elsewhere possibly fixing this.
synced to jira: https://jira.corp.adobe.com/browse/CSS-76

Deanna to share update with WB and confirm if this is done

Should have been closed by https://github.com/adobe/spectrum-css/pull/1863


Log limited support reason for all limited support posts

Why?
LS post logging was outside of the LS post function, moved it to the function to make sure we always log it.

/lgtm


[e2e]: go tag main config-ldflags-assets slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v13.0.791
Run: https://github.com/slsa-framework/example-package/actions/runs/10294784044
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.tag.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.tag.main.config-ldflags-assets.slsa3.yml
Trigger: push
Branch: v13.0.791
Date: Thu Aug  8 02:22:53 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v13.0.792
Run: https://github.com/slsa-framework/example-package/actions/runs/10312522612
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.tag.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.tag.main.config-ldflags-assets.slsa3.yml
Trigger: push
Branch: v13.0.792
Date: Fri Aug  9 02:21:54 UTC 2024
Tests are passing now. Closing this issue.


Simplify HTTP semantics of API, remove PATCH, add etags, conditional  operations

This is for discussion and could be broken down later:
The current API has somewhat complex modification semantics, does not http resource tracking (etags) for easy detection of modifications, and does not support conditional updates
Kill PATCH
The API currently uses PATCH  for applying partial modifications to apps and routes  for some subset of operations.
PATCH is problematic as :

For some operations it's not supported (e.g. adding an element to a list)
For map modifications you need to elect a null value to delete entries (the semantics are odd and easy to get wrong)
In most cases the client needs the full model to determine what to patch anyway so the patch has exactly the same network trips as a PUT
It adds two independent  mutation operations on the server double your code, double your bugs.

Patch can be safely removed for all resource and replaced with PUT (which I think supports all the same modifications now) . This then  becomes more powerful when combined with etags and conditional operators below.
Add Etags headers to resources (and possibly resource versions)
Clients have no easy way to detect if a resource  has changed without doing a full diff, internally we have several cases where code is needs to know if a resource is changed but doesn't care how it has changed (e.g. updating containers in the runner)
Internaly we  should store a  monotonically increasing resource version  for each resource (e.g. as counter or high-resolution timestamp + random) and increment this on change ,  this can be exposed in the body of resources (for easy consumption in code) and also be exposed as a conventional Etag for HTTP operations.
Add HTTP  conditional semantics to operations (GET,PUT)
As a client I want to know if my resource made the change that I intended - including if somebody else changed the resource between my having read it and written it.
add support for at least If-Match and possibly other HTTP conditionals to allow clients to use optimistic locking for changes - i.e. if the resource wasn't the one I was expecting to change, fail with a 412 and let the client re-cycle the change and try again.

good idea. into it, one explicit goal of #957 was to remove POST too for similar reasons (2 ways to create, and inconsistent across resources). I'm game to only have GET, PUT, DELETE for every resource. PATCH and PUT are really similar now, as stated.

etags

we do have updated_at on many resources, this seems like it would satisfy the conditions required for conditional semantics of doing a GET-PUT if we could if-match on this? I would like to have more robust version history for certain resources (functions, at least, and probably triggers too), where the version history contains the full objects of each version (for rollbacks & deploys, auditing) - this is related to the etag since that would likely be a server generated monotonic number as well, seems like we could add a version field before having a more robust version history as outlined and then use it for that purpose, too.

we're doing this as part of #1038 - likely as one unit of work across all resources, to add revisions to resources after we've added all the resource models as well as the HTTP semantics to if-match on them. new resources will not have PATCH, at which point apps are the only resource with PATCH, and a good time to remove app PATCH may be after trig/func & execution are in place, at the same time that we can remove routes (open to ideas).


Fix lost field name from validation result when conditional constraint is used

fixes #127 / #128

@ddzida Thanks a lot!
I tried fix with a similar approach, but didn't get to the end.


Expose a more flexibe runTask on TaskDefinition

This removes some of the cloud leftovers of the run implementation, and instead aligns fully with the awssdk runTask function.
We use a similar trick to override the awssdk args interface with a slightly modified one that can infer more inputs from the cluster and task.
Fixes #80.

Thanks for the promise change. :)


Feat/2714824791 replace banner

Cherry picked changes from #2236
Resolves https://sovryn.monday.com/boards/2218344956/pulses/2714824791

Testnet Zero banner link is opening live.sovryn/app instead of test.sovryn.app


Documentation tabs disappear on mobile

When switching to mobile responsive mode, the documentation link and icon disappear from the header.

it's bulma's problem. In cdn is bad version of nav.sass file.
nav.right missed display: flex
also .nav-menu is not needed


fix(Interaction): improve door gizmos

Improves visualizing the opening direction of doors a lot. There were
quite some situations so far where gizmos would point into the wrong
direction. These should be much fewer now.
In addition when a hinge joint is added manually this is now taken as
the input for the gizmos and the direction is also derived from it
resulting in a much better editor experience.

tested in all my 3 projects, all doors now work for me (which didn't before) and old ones didn't break.


Support parquet write in Gluten with velox backend

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps developers understand the context and why for this feature, in addition to  the what)
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @JkSelf  , is there a benckmark comparing gluten parquet write with vanilla spark write?

@PengleiShi  We haven't started doing performance comparisons yet. We compared arrow parquet write with vanilla spark parquet write on arrow backend before, and there will be a performance improvement of 1.28x. The parquet write of the velox backend essentially uses the arrow parquet write, so the performance improvement is expected to be similar to that of the parquet write of the arrow backend.

closing as it's already done


Tensor svd

make tn.svd  work with BlockSparseTensor

Codecov Report

Merging #876 (a371ec9) into master (80dbe5a) will decrease coverage by 0.01%.
The diff coverage is 94.05%.

@@            Coverage Diff             @@
##           master     #876      +/-   ##
==========================================
- Coverage   98.04%   98.02%   -0.02%
==========================================
  Files         129      129
  Lines       22439    22515      +76
==========================================
+ Hits        22000    22071      +71
- Misses        439      444       +5

Impacted Files
Coverage Δ

tensornetwork/tests/testing_utils.py
90.12% <70.00%> (-6.66%)
:arrow_down:

tensornetwork/__init__.py
100.00% <100.00%> (ø)

tensornetwork/backends/symmetric/decompositions.py
99.18% <100.00%> (+1.00%)
:arrow_up:

...sornetwork/backends/symmetric/symmetric_backend.py
99.29% <100.00%> (ø)

tensornetwork/linalg/tests/test_linalg.py
96.51% <100.00%> (+1.19%)
:arrow_up:

Continue to review full report at Codecov.

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


Add extended metadata

Please note: This PR also implements all other PRs from me.

Sorry, again this conflicts with why I was working on in symlink branch. If you make a new pull for "metadata support for Linux and Windows" I'll accept. that.


Saving the edited project properties page brings "Output-PackageManager.txt"

Create a new console application
Right click properties
Make an edit
Ctrl+S or save from the tool menu

Expected
The file is saved
Actual

**Build Info
26112.1.d15rel

Are you sure the focus wasn't on the output window when you hit ctrl+s?

I think you likely changed the TF which kicks off a restore which changes the focus to the output window

you might be right , retesting

thatz right , closing this phew


Colliding with TilingSprite not working in v2.3.0

As I saw below, it doesn't work anymore.
http://phaser.io/examples/v2/tile-sprites/colliding-with-tiling-sprite
But if you switch it to v2.2.2, it works like a charm

https://github.com/photonstorm/phaser/issues/1802 https://github.com/photonstorm/phaser/issues/1702


update unity WWW stuff in samples to UnityWebRequest

and fixed one minor bug (png filter in open image was wrong -> ".png" instead of "png")

oh i didn't notice that somebody has already made those changes....


custom dimensions

Not an issue, but I found it useful to add explicit "LaTeX" dimensions as in
enum Dim {
    case CM(x: Double)
    case MM(x: Double)
    case PT(x: Double)
    case EM(x: Double)

    override def toString: String = this match {
        case CM(x) => s"${x}cm"
        case MM(x) => s"${x}mm"
        case PT(x) => s"${x}pt"
        case EM(x) => s"${x}em"
    }
}

import Dim.toString

extension (x: Double) {
    def pt: Dim = Dim.PT(x)
    def mm: Dim = Dim.MM(x)
    def cm: Dim = Dim.CM(x)
    def em: Dim = Dim.EM(x)
}

and then let LaTeX commands like
textSize(7.5.pt,10.5.pt)
space(2.cm)

take these Dim(ensions) as arguments.  In this way one does not need to hardcode pt's and em's. The definition for textSize becomes
def textSize(fontSize: Dim, lineSpace: Dim): TreeContext =
      leaf(TextSize, "", FontSize -> fontSize.toString, LineSpace -> lineSpace.toString)

Maybe of help. Christian

Thanks! Looks like a nice idea for increased type safety. I'll consider including that.


fix: lower the cpu_architecture string

This fixes an issue I had when trying to use fastapi-tailwind on Windows.
FileNotFoundError: Couldn't find the tailwindcss binary for 'Windows'! 'C:\Users\Ananas\scoop\apps\python\current\Lib\site-packages\fastapi_tailwind\binaries\tailwindcss-windows-AMD64.exe' does not exist!

Thanks for that. Just need to test this on Linux.


enclave_build: fix argument parsing and image generation

Description of changes:

fixed inconsistencies in argument names that make it impossible to generate a signed image
fixed potential image corruption if the output image already exists by truncating it before writing to it
bump version to 0.2.0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Checked the logs: Makefile:221: recipe for target 'nitro-format' failed Make sure to run cargo-fmt --all before commiting.

done in https://github.com/aws/aws-nitro-enclaves-cli/pull/424/commits/dc6467971e9a9315a0ec64986b67be723567f741

Currently failing on license check make nitro-about. Opened a PR to update our license file. After we merge it, you should rebase.

Can you describe a bit more the issue that this patch is fixing? It seems to make the commandline arguments inconsistent, since they follow snake_case rather than kebab-case in enclave_build crate. I think they would all need to be updated to look the same.

Can you describe a bit more the issue that this patch is fixing? It seems to make the commandline arguments inconsistent, since they follow snake_case rather than kebab-case in enclave_build crate. I think they would all need to be updated to look the same.

The issue here is that it is not possible to create a signed image with enclave_build because the private key parameter is not parsed at all (instead the code reuses private_certificate which is imho a bug). I used private-key and not private_key because that's how the command line option is defined as the beginning of main.rs.


missing detail or mistake?

The article appears to be cut off or unedited.
RE:   "Number of management solutions enabled and their configuration (e.g."
Note that : "(e.g."  ends the line. I would expect that this would be followed by some examples and closed with ")".  This issue can be found on the first bullet in the pricing model section.  https://docs.microsoft.com/en-us/azure/azure-monitor/platform/manage-cost-storage#pricing-model

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

ID: a73a8a62-95c6-9ec9-9199-695ad1e5e8a9
Version Independent ID: 6089f013-8b5b-661c-9ee4-d6b267737357
Content: Manage usage and costs for Azure Monitor Logs - Azure Monitor
Content Source: articles/azure-monitor/platform/manage-cost-storage.md
Service: azure-monitor
Sub-service: ****
GitHub Login: @bwren
Microsoft Alias: bwren

@DanielJanik  Thank you for bringing this to our notice, we will look into and fix the document accordingly.

@DanielJanik Thanks again for bringing this to our notice. I have raised the PR to fix the typo first, will also circle back with our Document Author @bwren to see if an example needs to be added. If yes, will work on that accordingly.

Adding @bwren for further review of the feedback on adding example in the document, if applicable have a work item to add it in the document.
@DanielJanik The document will reflect the changes later in the week once the PR is approved, for now will close this issue. However if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


Enable foundation wasm tests in pipeline

Enable foundation wasm tests in pipeline - gradually we'll introduce more and more.

The test is failing because of timeout (doesn't fail locally though, but CI agent is likely less powerful).
We have two options IMO:

Use less iterations here - https://github.com/JetBrains/compose-multiplatform-core/blob/90bf6742f79af8f31ba560c299cb133e1cccf46f/compose/foundation/foundation/src/skikoTest/kotlin/androidx/compose/foundation/text/TextFieldFocusTest.kt#L74
or add

config.client.mocha = config.client.mocha || {};
config.client.mocha.timeout = 60000;

to ../compose-multiplatform-core/mpp/karma.config.d/wasm/config.js
I like 2nd option more. @Schahen what do you think?


[rhobs-logs] Disable tracing to temporarily stop panic errors

We are currently observing panic errors on Loki components for all sampled request by Jaeger. The root cause for this issue is when using the UserID and OrgID in exemplars. See:

grafana/loki/issues/6667
weaveworks/common/pull/246

The following PR disables trace sampling for all Loki components.

Is this the minimum set of things we can disable to make this work? Wouldn't it be enough to just disable tracing through its boolean flag and leave all the configuration there?

Sure we can disable the flag only, but I though why keeping the sidecars idling if they don't sample anything.


Sandbox is being executed/eval'd twice erroneously

Challenge Waypoint: Local Scope and Functions has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.
The code shown below should just print console.log() once, and pass the test.
However, when I run the code, the sandbox seems to execute twice.
I tested this by putting new statements in, and it's clear to me that the code is being executed twice for some reason.
I tried running the code at least 10 times, it's been executed twice every time.
My code:
function myFunction() {
  var myVar = 'hello';
  console.log(myVar);
}
myFunction();

// run and check the console
// myVar is not defined outside of myFunction

// now remove the console.log line to pass the test

:+1:
I have noted this particular behaviour in a lot of waypoints actually!

Closing as a duplicate of #5072 since they both come from the same root cause. Thanks and happy coding!

I don't think this is a duplicate of #5072. The reason it doesn't pass is that the test is simply looking for the phrase console.log anywhere in the code, even in comments. It fails if console.log appears more than once.
console.log actually appears 3 times: (1) within the function, (2) outside the function, and (3) in the final comment instructing you to remove the second instance. If you delete that comment as well, the test passes as expected.

@denmch We have a fix in for that problem that should be deployed to the website shortly :smile:

@ltegman :+1:


USHIFT-1085: feat: initial implementation of storage migration

Initial implementation for storage migrator
This currently only contains the code for the migrator itself. I tested a few ways of running this for performance, we're looking at around 2.8 seconds for a migration to run.
The calling code isn't present, I'll open up a new PR for that logic.
/assign @pmtk

What do you think about changing the order: first merging "partial start" (etcd+KAS) in places where migration would happen, and then adding code from this PR so migrator could already be executed?

/close
Closing PR in favor of other approaches. In this PR we were trying to implement this feature with out the cluster being fully up, upon further investigation, we will need the cluster up in order to fully support CRDs and their migration webhooks.


fixed the typo in  readme.md

fixes issue #233
there were few typo in readme.md:-
"succesfully" should be "successfully."
"imposter" should be "impostor."

@captain-Akshay technically both "impostor" and "imposter" are correct ways to spell the word:
https://grammarist.com/spelling/imposter-impostor/#:~:text=The noun referring to one,is also nearly as old.
but since its 50/50 and the meaning is the same, will merge

@EbonyLouis just in case i think you forgot to count this one for the hacktoberfest event ! 😅😅


Can't install version 0.1.1 from bower

Hi.
I have troubles trying to install version 0.1.1 using "bower install". I get 0.1.0 instead. I think following should be changed from 0.1.0 to 0.1.1:
https://github.com/timseverien/deep-link.js/blob/master/bower.json#L4

Ah, good find. This probably went wrong when merging #7 and/or #8. Should work now!


perf(engine): migrate to AsyncStateRoot

Closes: #10892
Spawns the async calculation in a separate task and blocks waiting for the result, alternatively we could turn EngineApiTreeHandler::insert_block_inner and all its callers async.

depends on https://github.com/paradigmxyz/reth/pull/10920

let's get some numbers in and then we can merge

we can consider renaming async root and deprecating parallel roots

we can consider renaming async roots

indeed, not async anymore, will do in a follow-up