HOW TO RUN THIS REPO

hey there i am new here . Can you help me in running this repo .
i have cloned the repo and built .
i would like to know the commands needed to run this.
the commands that i used are :

Playing the 'ros2 bag play walking_dataset/' failed. You need to specify the correct path to the bag file.

Hi, how can I find the bag file please? Is it in the repo?

The link to the rosbag can be found in the readme.md file in the repo.

The issue appears to be resolved, so I am closing it. Thank you.


Bugfix/yousong multibyte char

这个 PR 实现什么功能/修复什么问题:
appsrv: 反转义path segs
guests: detachnetwork时支持以名字指定network

是否需要 backport 到之前的 release 分支:

release/2.10.0

/area region

Codecov Report

Merging #2495 into master will increase coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff            @@
##           master   #2495      +/-   ##
=========================================
+ Coverage    7.07%   7.07%   +<.01%
=========================================
  Files         456     456
  Lines       71889   71892       +3
=========================================
+ Hits         5085    5088       +3
  Misses      66386   66386
  Partials      418     418

Flag
Coverage Δ

#aFlag
7.07% <75%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/guest_actions.go
0% <0%> (ø)
:arrow_up:

pkg/appsrv/appsrv.go
45.99% <100%> (+0.57%)
:arrow_up:

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 065f439...6583d52. Read the comment docs.

/lgtm

/approve


Add better docs to README focusing on experience on connected vs disconnected systems

Please document the user experience better on the README. I would ideally like to see the example walk through the scenario of a) grabbing all the dependencies and b) then deploying those dependencies as a cluster. I don't think we do a great job of showing the value of hauler in the current docs form.

Closing as resolved due to https://github.com/rancherfederal/hauler-docs


temporary fixes to CDN feed helper which avoid the broken CDN server

This is related to the issues in Ssl err #742
Spotify has included a server (audio4-gm-fb) in their CDN rotation which has several issues:

It has a new Expires format which has been resolved in #736
It has a bad SSL cert which resolves to 'audio-gm-off'
It does not properly serve chunks even when those issues are bypassed

This patch watches for the server to be selected, and when it happens, forces a re-selection.  This retains the random logic for CDN selection.
Hopefully Spotify will fix this on the back-end and these patches will no longer be needed

Thank you!

FWIW, I cherry-picked this commit into my local copy and librespot-java now works much better & reliable. Now listening for several hours already without any interruptions.
Thanks @tagdara!

Thank you!
@tagdara I didn't get much into the code yet, but I think it would be more reliable to catch the CDN failure, and then reselect another CDN server while also keeping a dynamic list of the failed CDNs with some TTL that could be selected again after a few hours / days. I think it's better than having to maintain a list of bad servers in code. I know it's a temp fix, but maybe it's a good aproach for the long-run.


Update Jenksinfile.pdx support build macOS and iOS

Description :

Jenkins can not build macOS and iOS framework.

After this PR :

Jenkins can build macOS and iOS framework.
Upload all frameworks and debug Symbol to  artifact server (jfrog).
Support build with export BranchName or TagName.
libjingle-build use master branch.

Related PR :
None
TBD :
None

@AtinYehUI I suggest we merge PR when all platforms build ok

@AtinYehUI I suggest we merge PR when all platforms build ok

👌 Just Pending the PR.
If all platform can pass , then I will tag all reviewers.

Hi @ogsts @UI-RayanWang
Update Linux Platforms build webrtc module.
Help to review Dockefile and Jenkinsfile.pdx.


Updates Provider versions

This PR switches the base Terraform version from 0.12.20 to 0.13.x and updates the AWS Provider to 3.4.0.
I've also updated the examples to use underscores (_) instead of dashes (-) to separate resource names. This brings the code more in line with current best practices.
I intend to release this as module version 1.2.0.

So, @ksatirli - it looks like region went to the big farm in the sky 👼🏼 😄
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket


feat(model): support minicpm-v-2

PR type

[ ] Bug Fix
[ ] New Feature
[ ] Document Updates
[x] More Model or Dataset Support

PR information
Write the detail information belongs to this PR.

support minicpm-v-2
fix minicpm-v template when multi round

Experiment results
Paste your experiment result here(if needed).

@Jintao-Huang Hi, We have adapted our latest minicpm-v-2 to swift, could you please help us with code review?


Show values in case of error (for some checks)

Too see what value is causing the error. Helps in debugging.
I added the values just for some constraints (I needed urgently). If this approach is OK I can add them to all/more constraints. (And add some tests etc.).

Closed due to age


ndarray.max() method in nopython is order-dependent with NaN

Reporting a bug

[x] I am using 0.43.1
[x] I have included below a minimal working reproducer.

Observed behavior
from numba import njit
import numpy as np

@njit
def nm(x):
    return x.max()

a = np.array([5.0, np.nan])
print(nm(a), a.max())
a = np.array([np.nan, 5.0])
print(nm(a), a.max())

5.0 nan
nan nan

Same behavior observed with .min. Testing with datetime64 is also inconsistent.
Expected behavior
Expect compatibility with numpy, and that a min/max function returns the same result regardless of order.
Numpy handles datetimes differently; NaT is ignored if possible, but will be returned if it's the only value. (So numpy NaNs are treated as most extreme, but NaT is treated as least extreme.)
Possible fix
In this function:

add a fork for Floats to check isnan and return it immediately.
add a fork for Datetime to check for NaT and skip.

Thanks for the report, I can reproduce, this is an algorithmic bug.


Add tags

https://discourse.pbbg.com/t/standardized-tags/259
Also allow user suggested tags?

This seems to be more for the directory, will look at the future of implementing this.


Do not add bad connections back to pool (fix for #452)

See #452.
This is a hacky workaround proof-of-concept conversation starter that
fixes the issue, but should be done in a cross-dialect way, and it
should also include tests.

@elliotf is this one still good to be merged?

an other problem is "what's happening to query using this bad connection ?" : Promise is never resolved or rejected ...

Hi, I started going through old pull requests and get them merged if possible or close otherwise if they are not going to be finished.
@elliotf do you think this is still relevant? If so, conflicts needs to be fixed also there was already couple of code comments. If PR is fixed I'll give it a review too.

Closing this for now since this hasn't been active, lets open this again if work continues... @wubzz does your changes to pooling do anything related to this issue?


How use the minivit to object detection ? Need how to change code ?

hi, authors, the minivit is a very good job. So i try use it to my job about object detection, And have a question how to change the code,
I change the head layer of minivit to detection layer, only use minivit to learning the image feature, and gives the ground truth object
coordinates, for example xmin,ymin,xmax,ymax; So can you achieve object detection by doing this ?
Thanks.

Close it. Feel free to reopen it if any problem exists : )


Update recommended tools for back end challenges

c9.io has been acquired by AWS and now requires the use of a credit card. Heroku also requires the use of a credit card for hosting - and also requires learning a bunch of Heroku-specific concepts - so it was never an optimal solution either.
Many people outside of the US (and many people under the age of 18) do not have credit cards, and are understandably intimidated about entering them into services where they could screw up and end up owing hundreds of dollars.
So let's step back and examine the underlying goals. We want campers to be able to:

build the back end projects
tie in databases and other services as necessary
host these projects somewhere permanently accessible

Essential tools for these projects
Development:

c9.io (free, requires credit card)
local development on machine
hyperdev.com (free)

Hosting:

Heroku (free, requires credit card)
hyperdev.com (free, no credit card)
AWS (free for 1 year, requires credit card - https://aws.amazon.com/free/)

Mongo databases:

MLAB (free 0.5 gb, no credit card)
Compose (free 30-day trail, requires credit card)

Cloud development
My thinking at this point is that we could recommend HyperDev for development and hosting, and MLAB for the database. This setup would be free, with no credit card required. As far as I can tell, HyperDev projects remain publicly accessible indefinitely, so these URLs could be submitted as the live demo links.
The main drawback with this is HyperDev is a limited environment (it's just Node, without Git, Linux, and many of the features of c9.io). But this limitation actually makes it much easier to use for beginners, in the same way that CodePen and JSBin abstract away file systems and web servers. HyperDev is essentially CodePen for Node.js development.
Local Development
I also recommend we finalize a good tool for Node/Express development. In the past we've explored Vagrant and Docker.
We could even create an image that we could load onto a bootable USB with Linux. This way, people who only have access to Windows machines (or public computers) could do their work right on a USB. They wouldn't need to download gigabytes of files.
We could put the images for these bootable drives on Bit Torrent and even distribute the USBs in bulk through mail to Campsites.
I'm looking forward to hearing your thoughts on this.

The problem with the USB drives is that many campers wouldn't be able to figure out how to boot from them.
I think the vagrant / docker option would work better as it will work on any operatib

With vagrant/docker, I am willing to go with docker; though docker is mainly for deployment and less for development. But if we are adding feature to remove and modify stuff on the fly; we should do a cloud build.
As @zcassini mentioned, Chef/Ansible handles all these better. We initially did it with Shell script for it's lightweight. We can do it with Python too (I think we started on that), as long as we can bundle as .exe for Windows reliably on most common platforms - Win 7, Win 8.1, Win 10.

We have two issues here:

How to host the FCC backend challenges for different languages, with sources accessible (or not, I don't know your point on this) to the user
How the user would be able to develop the challenges (I don't mean small exercises, but projects) by himself and share the result...

For the first point, the solution of the cloud development may be a good idea if we find a service with an easy access for maintenance (git/ssh at least, + language specific requirements)
For the second point, the local development is a solution if we write tuts for the user to set up a virtual machine on his/her computer. Vagrant is a good option as there are already a lot of websites that proposes distributions for coding in specific languages (puphpet, chef,...)
What I think is "getting started with backend has always been hard, even if there is more servers and tools around". Configuring servers is part of the backend development, in my opinion, so the only way would be to write tuts to get them ready. It's painful, but it's in the FCC disclaimer :)
For small exercises, I proposed earlier a solution with compiled js from languages sources, that can be tested against the Repl.it API. the proof of concept worked, except for languages that needed "project mode" (multiple files, not supported by the API at this time. Maybe it evolved now). That solution is integrable in the FCC website easily, as it's only JS.

If one develops locally and needs feedback from peers on how the app is behaving; one could also use ngrok to provide a URL to the running app.

@alayek: And code on github with the vm config files, so it's easy for everyone to test and help.

Heroku lets you have 5 sites without giving them a credit card.  Redhat's Openshift.com  will give you 3 free sites without a credit card.    So that should cover hosting no matter the projects language.  Unfortunately it is two more things for students to deal with.
My heroku acccount is years old though so maybe new ones don't get 5 free sites?
http://www.koding.com/ provides an online ide like cloud9 that can get students coding immediately and make pair programming an easy activity.
Docker is 64bits only.   Who knows how many students that would rule out.
Cloud9 stated they should have  a solution for educational organizations in a few weeks.  So we might be right back to where we were.

codenvy.com  offers an online ide.   it's  similar to cloud9 but not as nice.

I wish to just point out some comparisons between browser based env and local env.
I would propose to use local env setups since you can use that to generate cloud based env. But not so the other way around.
The project a couple of us did a few months back, zenias, could be extended to this purpose. We just need to code once and it can be cloned by FCC campers to initially setup dev, test, and deploy environments with an unified command line system. Later when they are more confident and have done some projects, we will introduce step by step guide on how to create their own envs and how it is done manually and why it is important to automate infrastructure.
I have my own fork which is working for a few languages, it is still in bash since it was so fast for me to write. zenias
For better maintenance we can write this tool in Python or Node, I don't mind which language. It can be compiled to Windows exe and pretty much any OS distribution. I learned how to use Salt to provision so I can contribute to that. The only domain of knowledge we need to learn is Docker now but we can just start with virtual box straight away. It is possible to spin up a AWS EC2 based development environment inside a Vagrant. By extension there are lots of other providers that Vagrant supports. I think heroku would also be possible. Not sure if that is natively supported.

I won't speak of Zenias as it's irrelevant for this. It relies on Heroku and Github, and as @QuincyLarson stated, heroku requires credit card. So that's a no-no option for students.
I believe there is already a lot of tool online to propose great virtual machine solutions:

PHP: puphpet

To be clear, Heroku may give you free apps, but in order to hook into any services (such as MLAB) you would need to enter a credit card. So in practice, Heroku requires a credit card.

@mtancoigne Servers aren't necessarily a part of back end. Back end development involves APIs and databases, and servers are more the realm of ops or devops. These can be taught in isolation. Our current back end curriculum recommends Heroku, which essentially abstracts away the notion of servers.
HyperDev would be even better. It can export directly to GitHub. So this means campers could focus on Node, Express and Mongo, and learn the intricacies of Git and Linux later.
I just exported my HyperDev project to GitHub - check it out: https://github.com/QuincyLarson/hyperdev-test

I think hyperdev is good for the API challenges but it doesn't have enough functionality for the Web app projects.

@atjonathan This is in theory possible. I've tweeted to see whether anyone wants to give it a try: https://twitter.com/ossia/status/756290723331190785

@quincylarson cool :tada:

@QuincyLarson can we have someone reachout to some of these hosting/ide companies.
They should be chomping at the bits to be the goto solution for FCC.
It'd be interesting to find out the conversion ratio Codepen gets from FCC students.

@QuincyLarson one of my full-stack projects ported to hyperdev
https://jewel-back.hyperdev.space/
https://hyperdev.com/#!/project/jewel-back
I used react, but i had to manually pack all the components in a single file. Probably it's possible to bundle them automatically from separate files using browserify-middleware or require.js, but I don't know exactly how to do it. Hope it helps, bye.

Hello capers...
Is there any news on this topic... hyperDev looks like great option for replacement... but is there any confirmation that we should use this and that this will be added to the course and videos... and assignments too??? I am bit confused now and don't know where to start with back end... some help???

@FatKoala, I can confirm we will be using hyperdev for all our api challenges and dynamic web application challenges. We will be updating the getting started challenges with the new requirements etc. very soon.

Thanks, this is helpful information :D i am exited to get started :D

thanks a lot XD

Any chance we could use http://codeanywhere.com in this matter? I haven't really tested anything javascript-related within their containers but you can run a wordpress installation without issues in there.

@josevill they do require you to create an account, which HyperDev does not. They may be a good alternative to c9.io but I think HyperDev is far more accessible than c9.io so we will recommend that. We've already built a significant portion of our curriculum around it.

I like HyperDev (now called Gomix, FYI).
Just to offer additional options, I've used a combination of CodePen  and Firebase  to create simple apps before. You need an account on CodePen and a Google account for Firebase. You can do this all without CodePen even. Just make sure you set up Firebase authentication so only signed up users can read/write, and you're good to go!

@Nezteb awesome! I've heard of people doing pretty cool things with Firebase. It does definitely simplify the back end aspect of projects.
We have almost finished our new back end curriculum, which uses Gomix (formerly HyperDev). We will have a big announcement about this soon. I am going to go ahead close this issue for now.

Why is this issue closed? Clearly still a problem.
https://www.freecodecamp.org/challenges/save-your-code-revisions-forever-with-git


First try to add custom certificate support.

So here's the PR what I'm trying to achieve.
When I call elasticdump directly, it works as expected:
0369497e1886:/# elasticdump --input=https://elasticdump:elasticdump@elasticsearch:9200/testing* --output=/testi/testing.json --tlsAuth --cert=/cert.pem --key=/key.pem --ca=/ca.pem
Mon, 06 May 2019 08:20:44 GMT | starting dump
Mon, 06 May 2019 08:20:44 GMT | got 100 objects from source elasticsearch (offset: 0)
Mon, 06 May 2019 08:20:44 GMT | sent 100 objects to destination file, wrote 100
Mon, 06 May 2019 08:20:44 GMT | got 87 objects from source elasticsearch (offset: 100)
Mon, 06 May 2019 08:20:44 GMT | sent 87 objects to destination file, wrote 87
Mon, 06 May 2019 08:20:44 GMT | got 0 objects from source elasticsearch (offset: 187)
Mon, 06 May 2019 08:20:44 GMT | Total Writes: 187
Mon, 06 May 2019 08:20:44 GMT | dump complete

But when I call multielasticdump:
0369497e1886:/# multielasticdump --input=https://elasticdump:elasticdump@elasticsearch:9200 --output=/testi --match='^(?!\.).*$' --tlsAuth --cert=/cert.pem --key=/key.pem --ca=/ca.pem
Mon, 06 May 2019 08:29:24 GMT | We are performing : dump
Mon, 06 May 2019 08:29:24 GMT | options: {"debug":true,"parallel":2,"match":"^(?!\\.).*$","input":"https://elasticdump:elasticdump@elasticsearch:9200","output":"/testi","scrollTime":"10m","timeout":null,"limit":100,"offset":0,"direction":"dump","support-big-int":false,"ignoreAnalyzer":false,"ignoreData":false,"ignoreMapping":false,"ignoreSettings":false,"ignoreTemplate":false,"ignoreAlias":true,"ignoreType":[],"interval":1000,"prefix":"","suffix":"","transform":null,"searchBody":null,"cert":"/cert.pem","key":"/key.pem","pass":null,"ca":"/ca.pem","tlsAuth":true,"input-cert":null,"input-key":null,"input-pass":null,"input-ca":null,"output-cert":null,"output-key":null,"output-pass":null,"output-ca":null}
Mon, 06 May 2019 08:29:24 GMT | Error: unable to verify the first certificate

@ferronrsmith do you have any idea why this doesn't work?

did u test this with your branch ? Seems current. Try running it inside the folder
./bin/multielasticdump

Yes, I am sure about the branch and the multielasticdump executable.

That’s strange, can your run it debug mode and post the output ?

Debug is already enabled in the first post, at least it says "debug":true.
Same results if I add --debug.
Thank you for looking into this :)

the debug isn't being passed through to elasticdump. The debug multielasticdump isn't verbose enough.

I added --debug=${options.debug} at the end of each fork args but I get the same results.

trying to avoid creating a proxy to test this, but I might have to.
Test this PR : https://github.com/taskrabbit/elasticsearch-dump/pull/544.
If it doesn't work then I'll configure a proxy to test.

trying to avoid creating a proxy to test this, but I might have to.

I know, I am trying to provide as much information as I can so you wouldn't have to set it up :)

Test this PR : #544.

Same results:
# ./bin/multielasticdump --input=https://elasticdump:elasticdump@elasticsearch:9200 --output=/root/elasticdump-data --tlsAuth --cert=/root/certs/cert.pem --key=/root/certs/key.pem --ca=/root/certs/root-cert.pem
Thu, 16 May 2019 06:09:06 GMT | We are performing : dump
Thu, 16 May 2019 06:09:06 GMT | options: {"debug":true,"parallel":2,"match":"^.*$","input":"https://elasticdump:elasticdump@elasticsearch:9200","output":"/root/elasticdump-data","scrollTime":"10m","timeout":null,"limit":100,"offset":0,"direction":"dump","support-big-int":false,"ignoreAnalyzer":false,"ignoreData":false,"ignoreMapping":false,"ignoreSettings":false,"ignoreTemplate":false,"ignoreAlias":true,"ignoreType":[],"interval":1000,"prefix":"","suffix":"","transform":null,"searchBody":null,"cert":"/root/certs/cert.pem","key":"/root/certs/key.pem","pass":null,"ca":"/root/certs/root-cert.pem","tlsAuth":true,"input-cert":null,"input-key":null,"input-pass":null,"input-ca":null,"output-cert":null,"output-key":null,"output-pass":null,"output-ca":null}
Thu, 16 May 2019 06:09:06 GMT | Error: unable to verify the first certificate

And with elasticdump:
# ./bin/elasticdump --input=https://elasticdump:elasticdump@elasticsearch:9200/test* --output=/root/elasticdump-data/test.json --tlsAuth --cert=/root/certs/cert.pem --key=/root/certs/key.pem --ca=/root/certs/root-cert.pem
Thu, 16 May 2019 06:17:25 GMT | starting dump
Thu, 16 May 2019 06:17:25 GMT | got 100 objects from source elasticsearch (offset: 0)
Thu, 16 May 2019 06:17:25 GMT | sent 100 objects to destination file, wrote 100
Thu, 16 May 2019 06:17:25 GMT | got 87 objects from source elasticsearch (offset: 100)
Thu, 16 May 2019 06:17:25 GMT | sent 87 objects to destination file, wrote 87
Thu, 16 May 2019 06:17:25 GMT | got 0 objects from source elasticsearch (offset: 187)
Thu, 16 May 2019 06:17:25 GMT | Total Writes: 187
Thu, 16 May 2019 06:17:25 GMT | dump complete

NB: Have you tried using the full path to the cert ?

Yup.

Ok thanks I’ll just have to do a full test end to end

Ok found the issue. Can you retest PR https://github.com/taskrabbit/elasticsearch-dump/pull/544.
Thanks for being patient

Damn, I still get the same...

u got the latest code ? are u sure ?

I removed the elasticsearch-dump folder I had cloned before, cloned your repository again and called:
git pull origin pull/544/head:544
Changed to the PR branch by calling:
git checkout 544
Checked that the elasticdump and multielasticdump executables has the most recent modifications and ran the multielasticdump locally (./bin/multielasticdump bla bla).

According to the docs, this error only suppose to happen if the cert is invalid
Run the following command, then re-run multielasticdump and see if it works.
export NODE_TLS_REJECT_UNAUTHORIZED=0

So after ignoring the certificate warnings, it works.
But why...
The certs works great with elasticdump and other clients.

Wondering if the very is somehow invalid or not being validated by the CA

hard to say without the cert, but my guess is that it wasn't validated with a CA.

The certificate is fine, it works with Logstash, Elastic Curator and ElastAlert. I can manually verify it against the CA certificate with openssl verify. And it also works fine with elasticdump, but not with multielasticdump.
Anyway, I have just left for paternity leave so thank you for merging this feature and I might check on it later on in the fall.

Ok np and congrats 🎉.


[relates #37] Load github user credentials from json settings

still working progress, opening PR for discussion

I got it working by including userDetails section in test_config.json file
  "users": {
    "camilla": {
      "username": "login",
      "password": "password",
      "userDetails": {
        "email"<EMAIL_ADDRESS>        "firstName": "Syndesis",
        "lastName": "QE"
      }
    }
  }


Fix the example code indentation on the home page

Fixed the indentation (and formatting) of the example code on the home page

Duplicate of #779

Thanks - fixed in https://github.com/denoland/deno_website2/commit/e762d14d5c5bcc2beaa045467833d3f05ef916e4


Async/await waker support.

This adds register_recv_waker and register_send_waker methods to all socket types.
This is the minimum required changes to smoltcp to support being used in async/await code. This opens the door for higher-level crates that expose wrappers implementing async traits like AsyncRead/AsyncWrite, Future, Stream...
I believe this is the best way to go, because:

It is not clear which traits should smoltcp implement:

The std ecosystem has multiple competing incompatible traits, mainly tokio and futures.
The no_std ecosystem hasn't converged on any standard io traits yet. The tokio and futures traits aren't no_std compatible.

There are non-trivial tradeoffs when implementing async support: how are sockets allocated, is there a single global tcp/ip stack or multiple, how are lifetimes handled.

By delegating these choices to external crates, smoltcp can stay un-opinionated.
There's an example of using this to implement AsyncBufRead and AsyncWrite in embassy here. Wrappers for the tokio or futures traits would look very similar. The use of unsafe there is not necessary in theory, AsyncRead and AsyncWrite can be implemented in 100% safe Rust. AsyncBufRead probably will require unsafe in most cases, unfortunately.
Previously discussed on #382 and #267 .

Now moved here https://github.com/embassy-rs/embassy/blob/master/embassy-net/src/tcp_socket.rs

All the previous embassy links are broken.
Here is an example of using await with embassy, but this is with a serial port not a TCP socket, but the principals may be the same:
https://github.com/embassy-rs/embassy/blob/53fbd0efb3e77e1e3de948afde2b5bf1a5a9735f/examples/std/src/bin/serial.rs#L25

This example link shouldn't break unless they re-write history:
https://github.com/embassy-rs/embassy/blob/79cbad501c6e6166d0e53ab33b2401a674ee9f31/embassy-net/src/tcp_socket.rs#L23


8-Character Limit for Language Names in i18n/

An error makes it impossible to create a language with a name longer than 8 characters, an error that occurs when trying to create a file with a name longer than 8 characters in i18n/:
Start building sites …
hugo v0.133.1+extended linux/amd64 BuildDate=unknown

Total in 30 ms
Error: error building site: "art-x-123456789": language: tag is not well-formed

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.133.1+extended linux/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?
Yes

https://gohugo.io/functions/lang/translate/#translation-tables

Private use subtags must not exceed 8 alphanumeric characters.

gohugo.io/functions/lang/translate#translation-tables

Private use subtags must not exceed 8 alphanumeric characters.

Adding a key to set a custom path for each language would be very useful then 🙏
Use case: We are working on a website for students at Sapienza University of Rome, and we are using languages as versions, one for each degree program. Therefore, we would like to have https://sapienzastudents.net/computerscience/ for the Computer Science Master's Degree version of the website, instead of the current https://sapienzastudents.net/29932/, which we are using because we can't have language names longer than 8 characters.

Adding a key to set a custom path for each language

See https://github.com/gohugoio/hugo/issues/9404


Added spawnRef and spawnLinkedRef for passing by reference through spawn

It is often useful to pass a mutable by reference type to the spawned
thread, the need to have to use a raw pointer before this patch made
the syntax boring and not in line with the rest of the DLang style
(use pointer as little as possible).
With this patch it will be possible to write code like this:
import std.concurrency : spawnRef;
import core.atomic : atomicOp;
import core.thread : thread_joinAll;

static void f1(ref shared(int) number)
{
  atomicOp!"+="(number, 1);
}

shared(int) number = 10;
spawnRef(&f1, number);
thread_joinAll();
assert(number == 11);

Instead of the boring:
import std.concurrency : spawn;
import core.atomic : atomicOp;
import core.thread : thread_joinAll;

static void f1(ref shared(int)* number)
{
  atomicOp!"+="(*number, 1);
}

shared(int) number = 10;
spawn(&f1, &number);
thread_joinAll();
assert(number == 11);

This PR is an alternative of https://github.com/dlang/phobos/pull/7124

As mentioned in the other PR, I'm not sure of this at all.

I don't know, everyone does not like the previous PR and currently does not pass all the tests yet

I don't know, everyone does not like the previous PR and currently does not pass all the tests yet

I'd been previously miffed by not being able to use spawn with ref functions, so I like the premise of it. A separate function that uses ref is not something I think is useful and, at this point, unlikely to convince me to add to Phobos.

@ErnyTech @atilaneves How should we move forward here? Should we close this?

Is there a reason why it has to have a different name?

Sorry but currently I can no longer take care of this, I think it is better to close this.
If someone else intends to continue they can open a new PR

Filed: https://issues.dlang.org/show_bug.cgi?id=21848
Closing.


Add files via upload

Cosmos College of Management and technology,
Affilated to Pokhara University,
+977-01-5151704

@Bishalsingh First stage of verification passed, official domain is cosmoscollege.edu.np as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Bishalsingh Thank you for your patience while waiting for a review and processing your request. Pull request merged.


svg: handle spaces inside the text node

seems that multiple spaces should be treated as single ones, at the beginning/end all should be ignored (before/after tspan are treated as in the middle of the text)
tt.svg.zip

Here are some comments on this
https://razrfalcon.github.io/notes-on-svg-parsing/text/whitespaces.html


amplify console undocumented in cli for a reason?

Running amplify or amplify api does not produce the console command in cli help.
Is this intentional? I had only known of its existence by stumbling upon it in the docs somewhere.

@mlabieniec amplify api does infact support the console command but it isn’t documented as a sport of the cli help commands or mentioned in the docs specifically.

@kaustavghosh06 what i mean is. If you type amplify api help in the terminal. It does not show console as an option:
amplify api <subcommands>

  add                      Takes you through a CLI flow to add a api resource to your local backend
  push                     Provisions api cloud resources and it's dependencies with the latest local developments
  remove                   Removes api resource from your local backend which would be removed from the cloud on the next push command
  update                   Takes you through steps in the CLI to update an api resource
  gql-compile              Compiles your GraphQL schema and generates a corresponding cloudformation template
  add-graphql-datasource   Provisions the AppSync resources and its dependencies for the provided Aurora Serverless data source


Read content from markdown file

Read the content from markdown file in sub pages.
Example : If I am clicking the home page below link like introduction topic , it will redirect topic details page, in this page we have read the introduction markdown file and displaying the content.

Goto this page https://10seconds.netlify.com/javascript-objects
For this page we have content in https://github.com/10secondsofcode/10secondsofcode/blob/master/src/content/javascript-objects.md.
So we have to read the javascript-objects.md file and displaying the content in https://10seconds.netlify.com/javascript-objects.
It should works dynamically for all pages like if we add topic in content folder, it will read and displaying content corresponding page.

Hi, I would love to take this, but can you explain a little bit more about this.
Thanks

@deepansh946 thanks.

Goto this page https://10seconds.netlify.com/javascript-objects
For this page we have content in https://github.com/10secondsofcode/10secondsofcode/blob/master/src/content/javascript-objects.md.
So we have to read the javascript-objects.md file and displaying the content in  https://10seconds.netlify.com/javascript-objects.
It should works dynamically for all pages like if we add topic in content folder, it will read and displaying content corresponding page.

Hi, I would like to work on this, please

Hi, I would like to work on this, please

sure @giatuongtran9


Support parsing SCTP port mapping

please see https://github.com/moby/moby/pull/33922

Signed-off-by: Wataru Ishida<EMAIL_ADDRESS>

CI failure after rebase is unrelated

opened https://github.com/docker/go-connections/pull/47

rebased


Small change = Big help

Hi,
First of all big thank you for the plugin, it's really fantastic.
One small code change in the Indexer would help a lot.
If you could add a check in the method addOrUpdate after getting the $data from the _build_document:
if (!empty($data)) {
           $type->addDocument(new \Elastica\Document($post->ID, $data));
}

That would allow us to return an empty $document from the "elasticsearch_indexer_build_document" filter and exclude items from the index based on certain criteria (specific post_type, meta_value etc.)

Add the change as a pull request, and I'll merge :)


Stack overflow with %trace magic

Describe the bug
I saw that the %trace magic got merged into master recently, and went to try it but can reliably stack overflow it.
To Reproduce
Steps to reproduce the behavior:

Run the snippet below in a notebook

open Microsoft.Quantum.Arithmetic;
open Microsoft.Quantum.Convert;

operation TestCrash() : Unit {
    using (addressRegister = Qubit[1]) {
        ApplyPauliFromBitString(PauliX, true, IntAsBoolArray(0, 1), addressRegister);
        ResetAll(addressRegister);
    }
}

Run the trace magic

%trace TestCrash

I set  $env:IQSHARP_LOG_LEVEL = "Debug" and  can watch it stack overflow each time I run the trace magic.
Expected behavior
A pretty drawn circuit showing what got run in my program
Screenshots
You can see the dead kernel badge in the top right

System information

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Thanks for the testing this feature and catching this bug, Dr. Kaiser! I've submitted a fix here.


CI to pack CUDA dependencies for cortex.tensorrt-llm

Overview

Ref discussion #1046
Sub-task of #1072

Reassigning to this @namchuai (engines install owner) and @hiento09 (CI owner)

Closing all open Tensorrt-llm stories due to TensorRT-LLM not supporting Desktop
Parent issue: https://github.com/janhq/cortex.cpp/issues/1742


Update specs2-cats, specs2-core to 4.12.3

Updates

org.specs2:specs2-cats
org.specs2:specs2-core

from 4.6.0 to 4.12.3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2" } ]

labels: library-update, semver-minor

Superseded by #159.


fix: bump packages

Upgrade packages to fix vulnerabilities.
Tested locally.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Liam Lavelle seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Allow zero and null values

I noticed that I can have zero value or null value but not the both.
If the user is permited to delete all the values so this could be an empty value to be submited instead of keeping zero (if zeroAllowed = true)
Is there any solution for this at the moment?
Thanks

+1

i made a little adjustment to the .js by the line 335 where you check if the key pressed is the backspace it checks if the input value is "0.00', it makes de input value ""
it's important that it checks the value before changing it, so you can have the 0.00 value

Thanks for your note. This is for the old version of the plugin. The new version includes this by default.

Hi everyone,
I`m using this version: https://cdnjs.cloudflare.com/ajax/libs/jquery-maskmoney/3.0.2/jquery.maskMoney.min.js
and I simply pass the parameter allowZero:true and worked perfectly.
E.g.:

$("#myId").maskMoney({allowZero:true});
Hope this help you guys!

Here is a link with some examples: http://plentz.github.io/jquery-maskmoney/


Using require instead of import

Hey @smikhalevski,
Great job in this component!
I'm wondering if it's possible use 'require' in order to import the component instead of 'import'. If is that possible, How is suppose to be?
Thank you.

Hello @Yonirt,
Yes, this is surely possible:
const {ScrollBox, GenericScrollBox, FastTrack, ScrollAxes} = require('react-scroll-box');
or in ES5 way:
var ScrollBox = require('react-scroll-box').ScrollBox;
I'll add this to the docs.


The that mark on bring action should not contain delimiter

Today if you bring something after and then say take that that delimiter is included

Duplicate of https://github.com/cursorless-dev/cursorless/issues/202


master currently broken

https://circleci.com/gh/segmentio/aws-okta/708

Seems to have been caused by https://github.com/segmentio/aws-okta/commit/828850b3b553984a5c8e8846ac71006f5c33ed61 but the tests passed then in https://circleci.com/workflow-run/75cc22d1-9f10-4a56-ba1c-2bb20047b25a


⚠ Bofrost.at has degraded performance

In 275a960, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1105 ms

Resolved: Bofrost.at performance has improved in d76c2a6 after 6 minutes.


Spike: Explore special handling for codec'ing singletons

WIP

@bot-gradle test APT

I've triggered the following builds for you. Click here to see all build failures.

All Performance Tests (Trigger)


Project Setup Err.

Hi,
I followed the instructions for project setup but I keep running into the following issue, I believe it has to do with not
I believe it has to do with the following step:
Add a top navigation with the slug "main" and a footer navigation with the slug "footer"
- error components/navigation/Navbar.tsx (60:32) @ items
- error TypeError: Cannot read properties of undefined (reading 'items')
    at Navbar (./components/navigation/Navbar.tsx:82:55)
digest: "2484553377"
  58 |               className='menu dropdown-content rounded-box menu-sm z-50 mt-3 w-52 bg-base-100 p-2 shadow'
  59 |               mobile
> 60 |               items={navigation.items}
     |                                ^
  61 |             />
  62 |           </div>
  63 |           <Link href='/' className='btn btn-ghost text-xl normal-case'>

I have exactly the same issue

Sorry for the delay, I will check it soon.

I have exactly the same issue. In my case I can't create anything in the Language colletion, after the code and language item, it saves no record. I can't set it to the navigation items.

Hi, I followed the instructions for project setup but I keep running into the following issue, I believe it has to do with not
I believe it has to do with the following step: Add a top navigation with the slug "main" and a footer navigation with the slug "footer"
- error components/navigation/Navbar.tsx (60:32) @ items
- error TypeError: Cannot read properties of undefined (reading 'items')
    at Navbar (./components/navigation/Navbar.tsx:82:55)
digest: "2484553377"
  58 |               className='menu dropdown-content rounded-box menu-sm z-50 mt-3 w-52 bg-base-100 p-2 shadow'
  59 |               mobile
> 60 |               items={navigation.items}
     |                                ^
  61 |             />
  62 |           </div>
  63 |           <Link href='/' className='btn btn-ghost text-xl normal-case'>

Fixed in #146486626952d55282247066e910a9654e4abd2c

I have exactly the same issue. In my case I can't create anything in the Language colletion, after the code and language item, it saves no record. I can't set it to the navigation items.

Turns out, it was the environment variable 'CACHE_ENABLED=true' in Directus that caused this issue. Currently, you should change 'CACHE_ENABLED' to 'false'


The information of database used

I used the phanta on our mock data, but I met a trouble when I try to check the result with our other data. Because some virus which not in Phanta database, were can't sure which one in Phanta database is correspond to our test virus. So could you provide the detail of Phanta database, such as the all virus Phanta contained and the virus information.
In addition, could you tell me how did your study make non-db correspond with db virus?

Hi, thank you for your interest in Phanta!
For information about the viruses contained in Phanta's DB, please see the methods section of our paper. Briefly, the viral genomes within the database were sourced from MGV (available at https://portal.nersc.gov/MGV/) and RefSeq viral (downloaded 02/22 using thekraken2 download-library viral utility).
To make non-DB viruses correspond with DB viruses, we calculated ANI between each non-DB virus and the DB viruses. If non-DB virus X had > 95% ANI to a DB virus Y, we said that virus X was the same viral species as Y. We cared about the 95% ANI threshold because we had to calculate true and false positive species for our benchmarking. In our case, you can potentially just see which DB virus has the maximum ANI with your non-DB test virus.
Do let us know if you would like additional guidance.

Thank you! I want to know if there has a final table of your database? Because the database is MGV+RefSeq, but after download this two databases, you should have done a merge and processing of these two databases? If so, could you provide the final table of Phanta database with all species and they information used? or I could just download this two databases and merge it only to use as reference (If that doesn't make any difference to the final result)？

Hi!
We included all 189,680 genomes from MGV.
We included all viral genomes specified in the attached file from RefSeq.
Refseq_viruses_added.txt
Yes, we had to figure out how to combine their taxonomy - please see the methods section of our paper for how we did that. You can use the taxonomy/names.dmp and taxonomy/nodes.dmp files that are provided with the database to figure out where each genome falls in the taxonomy (e.g., which species it falls under).
Please see this link or other internet resources to understand the format of the names/nodes files.
Please let us know if that doesn't make sense.


Retain MQTT Hass message

Not sure if this is a bug or not, but In the MQTT settings I activated the retain option. I'm using MQTT Explorer to verify all messages and I can see the retain flag on the messages sent to the main prefix (zwave2mqtt in my case) but the ones sent to for hass discovery (homeassistant prefix) are not getting the retain flag. I noticed Tasmota, espixelsitck and zigbee2mqtt add the retain flag to the messages sent for hass if the retain option is on. I had a couple lights disappear from hass a couple days ago and they came back when I restarted zwave2mqtt so maybe this have something to do with that.

@tomerhand The retain flag is not set on discovery messages because if you remove a device you cannot remove it anyway (you should manually delete it from broker retained messages by sending a message with empty payload to the broker to the discovery topic). To prevent this, as described in docs here I have added birth and will message to hass so I can detect when hass goes offline/online to resend discovery payloads:
mqtt:
  discovery: true
  discovery_prefix: <your_discovery_prefix>
  broker: [YOUR MQTT BROKER]  # Remove if you want to use builtin-in MQTT broker
  birth_message:
    topic: 'hass/status'
    payload: 'online'
  will_message:
    topic: 'hass/status'
    payload: 'offline'

Yes I have that in my configuration.yaml for HA. Last night I did some more digging and testing, was able to replicate the issue. I have a separate container running my mqtt broker and if I restart it then everything (zwave2mqtt related) disappears from HA, so I would have to restart HA, restart zwave2mqtt or rediscover the devices.
Would it be possible to add the option to set the retain flag on the discovery messages?

Why not set the broker inside hass?
Daniel

On 20 Sep 2019, at 16:19, towerhand<EMAIL_ADDRESS>wrote:
Yes I have that in my configuration.yaml for HA. Last night I did some more digging and testing, was able to replicate the issue. I have a separate container running my mqtt broker and if I restart it then everything (zwave2mqtt related) disappears from HA, so I would have to restart HA, restart zwave2mqtt or rediscover the devices.
Would it be possible to add the option to set the retain flag on the discovery messages?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Personally I wanted to learn and maintain my own mqtt server instead of using the HA one, one of the reasons I moved to Zwave2mqtt instead of keep using the build-in zwave integration. So far the only program I have noticed (from the ones I’m using) that doesn’t add the retain flag to the HA discovery topic is this one.
Anyway, Zwave2mqtt is working really good overall, just reporting what I find since that’s the only way I can’t help to make the project better.
Thanks for all the work and time.

Sure will add a retain option on gateway settings to set discovery topics as retained thanks for pointing this out :) never used hass for my projects since people started asking to integrate mqtt discovery on this project so I’m still learning how things works with hass :)
Daniel

On 21 Sep 2019, at 00:49, towerhand<EMAIL_ADDRESS>wrote:
Personally I wanted to learn and maintain my own mqtt server instead of using the HA one, one of the reasons I moved to Zwave2mqtt instead of keep using the build-in zwave integration. So far the only program I have noticed (from the ones I’m using) that doesn’t add the retain flag to the HA discovery topic is this one.
Anyway, Zwave2mqtt is working really good overall, just reporting what I find since that’s the only way I can’t help to make the project better.
Thanks for all the work and time.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm not seeing retained flag on normal non-discovery messages.  did i do something wrong?

You need to enable it on mqtt settings
Daniel

On 22 Sep 2019, at 06:14, ksuclipse<EMAIL_ADDRESS>wrote:
I'm not seeing retained flag on normal non-discovery messages. did i do something wrong?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

so i have it enabled in the mqtt settings, is there somewhere else it also needs to be set?

any thoughts on this?

Check version 2.0.4
Daniel

On 26 Sep 2019, at 03:53, ksuclipse<EMAIL_ADDRESS>wrote:
any thoughts on this?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Installed 2.0.4 last night and verified that the HA discovery messages have the retain flag, just gotta make sure to activate it in the settings. Haven't tested restarting my Mqtt server and HA but I don't anticipate any problems. Thank you for implementing it so quickly.


Fix printing of ML patterns

The logic in kprint for handling ML symbols appears to be out of date:

The backend assumes that the modal symbols are \weak..., rather than weak... as is actually used by the Haskell backend.
No special-casing of weakAlwaysFinally was present, meaning that kprint would crash when handling that symbol.

This PR updates the logic to reflect the KORE that is actually generated by the Haskell backend.
Fixes https://github.com/runtimeverification/k/issues/3105. Instead of crashing, the claim in that issue will print correctly:
    <T>
      <k>
        while (! n <= 0) {
          sum = sum + n + n;
          n = n + -1;
        } ~> _DotVar2:K
      </k>
      <state>
        n |-> N:Int
        sum |-> S:Int
      </state>
    </T>
  #And
    {
      true
    #Equals
      N:Int >=Int 0
    }
#Implies
  #wAF ( <T>
    <k>
      _DotVar2:K
    </k>
    <state>
      n |-> 0
      sum |-> S:Int +Int ( N:Int +Int 1 ) *Int N:Int
    </state>
  </T> )

lgtm but, can we add a test?

Ah, good point - I forgot there was a test suite in the backend for kprint. Will add that


Added useContext behavior to Quiz and Pathway

Resolves #89
Answers to Quiz.js now get passed to Pathway.js. (Note that I this PR does not implement the algorithm to generate the resources, it only passes a valid context to Pathway.js)

Thanks for the review! I consolidated all context-related matter into QuizContext.js and put the setter function inside the context/provider itself.


Format of an entire column

I am trying to make an entire column be formatted as currency. I am able to do this per cell, but would like to be able to do this per column.
I need to do this to get a single cell to be formatted, and loop over every single cell: sheet.getCell('Q2').numFmt = '$ #,##0.00';
I would like to be able to do this:
		{
			header: 'Amount',
			key: 'amount',
			numFmt: '$ #,##0.00',
			width: 24
		},

I do not see this documented anywhere, is it possible?

did you find any solution @alechirsch ?

Hi! Just put the 'numFmt' prop inside a 'style' prop in the header definition, good luck!


🔨: Run tests in parallel

Codecov Report

Merging #45 (e57f9c7) into main (b36f798) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #45   +/-   ##
=======================================
  Coverage   98.78%   98.78%
=======================================
  Files          22       22
  Lines         246      246
  Branches       37       37
=======================================
  Hits          243      243
  Misses          3        3


Consul invalid duration error

When using resec (v0.5.1) with consul 1.4.1  I'm getting a lot of errors like:
time="2019-02-01T15:58:01Z" level=error msg="Consul error: time: invalid duration " system=consul
message repeated 18 times: [ time="2019-02-01T15:58:01Z" level=error msg="Consul error: time: invalid duration " system=consul]
Maybe there were some breaking changes done in consul api in 1.4.x version.
Also I've noticed that the resec version is a hard-coded string (x.y.z). Maybe it will be a good idea to add the right version to make bug reporting more accurate.

@adriananeci could you please check this behaviour in 0.6?

Hi @burdandrei,
PR for resec 0.6 release is still opened as I can see.
Anyway , I've managed to solve this issue by changing MASTER_TAGS and SLAVE_TAGS values.
I think we can close this issue.


Acrylic window doesn't work on Win 11

Hi,
acrylic window from sample doesn't work on Windows 11.

@Pietro228 Rollback to version 0.9


QA: Is this tool thread-safe?

you can have multiple kcp instances in multiple threads.
you can't use the same kcp instaance from more than 1 thread


android:allowBackup=true forces me to use tools:replace

https://github.com/FutureMind/recycler-fast-scroll/blob/6b216b47ca4c99167dd59b8e5e1b4c1555bc02b2/fastscroll/src/main/AndroidManifest.xml#L4
see:
https://github.com/chrisbanes/PhotoView/issues/199
https://github.com/OfficeDev/msa-auth-for-android/issues/21

Thank you for noticing this. I fixed it in 0.2.4 which should be already available in jcenter.

that was quick. Thank you!


Configurable images

The frontpage now does an http request for the banner images, promoted images, and instagram images

yes, i think that'll work.
-Alan
On Thu, Apr 1, 2021 at 2:10 PM Kaity @.***> wrote:

@.**** commented on this pull request.
In store/promoted-offers.ts
https://github.com/building-21/vsf-capybara/pull/3#discussion_r605947436
:

@@ -10,6 +12,24 @@ export default interface PromotedOffersState {
headImage: any[]
}

+const getImages = async (url): Promise => {

process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'

just kidding it's still causing the error. is putting it in the .env file
okay?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/building-21/vsf-capybara/pull/3#discussion_r605947436,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEA446Q76S2QM5ORTJ52W3TGTOFVANCNFSM42GN4RLA
.

ok, that file is in the regular vue-storefront repo so this should be good to go


Changelog 3.2.0

@ekalinin got some more fixes, mind cutting an npm release? Thanks!

Done:

https://www.npmjs.com/package/sitemap/v/3.2.0


bug: Conform inserting blank line at end of files after running prettier

Neovim version (nvim -v)
0.9.5
Operating system/version
MacOS 14.3.1
Add the debug logs

[X] I have set log_level = vim.log.levels.DEBUG and pasted the log contents below.

Log file
20:10:10[DEBUG] Running formatters on /Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx: { "eslint_d", "prettier" }
20:10:10[INFO] Run eslint_d on /Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx
20:10:10[TRACE] Input lines: { "import { FC } from 'react';", "", "export const Example: FC = () => {", "    return
Hello
;", "};" }
20:10:10[DEBUG] Run command: { "eslint_d", "--fix-to-stdout", "--stdin", "--stdin-filename", "/Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx" }
20:10:10[DEBUG] Run CWD: /Users/samyouatt/Documents/code/gearset/salesforce-compare/web
20:10:10[DEBUG] eslint_d exited with code 0
20:10:10[TRACE] Output lines: { "import { FC } from 'react';\r", "\r", "export const Example: FC = () => {\r", "    return
Hello
;\r", "};\r" }
20:10:10[TRACE] eslint_d stderr: { "" }
20:10:10[INFO] Run prettier on /Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx
20:10:10[TRACE] Input lines: { "import { FC } from 'react';\r", "\r", "export const Example: FC = () => {\r", "    return
Hello
;\r", "};\r" }
20:10:10[DEBUG] Run command: { "/Users/samyouatt/Documents/code/gearset/salesforce-compare/web/node_modules/.bin/prettier", "--stdin-filepath", "/Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx" }
20:10:10[DEBUG] Run CWD: /Users/samyouatt/Documents/code/gearset/salesforce-compare/web
20:10:10[DEBUG] prettier exited with code 0
20:10:10[TRACE] Output lines: { "import { FC } from 'react';\r", "\r", "export const Example: FC = () => {\r", "    return
Hello
;\r", "};\r" }
20:10:10[TRACE] prettier stderr: { "" }
20:10:10[TRACE] Applying formatting to /Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx
20:10:10[TRACE] Comparing lines { "import { FC } from 'react';", "", "export const Example: FC = () => {", "    return
Hello
;", "};" } and { "import { FC } from 'react';\r", "\r", "export const Example: FC = () => {\r", "    return
Hello
;\r", "};\r" }
20:10:10[TRACE] Diff indices { { 1, 5, 1, 5 } }
20:10:10[TRACE] Applying text edits: { {
    newText = "\r\n\r\nexport const Example: FC = () => {\r\n    return
Hello
;\r\n};\r",
    range = {
      ["end"] = {
        character = 2,
        line = 4
      },
      start = {
        character = 27,
        line = 0
      }
    }
  } }
20:10:10[TRACE] Done formatting /Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx

Describe the bug
When I run conform using prettier on a file in my project it inserts a blank newline at the end of the file. This newline is not added if I invoke prettier manually on the file.
For some extra context I am running MacOS but this project is all in windows line endings.
Invoking npx path_to_prettier file-name.tsx --write does not add the blank line to the end
What is the severity of this bug?
tolerable (can work around it)
Steps To Reproduce

Have a .ts, .js, .tsx, or .jsx file with windows line endings on mac
Create a file with no trailing newline
Run prettier through conform
Blank line added at the end of file

Expected Behavior
I would expect it to follow the behaviour if I were to invoke prettier myself via npx prettier file-name.tsx --write which does not add a blank line at the end
Minimal example file
import { FC } from 'react';

export const Example: FC = () => {
    return
Hello
;
};

Minimal init.lua
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

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

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

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
    "stevearc/conform.nvim",
    config = function()
      require("conform").setup({
        log_level = vim.log.levels.DEBUG,
        -- add your config here
        formatters_by_ft = {
          typescriptreact = { "prettier" },
        },
      })
    end,
  },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

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

Additional context
No response

It's added by eslint.
20:10:10[DEBUG] Running formatters on /Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx: { "eslint_d", "prettier" }
20:10:10[INFO] Run eslint_d on /Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx
20:10:10[TRACE] Input lines: { "import { FC } from 'react';", "", "export const Example: FC = () => {", "    return
Hello
;", "};" }
20:10:10[DEBUG] Run command: { "eslint_d", "--fix-to-stdout", "--stdin", "--stdin-filename", "/Users/samyouatt/Documents/code/gearset/salesforce-compare/web/src/assets/components/flow-diff/demo-file.tsx" }
20:10:10[DEBUG] Run CWD: /Users/samyouatt/Documents/code/gearset/salesforce-compare/web
20:10:10[DEBUG] eslint_d exited with code 0
20:10:10[TRACE] Output lines: { "import { FC } from 'react';\r", "\r", "export const Example: FC = () => {\r", "    return
Hello
;\r", "};\r" }

The config used (from log) is { "eslint_d", "prettier" } which will run multiple formatters sequentially.
Check the friendly manually (here)[https://github.com/stevearc/conform.nvim?tab=readme-ov-file#setup) to use only prettier for your file.


Fixes 122: Add BeforeUpdate validation hook to RepositoryConfiguration

Adds validation to updating repositories.
This could also be done using a BeforeSave hook that would run before both Update and Create, but keeping the hooks separate seems more future-proof to me.

https://issues.redhat.com/browse/HMSCONTENT-122


deployment error

hii i want to run the code manually and how to deploy after some logo change

cd feniks.web_app ;       docker build -t gokalpgoren/webapp:v1.0.3-custom . ;cd ..
cd ffmpeg_service ;         docker build -t gokalpgoren/ffmpeg_service:v1.0.2-custom -f Dockerfile.raspi4 . ;cd ..
cd mngr ;         docker build -t gokalpgoren/mngr:v1.0.3-custom . ;cd ..
cd senseai_service ;         docker build -t gokalpgoren/senseai_service:v1.0.3-custom -f Dockerfile.jetson . ;cd ..
cd smcp ;         docker build -t gokalpgoren/smcp:v1.0.3-custom . ;cd ..
cd snapshot_service ; docker build -t gokalpgoren/snapshot_service:v1.0.3-custom . ; cd ..

cd feniks.web_app ;       docker build -t gokalpgoren/webapp:v1.0.3-custom . ;cd ..
cd ffmpeg_service ;         docker build -t gokalpgoren/ffmpeg_service:v1.0.2-custom -f Dockerfile.raspi4 . ;cd ..
cd mngr ;         docker build -t gokalpgoren/mngr:v1.0.3-custom . ;cd ..
cd senseai_service ;         docker build -t gokalpgoren/senseai_service:v1.0.3-custom -f Dockerfile.jetson . ;cd ..
cd smcp ;         docker build -t gokalpgoren/smcp:v1.0.3-custom . ;cd ..
cd snapshot_service ; docker build -t gokalpgoren/snapshot_service:v1.0.3-custom . ; cd ..

Can we run those services on Linux without docker?
If yes, how?

Can we run those services on Linux without docker? If yes, how?

It should be possible, but you'd need to look inside the Dockerfile and follow each command on your PC, which should have the same environment and software versions at the beginning as the base docker image referred in the first line.
Given Feniks has more than one service (at least 6 or more in the 6 containers) you'd need to install all prerequisites then build and configure everything on your baremetal. Plus you need to set up permissions, storage folders and networking of course.
TLDR: you either go for the container way, or configure your system with manual labor and then it will be brittle, a simple apt-get upgrade ffmpeg could break everything if the components are tightly integrated and dependent on unstable apis.


Importance of calling unbind

I have this code:
                adminClient = ldap.createClient(clientOptions);

                adminClient.bind(ldapConfig.ldapBindAccountDN, ldapConfig.ldapBindAccountPassword, function (err) {
                    if (err) {
                        cb(err);
                    }
                    else {
                        var searchQuery = '(sAMAccountName=' + username + ')';

                        performUserSearch(adminClient, searchQuery, 1, function (err, users) {

                            //adminClient.unbind(function ($err) { //async
                            //
                            //    if ($err) {
                            //        console.error('UNBIND ADMIN CLIENT ERROR: ', $err);
                            //    }
                            //
                            //    if (err) {
                            //        log.error(err);
                            //        cb(err);
                            //    }
                                 if (!users) {
                                    log.debug('Error: no users found at all.');
                                    cb({status: 403, error: new Error('Bad username.')});

// ..... truncated ....

As you can see I have commented out the unbind portion. Is it imperative to call unbind? I commented it out, and it doesn't cause any immediate problems. I am having trouble finding information on the purpose of bind/unbind. I assume unbind is important, but then why am I getting away without it? I was getting away without it before I moved to pooled connections. Please enlighten me, thanks.

unfortuantely, the only info in the docs for unbind are:
unbind

unbind(callback)

Performs an unbind operation against the LDAP server.

Example:

client.unbind(function(err) {
  assert.ifError(err);
});

furthermore, if LDAP connections are stateful, does that mean having 100 connections in a pool is at all more costly that a pool of 100 stateless connections?

Hi @ORESoftware, i have been using this module too and yes, there's not enough documentation about the unbinding method.
I use that method to close the connection, and it seems to do that because when i run my node app it keeps waiting until i call the unbind method.
Off topic: Also i would suggest to you instead of using if / else for your error handling do something like this:
function (err, someArgs) {
  if (err) {
    // the return will prevent the code
    // outside the if statement to run
    return cb(err);
  }

  // Code if no error here
}

Closing as the documentation is clarified in #393. Please open a new issue if you have further questions.

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


DSTC2Version2DatasetReader missed

There is no DSTC2Version2DatasetReader in deeppavlov.dataset_readers.dstc2_reader ....

Linked to issue https://github.com/deepmipt/DeepPavlov/issues/385

Fixed in https://github.com/deepmipt/DeepPavlov/pull/391. Released in 0.0.7.

DSTC2Version2DatasetReader is now renamed to DSTC2DatasetReader.


Add AsyncResult.ofTask with non-generic Task passed in

Methods like ConnectAsync returns a non-generic Task, which cannot be used with AsyncResult.ofTask

Sounds like a good addition!

We have a function for that ofTaskAction .

I tried that, this is the error I get:
Lightning.fs(237,94):
error FS0001: The type 'unit' is not compatible with the type 'Task' [Backend.fsproj]

Lightning.fs(237,13):
error FS0041: A unique overload for method 'Bind' could not be determined based on type information prior to this program point. A type annotation may be needed.
Candidates:
member AsyncResultBuilder.Bind : async':Async<'T> * binder:('T -> Async<Result<'U,'TError>>) -> Async<Result<'U,'TError>>,
member AsyncResultBuilder.Bind : asyncResult:Async<Result<'T,'TError>> * binder:('T -> Async<Result<'U,'TError>>) -> Async<Result<'U,'TError>>,
member AsyncResultBuilder.Bind : result:Choice<'T,'TError> * binder:('T -> Async<Result<'U,'TError>>) -> Async<Result<'U,'TError>>,
member AsyncResultBuilder.Bind : result:Result<'T,'TError> * binder:('T -> Async<Result<'U,'TError>>) -> Async<Result<'U,'TError>>,
member AsyncResultBuilder.Bind : task:Task * binder:(unit -> Async<Result<'T,'TError>>) -> Async<Result<'T,'TError>>, member AsyncResultBuilder.Bind : task:Task<'T> * binder:('T -> Async<Result<'U,'TError>>) -> Async<Result<'U,'TError>>,
member AsyncResultBuilder.Bind : taskResult:Task<Result<'T,'TError>> * binder:('T -> Async<Result<'U,'TError>>) -> Async<Result<'U,'TError>> [Backend.fsproj]

let me prepare a complete example...

Actually, I get that error even with this:
namespace Lightning

open FsToolkit.ErrorHandling
module Lightning =

    let Test () =
        asyncResult {
            do! async { return (Ok "test") }
            return ()
        }

Is this not compatible with F# 4.5?

Hmm we have a test that does bind against a unit task.
https://github.com/demystifyfp/FsToolkit.ErrorHandling/blob/e9e05ba10d7e770b52497545d659973c221c8235/tests/FsToolkit.ErrorHandling.Tests/AsyncResultCE.fs#L148-L154

Is this not compatible with F# 4.5?

Version 1.2.6 requires FSharp 4.6.2.

It doesn't look like there's a good reason to not drop the minimum required FSharp.Core version, I'll open a PR for that.

namespace Lightning

open FsToolkit.ErrorHandling
module Lightning =

    let Test () =
        asyncResult {
            do! async { return (Ok "test") }
            return ()
        }

do! is invalid here since you're trying to bind against something that has data.  In your case the value "Test".  You have two options.
Ignore the result:
 let! _ = async { return Ok "test" }

or have the value be a unit:
do! async { return Ok () }

Aaaah, thank you so much! It makes sense, I get it. Indeed I would appreciate if the min version was F# 4.5, since that is what the Mono packages for Ubuntu ships.


Add caching to Windows build

Description

testing windows caching
Related issue

How has this been tested?

Checklist:

Unit tests

[ ] Unit tests do not apply.
[ ] Unit tests have been added/modified and passed for this PR.

Integration tests

[ ] Integration tests do not apply.
[ ] Integration tests have been added/modified and passed for this PR.

Documentation

[ ] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[ ] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

This doesn't actually improve anything much, we probably need to refactor the Windows Dockerfile as well.


Feature/esdoc

Added

esdoc dev dependency as well as configuration file
Perfectly documented Alpha and Attraction behaviour classes
docs/api directory
behaviours/constants.js for defaults

Changed

Alpha behaviour now has alphaA and alphaB props rather than just a and b, unit tests updated accordingly

Fixed

There was a bug in the Attraction constructor that was causing force to be set to NaN, this has been fixed

Tests are passing, Travis seems to be running one suite twice and failing the second time round, not sure what the hell is going on there


What needs to be done currently?

MZBench is still one of the greatest load frameworks! :)
I'm trying to determine what needs to be done currently. Feel free to add your points and/or suggestions.

[ ] Look for contributors/interested projects
[ ] Ensure things run on latest official Erlang/OTP.
[ ] Prepare for OTP 24 (think of JIT performance gains... !)
[ ] Fix Docker build
[ ] Have current Docker images on Docker Hub.
[ ] Documentation & hosting of documentation on Github pages.
[ ] Make installation have less friction, and ensure documentation does not mislead.
[ ] Prepare a new release.
[ ] Determine additional stuff that needs fixing.
[ ] Future features/Protocols?

cc @parsifal-47 @ethercrow @avasenin @gliush
who can we cc in addition?

I published the documentation (gh-pages branch) on https://mzbench.github.io/mzbench/

Created an MZBench org on Docker hub, in case we want to push Docker image
https://hub.docker.com/orgs/mzbench/mzbench

Quickly checked local Docker build  docker build -t mzbench -f Dockerfile .
Doesn't seem to  work, so adding to the list.

Thanks a lot @ioolkos, the list looks good to me!

@parsifal-47 good to see. I think I'm going after the Docker image first. If we have that, that's a first step, taking away a lot of the friction for first time users. I seem to have a couple issues building the image, one with erlexec specifically.

@ioolkos I can contribute to the docker image. I am a first-time user and found it super hard to get the mzbench working. But now I have created my own docker image which is based on ubuntu 18.04lts (Bionic) with erlang 20.3.2 and it is working fine.
I am still not able to run a scenario that includes vmq_mzbench on mzbench. It is throwing a runtime error.

Could you please let me know if you are able to run any scenario with vmq_mzbench?


Remove stray closing bracket

@mahilleb-msft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@mahilleb-msft : Thanks for your contribution to the Azure documentation! The author, @iainfoulds, has been notified to review your proposed change.

Thanks for the PR! This can be merged.
#sign-off


RAT profile QR code is regenerated every time the screen is opened

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug affects both Android and iOS, for specific issues / questions that apply only to one operating system, please raise them in the respective repositories:

Android repository
iOS repository

[X] Bug is not already reported in another issue

Technical details

Device name: iPhone 6s / Huawei P Smart 2019
iOS/Android version: 15.2 / 10
App version: 2.15.1

Describe the bug
The QR code on the RAT profile screen is regenerated every time the screen is opened.
Here are two videos:
https://user-images.githubusercontent.com/67682506/147862890-3a2dbbd0-0054-4906-bfa3-282560581321.mov
https://user-images.githubusercontent.com/67682506/147862888-1415d3d7-cbfb-4f3b-9fac-305fbfbbe835.mp4
Steps to reproduce the issue

Open the Corona-Warn-App
Click on the "Manage Your Tests" box
(Scroll down &) click on "Rapid Test Profile"
Generate a new profile if one isn't already generated
Take a look at the lower left part of the QR code
Close the view
Open the view again
Take another look at the lower left part of the QR code
Notice that the QR code has changed

Expected behaviour
The QR code should only change if the data stored in the QR code has changed.
Additional context
It seems like the REV field in the v-card changes every time, however, If I understand the documentation on https://datatracker.ietf.org/doc/html/rfc6350#section-6.7.4 correctly, this field should only change if the rest of the data (e.g. BDAY) changes.

@Ein-Tim
As far as the Android app is concerned, it seems that this is "works-as-designed".
See
https://github.com/corona-warn-app/cwa-app-android/blob/main/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/coronatest/antigen/profile/VCard.kt#L34
val rev = now.toString(revDateFormatter) // Time the vCard was updated
where it uses the current time to build that field in the QR code.

Just for comparison, when Microsoft Outlook creates a VCARD .vcf file from a contact it also uses the current time for the REV: field, not the "Modified" date/time-stamp.

But... somehow I have a bad feeling when data (in this case a QR code) that is supposed to provide one specific information changes!? (Without changing the basic 'in fact' information.)

Hi @Ein-Tim, thanks for your report. We have created an internal ticket and will raise this topic internally.
Internal Tracking ID: EXPOSUREAPP-11133

Corona-Warn-App Open Source Team

The real test whether this is a bug, is if it causes a problem when reading the Rapid Test Profile at a testing center. If the test center software does not use the REV field or does not care about its actual value, then it could be omitted from the vCard QR code produced by CWA.
According to the standard, which @Ein-Tim quoted (https://datatracker.ietf.org/doc/html/rfc6350), the field is optional. (See  the definition of REV in section 6.7.4 which specifies a cardinality of *1 for this field. and the definition of Property cardinalities in section 3.3 where *1 is equated to "Exactly one instance per vCard MAY be present".)


Tracking Examples: random module

I have a suspicion that this module is missing a bunch of submodules, and will need to be worked on more before we look at it. For completeness purposes, I'll put the tracking information here now, but don't start on this one yet.

Claim a group by making a comment below.
~While Nebari is generating examples~ See the log files for the output from Llama3. Spend some time with the functions to see what they do.
Some of these functions are NOT something we need to add examples to. You'll have to decide that.
When you've finished the group of 10, check it off.

np.random
np.random Groups:

[ ] Group 1
[ ] Group 2
[ ] Group 3
[ ] Group 4
[ ] Group 5
[ ] Group 6

Group 1
Group 2
Group 3
Group 4
Group 5

beta
geometric
negative_binomial
randn
standard_cauchy

binomial
get_state
noncentral_chisquare
random
standard_exponential

bytes
gumbel
noncentral_f
random_integers
standard_gamma

chisquare
hypergeometric
normal
random_sample
standard_normal

choice
laplace
pareto
ranf
standard_t

default_rng
logistic
permutation
rayleigh
triangular

dirichlet
lognormal
poisson
sample
uniform

exponential
logseries
power
seed
vonmises

f
multinomial
rand
set_state
wald

gamma
multivariate_normal
randint
shuffle
weibull

Group 6

zipf

After discussion at the triage meeting, adding examples to every function in NumPy is not wanted.  Focus on just the functions that don't have examples.  After we review the prompt generator, and guarantee that the newly generated examples do indeed add something of more than just marginal value, we can revisit this topic.  I'm closing this issue for now.


axomdbook

New version of #335 that uses the main branch of my fork.
See http://faultlore.com/oranda/book/configuration.html for a live version

alright, did a bunch of work on this and it's looking a lot better.
Some issues:

standard mdbook themes don't have their fonts vendored anymore so they get console errors (left a FIXME in fonts.css)
standard mdbook themes lose the bg/padding around inline code (left a FIXME in variables.css)
our quote blocks don't really match anything (oranda and blog.axo.dev completely disagree on the style)

wait what


Maps : check possibility to include all street names , when zoomed in

When zoomed in in the deepest level, it seems the street names are not visible.
Probably related to the google map style

Should be done with the following maps style:
{
        "featureType": "road.local",
        "elementType": "labels",
        "stylers": [
            {
                "visibility": "on"
            }
        ]
}


Content resizes dynamically, elements disappear

Hello community.
My problem:
I toggle a button -> height of the toggle changes dynamically -> some content disappears (text inputs)
<KeyboardAwareScrollView extraHeight={100}>
  <View style={{
    flex:1,
    width: '100%',
    height:'100%' ,
    justify-content: 'space-between'
  }}>
              {children}
          </View>
</KeyboardAwareScrollView>

the text input fields have a fixed height of 60px.

ok have found the problem!!
Please be sure to set to all of the child views a fixed height!
my inputs have a shadow and this is a view styled with a shadow and it had no height.


Added new SMISMEMBER command

I'm not sure if it is ok, as SMISMEMBER returns either 1 or 0 if the element is contained in a set, so I think It would be better to convert it to a boolean response. If someone could give me a hint on how to convert it, it would be helpful.

Any update?

Thanks for contribution!


x.at[indices].add differs from numpy if duplicate indices

The JAX at-add construct will update duplicate indices multiple times:
import jax.numpy as jp
x = jp.array([0, 0])
y = x.at[jp.array([0, 1, 1])].add(1)
# now y == [1, 2]

whereas in numpy the update only occurs once:
import numpy as np
x = np.array([0, 0])
y = x.copy()
y[np.array([0, 1, 1])] += 1
# now y == [1, 1]

Not sure if this needs to be consistent necessarily, but the discrepancy is not documented.

Thanks for the report: this is the intended behavior, and is documented at https://jax.readthedocs.io/en/latest/_autosummary/jax.numpy.ndarray.at.html#jax.numpy.ndarray.at

Unlike NumPy in-place operations such as x[idx] += y, if multiple indices refer to the same location, all updates will be applied (NumPy would only apply the last update, rather than applying all updates.)

Is there a different place in the documentation that you think could be clarified?

Ah nice, I actually prefer JAX's behavior. I was looking at https://jax.readthedocs.io/en/latest/jax.ops.html, which doesn't mention multiple updates.

Makes sense, thanks. #9345 adds this paragraph to the section you were looking at.


Feat(Transition): add Transition component

Summary
Add the Transition component that allows for the inclusion of multiple animations
Task

https://dd360.atlassian.net/browse/CD-1069

Affected sections

src/components/Layout/Transition/Transition.test.tsx
src/components/Layout/Transition/Transition.tsx
src/components/Layout/Transition/index.ts
src/components/Layout/Transition/transition.css
src/components/Layout/index.ts
src/lib/animations.ts
src/lib/index.ts
src/stories/Transition.stories.tsx

How did you test this change?

Manually
src/components/Layout/Transition/Transition.test.tsx

Can you provide screenshots, gifs, videos on the How did you test this change? section? Please @Misael840


[EV-2594] Upgrade alpine image to golang v1.18.8

Upgrade alpine image to go version 1.18.8

Could the reviewer also create a new release - Follow the naming convention

There is a list of assets that I will have to provide and should be uploaded as part of the release.
release-v1.1.1-calico+go-1.18.8 - The contents have been built and verified on go1.18.8

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3819

Relevant Lines:
6835

💛  - Coveralls


Add post about SRE on sprint 80

Co-authored-by: David Kang<EMAIL_ADDRESS>

Deploy preview for openbuildservice ready!
Built with commit f5ec744b80e8dc579c777be33dae3394cbe7e372
https://deploy-preview-266--openbuildservice.netlify.app


Allowing kmz inflation/deflation to happen in workers across origins

adding name to contributors list
moving getWorkerUrl() out to its own file so it can be used in both TaskProcessor.js and ThirdParty/zip.js
using getWorkerUrl() import in TaskProcessor
using getWorkerUrl() import in zip.js to determine if the url is a cross origin url and if so, load the worker in via a blob url.

Relevant forum post: https://cesiumjs.org/forum/#!msg/cesium-dev/dq2l5L69L0U/KppBFvozBAAJ

Thanks again for the pull request!
Looks like this pull request hasn't been updated in 30 days since I last commented.
To keep things tidy should this be closed? Perhaps keep the branch and submit an issue?
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Thanks again for your contribution @madole!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Sorry we never got back to you on this @madole.  Next time, please comment when a pull request is ready for another review so we get notifications to take a look at it.
When you have a chance, could you please merge in master?  Thanks!


Get source code by hardware version

Hi,
I am looking into PROVES,
Please let me know how to download the source code for FC_Board hardware version 4b, 4a or 1a?

Closing is issue due to inactivity.


Cannot bundle Node.js built-in "fs" after adding cloudflare-pages

Good health all.
I got this error after adding cloudflare-pages plugin to deploy on Cloudflare Pages:
pnpm run qwik add cloudflare-pages
pnpm i && pnpm build
...
[commonjs--resolver] Cannot bundle Node.js built-in "fs" imported from "src/utils/posts.ts". Consider disabling ssr.noExternal or remove the built-in dependency.
error during build:
RollupError: Cannot bundle Node.js built-in "fs" imported from "src/utils/posts.ts". Consider disabling ssr.noExternal or remove the built-in dependency.
PLease help, thanks much

OKay FIXED, I update packson.json
replace
"build.server": "vite build -c adapters/cloudflare-pages/vite.config.ts",
by
"build.server": "vite build -c adapters/static/vite.config.ts",


No url when resampled=True

Hi, I find that url is not present when resampled=True is used, but with resampled=False, it is present. Why is this the case, and how to obtain the url information?
Thanks
Code to reproduce:
import webdataset as wds

ds1 = wds.WebDataset(urls='./path/to/tarfile.tar')
z1 = next(iter(ds1))

ds2 = wds.WebDataset(urls='./path/to/tarfile.tar',resampled=True)
z2 = next(iter(ds2))

print(z1.keys())
# ['__key__', '__url__', '__worker__', '__rank__', '__nodeinfo__', 'jpg', 'json', 'txt']

print(z2.keys())
# ['__key__', 'jpg', 'json', 'txt']

Actually, seems like there were two versions of webdataset and it was using some previous version of webdataset (webdataset-0.1.103), instead of the latest one. Removing from conda, then pip uninstalling the previous version, and then re-installing the current version works.


Move jakarta.el-api related method to new BeanManager subclass?

The core profile cannot cleanly separate a dependency on jakarta.el-api from the dependency on jakarta.enterprise.cdi-api because of the usage in BeanManager#{getELResolver, wrapExpressionFactory}. We need to think about how factor out this dependency.

The core profile seems to include EL, so that dependency shouldn't be an issue?

Ah I forgot about that divergence. I only looked at the first link.
If the core profile doesn't include EL, exclusion should be possible, but I agree it's not nice.

The release plan is out of date as that was the plan before we knew what CDI Lite would support. The Core Profile specification does not list EL as a supported tech. It says it is not required, and the platform api project gives the core profile dependencies as:
https://github.com/eclipse-ee4j/jakartaee-api/blob/d4738affc87918cd5887acd3f0d638a81d95a337/pom.xml#L47
        <!-- Core Profile -->
        <!-- Theoretically these versions could be different from Web Profile -->
        <jakarta.json-api.cp.version>2.1.0</jakarta.json-api.cp.version>
        <jakarta.json.bind-api.cp.version>3.0.0</jakarta.json.bind-api.cp.version>
        <jakarta.annotation-api.cp.version>2.1.0</jakarta.annotation-api.cp.version>
        <jakarta.inject.cp.version>2.0.1</jakarta.inject.cp.version>
        <jakarta.interceptor-api.cp.version>2.1.0</jakarta.interceptor-api.cp.version>
        <jakarta.enterprise.cdi-api.cp.version>4.0.1</jakarta.enterprise.cdi-api.cp.version>
        <jakarta.inject.cp.version>2.0.1</jakarta.inject.cp.version>
        <jakarta.ws.rs-api.cp.version>3.1.0</jakarta.ws.rs-api.cp.version>

This is where the optional dependency on EL is introduced because the jakarta-core-api jar is rebuilt from the source dependencies, and this requires EL due to the BeanManager usage.
EL is excluded from the required compile scope dependency on CDI, but then a provided optional dependency has to be added to be able to compile the jakarta-core-api jar.

I see.
So ATM we seem to have two methods on BeanManager:

public ELResolver getELResolver();
public ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory);

Plus an entry in module-info (which, IIUIC, is a mandatory compile, optional runtime dependency):

requires static jakarta.el;

In an ideal world, we'd have CDI Lite JAR and then CDI Full JAR (which depends in Lite as well as EL API) but we've been to that rabbit hole before and there wasn't an agreement on how to do that without breaking everything.
Another way would be to extract the two BM methods into another "EL-aware" module but that's not very nice justification for a separate module. Besides, it again breaks any app or integrator using these two methods.

exclusion should be possible, but I agree it's not nice.

@Ladicek which approach did you mean?

I meant EL should be a compile-only dependency of CDI in the Core profile, and the Core profile "uberPOM" should add an exclusion of EL to the CDI dependency. Of course, Maven doesn't really have a concept of compile-only scope, but there are workarounds (optional, provided scope).

Ah ok, I thought you were talking about solution on CDI spec level.

We discussed this during CDI meeting with the following notes:

No immediate action is needed in CDI, this is workarounded by Jakarta core profile
In the future, we'd ideally want to get rid of this dependency somehow
We want to look into existing EE servers and how they use this API. If it is just integrators, we could change the way this is provided or make it impl dependent (i.e. via Weld's API/SPI) or other means to remove the EL dep from CDI.

@manovotn is going to look into WildFly usage
We could also use insight from Open Liberty, so @Emily-Jiang or someone from their side can take a look

@Emily-Jiang also mentioned that there was an end user use case for these two BeanManager methods, it would be nice to know what scenario is that. Otherwise, we can only be sure this is used by integrators ATM.

Isn't it easier to just have separate artefacts for CDI lite and CDI full.  CDI lite doesn't contain than any reference to EL classes and BeanManager can keep the EL one a-since as part of Web profile, EL is already available.
See also #640

EL API has very little usage in CDI - two methods altogether IIRC. Separating that would be fairly easy.
I've also added comment to https://github.com/jakartaee/cdi/issues/640#issuecomment-1351212663

I drafted a solution for this here: #644

So today's discussion brought up the idea of a 4.1 release with deprecation of the BM method, and removal in 5.0. The question that came up is whether there is some restriction on whether a platform release could skip over the 4.1 release, in which case the 11 core platform would never see a deprecation of the BM method.


fix(SDK): release with common FID

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


Possibility of symlinking libstdc++ under some circumstances

Many people are in practice deleting at least libstdc++.so from their Julia install and replacing it with a symlink to their system libstdc++. The reason stems from https://github.com/JuliaGL/GLFW.jl/issues/198 . We can have a call chain Julia -> GLFW.jl -> OpenGL library -> OpenGL driver -> Julia's bundled libstdc++, but the bundled libstdc++ is too old and so missing symbols the OpenGL driver expects to find (even if it doesn't use them?).
As far as I know, there are only, two solutions 1) somehow package all driver code with Julia and pick the right drivers and so on, so we get stuff built with the correct libstdc++ (seems undesirable/Herculean task for marginal gain) 2) replace some bundled libraries with system libraries under some circumstances (at least libstdc+++ -- but I guess it's possible a larger whitelist could be needed or useful under some circumstances).
I propose making what seems to be a fairly standard workaround a supported part of the Julia installation process by adding a flag, --use-system-libstdc++=no,auto,force. The default would be no, at least to begin with since it's a bit heavy handed and there could be unintended consequences -- we can see what general community feedback is. force would just blindly link the system libstdc++ at the user's own risk. The auto behaviour would be to check the version of the bundled libstdc++ is older than the system one, and if so replace it with a symlink to the system one.
This does not completely solve the problem. A user who had an old libstdc++ when installing a version of Julia could later update their system and end up with a newer libstdc++, which would not be used by Julia. One possibility would be to have a juliaup-system-update-hook command, which would check for any Julia installations which were created with auto, and rerun the auto logical after the update. It would be up to the user to arrange for this to be called after a system update e.g. in Debian you can add /etc/apt/apt.conf.d/1000juliauphook with DPkg::Post-Invoke-Success {"touch /var/lib/apt/post-update-stamp"; };. Users could be hinted to install this when using --use-system-libstdc++=auto.

I don't think we should be adding a lot of nonstandard stuff to Juliaup. Juliaup's job should really only be to download and run the official Julia binaries, unmodified.
It's fine if users want to apply these workarounds themselves, but I don't think we should add them to Juliaup.

I can see the concern about scope creep of juliaup, but as I see it, juliaup is trying to improve the usability of Julia. Say x% of Julia users want to use e.g. OpenGL plotting and either want to use a new version of Julia on a Linux distribution with OpenGL drivers linked to a newer libstdc++ -- or even an older Linux distro with an even older version of Julia. Those x% of people all see an error message, search for it, and hopefully manage to find and implement the workaround. However, they would reasonably have the perception that this is rather poor usability wise. All those x% have had to do with work rather than whatever they were originally trying to accomplish.
Is there an alternative path to improving the usability here? Which project is better placed deal with this than juliaup?

Closing as per https://github.com/JuliaLang/julia/issues/34276 and https://github.com/JuliaCI/julia-buildkite/issues/205


New Keyword Listbox Should Not Contain

I would like to implement the negative of "Listbox Should Contain" Keyword as a standalone keyword
After having several times the need to proof the removal of listbox items. I curtainly know this is a nice to have keyword

@noubar
Feel free to implement this keyword if required and create a pull request with this new keyword.


Thread list color coding

It may be helpful to color the items in the thread list based on tag. For example, threads with the tag "bug" could be highlighted red in the thread list. The coloring options should probably be integrated with the tag management window.

It is possible for there to be a conflict: two tags with different coloring are applied to one thread. Which color should be applied? Both?

An alternative to tag-based coloring would be to allow the user to manually select a color for each thread. This would make it more work for the user so it may be less useful.