text:
Parallel file writing

It looks from the code and observations that the file writing is serial
If there are lots of files to be written then this seems to be limited by latency issues
it seems to me that this could be easily changed
the record writing is currently done like this (in the GCS sink)
recordGrouper.records().forEach(this::flushFile);

and it could be changed like this
           recordGrouper
                    .records()
                    .entrySet()
                    .parallelStream()
                    .forEach(entry -> flushFile(entry.getKey(), entry.getValue()));

probably we want some more controls, limiting the grouping, making it optional etc
What are the thoughts of the team on this

Hi @mkeskells sorry for the wait on responding, I am currently looking at some improvements for this on the S3-Sink Connector, or at least I have been for the last couple weeks. I have a PR open to optimize the use of the api now, and I am working on a follow up PR to leverage that to reduce the memory overheads.
After that is done, I am hoping to do a similar exercise across GCS and Azure blob sinks.
In relation to specifically utilising the parallelStream there would be a small memory overhead, but it does look like it would bean efficient way of improving the write especially for writing topic-partition files, I'd definitely want to test out if there are any issues when writing in parallel with key grouping though where we could be flushing a few thousand files in parallel.

Hi Aindriu,
I have been working on a more radical rewrite of the way that files are written, which allows for writes to occur in the background, and supports back pressure so that we can't run out of memory, timeouts for records and requesting flushes when we have some completion of files written
It's a bigger rewrite, and is close to functionally complete I think, but has had no reviews, just something that I have been working on. I am not sure the best way to discuss this, I don't want to fork, but it is a significant change. I would think that all of the changes should also work on S3, it's very little to do with the actual writing of the files
I am happy to share what I have, but I have work timescales to meet so I may need to fork in the short term.
My work covers a replacement for this parallel writing, enhanced file naming and the other previous PRs. The major drawback is that the files names and batching is not determined by the flush call, so there is a greater chance for duplication of files, but this should be only when there is overload
Please advise on how best to manage this. I am happy to discuss in any forum
BTW the parallel writing would only write the number of threads that the executor has, which should default to the number of cores I believe. In any case I think that what I have is significantly better and more reasoned approach to writing
Regards
Mike
Get Outlook for Androidhttps://aka.ms/ghei36

From: Aindriú Lavelle @.>
Sent: Tuesday, October 29, 2024 12:07:49 pm
To: Aiven-Open/cloud-storage-connectors-for-apache-kafka @.>
Cc: mkeskells @.>; Mention @.>
Subject: Re: [Aiven-Open/cloud-storage-connectors-for-apache-kafka] Parallel file writing (Issue #311)
Hi @mkeskellshttps://github.com/mkeskells sorry for the wait on responding, I am currently looking at some improvements for this on the S3-Sink Connector, or at least I have been for the last couple weeks. I have a PR open to optimize the use of the api now, and I am working on a follow up PR to leverage that to reduce the memory overheads.
After that is done, I am hoping to do a similar exercise across GCS and Azure blob sinks.
In relation to specifically utilising the parallelStream there would be a small memory overhead, but it does look like it would bean efficient way of improving the write especially for writing topic-partition files, I'd definitely want to test out if there are any issues when writing in parallel with key grouping though where we could be flushing a few thousand files in parallel.
—
Reply to this email directly, view it on GitHubhttps://github.com/Aiven-Open/cloud-storage-connectors-for-apache-kafka/issues/311#issuecomment-2444029404, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJ6LZIJ4F3WVICUDHCLUMDZ553BHAVCNFSM6AAAAABPRYD5HWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBUGAZDSNBQGQ.
You are receiving this because you were mentioned.Message ID: @.***>

Hi
I have pushed a PR for this. It is a draft, and a way of discussing the approach, and not ready for a detailed review
its in https://github.com/Aiven-Open/cloud-storage-connectors-for-apache-kafka/pull/319

authors: aindriu-aiven mkeskells


text:
feature: support adding entries to form-data

<FileUpload
    ...
    requestionOptions={{
        ...
        form: {
            key: value,
        }
    }}
/>

which appends the entries to the form-data for the upload POST request.
Extends #42

Looks good! Good PR!

source: gharchive/pull-request

authors: Jim-Holmstroem fippli

repo: Aiwizo/react-file-upload

license_type: permissive

license_source: github-api


text:
Global style removed if another style is applied

I tried using this to change the font globally in my project which is built using typescript,
However it seems like my text aren't inheriting the fontFamily that i specified
so in my App.tsx I initialized with loading the text and used the text inside setCustomText.
useEffect(() => {
    Font.loadAsync({
      Montserrat: require("./assets/font/Montserrat-Medium.otf")
    });
    setCustomText(styles.text);
  }, []);

const styles = StyleSheet.create({
  text: {
    fontFamily: "Montserrat"
  }
});

am I doing it wrong?
Can someone advise on how I can tackle this issue?

It seems like it wasnt an issue from this library.
The replaced fonts are the fonts that is bold and react native cant just increase the weight of the fontFamily.
I needed to manually set another font for bold.
Closing this issue

source: gharchive/issue

repo: Ajackster/react-native-global-props

license: mit

license_source: bigquery


text:
Footer Creation

As of now there is no Footer , we need to create proper footer to add proper links and socials in Footer

My self Harsh Upadhye , I have participated in GSOC 23 last year, I have good experience of working on open source projects. Please Assign this to me

Please proceed, and I will consider merging the content only if it meets the desired standards of quality. Feel free to request any necessary social media handles or contact information directly in this communication

is this work is done or not

I can work on this task. Kindly assign me this task.
Thankyou.

license: MIT


text:
Bottomsheet events are not being triggered

showingInBottomSheet or shownInBottomSheet events are not being triggered when the bottomsheet opens
Which platform(s) does your issue occur on?

iOS 13.3
Android 10
Both emulator and real device

Please, tell us how to recreate the issue in as much detail as possible.
https://play.nativescript.org/?template=play-tsc&id=vD8cvC

@Johnatan85 sorry for answering so late. The event is not called on the bottomsheet view but on the parent view.
Wondering if that is the best...

Hmm, strange, i tried the demo app but cannot get the onShownInBottomSheet to trigger in demo/app/examples/bottomsheetinner1-fragment.xml

@Johnatan85 I am closing this for now.
Let me know if there is stil an issue

repo: Akylas/nativescript-material-components


text:
Unexpected brackets encoding in query

[x ] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
struct Body: Encodable {
  let q: String
  let types = ["129", "132"]
}

let encoder = URLEncodedFormParameterEncoder(destination: .queryString)
AF.session.request(url, method: .get, parameters: Body(q: "whatever"), encoder: encoder)

What did you expect to happen?
The queryString should be "q=whatever&types[]=129&types[]=132"
What happened instead?
The queryString is "q=whatever&types%5B%5D=129&types%5B%5D=132"
Note that I tried to change the allowedCharacters to avoid encoding '[' and ']' but then it crashes when validating the urlQuery.
Alamofire Environment
Alamofire Version: 5.4.4
Dependency Manager: SPM
Xcode Version: 13.1
Swift Version:
Platform(s) Running Alamofire: iOS 15
Demo Project
I'll try to upload a sample ASAP

Closing this, I thought brackets shouldn't be encoded but I guess I was wrong.

repo: Alamofire/Alamofire


text:
Carthage update fails

When I build using Carthage, I get following error; but it works well when I build using Xcode -- not sure why
» carthage build
*** xcodebuild output can be found in /var/folders/vr/mtng044x7jb0_0hcchwjgl0w0000gn/T/carthage-xcodebuild.fM29Kb.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
2015-03-03 19:44:08.029 xcodebuild[17886:502028]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6267/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:77
Details:  Failed to load dependencies output contents from ``/Users/sarat/Library/Developer/Xcode/DerivedData/Alamofire-avhttqnzkfhwxwbmbfsrrqmwsvwp/Build/Intermediates/Alamofire.build/Release-iphonesimulator/Alamofire iOS Tests.build/Objects-normal/x86_64/DownloadTests.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “DownloadTests.d” couldn’t be opened because there is no such file." UserInfo=0x7fed88584e60 {NSFilePath=/Users/sarat/Library/Developer/Xcode/DerivedData/Alamofire-avhttqnzkfhwxwbmbfsrrqmwsvwp/Build/Intermediates/Alamofire.build/Release-iphonesimulator/Alamofire iOS Tests.build/Objects-normal/x86_64/DownloadTests.d, NSUnderlyingError=0x7fed8ac6f5d0 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/Users/sarat/Library/Developer/Xcode/DerivedData/Alamofire-avhttqnzkfhwxwbmbfsrrqmwsvwp/Build/Intermediates/Alamofire.build/Release-iphonesimulator/Alamofire iOS Tests.build/Objects-normal/x86_64/DownloadTests.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7fed88584ea0>{number = 9, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **

The following build commands failed:
	CompileSwift normal x86_64 /Users/sarat/github/Stanford/pmo/Carthage/Checkouts/Alamofire/Tests/DownloadTests.swift
	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)

Update fails here too:
*** Cloning Alamofire
*** Checking out Alamofire at "1.1.4"
*** xcodebuild output can be found in /var/folders/dw/wtbd233j0yd8vzjzlfz1wz1w0000gn/T/carthage-xcodebuild.pDAvwq.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
** BUILD FAILED **

The following build commands failed:
	Check dependencies
(1 failure)

@sharat Without the xcodebuild log, it will be impossible to diagnose the particular failure there.
@AndreasBackx That usually indicates a code signing issue. It's probably not caused by Alamofire.

the log
@jspahrsummers
${Carthage}/Checkouts/Alamofire/Tests/DownloadTests.swift:68:54: error: operand of postfix '!' should have optional type; type is 'String'
XCTAssertEqual(file.lastPathComponent!, "(suggestedFilename)", "filename should bsuggestedFilenameines)")

Alamofire 1.1.4 builds just fine for me:
$ xcodebuild -version
Xcode 6.1.1
Build version 6A2006

It seems that I need to update my xcode version.😄

Ain't quite sure what happened after updating to latest Xcode (6.2). The errors disappeared and it's working fine!
@jspahrsummers - Sorry for not attaching the log. Just missed it.
I had the same problem mentioned by @raylua2566. It's working now anyway.

Thanks, @jspahrsummers.

authors: AndreasBackx jspahrsummers mattt raylua2566 sharat


text:
EXC_BAD_INSTRUCTION (code EXC_I386_INVOP, subcode=0x0)

I am sending a request using the following code:
let requestURL = "/user?where={"phoneNumber":"0000000001"}"
Alamofire.request(.GET, host+requestURL)......
I getting this error in the alamofire at this line:
let mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: URLString.URLString)!)
(Alamofire.swift : 92)
Any ideas？

Most likely the result of host + requestURL is not a valid URL, causing the unwrapping to crash. Please ensure you're passing a valid URL.

Thanks for quick response. Host is validate URL because I am using it to pass to Alamofire request in the other parts of application. I suspect that several " (backslash + double quote) are causing the problem.

I'm going to close this for now, let us know if fixing the backslashes and quotes doesn't fix the issue.

But I cannot fix the problem because I need quotes in my URL and I need backslashes for that.

Hi @YilunLiu, you need to use parameter encoding to properly escape the query string parameters instead of building the query string yourself. This is exactly why the entire ParameterEncoding enumeration exists. This is NOT a problem with Alamofire, you are misusing an NSURL.

authors: YilunLiu cnoon jshier


text:
Incorrect Alamofire dependency on cocoapod spec

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
Try install AlamofireImage 3.5.2 via cocoapod and at the same time with a dependency on Alamofire 5.0.0 +
What did you expect to happen?
Successful install
What happened instead?
Failed due to conflict requirement on Alamofile version. The cocoapod spec on git has not been update to the latest version yet. The Alamofire dependency needs to be updated.
Alamofire Environment
Alamofire version:
Xcode version:
Swift version:
Platform(s) running AlamofireImage:
macOS version running Xcode:
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.

AlamofireImage has a strict dependency on Alamofire. Due to changes in Alamofire 5, AlamofireImage 3 is not compatible. You must update to AlamofireImage 4 (currently 4.0.0-beta.3) to be compatible with Alamofire.

authors: jshier laeroah

repo: Alamofire/AlamofireImage


text:
test(eslint): add eslint and refactors to pass validation

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #11
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Added ESLint based on the story guidelines and refactored the files that did not pass the linter until everything passed. Did not ignore or modify any rules. Just fixed the things it complained about.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[x] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: ecommerceUXdesign tsalright

repo: AlaskaAirlines/ods-toast


text:
Unit test run for the TODO-LIST project pull request

Installed Jest
Did a unit test for the TODO-LIST project.

Hello @AleWaweru @wolterbwambale
This is an additional review as a result of the second opinion request.

I noticed that you used Jest version 29, which automatically handles mocking the local storage. There's no need to manually mock it.
[ ] Please resubmit this pull request, as the next code reviewer will likely approve it

Cheers and Happy coding! 💻 👏

GitHub | LinkedIn | Twitter
Reviewed by Ahmet Bozacı

authors: AleWaweru ahmetbozaci

repo: AleWaweru/TODO-LIST


text:
failed

Starting server
To see the GUI go to: http://0.0.0.0:8188
[INFO] No pre-start script found. Skipping.
########################################
[INFO] Starting ComfyUI...
########################################
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-06-01 16:58:40.883176
** Platform: Linux
** Python version: 3.11.9 (main, Apr 08 2024, 06:18:15) [GCC]
** Python executable: /usr/bin/python3
** Log path: /home/runner/comfyui.log
Prestartup times for custom nodes:
2.7 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI-Manager
Total VRAM 8099 MB, total RAM 7880 MB
pytorch version: 2.3.0+cu121
xformers version: 0.0.26.post1
Forcing FP16.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1070 : cudaMallocAsync
VAE dtype: torch.float32
Using xformers cross attention
Loading: ComfyUI-Manager (V2.35.1)
ComfyUI Revision: 1 [71ec5b14] | Released on '2024-05-29'
Loading: ComfyUI-Impact-Pack (V5.8.1)
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
Loading: ComfyUI-Impact-Pack (Subpack: V0.5)
[Impact Pack] Wildcards loading done.
Comfyroll Studio v1.76 :  175 Nodes Loaded
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
Workspace manager - Openning file hash dict
Loading: Workspace Manager (V1.0.0)
[Crystools INFO] Crystools version: 1.12.0
[Crystools INFO] CPU: Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz - Arch: x86_64 - OS: Linux 6.8.0-31-generic
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce GTX 1070
[Crystools INFO] NVIDIA Driver: 550.54.15
A new version of Albumentations is available: 1.4.8 (you have 1.4.7). Upgrade using: pip install --upgrade albumentations
[START] ComfyUI AlekPet Nodes
Node -> ArgosTranslateNode [Loading]
Node -> DeepTranslatorNode [Loading]
Node -> ExtrasNode [Loading]
Node -> GoogleTranslateNode [Loading]
Node -> PainterNode [Loading]
Node -> PoseNode [Loading]
[END] ComfyUI AlekPet Nodes
Traceback (most recent call last):
File "/home/runner/ComfyUI/nodes.py", line 1879, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/runner/ComfyUI/custom_nodes/ComfyUI_Custom_Nodes_AlekPet/init.py", line 164, in
from .DeepTranslatorNode.deep_translator_node import DeepTranslatorCLIPTextEncodeNode, DeepTranslatorTextNode
File "/home/runner/ComfyUI/custom_nodes/ComfyUI_Custom_Nodes_AlekPet/DeepTranslatorNode/deep_translator_node.py", line 7, in
import deep_translator
ModuleNotFoundError: No module named 'deep_translator'
Cannot import /home/runner/ComfyUI/custom_nodes/ComfyUI_Custom_Nodes_AlekPet module for custom nodes: No module named 'deep_translator'
Import times for custom nodes:
0.0 seconds: /home/runner/ComfyUI/custom_nodes/websocket_image_save.py
0.0 seconds: /home/runner/ComfyUI/custom_nodes/AIGODLIKE-ComfyUI-Translation
0.0 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus
0.2 seconds: /home/runner/ComfyUI/custom_nodes/OneButtonPrompt
0.2 seconds: /home/runner/ComfyUI/custom_nodes/images-grid-comfy-plugin
0.3 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI-Manager
0.3 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts
0.4 seconds: /home/runner/ComfyUI/custom_nodes/comfyui-workspace-manager
0.5 seconds: /home/runner/ComfyUI/custom_nodes/Derfuu_ComfyUI_ModdedNodes
0.6 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI-NegiTools
1.0 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
1.1 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI_kkTranslator_nodes
4.1 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI-Crystools
7.8 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
10.1 seconds: /home/runner/ComfyUI/custom_nodes/ComfyUI_InstantID
33.7 seconds (IMPORT FAILED): /home/runner/ComfyUI/custom_nodes/ComfyUI_Custom_Nodes_AlekPet
Starting server
To see the GUI go to: http://0.0.0.0:8188

Hello, you do not have the deep-translator module installed, you need to install it, you can do it through comfyui manager or manually, through the terminal.
You need to go to Manager → Install PIP packages → put deep-translator and restart.

Thank you very much, I solved this problem. I am using docker. The python environment required by the node is missing and cannot be installed automatically. After manually installing the environment and modifying some codes, it works fine.

authors: AlekPet valleyss


text:
[Feature] Ensure validators only participate in peer gossip when feature flag is set

🚀 Feature
In order to enhance the robustness of a validator node, we should by default ensure they only accept connections from trusted clients. Given that we already have a --peers flag to specify peers, I propose we only have to add:
      --allow-outside-peers
                If the flag is set, the validator will engage in P2P gossip to request more peers.

Implementation
If the --allow-outside-peers flag is not set, a validator should not send out any PeerRequest nor accept PeerResponse. We may need to take into account that trusted peers are not dropped/shuffled.
For clients, there is no difference in behavior.

@vicsn Isn't this done?

authors: joske vicsn

repo: AleoNet/snarkOS


text:
SIGSEGV on startup

System Details

OS: Ubuntu 23.04
Thorium Version: 114.0.5735.134 stable, built on Linux

Problem
> thorium-browser
[1565748:1565748:0626/185726.137938:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[0626/185726.161191:ERROR:elf_dynamic_array_reader.h(64)] tag not found
fish: Job 1, 'thorium-browser' terminated by signal SIGSEGV (Address boundary error)

But won't crash, if launched with url:
> thorium-browser https://github.com
[1583713:1583713:0626/210808.056446:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.

Hello,
Same story.

OS: Archlinux current
Thorium Version: 114.0.5735.134 stable, built on Linux

[39484:39484:0703/141248.526477:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[0703/141248.552537:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0703/141248.552892:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Segmentation fault (core dumped)
When started with URL in command line starts up properly

@al3xxx, just to verify, do you have multiple profiles?

@al3xxx, just to verify, do you have multiple profiles?
Yes, 2 profiles,  didn't show profile selection window on startup either.

@dmig I've noticed that --temp-profile command line switch doesn't work either

Release 50, still crashes:
> thorium-browser
[2104728:2104728:0723/124704.805079:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[0723/124704.825376:ERROR:elf_dynamic_array_reader.h(64)] tag not found
fish: Job 1, 'thorium-browser' terminated by signal SIGSEGV (Address boundary error)

Crashe for me when trying to Profiles -> Add Profile... on osx Version 114.0.5735.134 (Official Build) (arm64)
[0724/122253.073278:WARNING:crash_report_exception_handler.cc(235)] UniversalExceptionRaise: (os/kern) failure (5)
[69640:259:0724/122253.079924:ERROR:child_thread_impl.cc(236)] Invalid PlatformChannel receive right
Failed to initialize sandbox.[1]    69586 segmentation fault  /Applications/Thorium.app/Contents/MacOS/Thorium

@dmig @al3xxx @bgulowaty Yeah there is an issue with the profile selector in M113 and M114. This manifests when trying to add a new user, sign in to a new google account (with google sync), or running from cmdline when more than one profile is available.

Closing as resolved


text:
autogen: guile fails to compile (in procedure load-thunk-from-memory: Invalid argument)

Originally reported by @LigH-de on https://github.com/msys2/msys2/issues/124.
Last week I set up a completely new instance of MABS, which downloads an up-to-date MSYS2 environment for building various audio and video tools. Among those, sndlib requires autogen, which requires guile. Issue #116 was just closed, but it seems to work only in MSYS2 environments which were installed a lot earlier.
In this new MSYS2 installation, autogen does not work because it seems to require a lot of guile modules which cannot be loaded from a cache, but cannot be compiled either. Attached is the stderr output of autogen --version just as it is used to check for the availability of autogen in configure scripts. Head snippet:
;;; WARNING: loading compiled file /usr/lib/guile/2.2/ccache/ice-9/eval.go failed:
;;; Throw to key system-error with args ("load-thunk-from-memory" "~A" ("Invalid argument") (22))
;;; WARNING: loading compiled file /home/LigH/.cache/guile/ccache/2.2-LE-4-3.A/usr/share/guile/2.2/ice-9/common-list.scm.go failed:
;;; In procedure load-thunk-from-memory: Invalid argument
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/guile/2.2/ice-9/common-list.scm
;;; compiling /usr/share/guile/2.2/system/base/compile.scm
;;; it seems /usr/share/guile/2.2/system/base/compile.scm
;;; is part of the compiler; skipping auto-compilation
;;; compiling /usr/share/guile/2.2/system/base/syntax.scm
;;; WARNING: compilation of /usr/share/guile/2.2/system/base/syntax.scm failed:
;;; In procedure variable-ref: variable is unbound: #<variable 204a9688 value: #<undefined>>
;;; compiling /usr/share/guile/2.2/system/base/language.scm
;;; WARNING: compilation of /usr/share/guile/2.2/system/base/language.scm failed:
;;; In procedure variable-ref: variable is unbound: #<variable 204a9688 value: #<undefined>>
...

autogen-version.txt

This issue appears to be specific for Win32 MSYS2 installations. In a Win64 installation it works well.

Did you solve the problem ?

authors: LigH-de Steakache elieux


text:
Add the ability to resolve an ip address from a domain name in the webrtc settings

I would like to enter not the ip address but the domain name in these settings:
webrtc:
  listen: ":8555"
  candidates:
    - domain_name.com:8555

If you are using docker, as a workaround you can temporary use
docker:
--add-host
docker-compose:
extra_hosts:

domain_name.com:1.1.1.1

I think problem about DDNS hostname in webrtc candidates. This feature already in master version. Will be in next release

https://github.com/AlexxIT/go2rtc/releases/tag/v0.1-beta.6

authors: AlexxIT DaN66O luzik


text:
Subobject image/preimage, completion of a partial subobject

These functionalities for subobjects are code I find myself rewriting repeatedly, so they may be of use to others too (if they're not already in Catlab).
Because I often want to 'apply' a homomorphism to some concrete data, this becomes a map of subobjects from the domain to the codomain. We likewise can use preimages to get maps in the other direction (I'd like a better syntax for inverses, but for now it's a named function hom_inv).
Also, I often want, e.g., the wiring diagram induced by wires 3, 4, and 7 - so induce_subobject will do the iterative search so that the subobject doesn't have 0's everywhere.

Looks like the test suite is failing on the new tests (though you may already be aware of that).

This is repeatedly failing on generating the code for one of the docstrings. I'm wondering if one of the added docstrings is being interpreted as code for documenter to execute? (error here https://github.com/AlgebraicJulia/Catlab.jl/runs/5409417886?check_suite_focus=true#step:6:97).
@kris-brown have you been able to build the documentation locally for this PR?

Hm this error is weird because it seems to be in a completely unrelated file.
For generating docs locally: running docs/make.jl in the environment of that folder, I cannot build docs, even with the master branch of Catlab due to this error:
┌ Error: error when executing notebook based on input file: `~/code/Catlab.jl/docs/literate/graphics/composejl_wiring_diagrams.jl`
└ @ Literate ~/.julia/packages/Literate/kB2Gm/src/Literate.jl:609
ERROR: LoadError: LoadError: MethodError: no method matching SCS.Optimizer(; verbose=false)

Note that error is different from the one github is reporting. For the local error, I think the problem occurs when solve_isotonic calls solve! with the SCS.Optimizer type passed in as an argument. Maybe we need tighter version bounds in the docs/Project.toml?
My environment:
[134e5e36] Catlab v0.13.7
  [5ae59095] Colors v0.12.8
  [a81c6b42] Compose v0.9.3
  [f65535da] Convex v0.15.0
  [864edb3b] DataStructures v0.18.11
  [e30172f5] Documenter v0.25.5
  [682c06a0] JSON v0.21.3
  [b964fa9f] LaTeXStrings v1.3.0
  [98b081ad] Literate v2.8.0
  [08abe8d2] PrettyTables v1.3.1
  [c946c3f1] SCS v1.1.0
  [1e332c56] TikzCDs v0.2.1
  [37f6aa50] TikzPictures v3.4.2

This should be fixed #607. Try rebasing off master.

So, I think that it's not the actual content of the comments, but instead the fact that there are docstrings on your (f::ACSetTransformation) functions. When I comment out just these docstrings, it compiles fine, but whatever they are, if they're included it breaks

This looks like a similar issue, though it's not the exact same situation (though the same error)
https://github.com/JuliaDocs/Documenter.jl/issues/1192

Sorry it's taken me so long to get back to this! If you remove the return types, the docs will build even with the docstrings
(f::ACSetTransformation)(X::SubACSet)::SubACSet

to
(f::ACSetTransformation)(X::SubACSet)

Not sure if that causes any performance or enforcement issues on Julia's side, but it'll let you write docstrings for these functions. So it currently is just a choice between docstrings and return types from what I can see. Any thoughts on this tradeoff @epatters @kris-brown ?

I'm pretty sure return type annotations just add a runtime type assert for the return value, so removing them shouldn't break anything.
That said, having them obviously shouldn't break the docs build. Looks like a bug in Documenter. I just upgraded to Documenter to the latest version (#626). Can you see if that fixes the problem?

Unfortunately it looks like this is still breaking, so we're still stuck with choosing between an explicit return type and docstrings.

Since it's quite common in Catlab for methods to not have return types but uncommon to have pseudo-docstrings with #, I'd opt for removing the return type.

Agreed. The return type is less important than the docstring.
We should also file an issue with Documenter.jl.

I've filed an issue here (https://github.com/JuliaDocs/Documenter.jl/issues/1810)
Once the return type is removed and the docs build, I'll be ready to approve this PR for merging!

The documenter issue has been closed with this PR https://github.com/JuliaDocs/Documenter.jl/pull/1811, which provides workarounds for docstrings on functors. The expected behavior still doesn't work, and is dependent on the resolution of this Julia issue https://github.com/JuliaLang/julia/issues/45174

important content of this is now incorporated into https://github.com/AlgebraicJulia/Catlab.jl/pull/777

authors: bosonbaas epatters kris-brown


text:
Find Union and Intersection of two sorted arrays

Example:-
Input : arr1[] = {1, 3, 4, 5, 7}
arr2[] = {2, 3, 5, 6}
Output : Union : {1, 2, 3, 4, 5, 6, 7}
Intersection : {3, 5}

@nakul-19 Please assign me this issue. I want to contribute, I am a Gssoc'21 participant.

I am a GSSOC '21 participant.
I wish to contribute a JAVA code for this issue:
My code will have comment lines to make it explanatory and understandable to everyone.
I will be very happy if I am assigned this issue and allowed to work on this.

I am a GSSOC '21 participant.
I wish to contribute a JAVA code for this issue:
My code will have comment lines to make it explanatory and understandable to everyone.
I will be very happy if I am assigned this issue and allowed to work on this.

I am a GSSOC '21 participant.
I wish to contribute a JAVA code for this issue:
My code will have comment lines to make it explanatory and understandable to everyone.
I will be very happy if I am assigned this issue and allowed to work on this.

I am participant of GSSOC'21 .
I want contribute code for this issue.
I solves this question in past.
please assign me this issue

I wish to contribute & resolve this issue with proper indentation, comments & sample I/O in C++.
Kindly assign me these issues under GSSOC '21

@tarun26091999
I am participant of GSSOC'21 .
I want contribute code for this issue in python .
I solves this question in past.
please assign me this issue

repo: Algo-Phantoms/Algo-Tree


text:
[NEW ALGORITHM]  Allocate Minimum Pages

Name:

### About:
Propose a new algorithm to be added to the repository

---You have n books, each with arr[i] a number of pages. m students need to be allocated contiguous books, with each student getting at least one book.
Out of all the permutations, the goal is to find the permutation where the sum of the maximum number of pages in a book allotted to a student should be the minimum, out of all possible permutations.

Return -1 if a valid assignment is not possible, and allotment should be in contiguous order

---

### Assignees:
- [yes] Contributor in GSSoC-ext
- [yes] Want to work on it

Please assign me so that i can start working @pankaj-bind  sir
 Thank you!!!

@Dipanita45 assign me this issue

Please assign me this issue @pankaj-bind

repo: AlgoGenesis/C