add convenience script for provisioning new trading partnerships

related to: https://github.com/Stedi-Demos/bootstrap/issues/22#issuecomment-1430233565
it would be great to include support for downloading and updating the existing config as well


add client mapping info to glossary

Refs: https://github.com/open-feature/java-sdk/pull/388

Force merging this (editorial change).


Model performance

Hi, I am running models to see the results and experiments with parameters and sometimes I obtain the results which are completely different from the ones which are depicted in the paper.
For example next setting: ["--method", "CEGCN", "--dname", "cora", "--All_num_layers", "5", "--MLP_num_layers", "999", "--Classifier_num_layers", "999", "--MLP_hidden", "256",  "--Classifier_hidden", "256", "--wd", "0.0", "--epochs", "100", "--feature_noise", "0.0", "--runs", "20" ,"--cuda", "0", "--lr", "0.001"]
gives me Highest
Train: 97.64 ± 1.31
Highest Valid: 92.18 ± 5.39
Final Train: 93.92 ± 1.91
Final Test: 92.22 ± 5.24
While in the table CEGCN gives: 76.17 ± 1.39
Can I ask for a comment on this issue?

Hi @levtelyatnikov ,
Thank you for being interested in our work! I have re-run the experiment on cora with the commend
python train.py --method CEGCN --dname cora --All_num_layers 5 --MLP_hidden 256 --Classifier_hidden 256 --wd 0.0 --epochs 100 --feature_noise 0.0 --runs 10 --cuda 0 --lr 0.001

However I can only get the following result

Could you share the exact command you execute (like the one I show above) and also the version of PyG you are using?
Best,
Eli

Hi, my version of PyG is 2.0.4
I executed the same command and obtaining next results

Hi @levtelyatnikov ,
Could you try with the exact same PyG version we used (torch-geometric==1.6.3)? It may be some PyG version issue. Please check the Readme file for the environment setup details. Note that PyG has changed its data format after 2.0 (or some newer version) so things might be messed up. If you still run into issues with PyG 1.6.3 version, please let me know.
On the other hand, it seems like other people have no issue with running CEGCN (see for example issue #1). Maybe you also want to check it to see how PyG version difference can cause issue.
Best,
Eli

Hi @levtelyatnikov ,
Since there's no more follow-up, I close the issue for now. Please feel free to reopen the issue if you have further questions.
Best,
Eli


Hover Effect Right

Make it known to user when right button is hovered over/off

This issue was moved to kroehl/MusicDiscoveryApp#14


AttributeError: 'PlaywrightContextManager' object has no attribute '_playwright'

[root@localhost dl]# python3 app.py

Serving Flask app 'app'
Debug mode: off
/usr/local/python3/lib/python3.10/site-packages/playwright/driver/node: /lib64/libm.so.6: version GLIBC_2.27' not found (required by /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node) /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node: /lib64/libc.so.6: version GLIBC_2.25' not found (required by /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node)
/usr/local/python3/lib/python3.10/site-packages/playwright/driver/node: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node) /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node)
/usr/local/python3/lib/python3.10/site-packages/playwright/driver/node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node) /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by /usr/local/python3/lib/python3.10/site-packages/playwright/driver/node)
Exception in thread Thread-1 (run_schedule):
Traceback (most recent call last):
File "/usr/local/python3/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/local/python3/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/dl/app.py", line 118, in run_schedule
schedule.run_pending()
File "/usr/local/python3/lib/python3.10/site-packages/schedule/init.py", line 822, in run_pending
default_scheduler.run_pending()
File "/usr/local/python3/lib/python3.10/site-packages/schedule/init.py", line 100, in run_pending
self._run_job(job)
File "/usr/local/python3/lib/python3.10/site-packages/schedule/init.py", line 172, in _run_job
ret = job.run()
File "/usr/local/python3/lib/python3.10/site-packages/schedule/init.py", line 693, in run
ret = self.job_func()
File "/dl/app.py", line 62, in run_main
amount = main.run()
File "/dl/main.py", line 51, in run
amount = scraper.fetch_data()
File "/dl/scraper/electricity_scraper.py", line 33, in fetch_data
with sync_playwright() as pw:
File "/usr/local/python3/lib/python3.10/site-packages/playwright/sync_api/_context_manager.py", line 94, in enter
playwright = self._playwright
AttributeError: 'PlaywrightContextManager' object has no attribute '_playwright'

Hi,
I had such a behavior;
A workaround for me :
According to this post (https://github.com/microsoft/playwright-python/issues/1851),
I hard - typing the path to the playwright driver directory in {myvenv}/lib/{myPythonVersion}/site-packages/playwright/driver/playwright.sh
and it works now.
I don't understand what I did, but my small app now works.


🐛 getCameraPermissionStatus never resolves

What were you trying to do?
I am trying to use the Camera component
Reproduceable Code
import React, { useEffect, useState } from "react";
import {
    Camera as VisionCamera,
    useCameraDevices,
} from "react-native-vision-camera";
import { Button } from "../../controls/button";
import { Camera } from "./camera";

function SimpleRepro() {
    const [showCamera, setShowCamera] = useState(true);
    const devices = useCameraDevices();

    const checkCameraPermissions = async () => {
        try {
            console.log("checkCameraPermissions - start");

            var permissionStatus =
                await VisionCamera.getCameraPermissionStatus();
            console.log("checkCameraPermissions", permissionStatus);

            switch (permissionStatus) {
                case "authorized":
                    setShowCamera(true);
                    break;
                default:
                    var requestPermissionStatus =
                        await VisionCamera.requestCameraPermission();
                    switch (requestPermissionStatus) {
                        case "authorized":
                            setShowCamera(true);
                            break;
                        case "denied":
                        default:
                            console.log("denied", requestPermissionStatus);
                    }
            }
        } catch (error) {
            console.log(error);
        }
    };

    useEffect(() => {
        checkCameraPermissions();
    }, []);

    if (!showCamera && !devices.back) return <></>;
    else if (showCamera && devices.back)
        return (
            <VisionCamera device={devices.back} isActive={false}></VisionCamera>
        );

    return (
        <Button
            label="Show Camera"
            onPress={() => setShowCamera(true)}></Button>
    );
}

### What happened instead?

My screen remains blank.
I can't see any errors being thrown anywhere (in metro, or console, or in Logcat)

The only thing seeminly being logged in console is "checkCameraPermissions - start", so it looks like getCameraPermissionStatus never resolves.

### Relevant log output

```shell
LOG  Running "Redacted" with {"rootTag":1}
 LOG  checkCameraPermissions - start

Device
Pixel 4 Emulator (Android v10)
VisionCamera Version
^2.14.1
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

I have tried running your code and these are the Logs that were printer on my console:
i am using  "react-native-vision-camera": "^2.15.2",
when camera was already granted permission
LOG  checkCameraPermissions - start
LOG  checkCameraPermissions authorized
when app was freshly installed
LOG  checkCameraPermissions - start
LOG  checkCameraPermissions denied

I suspect my problem is irrespective of this plugin maybe.
I changed my "checkCameraPermissions" function to the following and I still can't get my promise to resolve nor am I seeing any errors anywhere:
const checkCameraPermissions = async () => {
    console.info("PermissionsAndroid");

    var _resolve: any;

    var testPromise = new Promise<boolean>((resolve) => {
        _resolve = resolve;
    });

    setTimeout(() => {
        _resolve(true);
        console.info("timeout");
    }, 1000);

    var resultFake = await testPromise;

    console.info(resultFake);
};

Same.. What was your solution?

Same.. What was your solution?

I wouldn't say I "resolved" the issue, per se. I got frustrated and started removing libraries to see what was causing the problem.
Once I removed Storybook everything started working correctly again.
I have Storybook working without issue in other Native projects, so I wouldn't blame the library. I just didn't have time to figure out what about my implementation was causing problems and outright removed Storybook from my project.


Revert ReadOnlyStore wrapping in FateMetrics

Revert "Modify FateMetrics to enforce ReadOnlyStore required for Zooeeper (#2810)"
This reverts commit 76092fc58eab7a3d4cc1fb87c376dc25b6f87537.
Fixes #2968

How did using a ReadOnly store break the code on a restart?  Is there anyway to test this?

How did using a ReadOnly store break the code on a restart? Is there anyway to test this?

See my comment to @DomGarguilo here: https://github.com/apache/accumulo/issues/2968#issuecomment-1259800693

https://github.com/apache/accumulo/pull/2975 may be an alternative approach

The original code uses polymorphism to prevent updates to the ZooStore. See my comment here: https://github.com/apache/accumulo/pull/2975#issuecomment-1260730437


fix: bv_normalize loose mvars

bv_normalize would just silently drop other goals if called while not focused on a singular goal.

Thank you.


Fix export from index.ts

Export 'Query' for using type definition of FirestoreSimple.collectionGroup
Revert type only export. It introduced TypeScript 3.8, if using old TypeScript fail to build.

 v7ドッグフーディング


T wangjohn/confusion matrix

Add Confusion Matrix
Description

Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1780 (9b1a14e) into postga (c23be59) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 9b1a14e differs from pull request most recent head 45af77a. Consider uploading reports for the commit 45af77a to get more accurate results

@@           Coverage Diff           @@
##           postga    #1780   +/-   ##
=======================================
  Coverage   88.32%   88.32%
=======================================
  Files          89       89
  Lines        5259     5259
=======================================
  Hits         4645     4645
  Misses        614      614

Flag
Coverage Δ

unittests
88.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


How do you get images?

Hi thanks again for building this great library 🙏.
I'm trying to figure out how to get images, is it possible through the library right now? Or do I need to use another library like epub2 for that?

the EpubObject object has sections array,each of them has a toHtmlObjects method, read more from the README. comment here if you get any problems.


KeyError: 'params' error when re-running pytest test

this started happening as of the latest vscode update (1.89.0)
to reproduce:

put a breakpoint in a pytest test

right click the run button and click "Debug test"
when it pauses on the breakpoint, click the restart button

check the debug consoleTraceback (most recent call last):
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\runpy.py", line 198, in _run_module_as_main
    return _run_code(code, main_globals, None,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\runpy.py", line 88, in _run_code
    exec(code, run_globals)
  File "c:\Users\user\.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher/../..\debugpy\__main__.py", line 39, in <module>
    cli.main()
  File "c:\Users\user\.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher/../..\debugpy/..\debugpy\server\cli.py", line 430, in main
    run()
  File "c:\Users\user\.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher/../..\debugpy/..\debugpy\server\cli.py", line 284, in run_file
    runpy.run_path(target, run_name="__main__")
  File "c:\Users\user\.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 321, in run_path
    return _run_module_code(code, init_globals, run_name,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\user\.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 135, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "c:\Users\user\.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 124, in _run_code
    exec(code, run_globals)
  File "c:\Users\user\.vscode\extensions\ms-python.python-2024.6.0\python_files\vscode_pytest\run_pytest_script.py", line 62, in <module>
    test_ids_from_buffer = raw_json["params"]
                           ~~~~~~~~^^^^^^^^^^
KeyError: 'params'

Workaround (till not fixed): install/downgrade ms-python.python == 2024.4.1 version.

Also started experiencing this. Thanks for the workaround @alfonzso!

This was driving me nuts and I couldn't find a thread on it! Can confirm that downgrading works

Hello! We are aware of this issue and actively working to get a fix- apologies for the delay this ended up being a more complex fix than anticipated. Thanks

it seems like a recent update has changed the behavior. now instead of raising KeyError, it re-runs but it incorrectly attempts to run all tests in your project instead of the specific test you're trying to rerun

it seems like a recent update has changed the behavior. now instead of raising KeyError, it re-runs but it incorrectly attempts to run all tests in your project instead of the specific test you're trying to rerun

I can confirm this. It is very annoying. 😞

Not fixed until now?

Hello! I am pretty sure we fixed this but please reopen if that is not the case- thanks!

@eleanorjboyd it's still broken, it still attempts to re-run every test in the project instead of whatever test(s) were selected as i mentioned here. can this issue be re-opened please? (it doesn't let me re-open it myself)
or would you rather i raise a new issue as the behavior has changed?

Same for me

works now, thanks!


Sample method problem

Sample method doesn't work if audio contains, for example, 10 elements, and you want to get elements

It has been realized


Current master is broken against stable vscode due to disagreeing tagSupport coming in lsp 3.15

The latest vscode (1.41.1) contains a version of vscode-languageserver-node which uses the boolean true for tagSupport.
This leads to the following error with the current master rust-analyzer:
Error: Error("invalid type: boolean `true`, expected struct TagSupport", line: 0, column: 0)

This was fixed in the next version of vscode-languageserver-node, but I don't know when it will be bumped. Probably not until the next version of lsp is stabilized (3.15):
https://github.com/microsoft/vscode-languageserver-node/commit/1b637ef62a120f5a263e994bb21065230c959829

I believe that this update broke emacs support as I get an error like missing field `tagSupport`

@shepmaster should've been fixed in #2659, sorry for the noise!

Thank you; no real noise for me, just giving rust-analyzer a shot.


Use pytest-cov plugin for CI tests

Use coverage plugin for pytest for the CI tests so we have a coverage report to upload to codecov

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Need to cancel orphaned SLURM jobs

Currently, if a multi-node CI job submits a SLURM job and then gets canceled while waiting for the SLURM job to run, the SLURM will become orphaned: it will be left in the queue to run, thus wasting computing resources, even though its result will not be collected. To fix this, we need to:

Keep track of the submitted SLURM job id, e.g. using a step output variable
Define a cancellation step that runs if the job is canceled using the if: canceled () condition to properly remove the SLURM job.

This will help to reduce the congestion in our CI cluster, especially when repeated updates to the PR cause the SLURM queue to be flooded with orphaned CI jobs.

I don't know what signal gets sent, but would a simple trap be less complex solution?

https://docs.github.com/en/actions/managing-workflow-runs/canceling-a-workflow#steps-github-takes-to-cancel-a-workflow-run

For steps that need to be canceled, the runner machine sends SIGINT/Ctrl-C to the step's entry process (node for javascript action, docker for container action, and bash/cmd/pwd when using run in a step). If the process doesn't exit within 7500 ms, the runner will send SIGTERM/Ctrl-Break to the process, then wait for 2500 ms for the process to exit. If the process is still running, the runner kills the process tree.

so the bash script could catch SIGINT and cancel the Slurm job?


Attributes are not working in structs

Hi,
The attributes I am trying to use are not working in a struct I made Serializable. (System.Serializable)
These are the attributes I'm trying to use: "ReadOnly" and "OnValueChanged".

It's not only structs. The nesting is the problem.
Unfortunately, I will need to rewrite a lot of code to make it work. The architecture of the whole thing is not as flexible as I wanted it to be. The other thing I can do is to somehow make a workaround, but I really don't want to make hacky things like that. I will try to think of something.

This would be amazing, interested to hear a description if the hack / work-around. Just incase it's easy to implement on a fork in the mean time.

having this work for nesting would be a huge value add for the project, i think

Can you please add an warning section to the read me for this?

Any update on this. Really need to get LabelAttribute working in nested objects

Same as #91


App switcher in UI Shell doesn't always close when clicking outside it

Go to this demo: https://carbon-svelte.vercel.app/framed/UIShell/HeaderSwitcher
Open the app switcher in the UI Shell (top right button).
Click in the main window, anywhere between a few centimeters below the welcome text to the bottom of the page. So basically anywhere below <main>
This can be fixed by changing <svelte:body to <svelte:window in this line:
https://github.com/IBM/carbon-components-svelte/blob/master/src/UIShell/GlobalHeader/HeaderAction.svelte#L54
The app switcher is now closing, however I don't know if this has other consequences.

Open to PRs

It seems that <svelte:body> is limited to the page body inside de browser window, while <svelte:window> uses the entire window. So if the page contents is smaller than the window, the rest of the window will not trigger the events defined on <svelte:body>
It looks like the same problem happens with the ComboBox component. So I did a search and the <svelte:body> is used in a bunch of components:

ComboBox/ComboBox.svelte
DatePicker/DatePicker.svelte
Dropdown/Dropdown.svelte
MultiSelect/MultiSelect.svelte
OverflowMenu/OverflowMenu.svelte
Slider/Slider.svelte
Tooltip/Tooltip.svelte
TooltipDefinition/TooltipDefinition.svelte
TooltipIcon/TooltipIcon.svelte

Most of them use the click event, TooltipDefinition and TooltipIcon use keydown, while Slider uses a few others.
Should I make a PR and replace all the instances of <svelte:body> with <svelte:window>?

Start with the UI Shell header switcher

@metonym I can still see this behavior in MultiSelect/MultiSelect.svelte. The MultiSelect control does not close as expected if the body is shorter than the window and the user clicks an area between the bottom of the body and the bottom of the window.
Can I open a PR to switch out <svelte:body> for <svelte:window> on this component?

@phil-mayer Yes

Might as well replace all the instances of <svelte:body> that I listed in my last message :)

Sure, happy to do so as long as @metonym is ok with the increase in scope.

Yes, let's be consistent and resolve this once and for all


can you provide a ng2+ or above version?

hey, the text roll effect is awesome, I'm wondering if you can provide a angular 2 or above version ? thx in advance!

Hi James,
Thanks for the interest in my project!  Earlier this year I started my MBA
program so I haven't had much time to dedicate to ng-text-roll.  An Angular
version would be cool to build but also may require a different project
altogether.  I'll see if maybe I can take a peek over the holiday break.
Cheers!
-Dave
On Tue, Nov 14, 2017 at 11:07 PM, jamessawyer<EMAIL_ADDRESS>wrote:

hey, the text roll effect is awesome, I'm wondering if you can provide a
angular 2 or above version ? thx in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/daveteply/ng-text-roll/issues/4, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHra1W5uNU4cnuQR7lrJn6O4UCOa6xNZks5s2n-zgaJpZM4Qecex
.

thx for your reply,have a good day,LOL


Optimize Pipes

Bash is now able to run pipe scripts. Initial results have us ~1.5x slower than native at higher buffer sizes, though it seems to diverge as buffer sizes get smaller.

I'll dig into optimizing this in this issue.

Bash is now able to run pipe scripts. Initial results have us ~1.5x slower than native at higher buffer sizes, though it seems to diverge as buffer sizes get smaller.

This is slightly odd.  I would have expected Lind to get better as buffer sizes are smaller.

I went back and profiled the initial test case from here, and then I also re-made that test with the rtrb crate that I mentioned above (and profiled it).
Profile for original pipe ringbuf
Profile for rtrb ringbuf
The results were negligible. They ran at basically the exact same speed. The profile seem to suggest that the proportion of the write and read sections taken up by memcpy (which is a good estimate of how efficient each is) looks the same as well.
Looking at the graph from the original test, the isolated Rust ringbuf barely was faster that native, and thats without all the other cruft that comes from setting up bash etc. So some slowdown should be expected from there.
So my question now is can I juice one of these implementations to gain some significant performance.

At @moyix  suggestion I modified my write_to_pipe/read_from_pipe programs such that the actual piping is isolated from other parts of the program (loading, exit, etc).
This was the first time where we can actually see that piping is faster currently in Lind. For a write with buffer sizes of 2^16 for 1GB, the piping portion is 34% faster in Lind.
It still slows down a bit as buffers get smaller. For 2^8 buffers, Native is 4% faster, and for 2^2, Native is 15% faster. This at least has an explanation, as you can see from the following flamegraphs we begin to see some lock contention in NaCl while retrieving the Desc's on each write.
2^8
2^4

Some more promising results.
I realized that the 1GB of data transfer I've been testing is arbitrary, and with recent results seeming like startup/shutdown were slowing Lind down vs Native, I decided to just increase the amount of data transfer.
Transferring 100 GB with 2^16 byte buffers has Lind clocking in at 16 seconds vs 20 second Native. Which is the first real result we've seen where a full Lind run is faster than Native without any timing tricks. Pretty neat!
I also was able to make Lind run faster at 2^8 bytes by removing some locks in NaCl that are unnecessary now with how RustPOSIX is set up. OTOH it's still slower at 2^2 bytes because of even more NaCl locking in their DescRef/Unref mechanism, which is kind of a headache.

Bad news/good news.
I got more weird time results, so I delved deeper and finally realized that I had never merged in the monotonic timer for Lind that we had switched to previously. This explains some of the weird results I've had over the past month or so.
I think the good news is better than the lost headbanging time. With an actual comparable timer, Lind seems to be faster than Native for full program runs at all buffersizes (all the way down to 2^2). Great success!

Above I referenced  NaCl's VMIOStart and VMIOEnded functions, that accumulated significant overhead in experiments that used smaller buffers (more writes/reads). I was able to speed this up significantly (obviously) by just tossing it, thinking it was unnecessary with how we have RustPOSIX set up.
@jesings pointed out that this isn't true. NaCl uses this to track memory regions that are in use for Read/Write so that it can't mmap/mprotect those regions while they're in use (which would break the security model). These functions uses an interval tree to keep track of regions.
I spent some time successfully getting NaCl to compile with C11 so that we could use stdatomic to solve some of the concurrency issues, but in the case of these VMIO functions its the actual interval tree thats causing a ton of overhead, not the locks.
We've been brainstorming solutions here. The best one I can think of is to toss the interval tree, and disallow threads within a cage of entering mmap/mprotect at the same time as another thread is doing read/write, using atomic spinlocks to not do kernel accesses.
Would love to hear some feedback regarding this solution, or any other ideas.

What information do the nodes of the interval tree need to contain? If it's just a boolean "is this page currently being used for R/W?" it might be faster to use a bitmap, which would only be 128KiB per cage (1 bit per page; each cage has 4GiB address space so this is (4GiB / 4096 bytes) bits needed).
Of course, if it needs to set/clear a big range of pages on every I/O operation this may not be faster...

That was something else we discussed, though we weren't sure it made sense to allocate that much memory for this per cage. I'm going to try this solution out.

Alright, well after digging into the docs further it seems like this is actually Windows specific, as the Linux OS mmap would never return pages that actually had data in them. So this was a bit of a false alarm.
I'm going to remove these functions as before and leave some notes that this was done.

The work here is done (at least for now). I still need to collect and format data from here, so I'll finish this up over the next day or two and leave this open as a reminder.

Going back to collect data showed that a more recent RustPOSIX commit (that implemented refcounting for advisory locks) somehow made this slower at smaller buffer sizes, though seemingly completely unrelated. We think its a very strange memory layout thing, but its proved basically impossible to diagnose.

Either way, I went back to diagnose why our advantage actually decreases as buffer size decreases (# of writes increases), which is against our hypothesis. It's easy to see from these flamegraphs that all the concurrency primitives we have to use in RustPOSIX cause more slowdown per run, which makes increased writes slower.
We've looked into using Dashmap and Parking Lot for concurrent hashmaps and better mutexes. I think it's worth trying these out, even though it adds more unsafe code to our codebase.
2^4
2^8
2^16

The above graphs show the improvement in pipe speed after adding dashmap/parking lot. Seems like a 10-25% improvement over native, which is awesome.
Should be able to generate final data once dashmap is merged, and close this issue.

We get a very similar graph now that DashMap is merged, even with the addition of Vmmap/EFAULT checking in NaCl now. The caching seems to work well!
I'll need to spruce up these graphs for the paper, but I think this issue is finally able to be closed!


Inconsistency issue for task 2.2.16

Describe the Issue
There appears to be an inconsistency between the when conditionals of the tasks for rule 2.2.16.
Expected Behavior
All when conditionals should have the rule's number mentioned. For example:
when:       - ubtu22cis_rule_2_2_16
Actual Behavior
Only the when conditionals of the tasks within the block contain the rule's number. The when conditional of the actual block does not.
Control(s) Affected
2.2.16 | PATCH | Ensure rsync service is either not installed or masked
Environment (please complete the following information):

branch being used: [e.g. devel]

Additional Notes
Anything additional goes here
Possible Solution
I will provide the fix in a PR!

I believe that this issue has been addressed and the fix merged?
I will close this issue, please feel free to reopen or raise a new one if this particular problem still exists.
Many thanks
uk-bolly


New cosmos providers

Couldn't tests stars yet, but the other work

Edit: STARS works fine, but the price provided by coingecko is wrong...the token is also used in another shitty project


getTotalResultsCount() always returns zero.

Which version of the client library are you using?
8.0.0 and 9.0.0
Previously I used the version 4.x of the library and everything worked just fine. After upgrading to 8, the issue emerged.
Which version of Java are you using?
java version "1.8.0_241"
Which operating system (Linux, Windows, ...) and version?
Linux 5.4.60-2-MANJARO SMP PREEMPT x86_64 GNU/Linux
Actions taken
Using the library to fetch ads, the call to getTotalResultsCount() always returns 0 (while pageResponse.getResultsList().size() works as expected).
UnaryCallable<SearchGoogleAdsRequest, SearchGoogleAdsResponse> callable = GoogleAdsClient
            .newBuilder()
            .fromPropertiesFile(credential...)
            .build()
            .getVersion4()
            .createGoogleAdsServiceClient()
            searchCallable();
SearchGoogleAdsRequest request = SearchGoogleAdsRequest
        .newBuilder()
        .setCustomerId(customerId...)
        .setPageSize(1_000)
        .build();
SearchGoogleAdsResponse pageResponse = callable.call(request, GrpcCallContext.createDefault());
assert pageResponse.getTotalResultsCount() > 0;

Expected result
getTotalResultsCount() should return the actual total results, not zero.
Actual result
getTotalResultsCount() always returns 0.

A request parameter was added to the API in v3 which must be specified to return the total results count.

Please set SearchGoogleAdsRequest.setReturnTotalResultsCount(true) in your request to retrieve the total results.


version 2 changes

These are the proposed changes for v2.
I would like to merge these, so we have the new, better interface in main, and as a public version on crates.
@prokls you would need to release this on crates I guess once merged.
@faern any inputs from your side.
I'll work out the conflicts between this and main.

Great! I'd love to get the stuff currently in v2 on crates.io! Can you just give me a day or so to try out the current v2 in our product and verify that the current API is actually as ergonomic as we think it is? :sweat_smile:
My only question is regarding #21. I'm for releasing 2.0 without doing that re-write, since it can be quite large. But I then want to first just make sure you still want #21 to get solved, and are OK with going 3.0 once we have fixed it? Just so we don't end up having a good solution to that problem in a month or two but are blocked because "not wanting to break the API so often" or something.

For me it doesn't really matter, its just a number and we probably don't want to backport things to the broken 1.0 anyway.
For that reason I'm still partial to just yanking the 1.0 and 1.0.1 versions and pretending they never existed in the first place, since I'm pretty sure the only current consumers of this crate are in this thread :P.
Then the new API supporting all of the variants at once should just be the next higher major number, be it 2 or 3.
In the end, it's up to @prokls to decide when to release what.

TODO: Re-run the benchmarks & update the Readme.md.

:warning: I realized one problem with the current API.. Lol. It's easy to see no one tried the v2 branch in practice yet :see_no_evil: ... There is no way to create a Ciphertext from raw data. When I receive a ciphertext over protocol x and I want to decapsulate it, I can't.
We need to implement From<[u8; CRYPTO_BYTES]> for CRYPTO_CIPHERTEXTBYTES or similar.

I can create a PR for that. I just want to check something: decapsulate is infallible. So it should return a shared secret no matter what ciphertext you give it? There are no malformed ciphertexts? Of course it will yield the wrong shared secret if the ciphertext has been corrupted, but yeah.

First PR, addressing one very large footgun in the new API: #29. This still does not solve the issue I described above. Still working on that.

I can create a PR for that. I just want to check something: decapsulate is infallible. So it should return a shared secret no matter what ciphertext you give it? There are no malformed ciphertexts? Of course it will yield the wrong shared secret if the ciphertext has been corrupted, but yeah.

If I don't remember wrongly, that is one intentional change in Classic McEliece, that decapsulation errors are removed and replaced with outputting a pseudorandom value.

⚠ I realized one problem with the current API.. Lol. It's easy to see no one tried the v2 branch in practice yet 🙈 ... There is no way to create a Ciphertext from raw data. When I receive a ciphertext over protocol x and I want to decapsulate it, I can't.
We need to implement From<[u8; CRYPTO_BYTES]> for CRYPTO_CIPHERTEXTBYTES or similar.
EDIT: Same also goes for the PublicKey of course. Otherwise it's not possible to implemente servers.

This seems like a problem 🤦 . I guess for the PublicKey we also want both variants, owned and boxed on alloc.
It is probably also good to do this for the secret key, since you probably want to write/load this to/from disk at some point too.

I think I'm pretty happy with the state of the v2 branch right now! I have a draft PR up for upgrading to this version of the crate in our VPN client that uses the library: https://github.com/mullvad/mullvadvpn-app/pull/3877. It seems to work fine from my testing.

Review in progress. I hope to finish it in about 21 hours.

All tests passed. Ran the benchmarks. Tested features and their combinations. Reviewed alloc_boxed_array, zeroize, RngCore for AesState without resulting changes. Updated/fixed doc issues. It makes sense, what you created.
Congratulation to all of you for the v2 release! @dkales @faern @Colfenor :muscle: :partying_face:


Excel Color Map Raising Error

League Loader
Yahoo
Summary
Believe yahoo bug?
Traceback (most recent call last):
File "/Users/brandonschleter/Sleeper/my_script.py", line 41, in
leagueToExcel(myLeague, "/myLeagueStats.xlsx")
File "/Users/brandonschleter/miniconda3/envs/Sleeper/lib/python3.10/site-packages/leeger/util/excel.py", line 68, in leagueToExcel
teamIdToColorMap[team.id] = ownerIdToColorMap[team.ownerId]
KeyError: '959818########'`
Here was CoPilot's suggestions for excel.py (unsure if needed)
`if team.ownerId not in ownerIdToColorMap:
ownerIdToColorMap[team.ownerId] = default_color  # replace default_color with the default color value you want to use
teamIdToColorMap[team.id] = ownerIdToColorMap[team.ownerId]`
Thoughts?
League Info
I am doing this by combining a Yahoo loader (successful API links) and a Sleeper loader. macos. I do not believe it is even getting to the point of the Sleeper loader due to color key error with yahoo. Our league changes it's 'name' each year, keeps things fresh.
using file name as my_script.py to keep all things congruent.
Error Logs
No response

in addition- Sleeper was able to download perfectly when i commented out the combined loader code that had Yahoo in it.

I think this issue is stemming from the owner names between Sleeper and Yahoo Leagues not merging correctly.
Can you try adding something like this to your script to tell it what owner names go with each other so it can merge the leagues correctly?

had same thought and almost certain that's the issue too. Once able to check owner names in yahoo, I'll get on it.

Sounds good! You could always load the yahoo league and then just print out all the owner names if that's faster.

I seem to be running into the same issue. I noticed this happens when I add leagues together that have a different amount of teams between seasons.
I tried loading a ESPN league that had 8 teams the first year, and 12 teams the second year, and I was presented with a "owner was not previously loaded" error (the error being the owner that was not in the first season).
I then made both years separate and combined them using the + operator and then attempted to load into excel where I ran into this error.

I think another issue is because when we all went to Sleeper, we all did owner names completely different than our real names.
As a joke I did my name like a Twitter bot....so its a word and mix of numbers and letters....

@DevAndADream Leagues that do not have the same amount of teams cannot be combined currently. Perhaps I can look into a way to load them into the same sheet in the future, but for now I would just load them separately and load the stats into 2 different Excel sheets.

I figured as much. I have went ahead and loaded them into separate sheets for each year and it works great. Thank you!


Adds Giora Simchoni's blog

Hi Giora,
Apologies for the delay.
It seems that your site is not available at the URL you provided.
I've also changed the way new sites are added, so I'll close this pull request and if you'd still like to add your site please re-submit a working URL using the new method.
Many thanks,
Mark


Fine Tuning Leads to Segmentation Issue

Environment

Tesseract Version:
tesseract 4.0.0
leptonica-1.77.0
libjpeg 9c : libpng 1.6.36 : libtiff 4.0.10 : zlib 1.2.11
Found AVX2
Found AVX
Found SSE

Platform:
Ubuntu 16.04

Current Behavior:
I wanted to OCR a large dataset of Arabic newspapers with difficult delimiters and spacing. After running your original pre-trained model, I managed to recall about 80% of the required data. I opted to fine tune your existing ara.traineddata file by using text lines as my training and test data set. I used the "OCR-d Train" tool on GitHub to generate the neccessary .box. files.
Throughout the fine tuning process, the Eval percentages decreased tremendously, which means that the model was successfully trained. I re-evaluated using my own method and confirmed the successful training process.
However, the test dataset used was made up of text lines. So, your and my evaluation were generated on a text line level. The issue occurred when I ran the fine tuned model on a complete Newspaper sample (constituted of the same text line fonts). The accuracy decreased significantly compared to your original pre-trained model. This made no sense at all, my fine tuned model has better accuracy than your model on a text line level, but when running it on a complete newspaper (constituted of the same text line fonts), your pre-trained model is performing better than my successfully fine-tuned model.
The issue seems to be connected to your segmentation algorithm. This is a major problem, since this means that your training tool only works on a text line level and cannot be applied to any other form of dynamic text extraction. You will find below a sample newspaper, my fined tuned model, and the learning curve from the training process.
Sample Newspaper:
Sample Newspaper.zip
Fine Tuned Model:
ara_finetuned.traineddata.zip
Learning Curve:
Learning Curve (60k Iterations).pdf

Any idea of what might be causing this issue ?
@amitdo @Shreeshrii

Here is a visualisation (using https://github.com/kba/hocrjs) for both results:

hOCR made with tessdata_best/ara
hOCR made with ara_finetuned

The layout recognition is clearly different.

What would be the reason behind the different layout recognition ? Why would my fine tuning have an impact ?
Also, thank you for your support @stweil

Based on recommendations for tess tutorial in wiki by @theraysmith finetuning should only be done for limited number of iterations. He had suggested 400 for finetuning for 'impact' and 3000 for finetuning to add a character. So, 60000 is probably too large.
Also, please check the --psm being used for training by the ocr-d/train script. Ray has mentioned as part of the LSTM training notes that the models have been trained per line (I assume --psm 7).

https://github.com/tesseract-ocr/tesseract/wiki/NeuralNetsInTesseract4.00#integration-with-tesseract

Integration with Tesseract
The Tesseract 4.00 neural network subsystem is integrated into Tesseract as a line recognizer. It can be used with the existing layout analysis to recognize text within a large document, or it can be used in conjunction with an external text detector to recognize text from an image of a single textline.
The neural network engine is the default for 4.00. To recognize text from an image of a single text line, use SetPageSegMode(PSM_RAW_LINE). This can be used from the command-line with -psm 13
The neural network engine has been integrated to enable the multi- language mode that worked with Tesseract 3.04, but this will be improved in a future release. Vertical text is now supported for Chinese, Japanese and Korean, and should be detected automatically.

@stweil Does this mean that layout analysis has changed since tessdata_best was trained?

As shown in the learning curve uploaded above, the training process was successful (even for 60k iterations). The accuracy improved on a text line level. My issue as explained above and shown in the layout representations, is that of segmentation. When running the trained model on a complete newspaper, the accuracy goess way off.
Have a look at the layout representations above. I used --psm 7 for training.
@Shreeshrii

Does this mean that layout analysis has changed since tessdata_best was trained?

Why do you think so?

@jaddoughman, is this result better?

hOCR made with ara-finetuned + config

I added ara.config which was missing in ara-finetuned.traineddata.

I would have thought so, too, but recently I noticed some cases which are even more strange:

newspaper pages full of text where Tesseract  says "empty page"
hOCR with no text while the text output shows text

ara.config changes the segmentation process, so that is something which needs to be added to the documentation: add config from original traineddata to finetuned traineddata.

I trained twice, once including the dawg files and the other excluding them. The training which included the dawg file was better then the one excluding it. However, both were way worse than the original model.
Also, note that training was successful (learning curve attached above). On a text line level, the results are near perfect. However, I need the transcription of the complete newspaper sample. This was a part of a 12-month long research paper, to finally reach this issue is devastating.
On a technical level, there needs to be an explanation of why and how the training any model would in any way alter the segmentation process.
@stweil

@jaddoughman Which psm are you using for the complete newspaper sample? If is the default i.e. psm 3 then please try the training with --psm 3 as an experiment and see if the results are better.

I attached @Shreeshrii 's fine tuned Arabic model below. Is it possible @stweil to generate its corresponding layout representation ? This can help us reach a conclusive decision on our initial assumption concerning the segmentation issue.
Fine Tuned Model: ara-amiri-3000.traineddata.zip

Here it is:

hOCR made with ara-amiri-3000

Original Model: https://ub-blade-01.bib.uni-mannheim.de/~stweil/tesseract/issues/2132/Sample1.html
@Shreeshrii 's Fine Tuned Model: https://ub-blade-01.bib.uni-mannheim.de/~stweil/tesseract/issues/2132/Sample1-ara-amiri-3000.html
The above results prove that our assumption concerning the segmentation is true. Any explanation of the relation between fine tuning and word detection (segmentation) would be greatly appreciated. Understanding the problem can help in finding a workaround.
@stweil @theraysmith

The layout analysis phase detects:

tables
columns
blocks (text / image)
text lines

Words and  glyphs splitting is part of the OCR phase and not part of the layout analysis phase.

Looking again in the code, it seems that words splitting does occur in the layout analysis phase...
I think the word splitting can still be changed by the ocr phase.
Sorry, I don't have answers to your last questions.

Can the code be altered to include splitting in the OCR phase ? I see no reason why word splitting should be altered during training. My training dataset constituted of 4000 text lines that required crowdsourcing to generate. A lot of time was invested to train the model. Any help would be greatly appreciated.
If any of the other developers have an answer I would be happy to try any alternative fix.
@amitdo

@jaddoughman I unpacked your traineddata file with combine_tessdata. The lstm_unicharset in it has 303 characters. So it seems to me that you have trained using script/Arabic from tessdata_best rather than ara.traineddata.
If that is indeed the case please try starting from ara.traineddata to see if there is any difference.
Also, please share the exact version of tesseract that you are using. Your traineddata file reported beta.3.

I trained using both the script and the tessdata_best. Both altered the segmentation leading to the same issue. I was using Tesseract 4.0 during training. However, even if another version was used, i also tried your fine tuned model that also resulted in altered word detection.
Is it possible to alter the code so that the word splitting resides in the layout process and not the OCR one ?
@Shreeshrii

If i attach my training data set, is it possible for you to fine tune it to ensure that the issue isn't related to my training process.
@Shreeshrii

@theraysmith is the only one with enough knowledge about the code to suggest a solution and according to @jbreiden he is now busy on another project at Google.
If you can share your box/tiff pairs I can give a try to fine tuning with it. However,  I have to admit that I have not had much success in adding the digits in Arabic script by fine tuning to the traineddata.

The below dataset contains about 4000 text lines. The txt files below are in RTL order. I was informed that they needed to be changed to LTR. I attempted to change them to LTR by inverting the string of every text file. The below dataset is in RTL since one of my issue might be caused by my conversion attempt. I fine tuned for 60,000 iterations and saw a great improvement in accuracy on a text line level. I think your training attempt can help us reach a conclusive decision on the origin of the issue.
Thank you for your help.
Dataset: dataset.zip
@Shreeshrii

According to posts by Ray, training for all languages is done in LTR order and there is a routine in tesseract to handle the change to RTL later.
I do not know Arabic hence can not check whether the conversion is correct. I am relying on text2image to create the correct box files.
I have concatenated your text files to create a training_text for fine tuning. I will run the training with Scheherazade font and share the results.
From my earlier experience fine tuning seems to work best when the training text used is what was used for initial training. For Arabic we do not have that file available, we only have the 80 line training_text (similar to 3.04).

@stweil

Does this mean that layout analysis has changed since tessdata_best was trained?

Why do you think so?

No concrete proof :-(
There have been issues with page segmentation, word dropping for a while.  There are probably a number of issues related to them still open.
So, something has definitely changed.
If it is not seen in eng, deu and other latin script based languages then it maybe related to complex script processing / unichar compression / recoding.
Were you able to get the unit tests related to unichar compression to work? Maybe they can help in figuring out the issue.

text2image handles bidi. You only need Fribidi if you train from scanned images.

Please see Ray's comments in https://github.com/tesseract-ocr/tesseract/issues/648#issuecomment-271870748 - These are from Jan 2017. He has made changes to the processing for Arabic after that. I will try and find those comments and commits and link here for reference too.
Another possibility is that he made changes to Google's tesseract code to handle it and did new training using that but not all of those changes were transferred to github. That could explain why the traineddata provided by him work better than any finetuning done by us.

https://github.com/tesseract-ocr/tesseract/commit/3e63918f9db4150a3d1ff6136df9b753e507ae41
Fixed order of characters in ligatures of RTL languages issue #648

https://github.com/tesseract-ocr/tesseract/commit/4e8018d013e3cefa55f138c7446264ca8931861a
2017-07-19 (4e8018d) Ray Smith: Important fix to RTL languages saves last space on each line, which was previously lost

Okay, did your attempt at fine tuning work with the given dataset ? Your attempt is important since my extracted traineddata file is reported beta version 3.
@Shreeshrii

@jaddoughman Please see https://github.com/Shreeshrii/tessdata_arabic
I have uploaded there various versions of finetuneddata using the training text based on your dataset.

I ran all your trained models on 5 testing samples, but the accuracy decreased on each one. The issue is still caused by word detection, since a fine tuned model would never perform worse than the original one. This is unfortunate. If any possible explanation arises concerning the connection between training and segmentation, please let me know.
Thank your for your help. @Shreeshrii

I only managed to segment to text lines using the HOCR file generated by the engine and parsing the bounding box coordinates, however the results are very bad. Can you run Leptonica's arabic lines segmentation code on a sample attached below ? This would be really helpful. I'm facing a lot of errors while compiling the C code.
Sample Newspaper: Sample1.tif.zip
@Shreeshrii  @amitdo

I just used  leptonica/prog/arabic_lines and changed input file name to arabic.png for testing.
The complete newspaper did not work well with it. I cropped a section with two columns.
ubuntu@tesseract-ocr:~/leptonica/prog$ ./arabic_lines
Info in pixRotate: 1 bpp; rotate by shear
Skew angle:   -0.25 degrees;   7.80 conf
Num columns: 2
Num textlines in col 0: 59
Num textlines in col 1: 57
sh: 1: xzgv: not found

Results for that are attached.
arabic.zip

Thank you for you help. However, isn't Tesseract using the arabic_lines code to segment the inputted image ? If not, what is the code you are using ?
@Shreeshrii

isn't Tesseract using the arabic_lines code to segment the inputted image ?

No. Tesseract has its own layout analysis code which may be using other leptonica functions.

Will you be fixing the issue of fine tuning leading to altered word detection in the coming Tesseract 4.1 updated version ? I believe this is a major obstacle specially in Arabic, since the pre-trained models are performing very bad. Even after you trained using a separate training data-set, the word detection was altered and the accuracy decreased substantially.
If you have any immediate fix or can guide me in a direction that fixes this issue, let me know. I have 185,000 images similar to the ones attached, and my trained model is suffering from the bug discussed above. Thank you for your help.
@Shreeshrii

The official traineddata has been trained by Ray Smith at Google. As far as I know there are no new updates planned.
I try to follow the guidelines given by Ray in tesstutorial or comments on issues for experimenting with training.
Regarding layout analysis, there are other similar open issues. I am not sure if there are any plans to address those for 4.1.0.
You can try posting in tesseract-ocr google group to see if someone has had better luck  with improving Arabic traineddata.

Do you know which font is used in the images that you want to recognize? Or
suggest a similar font.
On Sun, Mar 10, 2019 at 1:40 PM Jad Doughman<EMAIL_ADDRESS>wrote:

Will you be fixing the issue of fine tuning leading to altered word
detection in the coming Tesseract 4.1 updated version ? I believe this is a
major obstacle specially in Arabic, since the pre-trained models are
performing very bad. Even after you trained using a separate training
data-set, the word detection was altered and the accuracy decreased
substantially.
If you have any immediate fix or can guide me in a direction that fixes
this issue, let me know. I have 185,000 images similar to the ones
attached, and my trained model is suffering from the bug discussed above.
Thank you for your help.
@Shreeshrii https://github.com/Shreeshrii
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tesseract/issues/2132#issuecomment-471256778,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE2_o8c5iri1zILCMme7qQUYCRt9Mvrdks5vVL35gaJpZM4ZgdTt
.

--

भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

The font family can be easily found, since the images are from a well-known newspaper which uses consistent font families throughout the archive. However, the bigger issue is the altered word detection post-training. You attempted to train on a certain font family, and the results were worse than the pre-trained model. My questions is how is fine-tuning a model decreasing the accuracy ? Also, how is fine-tuning altering the detection of the word itself.
The OCR Process as you know has 4 main steps:

Binarization
Segmentation
Classification
Post-Processing

Word detection occurs prior to the classification of the letters themselves. The generate layout analysis attached above show an altered and incorrect word detection for the trained model. The above questions should be included in your updated version of Tesseract. OCRing the 185K archive is part of a research paper, investing months to train Tesseract shouldn't go to waste. I have a lot of samples if you wish to experiment on.
@Shreeshrii  @amitdo  @stweil

Google/Ray have not shared the training text used for LSTM training for Arabic, so we only have the 80 lines from langdata repo. Finetuning works best, AFAIK, when the original training text is used with minimal changes. Trying a different text leads to worse results, as you have pointed out.

Again, the problem isn't with having only 80 lines of Arabic langdata since from a machine learning perspective, fine tuning a recurrent neural network model will never decrease your accuracy. As stated in the training wiki "Fine tuning is the process of training an existing model on new data without changing any part of the network".
With that being pointed out and the two layout analysis attached above, the issue is clearly connected to word detection being altered post-training. Assuming that word detection is a part of the training process, and assuming you used any text to box converter in which you typed on a blank sheet any training data from a known font family with no delimiters or images intruding your training text, how then would word detection be hindered post-training on clean training data ?
Also, the learning curve (attached above) showed a clear increase of accuracy on a text-line level. The evaluation set clearly showed a successful training and this was confirmed by myself on different text lines. The issue is with word detection on a newspaper level.
It would be important to tackle my above question in the coming update (Tesseract 4.1). Let me know if any developer will be investing time to fix this issue or not. I will be meeting with a Microsoft engineer this coming week to discuss using the 185K archive to release their Cognitive Services Arabic OCR API. Training seems to be extremely effective on their models, its shameful to have such a gap considering Google being the company it is.
@Shreeshrii @amitdo @stweil

@jaddoughman: As far as I understand Cognitive Services Arabic OCR API is part of Microsoft Computer Vision which is alternative for Cloud Vision and not for tesseract. These kind of services are not free and neither open source.

The issue is still caused by word detection, since a fine tuned model would never perform worse than the original one.

Your assumption is wrong.
https://github.com/tesseract-ocr/tesseract/issues/2132#issuecomment-450518730
As Shree pointed, you should not train too much lines with the same font. It will lead to overfitting.


Add  test_smoke test

Issue https://github.com/canonical/postgresql-operator/issues/441
All this cases should be covered:

Test Application. VM resources is removed after application removal. Install app, remove app (removal test), check no garbage left.
Test Unit. Re-Installation. Remove unit with --force --no-wait, storage should be detached.
Test Unit. Garbage ignorance.
Test Application.

Hi @BON4! Thanks for the contribution.
Please add a PR description so we can understand what you're proposing.
Thanks.

@dragomirp @marceloneppel bumping

Hi, @BON4, please sign the CLA and sync up with the main branch.

@dragomirp @marceloneppel @taurus-forever Hello team, bumping for review and re-run checks, after changes applied.


TachiSY Keeps Losing Downloads

Steps to reproduce

Download chapter
Chapter appears in files, may or not show as downloaded in app
If it initially appeared, it will stop showing shortly after
Go to advanced settings and invalidate download index
All downloads reappear
Within a couple minutes all downloads disappear again

Expected behavior
When things are downloaded, they should appear as downloaded and the series should show when "Downloaded only" is selected.
Actual behavior
Series only appear for a brief period, then it acts like there are no downloads.
Crash logs
No response
Tachiyomi version
1.10.2
Android version
14
Device
Samsung Galaxy S23 Ultra
Other details
I shifted over to TachiyomiSY from Tachiyomi a couple weeks ago, all downloads are stored and pulled from that original download location. For the first couple weeks everything worked fine. This issue has only arisen over the last few days. No settings have been changed during that time. This issue is not restricted to a single series or extension.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extension's repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.10.2.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Have you checked if the app still has Folder Access permission?

Duplicate of https://github.com/jobobby04/TachiyomiSY/issues/931


Add TLS transport. Fixes #116.

Tested against papertrail and works as expected. You can try with giorgos/logspout docker image.

Nice.


Question: Query on single Comment

Following the basic scaffold on the AppSync console for the Events AppSync app, I've found that there isn't a predefined getComment query function. I'm assuming that due to the Comments table having the eventId as the PPK and commentId as the Sort Key, I'd need to write a custom resolver mapping template. When I've tried to do this, it returns a Dynamo error - I was just wondering if there was a way to get around this?
I've seen other examples where you have to make a query with both the PPK and SortKey, so in this instance it would be eventId & commentId which feels slightly unnecessary to retrieve a single comment when you might not be aware of what the eventId is when you're requesting the comment. Thanks

This was an oversight from me, I found a handy tutorial from Mat Warger where he structured a relationship mapping in a way that means you don't have to PPK the parent's ID. An interesting way to do the same thing but in two different ways


Release 0.5.5

@K-Meech
Do you think we could cut a release today?
This would then also be the release for the next MoBIE-alpha, so it should be a good one ;-)

Sounds good to me!
But, I realised, maybe I should wait for this to resolved first: https://github.com/bigdataviewer/bigdataviewer-core/issues/114
Because I would like to depend on the same versions of bdv wherever possible to avoid confusions.
So, I'll wait a bit to see what happens there.

I released now 0.5.5.
The current master is now 0.5.10-SNAPSHOT. Do not use that!
It will have a lot of incompatibilities.
If you want to further work on 0.5.5, probably work on a branch starting from there.

Checking out 0.5.5. probably works like this: https://devconnected.com/how-to-checkout-git-tags/
Did not try myself...

@K-Meech
I realised this was probably a bad idea, because I found a bug that should make it into MoBIE, which would be very difficult now. So I did the following:

I made a branch bdv10 for the new developments, which break stuff  in terms of compatibility
I reverted the master branch to a version 0.5.6-SNAPSHOT which we can work on as usual and also use for MoBIE related bug fixes

Understood? ;-)

Sounds good! Got it :)


Carthage / Cocoapods support ?

Hi,
Do you plain to publish your framework to Carthage & Cocoapods ?

Hi,
Didn't think about it. It had to be a small thing and exercise. Making it Cocoapod will force me somehow to maintain it, and for now I am out of time basically.

Okay
Nice work 😊


Fix: The dependency groupId of spring-ai-core in spring-cloud-starter-alibaba-ai module is not found.

Describe what this PR does / why we need it
Fixed an issue where spring.ai.core version update caused maven warehouse and Aliyun warehouse to not be found.
Does this pull request fix one issue?

Fixed #3753
Describe how you did it
Modify the version information of spring.ai.version in spring-cloud-alibaba-dependencies/pom.xml to 1.0.0 or later.
Describe how to verify it
You can implement Maven install locally, or you can remove the original spring-ai-core dependency and re-import a new spring-ai-core dependency.
Special notes for reviews
The dependency can be replicated by importing spring-cloud-starter-alibaba-ai directly.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I will close it, because the pr doesn't seem to have any value.

No，thank you
YuLuo @.***> 于2024年6月12日周三 21:13写道：

I will close it, because the pr doesn't seem to have any value. @DIDA-lJ
https://github.com/DIDA-lJ any idea?
—
Reply to this email directly, view it on GitHub
https://github.com/alibaba/spring-cloud-alibaba/pull/3754#issuecomment-2162978784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXF73DAO7ED5WQE3NMCOKRDZHBCPPAVCNFSM6AAAAABIW5WHKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSHE3TQNZYGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Improvements to args and config for lib usage

This PR introduces an optional config parameter to the public fn build. This allows passing explicit config when using xbuild as a library (#58), which would otherwise require appending the config section to the Cargo.toml. If None is passed then it will attempt to resolve from the config file.
A second improvement is a new constructor for Args, which will add the explicitly specified args to the list of all args. This set of args is passed through to the internal invocation of cargo. Previously the constructor accepted the explicit args but they were not added to the list of all args.

Published as version 0.5.26


Improve code coverage when gbq credentials are not provided

By default, the majority of pandas-gbq unit tests are skipped on forks of pandas-gbq because Google BigQuery integration testing requires credentials. This causes code coverage to appear low on pull requests from forks. One potential way to increase the code coverage reported in pull requests from forks is to use mock to stub external requests.
https://docs.python.org/3.6/library/unittest.mock.html

yeah I realized that now :>
we have a very low check on the PR's anyhow

Unfortunately I don't think there's a BigQuery mocking library like there is with some other Google products. I agree that would radically improve the testing iteration.
But until then, I propose to close this as out-of-scope; unless people think I'm overestimating how difficult it would be to build the mocks

Yeah, no BigQuery emulator. It does make unit testing annoying / infeasible.


⚠ Cloudflare has degraded performance

In 5776a30, Cloudflare (https://www.cloudflare.com) experienced degraded performance:

HTTP code: 200
Response time: 1743 ms

Resolved: Cloudflare performance has improved in 91db7f1.


Close client socket if it fails to connect

If Client._connect fails, it should close the socket before re-raising
the exception; the caller can't do this because the socket is only
stored in a local variable until it's been fully connected.  Failing to
do this causes ResourceWarnings in Python 3.

Thanks for the super-quick review!


makes an mcc plot

Makes the NeuralNet output a Mathews Correlation Coefficient -to- Epoch plot  after a training run

.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

21 of 22 (95.45%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 72.089%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

deeprank/tools/metrics.py
21
22
95.45%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
2464

Relevant Lines:
3418

💛  - Coveralls


[QUESTION] Where I can find the CI service?

Is this project using continuous integration services (e.g., Travis-CI or Jenkings)? Or has it used at any point of its lifetime?

CI (via CircleCI) is coming shortly after the full 2.0 suite release.

Thank you!


Wow, another fake gliz!

THANK YOU, and unobfuscated stuff as well!
This will change Blooket forever.
(the skids are gonna go crazy)
If you would like, I could import this to a Glitch or Repl site to help people with blocked access to Github!

See, I was right.

@rxzyx I knew, I was debating...you had essentially change my mind

This is NOT a real account.
Glizzy has actually deleted his Twitter account, and "therealgliz" actually @kixxzy :joy: is now using a new Twitter account under his name for proof.
This is the last available snapshot of his ACTUAL account.
https://web.archive.org/web/20210604202113/https://twitter.com/glizuwu

See, I was right.

Join my discord needa talk to you about your hacks

I joined

@l2vy7 I trust you, and if l2vy7 has a deleted comment, it means he said you were fake. @therealgliz faker

@l2vy7 I trust you, and if l2vy7 has a deleted comment, it means he said you were fake. @therealgliz faker

I'm the real one, join the discord server and find out? I deleted the comment from I2vy7 cause he made a false assumption and we cleared out in the discord server.

@therealgliz Then I can ask him personally!

gliz got banned or smth so made a new acc. this ain't fake


Own tsconfig for custom server in 8.1.1 with internal typescript support

Question about Next.js
After 8.1.1-*canary release there's own https://github.com/zeit/next.js/#typescript typescript support. How to provide node custom tsconfig ?
I have been using ts-node package:
node --require ts-node/register ./server/server.ts
How is it implemented for custom servers now?

Please follow the issue template.


[BUG] applio has an error in index it doesn't work anymore and I used different rvc models it's the same

applio has an error in index it doesn't work anymore and I used different rvc models it's the same

follow the report template, please


How to modify OptimizerRule fields?

Hi, I was wondering if it's currently possible to change or update OptimizerRule fields within the try_optimize function? Below, I've detailed the issues I'm running into and some things I've tried that didn't work.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'm currently working on an optimizer rule for the Dask-SQL project, but I'm running into some annoying logic with DataFusion's optimizer. Basically, I'd like to be able to constantly update a field of the new rule's struct within the try_optimize function, but because it takes in a reference to the struct instead of the struct itself (source code), the field can't be updated. To give a high-level example, let's say I have an optimizer rule:
pub struct MyRule {
    my_set: HashSet<Expr>,
}

It would be nice to be able to use ApplyOrder::TopDown with it, but as I'm going down the LogicalPlan I want to insert any filters from any Join in the plan to my_set, so that this information can later be used to update a TableScan. However, within the try_optimize function, doing something like self.my_set.insert(...) isn't valid because it's a &MyRule and not a MyRule.
Describe the solution you'd like
I'm not sure if there's already a way to modify these fields when desired, but from my experimentation I couldn't get it to work. One solution I imagine is to change &self to self, although I'm not sure if that's desirable.
Describe alternatives you've considered
I also tried within the MyRule implementation to create new instances of MyRule with logic like:
fn try_optimize(
        &self,
        plan: &LogicalPlan,
        _config: &dyn OptimizerConfig,
    ) -> Result<Option<LogicalPlan>> {
        let my_expr = get_expr_func(&plan);
        let mut new_set = self.my_set.clone();
        new_set.insert(my_expr);
        let new_self = MyRule { my_set: new_set };
        // Some type of conditions, extra logic, etc. for when to recurse with try_optimize
        &new_self.try_optimize(plan, _config)
}

but was seeing some wonky logic where the updates would only carry to the next step and not through the rest of the steps down the plan. However, a similar solution could be possible.
I also tried something like:
impl MyRule {
    pub fn new() -> Self {
        Self { my_set: HashSet::new() }
    }

    pub fn set_myset(mut self, value: HashSet<Expr>) {
        self.my_set = value;
    }
}

impl OptimizerRule for MyRule {
    fn name(&self) -> &str {
        "my_rule"
    }

    fn apply_order(&self) -> Option<ApplyOrder> {
        Some(ApplyOrder::TopDown)
    }

    fn try_optimize(
        &self,
        plan: &LogicalPlan,
        _config: &dyn OptimizerConfig,
    ) -> Result<Option<LogicalPlan>> {
        let new_set = HashSet::from([...]);
        self.set_myset(new_set);
    }
}

which didn't work either.
Additional context
This isn't blocking any of my work on the Dask-SQL side; it's just that currently, the workaround I have to use requires a lot more lines of code than I would imagine should be needed.
@andygrove @jdye64 I wanted to know your thoughts on this?

If it would be helpful, I can also provide a full Rust file example/create a Dask-SQL branch to further demonstrate the trouble I'm having. A simple example I've been working with is the case where we just have a counter numeric field and are trying to increment the counter by 1 between steps.

Thanks @jdye64 ! Using &mut self makes sense to me. I've started working toward a solution in https://github.com/apache/arrow-datafusion/pull/5605

FYI @jackwener  I think recently did some work in this area for avoiding optimizer state -- they maybe have some ideas that can help

This might be a naive question, but shouldn't OptimizerRules be pure, i.e. side-effect free. I think taking &mut self not only runs the risk of making OptimizerRule sensitive but also lead to unbounded memory usage - the OptimizerRule are created once per SessionContext.
I'm not familiar with the more recent changes in this space, but I would have expected the OptimizerRule to walk the tree itself to perform this rewrite, similar to how PhysicalOptimizerRule such as EnforceDistribution perform nested rewrites

I'm not familiar with the more recent changes in this space, but I would have expected the OptimizerRule to walk the tree itself to perform this rewrite, similar to how PhysicalOptimizerRule such as EnforceDistribution perform nested rewrites

Yes, I think that is effectively what @jackwener did

Specifcally the tickets linked to https://github.com/apache/arrow-datafusion/issues/4267

Ah okay, if it's preferred that the fields remain immutable, then I'll just have to do it a different way. Thanks for the responses!


Amend cell_type in Olah et al (2020) Single-cell Human Microglia

The Olah et al (2020) Single-cell Human Microglia dataset from the Live Human Microglia Single-cell RNA-seq collection contains a label that needs to be changed.
Specific edit (if just editing the dataset)

change native cell (CL:0000003) to neural cell (CL:0002319) in cell_type

migrated & notified @cjsifuen via Slack of the update


omics type vs omics_type slots

Mark - for my own edification - aren't those equivalent in LinkML?

Yes, LinkML does do some silent case conversions. I think I saw both of these in the same model file. I will elaborate or close. Thanks.

related to #250 ?


[HOLD for payment 2023-07-12] [$1000] mWeb - Chat - 'Hmm... it's not here' page is displayed when we go back from concierge after we open invalid user

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app
Go to search and search for any invalid phone or email
An invalid phone number meaning a non-mobile phone line. (Landline)
Click on result
Close the error
On concierge page, click on back of phone or swipe back

Expected Result:
App should not display its not here page after getting back from concierge after opening invalid user
Actual Result:
App displays 'Hmm... it's not here' page when we get back from concierge after opening invalid user
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/61f55905-ceec-4805-8a19-1ced747f39d3
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685645535899559?thread_ts=1685385849.445229&cid=C049HHMV9SM
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0148400a911dd6cf26
Upwork Job ID:<PHONE_NUMBER>807554048
Last Price Increase: 2023-06-27

I've asked in Slack for clarity about what qualifies as an invalid phone number/email address so we can update the repro steps.

From Slack:

I used landline numbers (eg: +916541237890) as we can't start chat with them. Not sure landline number format in US though.

Is it just me that can't arrive on the error page ? This is what I have for mweb:
https://github.com/Expensify/App/assets/19537677/06dc51cb-4461-4177-ad30-aa91a5532aca
I also tried on prod and same result...
On Android native I have the error page

Hi @parasharrajat, it should get us back to main report from which we clicked on 'Reply in thread' or generally when we go back from concierge, we go back to main home page i.e. reports archive page. Whatever seems right. From users perspective, if we already have closed the error and are taken to concierge page, I won't expect it to show 'Hmm... its not there' page. That would be confusing.

Proposal
Please re-state the problem that we are trying to solve in this issue.
When we start a chat with an invalid user, it will show a create chat error and show a close button. The close button will delete the invalid chat and navigate to concierge chat.
https://github.com/Expensify/App/blob/9f1c0e08eb40f5703d12c9a62770509c70f78dff/src/libs/actions/Report.js#L1267-L1270
When going back, it will show the deleted invalid chat.
What is the root cause of that problem?
When we navigate to concierge chat, the deleted invalid chat is still in the stack ([LHN, Deleted Invalid Chat, Concierge]). So, when we go back, we will land on deleted invalid chat.
What changes do you think we should make in order to solve the problem?

When we navigate to concierge, we should pop the deleted invalid chat from stack.
https://github.com/Expensify/App/blob/9f1c0e08eb40f5703d12c9a62770509c70f78dff/src/libs/actions/Report.js#L1267-L1270
(add Navigation.goBack() before navigateToConciergeChat)
What alternative solutions did you explore? (Optional)
Add a way to replace the navigation instead of push. So, the deleted invalid chat will be replaced with concierge chat.
(I prefer the main solution as it's much simpler)

@parasharrajat what do you think? Do you think the proposals here are sufficient?

Unfortunately, we can't do that.
https://github.com/Expensify/App/blob/342d4fd84f3dda933c44a71b9e4d666d26b270c9/src/libs/Navigation/linkTo.js#L27-L36
When we navigate to a different report screen even using 'UP' type, it will always enter the first if block.

@parasharrajat what do you think about the response from @bernhardoj above?

Noting that I got assigned to this, but I think @robertjchen is the CME here so the assignment feels like a glitch to me. That said, if we need some assistance here I am happy to review this proposal - please just let me know.

Reviewing this now 👀

Thanks for the discussion! Since it looks like we're doing the replace manually elsewhere, it is also an acceptable approach here as well. Let's move forward with @bernhardoj 's proposal 👍

Waiting on the deploy to prod 👍

I believe we're waiting on the BZ checklist for this one? https://github.com/Expensify/App/issues/19996#issuecomment-1622149044

The job has been closed on Upwork. I'll get a new one going.

@johncschuster Got it, should we close this one out then?

I'm having trouble with Upwork (no surprises there) with creating the new job. I'm going to keep this issue open while I work on that so I don't miss paying everyone.

@dhanashree-sawant and @bernhardoj I have sent contracts to both of you. Can you please comment here when you've accepted so I can issue payment? Thank you!

Thanks @johncschuster, Offer accepted.

Reviewed details for @parasharrajat. This is accurate based on summary from the thumbs up from the Business Reviewer and approved for payment in NewDot.

Summary of payment:
External issue reporter - @dhanashree-sawant - $250
Contributor that fixed the issue - @bernhardoj - $1500
Contributor+ that helped on the issue and/or PR - @parasharrajat - $1500

@JmillsExpensify, I've issued payment on Upwork for @dhanashree-sawant and @bernhardoj and it looks like payment should be issued to @parasharrajat via NewDot. Do we need to keep this issue open until that payment is issued or are we good to close this out?

You can close it. I've approved payments.

Sweet! Thank you!


Update VisualStudio.gitignore

Reasons for making this change:
enc_temp_folder/  folder is created after building a project in visual studio.
Links to documentation supporting these rule changes:
Take a look at this repository for example.
https://github.com/jackmott/dungeonbuilder/blob/master/.gitignore
If this is a new template:

Link to application or project’s homepage: TODO

@rishabh-husky

enc_temp_folder/ folder is created after building a project in visual studio.

What sort of project? I'd love some more context here so we can track why we're introducing a new rule like this.

The project created using empty c++ project template seems to have this folder. This could be due to auto recovery done by visual studio. There is not much I could find on the internet. But, it happened in my two c++ projects.

@rishabh-husky the only real clue I could uncover about this came from this obscure thread:

enc_temp folder is the visual studio autosave/autorecover directory, I think it's used during edit and continue

Is this something you're using in your projects?

What about add this folder to gitignore? Git still try submit this folder.

The folder seems to be created when Visual Studio starts debugging, but for unknown reasons, it is not always created.
When I stop debugging, the folder is automatically deleted.

I've investigated!
If you edit the code after you start debugging, Visual Studio will create the folder and back up the original contents of the code file.

There are merge conflicts present due to merges elsewhere. Closing, but feel free to re-open and for the fixes.


Add ability to pivot graph

I do a lot of information architecture and taxonomy design work. 😇  Would it be relatively easy to create an option to pivot the tree to vertical orientation? Instant sitemap, instant card sorting test, instant tree testing... lots of potential appeal for UXers. Let me know your thoughts and so glad to stumble upon this via Twitter!
Originally posted by @jeffreymacintyre in https://github.com/tone-row/flowchart-fun/discussions/27#discussioncomment-429242

@jeffreymacintyre Just wanted to mention this has merged 👍
Cheers!
https://user-images.githubusercontent.com/159949/114572183-463cd380-9c45-11eb-9403-807149439006.mov


fix: fix bug for mset cross slot (miss values except cluster mode)

bug import in this issue
https://github.com/redisson/redisson/issues/3810
and in this commit
https://github.com/redisson/redisson/commit/c875cc3003637d97785ab05a2d9fe46408ea57c0

Thanks for contribution!


Fixed missing _id in CapabilityStatement

Coverage decreased (-0.01%) to 94.338% when pulling 9e279770751fe7ae7a6659395820882b05473ccc on cody-add-_id into 6df2c349d735202c986061b76f6170a2fd348ee5 on main.


Added Figma Bootstrap 5 UI Kit, Sketch Bootstrap 5 UI kit and Themeselection

[Resource] -> [UI Components & Kits]`
Figma Bootstrap 5 UI Kit
Figma Bootstrap UI Kit comprising 300+ organized Bootstrap 5 components built with atomic design system & auto layout. Kick start your next Figma project Just drag and drop pre-made components from the Assets panel. Configure them in the right sidebar. Fast and simple, as should be.
Features:

Design and Dev Consistency
Effortless Resizing
Design with auto layout
300+ Organized Components
Easy to customize

Link: https://themeselection.com/products/free-figma-bootstrap-ui-kit/
Sketch Bootstrap 5 UI Kit
Sketch Bootstrap UI Kit comprising 300+ organized Bootstrap 5 components built with atomic design system & smart layout. Kick start your next Figma project Just drag and drop pre-made components from the Assets panel. Configure them in the right sidebar. Fast and simple, as should be.
Features:

Design and Dev Consistency
Effortless Resizing
Design with a smart layout
300+ Organized Components
Easy to customize

Link: https://themeselection.com/products/free-sketch-bootstrap-ui-kit/
[Themeselection] -> [HTML & CSS Templates]`
Themeselection:
Selected high quality, modern design, professional and easy-to-use Free Bootstrap Admin Dashboard Template,
HTML Themes and UI Kits to create your applications faster
Link: https://themeselection.com/

@saanvi-ts Hey, Thanks for the pr!
Could you please split each resource into separate PR?

@saanvi-ts Hey, Thanks for the pr!
Could you please split each resource into separate PR?

Ok, I will.


django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet. when importing JSONWebTokenSerializer

I'm trying to subclass JSONWebTokenSerializer (to override the username_field), and if I simply import from rest_framework_jwt.serializers import JSONWebTokenSerializer at the top of my models.py file, I get the following error:
Traceback (most recent call last):
  File "./manage.py", line 21, in <module>
    execute_from_command_line(sys.argv)
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/django/core/management/__init__.py", line 312, in execute
    django.setup()
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/django/apps/config.py", line 198, in import_models
    self.models_module = import_module(models_module_name)
  File "/home/paul/.virtualenvs/app/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/paul/git/app/monolith/user/models.py", line 5, in <module>
    from rest_framework_jwt.serializers import JSONWebTokenSerializer
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/rest_framework_jwt/serializers.py", line 17, in <module>
    User = get_user_model()
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/rest_framework_jwt/compat.py", line 32, in get_user_model
    User = get_user_model()
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/django/contrib/auth/__init__.py", line 150, in get_user_model
    return django_apps.get_model(settings.AUTH_USER_MODEL)
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/django/apps/registry.py", line 199, in get_model
    self.check_models_ready()
  File "/home/paul/.virtualenvs/app/lib/python3.4/site-packages/django/apps/registry.py", line 131, in check_models_ready
    raise AppRegistryNotReady("Models aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.

Digging around a bit, there's a stackoverflow answer that suggests the get_user_model() usage in rest_framework_jwt/serializers.py might not be correct, but that is a shot in the dark.

@Symmetric I did similar thing because I wanted to override username field But in Serializers.py and it works like a charm. Thing about get_user_model is it can only work after all the apps and their models are loaded. But as In your case you are breaking the pattern by calling get_user_model by importing JSONWebTokenSerializer .  And about settings.AUTH_USER_MODEL Use it in places like models.py which needs lazy loading of models otherwise its wise to use get_use_model() other places like in forms, views , serializers

I'm trying to subclass JSONWebTokenSerializer (to override the username_field), and if I simply import from rest_framework_jwt.serializers import JSONWebTokenSerializer at the top of my models.py...

Yeah. Don't do this. Create a separate serialisers file, and import that to your views. This gives Django time to complete the setup() phase.


Can't use full space on multiple monitors when creating zones in zone editor

Microsoft PowerToys version
0.43.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones, FancyZones Editor
Steps to reproduce
I have two monitors connected,

The built-in laptop screen, resolution 1920x1080, refresh rate 60Hz
A Samsung external UHD screen, resolution 3840x2160, refresh rate 29Hz.

I use the extend display option to use both screens as separate display. I tried to create custom fancyzone using the fancyzone editor.

When I click the fancyzone editor, the grid or canvas can't be dragged all the way to the end of the big screen.
The screens are not being displayed as two different monitors in the fancy zone editor, the resolutions added up and displayed as single big display.

✔ Expected Behavior

I should be able to create zones separately for each monitor and use it.
The fancy zone editor will detect multiple monitors.
I should be able to use the full real estate on the both monitors.

❌ Actual Behavior

The zone editor doesn't detect two screens, but display both of them as one screen with added resolution of both.

The added up single screen also doesn't let me use the full screen space, there was an empty column at the last, I can't expand a zone past that column to occupy or maximize it. (the black rectangle in image)

Other Software
No response

Hi, sorry to see it's not working as expected.
I assume both displays use 100% scaling? And do you have the setting "allow zones to span across monitors" checked? This setting can cause unexpected behavior as it creates a rectangle that encompass both monitors.

@Jay-o-Way  Thanks, unchecking that box helped me achieve what I wanted to do. Sorry for the confusion, my bad.
Thanks for taking your time checking this and thanks for the wonderful powertoys. I'm closing this as my original issue is solved.


create randomised_quicksort

this sorting is faster than other sorting

Check parenthesis is failing for some cases.
Please check the code.

This should be two separate PRs.  One for strings/check_parenthesis.cpp and a separate PR for sorting/candomised_quicksort.cpp.  Please note that the directories and filenames should be all lowercase and should not contain spaces or dashes.


How to change root Password?

For Feature Requests
Desired Feature:
For Bug Reports

BookStack Version: latest
PHP Version: 7
MySQL Version: 5.7

Expected Behavior
Actual Behavior
Everything works fine using the Installation Script for Ubuntu 16.04, but not able to change root password, all the practices for MySQL not working.
https://help.ubuntu.com/community/MysqlPasswordReset
Thanx in advance.

Hi @eligiable,
I don't think a password is set by default when running that script. In recent versions of MySQL & Ubuntu the root MySQL account has required root/sudo permissions.
What happens when you run the below command, Do you get access to MySQL?
sudo mysql -u root

Hi @ssddanbrown
I've tried everything and still getting the error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
I've edited the Installation Script for Ubuntu, to give full rights to the user bookstack to assign a password for root, but no luck.
Tried to change the MySQL sock, but still not working.
Tried also to change the script from NONInteractive to Interactive mode, but the options for MySQL Prompt does not appear.
Is there a way on the Installation Script to assign the MySQL root password on the fly, to avoid this.
Thanx in Advance

@eligiable Unfortunately no, There is currently not a way to assign the MySQL root password.
I've just double checked in a fresh VM and no password is set during the installations using the script. sudo mysql -u root worked fine after initial run.
Maybe the best option at this stage would be to export your data then fully purge+reinstall mysql-server?

Hi @ssddanbrown
Thanx it worked.

Hi @ssddanbrown
Thanx it worked ...
sudo mysql -u root
SELECT user, host FROM mysql.user;
DROP USER 'root'@'localhost';
CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON . TO 'root'@'%';
FLUSH PRIVILEGES;
If you install 5.7 and don’t provide a password to the root user, it will use the auth_socket plugin. That plugin doesn’t care and doesn’t need a password. It just checks if the user is connecting using a UNIX socket and then compares the username.
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'Password';

@eligiable Yayy, Glad to hear you got access again!


Change SST logicalPrefixedName naming to match serverless 3.0 update

Serverless 3.0 is changing the naming convention to ${service}-${stage}:
https://www.serverless.com/framework/docs/deprecations#api-gateway-naming-will-be-changed-to-service-stage
however, the logicalPrefixedName function is not in sync:
https://github.com/serverless-stack/serverless-stack/blob/45d957853be0017ac84bbe315ef1d132b2648fb3/packages/resources/src/App.ts#L56
the SST scoped naming should also honor this as well so all stacks and resources are aligned:
https://github.com/serverless/serverless/blob/03859c04720f9071d0590b5d0ad1fa0e2c6770b3/lib/plugins/aws/lib/naming.js#L253

Hmm the logicalPrefixedName wasn't meant to be in sync with Serverless. It was more meant to ensure uniqueness when deployed to different stages.
What's your use case for keeping them in sync?

oh really?  as a new serverless user, I am following https://serverless-stack.com/chapters/building-a-cdk-app-with-sst.html to get started
With the serverless 3.0 update, I now have a bunch of AWS infrastructure stacks named ${stage}-${service} while my main serverless stack is called ${service}-${stage}.  It seems like a better situation to have all the stacks listed together in the AWS CloudFormation console, and it seemed like Serverless would be the logical lead on naming, and/or that the same logic for making that change would apply here.

Here is the source issue in Serverless and their rationale (seems like the same logic: keep them listed together in AWS console):  https://github.com/serverless/serverless/issues/2918

Yeah their naming used to be a bit all over the place before. This is a bit of a bigger change for sst since it affects existing apps. But we are trying to figure out if there is a way to migrate some services over from Serverless Framework and this naming scheme is a part of that.

Going to close this issue for now, @brucek let us know if this is still a problem for you and we can re-open it


Make the rescue upload URL a positional argument

Can you please update the commit message and describe why you're making this change?    If this is the case, I'm fine with this change.


Old PAINT other file being loaded in pipeline

This issue came up when some old dog annotations were spotted in amigo but weren't in the most recent set of PAINT GAFs. A specific example from linked ticket is UniProtKB:E2R293 to GO:0071790:
https://github.com/pantherdb/fullgo_paint_update/issues/19
Looking at the amigo load details page http://amigo.geneontology.org/amigo/load_details, I see that the paint_other.gaf is getting pulled from:
http://www.geneontology.org/gene-associations/submission/paint/pre-submission/gene_association.paint_other.gaf.
Grepping this GAF, I finally found the old annotations there, likely because the file is dated 05/08/2017. @kltm Can we get this path changed to wherever the updated PAINT GAFs are deposited/merged?
Tagging @pgaudet @dougli1sqrd @selewis

Here's your problem:
https://github.com/geneontology/pipeline/blob/release/Jenkinsfile#L67

@dougli1sqrd It doesn't seem to exist as a primary project. This is what is wanted: http://skyhook.berkeleybop.org/release/products/annotations/paint_other.gaf.gz

@dustine32 I wonder what it will look like if we don't have this fixed first: https://github.com/geneontology/amigo/issues/532

@kltm yeah, that would be the correct processed paint file.


Bump netty.version to 4.1.42.Final and netty-tcnative.version to 2.0.26.Final

This has been fixed.


fix: Update NAC CRDs

Why the changes were made
Update NAC CRDs for https://github.com/migtools/oadp-non-admin/pull/134
How to test the changes made
Follow NAC development documentation.

/retest


Add support for retrieving secrets from SVM/PEF

The keys for SVM/PEF will be attached as secure blobs to initrd. This secure blob is wrapped by the platform key of the system. During successful boot of the SVM and transition to secure mode, the ultravisor firmware will allow unwrapping of the secure blob and key retrieval.

https://github.com/IBM/raksh-agent/pull/3


[FLINK-3226] Add DataSet scan and  conversion to DataSet[Row]

I'll merge this PR to the tableOnCalcite branch.


Adds ignite source folder to ignite doctor output

Also updated the arrangement of the table to fit a little nicer.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: