mlpack build failure

Host Environment

OS: Windows
Compiler: VS2019

Steps to reproduce the behavior:
.\vcpkg install mlpack --triplet=x64-windows
Failure logs
-Error: mlpack[core] is only supported on 'uwp'
The install works with vcpkg-2021.05.12 but now there is the above error with the main branch.

mlpack also fails for me as armadillo is failing, see #20773, which is waiting on https://github.com/microsoft/vcpkg/pull/20439#issue-1011653790

Hi @univisionsrl
Thanks for posting this issue. The supports field is not correct. It should be "!uwp". I will fix this soon.
https://github.com/microsoft/vcpkg/blob/369878e686920f73ed14a0605b858c793f339773/ports/mlpack/vcpkg.json#L7

When changing '!uwp', but I cannot build and I have these errors.
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: ninja -v
    Working Directory: D:/Software/vcpkg/vcpkg/buildtrees/mlpack/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\Software\vcpkg\vcpkg\buildtrees\mlpack\config-x64-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:345 (vcpkg_execute_required_process)
  ports/mlpack/portfile.cmake:31 (vcpkg_configure_cmake)
  scripts/ports.cmake:142 (include)

CMakeError.log
config-x64-windows-out.log

The error was caused by armadillo, which will be fixed by this PR #20439.
CMake Error at D:/Software/vcpkg/vcpkg/installed/x64-windows/share/Armadillo/ArmadilloConfig.cmake:12 (include):
  include could not find requested file:

    /share/Armadillo/ArmadilloLibraryDepends.cmake
Call Stack (most recent call first):
  D:/Software/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake:788 (_find_package)
  CMakeLists.txt:294 (find_package)

Close this issue via #20439 merged.


Contact sensor pin out

Hello,
I use the Nodemcu ESP8266 to flash your contact sensor files.
I wonder is what model of contact sensor I should use? and what is the pin number I should connect to.
Thank you

@nhatquang88 Please post your questions to author of repository you're using.


Error executing quickstart noteboook

System information

Have I written custom code (as opposed to using a stock example script
provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Win 10
TensorFlow installed from (source or binary): conda gpu version
TensorFlow version (use command below): 2.1.0
Python version: 3.7.7
CUDA/cuDNN version: cudatoolkit - 10.1.243 - h74a9793_0 - anaconda
cudnn - 7.6.5 - cuda10.1_0 - anaconda
GPU model and memory: GTX 750 TI - 2GB

Describe the problem
I wanted to test the tf quick start notebook: https://tensorflow.google.cn/tutorials/quickstart/advanced and got the following error message:
<ipython-input-10-cdcc13267505> in <module>
      9
     10   for images, labels in train_ds:
---> 11     train_step(images, labels)
     12
     13   for test_images, test_labels in test_ds:

~\anaconda3\envs\tf\lib\site-packages\tensorflow_core\python\eager\def_function.py in __call__(self, *args, **kwds)
    566         xla_context.Exit()
    567     else:
--> 568       result = self._call(*args, **kwds)
    569
    570     if tracing_count == self._get_tracing_count():

~\anaconda3\envs\tf\lib\site-packages\tensorflow_core\python\eager\def_function.py in _call(self, *args, **kwds)
    630         # Lifting succeeded, so variables are initialized and we can run the
    631         # stateless function.
--> 632         return self._stateless_fn(*args, **kwds)
    633     else:
    634       canon_args, canon_kwds = \

~\anaconda3\envs\tf\lib\site-packages\tensorflow_core\python\eager\function.py in __call__(self, *args, **kwargs)
   2361     with self._lock:
   2362       graph_function, args, kwargs = self._maybe_define_function(args, kwargs)
-> 2363     return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
   2364
   2365   @property

~\anaconda3\envs\tf\lib\site-packages\tensorflow_core\python\eager\function.py in _filtered_call(self, args, kwargs)
   1609          if isinstance(t, (ops.Tensor,
   1610                            resource_variable_ops.BaseResourceVariable))),
-> 1611         self.captured_inputs)
   1612
   1613   def _call_flat(self, args, captured_inputs, cancellation_manager=None):

~\anaconda3\envs\tf\lib\site-packages\tensorflow_core\python\eager\function.py in _call_flat(self, args, captured_inputs, cancellation_manager)
   1690       # No tape is watching; skip to running the function.
   1691       return self._build_call_outputs(self._inference_function.call(
-> 1692           ctx, args, cancellation_manager=cancellation_manager))
   1693     forward_backward = self._select_forward_and_backward_functions(
   1694         args,

~\anaconda3\envs\tf\lib\site-packages\tensorflow_core\python\eager\function.py in call(self, ctx, args, cancellation_manager)
    543               inputs=args,
    544               attrs=("executor_type", executor_type, "config_proto", config),
--> 545               ctx=ctx)
    546         else:
    547           outputs = execute.execute_with_cancellation(

~\anaconda3\envs\tf\lib\site-packages\tensorflow_core\python\eager\execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
     65     else:
     66       message = e.message
---> 67     six.raise_from(core._status_to_exception(e.code, message), None)
     68   except TypeError as e:
     69     keras_symbolic_tensors = [

~\anaconda3\envs\tf\lib\site-packages\six.py in raise_from(value, from_value)

UnknownError:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
	 [[node my_model/conv2d/Conv2D (defined at <ipython-input-5-1e051998210b>:10) ]] [Op:__inference_train_step_566]

Errors may have originated from an input operation.
Input Source operations connected to node my_model/conv2d/Conv2D:
 images (defined at <ipython-input-10-cdcc13267505>:11)

Function call stack:
train_step

I installed tf, cuda and cudnn using conda install -c anaconda tensorflow-gpu

@Fetzii
Please try limiting GPU memory growth as shown in this guide here and let us know if you are facing the same issue.
Can you please try setting allow_growth option at the top of your code:
import tensorflow as tf
config = tf.compat.v1.ConfigProto()
config.gpu_options.allow_growth = True
sess = tf.compat.v1.Session(config=config)

# your code

You may refer to similar error issues below:
#41886 #36025  #41196 link

Solved issue using #36025

@Fetzii
Thank you for your update, glad to hear the issue is resolved.


Fix typo in concepts-circuits.md

Fixes the fourth value in the list of 2 classical bits, where both bits could be 1.

@SoniaLopezBravo
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Bug fix in mxx::is_sorted

Current coverage is 93.62%

Merging #2 into master will not affect coverage as of 8da5cf8

@@            master      #2   diff @@
======================================
  Files           16      16
  Stmts         1364    1364
  Branches         0       0
  Methods          0       0
======================================
  Hit           1277    1277
  Partial          0       0
  Missed          87      87

Review entire Coverage Diff as of 8da5cf8

Powered by Codecov. Updated on successful CI builds.


"Genesis" Infra Deployments

One reason testnets are sticky is that "all the other apps are there", and existing testnets have more infrastructure support. In order to make the transition to Holli smoother, it would be nice if a core set of popular contracts could be deployed shortly after Genesis, and if a set of infra providers across all major categories committed to support the network ASAP after launch.
Some examples I've heard of that led people to use Goerli:

DEXes, e.g. Uniswap, SushiSwap, etc.
Stablecoins, e.g. DAI, USDC, etc.
Oracles, e.g. Chainlink
L2s, e.g. Arbitrum, Optimism, etc.
MEV infra (relay/builders)
Native wallet support in Rainbow, MetaMask, etc.

Given the lead time we have here, it would be good to try and reach out to these folks ahead of time for deployment and solicit the dev community for other examples.

totally on point, and recent events regarding goETH were mostly because of this, devs didn't want to deploy to an isolated network, also every major protocol/dapp out there is implicitly supporting goerli only, so why anyone choose something else?
i don't know how this could be done, an open letter to the community maybe?

Manifold Finance (re: securerpc.com) is committed to providing such services on bare metal instances in at least 2 regions.
We would like to see if client teams would be open to coordinating their CI/CD workflows such that new client releases can be pushed and tested on a subset of nodes that are operated by us (as an example) so that these sorts of testing efforts are mot duplicated as much and can potentially find  issues not typically surfaced by standard CI workflows.

Would be nice if that can be automated in a way that's repeatable locally.

In personal capacity I'm interested to support the testnet with validators + maybe some faucet automation, I applied to both of the other genesis threads for that.
With OP Labs we're also looking at when/how to transition our Optimism L2 testnet from Goerli to Holesky. Given the amount of users that depend on testnet-infra of the OP-Goerli deployment we're looking for a smooth transition. At the same time it also seems like a better idea to start with a fresh testnet state, to clean up some technical debt, and not create a complicated state migration. So we can't guarantee every L2 testnet user immediately moves over, but we're definitely interested to support an L2 deployment at L1 genesis (or shortly after genesis).


near-miss-bug

fix a typo when defaults not including near_miss_key are updated

Coverage decreased (-0.75%) to 91.73% when pulling dec411b3e6fbff1521c4f9b2bba67731895c9be4 on near-miss-bug into 866f82cb2cf44bcfa182e079dc6a2cbd94967d0e on master.

Coverage decreased (-0.57%) to 91.91% when pulling f331abe3e5dd8916c18fa5984934b2f0b6b2c398 on near-miss-bug into 866f82cb2cf44bcfa182e079dc6a2cbd94967d0e on master.

:+1:


WGRIB is not defined in grib-util's module file

Describe the bug
Instead of declaring WGRIB in the grib-util module file, WGRIB2 is and points to the non-existent wgrib2 application.
To Reproduce
Build spack-stack 1.6.0 or 1.7.0 (possibly others) and generate the module files.
Expected behavior
WGRIB would be a declared environment variable and would point to the wgrib application.
System:
At least Hera.
Additional context
N/A

If possible, could the WGRIB environment variable be defined in existing module files?

Looks like we removed the WGRIB2 entry in the 1.7.0 release process but the change didn't make it into all the installations. In any case, I'm thinking once I test #1101, we can go back and make the change to the existing 1.6.0 and 1.7.0 installations. I think changing WGRIB2->WGRIB in the existing installations is a pretty low-risk change.

PR https://github.com/JCSDA/spack-stack/pull/1101 was merged. We need to (manually) backport these changes into the release/1.5.1 and 1.6.0 installations on the following systems:
@AlexanderRichert-NOAA @RatkoVasic-NOAA @srherbener @natalie-perlin @climbfuji - please add your name to the platforms you are taking care of. See https://github.com/JCSDA/spack-stack/pull/1101 for the one-liner change that needs to be made in each envs/*/site/modules.yaml file, then activate the environment, rerun the module generation for the system (spack module [lmod|tcl] refresh), followed by spack stack setup-meta-modules if tcl is used.

[ ] MSU Orion
[ ] MSU Hercules
[x] NASA Discover SCU16not needed
[x] NASA Discover SCU17 not needed
[x] NAVY HPCMP Narwhalnot needed
[x] NAVY HPCMP Nautilusnot needed
[ ] NCAR-Wyoming Derecho
[ ] NOAA Acorn (WCOSS2 test system)
[ ] NOAA Parallel Works EPIC (AWS, Azure, Gcloud)
[x] NOAA Parallel Works JCSDA (Gcloud) not needed
[ ] NOAA RDHPCS Gaea
[ ] NOAA RDHPCS Hera
[ ] NOAA RDHPCS Jet
[ ] UW (Univ. of Wisconsin) S4
[x] Amazon Web Services Parallelcluster Ubuntu 20.04 not needed
[x] Amazon Web Services Red Hat 8 not needed

@AlexanderRichert-NOAA @DavidHuber-NOAA JCSDA updated the grib-util modules on S4 for 1.5.1 and 1.6.0, unified-env and gsi-addon-env

@RatkoVasic-NOAA @DavidHuber-NOAA Can we complete the work and close this issue? Only Hera, Derecho, and Parallel Works EPIC are missing.

Thanks @RatkoVasic-NOAA and @DavidHuber-NOAA . I updated the list of machines above.

Patch for 1.7.0:

[ ] MSU Orion -  @RatkoVasic-NOAA
[ ] MSU Hercules -  @RatkoVasic-NOAA
[ ] NOAA Acorn  - @AlexanderRichert-NOAA
[ ] NOAA RDHPCS Gaea -  @RatkoVasic-NOAA
[ ] NOAA RDHPCS Hera - @RatkoVasic-NOAA
[ ] NOAA RDHPCS Jet -  @RatkoVasic-NOAA
[ ] UW (Univ. of Wisconsin) S4 - ?

@DavidHuber-NOAA Please chime in, but for some reason that I don't remember we concluded that this isn't needed for 1.7.0?

@DavidHuber-NOAA Please chime in, but for some reason that I don't remember we concluded that this isn't needed for 1.7.0?

Scrap that. 1.7.0 is explicitly mentioned above. Sorry! We'll go back and do that on S4. @srherbener do you want to or should I?

@srherbener I did 1.7.0 on S4

@srherbener I did 1.7.0 on S4

Thanks @climbfuji !

is this all done?

@RatkoVasic-NOAA Circling back to this issue, is the grib-utils module fixed on Hera? That's the last one on the list. Thanks!

Oh, yes, as in table above:
https://github.com/JCSDA/spack-stack/issues/1097#issuecomment-2161382923
Not sure about Acorn.

@RatkoVasic-NOAA Circling back to this issue, is the grib-utils module fixed on Hera? That's the last one on the list. Thanks!

BTW, just checked, on Hera all environments in versions of spack-stack 1.5.1 and newer are corrected, and all from 1.5.0 and earlier were not touched - I guess nobody's using that old versions.

@AlexanderRichert-NOAA Did you do acorn?

@AlexanderRichert-NOAA Did you do acorn?

Ignore that. The table at the very top says yes. So we are done here, closing! Thanks everyone.


Can't update OpenUtau

When I try to update OpenUtau I get a message that says this:

I clicked on "Yes" and I have installed both the 32bit and 64bit version of .NET core 3.1 Desktop Runtime but it still gives me that message.
I need help with this. Thanks in advance!

How did you fix this?  I am having the same problem now!  Is that feature just not working yet?


Envoy always got remote_reset on HTTP/2 with Microsoft-IIS/10.0

Title: Envoy always got remote reset on HTTP/2 with Microsoft-IIS/10.0
Description:
I try to use envoy upstream to partner Microsoft-IIS/10.0 and got remote reset error and every thing work fine when I disabled http2 on alpn.
Please help me read trace log and find this problem.
Envoy: v1.29.2
TLSv1.2
My traffic like curl -(HTTP http/1.1)-> envoy -(TLS http/2) -> Microsoft-IIS will fail.
but for curl -(TLS http/2) -> Microsoft-IIS will success.
Here my config on envoy
         {
            "dns_lookup_family": "V4_ONLY",
            "load_assignment": {
               "cluster_name": "upstream",
               "endpoints": [
                  {
                     "lb_endpoints": [
                        {
                           "endpoint": {
                              "address": {
                                 "socket_address": {
                                    "address": "partner.com",
                                    "port_value": 443
                                 }
                              }
                           }
                        }
                     ]
                  }
               ]
            },
            "name": "partner.com",
            "respect_dns_ttl": true,
            "transport_socket": {
               "name": "envoy.transport_sockets.tls",
               "typed_config": {
                  "@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
                  "common_tls_context": {
                     "alpn_protocols": "h2", // After change this to http/1.1 request will success
                     "tls_params": {
                        "tls_maximum_protocol_version": "TLSv1_3",
                        "tls_minimum_protocol_version": "TLSv1_2"
                     },
                     "validation_context": {
                        "match_typed_subject_alt_names": [
                           {
                              "matcher": {
                                 "exact": "partner.com"
                              },
                              "san_type": "DNS"
                           }
                        ],
                        "trusted_ca": {
                           "filename": "/etc/ssl/certs/ca-certificates.crt"
                        }
                     }
                  },
                  "sni": "partner.com"
               }
            },
            "type": "LOGICAL_DNS",
            "typed_extension_protocol_options": {
               "envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
                  "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
                  "auto_config": { },
                  "common_http_protocol_options": {
                     "idle_timeout": {
                        "seconds": 10
                     },
                     "max_connection_duration": {
                        "seconds": 3600
                     }
                  }
               }
            }
         },

and I attached success log of http/1.1 and fail log http/2 as well.
success-http1.1.log
fail-h2.log

cc @alyssawilk @RyanTheOptimist

if Envoy is getting a remote reset, IIS is resetting and you need to look at logs there.  The most common failure mode here AFIK is having scheme not match crypto (e.g. https scheme over cleartext.

But when I try to curl to IIS everything look good, even when open on Chrome, Safari browser good as well.
I don't know why that happen and I request partner to turn HTTP2 off.

Tangentially related but I'm currently having issues where when Envoy upgrades plaintext connections to https. Envoy seems to use the downstream :scheme/xff/downstream connection to infer the scheme. This can cause problems with HTTP2 servers that validate whether the scheme pseudo-header matches the transport layer protocol (example).
Stuff I haven't verified but looked into while digging (still personally looking for ways to address this in the VHDS:
If your operation applies globally to the HttpConnectionManager, the scheme header transformation configuration might work? Otherwise, header mutation rules enabling allow_all_routing might work?


Evaluate 3 different topic modeling algorithms

OCTIS version:
Python version:3,7
Operating System: linux

Description
I am a PhD candidate and I need to evaluate the performance of three different topic model algorithm including: LDA, LSI and Bertopic. ( LDA and LSI were trained using the Gensim package)
what are the relevance metrics that I should use apart from coherence score? I would like to include in my paper a sort of table or graph that shows an evaluation in term of accuracy of the model (coherence score) and  relevance of topics ( should I use the topic diversity metric ?)
Thank you
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Hello,
it depends on what your objective is. Any evaluation metric focuses on a specific aspect of a topic model. OCTIS includes different categories of evaluation metrics:

topic coherence metrics (evaluating if the top-words of the topics make sense together)
topic significance metrics that consider the document-topic and word-topic distributions to discover high-quality and junk topics. You can find the reference paper here.
classification metrics (F1, accuracy, etc), which use the document-topic distributions as features to train a classifier. These metrics require that documents are labelled.
diversity metrics, which consider the top-words or the word-topic distribution and compute the distance between a topic and the others.

I am not sure if BERTopic generates the document-topic and word-topic distributions (in that case, you will not be able to compute the topic significance metrics). Maybe you'd like to consider Contextualized Topic Models (CTM) which is a topic model that uses pre-trained contextualized representations (as BERTopic). CTM is part of OCTIS too.
Let me know if you have further questions,
Silvia

Hello Silvia
Thank you for your feedback
I trained LDA model using Gensim, and I would like to evaluate using the topic significance, topic coherence and topic diversity.
for lda, I generated the word-topic distribution using the following code:
#get raw topic > word estimates
topics_terms = lda_model.state.get_lambda()

#convert estimates to probability (sum equals to 1 per topic)
topics_terms_proba = topics_terms / topics_terms.sum(axis=1)[:, None]
topic_term_dist = topics_terms_proba[:, fnames_argsort]
topic_term_dist

the "topic_term_dist" contains the normalized distribution of word-topic:
[[1.1844748e-05 4.0855210e-02 1.1844748e-05 ... 1.1844748e-05
  1.1844748e-05 1.1844748e-05]
 [8.0169802e-06 8.0169802e-06 8.0169802e-06 ... 8.0169802e-06
  8.0169802e-06 8.0169802e-06]
 [7.5956509e-06 7.5956509e-06 7.5956509e-06 ... 7.5956509e-06
  7.5956509e-06 7.5956509e-06]
 ...
 [1.2837388e-05 1.2837388e-05 1.2837388e-05 ... 1.2837388e-05
  1.2837388e-05 1.2837388e-05]
 [8.9911064e-06 8.9911064e-06 8.9911064e-06 ... 8.9911064e-06
  8.9911064e-06 8.9911064e-06]
 [1.6502319e-05 1.6502319e-05 1.6502319e-05 ... 1.6502319e-05
  1.6502319e-05 1.6502319e-05]]
when I passe it to the diversity metric, I get the following error:
`IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
`

so, how can I resolve this error, do you have a code that you could reference to me.
thank you

Which diversity metric are you using? Can you also show the snippet of the code in which you call the metric?
In general a metric in OCTIS expects to receive in input the output of a Model(). Any topic model in OCTIS returns a dictionary with up to 4 fields. Depending on the metric, the right field will be used to compute the metric (see here for the details on model_output) So if you want to use a metric that uses the word-topic distribution to compute the diversity, then you will construct your model_output like this:
model_output = {"topic-word-matrix": topic_term_dist}

And then use it to compute the score of a metric. For example,
div = KLDivergence()
result = div.score(model_output)

Let me know if it works.
Silvia

yes, it works perfectly.
also for the link you recommended regarding the keys of the model_output is very useful.
I still have another question, if i want to apply classification metrics ( precision and recall), you've mentioned that my documents should be labeled. I already mapped each dominant topic for  each document, is that considered as labeled document, correct me if i am wrong.
for the key:  *test-topic-document-matrix* in the model_output, is it the document_topic distribution on unseen documents ?
thank you again for your help


fix(sec): upgrade github.com/gin-gonic/gin to 1.9.1

What happened？
There are 1 security vulnerabilities found in github.com/gin-gonic/gin v1.8.2

CVE-2023-26125

What did I do？
Upgrade github.com/gin-gonic/gin from v1.8.2 to 1.9.1 for vulnerability fix
What did you expect to happen？
Ideally, no insecure libs should be used.
How can we automate the detection of these types of issues?
By using the GitHub Actions configurations provided by murphysec, we can conduct automatic code security checks in our CI pipeline.
The specification of the pull request
PR Specification from OSCS

Thank you.


Workflow file uploads: no error message is shown when uploading files with banned extensions

Upload accepting or rejecting a task, upload a file with a banned extension (eg EXE)
The file won't upload (which makes sense), but the user should be shown an error message detailing why it didn't work

Fixed


{"Unable to find an entry point named 'rd_kafka_commit_queue' in DLL 'librdkafka'.":""}

I compiled  the Confluent.Kafka and referenced the Confluent.Kafka.dll to a Windows Service application.
Now, I'm getting this message when my code gets to this line.
var committedOffsets = consumer.CommitAsync(msg).Result;
and...
internal static ErrorCode commit_queue(IntPtr rk, IntPtr offsets, IntPtr rkqu,
CommitDelegate cb, IntPtr opaque)
=> _commit_queue(rk, offsets, rkqu, cb, opaque);
What could be the issue?
EDIT: My window service target framework is .NET Framework 4.5.2

yes this is a known issue. it's because we are currently referencing librdkafka v0.9.2 and this functionality requires librdkafka 0.9.4. you can expect a new nuget package within a day (we just verified we have it working, but it's midnight here, so I'll push tomorrow).

this should be fixed if you reference the latest nuget package (though I haven't explicitly tested it yet) - please let us know if this resolves the issue.

just a heads up that you're going to run into a new problem (infinite blocking on CommitAsync) which there is an open PR to fix... sorry about that. new nuget package tomorrow most likely to fix that.

Hi mate. This is still happening. :-(

g'day - I think we should have a new nuget package for you to try in about an hour or something.

i was getting ahead of myself (most likely going to take longer than an hour). still, the error you're getting implies to me it's not referencing librdkafka 0.9.4, which it should be. we need to resolve this asap if it's a problem, but I think first step is to see if it's a problem with the new package we're working on now. sorry for the delay ..

Ok, we've pushed a new nuget package. can you try this and see if it works for you?
https://www.nuget.org/packages/Confluent.Kafka/0.9.4-preview8
also contains a number of other fixes + API docs.

Works now mate. Woo! Hoo!

great - closing. this might have been an interop issue that was present in preview4 as well (which ever way, it's solved now).


Feat/pinata cloud storage

Added pinata IPFS Integration
Included Tests

Hi @CeoFred
Apologies for the delay. I've been very hooked up at work.
If you don't mind...I'll work on this on Saturday?

That’s fine
On Thu, Jan 12, 2023 at 10:21 AM Perfection Loveday <
@.***> wrote:

Hi @CeoFred https://github.com/CeoFred
Apologies for the delay. I've been very hooked up at work.
If you don't mind...I'll work on this on Saturday?
—
Reply to this email directly, view it on GitHub
https://github.com/opensaucerer/bifrost/pull/7#issuecomment-1380029986,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH3QHHW4VJP66KU5RBUD6UTWR7EIDANCNFSM6AAAAAATTE66BU
.
You are receiving this because you were mentioned.Message ID:
@.***>


n. Connect to the back-end

all the methods are in rest.js.

[x] postTodo
[x] deleteTodo
[x] patchTodo

once we finish all these tasks we can close this issue as well

just changed the title, it was a bit strange.


Split SchemaValidationException into two of SchemaValidationException and SchemaMismatchException

Because SchemaValidationException is thrown both cases that a schema definition is incorrect and that two schema definitions are mismatched.
In the former case, the migration does not solve the problem. But the exception message shows "Migration is required..."
e.g. An exception that says "migration is retuired" when define the following model class
@interface TestObject : RLMObject
@property NSData *data;
@end

@implementation TestObject
+ (NSArray<NSString *> *)indexedProperties {
    return @[@"data"];
}
@end

*** Terminating app due to uncaught exception 'RLMException', reason: 'Migration is required due to the following errors:
- Can't index property TestObject.data: indexing a property of type 'data' is currently not supported'

Therefore the latter as SchemaMismatchException, to distinguish between the two cases.
Also, the message of SchemaValidationException is changed to "Schema validation is failed...".
CC @tgoyne @bdash

Thanks! Feedback addressed @tgoyne

Looks fine to me :+1:

Is this blocked on anything @kishikawakatsumi?

No, I thought it has still one +1. I'll merge it.


No indication why textStyles aren't being applied in Remix project

Description
Similar to #1917 -> #1925, I've managed to craft a situation where Panda isn't applying some styles as I'd expected. I've probably done something wrong. But I can't figure out where.
It'd be nice if Panda could give some complaint here about how I've misconfigured it. Also... what is the misconfiguration?
Link to Reproduction
https://github.com/philly-js-club/philly-js-club-website/tree/1df96ebfa39966b65c4b36c13ace1f86b6c6d646
Steps to reproduce

pnpm i and pnpm dev
Open localhost:3000
See that the Next Jawn h3 on the homepage isn't underlined

I tried a few variations of similar changes in https://stackblitz.com/edit/vitejs-vite-cq5rda?file=src%2FApp.tsx,panda.config.ts&terminal=dev and they all worked there. But I haven't found the right combination to work in this Remix app.
JS Framework
Remix (TS)
Panda CSS Version
0.24.0
Browser
n/a
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

This exposes an improvement we could make in Panda.
The text style value should be a css style object (without token references). Here's a refactored version of the text styles you have in your branch.
import { defineTextStyles } from '@pandacss/dev'

export const textStyles = defineTextStyles({
  body: {
    value: {
      fontSize: 'medium',
      fontWeight: 'light',
      lineHeight: 'medium',
    },
  },
  large: {
    value: {
      fontSize: 'large',
      fontWeight: 'large',
    },
  },
  larger: {
    value: {
      fontSize: 'larger',
      fontWeight: 'larger',
    },
  },
  medium: {
    value: {
      fontSize: 'medium',
      fontWeight: 'medium',
    },
  },
  smaller: {
    value: {
      fontSize: 'smaller',
      fontWeight: 'smaller',
    },
  },
  underline: {
    value: {
      textDecoration: 'underline',
    },
  },
})

In future versions, we'll ensure the token reference syntax works as well since it might be the intuitive thing to do sometimes.

Cool, thanks for the help!

@segunadebayo segunadebayo closed this as completed 3 hours ago

Err, is there a tracking issue for ensuring the token reference syntax works? I'd meant this as a dev tooling feature request 😅

@JoshuaKGoldberg Totally understood that
Please see the attached PR.

Awesome thanks!


Confusion about custom location

A few weeks ago, I installed Homebrew in a custom location:
git clone https://github.com/Homebrew/brew /Users/craig/Homebrew

After version 1.0 was released, I deleted this directory and did a clean install:
git clone https://github.com/Homebrew/brew /Users/craig/brew

When I run brew update I now see this error message:
/Users/craig/brew/bin/brew: line 5: cd: /Users/craig/Homebrew/bin: No such file or directory

Apparently, Homebrew still remembers the old location. How can I fix this problem?

What does ls -lha /Users/craig/brew/bin/brew and which brew output?

$ ls -lha /Users/craig/brew/bin/brew
-rwxr-xr-x  1 craig  admin   1.3K Sep 21 15:43 /Users/craig/brew/bin/brew

$ which brew
/Users/craig/brew/bin/brew

How about ls -lha /usr/local/bin/brew?

Also,
/usr/bin/sed -i '' $'1 a\\\nset -x\n' /Users/craig/brew/bin/brew
brew

will help us a lot in diagnosing your issue.

$ ls -lha /usr/local/bin/brew
lrwxr-xr-x  1 root  wheel    30B Sep 21 07:49 /usr/local/bin/brew -> /Users/craig/Homebrew/bin/brew

Oops. Sorry for the noise.

@zmwangx I'm not familiar with sed. How do I undo this?
/usr/bin/sed -i '' $'1 a\\\nset -x\n' /Users/craig/brew/bin/brew

@chmaynard
git -C /Users/craig/brew/bin checkout brew

🙏

@zmwangx That's unnecessary, btw, you can just use --debug.

@MikeMcQuaid --debug has no effect on /bin/brew.

@zmwangx Aye but it'll dump the variables in brew.sh such as HOMEBREW_BREW_FILE

@MikeMcQuaid It you never get to the sourcing brew.sh stage then it won't (which is the case here), unfortunately.

@zmwangx True. Another option is bash -x /Users/craig/brew/bin/brew

Yeah.


Gantt labels on the left side are not properly aligned.

The Gantt labels on the left side are not properly aligned with the row. They are lower aligned than the row itself.

Any help would be appreciated !!! Please help.

Hi @Toilal , Please help.


Issue 16

added support for Linux - had to do more tests
not sure but paragraph to html code seems to be off a bit
but functionality of the code works for what its worth
implements #16

Can you check again plz thanks
I made changes

Therefore the changes here are correct


Link containers after start

Is there a way (or maybe the feature is interesting enough to being incorporated on project) to link containers after they've been started.
Currently, I can do so on container creation, but after the container is started, I can't figure out a way to create this linkage.
Thanks!

@mauricioklein I'm not sure that's something we can help with. We're just a ruby client to the docker daemon itself.  I suggest contacting the folks over at: https://github.com/docker/docker

Thanks @tlunter!
I was searching for a way to not to deal with container dependencies. Just start them and link after running.
By the way, I'll write my own dependency handler.
Thanks for the quick reply!

@mauricioklein yep, unfortunately we're limited by the daemons capabilities for when we can link.


wasm streaming compile failed

This error shows in the console but the roller seems to be working fine. Is this a config or compile error on my part or something intrinsic to chrome? I'm using webpack.
wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.

That looks like a server config issue. If you are serving the ammo.wasm.wasm file then you need to assure the header for Content-Type: is set to application/wasm and not text.

Thank you. I noticed it isn't having the issue on the prod server, just my local dev. I'll look into it.


Timeout passed to 'processEvent' is not used

When you call baker.processEvent(processId, event, Duration.ofSeconds(20)); this timeout should be used. However in the Baker class, in method public SensoryEventStatus processEvent(String processId, Object event, FiniteDuration timeout), this timeout is ignored and the default timeout of 10 seconds is used.
[Edit]
We are currently using version <IP_ADDRESS>-RC from Java.

Will investigate, which version are you using?

@merlijn: We are using <IP_ADDRESS>-RC from Java. When I look at the source code for 1.3.1 (<IP_ADDRESS>-RC does not exist as tag) the method actually doesn't seem to use the 'timeout' parameter.
Although the decompiled code by Intelllij for <IP_ADDRESS>-RC gives
    public SensoryEventStatus processEvent(String processId, Object event, FiniteDuration timeout) throws NoSuchProcessException, ProcessDeletedException, TimeoutException {         return this.processEventAsync(processId, event, this.processEventAsync$default$3()).confirmCompleted();     }

@merlijn : Looking at Git, it seems you fixed it in commit 00dbded. That version 1.3.4 is not yet released. Can you create a release of this version?

@krisvandebroek Yes you are right, in that version a default is used by mistake. We are working on releasing 1.4.0 soon.

Closing this, fix will be released in 1.4.0.

@merlijn: I tested the latest version. It partially solves the issue. I've created mergerequest #113 to finish it up. Can you look into this?


enter hash string manually

Having a field to enter a hash string, which would appropriately set all of the slider values and display the work, would be handy if you want to return to a previously saved hash.

Implemented full hash modal, releasing


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #278 (d75b4c5) into main (2974dfe) will increase coverage by 12.10%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main     #278       +/-   ##
===========================================
+ Coverage   83.33%   95.44%   +12.10%
===========================================
  Files           2        1        -1
  Lines         126      395      +269
  Branches       31       46       +15
===========================================
+ Hits          105      377      +272
+ Misses         21       18        -3

Impacted Files
Coverage Δ

src/index.ts
95.44% <100.00%> (+13.44%)
:arrow_up:

example/src/main.ts

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7af09a...d75b4c5. Read the comment docs.


Implement the "session" scope without signing

Description
Implement the "session" scope as per the IDM Wallet spec but without signing.
.session.create(App app, String did, { Array<CredentialScope> scopes = [], Number maxAge =<PHONE_NUMBER> } ?options): Promise<Session>
.session.destroy(String sessionId): Promise
.session.isValid(String sessionId): Session
.session.getById(String sessionId): Session

Acceptance Criteria

[x] Have the ability to get, create, destroy, and verify validity of sessiosn

PR: https://github.com/ipfs-shipyard/js-idm-wallet/pull/13


Failing on Ember 4.0

As seen on this CI run, we are failing against Ember 4 beta because of an issue with ember-template-compiler. (Cf. pzuraq/tracked-maps-and-sets#121 which is the same issue.)

Fixed as of #173.


TILA-215 | Replace ReservationUnitImage field image_url with `image field

There is possible to store images to ReservationUnit.
There was initially made possibility to give the image url but no image file itself.
This commit replaces the ReservationUnitImage field image_url  with image field which should contain the actual image file.
Further development like validation store location etc. should be discussed in workshops.
TILA-215

Approving this because its definitely needed at some point. Although do we already have support for hosting image files in our in infra / configs? My concern is that we can't demo the UI with images as it progresses if we don't have support for serving media files in our infra yet. Has there been any discussions about where uploaded image files will be hosted?

No discussions yet. The demoing is  a good point. I could leave the image_url there so that UI can use it in demoing until we get solved the storage location. What do you think? @tommimanbytes

Approving this because its definitely needed at some point. Although do we already have support for hosting image files in our in infra / configs? My concern is that we can't demo the UI with images as it progresses if we don't have support for serving media files in our infra yet. Has there been any discussions about where uploaded image files will be hosted?

No discussions yet. The demoing is  a good point. I could leave the image_url there so that UI can use it in demoing until we get solved the storage location. What do you think? @tommimanbytes

Approving this because its definitely needed at some point. Although do we already have support for hosting image files in our in infra / configs? My concern is that we can't demo the UI with images as it progresses if we don't have support for serving media files in our infra yet. Has there been any discussions about where uploaded image files will be hosted?

Yeah, we should have configs for uploaded images/files, at least media folder etc are configured for prod type deployments.

Approving this because its definitely needed at some point. Although do we already have support for hosting image files in our in infra / configs? My concern is that we can't demo the UI with images as it progresses if we don't have support for serving media files in our infra yet. Has there been any discussions about where uploaded image files will be hosted?

Yeah, we should have configs for uploaded images/files, at least media folder etc are configured for prod type deployments.

I'll close this due to the fact that I will publish other PR for this with thumbnails and avoid the rebase hassle with this old thing.


Config max request message size to fend off potential malicious attacks

Feature Request
If a message size is maliciously large, blindly accept it may not be a good idea.
A quick test shows that with the current tonic server (0.8.1), a simple hello-world unary service was able to take a 1GB size request message and return a response; even though the service handler always responds "hello world" without processing the request at all, just accepting such a message significantly slow down the server.  It would be more reasonable to drop the connection instead of blindly consuming system resources to decompress/parse such a large message.
This is the same request as in #264.

I know this isn't the same setting you're looking for but tonic 0.8.2 which was released last week now has a default body limit size thanks to axum https://docs.rs/axum/latest/axum/extract/struct.DefaultBodyLimit.html which limits bodies to 2mb. I believe this should work to mitigate this sort of attack? Would be good to run your test against that.

https://docs.rs/tower-http/latest/tower_http/limit/index.html should work with tonic though it wont give gRPC specific responses.

@davidpdrsn I wonder if we can make it smart and detect grpc and reply in a grpc fashion if so? Though we could also just implement this into tonic.

Yeah that would be nice. Already have some gRPC stuff in tower-http so makes sense to support for limited bodies as well.

Just pull tonic 0.8.2 and re-run the test, the same behavior, the server still can accept large request messages .  @LucioFranco  can you please elaborate how to set up this body limit? Say, in the following helloworld example, how to limit the size of message HelloRequest, which is generated from a protobuf definition
message HelloRequest {
  string name = 1;
}

The client can send over an arbitrary long string as string name.
#[derive(Default)]
pub struct MyGreeter {}

#[tonic::async_trait]
impl Greeter for MyGreeter {
    async fn say_hello(
        &self,
        request: Request<HelloRequest>,
    ) -> Result<Response<HelloReply>, Status> {
        println!("Got a request from {:?}", request.remote_addr());

        let reply = hello_world::HelloReply {
            message: format!("Hello {}!", request.into_inner().name),
        };
        Ok(Response::new(reply))
    }
}

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let addr = "[::1]:50051".parse().unwrap();
    let greeter = MyGreeter::default();

    println!("GreeterServer listening on {}", addr);

    Server::builder()
        .add_service(GreeterServer::new(greeter))
        .serve(addr)
        .await?;

    Ok(())
}

@Ajkcki you need to use https://docs.rs/tower-http/latest/tower_http/limit/index.html

@davidpdrsn I tried, but tower_http didn't seem to work. Any idea how to fix it?
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let addr = "[::1]:50051".parse().unwrap();
    let greeter = MyGreeter::default();

    println!("GreeterServer listening on {}", addr);

    Server::builder()
        .layer(tower::timeout::TimeoutLayer::new(Duration::from_secs(30)))       //<======= this works
        .layer(tower_http::limit::RequestBodyLimitLayer::new(4096))           //<=======  error
        .add_service(GreeterServer::new(greeter))
        .serve(addr)
        .await?;

    Ok(())
}

Here is the error message
error[E0277]: the trait bound `Routes: Service<tonic::codegen::http::Request<http_body::limited::Limited<tonic::transport::Body>>>` is not satisfied
   --> src/main.rs:169:10
    |
169 |         .serve(addr)
    |          ^^^^^ the trait `Service<tonic::codegen::http::Request<http_body::limited::Limited<tonic::transport::Body>>>` is not implemented for `Routes`
    |
    = help: the trait `Service<tonic::codegen::http::Request<tonic::transport::Body>>` is implemented for `Routes`
    = note: required because of the requirements on the impl of `Service<tonic::codegen::http::Request<tonic::transport::Body>>` for `RequestBodyLimit<Routes>`

Yeah, so I think we will need to implement our own length limit but I don't think its trivial since it needs to cross a couple config bounds. We will need to pass a length limit into the decode/encode part, I think we can follow a similar path to what compression did. OR rethink how we abstract config between the transport and grpc protocol.

Hi @LucioFranco,
Is there any updates about this issue, I see that there is related issues which was merged
https://github.com/hyperium/tonic/pull/529
Thanks

Hi @LucioFranco,
I'm interested to contribute, I did a quick look at the codebase:
https://github.com/hyperium/tonic/blob/82770713b58892203a83c307729b3e7bebe574e3/tonic/src/codec/decode.rs#L154
Adding a control on len with a max_message_size with a default value of 4MB could do the trick.
For example
      if len > self.max_message_size {
                return Err(Status::new(Code::OutOfRange, format!("Error, message too large: found {} bytes, maximum authorised {} bytes", len, MAX_MESSAGE_SIZE)));
            }

Same for the encoder
If you have a better idea,  you're welcome, I'll be glad to implement It.

Yeah, I think that should work, I think the interesting part will be with how we configure it.

I have some questions before implementing it:

We'll have the same config to control the maximum size of message in both encoder/decoder ? Or max_encoding_message_size/max_decoder_message_size

Intuitively, adding the config in server builder seems to be the easiest way ?

We'll have the same config to control the maximum size of message in both encoder/decoder ? Or max_encoding_message_size/max_decoder_message_size

Yeah, I think having two configs should be fine.

Intuitively, adding the config in server builder seems to be the easiest way ?

Probably should be done similar to how these are setup https://github.com/hyperium/tonic/blob/master/tonic-build/src/server.rs#L71


fix: Wrong message "Operation Successful! Please close this page." in case of reading token failed (CORS)

Description
The redirect page shows Operation Successful! Please close this page.
But the token is not read because of CORS error.
Steps To Reproduce

If Keycloak login popup appears, login.
After login redirect.html is called
"Operation Successful! Please close this page." is printed in open window
The open window get not closen
If you close this open window and go back to your app, no token is fetched

Expected Behavior
Normally the new open window (redirect.html) will be closed automatically.
You are back to your application and token is fetched and you got all user info from Keycloak.
In case of this error I hope to get an detailed error message in redirect.html or from OidcUserManager.
Screenshots

Hi @s681562 please check out the keycloak weborigins config
https://stackoverflow.com/questions/59018604/keycloak-no-access-control-allow-origin-header-is-present-on-the-requested-r


Update Composer dependencies (2024-02-25-00-17)

Visual regression test passed!
View the visual regression test report


add option to show keys and not translation

Allows users to see what is the key for a specific translation, in order to find quickly the value to change in .json
My users have problem to find what key to change on our website. So they could add window.desactivate_ngx_translate in the console, and it would show keys and not translated values.

@stefdelec nothing...i have approved

hello, the idea is interesting, but you should add documentation for that, and a test if possible

why was this not merged?

I got this functionality working by first reset all languages, doing something like:
availableLanguages.forEach(lang => this.translateService.resetLang(lang))
And then set the new language to a non existing key, for instance:
this.translateService.use("key").
Now make sure that your translation loader returns an Observable of {}. Now you'll see all the translation keys on your website.


fixes the glider error

@DanielJMaher , this will get the page loading again. Simple error checking is all that is done here.

Merging this in so we can get the UI working again, but there is more work to go to resolve fully.


Not enough padding for "Corresponding Author" legend in Author Name legend tootip

Describe the bug
Not enough padding for "Corresponding Author" legend in Author Name legend tootip
To Reproduce
Steps to reproduce the behavior:

Go to https://cryoetdataportal.czscience.com/depositions/10309
Hover on [i] symbol next to Author
Pay attention to "Corresponding Author"

Expected Results
There should be enough padding on right side of text
Same behavior for tooltip in right panel
Screenshots

Desktop (please complete the following information):
OS: MacOS Sonoma v14.7
Browser Chrome

This defect is no longer an issue


condense categories to corporate

We can condense CAO , exec , director chats into one category to save space.
Corporate Category
Exec Lounge
CAO Lounge
Corporate Forum, utilizing tags for all other corporate members.
Private voice lobbies

condensed area
created Forum need to setup

Section complete


Bug: App loads slowly if opened from the browser

Description
files is very slow to open the folder of the downloaded file, the first click loads immediately, if I try to do a second one later it takes a long time

Steps To Reproduce

open download on browser
click show in the folder (any downloaded file)
files open the folder
Once the files have opened, close them and click show in the folder again (there will be much more than the first click)

Requirements
the first click loads immediately, if I try to do a second one later it takes a long time
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.2506
Log File
debug.log

Which browser are you using?

brave

Can you reproduce this issue with Edge?

same problem

@alfio95it can you check if this is fixed in v3.0.5?

@alfio95it can you confirm if it's opening a tab in the existing instance?

In what sense? sorry for my ignorance :(

@alfio95it is it opening a new instance of Files or is it adding a tab to the existing instance?

with files already open it adds a new tab, but even with files open the second click always takes longer to load

I don't know whether to open another issue but, I discovered that a problem similar to this of the second click when you try to open file path from a shortcut on the desktop the context menu does not open immediately

windows defender?  I have had issues, with files on my daughter PC like this, and it was windows defender.

@alfio95it is this still an issue in v3.1 when the option to keep Files in the background is enabled?


Paxinos spinal cord atlas import

This Github issue is synchronized with Zendesk:
Ticket ID: #43443
Requester<EMAIL_ADDRESS>Community Name: fdi_lab
URL:
Original ticket description:
From: Maryann Martone<EMAIL_ADDRESS>Phone:
Location: San Diego, United States
URL: https://scicrunch.org/sawg/interlex/view/ilx_0772919?searchTerm=PAXSPN
Department:
I don't like the solution of adding all of the terms requested by Janet Keast through an import of the Paxinos spinal cord atlas.  First of all, the definition or notes doesn't say anything at all about what paxspn means.  Second, if I want to annotate to the dorolateral fasciculus generically, I wouldn't use this term because it is specifically found in the Paxinos atlas.
----
Zopim
https://www.zopim.com

Should be on NIF-Ontology not here.


Update TokenScript fragment in design paper to schema 2019/05

Look for <attribute-type id="voting-right">

Will do

@colourful-land bump


[Central-API Docs Merge] Dashboard & package details page

Description:

[ ] Add new panel in package detail page to show sub modules and deprecate module buttons.
[x] Show links to dashboard pages in the sign in drop down menu.
[x] Pass cookies from home page to dashboard when navigating manually. (tracked in https://github.com/wso2-enterprise/ballerina-central/issues/1003)
[ ] Fix pending style issues.
[ ] Show meta data in package detail page for private packages.

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Merged


replace thefuzz with rapidfuzz

This replaces thefuzz with rapidfuzz to resolve #2010. This is probably the simplest way to resolve the issue, since rapidfuzz provides a compatible API.
This is faster, does not print the warning and is MIT licensed which should be a better fit for this project.

Thanks for your contribution. I will take a look at this in our upcoming development sprint.

@jwalgran could this get a review.

@KlausGPaul notifying you about this PR that seeks to address #2010. I removed myself that the assigned reviewer.
CC @mariel-oar

Since this did not get a review after 8 months I am closing the PR. Feel free to apply the change yourself


fix: Jumping produced an error

Passing an integer value to the window handle instead of a table.

Thanks!

Thanks!

Your Welcome. Also, this is a pretty good idea!


WIP: prototype script for converting partspec into README.

This helped me avoid a lot of tedium, and I figure we might be able to reuse it in the future.
I am not sure whether it should be committed right now, or even in this repo, but I wanted to upload it so that it doesn't get lost.

Already committed elsewhere


add fast bruss implemenation

I'll wait for this before adding MOL to the WorkPrecisionSets as I'd need to change the prob numbers else


HTML comments in Markdown not rendering correctly

VSCode Version: 1.35.0-insider
OS Version: Windows 10 Enterprise 1809 17763.503

Steps to Reproduce:

Open a markdown file
Create an HTML div
Put a comment with an empty line inside the div
Nothing below the comment will be rendered in the previewer

Does this issue occur when all extensions are disabled?: Yes
Image Examples:

Please share the text of the code along with screenshots

I've updated the original report to include the text.

This is consistent with how the commonmark dingus parses the file Github does the same
Seems like this is the design of markdown specification


ci: add nix CI

Build, test and upload as artifacts:

Statically-linked (towards Musl) x86_64 and aarch64 Linux wash binaries
Darwin x86_64, aarch64 and "universal" binaries
OCI images containing the above

Lint the nix flake
Run clippy, nextest and fmt via nix
Run a "real" cargo command from within the nix development shell - tried running cargo test, but that's too slow

Note how fast the nix CI jobs have finished (most under 1 minute), that is due to the caching from previous runs
Related Issues

Blocked by #408
Release Information

Consumer Impact

Testing

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin
[ ] x86_64-windows

Tested on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin
[ ] x86_64-windows

Unit Test(s)

Acceptance or Integration

Manual Verification

Open a workflow run summary, e.g. https://github.com/wasmCloud/wash/actions/runs/4303159397
Pull appropriate artifact, e.g. https://github.com/wasmCloud/wash/suites/11277959533/artifacts/578333825 for x86_64 Linux OCI
Then:
$ unzip wash-x86_64-unknown-linux-musl-oci.zip
Archive:  wash-x86_64-unknown-linux-musl-oci.zip
  inflating: wash-x86_64-unknown-linux-musl-oci
$ podman load < wash-x86_64-unknown-linux-musl-oci
Getting image source signatures
Copying blob 4246f70d4a5d done
Copying config 64d39d429d done
Writing manifest to image destination
Storing signatures
Loaded image: localhost/wash:0.16.0
$ podman run --rm localhost/wash:0.16.0

_________________________________________________________________________________
                               _____ _                 _    _____ _          _ _
                              / ____| |               | |  / ____| |        | | |
 __      ____ _ ___ _ __ ___ | |    | | ___  _   _  __| | | (___ | |__   ___| | |
 \ \ /\ / / _` / __| '_ ` _ \| |    | |/ _ \| | | |/ _` |  \___ \| '_ \ / _ \ | |
  \ V  V / (_| \__ \ | | | | | |____| | (_) | |_| | (_| |  ____) | | | |  __/ | |
   \_/\_/ \__,_|___/_| |_| |_|\_____|_|\___/ \__,_|\__,_| |_____/|_| |_|\___|_|_|
_________________________________________________________________________________

A single CLI to handle all of your wasmCloud tooling needs

Usage: wash [OPTIONS] <COMMAND>

Commands:
  app       Manage declarative applications and deployments (wadm) (experimental)
  build     Build (and sign) a wasmCloud actor, provider, or interface
  call      Invoke a wasmCloud actor
  claims    Generate and manage JWTs for wasmCloud actors
  ctl       Interact with a wasmCloud control interface
  ctx       Manage wasmCloud host configuration contexts
  down      Tear down a wasmCloud environment launched with wash up
  drain     Manage contents of local wasmCloud caches
  gen       Generate code from smithy IDL files
  keys      Utilities for generating and managing keys
  lint      Perform lint checks on smithy models
  new       Create a new project from template
  par       Create, inspect, and modify capability provider archive files
  reg       Interact with OCI compliant registries
  up        Bootstrap a wasmCloud environment
  validate  Perform validation checks on smithy models
  help      Print this message or the help of the given subcommand(s)

Options:
  -o, --output <OUTPUT>  Specify output format (text or json) [default: text]
  -h, --help             Print help information
  -V, --version          Print version information

Alternatively, e.g. aarch64 Linux musl binary (https://github.com/wasmCloud/wash/suites/11277959533/artifacts/578333818), run via QEMU:
$ unzip wash-aarch64-unknown-linux-musl.zip
Archive:  wash-aarch64-unknown-linux-musl.zip
  inflating: wash-aarch64-unknown-linux-musl
$ chmod +x wash-aarch64-unknown-linux-musl
$ file ./wash-aarch64-unknown-linux-musl
./wash-aarch64-unknown-linux-musl: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, not stripped
$ ./wash-aarch64-unknown-linux-musl help
_________________________________________________________________________________
                               _____ _                 _    _____ _          _ _
                              / ____| |               | |  / ____| |        | | |
 __      ____ _ ___ _ __ ___ | |    | | ___  _   _  __| | | (___ | |__   ___| | |
 \ \ /\ / / _` / __| '_ ` _ \| |    | |/ _ \| | | |/ _` |  \___ \| '_ \ / _ \ | |
  \ V  V / (_| \__ \ | | | | | |____| | (_) | |_| | (_| |  ____) | | | |  __/ | |
   \_/\_/ \__,_|___/_| |_| |_|\_____|_|\___/ \__,_|\__,_| |_____/|_| |_|\___|_|_|
_________________________________________________________________________________

A single CLI to handle all of your wasmCloud tooling needs

Usage: wash-aarch64-unknown-linux-musl [OPTIONS] <COMMAND>

Commands:
  app       Manage declarative applications and deployments (wadm) (experimental)
  build     Build (and sign) a wasmCloud actor, provider, or interface
  call      Invoke a wasmCloud actor
  claims    Generate and manage JWTs for wasmCloud actors
  ctl       Interact with a wasmCloud control interface
  ctx       Manage wasmCloud host configuration contexts
  down      Tear down a wasmCloud environment launched with wash up
  drain     Manage contents of local wasmCloud caches
  gen       Generate code from smithy IDL files
  keys      Utilities for generating and managing keys
  lint      Perform lint checks on smithy models
  new       Create a new project from template
  par       Create, inspect, and modify capability provider archive files
  reg       Interact with OCI compliant registries
  up        Bootstrap a wasmCloud environment
  validate  Perform validation checks on smithy models
  help      Print this message or the help of the given subcommand(s)

Options:
  -o, --output <OUTPUT>  Specify output format (text or json) [default: text]
  -h, --help             Print help information
  -V, --version          Print version information

running 3 tests
test can_stop_detached_host ... FAILED
test doesnt_kill_unowned_nats ... ok

{
  "success": false,
  "error": "Another wasmCloud host is already running on this machine with PID 23342\n"
test integration_up_can_start_wasmcloud_and_actor ... FAILED
}

error: test failed, to rerun pass `--test integration_up`
failures:

---- can_stop_detached_host stdout ----
thread 'can_stop_detached_host' panicked at 'No wasmcloud process should be running', tests/integration_up.rs:121:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- integration_up_can_start_wasmcloud_and_actor stdout ----
thread 'integration_up_can_start_wasmcloud_and_actor' panicked at 'assertion failed: status.success()', tests/integration_up.rs:28:5

failures:
    can_stop_detached_host
    integration_up_can_start_wasmcloud_and_actor

test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.54s

Looks like a flake

Hmm, just a few minutes ago, apparently, something went very wrong upstream in the installation script https://github.com/cachix/cachix-action/issues/138
I've never seen anything like this before in ~3 years of using this action

Seconding what @brooksmtownsend said. I don't think we should be running the same CI twice, once "vanilla" and once in nix. If we want adopt nix I think we'd need to get rid of the existing CI in favor of it.
So then it comes down to the pros/cons of running CI in nix vs in the vanilla way, and how much of the CI process is it replacing. Would we remove the release jobs we currently have for nix? From your comment it sounds like that is an advantage of the tool, but i'm not familiar enough to know what the benefits are

Hey @rvolosatovs this seems super close! Is there anything we can do to push it into main?


Bug: Adaptor Occasionally hangs due to dialog messages

Expected Behaviour
The adaptor needs to be able to recover or at least throw errors when problems arise.
Current Behaviour
The adaptor freezes and does not print why.
Reproduction Steps
I do not know how to to force an error to pop up, but I'll explain what happened on my machine.
I had a CMF worker that was running fine, but it started freezing on the "Launching 3ds Max" step which was a problem I had thought I figured out the solution to here: https://github.com/aws-deadline/deadline-cloud-for-3ds-max/issues/39
I opened up a new cmd prompt as my deadline worker user like this:
runas /profile /user:deadline-worker cmd

And then executed the last command I saw in the logs which was this:
3dsmax -U PythonHost "C:\Program Files\Python310\lib\site-packages\deadline\max_adaptor\MaxClient\max_client.py"

I was then met with this popup:

I chose to "Continue without restore" and suddenly the renders started working again.
Code Snippet
There are a number of CLI flags that the adaptor is not using which may have been able to resolve these kinds of issues. 3ds Max CLI docs: https://help.autodesk.com/view/3DSMAX/2023/ENU/?guid=GUID-1A97CFEC-60A3-4221-B9C3-5C808E2AED35
The most relevant flags are probably -silent and -dm.
The description for -silent is "Starts the program without the splash screen and any dialogs that might block script execution."
The -dm flag is described in more detail here: https://help.autodesk.com/view/3DSMAX/2024/ENU/?guid=GUID-48A78515-C24B-4E46-AC5F-884FBCF40D59

Dialog Monitor state. When on, the dialog monitor watches for dialogs from plug-ins, and closes them. Valid choices are: 'on|off', 'yes|no', '1|0' and 'true|false'.

Thank you @yuanmich2 for filing a bug. We appreciate the time take by the community supporting the product.
The reproduction steps and code snippet are really helpful. While we try to reproduce the issue on our end, could you confirm if supplying the silent and -dm flags in the 3dsmax cli command fixed the issue for you i.e were you able to continue to render without running into the failure dialog automatically?

As luck would have it, I ran into the startup failure detection error earlier today and instead of clicking "Continue Without Restore" I ran the command with -silent and it worked.

Fixed by this PR.


Add pyproject.toml for Custom Node Registry

We are building a global registry for custom nodes (similar to PyPI). The registry makes using custom nodes more reliable by reserving globally unique names for each custom node, and supporting semantic versioning.
Here’s some more information on the registry.
Action Required:

[ ] Go to the registry. Login and create a publisher id. Comment it here and we will update the PR (or just merge it and change it yourself).
[ ] Write a short the description.
[ ] Merge the separate Github Actions PR and run the workflow.

If you want to publish the node manually, install the cli and run comfy node publish
Please message me on Discord if you have any questions!

Hey @Koishi-Star, Saw that you merged the PR which is amazing!!!!! Just a few last steps to get you onboarded 🚀
Steps:

Go to the registry. [https://www.comfyregistry.org/]
Login and create a publisher id.
Update the toml file with your publisher ID, and publish your node either through the CLI or with GH Actions!

There's also like a 1minute video we made too teehee - https://youtu.be/WhOZZOgBggU
Let me know if there is anything else I can help with!!"


Cannot mmap "inputfile.txt" Resource temporarily unavailable

Hello,
i am trying to deduplicate a 82GB file, but i am getting the error message:
Cannot mmap "inputfile.txt"
inputfile.txt Resource temporarily unavailable
Command i use rling.exe -f "inputfile.txt" "outputfile.txt"

Most likely you do not have enough memory to process this.  Break the file into smaller chunks to deduplicate, then combine to confirm.
This can also happen if you don't have sufficient permissions for the file to be mmap'ed.

Most likely you do not have enough memory to process this
that is definitely the case, but i thought that's why the -f parameter exists.

If i split now the 82GB file in 1GB chunks, what would the rling command look like, to deduplicate all lines from all chunks?
Thank you

I don't have an 82G file handy, but to give you an idea, here is some numbers on a 13G one, containing 1,270,725,408 lines.
On my machine, it took 4.37 seconds to read the file, 8.41 seconds to count the lines, 51.30 seconds to process and remove dupes, and 72.74 seconds to write the file, and used 44G of memory with the default options.
rling -f in out took a lot longer (as expected), but used only about 120M of memory.
But you can be creative... let's say your files are called split01 through split82.  You can process the files like this:
rling split01 out/split01 split0[2-9] split[1-8]*
rling split02 out/split02 out/* split0[3-9] split[1-8]*
rling split03 out/split03 out/* split0[4-9] split[1-8]*
...
rling split82 out/split82 out/*
This will leave you 82 files in the "out" directory that are unique.  You can recombine them, but you will end up with
the same issue(s) in the future, so I would not.  Large single files are hard to handle.


Pin openshift to release-4.1 branches

/assign @mfojtik @sttts @deads2k @smarterclayton

/hold
this just updates the glide.yaml and does not do the actual dump

replaced by https://github.com/openshift/library-go/pull/401


updates/new switches in the +,-

Can you fix the errors at https://github.com/Ameliorate/KANI/runs/4058582787?check_suite_focus=true#step:6:7 ?

should be fixed now

Looks good.


Remove unmaintained Atomic Game Engine

No commits since 2018 and unmaintained as per their README.

Thanks. :-)


Consider using new endpoint routing features in ASP.NET Core 3.0

Meanwhile, do you happen to have a list of settings on-hand that we can use?
services.AddIdentityServer(options => {
    options.UserInteraction.LoginUrl = "/Identity/Account/Login";
    // etc...
})

right now, it's just trial and error with more of the latter!

You mean like docs?
http://docs.identityserver.io/en/release/topics/startup.html
docs.identityserver.io/en/release/reference/options.html

Sorry, I found exactly what I was looking for right after posting my comment and forgot to delete my question!  Thanks!

I used new "AddControllersWithViews();"  and it crashed in apsnetcore 3.0 pr9 on the autorization attribute in consent controller fixed it by adding "app.UseAutorization();" after the "app.UseIdentityServer();" in the pipeline, this is because use authentication and use autorization has been pulled appart.

Thanks for the quick reply. This is related to our previous issue https://github.com/IdentityServer/IdentityServer4/issues/4047 , which relates to our efforts to support encrypted responses (encrypted ID token + encrypted userinfo response).

IIRC there is a way to override our existing endpoints -- it's just a matter of being configured in DI in the right order.


Miscompile when attempting to |> throw

What the heck is going on here
try
    ;
catch err
    if err <? RangeError
        new StackTracingError
            `${err.message}`
            cause: err
        ||> .addCall raw
        |> throw
    throw err

(() => {
  throw (() => {
    throw err;
  })();
})()(
  (() => {
    try {
    } catch (err) {
      let ref;
      return err instanceof RangeError
        ? ((ref = new StackTracingError(`${err.message}`, {
            cause: err,
          })).addCall(raw),
          ref)
        : void 0;
    }
  })(),
);

Oh, I see what's happened. Simple |> throw isn't supported, so it instead parses as this:
(
    try
        ;
    catch err
        if err <? RangeError
            new StackTracingError
                `${err.message}`
                cause: err
            ||> .addCall raw
) |> throw throw err

|> throw sounds like a useful and simple addition (similar to |> return, |> await, etc.). Do you want to work on it?

I can certainly take a look at it later today.


doesn't install

I get a message and notification saying it was installed correctly but nothing actually installed
it installs on regular winget cli
example programs I tried:
CDS.AladinDesktop
AdrienAllard.FileConverter
Armin2208.WindowsAutoNightMode

Yes, the CLI is quitr broken, but since winget integrations are 💩, it is difficult to fix that. However, i'll try to fix that

Upgrade to version 1.0 to get this new feature


(PDB-4675) Fix deadlock issue in partitioned tables

In partitioned tables, we attempted every insertion to CREATE TABLE IF
NOT EXISTS and then INSERT the data. This caused a issue where when
processing multiple insertions concurrently, we could deadlock between
the table creation in one command processor and the insertion in
another.
This instead switched the CREATE TABLE step to be opportunistic, and
will only happen when an attempt to store the data failed with a "table
undefined" error. If multiple reports are being processed at once, we
can still see some errors in the postgresql logs about the table already
existing, but that is an example of rollbacks properly rectifying the
error.
By moving partition creation to another transaction, the insertion of
reports is returned to its previous complexity and the deadlocks no
longer occur.

CLA signed by all contributors.


GenerateEnclosure doesn't tolerate a dash("-") in serial number

I am currently working with some new hardware in our lab.  These are Atos BULL servers that have large memory footprints for SAP workloads.
After discovery runs, the job that kicks off to generate the enclosure fails with the following error:
  03cca1d8-bba1-499d-b4a1-f7788e84f5c8:
    error:
      """

        AggregateError of:
            Error: No valid serial number in SN: XAN-S18-01998
            Error: No valid serial number in SN: XAN-S18-01998

            at SomePromiseArray._promiseRejected (/var/renasar/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/some.js:67:17)
            at Promise._settlePromiseAt (/var/renasar/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:589:26)
            at Promise._settlePromises (/var/renasar/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:697:14)
            at Async._drainQueue (/var/renasar/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)
            at Async._drainQueues (/var/renasar/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
            at Async.drainQueues (/var/renasar/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)
            at process._tickDomainCallback (node.js:459:13)
      """
    friendlyName:     Generate Enclosure
    ignoreFailure:    true
    implementsTask:   Task.Base.Catalog.GenerateEnclosure
    injectableName:   Task.Catalog.GenerateEnclosure
    instanceId:       03cca1d8-bba1-499d-b4a1-f7788e84f5c8
    name:             Task.Catalog.GenerateEnclosure
    options:
      nodeId: 576c38e1af94799c6a36e238
    properties:

    runJob:           Job.Catalog.GenerateEnclosure
    state:            failed

These systems do indeed have a dash ("-") in their serial number.  Looking at generate-enclosure.js, I see a regex of the form:
[^[\w]+$]
This regex matches word characters [a-zA-Z0-9_] so the failure is because there is a dash in the serail number.
We will need to have generate-enclsoure.js updated to handle nodes that have a dash in the serial number.
I can provide more data if you need it to help with this, just let me know.

The file/line with the regex in question:
https://github.com/RackHD/on-tasks/blob/0bdeda8103ba32912ed83a3b1e36fad4eac19586/lib/jobs/generate-enclosure.js#L176

FYI @iceiilin

Story has been created in Maglev backlog to resolve this issue. at https://www.pivotaltracker.com/story/show/123272271

Fixed by modifying regex when determining serial number


Adding the contributors page to mention all the awersome people who have contributed to the website.

Is your feature request related to a problem? Please describe.
Adding the contributors page to mention all the awersome people who have contributed to the website.
Describe the solution you'd like
I will add a super awersome and professional contributors page to thanks all the people who have contributed in this repo.
@ratnesh-maurya Assign this to me under gssoc 2024 ext and hacktoberfest i will work on this issue.

can you provide me some example that how that page will look like

@ratnesh-maurya here is the video demo :-
Uploading Recording 2024-10-11 113559.mp4…
This is just a demo i will create it according to the theme and more proper

sure , go ahead ,
Make sure to add github icon in header  on clicking that user should be redirected to page which  you have made

Ya i will do that

@ratnesh-maurya You have so many errors all the dependencies are not downloaded by npm i in frontend and also you have used ts but there are so many errors in it too like type any and so i don't know if i am only finding those or so.


fix: make role scope list filter work as AND

org user list excludes super users now

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.965%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5678

Relevant Lines:
11141

💛  - Coveralls


cmd/go: occasional "failed to cache compiled Go files" when 'go list -compiled' runs in parallel

What version of Go are you using (go version)?
Go 1.11.4
Does this issue reproduce with the latest release?
It does not reproduce with Go 1.12beta1. It reproduces at tip at a somewhat lower rate. See @dominikh's comment, below.
What operating system and processor architecture are you using (go env)?
linux/amd64
What did you do?
@dominikh wrote a small reproducer: https://play.golang.org/p/ghOtMwBnGu7
It may take a few runs to fail. Clean out your build cache or use GOCACHE=/tmp/empty to make it more reliably fail.
What did you expect to see?
Calling go list in parallel should succeed.
What did you see instead?
go build <some package>: failed to cache compiled Go files

I think this happens only when -compiled is provided to go list (which is new in Go 1.11?)
The context in which this comes up is multiple tools running golang.org/x/tools/go/packages.Load at the same time. I believe the issue is in go list but possibly the bug (or at least the workaround) should be in golang.org/x/tools/go/packages.
I also believe this is much more likely to happen with an empty GOCACHE. We've mainly been seeing this our CI environment. github.com/google/wire has also been seeing this in Travis: https://github.com/google/wire/issues/66.
The effects of this issue tend to be pretty far away from the go list invocation. We've run into it via staticcheck (http://staticcheck.io/) as well as our own go/packages-using code.
I can't get this to reproduce in 1.12beta1. It would be helpful if someone can find the CL that fixed it. I think it would also be valuable if the fix could be backported to Go 1.11 in the meantime. (It does reproduce at tip.)
The ecosystem is rapidly converging on the new, go list-based way of writing tooling (typically via go/packages) so I expect this will arise often.
/cc @bcmills @dominikh @zombiezen @ianthehat

This bug has been biting us a lot as we run more and more tools in CI environments which use go/packages. In case it helps other people, the workaround we recently started using is a shim binary that passes its arguments to the go tool. If it sees that it is being called as go list, it uses a global lock file to prevent simultaneous go list executions. In CI and script environments where the workaround is needed, the fake go is put in a directory at the front of the $PATH.
I also looked into writing a GOPACKAGESDRIVER tool which would apply the same lockfile-based mutual exclusion around go list but it looked like that would require copy-pasting a lot of code out of go/packages.

I'm still seeing this failure even after upgrading to Go 1.12 -- we're encountering this error when running checks in parallel in a CI environment. The CI environment uses Go 1.12 and the checks are compiled with Go 1.12 as well. The projects use GOPATH mode (it is not a module project).
Is there anything that we can do to help with the investigation or fix for this issue?

@nmiyake If you could describe your CI environment file system, operating system, architecture and any other platform information relevant to file locking, that would be a useful data point.

This is on an enterprise deployment of CircleCI 2. The Docker image used to run the CI is the official golang:1.12 image.
Output of go env:
root@1965526c4de7:/go# go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build212534544=/tmp/go-build -gno-record-gcc-switches"

Also seeing this locally as well as on CircleCI (cloud hosted offering). Running on official Go 1.12.1 image.

Having this same problem. Our CI/CD is running golangci-lint, which underlying is the go list. Strange part is when I ssh into the box, i can run it fine, but when the program runs on its normal workflow it works
env is
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/go/src/github.com/HeadspaceMeditation/go-service-template/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build389910482=/tmp/go-build -gno-record-gcc-switches"

We're seeing this with go 1.11.5 and 1.12.5 (both the official Docker images).
After reading @cespare's comment about putting a mutex on go list, we added this go wrapper to our build process, which works around the problem nicely, letting us perform parallel builds.
#!/bin/sh

set -e

for i in "$@"; do
	if [ "$i" = list ]; then
		set -o noclobber
		while ! echo "$$" >/tmp/go-list-lock; do
			sleep 0.25
		done
		trap 'rm -f /tmp/go-list-lock' EXIT
	fi
done

/usr/local/go/bin/go "$@"

Here's one via the x/tools tests:
https://build.golang.org/log/bcf9572ff6f39f405e18be4d5f2dfea98e4764ed


feat: add temperature swarm plots

The x-axis spines need to be solved... But as a first draft I think it's cool. Also, it is possible to see that the tendency is correct since Temp=1 results are never really higher than for Temp=0
Summary by Sourcery
Add temperature swarm plots to visualize model performance at different temperature settings and update model naming conventions to reflect temperature information.
New Features:

Introduce temperature swarm plots to visualize model performance at different temperature settings.

Enhancements:

Modify the model naming convention to include temperature information, appending '-T-one' for models with temperature 1.

The x-axis spines need to be solved... But as a first draft I think it's cool. Also, it is possible to see that the tendency is correct since Temp=1 results are never really higher than for Temp=0
Summary by Sourcery
Add temperature swarm plots to visualize model performance at different temperature settings and update model naming conventions to reflect temperature information.
New Features:

Introduce temperature swarm plots to visualize model performance at different temperature settings.

Enhancements:

Modify the model naming convention to include temperature information, appending '-T-one' for models with temperature 1.

is that the final plot version @MrtinoRG ?

Very cool addition! Good to see this and good for the literature to now have a citable report of this observation :)

and actually made me aware of a potential place where we can introduce bugs due to the model namign


Stack overflow when using If label expression with long text string

Version of Archi

4.9.1 - here I don't have the problem
4.9.3 - here I have the problem
Archi Plug-ins

coArchi <IP_ADDRESS>204051232
jArchi    <IP_ADDRESS>110121451
Operating System

Windows 10
Expected Behaviour

The views named 1, 2, 3 and 4 from my model created for trouble shooting should show.
Actual Behaviour

Open view shows a red button and the message "Failed to create the part's controls"
Steps to Reproduce the Behaviour
I have copied the failing views from my model into a model I can share with you and I used script "Anonymize".
You just need to open the views to get the error.
If you want me to send the model, how can I do so?

Yes please send the model to info at archimatetool.com and also the error log.
The Error Log can be accessed in Archi by selecting the “About Archi” menu item. In the dialog box press the “Installation Details” button, then select the “Configuration” tab and press the “View Error Log” button.

Thanks for the model which I've analysed.

There is a stack overflow error caused by an infinite loop in the Label Renderer
The model opens in Archi 4.9.1 but not 4.9.2 or 4.9.3
Changes made in this commit have led to the regression: https://github.com/archimatetool/archi/commit/16893d425b3cccbe97f161ec04c10990e0a0c8a9
The model contains many uses of the expression if:${documentation} and this leads to infinite loops

A quick fix would be to open the model in a text editor and do a search and replace on if:${documentation} to something like if:${foo} and then open the model to edit the label expressions. Or use jArchi to do a search and replace.
@olwol Would you be OK to attach the anonymised model here so we can refer to it?

The strange thing is if I replace all documentation fields with placeholder text like "Some text" the error doesn't occur.

I've narrowed it down to a simple reproducible model test case. It's a combination of a long documentation field and this label expression:
${if:${documentation}:${documentation}}
test.zip
In IfRenderer it gets into an infinite loop at line 66:
private String renderIfThenElse(String text) {
    Matcher matcher = IF_THEN_ELSE_PATTERN.matcher(text);

    while(matcher.find()) { // <------ HERE
        String ifCondition = matcher.group("IF");

If the text in the documentation field is edited to reduce its length by half the problem does not occur.
@jbsarrodie Hi JB! Would you be able to investigate? 🙏

Something to do with these lines in IfRenderer:
private static final String acceptedChar = "(?:[^:\\}\\\\]|\\\\:|\\\\\\\\)";
private static final String textWithoutExpressions = "(?:\\\\:|" + notStartOfExpression + acceptedChar + ")*";

A simpler way to reproduce:
${if:A long text string:Hello}
Where "A long text string" is replaced by a long text string (say > 1000 chars or more)

I can't fix this so for the next version of Archi any errors will be caught and shown in the view as "Label Expression Error" At least you'll be able to open the View.

@jbsarrodie Hi JB! Would you be able to investigate?

Sorry, for strange reasons, notifications for this issue were routed to my spam folder, so discovering it only now. I'll look at it this week.


Fix ring buffer errors by applying ODroid Patch

Fix for https://github.com/home-assistant/hassos/issues/354
See: https://github.com/hardkernel/linux/commit/66d3985b4a0da52bbaf6da6d0a7b42890eef5b42

Hi @TonyApuzzo,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Can't you just use the coherent_pool parameter (see https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html). Add coherent_pool=1M to the cmdline.txt ?

I didn't know that was an option, I will try it as soon as I can (which will be a day or two because of ♥day.)

For me is fine to patch this


Add parent id to cloud tenants

Purpose or Intent
Support for hierarchical CloudTenant from openstack provider with keystone V3

add parent_id to CloudTenant model
get parent_id from openstack and store it to CloudTenant

Links
https://www.pivotaltracker.com/story/show/126309103
please review @Ladas
cc @gtanzillo

@miq-bot add_label wip

@miq-bot remove_label wip

/cc @tzumainn

/cc @aufi

@lpichler looks great :+1: good work Libor

specs are not failing, PR is now ready for review.

looks good to me


adding favicon icon #87

fixed issue  #87

@solanki505 try to make it better its not looking good right now.

@solanki505 try to make it better its not looking good right now.

ok i will try to make better

#87


support folder icon lib

Changes proposed:

[X] Add
[ ] Prepare
[ ] Delete
[ ] Fix

Things I've done:

[ ] My pull request fixes an issue, I referenced the issue.

Some well-known php libraries use the lib folder like the src folder.
Example: https://github.com/doctrine/cache

I'm not sure of this change. I tend to use of lib folder as a folder for libraries and seeing the same icon of the source folder would seem confusing to me. I would expect it to have some books or something like that.
@JimiC, how do you see it?

That's a good point, and actually you are right. The example I showed is an under-the-hood dependency, which doesn't to anything except providing classes/interfaces/methods/functions...
But I didn't knew about what it should look like, that's why I decided to use the plain src-icon.

We have already discussed that 'lib' folder should be non language specific and I already proposed it to be a stack of books icon referencing to a 'library'.

Okay, I'll close it till we have the icon.

Just for the sake of @JimiC's mention


In server function: Cannot destructure property 'fallbackFormat' of 'context' as it is undefined.

Environment

Operating System: Darwin
Node Version:     v22.2.0
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      ssr, build, $production, $development, modules, translation-manager, nitro, supabase, pinia, runtimeConfig, i18n, css, postcss, svgo, routeRules, imports
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
I'll provide a reproduction later but maybe someone can already help.
Describe the bug
I'm using nuxt i18n in my server route. I followed this documentation: https://i18n.nuxtjs.org/docs/guide/server-side-translations
This is my code:
async function handleLeadCreation(event: H3Event<EventHandlerRequest>) {
  const t = await useTranslation(event)
  const subject = t('email.new_lead.subject', { campaign_name: 'Summer Campaign' })
})

The error I'm getting:
ERROR  [nitro] [unhandledRejection] Cannot destructure property 'fallbackFormat' of 'context' as it is undefined.

  at translate (node_modules/.pnpm/@intlify+core-base@9.13.1/node_modules/@intlify/core-base/dist/core-base.mjs:1095:13)
  at translate$1 (node_modules/.pnpm/@intlify+h3@0.5.0/node_modules/@intlify/h3/dist/index.mjs:41:28)
  at handleLeadCreation (server/api/facebook/webhooks/index.post.ts:129:1)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Additional context
I should note that I'm also using nuxt-translation-manager. Not sure if this has something to do with the issue.
Logs
No response

Sorry, the issue was on my end! I didn't call my function with await which is why the error occurred.


PIL's ImageFont.getbbox() is NOT precise for non-english text

PIL's ImageFont.getbbox() is NOT precise for .truetype() loaded fonts and layout_engine BASIC.
December 18th, lead-up to a pre-release for "initial_multilanguage" w/ Spanish:
Keith has anounced in the SeedSigner Community telegram chat, that he identified discrepancies between what appears on the seedsigner device screen and the seedsigner-screenshots.

As user semisol pointed out: "Rendering libraries have the tendency to trade off consistency for speed"
After inspection, it was discovered that dev computers, which create the screenshots, use a PIL.ImageFont w/ layout_engine=RAQM, while the seedsigner-os and raspbian manual-builds for seedsigner do NOT have libraqm support, therefore use layout_engine=BASIC.  The results are 2 separate font.getbbox() results for the same text, font, and size.
Further, when the layout_engine is BASIC, the getbbox() results are incorrect, as seen in the image above where actual rendered text was larger than the getbbox() estimate, overrunning the screen boundary.
Since the screenshots were previously built with layout_engine RAQM, it is believed that the RAQM getbbox() estimates are much more precise than for BASIC; we didn't see text running off the edge in screenshots.

Immediate Solutions
Keith has proposed to disable RAQM support within the screenshot-generator, so that screenshots reflect what is seen on a seedsigner device.
Keith has also proposed a fudge-factor of 5%, so that returns from gettbox() are treated more like a close estimate.
See https://github.com/SeedSigner/seedsigner/pull/620/commits/60b23f3f75123770b35faa5b7f150045cee70a89

Longer Term Solutions
including support for libraqm will have better rendering and more precise getbbox() returns for multilanguage, so this should be addressed for raspberry pi.
Nick and Keith found support for https://github.com/HOST-Oman/libraqm in Buildroot:

building PIL with -C raqm=vendor and
--vendor-raqm

I tried cloning the repo, then following instructions to build on a manual-installation Raspian os... so far without success

I had troubles with meson build in that xz was not supported (had to xz -d and untar files in subprojects/packagecache)
I later had an unresponsive pi02w when running ninja -C build but maybe it'll finish...

Note also that if I'm understanding this right, libraqm is required for PIL/Pillow to be able to render right-to-left (RTL) text (e.g. Hebrew, Arabic).

libraqm provides bidirectional text support (using FriBiDi), shaping (using HarfBuzz), and proper script itemization. As a result, Raqm can support most writing systems covered by Unicode.
libraqm depends on the following libraries: FreeType, HarfBuzz, FriBiDi, make sure that you install them before installing libraqm if not available as package in your system.
Setting text direction or font features is not supported without libraqm.

see: https://pillow.readthedocs.io/en/latest/installation/building-from-source.html#external-libraries
We hope to include RTL languages in (just guessing here) late 2025, early 2026. So there's added motivation to getting libraqm built for the Pi Zero architecture and incorporated into our buildroot-based SeedSigner OS.

A bit outdated, but maybe useful when building: https://github.com/python-pillow/Pillow/issues/4496#issuecomment-606022338


global  reconnect / retry mechanism

Hi Semen,
is there a feature, wich allows global reconnects / retries for server side streams?
the basic reconnect, i am implementing is getting a bit tedious:

every stream subscription is assigned to an attribute.
on completed an unsubscribe and a re-subscribe is performed.
of course on network issues there should be a callback/test to navigator isonline or something like timeouts so that the reconnect is only triggered if the device is online again or can ping the backend etc.
this manual approch works fine, but it would be great if there is a way to configure / use a global reconnect/retry mechanism.

Thank you very much!

Hi @RobinKamps ,
there is no built-in feature, but it is kinda built-in feature of the rxjs.
This is an example of what I normally use (not globally, just in place):
    this.client.listen(new MyRequest())
        .pipe(
          // infinitely retry in 3 seconds in case of error
          retryWhen(errors => errors.pipe(
            tap(() => this.status = null),
            delay(3000),
          )),
        )
        .subscribe(() => /* here is your logic */);

If you need this to be enabled globally, just transform this code into an interceptor. Note, that interceptor's observables do not throw errors, so you might need some step before which looks for particular status codes and transforms them into errors. This is actually way more flexible approach because you can also limit reconnection to the specific status codes, e.g. to reconnect only on networking issues.
Please keep in mind that having global interceptor is good for most of the cases, but it will also make it problematic to switch it off for the particular requests. It might be more comfortable in the beginning but some day you might regret it.

Thank you very much.
i already tried the retryWhen operator, but could not get it to work to reconnect on completed for streams.
Your hint about transforming into errors (e.g. throwError), so that retryWith can pick it up, was helpful.
Now its working as expected.


ArrayOutofBoundsException

It's me again, have a crash report for you:
http://pastebin.com/FUgJpMv4
Forge: 1566, ResourcefulCrops: build 20

I can confirm that this is fixed in build 23 thanks.


Add support for DynamoDB

I have a working dynamodb client. If you found it useful I can make an MR. I used it for clean up stuff created by load test or prepare data for test?

Hey @james4388
We welcome every contribution, and I'm sure that if you found it useful enough to implement it, other users will too 🤞🏻
Thus, feel free to open a PR if you have the bandwidth for it. We'll make sure to review and provide support toward merging it 👍🏻


Can't display chinese in right way

Hyper 1.3.1
Electron 1.4.15
win32 x64 10.0.16179
My system language is Chinese. I got those problems:

The chinese words overlap each other, can't see anything.
And when I use the "cls" command, the chinese words is still on it's last position, not disappear.

You can see both problems in this screenshot.

duplicate of #1535

Closing as duplicate of #1535
Thanks for the info


[AKS][DO NOT MERGE] Update the implementation of aks create to adopt a new decorator pattern

Description

Update the implementation of aks create to adopt a new decorator pattern.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

AKS


Call CheckMnbAndUpdateMasternodeList when when starting MN

Otherwise the invoking node won't have nCollateralMinConfBlockHash
updated correctly, resulting in the MN showing up in the wrong position
when masternode ranks are calculated.

I was trying to remember why we had UpdateMasternodeList for rpc/gui only in the first place and IIRC CheckMnbAndUpdateMasternodeList was too slow for MNOs with huge number of MNs back then. This should no longer be the case AFAIK, so I think we should probably get rid of UpdateMasternodeList completely and replace all of its occurrences with CheckMnbAndUpdateMasternodeList for consistency sake while we are at it (there is one in masternodebroadcast relay rpc and two more in qt/masternodelist.cpp)

Added a commit on top to get rid of UpdateMasternodeList completely