[ISSUES] I think it would be interesting to have different templates.

I think it would be interesting to have different templates (.github/**/*.md) for various purposes within your repo. Templates can significantly enhance efficiency and clarity in communication, especially when dealing with different aspects of your code/repo. Imagine having specific templates tailored for bug reports, allowing users to succinctly detail the issue they encountered, including steps to reproduce. This standardized format would streamline the debugging process, making it more organized and time-effective.
Similarly, having a dedicated template for reporting issues can help users express concerns or suggestions in a structured manner. Users could provide essential details, such as the nature of the problem, its impact, and any relevant markdown/screenshots, making it easier for the team to comprehend and address their concerns promptly.
Moreover, the inclusion of a feature request template could be a valuable addition. Users often have innovative ideas or specific functionalities they'd like to see implemented. A feature request template could guide users in articulating their suggestions comprehensively, specifying the intended benefits and potential use cases. This structured approach would empower your development team to better understand and evaluate the feasibility and significance of each proposed feature.
In conclusion, introducing different templates for bug reports, issue reports, and feature requests can enhance the overall user experience by promoting clear and concise communication. This, in turn, facilitates more efficient problem resolution, ensuring that your platform remains responsive to user needs and continually evolves with valuable user input.
What do you think ?

Templates examples
Bug
## Bug:  _Bug Report_

### Environment

- OS:
- CPU:
- RAM:
- GPU:
- (...)

Describe

Please provide a short summary of your bug.

Is this a regression?

Reproduce

Step

(...)

Expected behaviour

A clear and concise description of what you expected to happen.

Feature
## Feature:  _US/ES name_

## Feature Summary

> Please provide a short summary of your changes here and any additional information that is not provided in the commit messages.

## Screenshots / Videos

> Please provide screenshots or videos.

## Definition Of Done

- [ ] Code follows the style guidelines (e.g. https://gist.github.com/rgaidot/ea5841b20505025b0284514f9adfac58)
- [ ] Checked my code and corrected any misspellings
- [ ] Changes generate no new warnings
- [ ] Acceptance criteria
- [ ] Test case to prove functionality
- [ ] The PR introduced no regression
- [ ] The PR is reviewed and approved by PO & Designer
- [ ] No TODOs left in the code unless explained in the ticket
- [ ] Update the documentation according to changes (Potentially, you can check)

Ask and you shall receive! https://github.com/ollama/ollama/issues/new/choose


center prop has no effect on Box component children

Describe the bug
Right now, when the center prop is passed to the Box component, nothing happens. The children of the Box component maintain their default position and are not centered.
Expected behavior
If I do something like this 👇🏾, I expect the children of the Box component to be centered, but passing the center prop currently has no effect on the children.
<Box center={true}>
/* children here */
</Box>

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cloudlink Suite

Cloudlink SUIT impl
resolves #60

Too early, please wait for CL <IP_ADDRESS> (CL4 Optimized).
(Will be published by the end of today)

Too early, please wait for CL <IP_ADDRESS> (CL4 Optimized). (Will be published by the end of today)

Its its own system in its entirety lmao (il fix breaking changes that are made anyways).

and, yes im still working on this lmao

editing for optimized now

testing

Needs some code refactoring, and send_packet should be replaced with send_packet_unicast with proper message quirks

and send_packet should be replaced with send_packet_unicast with proper message quirks
wont work because send_packet_unicast forces a command

you also gave nothing to go off of for refactoring.

also, drafts are not ment for this, drafts are ment when the writer is still writing. github also has its own review system

you also gave nothing to go off of for refactoring.

await self.send_packet_unicast(
            client = client,
            cmd = "auth",
            val = {
                "username": client.friendly_username,
                "token": usr['session']['token'],
                "refresh_token": usr['session']['refresh_token']
            },
            quirk = self.supporter.quirk_update_msg
        )

This will generate the following message JSON:
{
                 "cmd": "auth"
                 "username": client.friendly_username,
                 "token": usr['session']['token'],
                 "refresh_token": usr['session']['refresh_token'],
}

also, drafts are not ment for this, drafts are ment when the writer is still writing. github also has its own review system

I marked it as a draft since it wasn't ready yet. Might just be my mistake. Oh well.

await self.send_packet_unicast(
            client = client,
            cmd = "auth",
            val = {
                "username": client.friendly_username,
                "token": usr['session']['token'],
                "refresh_token": usr['session']['refresh_token']
            },
            quirk = self.supporter.quirk_update_msg
        )

This will generate the following message JSON:
{
                 "cmd": "auth"
                 "username": client.friendly_username,
                 "token": usr['session']['token'],
                 "refresh_token": usr['session']['refresh_token'],
}

If you leave the message quirks unspecified or set to quirk_embed_val, the payload will look like this:
 {
                  "cmd": "auth",
                  "val": {
                                    "username": client.friendly_username,
                                    "token": usr['session']['token'],
                                    "refresh_token": usr['session']['refresh_token'],
                  }
 }

<snip>

If you leave the message quirks unspecified or set to quirk_embed_val, the payload will look like this:
 {
                  "cmd": "auth",
                  "val": {
                                    "username": client.friendly_username,
                                    "token": usr['session']['token'],
                                    "refresh_token": usr['session']['refresh_token'],
                  }
 }

thats slightly annoying tbh. most ppl would expect the other way arround from cl4 unoptimised

CL4 unoptimized, or rather, any previous instance of CL4 wasn't intended for production usage, and I haven't provided docs for it until it was mature enough for production use (CL4 optimized). There's a reason why I called CL4-related releases "Early Release", as to give an idea of what to expect. Either way, I'll port this code to utilize CL4 optimized.
For the love of Meowy, just wait for docs to get finished...

CL4 unoptimized, or rather, any previous instance of CL4 wasn't intended for production usage, and I haven't provided docs for it until it was mature enough for production use (CL4 optimized). There's a reason why I called CL4-related releases "Early Release", as to give an idea of what to expect. Either way, I'll port this code to utilize CL4 optimized.
For the love of Meowy, just wait for docs to get finished...

Suit is mostly ported

Btw... (In the style of stocktales):
Suit =

Suite =

Spelling counts.

also, drafts are not ment for this, drafts are ment when the writer is still writing. github also has its own review system

I marked it as a draft since it wasn't ready yet. Might just be my mistake. Oh well.

Suite is going major renovations right now.

Code will need to have refactoring to accommodate changes to how listeners work.
listener_detected and listener_id have been simplified into listener as of 4.0-stable1

let's go, suite is coming back

restarting on this


Add oas3lint filters

Add filters

Filter operations by tag
Filter operations by path

Narrow support objects by filtered operations, e.g. requestBodies, parameters, schema objects.

This is so the linter can work on a subset of the operations.
A workaround is to filter the spec first.

The filters are to have the linter can work on a subset of the operations.
A workaround is to filter the spec first.


Private notes

What do we want to do about private notes?
@jsayles suggested that we might just have another repo. In fact, a private repo with a (private) Github wiki might just work.

A private repo is where my brain went first but I'm open to other suggestions.  A few important points I want to make when thinking through a solution.  Generally I want things to be as open as possible.  I want to highly discourage private conversations because they limit serendipitous idea collisions and are usually not required.
One exception that does need to be kept private is information on people interested in this that have not yet agreed to be a part of it.  Example:  Today we talked with Amy Fox and she did agree to join the project.  Before that she was a person of interest and we need a way to share information and talk about people of interest without publishing their information on the website.

Ok.
So I think a private “notes” repo and using the wiki — and, for that matter, private issue queue — could work in the short term.
But also: we could just use a shared Google folder and GDocs, which would be accessible to non coding nerds.
I’m fine either way.

It was decided that GDocs are a necessary evil and we going with that.


Blank page after few weeks

Environment:  mipsel_24kc, Asus RT-AC51U, Openwrt 19
Description:
i have trouble with OUI after using OUI few weeks, when i access my router, OUI just blank page. but work with LuCI
proof:
https://gofile.io/?c=d9LLWu

same issue here, something is broken,  a blank homepage is all I got with development branch

清除浏览器缓存


Complementary monads library?

What monad/ADT libraries are people using with ramda?
Most of those previously recommended (folktalke, fluture, ramda-fantasy) are no longer maintained. Packages which are maintained such as sanctuary seem to promote themselves as a superior alternative to ramda, not a complementary library.
In my view, there is no other FP library as comprehensive or well maintained as ramda and I don't want to ditch it.
However, I would like to use things such as Maybe, Either, Future (Task/Deferred/However you want to call it) in critical sections of code (but not necessarily the whole codebase).
Are there any production-ready, well supported libraries out there?

Maybe https://github.com/evilsoft/crocks ?
For futures there is https://github.com/fluture-js/Fluture

My impression is that unless they are in TypeScript most are pretty abandoned.

Name
FantasyLand v?
last commit
lang

fp-ts
❌ removed
recently
TS

Purify
☑
recently
TS

@neotype/prelude
❌
recently
TS

crocks
☑
2021
JS

monet
☑
2021
JS

Maybe Sanctuary? But I guess that's another replacement to Ramda.


Batect does not run when Java version less than 1.8

When Java version was 1.7 I got the following error:

Thanks for the bug report @Letitia-May!
This is definitely something that needs to be fixed... while it is mentioned in a number of places that Java 8+ is required, that error message could be much, much clearer and tell you exactly what's wrong.

Thanks Charles! I didn't even realise I still had 1.7 installed and set as the default - so a clearer error message would have definitely helped in realising this was the issue sooner :)

(also, GitHub tells me this is your first ever issue on GitHub... congratulations :tada: )

It is, thanks! 😄

This has been fixed with 27d53b6 and will be part of the next release.
Thanks again @Letitia-May!


Text overlaying other text in pie chart preview

In pie charts with many little fractions text tends to be displayed over other text or not even be shown because there is too little space.

Example:

I obviously want to be able to read all text (names and percentage of fractions). To fix this the lines extendeing from the fraction to the text of the fraction could be longer for some fractions.

In pie charts with many little fractions text tends to be displayed over other text or not even be shown because there is too little space.

Example:

I obviously want to be able to read all text (names and percentage of fractions). To fix this the lines extendeing from the fraction to the text of the fraction could be longer for some fractions.

Use 'layout' to change text layout type. Options: 'overlap' 、 'fixedOverlap' 、 'limitInShape'

I can't see any change when trying your suggested layout options. I also couldn't find any information about this in the Readme.

overlap

API docs: https://charts.ant.design/en/examples/pie/basic#basic


Self Host?

Because there is a "Server URI" section, and we can change it. Maybe an option to run a server ourself?

Go ahead. The server is open-source and available at https://github.com/Gaming32/world-host-server-kotlin.

How to do it? Is there some kind of instruction for doing that? Oh, also is the friend system is per URI or its centralized thing?

The CLI is designed to be fairly obvious, assuming you already know how to use the terminal. The friend system is local and stored on the user's computer. Check world-host.json5 in your instance's config folder to see what I mean.

so i run the main.kt with --baseAddr parameter, am i right?

Just run the JAR. java -jar world-host-server-kotlin-all.jar --help

Oh, I get it, so i have to build it first with gradle?

You can download an existing build from GitHub Actions

ok, tysm


Demo doesn't work from iPad, multiple devices

First, I can't get the demo to work from my iPad. Every time I get a new token sent, it says "The supplied token is not valid (anymore). Please request another one." I've tried it three times now. I'm using email delivery and receiving the email right on the iPad.
Second, does this work by using cookies or local storage in the browser? If so, how does it work with multiple devices? Do I just need to invoke the email flow every time I want to change devices?

Hi!
How do you send your emails? I suspect someone in your delivery chain does already request the url (eg for virus checking or creating a short url). This "consumes" the token. You can change the behavior of invalidating tokens as described here: https://passwordless.net/deepdive#allow-token-reuse
And, yes, it uses cookies which means you can simply repeat the flow on any device.
Hope this helps!

On 15 Aug 2016, at 07:57, gbisaga<EMAIL_ADDRESS>wrote:
First, I can't get the demo to work from my iPad. Every time I get a new token sent, it says "The supplied token is not valid (anymore). Please request another one." I've tried it three times now. I'm using email delivery and receiving the email right on the iPad.
Second, does this work by using cookies or local storage in the browser? If so, how does it work with multiple devices? Do I just need to invoke the email flow every time I want to change devices?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ah, that makes sense. I'm using gmail, which doesn't do URL shortening, but it probably does hit the link for purposes of virus and dead link checking. It might be worthwhile to mention this in the documentation, since offhand I'd probably not want to enable token reuse and it looks like it will be necessary for some users at least. Thanks!


Implement debug_traceCall

Building on the work done in #65, add support for the debug_traceCall API by using the same tracer to operate on a single transaction
Definition of Done

Implement the debug_traceCall functionality in rethnet_evm
Expose the trace_call function through the NAPI and use it in the stubbed version of the EDR VM adapter

Questions:

debug_traceCall is implemented in main, but not in rethnet/main. Mergin debug_traceCall to rethnet/main is a blocker.
Assuming we want to test against the fixtures in main. It's unclear why some of these have stack, memory and storage fields and others don't.
I'm assuming we want EIP-3155 compatible output in EDR for this feature?
I noticed that there are a lot of adjustments made in _runTxAndRevertMutations in main that were moved into the EthereumJS VM in rethnet/main. It's possible that there will be unexpected issues due to this when exposing debug_traceCall support in EDR.
The way debug_traceTransaction is implemented currently is not ideal and doesn't have support for gas cost of calls and creates. The problem is that the current implementation just adopts the REVM TracerEIp3155 implementation that operates conceptually on the opcode level. It already requires some hackery to make this approach work for calls/creates, and it breaks down for call gas cost calculation. A better approach would be to start a new trace for each call/create and then flatten the results to the format that EIP-3155 prescribes. To achieve this, I’d do a refactoring of rethnet_evm::trace & rethnet_evm::debug_trace to have a single trace collector that collects all the info needed for trace and debug_trace and then have methods that output it in the desired formats. Do we want to rectify that as part of this PR?

The merge is almost done. It's in the final stage of review
It might be related to the "disable*" booleans. If it doesn't comply with the spec, Franco Victorio is happy to fix the Hardhat side
Yes, that'd be great.
This should have been resolved in the aforementioned merge that Franco & I did
As we need debug_trace for the release, I'd opt for the shortest path to completion and do the refactor afterwards

Done in https://github.com/NomicFoundation/hardhat/pull/4433


Guix package definition; Configure fails.

Description
I'm trying to write a Guix package definition for ITK.  It's important to neither use bundled software (if possible/feasible) nor download additional assets during the build.  I found ITK_USE_SYSTEM_LIBRARIES and set it to ON.

Steps to Reproduce
[ This may not help you much, if you don't use guix :( Maybe the logs below are enough]
Paste the following into a file <name>.scm and try to build with guix build -K -f <name>.scm:
(use-modules
 (gnu packages algebra)
 (gnu packages check)
 (gnu packages compression)
 (gnu packages image)
 (gnu packages llvm)
 (gnu packages maths)
 (gnu packages perl)
 (gnu packages python)
 (gnu packages xml)
 (guix build-system cmake)
 (guix git-download)
 ((guix licenses) #:prefix license:)
 (guix packages))

(define-public itk
  (package
    (name "itk")
    (version "5.3.0")
    (source (origin
	      (method git-fetch)
	      (uri (git-reference
		    (url "https://github.com/InsightSoftwareConsortium/ITK")
		    (commit (string-append "v" version))))
	      (file-name (git-file-name name version))
	      (sha256
	       (base32 "1bx98lzafj83fxylm0qnxkn05rdlrvfc672f0n843hgis2wk0gfh"))))
    (build-system cmake-build-system)
    (arguments
     `(#:configure-flags
       (list "-DBUILD_EXAMPLES=OFF"
	     "-DITK_USE_SYSTEM_LIBRARIES=ON"
	     "-DITK_USE_KWSTYLE=OFF")))
    (native-inputs
     (list clang
	   cppcheck
	   eigen
	   googletest
	   perl
	   python))
    (inputs
     (list expat
	   hdf5
	   libjpeg-turbo
	   libpng
	   libtiff
	   zlib))
    (outputs (list "out" "debug"))
    (synopsis "ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions")
    (description "The Insight Toolkit (ITK) is an open-source, cross-platform toolkit for N-dimensional scientific image processing, segmentation, and registration.  Segmentation is the process of identifying and classifying data found in a digitally sampled representation.  Typically the sampled representation is an image acquired from such medical instrumentation as CT or MRI scanners.  Registration is the task of aligning or developing correspondences between data. For example, in the medical environment, a CT scan may be aligned with a MRI scan in order to combine the information contained in both.")
    (home-page "https://itk.org")
    (license license:asl2.0)))

itk

Expected behavior
I'd like the configure phase to succeed.

Actual behavior
full log

-- Found GTest: /gnu/store/mbzav28sik3zr3kbw1jyh4qk3zmkh6xn-googletest-1.11.0/lib/cmake/GTest/GTestConfig.cmake (found version "1.11.0")
-- Found HDF5: /gnu/store/imz1fhpcg603a4ny7k9yla72d6y302aw-hdf5-1.10.7/lib/libhdf5_cpp.so;/gnu/store/imz1fhpcg603a4ny7k9yla72d6y302aw-hdf5-1.10.7/lib/libhdf5.so;/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so;/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11/lib/libz.so;/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libdl.so;/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libm.so;/gnu/store/imz1fhpcg603a4ny7k9yla72d6y302aw-hdf5-1.10.7/lib/libhdf5.so;/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so;/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11/lib/libz.so;/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libdl.so;/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libm.so (found version "1.10.7") found components: CXX C HL
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for tmpnam
-- Looking for tmpnam - found
-- Looking for tempnam
-- Looking for tempnam - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for popen
-- Looking for popen - found
-- Looking for fork
-- Looking for fork - found
-- Looking for vfork
-- Looking for vfork - found
-- Looking for fdopen
-- Looking for fdopen - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for select
-- Looking for select - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for system
-- Looking for system - found
-- Looking for rint
-- Looking for rint - found
-- Looking for copysign
-- Looking for copysign - found
-- Looking for round
-- Looking for round - found
-- Looking for fabsf
-- Looking for fabsf - found
-- Looking for srand48
-- Looking for srand48 - found
-- Looking for drand48
-- Looking for drand48 - found
-- Looking for sleep
-- Looking for sleep - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for include file sys/dir.h
-- Looking for include file sys/dir.h - found
-- Looking for include file sys/ndir.h
-- Looking for include file sys/ndir.h - not found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file values.h
-- Looking for include file values.h - found
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file vfork.h
-- Looking for include file vfork.h - not found
-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Found Perl: /gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/bin/perl (found version "5.34.0")
-- Configuring done
CMake Error at CMake/ITKModuleTest.cmake:196 (add_executable):
  Target "ITKCommonGTestDriver" links to target "GTest::GTest" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  Modules/Core/Common/test/CMakeLists.txt:680 (CreateGoogleTestDriver)

CMake Error at CMake/ITKModuleTest.cmake:196 (add_executable):
  Target "ITKCommonGTestDriver" links to target "GTest::Main" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  Modules/Core/Common/test/CMakeLists.txt:680 (CreateGoogleTestDriver)

CMake Error at CMake/ITKModuleTest.cmake:196 (add_executable):
  Target "ITKConnectedComponentsGTestDriver" links to target "GTest::GTest"
  but the target was not found.  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  Modules/Segmentation/ConnectedComponents/test/CMakeLists.txt:88 (CreateGoogleTestDriver)

CMake Error at CMake/ITKModuleTest.cmake:196 (add_executable):
  Target "ITKConnectedComponentsGTestDriver" links to target "GTest::Main"
  but the target was not found.  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  Modules/Segmentation/ConnectedComponents/test/CMakeLists.txt:88 (CreateGoogleTestDriver)

-- Generating done

Reproducibility
Everytime.

Versions
v5.3.0

Environment
I'm running GNU Guix, specifically:
$ guix describe
Generation 168	Feb 01 2023 13:00:36	(current)
  guix 14323ed
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 14323edcc37d9efaae2491cf5f57ea0621412d7e
  nonguix c694cf9
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: c694cf9211db3cc8673f0e73708d53b75d26518b

Additional Information
It's of course possible to disable tests with -DBUILD_TESTING=OFF, but i'd rather like to run the tests :smile:

Thanks for the pointers. It was my fault. Now GTest is found and it seems to try to use it.
It still fails, because the build tries to download external data, which isn't allowed in Guix (as every build runs inside an isolated container only containing what has been specified as inputs). I suppose this data is necessary for the tests though?
Which file defines all the necessary files and the corresponding URLs?
-- Fetching "https://insightsoftwareconsortium.github.io/ITKTestingData/MD5/8aa41348437f595b21e08eb46726002a"
-- Fetching "https://data.kitware.com:443/api/v1/file/hashsum/MD5/8aa41348437f595b21e08eb46726002a/download"
-- Fetching "https://itk.org/files/ExternalData/MD5/8aa41348437f595b21e08eb46726002a"
-- Fetching "http://<IP_ADDRESS>:8080/ipfs/8aa41348437f595b21e08eb46726002a"
-- Fetching "https://ipfs.io/ipfs/8aa41348437f595b21e08eb46726002a"
-- Fetching "https://gateway.pinata.cloud/ipfs/8aa41348437f595b21e08eb46726002a"
-- Fetching "https://cloudflare-ipfs.com/ipfs/8aa41348437f595b21e08eb46726002a"
-- Fetching "https://dweb.link/ipfs/8aa41348437f595b21e08eb46726002a"
-- Fetching "https://insightsoftwareconsortium.github.io/ITKTestingData/SHA512/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b"
-- Fetching "https://data.kitware.com:443/api/v1/file/hashsum/SHA512/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b/download"
-- Fetching "https://itk.org/files/ExternalData/SHA512/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b"
-- Fetching "http://<IP_ADDRESS>:8080/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b"
-- Fetching "https://ipfs.io/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b"
-- Fetching "https://gateway.pinata.cloud/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b"
-- Fetching "https://cloudflare-ipfs.com/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b"
-- Fetching "https://dweb.link/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b"
CMake Error at /tmp/guix-build-itk-5.3.0.drv-0/source/CMake/ExternalData.cmake:1171 (message):

  Object MD5=8aa41348437f595b21e08eb46726002a not found at:

    https://insightsoftwareconsortium.github.io/ITKTestingData/MD5/8aa41348437f595b21e08eb46726002a ("Couldn't resolve host name")
    https://data.kitware.com:443/api/v1/file/hashsum/MD5/8aa41348437f595b21e08eb46726002a/download ("Couldn't resolve host name")
    https://itk.org/files/ExternalData/MD5/8aa41348437f595b21e08eb46726002a ("Couldn't resolve host name")
    http://<IP_ADDRESS>:8080/ipfs/8aa41348437f595b21e08eb46726002a ("Couldn't connect to server")
    https://ipfs.io/ipfs/8aa41348437f595b21e08eb46726002a ("Couldn't resolve host name")
    https://gateway.pinata.cloud/ipfs/8aa41348437f595b21e08eb46726002a ("Couldn't resolve host name")
    https://cloudflare-ipfs.com/ipfs/8aa41348437f595b21e08eb46726002a ("Couldn't resolve host name")
    https://dweb.link/ipfs/8aa41348437f595b21e08eb46726002a ("Couldn't resolve host name")

  Object
  SHA512=7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b
  not found at:

    https://insightsoftwareconsortium.github.io/ITKTestingData/SHA512/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b ("Couldn't resolve host name")
    https://data.kitware.com:443/api/v1/file/hashsum/SHA512/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b/download ("Couldn't resolve host name")
    https://itk.org/files/ExternalData/SHA512/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b ("Couldn't resolve host name")
    http://<IP_ADDRESS>:8080/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b ("Couldn't connect to server")
    https://ipfs.io/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b ("Couldn't resolve host name")
    https://gateway.pinata.cloud/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b ("Couldn't resolve host name")
    https://cloudflare-ipfs.com/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b ("Couldn't resolve host name")
    https://dweb.link/ipfs/7978c22b34eea3afd202e0d29222272bb499b00e5444fccf60f929383eed7c15da1bc868db7f6d09e6dd30c4b9df477435a3bcc8c24fbd8bfcbdca8a4149711b ("Couldn't resolve host name")

Probably this file from https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v5.3.0.

Possibly take a look at #1937 and #1157.

Thank you for the hints and apologies for not reading the release notes properly; this could have saved you some time :sweat_smile:

@ForceFaction thank you for packaging ITK! :pray:

It now builds and the tests get executed. The only tests that do not pass are tiff related -- 2 of them segfault and 3 state that the libtiff i provided doesn't allow to create files as large as the test requested. I looked into the Modules/ThirdParty folder and i wonder if tif_fax3sm.c is the reason because this gets generated.
I haven't had the time to check the segfaults though.

@ForceFaction those tests are know to be flaky. You may want to exclude them. The large TIFF ones have a BigIO CTest label for easy exclusion.

@ForceFaction @WillForan thank you for your work to package ITK in Guix!
Please review this PR that adds Guix installation instructions to our docs.

official guix is a little behind and doesn't prepackage the remote modules. but having a link is still pretty useful!


Update gpt.js url for better performance

Update gpt.js url per Google's instructions.

Reference

What's new in Google Ad Manager
Release notes for June 3, 2019

The Google Publisher Tag library is now hosted at https://securepubads.g.doubleclick.net/tag/js/gpt.js, in addition to being hosted at www.googletagservices.com. While not required, we strongly recommend that you update all references to GPT on your pages to use this new domain. This change consolidates all ad serving requests to one domain. The result is an improvement in the speed of your tags and fetching ads a bit quicker.

<EMAIL_ADDRESS>has been pushed to npm.
@barelyfitz Thank you for your contribution! 🍻

@jaanauati thank you for the quick update!


FR: chown the /prometheus for docker containers before start

When using the docker image for prometheus, you'd want to volume mount /prometheus so that the data can be re-used when restarting the container. Problem is, that docker will create the path on the host as root. When using a scheduler like nomad and using a persistent disk for /prometheus, the same thing happens.
This is a problem as prometheus runs as nobody, and thus doesn't have access to the path that is created by root.
I propose to use a wrapper script as entrypoint that does a chown -R nobody: /prometheus and then starts prometheus as user nobody.

I would argue this is a responsibility of your environment. For example in Kubernetes you can set all of this information using the SecurityContext of a Pod.

You are right, of course. But then k8s is about the only one, I think (maybe mesos as well?).
It's just a bit cumbersome having this issue with plain docker, and having to wrap this image into another one with entrypoint, etc.

@hsmade I think the main reason you're seeing this behaviour is because you're bind-mounting a volume. When using a named volume instead (created with docker volume create or some other means), the mount-point will continue to be owned by nobody and prometheus will be able to write to the directory as expected.
For example:
$ docker volume create foo
foo
$ docker run -it --rm --entrypoint=/bin/sh -v foo:/prometheus prom/prometheus:v2.0.0
/prometheus $ touch hello_world
/prometheus $ ls -alh
total 8
drwxr-xr-x    2 nobody   nogroup     4.0K Nov 19 03:56 .
drwxr-xr-x    1 root     root        4.0K Nov 19 03:56 ..
-rw-r--r--    1 nobody   nogroup        0 Nov 19 03:56 hello_world
/prometheus $

Sounds like this is resolved, please let us know if that's not the case.

In
Docker version 18.06.1-ce, build e68fc7a215
docker-compose version 1.22.0, build unknown
prom/prometheus v2.4.2

It might be again the case: I got
prometheus_1       | level=error ts=2018-09-27T08:39:34.455471782Z caller=main.go:617 err="opening storage failed: lock DB directory: open /prometheus-data/lock: permission denied"

When I mounted volume from alpine container it seems like it where mounted as root:root.
Applicable fragments from docker-compose:
prometheus:
    image: prom/prometheus
    command: --config.file=/prometheus-config/prometheus.yml --storage.tsdb.path=/prometheus-data
    volumes:
      - ./config/prometheus:/prometheus-config
      - prometheus_data:/prometheus-data
(...)
volumes:
  prometheus_data:


Add setup.py.

I discovered this application today, because Titanium Backup refused to start on my new phone and I was searching for alternatives to restore backups.
It works great so far, thank you for this!
I added a setup.py to make it more easily installable.
Please take a look at the meta data and correct me if I wrote something wrong.
It would be nice if you could publish this to PyPI.
It basically boils down to installing twine, wheel and pypandoc and running:
$ python3 setup.py bdist_wheel --universal
$ twine upload dist/tibudecrypter-0.1-py2.py3-none-any.whl

Thanks for this.
I've merged this change without the change to how the if __name__ == '__main__': part worked, mostly because I don't understand the rationale for that change. My guess would be it's because I perform the step of parsing the arguments there.
I've also updated the setup.py with the newer pycryptodome dependency (based on a recent change).


Clicking on profile photos in message window should open the profiles people pages

Hi,
Clicking on profile photos in message window should open the profiles people pages. For now when I click in a profile photo in message window, nothing happens.
Obs. in the feed window, when I click on profiles photos, works ok, open the person profile page.
Thanks.

Just fixed this. It will be released with the next release, 0.99.X.

Fixed.


feat: Add ResourceProvider

Add a ResourceProvider for Quarkus.
fixes vaadin/flow#9713

I don't know if the test is really useful, but at least it validates that resources are found.


Fatal error: Unknown named parameter $url

Hi,
we are trying to set up and configure a new environment with php 8, however we are encountering some issue with the transmissions->post method.
In php 7.4 is working fine, but in php 8 it return us the following fatal error if we try to call the method:
PHP Fatal error:  Uncaught Error: Unknown named parameter $url in /var/www/bantoa/libs/vendor/sparkpost/sparkpost/lib/SparkPost/SparkPost.php:138 Stack trace: #0 /var/www/bantoa/libs/vendor/sparkpost/sparkpost/lib/SparkPost/SparkPost.php(138): call_user_func_array() #1 /var/www/bantoa/libs/vendor/sparkpost/sparkpost/lib/SparkPost/SparkPost.php(78): SparkPost\SparkPost->asyncRequest() #2 /var/www/bantoa/libs/vendor/sparkpost/sparkpost/lib/SparkPost/ResourceBase.php(89): SparkPost\SparkPost->request() #3 /var/www/bantoa/libs/vendor/sparkpost/sparkpost/lib/SparkPost/ResourceBase.php(59): SparkPost\ResourceBase->request() #4 /var/www/bantoa/libs/vendor/sparkpost/sparkpost/lib/SparkPost/Transmission.php(23): SparkPost\ResourceBase->post() #5 /var/www/bantoa/fercal/cron/sendmailcoupon.php(439): SparkPost\Transmission->post() #6 /var/www/bantoa/fercal/cron/sendmailcoupon.php(410): sendChunk() #7 {main}   thrown in /var/www/bantoa/libs/vendor/sparkpost/sparkpost/lib/SparkPost/SparkPost.php on line 138
I think that the problem is related to the callback buildRequestInstance used at row 138 of the SparkPost.php class, because the method call_user_func_array in php 8 is not positional anymore, now is nominal, and the array $requestValues builded at row 137 doesn't contain an uri parameter as stated in the function declaration, but an url one.

@enricoantonini84 Thank you for reaching out.  This library does not yet support PHP8.  The most recent tested version is PHP 7.3 (Happy to hear it works in 7.4 too).  We will take a look at your findings and consider this as we work toward a PHP8 supported version.

@enricoantonini84 Thank you for reaching out.  This library does not yet support PHP8.  The most recent tested version is PHP 7.3 (Happy to hear it works in 7.4 too).  We will take a look at your findings and consider this as we work toward a PHP8 supported version.

This will be addressed in #200


Persist operator mode stack in a query param

This PR introduces a subset of our goal to be able to persist current operator mode work so that:

The work in operator mode is recoverable (unsaved state does not disappear) and can survive a page refresh
There is back-forward navigation
The link is shareable

What this PR specifically achieves is:

Ability to recover the stacked cards that are saved, by using a query parameter (operatorModeState)

The unsaved cards, for example when trying to create a new card from a linked field (an unsaved card in edit mode will appear on top of the stack), will not be persisted in the URL. This means the unsaved (I mean new + unsaved) cards will be discarded when refreshing or navigating away.

Recovering cards on page refresh, and when navigating back-forward

So this means this is more of a narrowed down navigational recovery feature compared to full unsaved data recovery. On yesterday's call we discussed these are probably two different things and one belongs to the url while the other one to local storage. One of the ideas was that the url should be shareable (without local storage references), and if there exists local storage state related to that, the restoration process will take that into the account as well.
Here's how the query params looks like:

When decoded, the query params look like this:
http://localhost:4200/?operatorModeEnabled=true&operatorModeState={"stacks":[{"items":[{"card":{"id":"http://localhost:4204/index"},"format":"isolated"},{"card":{"id":"http://localhost:4204/Person/1"},"format":"isolated"},{"card":{"id":"http://localhost:4204/Pet/4"},"format":"isolated"}]}]}
What is introduced here could be a good starting point to build the rest of the features on top of it, and for discussion:

How far do we want to go with persisting unsaved data

The thing that is currently very challenging is persisting and recovering the linkage between saved and unsaved cards, or many unsaved cards (because linked unsaved cards have no references between them until they get saved)
If we want to persist unsaved state when there are unsaved linked cards, then we need to figure out (rethink?) how to make promises work across the chain of unsaved instances of linked cards

TODO:

[ ] Tests

Thanks all for feedback, I am working on a couple of changes mentioned in the comments and will request a review again shortly.

Added an acceptance test. Ready for another review.


Add explicit needs on final step

I'm just guessing here, but it appears the needs line must have explicit dependencies in it for the relevant step outputs to be available.
The same key definition line works fine in a prior step, so it must be that the needs.X isn't populated for any X which isn't explicitly listed in the needs stanza for a job. It was implicitly required, but maybe recursion is too hard for Github. :)
(if this fixes it, I'll open a bug that they can ignore)

That "automatic request team code review using codeowners" makes me smile every time it's used, but especially on mobile where the option isn't as easily exposed. :D


i don't think that this is in the wiki

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
this was not happening yesterday
2024-08-29T08:52:20Z [App::OnStartup] Starting Bloxstrap v2.7.0
2024-08-29T08:52:20Z [App::OnStartup] Compiled Tuesday, 9 July 2024 at 8:03:19 PM from commit a7d2a2c3d5af7137804416ba4e5fbdd27bd10f1e (tag/v2.7.0)
2024-08-29T08:52:20Z [App::OnStartup] Loaded from C:\stuff\programs\bloxtrap\Bloxstrap.exe
2024-08-29T08:52:20Z [LaunchSettings::Parse] Parsing launch arguments
2024-08-29T08:52:20Z [JsonManager::Load] Loading from C:\stuff\programs\bloxtrap\Settings.json...
2024-08-29T08:52:20Z [JsonManager::Load] Loaded successfully!
2024-08-29T08:52:20Z [JsonManager::Load] Loading from C:\stuff\programs\bloxtrap\State.json...
2024-08-29T08:52:20Z [JsonManager::Load] Loaded successfully!
2024-08-29T08:52:20Z [JsonManager<Dictionary2>::Load] Loading from C:\stuff\programs\bloxtrap\Modifications\ClientSettings\ClientAppSettings.json... 2024-08-29T08:52:20Z [JsonManager<Dictionary2>::Load] Loaded successfully!
2024-08-29T08:52:20Z [FastFlagManager::SetValue] Changing of 'FFlagHandleAltEnterFullscreenManually' from 'False' to 'False' is pending
2024-08-29T08:52:20Z [JsonManager::Save] Save request ignored
2024-08-29T08:52:20Z [RobloxDeployment::TestConnection.https://setup.rbxcdn.com] Connecting...
2024-08-29T08:52:20Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version
2024-08-29T08:52:20Z [RobloxDeployment::InitializeConnectivity] Testing connectivity...
2024-08-29T08:52:20Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version
2024-08-29T08:52:20Z [RobloxDeployment::InitializeConnectivity] Got https://setup.rbxcdn.com as the optimal base URL
2024-08-29T08:52:20Z [Logger::Initialize] Initializing at C:\stuff\programs\bloxtrap\Logs\Bloxstrap_20240829T085220Z.log
2024-08-29T08:52:20Z [Logger::Initialize] Failed to initialize because Bloxstrap cannot write to C:\stuff\programs\bloxtrap\Logs
2024-08-29T08:52:20Z [Frontend::ShowMessageBox] No log file will be written for this launch because Bloxstrap is unable to write to the folder at 'C:\stuff\programs\bloxtrap\Logs'
2024-08-29T08:52:33Z [NotifyIconWrapper::NotifyIconWrapper] Initializing notification area icon
2024-08-29T08:52:33Z [App::OnStartup] Initializing bootstrapper
2024-08-29T08:52:33Z [App::OnStartup] Initializing bootstrapper dialog
2024-08-29T08:52:33Z [Bootstrapper::Run] Running bootstrapper
2024-08-29T08:52:33Z [Bootstrapper::Run] Performing connectivity check...
2024-08-29T08:52:33Z [Bootstrapper::SetStatus] Connecting to Roblox...
2024-08-29T08:52:33Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (extraInformation=False)
2024-08-29T08:52:33Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/LIVE
2024-08-29T08:52:34Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/LIVE
2024-08-29T08:52:34Z [Bootstrapper::Run] Connectivity check finished
2024-08-29T08:52:34Z [Bootstrapper::CheckForUpdates] More than one Bloxstrap instance running, aborting update check
2024-08-29T08:52:34Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (extraInformation=False)
2024-08-29T08:52:34Z [RobloxDeployment::GetInfo] Deploy information is cached
2024-08-29T08:52:34Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-ad321ed0d27f48b2-rbxPkgManifest.txt
2024-08-29T08:52:34Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-ad321ed0d27f48b2-rbxPkgManifest.txt
2024-08-29T08:52:34Z [JsonManager<Dictionary2>::Save] Saving to C:\stuff\programs\bloxtrap\Modifications\ClientSettings\ClientAppSettings.json... 2024-08-29T08:52:34Z [App::OnStartup] Bootstrapper task has finished 2024-08-29T08:52:34Z [NotifyIconWrapper::Dispose] Disposing NotifyIcon 2024-08-29T08:52:34Z [App::OnStartup] An exception occurred when running the bootstrapper 2024-08-29T08:52:34Z [App::OnStartup] System.AggregateException: One or more errors occurred. (Access to the path 'C:\stuff\programs\bloxtrap\Modifications\ClientSettings\ClientAppSettings.json' is denied.)  ---> System.UnauthorizedAccessException: Access to the path 'C:\stuff\programs\bloxtrap\Modifications\ClientSettings\ClientAppSettings.json' is denied.    at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)    at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)    at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)    at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)    at System.IO.File.WriteAllText(String path, String contents)    at Bloxstrap.JsonManager1.Save()
at Bloxstrap.FastFlagManager.Save()
at Bloxstrap.Bootstrapper.Run()
at Bloxstrap.Bootstrapper.Run()
at Bloxstrap.App.<>c__DisplayClass38_0.<b__0>d.MoveNext()
--- End of inner exception stack trace ---

i didn't think i could do that

im gonna install bloxtrap from the right sourse first

that did it


AES Sub Bytes

Replace each byte of the state with another byte depending on the key. Utilize the S-box for the look-up table.

Do I need to format this file differently?


dm+d feature user suggestions

Discussed with @sebbacon that we should automate a form that allows people to make suggestion for the dm+d browser or report an error. It is likely that if we are to introduce this we will get reports/requests which relate to the source data released by the NHS.
Now that there is one team dealing with all dm+d authoring we should ensure our form generates enough information to allow the BSA to investigate further. I have investigated making changes to dm+d e.g. #2144 #2140 It appears the BSA require this form to be completed. It requires

Please provide a full description of the issue.
Please summarise the impact of the issue on users of dm+d
Please categorise the severity of the issue by ticking the appropriate box:
If the issue is related to a specific patient safety incident, this should also be reported to Patient Safety at NHS England. Please confirm whether or not the issue includes a patient safety incident:
Contact details

We could create a template that generates a standard report which we could stick on GitHub (we should probably create a specific dm+d repo). Could include
Form on each page which generates a link in the report to the relevant AMP/VMP etc.

Are you

-- a) reporting an issue with the accuracy of the data
-- b) requesting a new feature or suggesting an improvement

Please provide a  description of the issue
What is the likely benefit to other dm+d users?
For those selecting a) advise them if it is a patient safety issue they must report it to local patient safety team or NRLS.
Present information on how their data will be stored
Contact details for further investigation / inform of the outcome

.

@inglesp is going to investigate if we can prefill a google form based on the url / dmd page the suggestion is made on.

Very doable, documented here: https://support.google.com/docs/answer/2839588?hl=en

Was the idea here for our form to create GH issues automatically?
If so, it would probably make more sense for us to code the form ourselves? We could do something like this but that's close enough to coding it might as well live in our OP codebase...?


use libtool as archiver will generate libcrypto.a twice

when use libtool as achiver, libcrypto.a will genrated twice, second one will override first one, this made a lot of symbol missed,
two generation with different object files, does it caused libtool can only achive a limited number of object files?
os: macosx Darwin Kernel Version 22.6.0

When using ar, the default flags are qc, which means to quickly append the given object files, and to create the .a file if it doesn't already exist.
If you use libtool, you must also make sure to use the appropriate flags that allow incremental addition of the object files.

does libtool has such flags? I cannot found corresponding suce flags from https://www.unix.com/man-page/osx/1/libtool/
I believe if openssl build system only trigger libtool just once can fix this problem.

From that manual page, it seems that libtool doesn't support incremental buildups of a static library.
We did the split, 'cause there are so many object files that the total command line length was larger than some shells out there can handle (I forget the details).
The manual you're pointing at shows that ar is also present, and it has all the necessary flags for incremental archive buildup.  Why not use that instead?

because out build system is bazel, bazel only support libtool on macosx, but I found archive all object files if use ar, I know command line length problem, can made this length number larger on macosx? or can tell me how to change this limit, I can patch it just for my self

Sure, all you really need to do is to have a (very much) higher number on this line:
https://github.com/openssl/openssl/blob/56502897431d785ab93cdffd6857a667fe2b6d20/Configurations/unix-Makefile.tmpl#L1956
I think that's the only spot.

it works, thanks very much


Reach Router and TypeScript: Required Route Parameters

This is kind of a continuation of my first issue I created here. It is, again, more of an issue with "how do I use TypeScript correctly" but I think it would great to have some help regarding these issues in the Reach Router documentation because they are not very intuitive to solve with only moderate TypeScript experience.
Let's say I have a Page component called TodoListPage:
interface Props extends RouteComponentProps {
  todoListId: string;
}

class TodoListPage extends React.Component<Props, any> {}

I'm expecting to get the todoListId prop from the router:
<TodoListPage path="/todo-lists/:todoListId" />

When writing the above code, the TypeScript compiler is angry because the required prop todoListId is obviously not defined (check the last line of the error):
Type '{ path: string; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
  Type '{ path: string; }' is not assignable to type 'Props'.
    Property 'todoListId' is missing in type '{ path: string; }'.

It makes sense because the component is missing the required prop and only Reach Router will eventually pass it to the component when the user navigates to the page.
How do I make this clear to TypeScript? What is the recommended approach to get around this issue?

I'm also looking for options here, I ended up with setting defaults like this:
<TodoListPage path="/todo-lists/:todoListId" todoListId="default-id"  />

You can define prop as optional:
todoListId?: string;

@iksz1 yes - but then you need to check the todoListId inside the component, because ts complains that the todoListId possibly might be not defined

I have same problem for almost all of my components in Route component
My Code:
<Router>
    <App path="/" />
    <Login path="/login" />
    <NotFound default={true} />
  </Router>

Error Message:

error TS2339: Property 'default' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly<{
children?: ReactNode; }> & Readonly<{}>'.

TypeScript Version: 3.0.3
React: 16.5
@reach/router: 1.1.1

Issues in Reason as well. Component api designed around React.cloneElement is usually hostile to static typing.

Try this:
export interface Props extends Router.RouteComponentProps<{
  todoListId: string
}> {}

I am having issues with setting the path prop on components wrapped with the Redux HOC, in which case adding a prop to the wrapped component just didn't do it for me.
Do you have any suggestions for integrating Redux containers and Reach routes?

Any update on this guys?
I was considering using Reach Router but without proper support for TypeScript, it' a no go.
I have an app that uses redux and we are using material-ui
in our index.tsx file we have this
import * as React from "react"
import * as ReactDOM from "react-dom"
import { Provider } from "react-redux"
import { MuiThemeProvider, createMuiTheme } from "@material-ui/core/styles"

import AxiosContentService from "@services/AxiosContentService"
import { initialStoreState } from "./reducers"
import configureStore from "./store"
import Routes from "./routes"

const store = configureStore(initialStoreState)
AxiosContentService.initializeAxios(store)

const theme = createMuiTheme({
  typography: {
    useNextVariants: true,
    fontFamily: "hind, sans-serif;",
  },
  palette: {
    primary: {
      main: "#000000",
    },
    secondary: {
      main: "#ffffff",
    },
  },
})

ReactDOM.render(
  <Provider store={store}>
    <React.StrictMode>
      <MuiThemeProvider theme={theme}>
        <Routes />
      </MuiThemeProvider>
    </React.StrictMode>
  </Provider>,
  document.getElementById("root")
)

In routes/index.tsx I have this
import * as React from "react"
import { Router } from "@reach/router"

import BaseTemplate from "@templates/basetemplate/BaseTemplate"
import ContentsPage from "@pages/content/ContentsPage"

const Routes = () => (
  <BaseTemplate>
    <Router>
      <ContentsPage path="/" />
    </Router>
  </BaseTemplate>
)

export default Routes

And in my ContentsPage.tsx I have
import * as React from "react"
import { connect } from "react-redux"
import { RouteComponentProps } from "@reach/router"

import { IStoreState } from "~types/common"
import { ContentPageActions, IContentPageActions } from "./contentPageActions"
import * as s from "./ContentPage.scss"
import { ContentCardGeneric } from "@qmiui/contentui"
import { Content, ContentStory, ContentVideo } from "@models"
import i18n from "translations/i18n"
import { Dispatch } from "redux"
import { IFetchContents } from "@pages/content/contentPageActions"

// Redux connection
interface IStateToProps {
  contents: Content[]
}

// declare actions
type TDispatchToProps = IContentPageActions

type TContentPageProps = TDispatchToProps & IStateToProps

interface IContentsPageState {
  contentsCard: JSX.Element[]
}

class ContentsPage extends React.PureComponent<
  RouteComponentProps & TContentPageProps,
  IContentsPageState
> {
  static getDerivedStateFromProps(nextProps: TContentPageProps, state: IContentsPageState) {
    if (nextProps.contents) {
      return { contentsCard: ContentsPage.renderContentCard(nextProps.contents) }
    }
  }

  static renderContentCard = (contents: Content[]): JSX.Element[] => {
    const contentsCard: JSX.Element[] = []

    contents.forEach((content: Content, index: number) => {
      switch (content.constructor) {
        case ContentStory:
          contentsCard.push(ContentsPage.renderGenericContentCard(content, index))
          break
        case ContentVideo:
          contentsCard.push(ContentsPage.renderGenericContentCard(content, index))
          break
        default:
          contentsCard.push(ContentsPage.renderGenericContentCard(content, index))
          break
      }
    })
    return contentsCard
  }

  static renderGenericContentCard = (content: Content, index: number): JSX.Element => {
    return (
      <div
        className={s.container}
        key={content.id}
        data-qa="genericContentCardDiv"
        id={`genericContentCard${index}`}
      >
        <ContentCardGeneric
          title={content.name}
          statusType={content.state}
          statusText={i18n.t([`status.${content.state}`, content.state])}
          type={content.type}
          typePlaceholder={i18n.t(`contentType.${content.type}`)}
          source={content.source}
          systemOrigin={i18n.t(`originSystem.${content.originSystem}`)}
          ingestionDate={Date.parse(content.versionInfo.timestamp)}
          ingestionDateFormat={i18n.t("date.longFormat")}
          ingestionDateLocale={i18n.t("date.shortLanguage")}
        />
      </div>
    )
  }

  state: IContentsPageState = {
    contentsCard: [],
  }

  componentDidMount() {
    this.props.fetchContents(true, false, 0, 100, true, [])
  }

  public render(): JSX.Element {
    return <div>{this.state.contentsCard}</div>
  }
}

const mapStateToProps = (state: IStoreState) => ({
  contents: state.contentPage.contents,
})

const mapDispatchToProps = (dispatch: Dispatch<IFetchContents>) => ({
  fetchContents(
    execute: boolean,
    isOriginId: boolean,
    pageOffset: number,
    pageSize: number,
    sortAscending: boolean,
    sortBy: string[]
  ) {
    dispatch(
      ContentPageActions.fetchContents(
        execute,
        isOriginId,
        pageOffset,
        pageSize,
        sortAscending,
        sortBy
      )
    )
  },
})

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(ContentsPage)

However, I have this error
Error:(10, 8) TS2322: Type '{ path: string; contents: undefined[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Pick<Partial<{}> & { path?: string; default?: boolean; location?: WindowLocation; navigate?: NavigateFn; uri?: string; } & IContentPageActions & IStateToProps, "path" | ... 5 more ... | "fetchContentsFail">, any, any>> & Readonly<...> & Readonly<...>'.
  Property 'contents' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Pick<Partial<{}> & { path?: string; default?: boolean; location?: WindowLocation; navigate?: NavigateFn; uri?: string; } & IContentPageActions & IStateToProps, "path" | ... 5 more ... | "fetchContentsFail">, any, any>> & Readonly<...> & Readonly<...>'.

Any idea how this could be fixed?

Just my 2c worth, but I think the correct approach is to mark the prop as optional, as in
type Props = { foo?: string } & RouteComponentProps<any>

Then handle that potentially undefined foo prop fully in your component. The TypeScript error about it being potentially undefined is desirable, useful and correct - in some cases it may indeed be undefined since there's no explicit guarantee you can make that component will always appear directly nested within a <Router> and you should write code to handle it if type safety is the objective.

Im using a Uniontype for my props like so

I think its not a valid practice to patch the solution with simply making the prop optional. In my project its a MobX store that is adding to the props, and to make that optional means all the injected instances need to be handled if undefined. In a weigh off, I would rather use another routing solution, than weaken my types. There must be some solution to this surely?

Closing per the discussion in #294

This is kind of a continuation of my first issue I created here. It is, again, more of an issue with "how do I use TypeScript correctly" but I think it would great to have some help regarding these issues in the Reach Router documentation because they are not very intuitive to solve with only moderate TypeScript experience.
Let's say I have a Page component called TodoListPage:
interface Props extends RouteComponentProps {
  todoListId: string;
}

class TodoListPage extends React.Component<Props, any> {}

I'm expecting to get the todoListId prop from the router:
<TodoListPage path="/todo-lists/:todoListId" />

How do I make this clear to TypeScript? What is the recommended approach to get around this issue?

It's because reach-router doesn't have you set the dynamic parameter declaratively, but it it's own non-TS language (/some/path/:name), so TS can't possibly know about it.
The same issue with 'bob'.match(/(?<test>o)/).groups['test'], the language being RegExp, TS won't know groups can have element test.
BUT, we can patch this to make the reach API declarative:
import {RouteComponentProps} from '@reach/router';
import {Component, ComponentType}
from 'react';

function Route<
	T extends RouteComponentProps,
	U extends keyof T
>(Type :ComponentType<T>, dynamic :U, path :string = ':') {
	return class extends Component<Omit<T, U>> {
		render = () => (
			(this.props as any)[dynamic] != null &&
			<Type { ...(this.props as any) } />
		);

		static defaultProps = {
			path : path.replace(/(?<=:)/, dynamic as string)
		}
	};
}

now you can do this;
const RoutableTodoListPage = Route(TodoListPage, 'todoListId', '/todo-lists/:');
...
<RoutableTodoListPage someOther="Props" />

You can wrap the class immediately if you're not going to use any static members/different paths for it, and I'd just always do it for function-components, eg:
const TodoListPage = Route((class extends React.Component<Props, any> {}), 'todoListId', '/todo-lists/:');


Unmodify orders changed by the subscriptions cron job

Due to the issue #1337 , we need to check all contributors that backed collectives last month using virtual cards and subscribed to those collectives. If there's any(there's at least one @znarf we know), we will need to find a way to update all orders replacing the current payment method(which is likely the source payment method of those virtual cards) to use the virtual card payment method instead.
Technical Approach
We can track those cases looking for all Transactions with a PaymentMethodId that has a type virtualcard, then through the same Transactions we will find the orders through the OrderId field and check whether the Transaction.PaymentMethodId matches the Order.PaymentMethodId.

This query found that 38 transactions(76 in total, but with DEBIT and CREDIT) made using Virtual cards wich the transaction.PaymentMethodId is not the same as transaction.Order.PaymentMethodId when it should be:
select * from "Transactions" t
left join "PaymentMethods" p on t."PaymentMethodId"=p.id
left join "Orders" o on t."OrderId"=o.id
where p.type='virtualcard' and o."PaymentMethodId"!=p.id;

Running this query locally(copied prod database)apparently fix the problem:
with tp as (
    select t."OrderId", p.id as pmid, p.type as pmtype from "Transactions" t
left join "PaymentMethods" p on t."PaymentMethodId"=p.id
)
update "Orders" o set "PaymentMethodId"=pmid
from tp
where o.id = tp."OrderId" and tp.pmtype='virtualcard' and o."PaymentMethodId"!=tp.pmid;

Ran this in staging and it's promising, it apparently fixed @znarf 's problem:

Will do some more tests tomorrow(check case by case, not all, but at least a number i feel comfortable to run it in prod) before running in production.

running this in prod:
select string_agg(t.id::character varying, ',' order by t.id)
 from "Transactions" t
left join "PaymentMethods" p on t."PaymentMethodId"=p.id
left join "Orders" o on t."OrderId"=o.id
where p.type='virtualcard' and o."PaymentMethodId"!=p.id;

returns the following list of transaction ids:
116189,116190,116201,116202,116203,116204,116993,116994,117045,117046,117047,117048,117049,117050,117145,117146,117229,117230,117231,117232,117341,117342,117423,117424,117919,117920,117921,117922,117929,117930,117957,117958,117959,117960,117961,117962,117992,117995,117996,117999,118023,118024,118029,118032,118305,118306,118335,118336,118357,118358,118369,118370,118374,118376,118569,118572,119123,119124,119407,119409,119431,119434,119436,119437,119439,119440,119450,119452,119524,119526,121255,121256,121939,121940,121941,121942

so we can have the following query resulting in the "problematic" transactions(Order payment method is different than transaction payment method).
after running the following update query we can check whether the sql above is now matching the payment method ids in the Orders and Transactions table:
with tp as (
    select t."OrderId", p.id as pmid, p.type as pmtype from "Transactions" t
left join "PaymentMethods" p on t."PaymentMethodId"=p.id
)
update "Orders" o set "PaymentMethodId"=pmid
from tp
where o.id = tp."OrderId" and tp.pmtype='virtualcard' and o."PaymentMethodId"!=tp.pmid;


[Svelte] Svelte v4 support

Q
A

Bug fix?
no

New feature?
no

Tickets
Fix #1012

License
MIT

This PR updates the peerDependencies of ux-svelte to support Svelte 4
This includes a slight changes with the typescript types : https://svelte.dev/docs/v4-migration-guide#sveltecomponenttyped-is-deprecated
There are no BC breaks, Svelte 3 is still supported :
"peerDependencies": {
    "svelte": "^3.0 || ^4.0"
}

Thanks to Vitest it's now ready!

Guys! Thank you very much for taking care of this 🙏🙏
https://github.com/symfony/ux/pull/610 will be unblocked also right?

Thank you for pushing on this Thomas!


Adapt to changes made in Future interface

Motivation:
The await() (with and without timeout) and sync() methods have been removed
from the Future interface and added to the FutureCompletionStage interface.
https://github.com/netty/netty/pull/12569
The code needs to be adapted.
Modifications:

Changed Future.sync() to Future.asStage().sync()
Changed Future.await(...) to Future.asStage().await(...)

Result:
The code is adapted to the new changes in the API.

Thanks!

@chrisvest Thanks


Buttons as swipe alternative ?

Maybe for mobile web and / or low performance devices, where swiping is either hard or not practical that it hurts the experience instead of making it better, maybe we can display "correct / incorrect" buttons as an alternative.

+1. I really like how Shirabe Jisho dictionary app has done their flashcards. Tap card to flip, correct / incorrect buttons for answering.

+1 from ailieru

+1 Time to revive this! :D
My boyfriend has a low end device and indeed, it's pretty unpleasant to swipe. And although I have a high end device, my swipe is too lazy to register sometimes.
Having it optionally be one-handed (with the buttons both on one side) would be the best!


Pulling beta into main

Merge beta into main
Changes :
Features

action: add an 'update changelog' github action (c2e42bc)
changelog: remove merge artifact (ff38fd6)
github-action: move the splitting of the mono repo to its own workflow (17e3a09)
pr: create a release script that outputs conventional changes for a range of commits/branches (1afd939)
pr: try a new pr action (175d97d)
releaserc: remove changelog.md generation and change preset to conventionalcommits (1edf545)

Bug Fixes

changelog: clean and fix the changelog (402013f)
packages: update packages.json with missing changelog preset packages (16de8c3)
pr: add fetch all (0d8dac4)
pr: fetch the base branch in create-pull-request.yaml (ad9212d)
pr: fix npm call (268b0a3)
pr: fix the pr action (382d8bd)
pr: fix the pr action (92f3b44)
pr: fix the pr action (36ab439)
pr: fix the pr action (074f824)
pr: fix the pr action (eb0ac25)
pr: fix the pr action (749cb98)
pr: fix the pr action (d95d23a)
pr: fix the pr action (8d226c6)
pr: remove fetch (a85217b)
pr: remove persistent credentials: false (d4439be)
pr: remove test section from create-pull-request.yaml (606af50)
pr: switch to base branch to make sure it's available (748fe1c)
pr: trying to disambiguate branch name (2516833)
pr: trying to disambiguate branch name (367c937)
release: remove tag condition to see if this would prevent the workflow from running when the release pushes a tag (4f1d6f9)

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Could not load dnscrypt-proxy.toml

Hiya
question
https://github.com/DNSCrypt/dnscrypt-proxy/issues/1409
simple dnscrypt will not load if more then 9 digits are used in the toml file with Could not load dnscrypt-proxy.toml
is this a bug or normal behavior?

Hiya
question
DNSCrypt/dnscrypt-proxy#1409
simple dnscrypt will not load if more then 9 digits are used in the toml file with Could not load

dnscrypt-proxy.toml

is this a bug or normal behavior?

.

Hiya
question
DNSCrypt/dnscrypt-proxy#1409
simple dnscrypt will not load if more then 9 digits are used in the toml file with Could not load

dnscrypt-proxy.toml

is this a bug or normal behavior?

.

..was able to replicate the same behavior, also editing the *.toml file with cstom parameters. It rewrites the file when it starts leading to the same issue.


Build ERROR

When I run build on windwos, I get the error:
https://github.com/onnx/onnx-mlir/blob/main/docs/BuildOnWindows.md

ERROR as follow：

how to fix it？

I am sorry, we have no ways to support the Window build anymore, but someone in the field may have an answer for you. It looks like it might be a python package issue, from your error message log.


a problem app:processDebugResources

i have this problem Error:Execution failed for task ':app:processDebugResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/yep/Android/Sdk/build-tools/22.0.1/aapt'' finished with non-zero exit value 1

+1


Remove contextvars dependency

Per @nealrichardson comment in #593, this was only needed for Python 3.7, which we no longer support.

Whoops he already did it


can't add funds to organization

Need to add funds to Coinbase organization to make July's contributions and I'm getting this error

same error


bug: Clobbering GIT_SSH_COMMAND leads to problems

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.8.3 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Features: -acl +iconv +tui
Operating system/version
Windows 11
Describe the bug
Lazy specifies the GIT_SSH_COMMAND env argument, as far as I can tell in order to specify the -oBatchMode  flag.
However, I have specified a GIT_SSH (basically equivalent to GIT_SSH_COMMAND for using plink.exe. The current method in lazy.nvim means all git (that uses ssh) commands fail as git cannot get the required keys (that plink provides).
Some solution ideas:

Check for if the env-args GIT_SSH_COMMAND / GIT_SSH are set, and if so do not overwrite - however git has the config options core.sshCommand and ssh.variant - though not sure what version of git they were added
Don't set, or make it an opt-in to set GIT_SSH_COMMAND - this way users are aware, and make an explicit choice.

IMO, the user should set this behaviour within git's config, rather than the tool - of course it helps to be aware to do it.
When trying to work out why lazy wasn't working for me, looking at the git source, the ssh_command detection / flags are a bit out-of-date, i.e. it does not specify either OpenSSH nor plink with the -BathMode=yes or -batch resepctively, but does explicit ly for tortoiseplink which I believe added -batch before plink. So perhaps the fix is really an issue for upstream git?
For other users with my somewhat esoteric setup, I set ssh.variant tortoiseplink and core.sshCommand to the plink executable within git config
Steps To Reproduce

Use windows
Configure Git to use plink.exe (putty) put in the env: GIT_SSH = C:\Program Files\PuTTY\plink.exe

Alternatively:

Set core.sshCommand to plink executable within git config

Expected Behavior
lazy.nvim to respect the GIT_SSH or GIT_SSH_COMMAND or related config options.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

I don't want to remove the GIT_SSH_COMMAND by default. It would make updating/installing/checking for updates way slower.
Just pushed a change where you can override GIT_SSH_COMMAND.
Just set it like vim.env.GIT_SSH_COMMAND = " " or though other means


question: in the o2m case, perent_id is lower, so i can not get the parent_id, design this for what?

Hey @naivelife and thanks for raising up this issue.
That's going to be addressed soon - see discussion in https://github.com/facebook/ent/issues/869.
Closing as it's duplicate of https://github.com/facebook/ent/issues/869.


498 - Add Header component

Context
Changes proposed in this pull request
We will need to update the links to the "Your account" and "Sign out"
once the endpoints have been created
Guidance to review
Visit https://dfe-twd-rttd-pr-210.herokuapp.com/view_components/header/view

 New header design


refactor Operation logic in main.zig

In order to prevent code duplication and to test this part of the program I think it makes sense to refactor the part where the operationvis carried out into it's own function. Let me know what you think! This shouldn't conflict with any thing else. I think long term it makes sense to refactor the parsing logic too. Let me know what you think!

Makes sense. I have a PR which uses the vision I had in mind!


Add kn2322 to Contributors list

@kn2322, This pull request has a lot of merge conflicts. It is hard to resolve them manually. Could you please try this process again?


path: Match support for **

Currently path.Match only supports * would be nice if it supported ** as well.
This is similar to https://github.com/golang/go/issues/11862 but this is only about only the path package

I think that if we change either path.Math or filepath.Match, we should change both.  For them to be different would just be unnecessarily confusing.  So closing this as a dup of #11862.

Yes, that's true but at the same time, they are two different packages - should it not be possible to update them separately?

We can update them separately in the sense of doing it as two different patches.  But the decision as to whether to update them or not should be made for both packages.  And if we do decide to update them then both packages should be updated in the same release.


Updating ILO url

I am running into an issue using sdmx.Client("ILO").get().
I believe the ILO url in sources.json is outdated and should be updated to http://www.ilo.org/sdmx/rest. This is indicated by the ILO query builder, which outputs urls like: https://www.ilo.org/sdmx/rest/data/ILO,DF_ILR_TUMT_NOC_RT/?format=jsondata&startPeriod=2012-01-01&endPeriod=2022-12-31&firstNObservations=500
With this change, I still get a 422 error message due to a missing /ILO, component of the url. This might be fixed by updating the lines around here in client.py so that the provider keyword is compatible with resource_type='data'.
I'd be happy to make a PR if that is preferable.
Thanks for your time!

Thanks for the precise report! A PR updating the URL would be very welcome.
Per the 422, here's the description of the SDMX 2.1 REST web service URL syntax: https://github.com/sdmx-twg/sdmx-rest/blob/v1.5.0/v2_1/ws/rest/docs/4_4_data_queries.md:

protocol://ws-entry-point/resource/flowRef/key/providerRef

You can see that it technically is possible to include the provider ID (providerRef) in the URL. But if this is done, it must come after the key. So if the URL you give were actually specifying the providerRef part, it would look something like:

https://www.ilo.org/sdmx/rest/data/DF_ILR_TUMT_NOC_RT/<key>/ILO

I suspect what is actually going on here is that this data source is using data flow IDs containing a comma, i.e. ILO,DF_ILR_TUMT_NOC_RT is the valid data flow ID, rather than simply DF_ILR_TUMT_NOC_RT. Are you able to retrieve data if you specify the former ID?

Thank you for the helpful link about sdmx syntax. I was mistaken to think the the provider ID was the cause. I will add the appropriate prefix to the resource_id keyword in the future.
The last issue I face is with the references parameter defaulting to 'none'. For instance, when I

curl  'https://www.ilo.org/sdmx/rest/data/ILO,DF_ILR_TUMT_NOC_RT?startperiod=2019-01-01&endperiod=2019-12-31&firstNObservations=500&format=jsondata&references=none'

I receive this error message:

Unknown query parameter  'references' allowed parameters [startPeriod, endPeriod, updatedAfter, firstNObservations, lastNObservations, dimensionAtObservation, detail]

Is there is any concern with removing the setting of an ILO default value for the references parameter? It seems this parameter is only valid when resource_type='dataflow' and not when resource_type='data' based on the ILO query builder.


fix: List under admonition indentation

Describe this PR
Lists inside Admonition components do not get the same margins as a regular list on the body.
Changes
Added margin-left, margin-top, and margin-bottom to lists rendered under the Admonition component.
What issue does this fix?
Fixes #4891
Any other relevant information
N/a

@janpio Can you review again?


MailerExporter Error

Hallo Ján,
first of all big thanks for this great crawler.
I am trying to set up the Mailer for several days but I always get stuck with:
If I leave the --mail-from Option empty:
"MailerExporter error: Invalid response to MAIL FROM command: 555 5.5.4 Unsupported option: Crawler"
Otherwise:
"MailerExporter error: Invalid response to MAIL FROM command: 555 5.5.4 Unsupported option<EMAIL_ADDRESS>Example:
./crawler --url=https://p**-en.de --mail-to=ms@f**-. <EMAIL_ADDRESS>--mail-from-name="MDEV" --mail-subject-template="ReportSite" --mail-smtp-host=.kaser.com --mail-smtp-port=25 --mail-smtp-user=d**@ff**-. --mail-smtp-pass=***********
My Environment:
Ubuntu 24.4 (Crawler as Git-Clone)
external SMTP Server (where Port 25 is listening and open)
I would like to run the crawler as a service to send my the results several times a week.
I would be thankful for any futher hint.
Kind regards
Matthias

Hi @blackcoffee4u,
I'm glad you like the crawler :)
I'm not sure how to understand your sample command. I assume you were trying to obfuscate it.
But in principle, using the notation as in the documentation should work normally, example:
--mail-smtp-host=your.mailserver.com<EMAIL_ADDRESS><EMAIL_ADDRESS>--mail-from-name="John Wick"

Hi, @blackcoffee4u,
did my answer help you? Can we close this issue?

@blackcoffee4u, I assume that your mailer is already working after the last instruction. If not, please open a new issue - I'm closing this one.


Update README.md

Signed-off-by: Author Name<EMAIL_ADDRESS>Readme update

Signed-off-by: Author Name<EMAIL_ADDRESS>


License missing

Could you add license information? Boostrap is MIT, so I assume yours is too?

For some reason I never got a notification for this, sorry about the super late response! But this repo has an MIT license, just like Bootstrap. It can be found here.


Does not work with xcode 8, swift 3

Swift 3,
XCode 8
platform :ios, '8.0'
pod 'SDWebImage', '~>3.8'

Now in controller:

Have I missed a step? Not 100% compatible with Swift 3?

@SylarRuby when you created a new issue, an issue template was pre-filled. We need that info in order to understand your issue.
Especially in this case, what is the compiler error you are getting?
Also, note that we have a 4.0 version, so you should try that.

@bpoplauschi I'll pre-fill if v4 is the same. Will update in a bit. Thanks.

@bpoplauschi Apologies for the new issue. My incompetence got the best of me this morning. I forgot to build my project before importing :(


[FR] Is it possible to keep the db.tsv cluster file

Hi @chg60 ,
Thanks for working on phamsseqs. I was wondering if it is possible to keep the db.tsv cluster file from the mmseqs output, after running the program. I meant the one that looks like this:
#cluster-representative 	cluster-member
Q0KJ32	Q0KJ32
Q0KJ32	C0W539
Q0KJ32	D6KVP9
E3HQM9	E3HQM9
E3HQM9	F0YHT8

Or maybe having a script that modifies the cluster-representative with the pham output could be nice?
I was trying to create such a script, but after so many files from the final phamsseqs output, another script parsing each file increases the runtime overall. So maybe it would be more convenient to have that from the current tool.
Best.

Hi Camilo,
Thanks for your interest in PhaMMseqs!
I agree that there is likely broad utility to be gained by exposing each pham's representative a bit more easily, and such a file could be easily generated.
How do you intend to use this information? I ask because the MMseqs2 version (13.45111) currently used by PhaMMseqs does the representative sequence selection pretty lazily, so the "representative" chosen by MMseqs2 is often not very representative of the sequences in the pham. If that matters to your intended workflow/analyses, I would be inclined to implement a strategy that uses the pham MSAs rather than that MMseqs TSV file to choose representatives.
Also note that for iterative pham-building that uses the profile-sequence clustering, phams can get rather diverse, so even in the context of an MSA it may not be feasible to choose a truly representative sequence :)
Finally, in your ideal scenario, would the output file in question be a TSV file like you linked, or some other format?
-Christian

Hey Christian,
Thanks for the quick response.

The representative sequence selection pretty lazily, so the "representative" chosen by MMseqs2 is often not very representative of the sequences in the pham.

Oh, I might then misunderstood the pham creation. So it is not the same as the representative of the mmeseqs, right?

How do you intend to use this information?

I just want to visualize the clusters and happens to be easier with the tsv file for me. I then would be inclined for an analogous output:
#phamm-representative 	cluster-member
pham1	Q0KJ32
pham2	C0W539
pham3	D6KVP9
pham3	E3HQM9
pham3	F0YHT8

Best.

I think maybe I'm simply not understanding your circumstances and needs very well. Can you provide a bit more detail about what you're working on? How many input files, containing how many genes/genomes from which kind(s) of organisms, and the type of cluster visualization you're looking to do (i.e., are you really moving toward genome clusters, using gene clusters to identify pairwise relations between genomes)?
The pham designation is essentially meaningless except that it gives a shared label to all groups of globally homologous protein sequences in the dataset, same as would be true for the representative-to-member mapping. If you're looking to do work that actually cares about what the representative sequence is, then I can implement a strategy to extract that information in as biologically meaningful a way as possible. If all you care about is a TSV format mapping shared genes by genome (which is what your second example makes me think), can you try running with the -p/--pangenome flag and see whether the strain_genes.tsv or gene_presence_absence.csv accomplishes what you're after?

I think maybe I'm simply not understanding your circumstances and needs very well. Can you provide a bit more detail about what you're working on?

Yes. I am just playing around for the time being with the program using phage proteins. I do have, for instance, the following output from phammseqs. This is a pham_1.faa
>seqa
GESLLLWGEPGNGKTHLAAAIVNELSKKGYIVVFQSVPELLQRIRSTFNSENKENETQIMRALLECDLLILDDIGAEKTT...
>seqb
GESLLLWGEPGNGKTHLAAAIVNELSKKGYIVVFQSVPELLQRIRSTFNSENKENETQIMRALLECDLLILDDIGAEKTT...

And also have a pham_2.faa
>seqc
GESLLLWGEPGNGKTHLAAAIVNELSKKGYIVVFQSVPELLQRIRSTFNSENKENETQIMRALLECDLLILDDIGAEKTT...
>seqd
GESLLLWGEPGNGKTHLAAAIVNELSKKGYIVVFQSVPELLQRIRSTFNSENKENETQIMRALLECDLLILDDIGAEKTT...
>seqe
GESLLLWGEPGNGKTHLAAAIVNELSKKGYIVVFQSVPELLQRIRSTFNSENKENETQIMRALLECDLLILDDIGAEKTT...

Now, in my case, I want to visualize the clusters of phams using a graph representation. Ideally, my input would look like this:
pham_1    seqa
pham_1    seqb
pham_2    seqc
pham_2    seqd
pham_2    seqe

Right, MMseqs is used to identify clusters of globally homologous protein sequences, which are then assigned the same label (i.e., pham1). PhaMMseqs was intended to generate those groupings using thresholds curated for phage genomics, where intergenomic comparisons can span great evolutionary distances.

Oh I see, I need to read the docs/paper more carefully.

To coerce the phammseqs output to what it sounds like you're after, you can use the attached script (just take the .txt extension off and activate your PhaMMseqs environment before running).
phams_to_tsv.py.txt
It takes the path to the pham_fastas directory output by PhaMMseqs and returns a TSV mapping phamID to gene header as seems to be indicated in your example. See if that suits your needs!
On my laptop it takes less than a second for 15,000 phams, I don't expect it to be painful unless you have hundreds of thousands of phams.

Wow, thanks Christian. I will try that out.

I hope it delivers what you're looking for! If yes, it's definitely not a typical use case, but if you think there are other people like yourself that would benefit from it, I could maybe see adding a command line arg to output this TSV by default. Make sure it does what you want, then report back! :)

Yes! Tha is delivering the expected output. Thank you!

Thanks again Christian.


FIAM Card Impression is Interacted with but continues to Spam users on next App Start/Session

Step 1: Describe your environment
Xcode version: 12.0 (12A7209)
Firebase SDK version: 6.34.0
Firebase Component: In-App Messaging
Step 2: Describe the problem
Our iOS campaigns are spamming our users. We've set the campaign to show once per device, after interacting with the FIAM Card, I can see the impression is being logged (logs below) but the next time the App is launched... the FIAM Card is shown again after interacting with the corresponding Component that sends the Firebase Event.
Everything works fine on Android BTW
Steps to reproduce:

Create a FIAM Card Campaign with, set the Campaign to 'Once Per Device'
Associate the Campaign with a a Firebase Event
Navigate to the App and perform the action that will trigger the Firebase Event associated with #2 above
Observe the FIAM Card, dismiss the Card with the FIAM button that's accommodated with the FIAM Card
Close the App
Repeat steps 3 & 4... Observe the FIAM Card being shown again (this is the issue... it shouldn't show again for this device)

Relevant Code:
Podfile
platform :ios, '9.0'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
inhibit_all_warnings!
target '{PROJECT_NAME}' do
pod 'Fabric'
pod 'Crashlytics'
pod 'AFNetworking', '~> 4.0.0'
pod 'Firebase'
pod 'Firebase/InAppMessaging'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'FirebaseMessaging'
pod 'FirebasePerformance'
pod 'FirebaseRemoteConfig'

pod 'GoogleMaps'
pod 'GoogleTagManager'
pod 'DLRadioButton', '1.4.9'
pod 'SWTableViewCell', '0.3.7'
pod 'ZXingObjC', '3.2.1'

pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'

pod 'GRDB.swift'
pod 'QBImagePickerController'
pod 'NVActivityIndicatorView'
pod 'UIImageViewAligned'
pod 'SnapKit'
pod 'Shimmer'
pod 'Apollo', '0.30.0'
pod 'AWSMobileClient'
pod 'Apollo/WebSocket'

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = '$(inherited)'
            config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
            config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = 'NO'
        end
    end
end

end
Analytics Logs
2020-11-09 20:15:44.149640+0200 ProjectName Q[60182:2373460] GoogleTagManager info: Processing logged event: firebase_in_app_message_impression with parameters: {
"_ndt" = "1604945744.140903";
"_nmid" =<PHONE_NUMBER>35403776;
"_nmn" = "Eesa Jacobs Campaign QA";
"_o" = fiam;
"_sc" = "ProjectName_Q.ProductListController";
"_si" = "-2176478578679549284";
"_sn" = "Product Search Result";
}
2020-11-09 20:15:44.810003+0200 ProjectName Q[60182:2374129] GoogleTagManager info: Processing logged event: firebase_in_app_message_dismiss with parameters: {
"_ndt" = "1604945744.804209";
"_nmid" =<PHONE_NUMBER>35403776;
"_nmn" = "Eesa Jacobs Campaign QA";
"_o" = fiam;
"_sc" = "ProjectName_Q.ProductListController";
"_si" = "-2176478578679549284";
"_sn" = "Product Search Result";
}

Looking into this.

I was able to reproduce this once, but haven't been able to repro it again. Will continue investigating.

Having trouble reproducing this. I saw it once, but haven't since. Is it 100% repro in your case? If so are there any unique things about the app or campaign? Like a large image for the campaign?

Hi @christibbs. We're reproducing this issue each time without any effort.

The same campaign works perfectly on Android but has this issue on iOS.
The image size being used for this campaign is 24 875 bytes (29 KB)
100% of potential users are eligible for this campaign:111
I've attached a few screenshots that describes this campaign

Hi @christibbs. I've found the cause of this issue.
I realised that FIAM may use Native Local Storage Tech to store impressions. On startup of the App, we are clearing out UserDefaults.standard as we use a 3rd party lib for local storage.
Removing the functionality to clear out UserDefaults solves this issue.

@EesaJacobs Ah, makes sense. Thought I was going crazy 😅


Fix issue 1986: Failure creating label name close to MAX_LABEL_NAME_LEN

Fixed the issue with creating a label name close to MAX_LABEL_NAME_LEN. Well, sort of.
The issue here is that a label name is the name of a relation in PostgreSQL. While the relation name is a char * it is basically converted to a PG type Name when it is used to create a relation. This conversion is a silent truncation, there are no warnings or error messages. The Name type is defined as follows -
    /*
     * Representation of a Name: effectively just a C string, but null-padded to
     * exactly NAMEDATALEN bytes.  The use of a struct is historical.
     */
    typedef struct nameData
    {
        char data[NAMEDATALEN];
    } NameData;
    typedef NameData *Name;

This effectively gives us a max label name length of NAMEDATALEN - 1.
    /*
     * Maximum length for identifiers (e.g. table names, column names,
     * function names).  Names actually are limited to one fewer byte than this,
     * because the length must include a trailing zero byte.
     *
     * This should be at least as much as NAMEDATALEN of the database the
     * applications run against.
     */
    #define NAMEDATALEN 64

Since there isn't a way to get around this, the code was modified to reflect the usage of NAMEDATALEN for the length of label names. This required modifying the input parameters to be cstrings, for the functions create_vlabel and create_elabel which allows us to tell when NAMEDATALEN has been exceeded.
Additionally, the function is_valid_label was renamed to is_valid_label_name for consistency.
Regression tests were updated and added.

Review, just cursory, looks great. One moment to run actually run regression.

@jrgemignani
I have still to cover regression script changes
Please see comments with suggestions.

@MuhammadTahaNaveed Added the range printing.


Refactor to keep time in game.time rather than my own custom module setting

See the client GameTime documentation.
Both the current approach and game.time.worldTime store minutes since midnight on day 0. The biggest difference would be interactions with other modules and systems that do use the world time. All classes that respond to changes in time will need to listen to hooks rather than being directly bound to the TimeKeeper class. This would be a worthwhile change anyway, reducing coupling in the code.

Not sure I want to do this after all, since it would open the module up to interactions with other modules and systems.


Create Online Exam Project

In this project, there are given 10 questions to play. User can bookmark any question for the reconsideration while going to result.
We are using here java array to store the questions, options and answers not database. You can use collection framework or database in place of array.

Mini java project using java core