submodules #26

This PR adresses #26, if the PR merges into scailfin/workflow-madminer:master then the issue will be closed.
The changes introduced are:

New .gitmodules file pointing to the 3 new repos and the path each of them has within this madminer-workflow repo.
The submodules have the folders suggested by @Sinclert in #26.

scailfin/madminer-jupyter-env here
scailfin/madminer-workflow-ph here
scailfin/madminer-workflow-ml here

I followed the indications in this Stack Overflow question.

Confusing events:
Several comments to this PR:

I don't fully understand how GitHub is displaying the changes. If you review the Files changes tab, it seems that files that were already present in the repository (such as .gitignore, README, LICENSE, etc have been... re-added? 🤷♂
I see on the PR a long list of commits, as if the PR covers all changes happening since January 2019 until today...

The explanation for both of these events could be the introduction of GIT submodules (which I have not experience with), unless you have been playing with git rebase -i HEAD very far into the past.

Suggestions
Ignoring the confusing log of changes that GitHub is showing, I have a couple of suggestions:

There is not need to include madminer-jupyter-env anymore. The purpose of that repository has no connection with the other two (which are used to define sub-workflows that will be combined to construct a bigger one).
The folder where the submodules are defined (docker-images), now doesn't make sense. The defined sub-modules now point to sub-workflow definitions. So this folder can be:
A) Deleted, moving madminer-workflow-ph and madminer-workflow-ml to root folder level.
B) Renamed to sub_workflows or modules or ...

Hi @Sinclert, I agree with your suggestions, the 206 commits is weird I'm closing this PR and starting a fresh one. Thank you!

I proposed an alternative PR: https://github.com/scailfin/madminer-workflow/pull/29

Thank you!


e2e: serial: implement test id 47591

Test creates a deployment with 1 replica, 1 guaranteed pod, two containers, requesting available resources, verifies that pod scheduled successfully and NRT get updated accordingly.
Test update the resources request of the pod under the deployment (post scheduling) and make sure that NRT gets updated accordingly.
depends on: #143

/retest

/lgtm
/approve

no need to change it now, but let's generalize only when we are sure we need to (it seems we need exactly one cleanFunc), let's not build infra "just in case", especially in the context of e2e tests.

ack!

defer won't be called in case of assertion as far as I remember

My bad it does get called. I'll address in later PR

no need to rush. It's low priority.

/cherry-pick release-4.10


make wallet page prompt for login if needed

This improves UX to address issue #269

I'd prefer for this to be handled more generically the backend in getGetServerSideProps ... it'll require deeper backend changes but then we can reuse it in other parts of the code.


rancher integration

Hi,
i made this repos to get a traefik integration with rancher. As rancher-metadata is not on your discovery backends, i made the integration with confd.
https://github.com/rawmind0/alpine-traefik
https://github.com/rawmind0/rancher-traefik
Best regards,

@rawmind0 thanks :)
If you want to add Rancher support in Traefik, I would help with pleasure :)

@emilevauge, It would be very nice if we could do a full rancher integration.
I have confd templates to generate rules.toml, could you guide me a starting point to do it??
Thanks :)

@rawmind0 can you join us on traefik slack? it will be easier ;)

http://rancher.com/traefik-active-load-balancer-on-rancher/ :)

@rawmind0 thanks a lot, great article :)

Seeing native support for Rancher Metadata would be really awesome.

Now, Traefik has a native support for Rancher and Rancher Metadata. 😄


Container shutdown just after start

I am testing the image I have created. It seems to work but ccm.sh is not a process so it give back the process when servers are started, and the container shutdown...
Do you have tested this Dockerfile ?
https://github.com/sgsshankar/sap-bi-docker/blob/d5c91b8b7bd373bcf45207a65d61110ad6205413/Dockerfile#L52
THANKS !

Hello @sgsshankar do you have checked the issue ?
Thanks !

Get a look at this repo: https://github.com/entmike/sap_bi_docker It produce valid SAP BI container images ;)


Will the latest CUDA 12.01 work?

Hello again,
I know that the original developer has passed but was not sure if you had picked up any development on this, or were you just posting for Zuen to keep it online.
I really like the quality of the results that I see on the Github site for the GPU-Raytracer and would like to do some work with it towards seeing what it might take to integrated it into the 3D engine that I am working with now, as well as to see what potential and effort it might take to make it really a quality real-time ray tracing engine.
I'm sure that this will be much more work than it sounds above, but the results could be simple amazing and could lay the groundwork for a simpler 3D engine that could actually compete with Unreal Engine and CryEngine to name a few. (Maybe wishful thinking, but you never know.)
Any way I see that a dependency for Windows 10 is CUDA 11 and I was wondering if you had tried to compile it to run with CUDA 12.01 (latest) version?
Thanks again.

I have not picked up development, and am instead working on my own pathtracer(on my github), which I mention because without Zuen, I wouldnt have had the drive to continue it a year ago,
Sorry, but I am not sure if this will work with the latest cuda, havent used it in awhile sorry

Hello,
I have been able to compile it up with CUDA 11.0.2 and it seems to initially work run by giving me the help screen with:
Pathtracer.exe --help

I did see some mention of using the Mitsuba examples but not sure how to use them:
https://github.com/jan-van-bergen/Mitsuba-Scenes

Now the question is how to interactively render the images that you have on the Github site?
I am wondering what a typical CLI invocation looks like.
Any help that you could provide would be appreciated.
Thanks agian.

Nope, I was mistaken as it will build apparently, but I get a runtime error for both the Release and Debug versions:
Loaded BVH 'Data/sponza/models/sponza_344.obj.bvh' from disk
Loaded BVH 'Data/sponza/models/sponza_275.obj.bvh' from disk
Loaded BVH 'Data/sponza/models/Icosphere.obj.bvh' from disk
Loaded BVH 'Data/sponza/models/sponza_381.obj.bvh' from disk
NVRTC output:
nvrtc: error: invalid value for --gpu-architecture (-arch)

I am not sure of the error tbh, its been a year since I launched it, sorry

Hi @lonnietc , in Device/CUDAContext.cpp, at CUDAContext::init(), the best compute capability (best_compute_capability) is determined and this variable is passed to NVRTC's --gpu-architecture command line argument as compute_XX, where XX is this compute capability. However, this might not match with an actual compute (minor) version (you can find the accepted command line arguments in the user guide, page 17).
It's likely that the code is passing this incorrect argument to NVRTC, so the best option is to round down this best_compute_capability to the nearest major version (e.g. non-existent version 86 becomes existing version 80).


The  category list

reason_list = {
"Reason for absence":{
0: 'Unknown',
1: 'Certain infectious and parasitic diseases',
2: 'Neoplasms',
3: 'Diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism',
4: 'Endocrine, nutritional and metabolic diseases',
5: 'Mental and behavioural disorders',
6: 'Diseases of the nervous system',
7: 'Diseases of the eye and adnexa',
8: 'Diseases of the ear and mastoid process',
9: 'Diseases of the circulatory system',
10: 'Diseases of the respiratory system',
11: 'Diseases of the digestive system',
12: 'Diseases of the skin and subcutaneous tissue',
13: 'Diseases of the musculoskeletal system and connective tissue',
14: 'Diseases of the genitourinary system',
15: 'Pregnancy, childbirth and the puerperium',
16: 'Certain conditions originating in the perinatal period',
17: 'Congenital malformations, deformations and chromosomal abnormalities',
18: 'Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified',
19: 'Injury, poisoning and certain other consequences of external causes',
20: 'External causes of morbidity and mortality',
21: 'Factors influencing health status and contact with health services',
22: 'Patient follow-up',
23: 'Medical consultation',
24: 'Blood donation',
25: 'Laboratory examination',
26: 'Unjustified absence',
27: 'Physiotherapy',
28: 'Dental consultation'},
"Day of the week": {2: "Monday",
3: "Tuesday",
4: "Wednesday",
5: "Thursday",
6: "Friday"},
"Seasons":{1: "Summer",
2: "Autumn",
3: "Winter",
4: "Spring"}
}

Thank you so much Yiki for the list!


silent formatting failure in match statements

Error
rustfmt fails to format any branches inside a match statement if it cannot format the whole statement.
Expected Behaviour
All other branches in the match statement should be formatted correctly, even if one branch fails to format.
Steps to reproduce
Try to format the following main.rs:
fn main() {
    match true {
        false => {println!("nothing inside this match statement is formatted anymore")
        }
        _ => "String causing the failure xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    };
}

Output of rustfmt --check:
None
Now remove one of the x placeholder characters in the string and format again.
Output of rustfmt --check:
 fn main() {
     match true {
-        false => {println!("nothing inside this match statement is formatted anymore")
+        false => {
+            println!("nothing inside this match statement is formatted anymore")
         }
-        _ => "String causing the failure xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
+        _ => {
+            "String causing the failure xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+        }
     };
 }

Additional Information
Tested on rustfmt 1.6.0-nightly (fcab248 2023-10-13)

Thanks for reaching out. This is a duplicate of #4797


Sync that only uploads files if their contents have changed from the corresponding file in remote

This PR closes #656. It contains a unit test to ensure that the filtering logic for changed files works as expected.
I have also tested this new upload logic with my own site https://blog-test-again.ziggy.workers.dev/.

Hey @gabbifish, does this update something existing with Wrangler or is it just a pre-1.4.0 update? Wondering if this should make it into the CHANGELOG for 1.4.0.

This is a pre-1.4.0 update—feel free to exclude it from changelog!
On Tue, Sep 24, 2019 at 11:42 AM Kristian Freeman<EMAIL_ADDRESS>wrote:

Hey @gabbifish https://github.com/gabbifish, does this update something
existing with Wrangler or is it just a pre-1.4.0 update? Wondering if this
should make it into the CHANGELOG for 1.4.0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/wrangler/pull/664?email_source=notifications&email_token=AB4YZSMKI5EWYOXTMLAXYRDQLJNSXA5CNFSM4IZGITRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7PMVBY#issuecomment-534694535,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4YZSOCNVGMCW4AS76XA6DQLJNSXANCNFSM4IZGITRA
.


Loginpage alignment

The login page is not aligned properly, there is not enough space between login box and end of page. I would also like to modify home page button. I will put the whole login box at the center of the page. I want to include the header/navbar and footer present in the home page to login page also , so that there will be continuous flow for the web page.
Please assign this to me.
GSSoC 24.

I am Anvi Shelar. Under GSSOC'24, I would like to work on this issue. Pls assign me this!!

Assigned!


Provide an option to read file data from the horizon

Currently when a new file is added to the agent it reads the latest data only, we need an option that reads data off of the horizon. This way users can ingest historical data in the file if they'd like.
I'm torn if this should be the default or not. I'll leave it up to the implementer to decide.

Closing in favor of https://github.com/timberio/agent/issues/13


Meta-Forecasting by combining Global Deep Representations with Local Adaptation

Description
Referring to your paper Meta-Forecasting by combining Global Deep Representations with Local Adaptation, I would like to kindly ask if there is an implementation available on your repo?

/cc @geoalgo @vafl @timoschowski

Kindly asking for an update on this. Are you planning to release the code any time soon?


IOS picker delegate issue

This is the same issue as https://github.com/nativescript-community/ui-document-picker/issues/4, first workaround doesn't seems to fix the issue
Sometimes, on ios, selected file is not returned to application. I put some console.log in all DocumentPickerDelegate delegate function, and nothing is logged when this issue happen (documentPickerDidPickDocumentAtURL,
documentPickerDidPickDocumentsAtURLs, ...)
Moving variable let delegate; outside openFilePicker function seems to fix the issue, but i'm not 100% sure as error happen randomly

@alexist thanks !


Restyle content section

What kind of change does this PR introduce?

[x] Cleanup of 3 different Fonts -> sticking to only one (we can revert to HK Grotesk if we want to?)
[x] Adding a Headline and make the content section a little bit more appealing

Before

After

Whoa this is cool, sorry it needs a rebase because I changed the font to match the homepage

Awesome, thank you!


[Bug]: playwright CLI run emulate devices script won't work

Playwright version
Version 1.13.0-1626733671000
Operating system
Windows
What browsers are you seeing the problem on?
Chromium
Other information
.net 6 preview6
What happened? / Describe the bug
playwright CLI run Emulate devices script won't work
Code snippet to reproduce your bug
cmd$> playwright open --device="iPhone 11" wikipedia.org

Relevant log output
Device descriptor not found: 'iPhone', available devices are:
...
...

This is an interesting by-design/bug behaviour result of .NET unfortunately, as it strips out the quotes in the arguments entirely.


making a hotkey

can i add a hotkey to the aimbot? if so please tell me how thanks!

If you pay me 100 euro, I'il add it for you.

 Everyone who knows even the basics of python could implement this in minutes
Sent with GitHawk

I can make it just give me 24 hours I am not home and something might come up tonight. I can make it in 5 minutes max

I can make it just give me 24 hours I am not home and something might come up tonight. I can make it in 5 minutes max

did you ever get around to it?

I can make it just give me 24 hours I am not home and something might come up tonight. I can make it in 5 minutes max

Ive tried using hotkey + autoclicker tutorial from Nitratine.net but still having issues, you got a discord?


CDN Only implementation

Total:

[x] Add CDN only mode

When CDN only mode enabled:

[x] Show links from the GCS in any case
[x] Prevent any uploads if API is unavailable
[x] Prevent any deletions if API is unavailable
[x] Implement method to delete file without deleting it from the local upload folder
[x] File should be deleted from the local upload folder after uploading to the GCS
[x] Disable WP-Stateless sync function if CDN Only mode enabled

For note: Issue #109


Incorrect cmd for Azure CLI to install oms extension

this one didn't work:
az vm extension set
--resource-group myResourceGroup
--vm-name myVM
--name OmsAgentForLinux
--publisher Microsoft.EnterpriseCloud.Monitoring
--version 1.10.1 --protected-settings '{"workspaceKey":"myWorkspaceKey"}'
--settings '{"workspaceId":"myWorkspaceId"}'
Should modify to:
az vm extension set --resource-group myResourceGroup --vm-name myVM --name OmsAgentForLinux --publisher Microsoft.EnterpriseCloud.Monitoring --version 1.12.5 --protected-settings '{"workspaceKey":"myWorkspaceKey"}' --settings '{"workspaceId":"myWorkspaceId"}'

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

ID: 7d5b8e22-49e6-bba4-d42b-8dd42d469e3b
Version Independent ID: 017df7fb-0c1d-637e-a204-e60392cab207
Content: Azure Monitor virtual machine extension for Linux
Content Source: articles/virtual-machines/extensions/oms-linux.md
Service: virtual-machines-linux
GitHub Login: @axayjo
Microsoft Alias: akjosh

sorry, copy wrongly, should modify to:
az vm extension set --resource-group Nina-rg1 --vm-name rhel75 --name OmsAgentForLinux --publisher Microsoft.EnterpriseCloud.Monitoring --version 1.12.5 --protected-settings '{"workspaceKey":"EFA67HvBSdOP76OC8vksmkOwqhUS6z/g+f8wU09C7zYMwrlLLSPx2hbgtoQYOzR7si+o/uD05jhe5C9eLShOXA=="}' --settings '{"workspaceId":"d923aee4-da70-436b-ad6c-3ea79be5970e"}'

Oh strange, I cannot add escape in comments, actually the solution is to add escape character before "

@MSNina123456 I tried that command in cloudshell  and it works well.
Are you executing that command on powershell?

@MSNina123456 I tried that command in cloudshell  and it works well.
Are you executing that command on powershell?

I also tried it in cloudshell, Azure CLI cmd has issue, but powershell cmd should work, they are different. In this doc, only Azure CLI deployment is available.

Please post the screenshot.
I am unable to reproduce the issue in cloudshell.

Got it. You are using powershell in bash.
Please switch to bash.
On the top left of the screen, There will be drop down button as shown below.

Click that drop down and select bash.
You can try Azure cli commands in bash shell.

Refer to this link to get stared with bash in cloudshell https://docs.microsoft.com/en-in/azure/cloud-shell/quickstart

@MSNina123456 I will close this issue and follow up with the author to check if we can add this to the document.


Crypto module update and BLS support

This PR imports the new v0.25.0 version of the onflow/crypto.
This new version supports the BLS signature algorithm without the need to specify any Go build tag or run a pre-build step. Therefore, it makes sense to support BLS in flow-go-sdk/crypto without development friction.
This allows developers to play with BLS signing since it is already supported by Cadence.
In this PR:

update the crypto module version
add BLS signature algorithm
add standard KMAC 128 which can be used with BLS if set properly
add a special hasher (KMAC based) that is pre-set to work with BLS properly and abstracts the complexities of configuring a hasher for BLS.
update compatibility checks of signing/hashing algorithms and tests
update Makefile by adding a crypto-related flag to go build, that is needed for old CPUs not supporting ADX instructions.
update README with a cgo note

side change:

update cloudkms package after deprecation

Codecov Report
Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (20d217c) 61.25% compared to head (56bf2b8) 61.07%.

Files
Patch %
Lines

crypto/crypto.go
0.00%
12 Missing :warning:

crypto/hash.go
25.00%
6 Missing :warning:

crypto/cloudkms/signer.go
0.00%
2 Missing :warning:

crypto/awskms/signer.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #534      +/-   ##
==========================================
- Coverage   61.25%   61.07%   -0.18%
==========================================
  Files          26       26
  Lines        3324     3340      +16
==========================================
+ Hits         2036     2040       +4
- Misses       1115     1127      +12
  Partials      173      173

Flag
Coverage Δ

unittests
61.07% <8.69%> (-0.18%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@gregor will this PR create any cgo build issue in another repo importing flow-go-sdk ?


Timeline: Make it possible to have a different response than checkmarks

From Norway:
The response here when clicking "Check answers" is the same. It would be useful with two responses here: All is correct – and "some are correct, you have got 3/5 correct". Of course, the text should be editable.

This is the timeline page (normal drag and drop doesn't let you drop on wrong answer)


Updated action

This pull request includes updates to the CodeQL actions used in the GitHub workflow file .github/workflows/codeql-analysis.yml. The changes involve updating the versions of the Initialize CodeQL and Autobuild actions from version 2 to version 3.

Initialize CodeQL action: Updated the version of the Initialize CodeQL action from v2 to v3. This action initializes the CodeQL tools for scanning the codebase.
Autobuild action: Updated the version of the Autobuild action from v2 to v3. This action attempts to build any compiled languages such as C/C++, C#, or Java.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2615

Relevant Lines:
3321

💛  - Coveralls


fix: build binaries

Checklist

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

closes #13
closes #9
closes #11

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.


cursor moves to wrong position after formatting

Copied from https://github.com/Microsoft/nodejstools/issues/49
var result = {'count': 0}
press enter
var result = {
        'count': 0

   <cursor> }

(brace completion turned on, only seems to repro while typing it out

To expand, given
var result = {'count': 0^}

with cursor indicate by ^, pressing Enter triggers the issue.
Expected Behavior
var result = {
    'count': 0
^}

Actual Behavior
var result = {
    ^'count': 0
}

Appears to be VS-specific, as activating editor.formatOnType in vscode doesn't trigger the error.


Dijkstra Algorithm

Add dijkstra's algorithm

Ok I will correct all that issues.
On 06-Jul-2017 4:26 PM, "Faheel Ahmad"<EMAIL_ADDRESS>wrote:

@faheel requested changes on this pull request.

Please indent your code using 4 spaces per level.
Remove the blank line right after each function's header.

In Graph algorithms/Dijkstra_algorithm.cpp
https://github.com/faheel/Algos/pull/77#discussion_r125867637:

@@ -0,0 +1,71 @@
+//Dijkstra algorithm using adjacency list representation of graph
+// used for finding shortest path in a graph from one vertex to all other vertex
+//Time complexity O(n + m)
+//space complexity O()

+#include<bits/stdc++.h>
Please use only those header files which are required.
In Graph algorithms/Dijkstra_algorithm.cpp
https://github.com/faheel/Algos/pull/77#discussion_r125867696:

@@ -0,0 +1,71 @@
+//Dijkstra algorithm using adjacency list representation of graph
+// used for finding shortest path in a graph from one vertex to all other vertex
+//Time complexity O(n + m)
+//space complexity O()

Space complexity is incomplete.
Also, please format these comments as mentioned in the guidelines.
In Graph algorithms/Dijkstra_algorithm.cpp
https://github.com/faheel/Algos/pull/77#discussion_r125868031:

cout<<"Enter edges \n";

while (m--) {

int a,b,c;

cin>>a>>b>>c;

adj[a].push_back(make_pair(c,b));

adj[b].push_back(make_pair(c,a));

}
cout<<"Enter source vertex\n";
cin>>s;
dijkstra(s);
cout<<"Minimum distence from source vertex to all other vertex is \n";
for (int i=1;i<=n;i++) {

cout<<dist[i]<<" ";

}
cout<<"\n";

Missing return statement.
In Graph algorithms/Dijkstra_algorithm.cpp
https://github.com/faheel/Algos/pull/77#discussion_r125868259:

	continue;

visited[x] = 1;

for (int i=0;i<adj[x].size();i++) {

	int y = adj[x][i].first;

	if (dist[x] + y < dist[adj[x][i].second]) {

		dist[adj[x][i].second] = dist[x] + y;

		s.insert(make_pair(dist[adj[x][i].second],adj[x][i].second));

	}

}

}
+}

+int main () {
+

int n,m,s;

Use better variable names for all 3 of these.
In Graph algorithms/Dijkstra_algorithm.cpp
https://github.com/faheel/Algos/pull/77#discussion_r125868309:

		s.insert(make_pair(dist[adj[x][i].second],adj[x][i].second));

	}

}

}
+}

+int main () {
+

int n,m,s;
cout<<"Enter no. of vertex and edges in graph ";
cin>>n>>m;
initialise(n);
cout<<"Enter edges \n";
while (m--) {

int a,b,c;

Use better variable names for all 3 of these too.
In Graph algorithms/Dijkstra_algorithm.cpp
https://github.com/faheel/Algos/pull/77#discussion_r125868583:

+// used for finding shortest path in a graph from one vertex to all other vertex
+//Time complexity O(n + m)
+//space complexity O()

+#include<bits/stdc++.h>
+using namespace std;
+
+#define MAX 10001
+
+vector < pair <int,int> > adj[MAX];
+bool visited[MAX];
+int dist[MAX];
+
+void initialise (int n) {
+

for (int i=0;i<=n;i++) {

Use better variable names for n and i.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/faheel/Algos/pull/77#pullrequestreview-48297262, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIMzoGi-j_7nGfdSH3ZZ2bX1hiOBdBPOks5sLL1rgaJpZM4OPSyu
.

Branch was deleted. Continued in #78.


Emilyli/combine managed identity from cosmosdb

Add cosmos DB module with it's own managed identity
Adjust variables.tf and output.tf
Update readme instruction for workload identity

I got an error specifically mentioned to add "skip_provider_registration = true"
Tip for terraform import: MSYS_NO_PATHCONV=1 terraform import azurerm_resource_provider_registration.example /subscriptions/0000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService


:sparkles: Create a base image to simplify analyzer image creation

Thanks @jmontleon but Analyzer team strongly recommends we use their base image.


Make conda noarch

Add noarch to allow the conda package to be used on other python versions

Codecov Report

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

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   73.61%   73.61%
=======================================
  Files           5        5
  Lines         360      360
=======================================
  Hits          265      265
  Misses         95       95

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 6364089...8fc6200. Read the comment docs.


feat: settings header icon

use the new Legend component for Header icons

Glad to have been an inspiration 😁


Rpi 5 not forwarding DNS requests from LAN eth1 upstream to WAN eth0

I'm trying this on Rpi 5 x64 4GB. It's built in interfaces are eth0 and wlan0. I add a USB dongle for eth1. So no script changes there since the names are all the same.
Of the prerequisites you mentioned, Rpi 5 already includes dnsmasq and net-tools. It does not include hostapd or bridge-utils so those needed to be added.
Rpi 5, however, also doesn't include iptables, so that clearly also needed to be installed.
I started mitmrouter.sh as is. I saw nothing that needed to be changed.
I started wireshark on br0 and attached an old DLink IP camera to eth1. I can see the camera talking. I see a DNS query from it sent to <IP_ADDRESS> but there is never a response. I think it's not forwarding anything to the eth0 wan. I'm wondering if there is some other prerequisite that is missing.
My setup is:
# update rpi
sudo apt update
sudo apt full-uprade

# manually set the default WLAN country and to turn on VNC
sudo raspi-config

# install prereqs
sudo apt-get install hostapd
sudo apt-get install bridge-utils
sudo apt-get install iptables

I found the problem.
sysctl -w net.ipv4.ip_forward=1


org.xmlpull.v1.XmlPullParserException

@stefanhaustein hi, could you check this html code?
I'm using latest version of your library on Gradle
text = "hello world

this is an code

 end of text
 and
this my code

 finish";
I get this error:
java.lang.RuntimeException: Unable to start activity ---: java.lang.RuntimeException: java.lang.RuntimeException: org.xmlpull.v1.XmlPullParserException: Unexpected token (position:TEXT hello world @1:13 in java.io.StringReader@36a75a9)
My code:
try {
        text = "hello world

this is an code

 end of text
 and
this my code

 finish";

        Reader reader = new StringReader(text);

        HtmlView htmlView = new HtmlView(context);
        htmlProcessor.parse(reader, htmlView);

        ScrollView scrollView = new ScrollView(context);
        scrollView.addView(htmlView);
        markdownViewContent.addView(scrollView);
    } catch (Exception e) {
        e.printStackTrace();
        Log.e("HtmlView ", e.getMessage());
        throw new RuntimeException(e);
    }

Can you add an outer HTML (or body) tag, e.g.
text = "hello world

this is an code

 end of text
 and
this my code

 finish";

@stefanhaustein adding outer tag resolve that, but i'm not really sure text have outer tag

a string should not be parsed, @stefanhaustein, in this case the library is parsing a string as html also, thats not a correct behaviour

The code sets the XmlPullParser to relaxed mode, which should make it work regardless of the outer tag. Given that the exception comes from the XmlPullParser, there seems to be little i can do at the moment (long term solution might be to make sure an appropriate version of kxml gets bundled via gradle). One hack one could do is to always append an outer tag, or do a simple heuristic whether the string starts with "<" or perhaps "<html" in client code...

p.s. another option could be to re-try with an outer element added when there is an xml pull exception...

@stefanhaustein thanks, i think wrapping text with
 and
 is simple than your hack


feat: support read scoped registry from package json

close #1469

Not sure how to add related test cases.
cc @Andarist

@Andarist Any time to review this PR?


The cached Flutter version is causing a parse failure in version reading

Since the change #124558, cache flutter version to disk, running flutter update-packages is causing an error
The cached version seems to be handled in a place where the output of a git describe is expected,
and that output would additionally have a partial commit hash at the end. The regexp parsing expects it to be there.
This error is in [flutter]/packages/flutter_tools/lib/src/version.dart:990.
I'm not sure if this is causing other problems or not.  I am running tests in a checkout of framework with engine.version overwritten by a monorepo commit hash, and a custom FLUTTER_STORAGE_BASE_URL
/src/flutter$ bin/flutter update-packages -v
[  +13 ms] Could not interpret results of "git describe": 3.12.0-4.0.pre.114
but
/src/flutter$ git describe --match ..* --long --tags HEAD
3.12.0-3.0.pre-114-g323c296922
I am also uncertain where the 3.12.0-4.0 version number is coming from, since I don't see the number 4 on git or anywhere
in files called "version" that are checked in.

This may also be the cause of the current failure on tool_tests: https://ci.chromium.org/ui/p/flutter/builders/luci.flutter.prod/Linux tool_tests_commands

Investigating now

Oh, look like this was the fix? https://github.com/flutter/flutter/pull/129131/files

It looks likely.  The problem disappeared after that fix.


Add Access Control and Separate Roles

Summary

RFCs: Link to RFC, Link to RFC, or $\emptyset$.
Categories: any of protocol-units, networks, scripts, util, cicd, or misc.

Adds AccessControlUpgradeable to BridgeInitiator and BridgeCounterparty
Changelog
DEFAULT_ADMIN_ROLE: _owner (is able to set roles)
ADMIN_ROLE: _admin (is able to set addresses and config)
RELAYER: _relayer (is able to call lockBridgeTransfer)
REFUNDER: _refunder (is able to call cancelBridgeTransfer and refundBridgeTransfer)
Testing

switch owner variable in contracts/scripts/AtomicBridgeMOVEDeployer to your own .env public address.
forge script AtomicBridgeMOVEDeployer

Outstanding issues
Pending tests related to the overall deployment within the relayer framework testing.

@0xmovses added abis

Thanks, it seems that fixed client integration tests are imminently about to be merged to main, EOD / tomorrow morn. I would think its best for those fixed integration tests to go in then you get test these contract changes against main and we merge after that.
Unless there is some other urgency I'm unaware of?

This is the PR fyi, https://github.com/movementlabsxyz/movement/pull/690/commits
Some rather large changes required with the way we test against the framework. Old testing work had to be rewritten.

Putting this into draft as it refers to the old HTLC contracts, however we may want to refer to this code, so keeping it draft.


newLevel hook crashes game

As reported at http://www.minecraftforum.net/topic/1675581-blocklauncher-an-android-app-that-patches-minecraft-pe-without-reinstall/page__st__2520#entry30089884

this was fixed a while ago.


signOffchainMessage hitting rpcUrl with eth_signedTypedDataV4

Hi im trying to use the signOffchainAttestation API
export const signOffchainBuyMessage = async (
  easAddress: `0x${string}`,
  walletClient: WalletClient,
  buyParams: BuyParams,
  options?: OffchainAttestationOptions
)  => {
  const signer = clientToSigner(walletClient)
  if (!signer) return
  const eas = getEAS(easAddress, signer)
  console.log(eas)
  const offchain = await eas.getOffchain()

  const offchainAttestation =  await offchain.signOffchainAttestation(
    {
      recipient: buyParams.demander,
      expirationTime: 0n,
      time: BigInt(Math.floor(Date.now() / 1000)),
      revocable: true,
      schema: buyParams.schemaUID,
      refUID: ZERO_BYTES32,
      data: createBuyData(buyParams.data),
    },
    signer,
  )
  console.log('offchainAttestation', offchainAttestation)

  return offchainAttestation
}

Its working well on hardhat tests forking mainnet, but i'm trying to do it in node against base sepolia i run into
124 |         case "NUMERIC_FAULT":
125 |         case "BUFFER_OVERRUN":
126 |             error = new RangeError(message);
127 |             break;
128 |         default:
129 |             error = new Error(message);
                          ^
error: could not coalesce error (error={ "message": "HTTP request failed.\n\nStatus: 400\nURL: https://base-sepolia.g.alchemy.com/v2/${---MyalchemyKEy--}\nRequest body: {\"method\":\"eth_signTypedData_v4\",\"params\":[\"0x788ced731764cf1bdbf0da8acedaca7cae4c9997\",\"{\\\"types\\\":{\\\"Attest\\\":[{\\\"name\\\":\\\"version\\\",\\\"type\\\":\\\"uint16\\\"},{\\\"name\\\":\\\"schema\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"name\\\":\\\"recipient\\\",\\\"type\\\":\\\"address\\\"},{\\\"name\\\":\\\"time\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"name\\\":\\\"expirationTime\\\",\\\"type\\\":\\\"uint64\\\"},{\\\"name\\\":\\\"revocable\\\",\\\"type\\\":\\\"bool\\\"},{\\\"name\\\":\\\"refUID\\\",\\\"type\\\":\\\"bytes32\\\"},{\\\"name\\\":\\\"data\\\",\\\"type\\\":\\\"bytes\\\"},{\\\"name\\\":\\\"salt\\\",\\\"type\\\":\\\"bytes32\\\"}],\\\"EIP712Domain\\\":[{\\\"name\\\":\\\"name\\\",\\\"type\\\":\\\"string\\\"},{\\\"name\\\":\\\"version\\\",\\\"type\\\":\\\"string\\\"},{\\\"name\\\":\\\"chainId\\\",\\\"type\\\":\\\"uint256\\\"},{\\\"name\\\":\\\"verifyingContract\\\",\\\"type\\\":\\\"address\\\"}]},\\\"domain\\\":{\\\"name\\\":\\\"EAS Attestation\\\",\\\"version\\\":\\\"1.2.0\\\",\\\"chainId\\\":\\\"0x14a34\\\",\\\"verifyingContract\\\":\\\"0x4200000000000000000000000000000000000021\\\"},\\\"primaryType\\\":\\\"Attest\\\",\\\"message\\\":{\\\"version\\\":\\\"2\\\",\\\"schema\\\":\\\"0x7674c84acee890ef03bdbe281853efce9a10afe427dbfb203577ff3137bd0349\\\",\\\"recipient\\\":\\\"0x788ced731764cf1bdbf0da8acedaca7cae4c9997\\\",\\\"time\\\":\\\"1724329886\\\",\\\"expirationTime\\\":\\\"0\\\",\\\"revocable\\\":true,\\\"refUID\\\":\\\"0x0000000000000000000000000000000000000000000000000000000000000000\\\",\\\"data\\\":\\\"0x000000000000000000000000788ced731764cf1bdbf0da8acedaca7cae4c999700000000000000000000000000000000000000000000000000000000000000640000000000000000000000003d3c9fcc5c5c751b10db7fa7b13e59a97e8044670000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000d9ef660000000000000000000000000000000000000000000000000000000000d9f66e0000000000000000000000000000000000000000000000000000000000da047e00000000000000000000000000000000000000000000000000000000000000146772796361702f636f777361793a6c6174657374000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e68656c6c6f20636f6f7068697665000000000000000000000000000000000000\\\",\\\"salt\\\":\\\"0xf3e93d423f9ad6576ac13b8b509692259b32e630626dd0bbb7f320c7b24fc33b\\\"}}\"]}\n\nDetails: {\"code\":-32600,\"message\":\"Unsupported method: eth_signTypedData_v4. See available methods at https://docs.alchemy.com/alchemy/documentation/apis\"}\nVersion<EMAIL_ADDRESS>}, payload={ "id": 6, "jsonrpc": "2.0", "method": "eth_signTypedData_v4", "params": [ "0x788ced731764cf1bdbf0da8acedaca7cae4c9997", "{\"types\":{\"Attest\":[{\"name\":\"version\",\"type\":\"uint16\"},{\"name\":\"schema\",\"type\":\"bytes32\"},{\"name\":\"recipient\",\"type\":\"address\"},{\"name\":\"time\",\"type\":\"uint64\"},{\"name\":\"expirationTime\",\"type\":\"uint64\"},{\"name\":\"revocable\",\"type\":\"bool\"},{\"name\":\"refUID\",\"type\":\"bytes32\"},{\"name\":\"data\",\"type\":\"bytes\"},{\"name\":\"salt\",\"type\":\"bytes32\"}],\"EIP712Domain\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"version\",\"type\":\"string\"},{\"name\":\"chainId\",\"type\":\"uint256\"},{\"name\":\"verifyingContract\",\"type\":\"address\"}]},\"domain\":{\"name\":\"EAS Attestation\",\"version\":\"1.2.0\",\"chainId\":\"0x14a34\",\"verifyingContract\":\"0x4200000000000000000000000000000000000021\"},\"primaryType\":\"Attest\",\"message\":{\"version\":\"2\",\"schema\":\"0x7674c84acee890ef03bdbe281853efce9a10afe427dbfb203577ff3137bd0349\",\"recipient\":\"0x788ced731764cf1bdbf0da8acedaca7cae4c9997\",\"time\":\"1724329886\",\"expirationTime\":\"0\",\"revocable\":true,\"refUID\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"data\":\"0x000000000000000000000000788ced731764cf1bdbf0da8acedaca7cae4c999700000000000000000000000000000000000000000000000000000000000000640000000000000000000000003d3c9fcc5c5c751b10db7fa7b13e59a97e8044670000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000d9ef660000000000000000000000000000000000000000000000000000000000d9f66e0000000000000000000000000000000000000000000000000000000000da047e00000000000000000000000000000000000000000000000000000000000000146772796361702f636f777361793a6c6174657374000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e68656c6c6f20636f6f7068697665000000000000000000000000000000000000\",\"salt\":\"0xf3e93d423f9ad6576ac13b8b509692259b32e630626dd0bbb7f320c7b24fc33b\"}}" ] }, code=UNKNOWN_ERROR, version=6.13.2)

where we see
Details: {\"code\":-32600,\"message\":\"Unsupported method: eth_signTypedData_v4. See available methods at https://docs.alchemy.com/alchemy/documentation/apis\"}\nVersion<EMAIL_ADDRESS>}, payload={ "id": 6, "jsonrpc": "2.0", "method": "eth_signTypedData_v4"

i'm not sure where in the code its hitting the rpc url,
perhaps i need to write my own EIP-1193 compliant provider ?
thanks!

This is happening because you are trying to sign the message using Alchemy's provider, and they never supported this flow properly (no idea why if to be honest)

This is happening because you are trying to sign the message using Alchemy's provider, and they never supported this flow properly (no idea why if to be honest)

Thanks for the prompt response, ill give it a try with moralis or infura.

https://forum.openzeppelin.com/t/providererror-the-method-eth-signtypeddata-v4-does-not-exist-is-not-available/16929

https://community.infura.io/t/the-method-eth-signtypeddata-does-not-exist-is-not-available/3122/3

I may be running into this issue getting out of hardhat because it is no longer intercepting the eth_signedtypeddata_v4 eth rpc call.  and since im in node and not the browser i dont have a wallet doing it for me either.  For others crossing this issue, i'm seeing that if creating my own EIP-1193 provider might help me get around this, as for some reason the ethers JsonRpcSigner is not intercepting this rpc call like hardhat or metamask
@lbeder if interested

Writing my suggested change here https://github.com/polus-arcticus/eas-sdk/tree/feature/sign-without-special-provider . I dont think EAS should rely on specially made providers such as those created by metamask or hardhat to intercept eth_signtypeddata_v4 before it hits the rpc directly. In this branch it uses @metamask/eth-sig-util to sign the messages instead of asking the provider to do it

Some providers are indeed don't handle this great, but in general, it's still recommended to delegate this functionality to a signer, since it's ultimately the controlling the required keys. Other than Alchemy's, we never encountered any issues.

Some providers are indeed don't handle this great, but in general, it's still recommended to delegate this functionality to a signer, since it's ultimately the controlling the required keys. Other than Alchemy's, we never encountered any issues.
Indeed, for base sepolia, i couldnt get any one i tried to work, Ankr, Moralis, Alchemy, Infura, after a while i gave up.  Digging deeper, it was because i was not in the browser or in hardhat.  Indeed, metamask and hardhat intercept requests to a provider for eth_signtypedata_v4.  I expect 99% of users test and exist in these environments.  But if one is looking to do this server side they are out of luck.  Perhaps extending the signer prototype with @metamask/eth-sig-util to keep the private key management on the web3.js/ethers/viem instance is the way to go

Yes, currently the SDK expects a signer that implements the signTypedData function (https://github.com/ethereum-attestation-service/eas-sdk/blob/017ee207cf5b8dfbbfa4cd7f9988fba33a7891f0/src/offchain/typed-data-handler.ts#L17). You can overload or even provide a custom implementation for this function.


get only last revision when cloning source

When you clone the code to install from source it is not necessary to download the full history of the branch. The last revision is enough.
This saves disk space, bandwith and time.

true, thanks!


COME HERE

https://github.com/mcbe-plugins/MiniGameAPI
this repo is stolen and abandoned

How to use this repo?

@BasToTheMax
it is for managing multiple minigames
*saves user's data before joining the game and restore them after the end so it can be used on economy server
*preventing users from joining multiple games at once
though it's not maintained for a years
i'm expecting it to still work
there's no api doc but wouldn't be that hard
i'll be able to give you a plugin that i wrote before
as i'm not into any minecraft server anymore


Document the @intrinsic decorator

Added in #2019, the @intrinsic decorator is not documented yet while we try using it internally first.  This is a placeholder issue to remind us to document it.

I just ran into this trying to explain Numba code.

Added this to the 0.44 milestone as it's a relatively short task.

Closing, fixed in #4548


Ensure executable bit is kept on the web editor

When editing a file with the editor - if the file had an executable bit keep it set.
Fix #7771

I think this could be backported


Revert "Probe inlined function call"

GitHub CI on master is failing since https://github.com/bpftrace/bpftrace/commit/742f0cf180904db85b111cea5b01fbe14e6a4c09 was merged:
At least, it looks so when checking the CI status checkmarks of the newest commits at:
https://github.com/bpftrace/bpftrace/commits/master/
This PR reverts commit 742f0cf180904db85b111cea5b01fbe14e6a4c09 to probe if this confirms it.

This failure is being worked on here: https://github.com/bpftrace/bpftrace/pull/3166 - since it's only a runtime test failure I don't think it's blocking development.

This failure is being worked on here: #3166 - since it's only a runtime test failure I don't think it's blocking development.

Ah, thanks! PR is passing in #3166, so that's good.
My PR #3149 started to fail CI without explanation, and I was assuming that failing PRs would not be merged.

Closing as master is fixed now


How to use markdown-it-wikilinks plugin

Hi! first of all thanks a lot for the library,
I'm trying to integrate a new plugin: https://www.npmjs.com/package/@gerhobbelt/markdown-it-wikilinks
I'm trying to follow the instructions on the README, but unlike the example you provided, this plugin does not return a usable rule, but rather it returns regexp-[n] where n changes every time the file is loaded (via fast refresh for example).
Any idea on how to make wikilinks work?

I think its really similar to in the example in the readme - something like this:
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar, Text } from 'react-native';

import Markdown, { MarkdownIt } from 'react-native-markdown-display';
import wikilinks from '@gerhobbelt/markdown-it-wikilinks';

const markdownItInstance =
    MarkdownIt({typographer: true})
      .use(wikilinks, {});

const copy = `
# H1

[[Wiki Links|here]] to learn about [[/Wiki]] links.

Something else
`;

const astTree = markdownItInstance.parse(copy, {});
console.log(astTree);

const App: () => React$Node = () => {
  return (
    <>
      <StatusBar barStyle="dark-content" />
      <SafeAreaView>
        <ScrollView
          contentInsetAdjustmentBehavior="automatic"
          style={{height: '100%'}}
        >
            <Markdown
              debugPrintTree
              markdownit={markdownItInstance}
              rules={{
                  wikilink: (node, children, parent, styles) =>{
                    const linkText = node.sourceMeta.match[3] ? node.sourceMeta.match[3] : node.sourceMeta.match[1]

                    return (
                      <Text
                        key={node.key}
                        onPress={() => {console.log(`Handle the link press and take the user to '${node.sourceMeta.match[1]}' - you will have to parse this string and work out how to handle it in the context of your app / deep links / http links etc. etc. with Linking or ReactRouter or whatever you are using`)}}>
                        {linkText}
                      </Text>
                    );
                  }

                }}
            >
              {copy}
            </Markdown>
        </ScrollView>
      </SafeAreaView>
    </>
  );
};

export default App;

feel free to open if more discussion needed :)

But it does produce an output with a valid rule, the debug output shows the following:
 LOG  body
 LOG  -ordered_list
 LOG  --list_item
 LOG  ---paragraph
 LOG  ----textgroup
 LOG  -----text
 LOG  --list_item
 LOG  ---paragraph
 LOG  ----textgroup
 LOG  -----text
 LOG  body
 LOG  -paragraph
 LOG  --textgroup
 LOG  ---text
 WARN  Warning, unknown render rule encountered: regexp-0. 'unknown' render rule used (by default, returns null - nothing rendered)
 LOG  ---regexp-0

instead of returning wikilink or something it returns regexp-0 and when fastrefresh reloads the file it changes to rexexp-1 and so on...


add replace for series.

https://github.com/fslaborg/Deedle/issues/424

After reading pandas replace docs. https://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.replace.html. They support quite a variety of parameter style. e.g. dict-style, regex etc. We can consider to add them in the future. But let's start with the basic functionality first. Thanks a lot!

To keep the OO member API and functional API consistent, could you please also add this as a function to the Series module? Since the module-based API does not allow overloading, the two functions will need to be named differently. I'd go with replace and replaceAll.
It might be nice to allow the keys to be any collection - if people want to replace just a few handwritten keys, using a list is more convenient as you can just say replace ["A"; "C"] 5.0.
Also, please add documentation comment for the functions. I know we do not have them everywhere, but the online docs get generated from those and so having them for as many functions as possible would be really good.

Yes, sure! I will. I have a suggestion to name functions: replace, replaceArray. As @zyzhu mentioned the pandas has other variances for replacing, and in the future it could be semantically correct to add replaceMap, replaceRegex and etc.


Increase max area in pdfjs

Look into increasing their max area allowed by pdfjs so we don’t have to scale down large PDFs then scale up with css. The limit is way lower than browser limits.

I started looking into this issue with no success so far. Just want to document my findings:
Tried to adjust the canvasMaxAreaInBytes and it doesn't seem to change anything.
options={useMemo(() => {
        return {
          canvasMaxAreaInBytes:<PHONE_NUMBER>
        };
      }, [])}

Then I pivoted to looking into increasing the contrast:
Tried pixelating the CSS imageRendering. It is noticeably crisper but may be undesirable to some
imageRendering: "pixelated",

Tried adjusting the contrast and saturation. I think it looks better but it's one of those things where we'd probably want a button to opt into a high contrast mode since it does change the look considerably.
filter: "contrast(1.2) saturate(4)",


Debugger on MacOS touchbar doesn't show all keys.

Version 1.21.0
Commit 9a199d77c82fcb82f39c68bb33c614af01c111ba
Date 2018-03-07T10:54:22.798Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
This is what debugger button bar looks like. All actions are possible and they work fine on UI.

Touch bar shows only first action, the rest seem cut off.
This happens fairly often. Play changes into pause but rest of actions are not shown on touch bar.

There was no change in code in this area for a while and it looks very much like an upstream issue to me (we would not be able to cause that issue through a programming error, I am quite sure).

@nojvek I assume it looks fine when you try with touchbar simulator?

yeah touchbar simulator was fine. In fact with touch bar simulator on, I couldn't even repro the problem. May the touch bar simulator is somehow making a force refresh of the touch bar UI or something not sure.
@bpasero  Is there a way to tell touch bar to re-draw once debugger state changes ?

@nojvek that is no API Electron provides as far as I know to redraw


Adding classical-ml and data-analytics presets

Description

Preset containers v2024.2.0 release
Related Issue

Changes Made

[ ] The code follows the project's coding standards.
[ ] No Intel Internal IP is present within the changes.
[ ] The documentation has been updated to reflect any changes in functionality.

Validation

[ ] I have tested any changes in container groups locally with test_runner.py with all existing tests passing, and I have added new tests where applicable.

Adding summary tables for local bare-metal test-runner execution
classical-ml
|   # | Test                  | Status   |
|-----+-----------------------+----------|
|   1 | modin-3.9             | PASS     |
|   2 | modin-3.10            | PASS     |
|   3 | modin-notebook-3.9    | PASS     |
|   4 | modin-notebook-3.10   | PASS     |
|   5 | scikit-3.9            | PASS     |
|   6 | scikit-3.10           | PASS     |
|   7 | scikit-notebook-3.9   | PASS     |
|   8 | scikit-notebook-3.10  | PASS     |
|   9 | xgboost-3.9           | PASS     |
|  10 | xgboost-3.10          | PASS     |
|  11 | xgboost-notebook-3.9  | PASS     |
|  12 | xgboost-notebook-3.10 | PASS     |

data-analytics
|   # | Test                   | Status   |
|-----+------------------------+----------|
|   1 | dataset-librarian-3.9  | PASS     |
|   2 | dataset-librarian-3.10 | PASS     |
|   3 | modin-3.9              | PASS     |
|   4 | modin-3.10             | PASS     |
|   5 | modin-notebook-3.9     | PASS     |
|   6 | modin-notebook-3.10    | PASS     |

deep-learning
|   # | Test                                                | Status   |
|-----+-----------------------------------------------------+----------|
|   1 | deep-learning-ipex-3.9-cpu                          | PASS     |
|   2 | deep-learning-ipex-3.10-cpu                         | PASS     |
|   3 | deep-learning-ipex-3.9-gpu                          | PASS pvc |
|   4 | deep-learning-ipex-3.10-gpu                         | PASS pvc |
|   5 | deep-learning-ipex-notebook-3.9-cpu                 | PASS     |
|   6 | deep-learning-ipex-notebook-3.10-cpu                | PASS     |
|   7 | deep-learning-ipex-notebook-3.9-gpu                 | PASS     |
|   8 | deep-learning-ipex-notebook-3.10-gpu                | PASS     |
|   9 | deep-learning-ipex-quantization-notebook-3.9-cpu    | PASS     |
|  10 | deep-learning-ipex-quantization-notebook-3.10-cpu   | PASS     |
|  11 | deep-learning-itex-3.9-cpu                          | PASS     |
|  12 | deep-learning-itex-3.10-cpu                         | PASS     |
|  13 | deep-learning-itex-3.9-gpu                          | PASS     |
|  14 | deep-learning-itex-3.10-gpu                         | PASS     |
|  15 | deep-learning-tensorflow-dataset-librarian-3.9-cpu  | PASS     |
|  16 | deep-learning-tensorflow-dataset-librarian-3.10-cpu | PASS     |
|  17 | deep-learning-tensorflow-dataset-librarian-3.9-gpu  | PASS     |
|  18 | deep-learning-tensorflow-dataset-librarian-3.10-gpu | PASS     |
|  19 | deep-learning-torch-dataset-librarian-3.9-cpu       | PASS     |
|  20 | deep-learning-torch-dataset-librarian-3.10-cpu      | PASS     |
|  21 | deep-learning-torch-dataset-librarian-3.9-gpu       | PASS     |
|  22 | deep-learning-torch-dataset-librarian-3.10-gpu      | PASS     |

inference-optimization
|   # | Test                                                           | Status   |
|-----+----------------------------------------------------------------+----------|
|   1 | inference-optimization-inc-ipex-quantization-notebook-3.9-cpu  | PASS     |
|   2 | inference-optimization-inc-ipex-quantization-notebook-3.10-cpu | PASS     |
|   3 | inference-optimization-inc-ipex-quantization-notebook-3.9-gpu  | PASS     |
|   4 | inference-optimization-inc-ipex-quantization-notebook-3.10-gpu | PASS     |
|   5 | inference-optimization-inc-itex-notebook-3.9-cpu               | PASS     |
|   6 | inference-optimization-inc-itex-notebook-3.10-cpu              | PASS     |
|   7 | inference-optimization-inc-torch-3.9-cpu                       | PASS     |
|   8 | inference-optimization-inc-torch-3.10-cpu                      | PASS     |
|   9 | inference-optimization-ipex-3.9-cpu                            | PASS     |
|  10 | inference-optimization-ipex-3.10-cpu                           | PASS     |
|  11 | inference-optimization-ipex-3.9-gpu                            | PASS pvc |
|  12 | inference-optimization-ipex-3.10-gpu                           | PASS pvc |
|  13 | inference-optimization-itex-3.9-cpu                            | PASS     |
|  14 | inference-optimization-itex-3.10-cpu                           | PASS     |
|  15 | inference-optimization-itex-3.9-gpu                            | PASS     |
|  16 | inference-optimization-itex-3.10-gpu                           | PASS     |
|  17 | inference-optimization-itex-inference-notebook-3.9-cpu         | PASS     |
|  18 | inference-optimization-itex-inference-notebook-3.10-cpu        | PASS     |
|  19 | inference-optimization-onnx-3.9-cpu                            | PASS     |
|  20 | inference-optimization-onnx-3.10-cpu                           | PASS     |
|  21 | inference-optimization-onnx-3.9-gpu                            | PASS     |
|  22 | inference-optimization-onnx-3.10-gpu                           | PASS     |
|  23 | inference-optimization-tensorflow-dataset-librarian-3.9-cpu    | PASS     |
|  24 | inference-optimization-tensorflow-dataset-librarian-3.10-cpu   | PASS     |
|  25 | inference-optimization-tensorflow-dataset-librarian-3.9-gpu    | PASS     |
|  26 | inference-optimization-tensorflow-dataset-librarian-3.10-gpu   | PASS     |
|  27 | inference-optimization-torch-dataset-librarian-3.9-cpu         | PASS     |
|  28 | inference-optimization-torch-dataset-librarian-3.10-cpu        | PASS     |
|  29 | inference-optimization-torch-dataset-librarian-3.9-gpu         | PASS     |
|  30 | inference-optimization-torch-dataset-librarian-3.10-gpu        | PASS     |


NVTT 1.x wrote A8L8 as RGB instead of LUMINANCE

Prior to version 2.0, nVidia Texture Tools would end up writing R8A8 (DXGI) or A8L8 (D3D9) data using this pixel format:
{sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 16, 0x00ff, 0, 0, 0xff00 };

D3DX and NVTT 2.0 or later write it 'correctly' as:
{ sizeof(DDS_PIXELFORMAT), DDS_LUMINANCEA, 0, 16, 0x00ff, 0, 0, 0xff00 };

This PR treats the first form as an alias.

Also updated DDSTexture loader in DirectX Tool Kit
https://github.com/microsoft/DirectXTK/commit/3d20f792aaa3afe4da9fdcbc2318e239d382de27
https://github.com/microsoft/DirectXTK12/commit/f845f3be5de499c46ff8c67d7dcecce2af6e5737


Lua exits with an error when using the checklists for an unsupported plane

Firstly, thank you for implementing the manual mode. It's taken my simming to the next level!
Would it be possible to run checklists for a different aircraft different to the one I am flying when in manual.mode. I.e. use the Zibo checklist in manual mode for the ixeg 737?

You can run any checklists on any aircraft. Have you tried it? It should work.

yes but it eventually crashes the script saying attempted to compare nil
with number and then i have to reload the lua to start it again. This is
when using fjs732 with 738 checklist
On Fri, Feb 18, 2022 at 9:36 PM Patrick Lang @.***>
wrote:

You can run any checklists on any aircraft. Have you tried it? It should
work.
—
Reply to this email directly, view it on GitHub
https://github.com/patrickl92/AudioChecklist/issues/12#issuecomment-1045215390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOPJAVHZW4QUEC7WDTRNNIDU323WNANCNFSM5OVMRYPA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Can you attach the X-Plane log file to the GitHub issue after you have triggered that error? I'll have a look.

Log.txt

I have changed the title, because it was actually a bug. It shouldn't cause an error when using the checklists for an unsupported plane. I have fixed that and released a new version of the AudioChecklist core and the SOPs. You need to update both the AudioChecklist core and the Zibo SOP.
Please let me know if it works with the new releases.

@Ulazygit Have you tried the new release yet?

Closed due to inactivity


Restore language attributes & add point coordinates to geo extension

Coverage remained the same at 91.613% when pulling 24db8637872aa3cbeb6b0579be15ebdc7ed835f3 on restore_language_attr into fa8b89e6ae8026085ca818b155869a4da17a1851 on master.


Error issue using BatchPredict API

Hi,
I use BatchPredict API for batch prediction, and when the input data shape is NDList size: 1,
0 : (2, 64) int32 or NDList size: 2 0 : (64) int32，1 : (64) int32,     it will appear RuntimeError: The size of tensor a (64) must match the size of tensor b (43) at non-singleton dimension 2,
but shape is NDList size: 1
0 : (64) int32, it's ok.
So I would like to ask if batchPredict can perform batch prediction？If possible, what format should be entered for the shape?
Thank you very much!
Criteria<NDList, Float> criteria =
                Criteria.builder()
                        .setTypes(NDList.class, Float.class)
                        .optModelPath(Paths.get(modelPath))
                        .optTranslator(new MyTranslator())
                        .optEngine("PyTorch")
                        .build();
ZooModel<NDList, Float> model = ModelZoo.loadModel(criteria);
predictor = model.newPredictor();

public static class MyTranslator implements Translator<NDList, Float> {
        @Override
        public Batchifier getBatchifier() {
            return Batchifier.STACK;
        }
        @Override
        public NDList processInput(TranslatorContext translatorContext, NDList inputs) { return inputs; }
        @Override
        public Float processOutput(TranslatorContext ctx, NDList outputs) {
            return outputs.get(0).getFloat();
         }
    }

predictor.batchPredict(Collections.singletonList(inputs));

@suntingfeng
batchPredict() function behavior depends on your Translator:

if Translator.getBatchifer() returns null (indicate it doesn't support batch), batchPredict() will invoke  model forward one by one. In this case, you must manually add batch dimension to your input NDArray (e.g. for image shape(1,3,224,224))
If Translator.getBatchifer() return STACK, DJL will automatically stack multiple input (shape(3,224,224)) into (N,3,224,224), and then invoke forward as batch. the stack operator requires all NDArray has the same shape and type. This is what processInput() should do


Are your datasets public?

Is it possible to get the data Google is collecting through the reCAPTURE system?

Will this question ever get an answer?

I don't think so

The datasets are not public, no.


feat: Move Contributing-guidelines and  Code-of-conduct to root directory

Is your feature request related to a problem? Please describe.
I believe to follow convention and for easy accessibility, the code of conduct and the contributing guidelines should be in the root directory of the project
Describe the solution you'd like
I moved both files to the root directory and some work will still need to be done on the README.md to fix the linking to both files
Additional context
Check out Solid, Linkfree
What we have now:

What it should be like:

I actually disagree with this change--i think all contribution related resources should be under .github/

I actually disagree with this change--i think all contribution related resources should be under .github/ to avoid clutter at the root level @tobySolutions

Ok sure, no problem. Reversing the changes now.


Read more link stays on the same page

Hi,
Trying to make a blog with Syna, I found that "Read more" link after the summary of an article sends to the current page (articles list) instead of the article page.
Clicking on the title works correctly, displaying the full article.
You can see the bug on okkur.org blog : https://blog.okkur.org/articles/
Thank you for this nice theme.
Damien.

Good catch. We are still catching up on everything (hell of a year), but it's on the radar now. Always happy for PRs so :)


Account age on member join

Enhancement Suggestion
Description

Let's create a setting to show account age when a user joins - this should be logged in the current member join log.
Additionally, lets automatically log "New Account" (bypass the setting) when the account is under 15 minutes old - this is a threshold we control and may change in the future - this should be logged in the current member join log as well.
Usefulness

Help detect new users/spam/bots
Have You...?

[X] I have checked previous issues to see if my enhancement or feature has already been suggested.
[X] I have checked previous issues and pull requests to see if my enhancement or feature has already been completed for an upcoming release.

I don't think a setting is necessary for this. I think it would be okay to include this as normal behavior.

@Skillz4Killz Feel free to make PR for this.
# Account Age greater than 15 minutes
Account Age: 30 days

# Account Age less than 15 minutes
Account Age: 14 mins (New Account)


Only works with Co-op

Playing with 3 or more people renders players 3 and above unable to play the game without nearly 40 sec tick delay. We even made it so that it was the only mod we owned, switched hosts, and played around with the config some to try and get it to work. But no matter what, it doesn't seem to work with any more than 2 people.

This mod is no longer being maintained, so this will unfortunately not be fixed unless someone else is willing to take over the project.
Sorry 😅


FlexScrollView laggy on Android device

Hi @IjzerenHein ,
I found FlexScrollView is bit laggy on the Android device(try to repeatedly scroll with your finger very quickly), though the scrolling is really smooth on my iPad  and Macbook. I suppose the scrolling algorithm is the same regardless of devices, on the other hand, the famo.us animations are actually really smooth on my Nexus 4, so I'm a bit confused.
I tested this on my Nexus 4 with Android 5.0 and Chrome 41.0.2272.96.

How does it compare to the stock famo.us scrollview? We've tested it on various Android devices, and albeit that performance varies per device and per chrome version, performance seems on par with the stock famo.us scrollview.

Hi I have just testd, the stock famo.us scrollview felt also bit laggy as the finger flings the view on the Nexus 4.
I have submitted an issue to famo.us: https://github.com/Famous/famous/issues/669

Hi, I'm closing this issue since this seems to be caused by the limitations of Android WebView, and Crosswalk might be the answer according to https://github.com/Famous/famous/issues/669, I will test this soon and will add a comment : )

Awesome :)


Remove advanced mode

Once https://github.com/joinmarket-webui/jam/pull/430 is merged, we're feature complete in a way that we can remove the "Developer/Advanced" mode we had until now.

Is this targeting the whole "developer mode" flag, or just harmonizing the diverging views ("CurrentWalletMagic" and "CurrentWalletAdvanced")?
There is an upcoming feature regarding better user feedback by adding the ability to view the raw jmwalletd log.. would it make sense to keep the toggle and show this new functionality only for users activating the developer mode?

No I don't think we need a dedicated developer mode. If someone wants to view the logs, they should be able to access the logs. There's no benefit to hide them in a developer mode that first needs to be toggled imo. This is similar to how we now also show "advanced" settings e.g. on the Earn screen without first needing to toggle some global advanced mode.


Resolve travis-related issues by specifying distro

Coverage remained the same at 100.0% when pulling c5751f8747c135a3ec89811136ef8e5746d895b1 on fix-travis-ci into 8f020da5aaa397ceceb214b906f531785fd2721e on master.

Coverage remained the same at 100.0% when pulling c5751f8747c135a3ec89811136ef8e5746d895b1 on fix-travis-ci into 8f020da5aaa397ceceb214b906f531785fd2721e on master.


Fix pipeline

Fix Pipeline
Modify buildspec to allow for successful completion of build step in pipeline
removed build-open-source-dist.sh
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

build-open-source-dist.sh is still referenced in buildspec.yml


Armbrecht2022(b?)

Publication DOI or URL
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9723766/#__ffn_sectitle
Additional context
No response

But only list SG data!


Parsing foreign (i.e ARABIC-INDIC) timestamps with arrow does not work

While collecting information from an iOS app, the following datestamps appeared (ignore line-numbers on first column):
3351    ۱۳۹۳-۰۲-۱۰
3352    ۱۳۹۳-۰۲-۱۰
3353    २०१४-०४-२८
3354    २०१४-०४-२८

Which can be understood in hexa:
$ echo "٢٠١٤-٠٥-٠١" | hexdump
0000000 d9 a2 d9 a0 d9 a1 d9 a4 2d d9 a0 d9 a5 2d d9 a0
0000010 d9 a1 0a
0000013

... timestamp above being: 2014-05-01

Some of them are arabic: https://en.wikipedia.org/wiki/Eastern_Arabic_numerals
Others japanese, but my question is: is there support in arrow for parsing those and convert them to, for instance, ISO8601? Thanks!
@carles

Not sure why it's acting like that. Doesn't seem to be a bug in arrow however.


[MPG][Diff] type changed from model type to JSON for _xxx_initial operation

PoolsOperations._create_or_update_initial, returned type changed from  _models.Pool (swagger) to JSON (Typespec).

It is by design:
https://github.com/Azure/autorest.python/blob/e748eecb74477a7f647f0f8f1e0a48c840a13809/packages/typespec-python/src/http.ts#L59-L63

closing since it's by design, since we don't want to even deserialize these initial operations


MacOS Install Instructions

Homebrew installation is now working on macOS: brew install zpaqfranz
After I requested the addition to the Homebrew repo, @alebcay, added zpaqfranz.
Homebrew formulae page:

As the formulae page says, this should also give a good route for Linux installs.
Output of zpaqfranz autotest -all:
% zpaqfranz autotest -all

zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-all                                      4
Self-test for correct internal functioning
Iteration 0/9 chunksize    1.000.000
Iteration 1/9 chunksize      333.333
Iteration 2/9 chunksize      111.111
Iteration 3/9 chunksize       37.037
Iteration 4/9 chunksize       12.345
Iteration 5/9 chunksize        4.115
Iteration 6/9 chunksize        1.371
Iteration 7/9 chunksize          457
Iteration 8/9 chunksize          152
Iteration 9/9 chunksize           50
This seems a LITTLE ENDIAN CPU (aka:'normal')
         BLAKE3 : OK
         CRC-32 : OK
        CRC-32C : OK
     HIGHWAY128 : OK
     HIGHWAY256 : OK
      HIGHWAY64 : OK
            MD5 : OK
        SHA-256 : OK
          SHA-3 : OK
       SHA1-PUT : OK
     SHA1-WRITE : OK
      WHIRLPOOL : OK
           XXH3 : OK
       XXHASH64 : OK
      XXHASH64Y : OK
Time 42.35 seconds for bytes 1.748.003.691

42.351 seconds (000:00:42) (all OK)

Specifically, the above is tested on an Apple M1 Max.

Very good job!
Not the latest release, but quite updated
I'll merge today the changes (now I am on smartphone)
Thank you

I also tested under x64 Linux (Ubuntu 20) on an AWS EC2 t2.micro.
The same brew install zpaqfranz is successful, though Homebrew needs to be installed.
Output of zpaqfranz autotest -all:
$ zpaqfranz autotest -all

zpaqfranz v57.3f-JIT-L, (15 Feb 2023)
franz:-all                                      4
Self-test for correct internal functioning
Iteration 0/9 chunksize    1.000.000
Iteration 1/9 chunksize      333.333
Iteration 2/9 chunksize      111.111
Iteration 3/9 chunksize       37.037
Iteration 4/9 chunksize       12.345
Iteration 5/9 chunksize        4.115
Iteration 6/9 chunksize        1.371
Iteration 7/9 chunksize          457
Iteration 8/9 chunksize          152
Iteration 9/9 chunksize           50
This seems a LITTLE ENDIAN CPU (aka:'normal')
         BLAKE3 : OK
         CRC-32 : OK
        CRC-32C : OK
     HIGHWAY128 : OK
     HIGHWAY256 : OK
      HIGHWAY64 : OK
            MD5 : OK
        SHA-256 : OK
          SHA-3 : OK
       SHA1-PUT : OK
     SHA1-WRITE : OK
      WHIRLPOOL : OK
           XXH3 : OK
       XXHASH64 : OK
      XXHASH64Y : OK
Time 76.17 seconds for bytes 1.748.003.691

76.176 seconds (000:01:16) (all OK)

Full test on macOS
zpaqfranz autotest -all -to /tmp/somewhere:
% zpaqfranz autotest -all -to /tmp/somewhere

zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-all                                      4
Self-test for correct internal functioning
Creating autotest folder in <</tmp/somewhere/>>
Iteration 0/9 chunksize    1.000.000
Iteration 1/9 chunksize      333.333
Iteration 2/9 chunksize      111.111
Iteration 3/9 chunksize       37.037
Iteration 4/9 chunksize       12.345
Iteration 5/9 chunksize        4.115
Iteration 6/9 chunksize        1.371
Iteration 7/9 chunksize          457
Iteration 8/9 chunksize          152
Iteration 9/9 chunksize           50
This seems a LITTLE ENDIAN CPU (aka:'normal')
         BLAKE3 : OK
         CRC-32 : OK
        CRC-32C : OK
     HIGHWAY128 : OK
     HIGHWAY256 : OK
      HIGHWAY64 : OK
            MD5 : OK
        SHA-256 : OK
          SHA-3 : OK
       SHA1-PUT : OK
     SHA1-WRITE : OK
      WHIRLPOOL : OK
           XXH3 : OK
       XXHASH64 : OK
      XXHASH64Y : OK
Time 50.87 seconds for bytes 1.748.003.691

The test batchfile is: /tmp/somewhere/dotest.sh

50.873 seconds (000:00:50) (all OK)

/tmp/somewhere/dotest.sh:
% /tmp/somewhere/dotest.sh
rm: /tmp/somewhere/testme.zpaq: No such file or directory
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-space
/tmp/somewhere/sha256.zpaq:
1 versions, 256 files, 388 frags, 5 blks, 158.239 bytes (154.53 KB)
Extracting 9.472.000 bytes (9.03 MB) in 256 files (0 folders) with 10 threads
        96.48% 00:00:00 (   8.71 MB) of (   9.03 MB)  343.26 KB/sec

26.671 seconds (000:00:26) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:sum                                       1 - command
franz:-sha256 -force -rename
Getting SHA-256 ignoring .zfs and :$DATA

No multithread: Found (9.03 MB) => 9.472.000 bytes (9.03 MB) / 256 files in 0.002000
Renamed     files  0
NOT renamed files  256

0.076 seconds (00:00:00) (all OK)
(1) You should read NOT renamed files  256

**** Hit a key to continue ****

55.210 seconds (000:00:55) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<xxhash>>
franz:-xxhash -comment
Creating /tmp/somewhere/testme.zpaq at offset 0 + 0
Adding 777.000.000 (741.00 MB) in 777 files (778 dirs), 10 threads @ 2023-03-27 10:33:40 <<xxhash>>
1.555 +added, 0 -removed.

0 + (777.000.000 -> 45.987.865 -> 1.489.255) = 1.489.255 @ 166.74 MB/s

4.444 seconds (000:00:04) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<xxh3>>
franz:-xxh3 -comment
/tmp/somewhere/testme.zpaq:
1 versions, 1.555 files, 273 frags, 18 blks, 1.489.255 bytes (1.42 MB)
Updating /tmp/somewhere/testme.zpaq at offset 1.489.255 + 0
Adding 517.999.482 (494.00 MB) in 1.554 files (1.555 dirs), 10 threads @ 2023-03-27 10:33:45 <<xxh3>>
3.109 +added, 0 -removed.

1.489.255 + (517.999.482 -> 5.498.358 -> 532.107) = 2.021.362 @ 160.39 MB/s

3.080 seconds (000:00:03) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<sha1>>
franz:-sha1 -comment
/tmp/somewhere/testme.zpaq:
2 versions, 4.664 files, 538 frags, 49 blks, 2.021.362 bytes (1.93 MB)
Updating /tmp/somewhere/testme.zpaq at offset 2.021.362 + 0
Adding 258.999.741 (247.00 MB) in 2.331 files (2.332 dirs), 10 threads @ 2023-03-27 10:33:48 <<sha1>>
4.663 +added, 0 -removed.

2.021.362 + (258.999.741 -> 14.209.551 -> 382.560) = 2.403.922 @ 114.14 MB/s

2.165 seconds (000:00:02) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<sha256>>
franz:-sha256 -comment
/tmp/somewhere/testme.zpaq:
3 versions, 9.327 files, 795 frags, 90 blks, 2.403.922 bytes (2.29 MB)
Updating /tmp/somewhere/testme.zpaq at offset 2.403.922 + 0
Adding 115.110.996 (109.78 MB) in 3.108 files (3.109 dirs), 10 threads @ 2023-03-27 10:33:50 <<sha256>>
6.217 +added, 0 -removed.

2.403.922 + (115.110.996 -> 7.995.077 -> 437.158) = 2.841.080 @ 71.56 MB/s

1.535 seconds (000:00:01) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<sha3r>>
franz:-sha3 -comment
/tmp/somewhere/testme.zpaq:
4 versions, 15.544 files, 1.052 frags, 144 blks, 2.841.080 bytes (2.71 MB)
Updating /tmp/somewhere/testme.zpaq at offset 2.841.080 + 0
Adding 47.960.325 (45.74 MB) in 3.885 files (3.886 dirs), 10 threads @ 2023-03-27 10:33:51 <<sha3r>>
7.771 +added, 0 -removed.

2.841.080 + (47.960.325 -> 3.160.320 -> 489.212) = 3.330.292 @ 54.19 MB/s

0.846 seconds (00:00:00) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<blake3>>
franz:-blake3 -comment
/tmp/somewhere/testme.zpaq:
5 versions, 23.315 files, 1.308 frags, 210 blks, 3.330.292 bytes (3.18 MB)
Updating /tmp/somewhere/testme.zpaq at offset 3.330.292 + 0
Adding 19.184.130 (18.29 MB) in 4.662 files (4.663 dirs), 10 threads @ 2023-03-27 10:33:52 <<blake3>>
9.325 +added, 0 -removed.

3.330.292 + (19.184.130 -> 1.053.440 -> 558.172) = 3.888.464 @ 27.59 MB/s

0.665 seconds (00:00:00) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<md5>>
franz:-md5 -comment
/tmp/somewhere/testme.zpaq:
6 versions, 32.640 files, 1.564 frags, 288 blks, 3.888.464 bytes (3.71 MB)
Updating /tmp/somewhere/testme.zpaq at offset 3.888.464 + 0
Adding 7.456.869 (7.11 MB) in 5.439 files (5.440 dirs), 10 threads @ 2023-03-27 10:33:53 <<md5>>
10.879 +added, 0 -removed.

3.888.464 + (7.456.869 -> 350.976 -> 740.093) = 4.628.557 @ 10.37 MB/s

0.688 seconds (00:00:00) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<whirlpool>>
franz:-whirlpool -comment
/tmp/somewhere/testme.zpaq:
7 versions, 43.519 files, 1.820 frags, 379 blks, 4.628.557 bytes (4.41 MB)
Updating /tmp/somewhere/testme.zpaq at offset 4.628.557 + 0
Adding 2.840.712 (2.71 MB) in 6.216 files (6.217 dirs), 10 threads @ 2023-03-27 10:33:54 <<whirlpool>>
12.433 +added, 0 -removed.

4.628.557 + (2.840.712 -> 116.992 -> 1.193.793) = 5.822.350 @ 2.99 MB/s

0.908 seconds (00:00:00) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<high64>>
franz:-highway64 -comment
/tmp/somewhere/testme.zpaq:
8 versions, 55.952 files, 2.076 frags, 570 blks, 5.822.350 bytes (5.55 MB)
Updating /tmp/somewhere/testme.zpaq at offset 5.822.350 + 0
Adding 1.062.936 (1.01 MB) in 6.993 files (6.994 dirs), 10 threads @ 2023-03-27 10:33:54 <<high64>>
Warning: adjusting date from 2023-03-27 10:33:54 to 2023-03-27 10:33:55
13.987 +added, 0 -removed.

5.822.350 + (1.062.936 -> 38.912 -> 427.147) = 6.249.497 @ 1004.86 KB/s

1.037 seconds (000:00:01) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-comment              <<high128>>
franz:-highway128 -comment
/tmp/somewhere/testme.zpaq:
9 versions, 69.939 files, 2.332 frags, 688 blks, 6.249.497 bytes (5.96 MB)
Updating /tmp/somewhere/testme.zpaq at offset 6.249.497 + 0
Adding 388.500 (379.39 KB) in 7.770 files (7.771 dirs), 10 threads @ 2023-03-27 10:33:55 <<high128>>
Warning: adjusting date from 2023-03-27 10:33:55 to 2023-03-27 10:33:56
15.541 +added, 0 -removed.

6.249.497 + (388.500 -> 12.800 -> 590.644) = 6.840.141 @ 313.29 KB/s

1.215 seconds (000:00:01) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-space
/tmp/somewhere/testme.zpaq:
10 versions, 85.480 files, 2.588 frags, 834 blks, 6.840.141 bytes (6.52 MB)
Extracting 1.000.000 bytes (976.56 KB) in 1 files (0 folders) with 10 threads

1.348 seconds (000:00:01) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:sum                                       1 - command
franz:-sha256
Getting SHA-256 ignoring .zfs and :$DATA

No multithread: Found (976.56 KB) => 1.000.000 bytes (976.56 KB) / 1 files in 0.000000
|SHA-256:<PHONE_NUMBER>0BCE3BC45AE086A342F9F390AD2913A22639EC7AF3646B7D2AEA78 [          1.000.000]     |/tmp/somewhere/verifica

0.008 seconds (00:00:00) (all OK)
(2) You should read SHA-256:<PHONE_NUMBER>0BCE3BC45AE086A342F9F390AD2913A22639EC7AF3646B7D2AEA78

**** Hit a key to continue ****

3.011 seconds (000:00:03) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-verify
/tmp/somewhere/testme.zpaq -until 10:
10 versions, 85.480 files, 2.588 frags, 834 blks, 6.840.141 bytes (6.52 MB)
To be checked 1.748.003.691 in 42.735 files (10 threads)
7.15 stage time       1.90 no error detected (RAM ~160.65 MB), try CRC-32 (if any)
Checking            50.471 blocks with CRC-32 (1.748.003.691 not-0 bytes)
Block 00049K          1.63 GB
CRC-32 time           0.85s
Blocks       1.748.003.691 (      50.471)
Zeros                    0 (           0) 0.000000 s
Total        1.748.003.691 speed 2.046.842.729/sec (1.91 GB/s)
GOOD            : 00042735 of 00042735 (stored=decompressed)
VERDICT         : OK                   (CRC-32 stored vs decompressed)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re-testing (hashing) from filesystem (-verify) if possible

Verify hashes of one version vs filesystem (1 thread, -ssd for multithread)
------------------------------------------------------------------------------------------------------------------------------------------------------
OK       XXHASH64 : 00000777 of 00042735 (   741.00 MB hash check against file on disk)
OK          SHA-1 : 00002331 of 00042735 (   247.00 MB hash check against file on disk)
OK        SHA-256 : 00003108 of 00042735 (   109.78 MB hash check against file on disk)
OK           XXH3 : 00001554 of 00042735 (   494.00 MB hash check against file on disk)
OK         BLAKE3 : 00004662 of 00042735 (    18.29 MB hash check against file on disk)
OK          SHA-3 : 00003885 of 00042735 (    45.74 MB hash check against file on disk)
OK            MD5 : 00005439 of 00042735 (     7.11 MB hash check against file on disk)
OK      WHIRLPOOL : 00006216 of 00042735 (     2.71 MB hash check against file on disk)
OK      HIGHWAY64 : 00006993 of 00042735 (     1.01 MB hash check against file on disk)
OK     HIGHWAY128 : 00007770 of 00042735 (   379.39 KB hash check against file on disk)
------------------------------------------------------------------------------------------------------------------------------------------------------

5.336 seconds (000:00:05) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-all                                      4
/tmp/somewhere/testme.zpaq:
10 versions, 85.480 files, 2.588 frags, 834 blks, 6.840.141 bytes (6.52 MB)

Verify hashes of one version vs filesystem (1 thread, -ssd for multithread)
------------------------------------------------------------------------------------------------------------------------------------------------------
OK       XXHASH64 : 00000777 of 00042735 (   741.00 MB hash check against file on disk)
OK          SHA-1 : 00002331 of 00042735 (   247.00 MB hash check against file on disk)
OK        SHA-256 : 00003108 of 00042735 (   109.78 MB hash check against file on disk)
OK           XXH3 : 00001554 of 00042735 (   494.00 MB hash check against file on disk)
OK         BLAKE3 : 00004662 of 00042735 (    18.29 MB hash check against file on disk)
OK          SHA-3 : 00003885 of 00042735 (    45.74 MB hash check against file on disk)
OK            MD5 : 00005439 of 00042735 (     7.11 MB hash check against file on disk)
OK      WHIRLPOOL : 00006216 of 00042735 (     2.71 MB hash check against file on disk)
OK      HIGHWAY64 : 00006993 of 00042735 (     1.01 MB hash check against file on disk)
OK     HIGHWAY128 : 00007770 of 00042735 (   379.39 KB hash check against file on disk)
------------------------------------------------------------------------------------------------------------------------------------------------------

3.619 seconds (000:00:03) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-all                                      4
franz:-checksum -test -verbose
**** CHUNKED EXTRACTION/TEST ****
/tmp/somewhere/testme.zpaq:
10 versions, 85.480 files, 2.588 frags, 834 blks, 6.840.141 bytes (6.52 MB)
Minimum needed  (+10%)             1.100.000 0001/tmp/somewhere/00/0776/00777.dat
Chunks 0001 x                  1.748.003.691 (total decompressed size 1.748.003.691)
======================================================================================================================================================
Chunk 001/001         1.748.003.691 bytes (1.63 GB) in 42.735 files by 10 threads
Stage VEF 0001 : errors  0 (0=good)
======================================================================================================================================================

2.177 seconds (000:00:02) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-verify
PARANOID TEST: working on /tmp/somewhere/testme.zpaq
27/03/2023 03:34:12            1.438.515 (           1.438.515)
27/03/2023 03:34:14            1.412.730 (             412.730)
27/03/2023 03:34:15            2.191.825 (             191.825)
27/03/2023 03:34:15            2.116.152 (             116.152)
27/03/2023 03:34:16            2.291.327 (              91.327)
27/03/2023 03:34:16            2.382.927 (              82.927)
27/03/2023 03:34:16            2.352.136 (             352.136)
27/03/2023 03:34:16            2.778.909 (              78.909)
27/03/2023 03:34:16            2.838.348 (              38.348)
27/03/2023 03:34:17            2.812.104 (              12.104)
Remaining   3 % frags        2.589 (RAM used ~      78.486.403)
6.840.141 bytes of /tmp/somewhere/testme.zpaq tested
------------------------------------------------------------------------------------------------------------------------------------------------------
Second stage: rebuilding hashes
Calc time (hash rebuild from fragments) 7.731000 hashed bytes 1.740.003.691
------------------------------------------------------------------------------------------------------------------------------------------------------
Third stage: with check against filesystem

SUMMARY :        15.45 (total time)
Virtual :           10 (skipped, does not exists in 7.15)
Total   :       42.727
GOOD    :       42.727 of       42.727 (stored=decompressed)
SURE    :       42.727 of       42.727 (stored=decompressed=file on disk)
All OK (paranoid test with check against filesystem)

15.477 seconds (000:00:15) (all OK)
(3) You should read SURE    :       42.727 of       42.727 (stored=decompressed=file on disk)

**** Hit a key to continue ****

2.009 seconds (000:00:02) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:-find                 <</tmp/somewhere/>>
franz:-replace              <<franco/>>
franz:-space
/tmp/somewhere/testme.zpaq:
10 versions, 85.480 files, 2.588 frags, 834 blks, 6.840.141 bytes (6.52 MB)
Extracting 1.748.003.691 bytes (1.63 GB) in 42.735 files (42.745 folders) with 10 threads
        88.08% 00:00:00 (   1.43 GB) of (   1.63 GB)  209.77 MB/sec

11.079 seconds (000:00:11) (all OK)
zpaqfranz v57.3f-NOJIT-L, (15 Feb 2023)
franz:sum                                       1 - command
franz:-summary                                  1
franz:-xxh3
Getting XXH3 ignoring .zfs and :$DATA

No multithread: Found (926.02 MB) => 971.003.691 bytes (926.02 MB) / 41.958 files in 1.056000
Scanning filesystem time            1.056 s
Data transfer+CPU   time            1.739 s
Data output         time            0.061 s
Total size                        971.003.691 ( 926.02 MB)
Tested size                       971.003.691 ( 926.02 MB)
Duplicated size                   843.011.115 ( 803.96 MB)
Duplicated files                       39.654
Worked on 971.003.691 bytes avg speed (hashtime) 558.369.000 B/s
GLOBAL SHA256: 7B32DB3F6F0180062773C5A046A2C99D17BE7668202379BA136E7A4D134FFC26

2.903 seconds (000:00:02) (all OK)
(4) You should read GLOBAL SHA256: 7B32DB3F6F0180062773C5A046A2C99D17BE7668202379BA136E7A4D134FFC26

**** Hit a key to continue ****

34.124 seconds (000:00:34) (all OK)


string indices must be integers

Thans for your excellent work! But when using pet dataset training model, got error string indices must be integers.
Traceback (most recent call last):
  File "main.py", line 409, in <module>
    main(config)
  File "main.py", line 66, in main
    model, model_without_ddp = build_model(config, num_classes)
  File "main.py", line 16, in build_model
    model = build_models(config, num_classes)
  File "/home/guojiao/codes/disease_or_excellent_v2/methods/IELT/models/build.py", line 32, in build_models
    model.load_from(config.model.pretrained)
  File "/home/guojiao/codes/disease_or_excellent_v2/methods/IELT/models/IELT.py", line 93, in load_from
    np2th(weights["embedding/kernel"], conv=True)
TypeError: string indices must be integers

And the pretrained npz file has already been downloaded, renamed and moved to pretrained dir.

I forget the model parameters should be loaded by numpy.  You should change the models/build.py Line 32 to model.load_from(np.load(config.model.pretrained)) and add the numpy.
In addition, the models/IELT.py Line 92 should delete the if branch and use the 'token' branch.
I have updated the code, thanks you for your mention.


Using Column from right to left

Is there a way to use column() from left to right? I need to make an application available for Arabic, so people need to be able to see product align on the right.
Changing float to right (based on class:lang(ar)) creates problems with the margins; the left column doesn't have an margin-right.
Should I go for span() or are their other ways to deal with this?

https://github.com/mojotech/jeet/blob/47e2c0c0e59f8c9991c4372bec3b4d2dd1446b62/scss/_settings.scss#L4

Thanks! I changed it and it works almost perfectly. Only thing that don't seem to work are breaktpoints. Had to create some @media rules.
Perhaps an enhancement for the future?

What went wrong with the breakpoints? They should work.


How to get Gaussian Process?

I have installed, the extra version (pip install google-vizier[extra]), but get the error: Exception calling application: Algorithm GAUSSIAN_PROCESS_BANDIT is not registered.
Using example code, only with algorithm changed:
from scipy.optimize import rosen
from vizier.service import clients
from vizier.service import pyvizier as vz
from vizier.service import vizier_service

problem = vz.ProblemStatement()
problem.search_space.root.add_float_param("x", -5, 5)
problem.search_space.root.add_float_param("y", -5, 5)
problem.metric_information.append(
    vz.MetricInformation(name="maximize_metric", goal=vz.ObjectiveMetricGoal.MINIMIZE)
)

def evaluate(x: float, y: float) -> float:
    return rosen([x, y])

study_config = vz.StudyConfig.from_problem(problem)
study_config.algorithm = vz.Algorithm.GAUSSIAN_PROCESS_BANDIT

service = vizier_service.DefaultVizierService()

clients.environment_variables.service_endpoint = service.endpoint  # Server address.
study_client = clients.Study.from_study_config(study_config, owner="owner", study_id="example_study_id")

suggestions = study_client.suggest(count=5)
for suggestion in suggestions:
    x = suggestion.parameters["x"]
    y = suggestion.parameters["y"]
    print("Suggested Parameters (x,y):", x, y)
    final_measurement = vz.Measurement({"maximize_metric": evaluate(x, y)})
    suggestion.complete(final_measurement)

for optimal_trial in study_client.optimal_trials():
    optimal_trial = optimal_trial.materialize()
    print(
        "Optimal Trial Suggestion and Objective:", optimal_trial.parameters, optimal_trial.final_measurement
    )

Hi @Rizhiy, thanks for your interest. Sorry about the confusion, currently we're still in the middle of open-sourcing the GAUSSIAN_PROCESS_BANDIT algorithm, and it's not available right now. We expect it to be out within a month or so.
Thanks!

Richard

HI @Rizhiy, we're happy to announce that GAUSSIAN_PROCESS_BANDIT is now available in 0.1.0!


Portfolio: setup & mobile excercise

Portfolio: setup & mobile

created README file with License
created index.html file
setup linters
created toolbar in html file
created headline section in html file
added styling to tollbar and headline to match Template 2 from Figma

There is a problem with linters that I could not solve. They are working in my local repo, but not working in GitHub. I tried everything, researching, reinstalling linters, but still nothing is working, and I am already a day behind because of that. Could you please, if possible, instruct me what I did wrong. Thank you!

@frank1738 thank you! I think I will have to make a new repo and start from scratch. Is at allowed to do that?

@frank1738 because I did all the steps like you said, and it is still not working :(

@frank1738 because I did all the steps like you said, and it is still not working :(

[ ] let me help you on zoom

@frank1738 thank you so much! I can be on the call tomorrow earliest at 7.00 UTC+1. Just let me know when it suits you.
Right now my son is asleep in the room where my computer is, it's 9pm here


mbedtls_ecp_curve_info_from_grp_id returns null for ids MBEDTLS_ECP_DP_CURVE448, MBEDTLS_ECP_DP_SECP192K1

Description

Type: Bug
Priority: Minor

Bug
OS
Any
mbed TLS build:
Version: 2.16.6
Expected behavior
Not NULL;
Actual behavior
NULL
Steps to reproduce

const int curve_id[] =
{
	  MBEDTLS_ECP_DP_SECP192R1  /*!< Domain parameters for the 192-bit curve defined by FIPS 186-4 and SEC1. */
	, MBEDTLS_ECP_DP_SECP224R1  /*!< Domain parameters for the 224-bit curve defined by FIPS 186-4 and SEC1. */
	, MBEDTLS_ECP_DP_SECP256R1  /*!< Domain parameters for the 256-bit curve defined by FIPS 186-4 and SEC1. */
	, MBEDTLS_ECP_DP_SECP384R1  /*!< Domain parameters for the 384-bit curve defined by FIPS 186-4 and SEC1. */
	, MBEDTLS_ECP_DP_SECP521R1  /*!< Domain parameters for the 521-bit curve defined by FIPS 186-4 and SEC1. */
	, MBEDTLS_ECP_DP_BP256R1    /*!< Domain parameters for 256-bit Brainpool curve. */
	, MBEDTLS_ECP_DP_BP384R1    /*!< Domain parameters for 384-bit Brainpool curve. */
	, MBEDTLS_ECP_DP_BP512R1    /*!< Domain parameters for 512-bit Brainpool curve. */
	, MBEDTLS_ECP_DP_CURVE25519 /*!< Domain parameters for Curve25519. */
	, MBEDTLS_ECP_DP_SECP192K1  /*!< Domain parameters for 192-bit "Koblitz" curve. */
	, MBEDTLS_ECP_DP_SECP224K1  /*!< Domain parameters for 224-bit "Koblitz" curve. */
	, MBEDTLS_ECP_DP_SECP256K1  /*!< Domain parameters for 256-bit "Koblitz" curve. */
	, MBEDTLS_ECP_DP_CURVE448   /*!< Domain parameters for Curve448. */
};

for (size_t k = 0; k < sizeof(curve_id) / sizeof(int); k++) {
	const mbedtls_ecp_curve_info * curve_info = mbedtls_ecp_curve_info_from_grp_id(curve_id[k]);
	if (NULL == curve_info) {
		fprintf(stderr, "+ curve_info is null for enabled curve_id: %d\n", curve_id[k]);
	}
}

The missing ones are Curve25519 and Curve448. There's nothing wrong with secp192k1, is there?
Montgomery curves are omitted from mbedtls_ecp_curve_list() and mbedtls_ecp_grp_id_list(). The reason for that is that the library only has partial support for them, and it was designed with all or nothing in mind. Adding Montgomery curves would cause software that relies on this list to assume that ECDH and ECDSA is possible with those curves, but it isn't. We changed the list functions to list Montgomery curves some time after 2.16, but that change was too disruptive for long-time support branches.
However there's no reason why mbedtls_ecp_curve_info_from_grp_id and mbedtls_ecp_curve_info_from_name should be restricted to curves in the “fully supported list”. It's a bug because these functions use mbedtls_ecp_curve_list() internally. Instead these functions should use a longer list.
mbedtls_ecp_curve_info_from_tls_id also calls mbedtls_ecp_curve_list(), but the library doesn't support Montgomery curves in TLS yet, so that's ok.

oki sorry my bad yes MBEDTLS_ECP_DP_CURVE25519 [indeces 8, 12]; thank you. I was just running a blind conformity test to pass any type of curves within an algorithm. Wanted to print-out the details attached within an a given id; got some bad-access.