$Matter ：1st RWA assets on Bitcoin's Overlay Protocol Atomiclas - how to exceed capped at 500,000 mints？

$Matter. It's a part of this whole "Digital Matter Theory" and seems to be making waves. For those who wanna dive in, there's a full guide right here: https://docs.digitalmatter.vip
The circulation of $matter is 210B, unfortunately it has not exceeded the cap at 500,000 mints，Although the current issuance arrangement is still reasonable for RWA assets
i think be reasonable to have #ARC20 DFT mints in the millions， and want to know when，hope asap.
following is someing intros about $MATTER
What's $Matter?
It's a new type of digital asset that's built on top of Bitcoin. Yes, the Bitcoin we all know and love. The idea is to treat digital information as a real asset - kind of like adding a new dimension to what we already consider valuable.
Why Look Into $Matter?
Rooted in Bitcoin: It's got the security and decentralization of Bitcoin's infrastructure.
High Collateral: Mostly backed by Bitcoin, meaning it's designed to be pretty secure.
Diverse Uses: The concept extends to anything digital, like intellectual property, memes, or even digital rights.
Growth Potential: It's a new thing with room to grow and evolve within the Atomicals ecosystem.
DYOR

The link above is broken, bellow is the right link
https://docs.digitalmatter.vip

i guess ELEX Server can support over 500,000 caps now


Update ReadMe and package

This version defaults to using the GraphQL version instead of REST. Removes no longer existing headers and hash dependency.


pinyin phoneme modeling on aishell3 dataset

I have some questions about pinyin phoneme modeling on aishell3 dataset:
1 when use MFA force-alignment tools to get alignments data, the am in MFA is trained on aishell3 dataset or pre_trained am model?
2 when use MFA to get alignment, the G2p model is retrained on aishell3 dataset scripts? the lexicon is limited to aishell3 dataset?
3 if there are prosody tags #1 #2 .. in texts , how to do alignment with MFA?
thanks in advance!!

@joan126 Hello, Here are my answers to the questions:

I failed to use the pretrained acoustic model provided by MFA so in my case the acoustic model is trained by myself on the AISHELL-3 dataset with my own lexicon, the one provided in lexicon.
I did not use a G2P model for Mandarin TTS. The AISHELL-3 dataset provides the pinyin transcriptions so all I have to do is to map the pinyin transcription to a sequence of vowels and consonants, which is what the lexicon used for.
You can make the vowels tone-specific. For example, the vowel 'o' may be further divided into several different tone-specific ones such as 'o1', 'o2', 'o3'... In fact, this is what I do in the preprocessing stage.

@joan126 Hello, Here are my answers to the questions:

You can make the vowels tone-specific. For example, the vowel 'o' may be further divided into several different tone-specific ones such as 'o1', 'o2', 'o3'... In fact, this is what I do in the preprocessing stage.

thanks
is this reply for my " if there are prosody tags #1 #2 .. in texts , how to do alignment with MFA?" ?

@joan126 Oh I misunderstood your problem before. What I mentioned is for the control of the tone in the Chinese language. If your prosody tags are related to the sentiment of the speech, or the lengths of breaks within an utterance, it may not be compatible with MFA as I realized. If these tags are extremely important, you could try other methods of alignment, for example, pertaining a Tacotron as in FastSpeech.

@joan126 Hello, Here are my answers to the questions:

I failed to use the pretrained acoustic model provided by MFA so in my case the acoustic model is trained by myself on the AISHELL-3 dataset with my own lexicon, the one provided in lexicon.
I did not use a G2P model for Mandarin TTS. The AISHELL-3 dataset provides the pinyin transcriptions so all I have to do is to map the pinyin transcription to a sequence of vowels and consonants, which is what the lexicon used for.
You can make the vowels tone-specific. For example, the vowel 'o' may be further divided into several different tone-specific ones such as 'o1', 'o2', 'o3'... In fact, this is what I do in the preprocessing stage.

@ming024 Hello, ming024，sorry to bother you，I use mfa 2.0.0rc2 version and AISHELL3 datasets and commond "mfa train raw_data/AISHELL3 lexicon/pinyin-lexicon-r.txt result_aligned_v2 -v --clean --overwrite -j 4" to train mfa, The output TextGrid is not same with yours, I have not aligned in my results, Which version are you using please？how to train mfa ?
examples:SSB00050056.wav:
The picture below is yours:

The picture below is mine:

What do you recommend? thanks

I have some questions about pinyin phoneme modeling on aishell3 dataset:
1 when use MFA force-alignment tools to get alignments data, the am in MFA is trained on aishell3 dataset or pre_trained am model?
2 when use MFA to get alignment, the G2p model is retrained on aishell3 dataset scripts? the lexicon is limited to aishell3 dataset?
3 if there are prosody tags #1 #2 .. in texts , how to do alignment with MFA?
thanks in advance!!

in my case,add a cleaner in text/cleaners.py  and enable it in config/xxx/preprocessor.yaml.and you will clean them out
def remove_prosodylabelings(text):
text=re.sub('#1','',text)
text=re.sub('#2','',text)
text=re.sub('#3','',text)
text=re.sub('#4','',text)
return collapse_punctuation(text)


First three lessons in Idris

Following the Python style (i.e., non-idiomatic Idris)

Hi,
Thank you for this submission.
For various reasons we need to keep a full and complete lesson code in a single file, could you please update your implementation according to this?

Lesson 4 in Python includes:
import numpy as np
import nnfs
from nnfs.datasets import spiral_data  # See for code: https://gist.github.com/Sentdex/454cb20ec5acf0e76ee8ab8448e6266c
Idris has no "numpy" equivalent, which is why I created a util module.  You are asking me to essentially inline what the Python version imports?

If there is some external package that you can simply install (like pip install numpy for example in Python), then you are free to use it of course. If you need to create some code by hand - yes, please contain it within this file. I understand that this code is going to be repeated in the next parts, but that's desired, and also solves multiple possible issues in the future (someone else taking over is original maintainer stop committing solutions, backward compatibility issues, maintain issues, etc). I hope that this makes sense for you :)

Hey,
Will you update your code to follow the guidelines?
I'd like to merge this into the repository, but I don't feel like pushing updates by myself for this language :)

Hey,
Will you update your code to follow the guidelines?
I'd like to merge this into the repository, but I don't feel like pushing updates by myself for this language :)


chore(commitlint): updating commitlint configuration

Adjusting the commitlint configuration for the new commit strategy.
Every commit has to follow the structure of $type($project/$projectScope): $subject
e.g. We added a feature to Button component in Clarity Core.
The commit message will look like feat(core/button): added a feature x.y.z
Signed-off-by: Bogdan Bogdanov<EMAIL_ADDRESS>Video using yarn commit
https://user-images.githubusercontent.com/15037947/121713118-29a60600-cae5-11eb-9237-59a59f0b6a77.mp4

This looks great. I really like the details that it puts into commits, I like the separation of scopes and granularity and I ♥ the emoji's!
I do have a few questions.

It seems like this requires devs to commit with yarn commit. What if they use their editor or already have a script on command line that adds and signs and codesigns each commit - will this still work?
What happens if the user doesn't know about the commit script and commits something anyway?
Since there is a dialog it seems like I would have to do this every time I make a commit - but what I'f I am just making lots of small commits during development wont this take up more time than needed for something that will eventually get rebased into the official commit?

The new yarn commit is just a feature that we can use for simplicity for bigger commits but you are able to continue with what you are used to.  The commitlint will just guard the commit message to meet the requirements we set. If the message you add with git commit -m doesn't meet the requirements you will see a message in the console what is wrong and what you need to adjust.


Please state the minimal required versions for the listed dependencies in README.md

README.md currently states:

The only prerequisites are python and openssl.

It would be nice if you could additionally state the minimal required versions of Python (preferably for both, Python 2.x and Python 3.x as early 3.x versions may not work while Python 2.7 seems to work) and OpenSSL.
Thanks in advance!

If it helps to discover the lower bound, I've found that the except ... as on line 61 causes Python 2.5 to die with a SyntaxError.
I've not tested this script with 2.6 but at least this specific syntax is supported.

The versions supported are the ones tested in the continuous integration (python 2.7, 3.3, 3.4, 3.5, 3.6, nightly). Python 2.6 and 3.2 are not officially supported, but I have heard of people modifying the script to work in their older environment.
https://github.com/diafygi/acme-tiny/blob/7a4ea10d08b8a01b625f5df4c9ca173c9318bfe0/.travis.yml#L4


Feature: Add TextColor

I added some setTextColor methods. There is a known issue with the webView component, it doesn't handle some css features well. One is to treat the color with hexadecimal. It handles the literal name well. Example: RED, BLACK and WHITE, or with the color by the RGB standard. Example: rgb(255,255,255)
Hope the development helped you

Resolves #9

Thanks for your contribution bro ✨


Add GTM for analytics

I tested it and could see the user hits inside of Google Analytics

Yea I saw that - but I thought Google Tag Manager is better to implement, as there's lots more down the track we can do with it (easier integration of other analytics tools, and once it's set up there's not much dev requirement).


A MinGW package dependency of PCL seems to be missing from mirror servers, causing MingGW to fail to downloadload

Package: bzip2:x86-windows
Vcpkg version: 2020.06.15-nohash
I'm using WIndows10 build 21h1.
I'm running vcpkg install pcl and am failing to download the package mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz from all mirrors:
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"
-- Downloading https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"
-- Downloading https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"
-- Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"
-- Downloading https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"
-- Downloading https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... Failed. Status: 6;"Couldn't resolve host name"
-- Downloading https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... Failed. Status: 35;"SSL connect error"
-- Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... Failed. Status: 22;"HTTP response code said error"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:182 (message):

      Failed to download file.
      If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
      variables to "https://user:password@your-proxy-ip-address:port/".
      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

I took a look at a number of the webpages on the above list, and saw that the package in question is absent from these servers (but other MingGW packages are present)
Can you please check where thes
issuereport.txt
e packages are supposed to be located, or update the vcpkg dependencies?

Similar with SDL2:
Package: sdl2:x86-windows
Vcpkg version: 2021-05-05-e8977e69d9a3fb462d9ad42013d83a7682706659
Error: Failed to download from mirror set:
https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst: failed: status code 404
https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst: failed: status code 404
https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst: failed: status code 404
https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst: failed: status code 404
https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst: failed: status code 404
https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst: WinHttpSendRequest() failed: 12007
https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst: WinHttpSendRequest() failed: 12175
https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst: failed: status code 404

The msys components pkg-config and libwinpthread-git was updated.
Please update your vcpkg using git pull then try again.
Thanks.

Hi again,
It turns out that git pull had no effect. Even a fresh install/build of
vcpkg tag 2020-11 had no effect. The issue persists.
On Tue, Mar 29, 2022 at 22:29 Jack·Boos·Yu @.***> wrote:

Closed #23828 https://github.com/microsoft/vcpkg/issues/23828.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/23828#event-6331319901, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXLMKKQBWK22IIBU4WZRDDVCO4BHANCNFSM5R4T7OEQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

As you can see:
https://github.com/microsoft/vcpkg/blob/9d9a6f486cc7da7664117a75d01440db0088634a/scripts/cmake/vcpkg_acquire_msys.cmake#L336-L340
pkg-config was updated to 0.29.2-4 in PR https://github.com/microsoft/vcpkg/pull/15732 last year.
Maybe you need to remove folder VCPKG_ROOT/downloads/tools/msys2 and check the same file content in your machine.

Hi again, It turns out that git pull had no effect. Even a fresh install/build of vcpkg tag 2020-11 had no effect. The issue persists.
…

git pull doesn't help if you locked yourself on an old tag. If you don't want to move to the master branch, you must checkout a newer tag.

Thanks for your reply and explanation and identifying my misunderstanding:
that I believed incorrectly the tags were connected to package versions.Now
I see from the VCPKG documentation how versions are specified. I happened
to have inherited a project that depends on VCPKG but did not do that
correctly. Thanks for your help. Sorry for being bitchy.
On Thu, Mar 31, 2022 at 10:52 AM Kai Pastor @.***>
wrote:

t’s not unreasonable to expect to be able to rely on a tag not changing.
Why is the tag still available if it can’t be used anymore? Why bother with
tags at all? By the way, I tried very recent tags, and they broke, as well,
for the same reason: packages are missing.
The tags didn't change. The environment changed: The MSYS2 team
continuously updates their binary packages. Neither does Microsoft hold
copies of the binary MSYS2 packages, nor does the MSYS2 community receive
support to keep the outdated binary packages available for download. So it
must break after some time.
However, you should be able to use your desired versions of vcpkg ports
with the latest HEAD of vcpkg: with manifest mode.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/23828#issuecomment-1084697093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXLMKNQE6JYHIWDZ42MJ43VCW34RANCNFSM5R4T7OEQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@dg0yt Maybe we should make a feature to vcpkg_acquire_msys to record and use the newerst components.

@andreimr I'm glad we could sort it out.
@JackBoosY I do have an unfinished experiment which uses a more regular approach to using MSYS2 with pacman. Basically I disable update of the database in the installer. It will take a moment to form a draft PR. Key questions:

Modify vcpkg_acquire_msys (and use a triplet variable), or start with a versioned port (and use a non-default feature)?
Keep SHA512-checked downloads of packages (managed and cached by vcpkg) for the default configuration?
Offer asset caching for the GPG-signed online updates (managed by pacman)?

@dg0yt
My initial thought was to create a cache file in the path VCPKG_ROOT/tools/msys2 and use the urls and hashs from the cache by default (if validation is required). This way users can always use the latest msys components when rolling back vcpkg versions.
For the issues of msys's official frequent update of components, I think we only have two ways:

Print a special message to the failure section to remind the user to open the issue and attach the message.
Use search mode and disable hash detection (because both msys official and mirrors provide hash files to verify data integrity).

Modify vcpkg_acquire_msys (and use a triplet variable), or start with a versioned port (and use a non-default feature)?

The ports always needs the components. We can choose this way if we can dowload the components using msys2 itself.

Keep SHA512-checked downloads of packages (managed and cached by vcpkg) for the default configuration?

I think currently we don't have a plan to provide the storage feature.

Offer asset caching for the GPG-signed online updates (managed by pacman)?

As I said in the previous comment, the official and mirrors provide the checksum file, I think we can use that.

Modify vcpkg_acquire_msys (and use a triplet variable), or start with a versioned port (and use a non-default feature)?

The ports always needs the components. We can choose this way if we can dowload the components using msys2 itself.

I don't fully understand. It is clear that there must be a way to download MSYS2 packages. And of course you can download components with MSYS2: Use pacman.

Keep SHA512-checked downloads of packages (managed and cached by vcpkg) for the default configuration?

I think currently we don't have a plan to provide the storage feature.

vcpkg currently explicitly downloads each MSYS2 package, in a way which is covered by asset caching. That's why CI doesn't notice when MSYS2 removes packages.
This breaks for users which don't have (access to) a cache hit when the package is no longer available.

Offer asset caching for the GPG-signed online updates (managed by pacman)?

As I said in the previous comment, the official and mirrors provide the checksum file, I think we can use that.

Asset caching also removes load from MSYS2 mirrors. This must remain the default for CI. The question is if it is mandatory when using new versions of MSYS2 packages.

I think we should have a discuss with this situation.

If manifest mode is used, only the port will fall back to the specified version, and the msys2 component is always up-to-date.
If we use the command line mode, using vcpkg release or using git reset to a certain version will cause the msys2 component version to roll back. Since msys2 official and all its mirrors only store the latest version and not the historical version, the download of these components must fail.

If vcpkg_acquire_msys needs to get rid of the constraints of vcpkg version control and always download the latest components, it should automatically query the version number on the official website or mirror address and download it, and then use the matching verification file to verify the correctness of the binary.
But this will definitely increase the time-consuming of the whole process significantly.
We can also add the msys2 component cache, and use the version number in the cache to download and verify first. But unfortunately this cache file is not generated if vcpkg_acquire_msys is not executed in the latest vcpkg.
@ras0219-msft @BillyONeal @strega-nil-ms @vicroms what's your opinion?

IIRC MSYS2 packages are currently stored for 9 months (recent mention in another discussion but I don't have the link now).
So a more regular updating of the cached packages would mitigate the problems.
Caching in CI doesn't help the users.
A snapshot of my playground for using an official installer, its package database and pacman is here: https://github.com/dg0yt/vcpkg/commit/bbb9df070a17b2010493a53836e5456f5f5f7751 (work in progress, not ready for PR).

Implemented as port.
It disables database updates, so it avoids a step for which MSYS2 recommends taskkill, and it freezes the database at the configuration which is tested with this port in vcpkg CI.
IMO it could be possible to enable updates via an optional feature, or to distribute a tested package database update via vcpkg servers without having to distribute the actual binary MSYS2 packages.
As a less dangerous alternative to taskkill on all process which use msys-2.0.dll, I have a powershell command line which only touches those task which use the DLL from a specific file path.

I like to add some thoughts in addition to those in https://github.com/microsoft/vcpkg/issues/24006#issuecomment-1091784504. If the core of the problem is that vcpkg has taken a dependency on an external binary, then I think vcpkg should maintain a copy of the binaries it needs.
We've been using classic mode for the better part of two years. In that time, we've shipped 6 versions of our product and have used exactly 2 vcpkg commits to support those releases. We support clients that utilize air-gapped systems, which means we have to verify every version of incoming code. There is a high burden to upgrading code, whether we create it or rely on a system such as vcpkg.  We can't just upgrade vcpkg on a whim. It has to be planned and costed out.
We have been bitten by a few vcpkg oddities over time and those oddities also impact what we can and cannot consider as viable upgrade candidates. For example, our latest upgrade placed us on an Oct 29, 2021 commit because anything newer suddenly resulted in platform bugs with vcpkg that blocked any use on our target and, if I remember correctly, anything older than a couple of weeks resulted in dependent library failures. Finding the right set of working pieces takes effort. To make matters more interesting, it's possible that vcpkg will just stop working months after we've invested in testing, validation, documentation, and even shipped two releases and ... poof... we hit a mysterious wall?
So, now we have the unfortunate luck that we can't recreate the environment that is only a few months old. I get that msys2 might be solely concerned with their primary use case and hence drive their storage as they see fit. If they won't/don't care about the fact others are using them as dependencies (ala vcpkg) to establish other dependencies, then it's incumbent on tools like vcpkg to  mitigate the loss of those dependencies by improving the algorithm, saving the dependencies, etc.
We never considered that vcpkg would just lose functionality one day after-the-fact b/c it was never promoted that way.  Not everyone can update and live on the edge.  The message to just upgrade to latest is a non-starter for a lot of folks. Telling folks to use manifest mode also doesn't really work if we are still tied to using a specific version of vcpkg (manifest mode has other issues that preclude use for us as well). If vcpkg wants to be edge-centric, then messaging has to change so that your customers will know what to expect. Otherwise, please figure out the infrastructure, code changes, etc. to avoid these type of tooling breaks.

@mprather Thanks for describing your concrete scenario, this really helps.
We've introduced a feature that's directly targeted at your situation to ensure you never hit this mysterious wall: asset caching[1]. This enables you to locally cache and preserve everything[2] that vcpkg needs to operate so you can be completely air-gapped and reproducible over time. If you're interested in sending us a mail<EMAIL_ADDRESS>with more details about what specific issues you've hit, we'd appreciate it.
This need for air-gapped operation and caching is one of the motivations to move away from calling MSYS's pacman in the first place -- we found that pacman was often a source of instability in our CI and it adds significant additional burden for "offline/airgapped" users. I don't think we should regress back to that for default operation, though I could perhaps see some optional "please get me the latest packages from msys, I know that this is unstable and might break my build".
I think the long term solution to this problem either needs to be:

Someone provides stable rehosting of the MSYS packages. It's challenging for us (Microsoft) to do this because it introduces significant legal challenges. A single package with a license that we can't rehost defeats this approach, so it's not clear up-front that relying entirely on us to provide the mirror is a viable solution.

Fortunately, because we do pin the SHA512 hashes of the packages, we don't need to put significant trust into such a mirror. This could even be as simple as someone creating a GitHub repo and attaching the handful of packages that vcpkg uses to a release.

vcpkg learns to build any needed msys pieces from source as host packages (or we find alternatives). We've started making this transition in some places (pkgconf[3]), but some ports will always remain a challenge. Ffmpeg requires MSYS for every documented build procedure on Windows[4].

[1] https://github.com/microsoft/vcpkg/blob/master/docs/users/assetcaching.md
[2] Asset caching covers everything we can download over http/https/ftp -- there are a very small number of packages which require us to run git clone that are missed by asset caching, but there are additional steps you can take if you need those packages.
[3] https://github.com/microsoft/vcpkg/blob/master/ports/pkgconf/
[4] https://trac.ffmpeg.org/wiki/CompilationGuide

In addition to asset caching, it is also possible to manually transfer previous downloads directly via the downloads folder.
The key barrier remains to not possess the downloads for other past revisions of vcpkg.
My playground is currently frozen at the step where I need to decide how to couple pacman downloads with vcpkg's asset caching. It is doable, but you have to define and freeze the versions and  the SHA512 revisions.
In any case, I want that a --only-downloads run captures all required downloads.


Implement undo-redo feature

Changes

[x] Add commands for undo and redo
[x] Make product commands(add, update, delete) reversible
[x] Make item commands(add, update, delete) reversible
[x] Make clear command reversible
[x] Make update-all and delete-all commands reversible
[x] Add unit tests

Related Issues/ PRs

Fixes #80

Codecov Report

Merging #108 (584dc77) into develop (ea9a459) will decrease coverage by 0.36%.
The diff coverage is 57.54%.

@@              Coverage Diff              @@
##             develop     #108      +/-   ##
=============================================
- Coverage      56.65%   56.28%   -0.37%
- Complexity       421      432      +11
=============================================
  Files             90       96       +6
  Lines           1684     1775      +91
  Branches         151      153       +2
=============================================
+ Hits             954      999      +45
- Misses           667      712      +45
- Partials          63       64       +1

Impacted Files
Coverage Δ

...n/java/seedu/ibook/logic/commands/RedoCommand.java
0.00% <0.00%> (ø)

...n/java/seedu/ibook/logic/commands/UndoCommand.java
0.00% <0.00%> (ø)

...ain/java/seedu/ibook/logic/parser/IBookParser.java
70.00% <0.00%> (-7.78%)
:arrow_down:

src/main/java/seedu/ibook/model/Model.java
100.00% <ø> (ø)

...ibook/model/exceptions/AtLatestStateException.java
0.00% <0.00%> (ø)

...ibook/model/exceptions/AtOldestStateException.java
0.00% <0.00%> (ø)

...c/main/java/seedu/ibook/model/ReversibleIBook.java
54.83% <54.83%> (ø)

...in/java/seedu/ibook/model/StateChangeRecorder.java
68.75% <68.75%> (ø)

src/main/java/seedu/ibook/model/ModelManager.java
74.28% <72.22%> (-6.36%)
:arrow_down:

...in/java/seedu/ibook/logic/commands/AddCommand.java
92.30% <100.00%> (+0.64%)
:arrow_up:

... and 5 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

1. Reorganizing folder structure
That's a good idea. Will group all ReversibleIBookAction classes into a new package.
2. "Setup and Teardown" methods in model
This is a valid concern also.
Thanks for the proposed solution!
Just to clarify, so you are suggesting that saveStateChange() to be called internally each time before a new prepareNewStateChange()?

... Just to clarify, so you are suggesting that saveStateChange() to be called internally each time before a new prepareNewStateChange()?

Actually, I was thinking like a boolean hasPendingChanges in StateChangeRecorder such that:

Actions will check to make sure hasPendingChanges == true
saveStateChange() will set hasPendingChanges to false
prepareNewStateChange() only works if hasPendingChange == false, sets hasPendingChange to true

Okay, I get it now, but when should saveStateChange() be called? Everytime before prepareNewStateChange()?

It should be called after prepareNewStateChange(). But I don't think there is a good way to make this work, so the suggestion I gave just makes sure it is called before the next prepareNewStateChange()
Usage-wise it is the same, so no need to change your existing code. I'm just suggesting a defensive strategy to prevent misuses in the future


Introduce prettier and eslint

[x] Make sure to add prettier to format the code in a standard way.
[x] Add eslint to maintain typescript standard patterns

Added eslint and prettier for src files


Feature request: Extract .graphql files

I'd like to be able to run a command to extract separate .graphql files from all the queries that my components are issuing. In addition to being able to use such files with something like persist-graphql I'd like to experiment using them in my tests as well. What do you think?

@blackxored what's the output that you want specifically? would you like them extracted into one big file?

Ideally an operation-name.graphql adjacent to the file it found the query
in.
--
Best Regards,
Adrian Perez
https://adrianperez.codes
On December 18, 2017 at 11:16:23 PM, Lewis Chung<EMAIL_ADDRESS>wrote:

@blackxored https://github.com/blackxored what's the output that you
want specifically? would you like them extracted into one big file?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apollographql/apollo-codegen/issues/319#issuecomment-352575431,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIIvD6dwVTvBy9BS6tV3q4SmgYbzl40ks5tBuQ3gaJpZM4RDyxA
.

In general, this is possible by using this function: https://github.com/lewisf/apollo-codegen/blob/master/src/loading.ts#L50
we might be able to export it, but i don't buy the argument that this is generally useful on it's own, which is why we haven't exported it as a publicly accessible command.
if persisted queries is the only use case, maybe we should talk in #314. I would rather export a "persisted queries generation" api than a "pull my queries out of javascript source" api.

I’ll take a look. Persisted queries is not an issue as persistgraphql kind
of works. Namely, doing queries from IDE and using queries for integration
tests are two scenarios I can think. In addition I think Apollo native
clients require external files as well.
--
Best Regards,
Adrian Perez
https://adrianperez.codes
On December 23, 2017 at 1:57:03 AM, Lewis Chung<EMAIL_ADDRESS>wrote:

In general, this is possible by using this function:
https://github.com/lewisf/apollo-codegen/blob/master/src/loading.ts#L50
we might be able to export it, but i don't buy the argument that this is
generally useful on it's own, which is why we haven't exported it as a
publicly accessible command.
if persisted queries is the only use case, maybe we should talk in #314
https://github.com/apollographql/apollo-codegen/issues/314. I would
rather export a "persisted queries generation" api than a "pull my queries
out of javascript source" api.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apollographql/apollo-codegen/issues/319#issuecomment-353696977,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIIvIffBEZTRGBSLRPOLcXx3sH2QKz-ks5tDE_fgaJpZM4RDyxA
.


MongoDB: Creating with unchecked scalars on m:n is cannot be found with relation syntax

Bug description
Currently it seems like if you create a record with an unchecked scalar, you also need to find that record with an unchecked scalar.
You can't mix and match, where you create with an unchecked scalar, then use the higher-level syntax to find via relationship.
How to reproduce
Prisma Schema
datasource db {
  provider = "mongodb"
  url      = env("DATABASE_URL")
}

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["mongodb"]
}

model Cluster {
  id          String   @id @default(auto()) @map("_id") @db.ObjectId
  name        String
  followers   User[]   @relation("ClusterFollowers", fields: [followerIDs], references: [id])
  followerIDs String[] @db.ObjectId
}

model User {
  id                 String    @id @default(auto()) @map("_id") @db.ObjectId
  name               String
  clusterFollowers   Cluster[] @relation("ClusterFollowers", fields: [clusterFollowerIds], references: [id])
  clusterFollowerIds String[]  @db.ObjectId
}

index.ts
import { PrismaClient, Prisma } from "@prisma/client"
const prisma = new PrismaClient()

async function main() {
  await prisma.$connect()
  await prisma.user.deleteMany()
  await prisma.cluster.deleteMany()
  const u1 = await prisma.user.create({
    data: {
      name: "Bob",
    },
  })
  const u2 = await prisma.user.create({
    data: {
      name: "Alice",
    },
  })
  const c1 = await prisma.cluster.create({
    data: {
      name: "Tennis",
      followerIDs: [u1.id, u2.id],
    },
  })
  const c2 = await prisma.cluster.create({
    data: {
      name: "Soccer",
      followerIDs: [u2.id],
    },
  })
  const c3 = await prisma.cluster.create({
    data: {
      name: "Basketball",
      followerIDs: [u1.id],
    },
  })
  const clusters = await prisma.cluster.findMany({
    where: {
      followers: { some: { id: u1.id } },
    },
  })
  console.log(clusters)
}

main()
  .catch(console.error)
  .finally(() => prisma.$disconnect())

Running the script
$ ts-node index.ts
[]

Note that finding by unchecked scalars works as expected:
import { PrismaClient, Prisma } from "@prisma/client"
const prisma = new PrismaClient()

async function main() {
  await prisma.$connect()
  await prisma.user.deleteMany()
  await prisma.cluster.deleteMany()
  const u1 = await prisma.user.create({
    data: {
      name: "Bob",
    },
  })
  const u2 = await prisma.user.create({
    data: {
      name: "Alice",
    },
  })
  const c1 = await prisma.cluster.create({
    data: {
      name: "Tennis",
      followerIDs: [u1.id, u2.id],
    },
  })
  const c2 = await prisma.cluster.create({
    data: {
      name: "Soccer",
      followerIDs: [u2.id],
    },
  })
  const c3 = await prisma.cluster.create({
    data: {
      name: "Basketball",
      followerIDs: [u1.id],
    },
  })
  const clusters = await prisma.cluster.findMany({
    where: {
      followerIDs: {
        has: u1.id,
      },
    },
  })
  console.log(clusters)
}

main()
  .catch(console.error)
  .finally(() => prisma.$disconnect())

Running this:
$ ts-node index.ts
[
  {
    id: '621ff611e44eacf4dfde2c8a',
    name: 'Tennis',
    followerIDs: [ '621ff611e44eacf4dfde2c88', '621ff611e44eacf4dfde2c89' ]
  },
  {
    id: '621ff611e44eacf4dfde2c8c',
    name: 'Basketball',
    followerIDs: [ '621ff611e44eacf4dfde2c88' ]
  }
]

Also if you connected instead of used unchecked scalars, it also works as expected:
import { PrismaClient, Prisma } from "@prisma/client"
const prisma = new PrismaClient()

async function main() {
  await prisma.$connect()
  await prisma.user.deleteMany()
  await prisma.cluster.deleteMany()
  const u1 = await prisma.user.create({
    data: {
      name: "Bob",
    },
  })
  const u2 = await prisma.user.create({
    data: {
      name: "Alice",
    },
  })
  const c1 = await prisma.cluster.create({
    data: {
      name: "Tennis",
      followers: {
        connect: [
          {
            id: u1.id,
          },
          {
            id: u2.id,
          },
        ],
      },
    },
  })
  const c2 = await prisma.cluster.create({
    data: {
      name: "Soccer",
      followers: {
        connect: {
          id: u2.id,
        },
      },
    },
  })
  const c3 = await prisma.cluster.create({
    data: {
      name: "Basketball",
      followers: {
        connect: {
          id: u1.id,
        },
      },
    },
  })
  const clusters = await prisma.cluster.findMany({
    where: {
      followers: { some: { id: u1.id } },
    },
  })
  console.log(clusters)
}

main()
  .catch(console.error)
  .finally(() => prisma.$disconnect())

Resulting in:
$ ts-node index.ts
[
  {
    id: '621ff5f268bdf33cf7c81330',
    name: 'Tennis',
    followerIDs: [ '621ff5f268bdf33cf7c8132e', '621ff5f268bdf33cf7c8132f' ]
  },
  {
    id: '621ff5f368bdf33cf7c81332',
    name: 'Basketball',
    followerIDs: [ '621ff5f268bdf33cf7c8132e' ]
  }
]

Expected behavior
Right now two seemingly equivalent writes alter how you need to read. I don't think this should be the case.
I think what's happening is that connect connects both sides of the relationship and the normal relation syntax (e.g. follower: { some: { id: user.id } }) either checks both sides or checks the wrong side.
If I understand correctly, that "some" query should check the side where the foreign keys are, namely the cluster's side.
Prisma information

Environment & setup

OS: OSX
Database: MongoDB
Node.js version: v14.18.1

Prisma Version
npx prisma version
Environment variables loaded from .env
prisma                  : 3.11.0-dev.30
@prisma/client          : 3.11.0-dev.30
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 4cac12afbeef2fa3eedf1cb87c79bc15e2648836 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 4cac12afbeef2fa3eedf1cb87c79bc15e2648836
Studio                  : 0.458.0
Preview Features        : mongoDb

An m:n relation where the data is only stored (or available) on one side is currently intentionally not supported by Prisma MongoDB. We decided to start with the two-sided variant of m:n relations only.
But is there maybe a workaround so you can write the initial query in a way that also puts the unchecked scalar on the other side of the relation?


Dynamic help text

Allow dynamic help instead of using doc strings or a help parameter on the cmd attribute as help text. This can be done by letting the library user specify a method to call that provides the help text and then calling it the moment help is retrieved.

hi i'm trying to override a help function but the fields are private

This feature hasn't been implemented yet so there is no way to have dynamically generated help at the moment. Static help text for a command does work, that might solve your problem.
If you can post some code with an example of what you're trying to do maybe I can give you some more specific help.

if you can fix it, it would be great 👍

Thanks,
I hadn't meant for the help command to be overridden like this, but I can imagine that it can be useful. I'll have a look at making this possible. The help function is a bit of a placeholder right now and it will change in the future anyway.
I'm also curious why you are trying to replace the built in help. What features is it missing? Maybe I can make it fit your use-case?

i just want to create my own help structure and for making it possible i need to achieve command name  and description from struct that is currently private.

No problem. I'm just finishing up a feature for version 0.3.8. I'll prioritize this for 0.3.9 then.
Do be aware that I'll probably change the way commands are parsed for 0.4, this might cause internal structs like the ones you want to access to change.
Also let me know if you have any more feedback about cmdr. I do see that it's being used a bit but you're the only user who has contacted me so far.

if you can add others keys feature like tab and autocompletion it would be great.
i find this crate after 2h of research about cli in web (and if i have to say, it work perfectly), maybe it's for this reason that is not so used or viewed.
thanks for your time 👍

Yeah, I havent been very good at promoting this crate. I think I first wanted it to be a bit more finished.
Autocompletion is certainly still coming. As well as better argument parsing and a better help system. I just finished switching to other scopes today, which was a feature I was struggeling with a bit. So hopefully those other features will be easier. :-)
Thanks for the feedback! I'll let you know when I have something you can use.

perfect 👍

I got some fixes for you checked in to master. You should be able to get to them by adding;
[dependencies]
cmdr = { git = "https://github.com/mendelt/cmdr", branch = "master" }

to your Cargo.toml.
I made some changes to the help function so be sure to look at the new source code.
Let me know if this helps you. Then I'll release it as 0.3.9.

I pushed release 0.3.9. As the original ticket (dynamic help) is not something that I will implement before 1.0 I'll close this ticket.


Remove TUF fields that don't apply to gittuf

The original root and targets metadata schemas were taken directly from the TUF specification. As such, they include fields that we don't use in gittuf.
Removed Fields:

SpecVersion: this field identifies the version of the TUF specification the metadata conforms to. We don't conform to the TUF specification.

ConsistentSnapshot: this boolean field indicates if the repository uses consistent snapshots as defined in the TUF specification. We don't use this (and in fact we don't use snapshot metadata at all as the RSL effectively serves the snapshot role).

Version: this field is an incrementing integer that identifies the version of the metadata for the specific role. In TUF, this is used to ensure we have a consistent set of metadata via the snapshot role. As before, the RSL gives us this property naturally.

Note that we still don't use the Expires field in gittuf verification. We need to explore what it means for policy metadata to expire in a Git repository and whether the expiry check (for the latest policy metadata) applies the same way it does in TUF.

cc @lukpueh

Conceptually, this makes sense to me.
On a related note, I do wonder if having a version field for this information is useful, but maybe that should be somewhere for the overall gittuf metadata / file formats.

You're right in that we'll need some way of tracking the gittuf implementation version that some piece of metadata was generated / updated with, possibly only when there's an actual breaking change. We see it with 3418e74eb4a7b4f6c5ac32a7653a6b22cd59b8cb (draft commit to add role name to targets metadata so we sign over it) and also in #326 but I want to address how that works separately. I think we'll want to do something like track the versions for which the tuf package in the implementation makes a backwards incompatible change?


CompilerSupport: better match library compile flags

Add flags to match C++ standard
Don't hardcode libc++ for Clang support
Closes https://github.com/pothosware/PothosCore/issues/233

CI seems confused. maybe its time for dist: focal

Clang and GCC support are identical except the executable. I think we aught to ship the compiler executable into the build just like with MSVC

Marking as blocked by https://github.com/pothosware/PothosCore/pull/237, as this will include the /Zc:__cplusplus MSVC flag addition mentioned by @guruofquality.

Actually, there is one difference between the GCC and Clang support files. Clang builds will likely result in a linker error if https://github.com/pothosware/PothosCore/issues/233 is not resolved.

I moved the compiler simplification to another branch: c5dd9e55bc1f586abb39f707c404c58e6729fce1 so it wont be in the cmake update commit. This pull needs a rebase after merging all that

Rebased and pushed


[python] Process responses to Network Commissioning Cluster commands

Problem
ZCL code for Python CHIP Controller doesn't process responses to Network Commissioning Cluster commands as the cluster is disabled in the ZAP configuration.
Summary of Changes
Enable Network Commissioning Cluster and all commands in the ZAP configuration of Python CHIP Controller
Note: only local-clusters.zap file needs to be reviewd. The rest it auto-generated!
Fixes #6121

I wish there was a way to suppress the TODO bot in auto-generated code....

@Damian-Nordic - needs conflict resolution

Not cherrypicked however available in the T2.2 branch


unobserveDeep calls addEventListener instead of removeEventListener

Hi @dmonad,
Came across this while checking out the source code. I guess this is a simple copy paste error. Same issue is also present in y-array. But I am not opening another issue there.
Thanks for your hard work on this awesome library!
y-map unobserveDeep
y-array unobserveDeep

Uhh.. this is bad. Thanks a lot for checking my code :) I would have never noticed ...

This is fixed in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>


 Would love to learn how!

As this package is getting likes and starts, I am genuinely curious of why and how people are using it.
So, if you use this in your Flutter app and have the time, please share here how you are using it or any screenshot from your app. It would help immensely in order to get ideas for future features and enhancements.

Hi, greeting from Greece.
Currently, you cannot set the spacing between the pattern features. The best you can get is by using the SubtlePatch pattern, increase the featuresCount property, and paint it on the whole canvas:
class MyPainter extends CustomPainter {
  final BuildContext context;

  MyPainter(this.context);

  @override
  void paint(Canvas canvas, Size size) {
    SubtlePatch( bgColor: Colors.white, fgColor: Colors.blueGrey, featuresCount: 80)
            .paintOnCanvas(canvas, size);
 }
}

You will get this pattern:

However, you can always fork this project and customize the pattern painting process, if you want!


⚠ Processors has degraded performance

In 38334f9, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: Processors performance has improved in 69d5e0e.


How to paginate with Entities?

paginate @timelines, with: Entities::Timeline

i use present paginate(positions), with: API::Entities::Position


Get rid of subfunctions

Remove the various subfunctions in MEMES: these have been uploaded in the repo: MQ_MEG_Scripts/tools

See https://github.com/Macquarie-MEG-Research/MQ_MEG_Scripts/tree/master/Tools

This needs to be extended for the adult MEMES version (note to self!)

Done... but needs testing for MRI scaling


Module not found: Recursion in resolving

Describe the bug
for fix need replace all dist/ to ./dist/ in package.json
Sorry i cant make PR
Screenshots

Desktop (please complete the following information):

OS: linux
Browser: chrome
Version: 79

Describe the bug
for fix need replace all dist/ to ./dist/ in package.json
Sorry i cant make PR
Screenshots

Desktop (please complete the following information):

OS: linux
Browser: chrome
Version: 79

Hi! Check this PR https://github.com/webistomin/nanogram.js/pull/15
Also try to install this version. I hope this helps, but please let me know if you need anything else or if you have any other questions
npm i<EMAIL_ADDRESS>

thanks!

its working! perfect. thanks


Use the /cache dir provided by the codeception image for function-mocker

This PR fixes an issue that would present itself when using tric to test
plugins that use Function Mocker on Linux.
tric uses a function-mocker-cache named volume to store Function Mocker
cache; that volume would be mounted, by default, with root:root ownership.
tric runs the codeception service, on Linux, aliasing the current UID:GID
to docker:docker to avoid file mode issues and that docker user would not
have write access to the directory bound to the function-mocker-cache named
volume (/tmp/function-mocker).
This PR:

Leverages the support, in pretty much all the plugins that use Function Mocker
and bootstrap it, of a FUNCTION_MOCKER_CACHE_PATH env var to set that var to /cache.
At run-time binds the function-mocker-cache volume to the a+rwx /cache directory
in the codeception container; the /cache directory is a world-writeable directory
pre-created in the codeception image for that purpose.
Since the /cache directory to whiche the function-mocker-cache volume is bound already
exists (the container created it) and has accessible file modes (chmod a+rwx), then that
directory will not be overwritten with an accessible "ghost" directory by the Docker engine
resulting in an accessible, to the docker user, Function Mocker cache directory.

Tested on the-events-calendar plugin

This fix works for me on my Ubuntu VM.


RequestValidationError is not a sub-class of Pydantic's ValidationError

Discussed in https://github.com/tiangolo/fastapi/discussions/10421

Originally posted by valentinoli October 10, 2023
First Check

[X] I added a very descriptive title here.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
@app.exception_handler(ValidationError)
async def validation_exception_handler(request: Request, exc: ValidationError):
    return PlainTextResponse(
        str(exc), status_code=status.HTTP_500_INTERNAL_SERVER_ERROR
    )

Description
I was trying to handle both RequestValidationError and ValidationError by writing a custom handler for ValidationError but that doesn't work.
The docs state that

RequestValidationError is a sub-class of Pydantic's ValidationError

However, looking at FastAPI source code reveals that this is not the case.
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.101.0
Pydantic Version
2.1.1
Python Version
3.11.3
Additional Context
No response

The documentation needs to be fixed. The RequestValidationError was a subclass of ValidationError before 0.100.0 - it's not the case anymore.

Duplicate of #10424 😉

Ah. I forgot. Thanks.


Documentation

Update README
and Also write proper documentation about the available playbooks

/cc @kpouget

I am going to check how can we use Prow to get pages like we do for NFD https://kubernetes-sigs.github.io/node-feature-discovery/stable/get-started/index.html

I'm not sure what would be the link with Prow, but I like the idea to have a proper documentation website
I like Sphinx + readthedoc template, but I'm open to other engines :)


Clarify use of XHTML in attributes

See JIRA 520

Section added in IG

Reviewed and added cross-references to the syntax template and unstructured content class.
Updated unstructured content IG part accordingly.


addition of nav bar in home i.e index.html?

i feel this feature will make the app more easier for the user to navigate to the about page

Done!

great


Dim non-selectable text

Is it possible to have a config that styles all unselectable text as "dimmed" (\\033[2m)?

this is now supported through the new @fingers-backdrop-style option 👯


Localization plugin

Initial commit of the localization plugin. I added an Android library module to this overall project, but couldn't get past some funky gradle issues related to package names, javadocs creation scripts, and the localization example being able to find the LocalizationPlugin class in a different module. The test app activity folder has the plugin and example activity for now. Feel free to move things around.

Wasn't sure whether the plugin needed other methods such as an enabled/disabled boolean toggle like how other plugins can be made visible/invisible.

I added an individual method for converting the map to each of the languages that we support. Maybe they don't belong in this plugin.

Anyways, here it is.

cc @tobrun  @1ec5 @jcsg

And yes, I will create a test class too

FYI, here's why the test is failing 👇

@langsmith if you aren't adding any instrumentation tests, feel free to remove that example file.

Note: Cameron's review requests have been addressed.

I added an individual method for converting the map to each of the languages that we support. Maybe they don't belong in this plugin.

There does need to be a list hard-coded somewhere, until mapbox/tilejson-spec#14 is implemented. (Someday…) Note that the canonical list of available languages is in the Mapbox Streets source v7 documentation.

Thanks @1ec5 . Lots more to learn/fix 👍

There does need to be a list hard-coded somewhere, until mapbox/tilejson-spec#14 is >implemented. (Someday…) Note that the canonical list of available languages is in the Mapbox >Streets source v7 documentation.

Are there specific changes that I need to make related to ☝  or was that just a comment? Couldn't tell

Note that the canonical list of available languages is in the Mapbox >Streets source v7 documentation.

Are there specific changes that I need to make related to ☝  or was that just a comment? Couldn't tell

No changes needed for now. The canonical list is maintained by the cartography team and is more likely to be kept up-to-date than the /help document.

I cleaned up a bunch of the code and moved things around to reflect the latest changes made in master. Would be good to continue working on this and merging it.

Per @1ec5 's suggestion, let's add installation instructions to this help page before releasing this plugin


Fixed role name reference

The role name in the README file was referencing the upstream role name and not the one that gets installed when running ansible-galaxy install viasite-ansible.swapfile

Thanks!


Add support for gogs

can you give me a API docs equivalent to GitHub's PullRequest API?

sryfor the noise  but gogs API is incomplete

sry for the noise  but gogs API is incomplete

Gitea has more complete api, including status api. What methods are needed?

@haya14busa Drone has https://github.com/drone/go-scm which handles github gitlab and gogs/gitea.

Thanks. Looks like the real API has not been implemented yet, but looks interesting.


Make the token serializer configurable

#256  Issue

@Andrew-Chen-Wang We need to update some documentation with this change

@2ykwang yes. Classes have swamped me, but I plan to make a release next week. Do you mind putting together the CHANGELOG and recompiling the languages? We should be moving to 5.0.1. Also we need to drop the PyJWT minimum constraint, but that means including PyJWT in the test suite. So that needs figuring out in tox.ini. If we can get that to happen, we can bump version to 5.1.0.


change error payload to json

this was merged from https://github.com/wso2/product-apim/pull/10230


Fix i18n script

📝 Description
There was something wrong with translations.
the script for no reason adds inexistence keys like.
{
"showFailed": "showFailed",
"showSuccess": "showSuccess"
}

just use i18next which will load automatically our i18next configuration file and restrict the research to the src folder and the console-extensions.json file

/lgtm


Arabic text rendering scrambled

Operation System: Ubuntu 16.04
Beaker Version: 7.10
A simple html file containing Arabic text like this:
<!DOCTYPE HTML>
<html>
<body>
بسم الله الرحمن الرحيم
</body>
</html>

renders as:
Ø¨Ø³Ù… Ø§Ù„Ù„Ù‡ Ø§Ù„Ø±ØÙ…Ù† Ø§Ù„Ø±ØÙŠÙ…

Checking the file encoding with file -i index.html outputs:
index.html: text/html; charset=utf-8
Screenshot of rendering:

Screenshot of source:

Tried hosting the file on hashbase:
dat://hossameldeen.hashbase.io+3/index.html
https://hossameldeen.hashbase.io/index.html
On beaker: The behaviour of rendering & source-viewing is the same, regardless of whether I'm opening it with the dat or https url.
On chrome: (ofc, using the https url only) Renders the same but view-source returns:
<!DOCTYPE HTML>
<html>
<body>
Ø¨Ø³Ù… Ø§Ù„Ù„Ù‡ Ø§Ù„Ø±ØÙ…Ù† Ø§Ù„Ø±ØÙŠÙ…
</body>
</html>

Thanks for reporting. We'll check into this.

For some reason, it's now working. Feel free to close, @pfrazee , if your mileage is the same. Perhaps #831 solved it (didn't A/B test to check).

Good deal!


Couldn't start

Whenever I try to open Bullet, nothing happens the circle in the Cursor rotates and then nothing. I tried different version from google yet found no solution.

How am I supposed to debug the issue with the little information you gave?

Are you unpacking the archive before running it? Can you use version 1.2.1 and see if it creates a Log.txt file when you start? If it does, paste me the crash dump. Do you have the .NET framework 4.7 installed?

THANKS THE PROBLEM IS SOLVED


simplify jobs

merge ChildJob into Job
merge ElementJob into Job
replace the jobs module with the jobs.py package

In general I'm not fond of this refactor.
The reason why ElementJob is separate from the abstract Job class is because not all jobs are necessarily related to processing an element in the pipeline. Originally we had the cache cleanup job which was an example of this but has since been removed.
The way the scheduler manages resources (as in "processing", "downloading", "uploading") for which the user configuration can specify how much of these are allowed to occur in parallel is an API promise, I would say that any activity which buildstream is potentially processing and parallelizing should be handled by the scheduler and should be adhering to these resource restrictions.
While it is true that we do not currently have a non element processing job type, I'm not convinced that we will never have one, and it worries me to not have this design already sorted out and in place in case that other activities present themselves in the future (the danger being that implementors just bypass the scheduler and implement their own threads without conforming to the job pattern).

In general I'm not fond of this refactor.

I had further conversation with @juergbi on this and it's better to update the issue.
Main points are:

I'd like to keep the separation of Job and ElementJob for reasons stated above
I agree that the simplification of job.py and elimination of the separate ChildJob object is desirable, as I believe the first patch in this branch achieves

I'm a little concerned about this patch, just because it appears to touch on task termination logic. BuildStream suspension and termination, especially in interactive scenarios, is really not very well covered in the test suite, so I would just appreciate that some creative interactive testing be done to avoid regressions on this front.

* I'd like to keep the separation of `Job` and `ElementJob` for reasons stated above

The main reason I decided to merge ElementJob into job is the fact that it didn't do much: it just replaced the abstract method to override with a callback function, and everything else was using the callbacks instead of subclassing.
It is true that there is an Element specific part in it, namely the fact that an Element is passed to the constructor (and subsequently to the callback functions). But the Element-specific logging stuff is already in the parent Job class (exposed to subclasses via protected methods).
Would you be open to reworking this patch such that the element passed to the job can be None (and even have None default value), and document how to make a Job without an Element?

* I agree that the simplification of `job.py` and elimination of the separate `ChildJob` object is desirable, as I believe the first patch in this branch achieves

Ack.

  * I'm a little concerned about this patch, just because it appears to touch on task termination logic. BuildStream suspension and termination, especially in interactive scenarios, is really not very well covered in the test suite, so I would just appreciate that some creative interactive testing be done to avoid regressions on this front.

It doesn't. The only change it does is a cut-and-paste of ChildJob.terminate() into where it was called in Job.terminate(), and this is not a big function or anything.
And to be honest, this was my main motivation for touching this part of the code. I'd like to try to fix #1613, and having this back and forth between two classes isn't helping me understand.
I appreciate that this is a delicate problem (as we already have #1613 and another instance where we get a BUG message when terminating), but I think this PR isn't touching that and shouldn't be blocked by testing.

Long time no reply here sorry.

Would you be open to reworking this patch such that the element passed to the job can be None (and even have None default value), and document how to make a Job without an Element?

I'd really rather keep all the boiler plate in place which clearly separates the ElementJob as a specialized concrete class of the abstract Job class.
I know that the Job class has some unfortunate knowledge about elements, which is mostly related to logging context, but still it would be great to keep these separate.


[feature] (planner) InferPredicate (#7096)

Proposed changes
this pr is for #7096  , which is add a function for infer predicate.

Add a switch enable_infer_predicate to control whether to perform predicate expansion.
Register a new rule InferFiltersrule and add it to GlobalState.
Traverse Conjunct to construct on/where equivalence connection, numerical connection and isNullPredicate.
Infer all equivalence connections
Construct additional numerical connections and isNullPredicate

Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)
[ ] Optimization. Including functional usability improvements and performance improvements.
[ ] Dependency. Such as changes related to third-party components.
[ ] Other.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have created an issue on (Fix #ISSUE) and described the bug/feature there in detail
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Please change your PR title and msg by https://doris.apache.org/master/zh-CN/developer-guide/commit-format-specification.html#commit-格式规范

Waiting for UT


per-sensor units

Precipitation/hr. using in/hr isn't good in imperial system. mm/hr is much more useful.
Can we have an option to change units per sensor? For example, keep Fahrenheit temperature units but change precipitation units in/hr to mm/hr.

sorry meant to post in ha-card-weather-conditions


Pinterest widget example wrong height

The example for the embed widget (https://ampbyexample.com/components/amp-pinterest/) has wrong dimensions set and thus only shows the top half of the widget.
In the embed preview of the pin, you can see the correct dimensions: https://developers.pinterest.com/tools/widget-builder/?type=pin&url=https%3A%2F%2Fde.pinterest.com%2Fpin%2F228065168607834583%2F

Thanks for reporting this. Seems like only the small size is supported - also the size isn't 100% correct.
//cc @paul-matthews


Allow kernel version to be configurable for qemu

Signed-off-by: Zain Asgar<EMAIL_ADDRESS>Summary: This allows kernel version to be passed via a flag. There is a set list of kernels that can be executed and they are built using
//tools/docker/kernel_builder.
Relevant Issues: #709
Type of change: /kind test-infra
Test Plan: bazel test -c opt --config=qemu-bpf  --cache_test_results=no --remote_download_outputs=all //src/stirling/source_connectors/socket_tracer:redis_trace_bpf_test --test_output=streamed --//bazel/test_runners/qemu_with_kernel:kernel_version=4.14.304
--//bazel/test_runners/qemu_with_kernel:kernel_version can be set to different values. There is a bug with the 4.14.304 kernel config that'll be fixed next, but the others are working.

Why did you pick the given kernel versions? Should we instead use the latest patch versions for each LTE release?
https://github.com/pixie-io/pixie/blob/main/ci/bpf/00_create_instance.sh#L27-L38 for reference has those

Why did you pick the given kernel versions? Should we instead use the latest patch versions for each LTE release? https://github.com/pixie-io/pixie/blob/main/ci/bpf/00_create_instance.sh#L27-L38 for reference has all the LTE releases (though not the latest patch versions).

That makes sense. Do you want to accept this and I will rework which kernel versions are used? I need to update the kernel config anyways.


[ui-shell] Updating carbon-addons-iot-react version to 2.76.0 causes ui-shel sidenav to change background color

Describe the bug
Hi all,
we needed to upgrade the version of carbon-addons-iot-react to 2.76.0 for DateTimePicker support. With that change our SideNav component changed the background-color of active links to #e5e5e5
Environment/versions:

OS: MacOS
Browser: chrome
carbon-addons-iot-react version: v2.76.0

Additional context
I noticed that the change seems to come from this file:
carbon-components/scss/components/ui-shell/_side-nav.scss.
On v2.76.0 the file looks like this:

A working previous version does not have the background-color attribute:

Does someone know if this is an intended behaviour?

I'm getting the same behavior I think it's carbon-components themselves setting this and overriding the color we were intending to set.  @lukefirth which color do we want?

Strangely it's not broken in the storybook, only if we import it into our own project are the carbon-component overriding the carbon-addons-iot-react version

@creckling recently looked into this for other reasons, I'm pretty sure I know the answer but I'd like him to report his findings just to be on the safe side 😄

looks like we decided to go with a black themed side nav in addons, but the carbon-components one is white themed, which is causing these kind of conflicts @lukefirth .  I'll just temporarily set back to our original color.  Ideally we'd resolve this discrepancy between the SideNav inside carbon-components and the one inside carbon-addons-iot-react

Its a purposeful choice - the Carbon side nav is indeed white, but for many reasons we need to keep black (partially as part of EAM support down the road, who have need for a dark one, and partially down to a declaration by the visual bodies of our org).
For note, Carbon know its a problem that their nav (in sketch and in code) doesn't allow theming and flexibility like this, but its all wrapped in a longer term fix they have coming to allow the theming for it. Hopefully we'll be able to leverage that when it comes, rather than get broken by it ha.

:tada: This issue has been resolved in version 2.78.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Authorization with Token From GOA

I'm writing a Node app that interfaces with Gnome-Online-Accounts (GOA).
GOA can provide a token but it only returns something like:
[
  'ya29.GlxiBPkSoKjCwTpke4jpryte0uMKM8b3uuMWyCaF...',
  1257
]

The second value seems to be an expires_in (seconds) value not an expiry_date. I also can't find a way of getting a refresh token (it seems as though GOA controls all of that, so there is also not clientsecrets.json that I have access to, though I can get the clientId and clientSecret). It seems as though with the token, the id and the secret I should be able to get authorization but I'm failing to do so.
When I use authorizeWithToken, loadClientSecrets fails because I don't have a clientsecrets.json.
Is there some way to inject the secret and the id so that the token will work or am I doing something else wrong?
Thanks

I have also tried manually building an oauth object to pass into queryMessages:
let accessToken = {
	"access_token": token[0], // see the array in the OP
	"token_type":"Bearer",
	"expires_in":token[1] // again, see the array above
}
    let oauth2Client = new auth.OAuth2(clientId, clientSecret, "")
oauth2Client.credentials = accessToken
console.log(oauth2Client)
let options = {
            query: 'from:*.org',
            format: 'metadata'
    }
gmailApiSync.queryMessages(oauth2Client, options, function (err, response) {
	if (err) {
		console.log('Something went wrong: ' + err);
		return;
	}
	console.log(JSON.stringify(response));
});

But this tells me I need to register my app to use the API:

Something went wrong: Error: listMessagesInitial: The API returned an error: Error: Access Not Configured. Gmail API has not been used in project xxxxx...

If you cannot download the clientsecrets.json  file form the Google Dev console, I think you could build it yourself with the client_id and client_secret you get from https://developer.gnome.org/goa/stable/gdbus-org.gnome.OnlineAccounts.OAuth2Based.html
with this structure https://raw.githubusercontent.com/fedecia/gmail-api-sync/master/test/client_secret.json

I built the client_secrets file but now I'm getting Authorize this app by visiting this url: ...
There's definitely something I'm not understanding here. I don't want the user to have to allow my app permission to access their email - they've already granted Gnome permission to do that...

it looks like you're invoking generate_server_auth.js which is for a different purpose.
What i meant is to create a client_secret with the client_id and client_secret that you get from GOA:
this is an example downloaded from the google console following:  Step 1 .
{
installed: {
client_id: "1081826302113-deknk5sgd6n2vutgv3l4ub4530qqc8kh.apps.googleusercontent.com",
project_id: "protean-willow-165021",
auth_uri: "https://accounts.google.com/o/oauth2/auth",
token_uri: "https://accounts.google.com/o/oauth2/token",
auth_provider_x509_cert_url: "https://www.googleapis.com/oauth2/v1/certs",
client_secret: "yWDet9Tz2Ck02mONqSeVuoHo",
redirect_uris: [
"urn:ietf:wg:oauth:2.0:oob",
"http://localhost"
]
}
}

Just update your client_id , client_secret and redirect url

The important code is:
let secrets = client_secret_json.get("installed")
secrets.client_id = clientIdFromGOA
secrets.client_secret = clientSecretFromGOA
secret_store.set("installed", secrets) // This synchronously stores the clien_secrets file

gmailApiSync.setClientSecretsFile('./client_secret.json')
gmailApiSync.authorizeWithToken(accessToken, (err, oauth2Client) => {
	if (err)
	{
		return console.log(err)
	}
	let options = {
				query: 'from:*.org',
				format: 'metadata'
			}
	gmailApiSync.queryMessages(oauth2Client, options, function (err, response) {
		if (err) {
			/* This is where I am coming short */
			console.log('Something went wrong: ' + err)
			return
		}
		console.log(JSON.stringify(response))
	})
})

So the problem seems to be with oauth2Client.
authorizeWithToken calls checkCredentials which, when credentials is null, tries to load my secrets file loadClientSecrets. This seems to happen successfully but then the output I get is, as I said above:

Something went wrong: Error: listMessagesInitial: The API returned an error: Error: Access Not Configured. Gmail API has not been used in project xxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=xxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.

Are you passing the right project id ? Is the API enabled?
On Wed, Jun 7, 2017 at 2:43 PM James Cuénod<EMAIL_ADDRESS>wrote:

The important code is:
let secrets = client_secret_json.get("installed")
secrets.client_id = clientIdFromGOA
secrets.client_secret = clientSecretFromGOA
secret_store.set("installed", secrets) // This synchronously stores the clien_secrets file
gmailApiSync.setClientSecretsFile('./client_secret.json')
gmailApiSync.authorizeWithToken(accessToken, (err, oauth2Client) => {
if (err)
{
return console.log(err)
}
let options = {
query: 'from:.org',
format: 'metadata'
}
gmailApiSync.queryMessages(oauth2Client, options, function (err, response) {
if (err) {
/ This is where I am coming short */
console.log('Something went wrong: ' + err)
return
}
console.log(JSON.stringify(response))
})
})
So the problem seems to be with oauth2Client.
authorizeWithToken calls checkCredentials which, when credentials is
null, tries to load my secrets file loadClientSecrets. This seems to
happen successfully but then the output I get is, as I said above:
Something went wrong: Error: listMessagesInitial: The API returned an
error: Error: Access Not Configured. Gmail API has not been used in project
xxx before or it is disabled. Enable it by visiting
https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=xxx
then retry. If you enabled this API recently, wait a few minutes for the
action to propagate to our systems and retry.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fedecia/gmail-api-sync/issues/4#issuecomment-306903567,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL8SNmZDeo3uTw_hkGaLFLfzlQer_WAPks5sBv1WgaJpZM4Nyjn2
.

Where would I put the project id?

What I'm actually seeing is that GOA is providing me Gnome's client secret and id and it is providing me with a token that it gets from Google...

Okay, sorry for the spam, just thought I'd give another update.
I have been trying with your library and a number of others. I finally managed to get this working with the clientId, clientSecret and accessToken when I tried using inbox. So I've now had success connecting to gmail over imap.

Just to be clear, I don't consider this issue resolved. I'm not sure what else to try to get gmail-api-sync working and I have only had any success using an alternative library (and over imap, not gmail's api).


Spell "beams3d" correctly on its docs page

Fix common typo.

@cfe316 In the future you don't have to make a pull request to update the gh-pages. Generally, these are community documents and it is assumed that changes here won't 'break' anyone elses work.  But good catch none the less.

Thanks, will do!


Bug with opening excel files that contain fraction numbers

!!! Reproduce the bug is important !!!

OriginalExcelReogrid.Load(path, FileFormat.Excel2007);
                OriginalExcelReogrid.CurrentWorksheet.SetScale(0.7f);
                OriginalExcelReogrid.CurrentWorksheet.SetColumnsWidth(0, 1000, 120);
                OriginalExcelReogrid.CurrentWorksheet.SetRowsHeight(0, 1000, 30);

                OriginalPathHolder.Text = path;
                _selectedFile = path;

                CheckIfCanEnableConvert();

                OriginalExcelReogrid.CurrentWorksheet.SelectionRangeChanged += (sender, args) =>
                {
                    _currentSelection = args.Range;
                };

Describe the bug
Loading an excel containing cells that are fraction numbers, for example G5/2
and the displayed format of those cells turns into datetime.
To Reproduce
just load an excel.
Expected behavior
Expected behavior is to display the excel as it shows up when I open it in excel.
Screenshots

Edition
Which edition of ReoGrid do you using?

WPF .net core 3.1

Environment (please complete the following information):

OS: Windows 10
Language of OS: English

Additional context
using the latest version available to me in nuget, even ticked the prerelease box.

I just created a blank Excel file and set a cell as a currency format. Open it with ReoGrid, I can't confirm the problem. Does Excel have some cell format settings?

Nope, no special formatting, the excel is encoded in UTF-8


Some improvements: audio and conanfile.py

Partly taken from: https://github.com/froglets/flappy-frog/pull/13

conflicts...

There are some apparently legit errors reported by the CI


Info icons should be the same size

The info icon shown in the Ocp details title is currently smaller than others. For example, there is an info icon in the Insights header (same page) and Overview page header.
Fixes https://github.com/project-koku/koku-ui/issues/804
Ocp details:

Codecov Report

Merging #805 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #805   +/-   ##
=======================================
  Coverage   73.94%   73.94%
=======================================
  Files         209      209
  Lines        3712     3712
  Branches      650      650
=======================================
  Hits         2745     2745
  Misses        871      871
  Partials       96       96

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 cdf31e9...cffb7f6. Read the comment docs.


Porting all tutorials to OpenTK 4.x

The purpose of this pullrequest is to update all of the LearnOpenTK tutorials to 4.0.
Although all tutorials (except for the GLControl example) now run on OpenTK 4.0, there are still a number of things that need to be ironed out before this is ready to be merged.

The GL.LoadBindings() issue. I Left a TODO comment on this in every project.

What do we do with the GLControl example? Leave it as is (OpenTK 3.x)?

There is a bug with IsFocused in 4.0. It starts out as false even though the window is in fact focused.

FrameEventArgs.Time is different in 4.0, so camera movement needs to be calculated differently. I left a TODO comment for this in chapter 1, project 7.

It's possible for you to move your mouse, and have OnMouseMove trigger which resets the mouse back to the center of the screen, before OnUpdateFrame triggers and moves the camera.

I think an explanation of how OnUpdateFrame and OnRenderFrame's FrameEventArgs.Time works is needed. Why do both of these events contain DeltaTime information, and what makes up a "frame" in OpenTK? I think I understand it now but it was a bit unclear.

Updating OpenTK.Net to correspond to these changes.

Hm, come to think of it, it might be better to have both 3.x and 4.x versions of the tutorial in this repo? If we keep the 3.x tutorials we don't necessarily have to wait for a non-preview release, or for all the points I mentioned to be ironed out.

Hm, come to think of it, it might be better to have both 3.x and 4.x versions of the tutorial in this repo? If we keep the 3.x tutorials we don't necessarily have to wait for a non-preview release, or for all the points I mentioned to be ironed out.

fck, didnt mean to close. Also didnt see your respone. While i do agree that we should keep the 3.x version atleast for quite a while we definitely need to have the things ironed out before we can talk of any merge. What is the status on this. Did you put it down or is it still in progress?

Yeah I put this on hold while a lot of things were still changing in 4.0. I'll have another crack at it.

Points 0-4 are now fixed.
I fixed 1 by simply deleting the GL Control example for now. As far as I understand it's not relevant in 4.x.
I'll open an issue for point 6 in the opentk.net repository.

Point 5 has been fixed as well. This should be more or less ready now. The only thing that remains is to update to a proper release of 4.0!

Just a +1 to having this merged :) The last couple of days I've been running through the learning docs and having to make these changes myself (at least until I stumbled across this PR).
Thanks for all the work!

If I could also make a suggestion - the doc uses ImageSharp, but the example is relying on System.Drawing.Common. The latter has some issues on various linux flavours and macOS, relating to the use of libgdiplus. I think that switching the examples to using ImageSharp (and updating the doc, which is a little behind the latest ImageSharp API) would be easier for beginners. I'm happy to put up a PR, once this PR is merged.
Also, is the doc in a separate repo? I'd be happy to contribute some updates, but I can't seem to find it.

@GianLorenzetto

Also, is the doc in a separate repo? I'd be happy to contribute some updates, but I can't seem to find it.

Sorry for the late answer.
Here is the repo that contains the website
https://github.com/opentk/opentk.net

This branch has been used as the de facto opentk 4.0 tutorial for a while now.
Even if there might be things that could be improved on in this PR we can just make them in followup PRs.
That said, I'm merging this.


Publish documentation for our component JavaScript API

What
In https://github.com/alphagov/govuk-frontend/issues/2563 we decided where and how we would document our public JavaScript API for users. This card covers actually writing that documentation and publishing it on the platform/pages we agreed.
Why
So users are informed about what JavaScript methods are available to them, when they might need to use them and why.
We should make sure this information is easily discoverable rather than relying on users digging into our code on Github to find out more.
Who needs to work on this
Tech Writer; Developer
Who needs to review this
Developers
Done when

[ ] Audit our component JavaScript to decide what needs documenting for each component
[ ] Draft documentation
[ ] Draft is reviewed by tech writer and developers
[ ] PR is raised to add documentation to the agreed place
[ ] Decide if we want to do any research with the documentation before publishing it?
[ ] Published

Closing as we're now publishing our JavaScript API Reference as part of the frontend docs


loss curve code

I have seen question #10, can you share the code that generates the loss curve? I have tried some codes, but the effect is not good.

I do not have this code, it just a simple visualization in matplotlib. Suggest to use tensorboard for losses visualizations.

thanks  a lot, have a nice day


correctly integrate slf4j via pom

Change log4j-slf4j18-impl to the correct implementation so that I don't have to actively exclude log4j-slf4j18-impl when integrating Spdx-Java-Library via Maven in the future.

@Gr33ndev Can we use a log4j2 binding as the default (e.g. log4j-slf4j-impl)?
It looks like we can still use the SLF4J API at the top level which I think solves the problem.

BTW - I'm also OK switching to Apache Commons Logging which seems to be more directly supported by SLF4j - I just want a default logging a bit more capable than the simple logging.

Sure, I‘ll change that later.
What would you prefer?

@goneall, if you prefer to switch to Apache Commons Logging, I can do so as follows: https://stackoverflow.com/questions/57882301/connect-commons-logging-to-slf4j-api

Thanks @Gr33ndev
@hboutemy  @loosebazooka - since the Maven plugin and gradle plugins have dependencies on this library, do you have any opinions on the "default" logging we should use?

@goneall sorry, I saw this too late: the library should not force ANY implementation
it's up to the library user to choose what logging implementation he uses:

Maven uses something
someone else in another runtime context will choose another implementation


populate_data.py: Create lab folders as Dandisets

This PR makes populate_data.py create the folders for each data entry's "lab" as a Dandiset instead of a regular folder.  However, this also means that the folders are now created in the "drafts" collection instead of the "labs" collection.
Fixes #460.

Thanks @jwodder, that populate_data hasn't kept up to date with the overall dandiarchive. drafts is the correct collection name now.

@jwodder would you mind issuing this pull request from this repo, rather than a fork? I think it will make circle behave better.
I looked and circle does have build forks setting on for this project, but maybe we are running into this issue, so I'm thinking if you can just issue PRs from this repo it will simplify things.

@mgrauer Resubmitted as #465.


Commiting TODOs in Code

Use issues (like this one) instead of commiting todos in code. It's an unnecessary bit of commit history, but is just more convenient right now.

Pretty happy with the state of issues now, so I'll close this off


ColorSys >=1.0.18: Arrow Function

Hello,
I happen to use ColorSys with IE 11, and from version 1.0.18 it contains a single arrow function, as far as I can tell, 'rotateHue'? that causes IE 11 troubles. Is there a reason to use an arrow function there? Could it be rewritten?
Thanks

Hi, thanks for opening an issue!
No, there is not any specific reason. I encourage you to submit a PR changing it :)

@jsdario please see PR #10 for this


Save model info

Resolves #327
For model_path (or equivalent inputs e,g, model), this adds mlip_model as an info label when structures are output.
For strings and paths, this is fine. For already-loaded torch models, it's less clear what the best label is, so I'm open to alternatives.
This will also interact with any implementation of #240, but we can deal with that when we come to it.
@alinelena, was the suggested info['{arch}_{model}'] = model replacing info["arch"] or additional? To me it doesn't make sense to have "{arch}_model" as well as "arch", which is how I originally interpreted it, but perhaps it makes sense to combine them into a single info label, which I just realised may be what you meant.

we need to think about this one, what happens if we have two calculations, both arch=mace but model=small and model=large, how will the extxyz look and similarly if we have some models passed by paths(do we get only the basename for mlip?). I think will be nice to document all this structure of what we want and then review the code accordingly

we need to think about this one, what happens if we have two calculations, both arch=mace but model=small and model=large, how will the extxyz look and similarly if we have some models passed by paths(do we get only the basename for mlip?). I think will be nice to document all this structure of what we want and then review the code accordingly

Good question. At the moment I think having the same arch is relatively clean, if not perfect, since info["arch]", info["mlip_model"], and labelled results should all just be replaced. This means we can't save both sets of results, but at least I don't think it should be a confusing mix of both.
E.g. arch=mace, mlip_model=small, mace_energy=x -> arch=mace, mlip_model=large, mace_energy=y
When we change architecture, this is a bit more complicated, since we'd change info["arch]", info["mlip_model"], but keep both sets of results.
E.g. arch=mace_off, mlip_model=small, mace_off_energy=x -> arch=mace_mp, mlip_model=large, mace_off_energy=x, mace_mp_energy=y.
I implemented it this way for now since it means mlip_model essentially works the same as arch already does - we can only keep the last one, even if we add new results.
We could change both to potentially be lists (if more than one value), either as two individual lists or a combined entry {arch}_model={model}.
This does make things more complicated though, since we'd then want to do something like convert repeated {arch}_{property} entries e.g. mace_energy into a list too, but only if the model has changed...

similarly if we have some models passed by paths(do we get only the basename for mlip?)

Regarding paths, at the moment model paths are saved as str(Path(model_path).expanduser()) e.g. ~ expands to mlip_model=/home/ek/.cache/mace/46jrkm3v, but you might get mlip_model=46jrkm3v for a relative model path. Maybe we should change this to absolute.

ok I think we need to document very well the behaviour of this with examples since there is no obvious solution.


Support Laravel-Data v3.x

Hello!
Now that Laravel Data is on v3.x can this package be updated to support it as well?
Thank you!

I'm gonna upgrade it asap. At the meantime, feel free to submit a PR :)

PR #4 opened!


Machine Learning Roadmap added

Fixes Issue
Closes #314
Added Complete Machine Learning Roadmap . All the way from Beginner level Python, Mathematics to Projects

I need a help on this one, I've used markdownlint and it showed 0 errors.

Did anyone figured out what's the problem?

@Vishvsalvi you can ignore the lint error for the time being. Let us first finalize the roadmap.
cc @kaiwalyakoparkar

@siddhant-khisty yeah sure have a look at it. I've added python basics, Math and every other imp resource

I think we should have more resources under each category. Blogs, free courses etc

Alright, I'll add more resources

I will not add more resources in project section, since that playlist I've uploaded already consists 25+ Projects

@Vishvsalvi how about adding the interview questions or the job opportunities in ML

can I add some books to read for a few topics in ML

It is a good idea but they've to be free since we are making a roadmap with free resources

Closing due to inactivity


Boilerplate: Update to 889a9f5aef2b89750d7bafdea6e146213db7d944

Conventions:

openshift/golang-osd-operator: Update ---
https://github.com/openshift/boilerplate/compare/84518ed16af54fb1713bc169753c161412c7c78d...889a9f5aef2b89750d7bafdea6e146213db7d944

commit: 889a9f5aef2b89750d7bafdea6e146213db7d944
author: Karthik Perumal
Update OWNERS_ALIASES with recent team changes (#311)

Update OWNERS_ALIASES with recent team changes

Add Sam to FL list

commit: 60617bc64af03d910d8554957a262c8c0a16f114
author: Ritu Mundhe
sdcicd-1139 added osde2e tekton job openshift template generation (#309)

sdcicd-1139 added osde2e job template generation

added operator name to job name in e2e template to distinguish from other jobs

nit - fix "hyphen" to "underscore"

/verify-owners