fix: failed to load resources due to an exception thrown when store data

Fix for https://github.com/Kong/swrv/issues/350

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

Alternative solution is up for review: https://github.com/Kong/swrv/pull/353

Fix is available via 1.0.4


Make orchestrator a countable ressource and refactor all count index

For better a cleander templating in the local file and tpl section make orchestrator a countable ressource. this also enables multi node controlplane.
Plus: Change the name in blocks from [= node_type ]-storage-${count.index + 1} to [= node_type ]-[= node_type ]-storage-${count.index + 1}-storage
this will lead to
worker-1-storage
worker-2-storage
instead of
worker-storage-1
worker-storage-2
you are iterating over the nodes not over the volumes, nics and so. If you have count on storages etc. we need to iterate them to.
change in code like
from
volume {
    name = "[= node_type ]-storage-${count.index + 1}"
    size = [= node_spec.diskSizeGb ]
    disk_type = "[= node_spec.diskType ]"
  }

to
volume {
    name = "[= node_type ]-${count.index + 1}-storage"
    size = [= node_spec.diskSizeGb ]
    disk_type = "[= node_spec.diskType ]"
  }

As of now, we're focusing on integration tests which do not require multi node controlplanes. Therefore, we won't work further on this task now but instead put it back to the backlog. Nevertheless, we fix the misleading indexing as requested!

indexing fixed in #41, ticket will be pushed to backlog (see comment above)

Is this still relevant?

I don't think so


[WSL2] K3s and Kubernetes support

k3s is simple, lightweight distribution of Kubernetes.  To run k3s on WSL2 the following kernel settings are missing.  These will be needed for most any Kubernetes setup, so this is not specific to k3s.
CONFIG_BRIDGE_NETFILTER=y
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
CONFIG_NETFILTER_XT_MATCH_OWNER=y
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y
CONFIG_VXLAN=y
CONFIG_GENEVE=y
I was able to get k3s and rio (which uses istio, knative, prometheus, grafana, kiali, and lot of other things) with these steps. https://gist.github.com/ibuildthecloud/1b7d6940552ada6d37f54c71a89f7d00
While I only included the CONFIG_NETFILTER_XT_MATCH_* parameters Kubernetes specifically needs, it might be worth it to just include all the default xt_match options.  It is going to continually pop up that people want different iptables modules.

Thanks for posting, I've kicked off a new kernel build with those features enabled.

Do notice after replacing the original kernel wsl.exe won't convert installs between WSL1 and WSL2 anymore. It freezes and a reboot is needed in order to run WSL2 again.
Using the original kernel file conversions work again.
@benhillis Is this expected? Why is the kernel included in WSL2 50Mb in size? Is the kernel truly just a renamed bzImage file?

Did you compile it from WSL2 Linux kernel source code or from kernel.org?

Did you compile it from WSL2 Linux kernel source code or from kernel.org? @simonferquel did some testing with home-made ones.

Did you compile it from WSL2 Linux kernel source code or from kernel.org? @simonferquel did some testing with home-made ones.

Why is the kernel included in WSL2 50Mb in size?

Probable answer:
root@A:~# cd /mnt/c/Windows/System32/lxss/tools/
root@A:/mnt/c/Windows/System32/lxss/tools# file kernel
kernel: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=1cdcda82d3a405575308724a5e303c5738893915, not stripped

@Biswa96 I downloaded it from the WSL2 docs link.
The WSL2 kernel is 50 Mb but real size in disk is 14Mb so maybe is uncompressed?

@onomatopellan Same issue. I compiled the Linux kernel, everything works but the WSL1 <--> WSL2 conversion does not. The cause may be static linking. README does not provide how to do it.

@onomatopellan Try with the WSL2-Linux-Kernel. It works.

@biswa96 - does converting work as well?

Yes.

Indeed replacing kernel with bzImage (7Mb) from git and now conversions and new installs work. :)

Is this coming to the default "stock" WSL2 kernel?
I'd love to run k3s but I really don't fancy building my own kernel :)

The configurations are added in the wsl2 Linux kernel repository. If you don't want to build the kernel wait for next 2 or 3 Windows 10 insider builds.

Thanks, I can wait for a build or three

Any update on this?

It's in repository. You can check the kernel flags from /proc/config.gz file.

Just looked through /pro/config.gz on my install.
Looks like all the requested kernel settings are enabled in  WSL 2 in Build 18995

Yes K3s seems to work in 18995 ! 😎
This is in WSL2, Kernel: 4.19.72-microsoft-standard
 $ sudo ./k3s kubectl get po --all-namespaces
NAMESPACE     NAME                         READY   STATUS      RESTARTS   AGE
kube-system   coredns-66f496764-nksvz      1/1     Running     0          39s
kube-system   helm-install-traefik-kx7cx   0/1     Completed   0          39s
kube-system   svclb-traefik-tskxx          3/3     Running     0          16s
kube-system   traefik-d869575c8-xqccw      0/1     Running     0          16s
 $ sudo ./k3s kubectl get nodes
NAME        STATUS   ROLES    AGE   VERSION
becolemsb   Ready    master   59s   v1.15.4-k3s.1

Yes K3s seems to work in 18995 ! 😎

How did you manage to install it? Latest script looks for systems, so I cant install k3s in wsl

@GaboFDC for systemd see https://github.com/arkane-systems/genie


env database example line

trying to lower the bar for new developers fresh to django-environment
Signed-off-by: TidyData<EMAIL_ADDRESS>

Hm, I think your issue/PR descriptions could be a bit more descriptive. (:
I had to look at your actual changes just now to see what you did, and to see what the difference between this and #950 were (seeing as the other one produced a conflict, I initially thought this was a repost...).


docs: replace broken link

There is a broken link inside ng new section (https://angular.io/cli/new). When you click on that link, placed next to strict option, you are redirected to 404 (Page not found).

Thanks for this.
https://angular.io/strict is a redirection to https://angular.io/guide/strict-mode both of which are valid links.
I think the problem is that in the docs the redirection is not happening because both hosts are the same and therefore routing will be handled by Angular when the link is in angular.io.
Let me have a chat with the docs-infra folks before doing any changes.


Fix a bug in documenation

documentation states:

app1 that has versions "0.1"
depends on app3 any version greater then "0.2"

But code was also adding a dependency of exactly: app2, "0.2"

If you can re-create this pull against oc_erchef (where depsolver now lives) we can merge it in - I'd merge it here, but this repo is deprecated.

@marcparadise I re-created the PR Thanks.


Update Autortp.py

fixed mapping of prostate only case for a prostate bed case as defined on Excel and web submission page

Thanks for submitting a fix. Sadly, I had Github configured incorrectly and didn't get the notification, and have fixed it myself since.


Cannot login to Windows Server machine from Ubuntu 20.04

Description
There was much information about how to Enter-PSSession from Linux to Windows Server but all things I've done recently don't help.
The error appears acquiring creds with username only failed An invalid name was supplied SPNEGO cannot find mechanisms to negotiate when Enter-PSSession is used.
Environment
OS: Ubuntu 20.04
Steps to reproduce
- Install gss-ntlmssp
- Install powershell
- Check if all modules appears `dpkg -l | grep gssapi`, the output should be like this:

    - ii libgssapi-krb5-2:amd64 1.17-6ubuntu4 amd64 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
    - ii libgssapi3-heimdal:amd64 7.7.0+dfsg-1ubuntu1 amd64 Heimdal Kerberos - GSSAPI support library
    - ii libsasl2-modules-gssapi-mit:amd64 2.1.27+dfsg-2 amd64 Cyrus SASL - pluggable authentication modules (GSSAPI)

- If last module is missing, run `apt -y install libsasl2-modules-gssapi-mit`
- Configure WinRM on Windows Server machine
- From Ubuntu login to PowerShell and run `Enter-PSSession -ComputerName <ip> -Authentication Negotiate -Credential Administrator`

Expected behavior
Able to login to the Windows Server machine from Ubuntu machine.

Actual behavior
The error appears `acquiring creds with username only failed An invalid name was supplied SPNEGO cannot find mechanisms to negotiate` when `Enter-PSSession` is used.

Environment data
Name                           Value
----                           -----
PSVersion                      7.0.1
PSEdition                      Core
GitCommitId                    7.0.1
OS                             Linux 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Loop in @TravisEz13. I believe PowerShell currently doesn't support Ubuntu 20.04 because of the dependency on OpenSSL 1.0, but @TravisEz13 please correct me if I'm wrong.

We support 20.04 but OMI and therefor WSMAN are not supported on 20.04 for the reasons @daxian-dbw  mention and this is by-design.

I'd recommend you switch to SSH remoting using -HostName instead of -ComputerName.


Error: Error building site: TOCSS: failed to transform "main.scss" (text/x-scss): resource "scss/styles/index.scss_a4e369375f17bb89f2019364cbe7a830" not found in file cache

Is this a BUG REPORT or FEATURE REQUEST?:
bug
What happened:
it tell me "Error: Error building site: TOCSS: failed to transform "main.scss" (text/x-scss): resource "scss/styles/index.scss_a4e369375f17bb89f2019364cbe7a830" not found in file cache"
What you expected to happen:
i don't know
How to reproduce it (as minimally and precisely as possible):
"hugo new site "
"hugo new aboud.md"
"cd themes"
"git clone https://github.com/okkur/syna.git"
"cd .."
"hugo server --theme=syna --buildDrafts"---when this it.
Anything else we need to know?:
none
Environment:

Syna Theme version:  v0.16.2
Hugo version:  v0.68.3
Others:none

Are you using the Hugo extended version?
Just tried the below and this seems to work.
git clone https://github.com/okkur/syna.git
cd exampleSite
hugo server

i download hugo_0.68.3_Windows-64bit.zip in https://github.com/gohugoio/hugo/releases

In general hugo_extended_0.68.3_Windows-64bit.zip is necessary for Syna. That should resolve this issue.
Furthermore we have some issues with Windows support for fallback, which probably will come up. Linux is the preferred environment to use. Contributions to add windows support are definitely appreciated. Relate issue #630
Last time we checked this was due to a windows specific issue in upstream Hugo, so not much we can do about this.

Closing as this should be fixed with the extended version.


If the email link is accessed from a different browser than the one it was sent from, an 'expired or invalid link' error is displayed

Example: If the email verification is sent from an incognito browser and the verification link is accessed from a normal browser, an 'expired or invalid link' error is displayed immediately. The user is required to access the link from the same browser where the email was sent.
NB: This is also affecting forgot password
Steps to reproduce the behavior:

Go to 'https://functional-adminportal-test.azurewebsites.net/login'
Click on 'Register'
Enter your email address
Click on send verification link button
Afterwards, access the verification link from a different browser than the one you requested the verification link (e.g. from your phone)
Actual Results: An error gets displays
NB: Open the link with the same browser you requested the link

Expected behavior
The link should work accordingly even accessed from a different browser requested

Related item #https://github.com/shesha-io/shesha-framework/issues/2073


Collapse/Expand Table of Content

Hi,
I whipped up a quick version of a collapsible table of content.
Dirk

Works great!  Thanks so much!

Do you have any experience with Javascript MVC frameworks?

Sorry, no experience there.  I recently started with Knockout.js, but that's more MVVM than MVC.

If you take a peek at my pickles-viewer project you'll see I'm trying to
build some more dynamic documentation for Pickles.  Pickles writes out JSON
and I use Knockout to display the JSON to the user.  The idea is that we
can do more interesting things (tag clouds, filtering features, searching,
etc.) with this platform.
Would you be interested to help out there?
On Fri, Mar 9, 2012 at 2:07 AM, dirkrombauts <
<EMAIL_ADDRESS>
wrote:

Sorry, no experience there.  I recently started with Knockout.js, but
that's more MVVM than MVC.

Reply to this email directly or view it on GitHub:
https://github.com/x97mdr/pickles/pull/65#issuecomment-4412044

Sounds interesting!  I was thinking "I'd like to search by tags in the generated HTML" the other day.
Is there a task board or something like that to discuss particular features?

Just the discussion group.  Marcus and I were using Trello for a little
while too like a mini-kanban board to track progress:
https://trello.com/board/pickles/4f076ae67519465b0715af9c
Any suggestions for a better forum?
On Fri, Mar 9, 2012 at 8:20 AM, dirkrombauts <
<EMAIL_ADDRESS>
wrote:

Sounds interesting!  I was thinking "I'd like to search by tags in the
generated HTML" the other day.
Is there a task board or something like that to discuss particular
features?

Reply to this email directly or view it on GitHub:
https://github.com/x97mdr/pickles/pull/65#issuecomment-4416182

Not really - I used http://agilezen.com/ for a while but they don't have multi-contributer free projects AFAIK.  I gather you stopped using trello - any special reason?

Haven't stopped using it, just haven't been able to devote as much time to
Pickles this winter unfortunately.  I updated it this morning though.  I'm
thinking about doing a release ...
On Fri, Mar 9, 2012 at 9:55 AM, dirkrombauts <
<EMAIL_ADDRESS>
wrote:

Not really - I used http://agilezen.com/ for a while but they don't have
multi-contributer free projects AFAIK.  I gather you stopped using trello -
any special reason?

Reply to this email directly or view it on GitHub:
https://github.com/x97mdr/pickles/pull/65#issuecomment-4417515

By the way, there is also a teamcity continuous build of pickles if you
want the latest version all packaged up ...
http://teamcity.codebetter.com/project.html;jsessionid=35062E22B684C3CEE67B6136DA97D8A0?projectId=project176&tab=projectOverview
On Fri, Mar 9, 2012 at 9:56 AM, Jeffrey Cameron<EMAIL_ADDRESS>
Haven't stopped using it, just haven't been able to devote as much time to
Pickles this winter unfortunately.  I updated it this morning though.  I'm
thinking about doing a release ...
On Fri, Mar 9, 2012 at 9:55 AM, dirkrombauts <
<EMAIL_ADDRESS>
wrote:

Not really - I used http://agilezen.com/ for a while but they don't have
multi-contributer free projects AFAIK.  I gather you stopped using trello -
any special reason?

Reply to this email directly or view it on GitHub:
https://github.com/x97mdr/pickles/pull/65#issuecomment-4417515

Thanks - BTW, I clicked on the teamcity link and that seems to log me in using your credentials.  It says "Welcome, Jeffrey Cameron" and I can open the administration section where I can see your email address.  I didn't try to make changes but this looks a bit fishy to me.

seriously?? that is a bit fishy ... a lot fishy actually.
On Fri, Mar 9, 2012 at 10:16 AM, dirkrombauts <
<EMAIL_ADDRESS>
wrote:

Thanks - BTW, I clicked on the teamcity link and that seems to log me in
using your credentials.  It says "Welcome, Jeffrey Cameron" and I can open
the administration section where I can see your email address.  I didn't
try to make changes but this looks a bit fishy to me.

Reply to this email directly or view it on GitHub:
https://github.com/x97mdr/pickles/pull/65#issuecomment-4417875


Sandbox Mode

Is there any sandbox for guest user?

No. Haven't heard of this idea. Could you explain what a sandbox would provide?

Actually, I was looking for a Live Test anywhere. As I found some screenshots for the dashboard.

I don't know of one. Best bet is to clone and install locally.

Ok thanks.


Problem with Raspberry Pi 3

face_recognition version:0.1.12 latest
Python version:3.0.0
Operating System: Raspberry Pi3 Raspian

Hi,
I followed the specific instructions for installing this tool on Pi3 with the latest raspbian image (Full version).
I successfully compiled the program and can successfully import it with python3 with  import face_recognition but when I wanted to run the examples like face_recognition when I run the program with this command python3 recognize_faces_in_pictures.py It hangs in the terminal with no response without any errors or output when I try to terminate the program with Ctrl+c It through back this error:
Traceback (most recent call last):
  File "recognize_faces_in_pictures.py", line 1, in <module>
    import face_recognition
  File "/usr/local/lib/python3.4/dist-packages/face_recognition/__init__.py", line 7, in <module>
    from .api import load_image_file, face_locations, face_landmarks, face_encodings, compare_faces, face_distance
  File "/usr/local/lib/python3.4/dist-packages/face_recognition/api.py", line 18, in <module>
    pose_predictor = dlib.shape_predictor(predictor_model)
KeyboardInterrupt

Thanks.
EDIT-----------------------------------------------------------------------
I tried the same way with my Nano Pi M3 but It was Ok but takes about 1 minute to load recognize_faces_in_pictures.py. I think I'm missing some steps to compile the output. Is there something different for compiling for an embedded board?

At that point it's trying to load the prediction models into memory. My guess is that either it's just slow or maybe it's running out of memory? I'm not really sure. I haven't had this problem on the RPi 2 I have.

Thanks for the answer.
I will give it another try with the new version of Raspbian and report back here.

Hi,I cannot open the link of the specific instructions,and I cannot install the face_recognition_models sucessfully on the Raspiberry Pi 3B.
So how can I do next step?

@tengqi200 I think the instruction of that page must be updated because it didn't work for me either. I tried the main method with compiling dlib from source and then installed face_recognition as usual.

@masoudr Ok, I will have a try later, thanks.

I am having the same issue.  It is happening when I run the face_encodings method.  No error - the shell just stops printing or doing anything:
print("image loaded")
obama_face_encoding = face_recognition.face_encodings(obama_image)[0]
print("image encoded")

The above code just returns:
image loaded

Any idea how to fix this?


DualSense constantly detected at 0% battery

Expected Behaviour
The DualSense controller is always detected as having 0% battery, resulting in the lightbar constantly outputting the flickering, low battery light. Additionally, setting the "low battery threshold" to 0 (hence disabling it) doesn't work.
Actual Behaviour
Aurora reports the correct battery percentage with the correct lightbar effects
Reproduction steps
Simply connect a DualSense controller through DS4Windows
Frequency
Always
Aurora Version:
Beta v0.8.1
Previously an Issue?
Don't know, first time using Aurora

Update to this version and report back https://ci.appveyor.com/project/antonpup/aurora/branch/dev/artifacts


Add support for RecyclerView

Now that Google has announced RecyclerView in the supportLib it would be great to have use FAB with this new view.

I`m needing this one too... I have dig a little deeper and recyclerview inherits direct from ViewGroup. Any idea on this? maybe it is easy to add support. I throw some error on focusable methods....

FATAL EXCEPTION: main
Process: com.example.testmaterial, PID: 3263
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.support.v7.widget.RecyclerView$LayoutManager.onAddFocusables(android.support.v7.widget.RecyclerView, java.util.ArrayList, int, int)' on a null object reference
at android.support.v7.widget.RecyclerView.addFocusables(RecyclerView.java:1486)
at android.view.ViewGroup.addFocusables(ViewGroup.java:1069)
at android.view.ViewGroup.addFocusables(ViewGroup.java:1069)
at android.view.ViewGroup.addFocusables(ViewGroup.java:1069)
at android.view.View.addFocusables(View.java:7359)
at android.view.FocusFinder.findNextFocus(FocusFinder.java:92)
at android.widget.ScrollView.onRequestFocusInDescendants(ScrollView.java:1454)
at android.view.FocusFinder.findNextFocus(FocusFinder.java:65)

how can i solve this??

You need to set a layout manager to your recycler view before setting an adapter or anything else

Hello,
I tried adding recyclerview in  Content area. Now parallex is not working. Can you suggestion someething please.
FadingActionBarHelper helper = new FadingActionBarHelper()
.actionBarBackground(R.drawable.ab_background_light)
.headerLayout(R.layout.header)
.contentLayout(R.layout.content);
setContentView(helper.createView(this));
helper.initActionBar(this);
    mRecyclerView = (RecyclerView)findViewById(R.id.recycler_view);
    //mRecyclerView.setHasFixedSize(true);
    mLayoutManager = new LinearLayoutManager(this);
    mRecyclerView.setLayoutManager(mLayoutManager);
    mAdapter = new CardAdapter();
    mRecyclerView.setAdapter(mAdapter);

<android.support.v7.widget.RecyclerView
    android:id="@+id/recycler_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>


Instructions confusing between readme and https://coreos.com/docs/cluster-management/setup/flannel-config/

Between the readme, the docs page and different sources (https://groups.google.com/forum/#!topic/coreos-user/eo5OnvYsj3Q) I'm finding it very confusing to determine how to run flannel. I'm new to coreos but I'm having a hard time determining how you intend me to try to configure this. Is there a change coming (from that groups discussion)
that I can just set
  - name: flanneld.service
      command: start

and it will work?

Yes, the cloud-config on the docs is correct for CoreOS 554+, which is current the alpha and beta channels. I've reproduced it here:
#cloud-config

coreos:
  units:
    - name: flanneld.service
      drop-ins:
        - name: 50-network-config.conf
          content: |
            [Service]
            ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config '{ "Network": "<IP_ADDRESS>/16" }'
      command: start

If you intend to use flannel and also configure docker to allow an insecure registry, a recent fix (https://github.com/coreos/bugs/issues/244) just went into the alpha channel

Thanks for the quick response :) I was on stable so that was the problem :P


Support for Enum Query parameters

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 96.88%. Comparing base (d6f8127) to head (2a9ea05).

Files with missing lines
Patch %
Lines

...hub/sashirestela/cleverclient/http/URLBuilder.java
83.33%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #76      +/-   ##
============================================
+ Coverage     95.90%   96.88%   +0.98%
+ Complexity      295      272      -23
============================================
  Files            35       33       -2
  Lines           805      770      -35
  Branches         74       73       -1
============================================
- Hits            772      746      -26
+ Misses           18       12       -6
+ Partials         15       12       -3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


match tab could not be found, trying again

COOKIES ACCEPTED.
COOKIES ACCEPTED.
ACCEPTED LOCATION.
DENIED NOTIFICATIONS.
match tab could not be found, trying again
match tab could not be found, trying again
match tab could not be found, trying again
any clue?

Yeah I do,
Tinder changed their html layout so I'd need to update all xpaths.
Unfortunately, I haven't yet had the time to fix it.
I'll be able to fix it next week though.

Oeef, sound like a lot of work I'm not all too good with coding but if
there is anything I can do like easy job I wouldn't mind helping at all!
Op vr 26 feb. 2021 om 17:26 schreef Frederik<EMAIL_ADDRESS>
Yeah I do,
Tinder changed their html layout so I'd need to update all xpaths.
Unfortunately, I haven't yet had the time to fix it.
I'll be able to fix it next week though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/frederikme/TinderBotz/issues/20#issuecomment-786749625,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLG6OZODTO3YK7UHLTPWTTTA7DSLANCNFSM4YITF56Q
.

Seems its not liking too just refreshing the page and writes in console that profile was liked. Ive tried to change xpaths in geomatch_helper.py for like/dislike buttons but im just a beginner and noob in Python so I got no result :(

Hello @S4nderr , @stickman33
I did some hot fixes, so it should work again as expected. (at least the liking, geomatch and match grabber)
I haven't tested the messaging yet.
(I'm still looking for a cleaner more permanent way, but for now this should do the trick)
Anyways, if it doesn't work yet after this update, please open a new issue and I'll look into it! :)
Have a nice day,
Fred


How get user location?

Hi. Messenger allows the user to send their current location. Is there any option to read it by Bootbot?
Thank you for your answer.

I've already figured it out.
convo.ask({
...
}, (payload, convo) => {
...
}, [
	{
		event: 'attachment',
		callback: (payload, convo) => {
			const text = payload.message.attachments[0].payload["coordinates"];
			console.log(text);
			console.log("Lat: "+text.lat);
			console.log("Long: "+text.long);
			convo.end();
		}
	}
]);


Remove ShuffleExchangeExec from the automatic allow list in tests

This fixes #2146

build

build

build

@jlowe I resolved the merge conflicts and this should be good to go now.


How to verify AADC is using TLS 1.2?

This is a great article that shows how to configure TLS 1.2, but it doesn't show how to verify that AADC is using 1.2 after these settings have been implemented and the server rebooted. Thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b93dd985-61dd-2b98-7a63-b63f97f1c5ec
Version Independent ID: 861050c4-c216-87be-06ce-63f7a3d5d97f
Content: Azure AD Connect: TLS 1.2 enforcement for Azure Active Directory Connect
Content Source: articles/active-directory/hybrid/reference-connect-tls-enforcement.md
Service: active-directory
GitHub Login: @billmath
Microsoft Alias: billmath

@rfoust thanks for your comment! I have assigned this issue to the content author, @billmath , to look into your feedback.

@rfoust Thank you for the feedback.  I have a work item to update the TLS portion and will include this with it also.  At this point we can close this issue and I will follow up once it is live.  Thanks!
#please-close


RqHeaders.Base ignores first header

RqHeaders throws away the first header of a request in it's map() function:
private Map<String, List<String>> map() throws IOException {
    ...
    head.next(); <--- This should not be done as it throws away the first header / Line 138
    final ConcurrentMap<String, List<String>> map =
        new ConcurrentHashMap<String, List<String>>(0);
    while (head.hasNext()) {
        ...
    }
    return map;
}

@GilraenBurland it's by design, since the first line in the "head" is not a header, but something like:
GET / HTTP/1.1

Can you show a code reproducing a problem?

Ah that's my mistake then.


Fix release and dev container builds

Fixes a kafka-related version mismatch and the following error:
#0 391.3 -- [morpheus.cuda.rapids.cuda.init_architectures.rapids.cuda.architectures_policy] _RAPIDS_POLICY_REMOVED_IN: 23.06
#0 391.3 CMake Error at build-conda/_deps/rapids-cmake-src/rapids-cmake/cmake/detail/policy.cmake:57 (message):
#0 391.3   rapids-cmake policy [deprecated=23.02 removed=23.06]: Usage of `ALL` as
#0 391.3   value for `CMAKE_CUDA_ARCHITECTURES` or the env variable `CUDAARCHS` has
#0 391.3   been deprecated, use `RAPIDS` instead.
#0 391.3 Call Stack (most recent call first):
#0 391.3   build-conda/_deps/rapids-cmake-src/rapids-cmake/cuda/detail/architectures_policy.cmake:45 (rapids_cmake_policy)
#0 391.3   build-conda/_deps/rapids-cmake-src/rapids-cmake/cuda/init_architectures.cmake:84 (rapids_cuda_architectures_policy)
#0 391.3   external/utilities/cmake/morpheus_utils/environment_config/rapids_cmake/register_api.cmake:28 (rapids_cuda_init_architectures)
#0 391.3   CMakeLists.txt:95 (morpheus_utils_initialize_cuda_arch)
#0 391.3
#0 391.3
#0 391.3 -- Configuring incomplete, errors occurred!

ready to merge

/merge


otbr-agent caught signal 11 (Segmentation fault) when Thread Certification Test(Version 1.1) 5.6.9(Router Behavior - External Route)

otbr-agent caught signal 11 (Segmentation fault) when Thread Certification Test(Version 1.1) 5.6.9(Router Behavior - External Route).
To Reproduce Information to reproduce the behavior, including:

Git commit id: 3a98779dc9f0875af9c7b137e764c9663bfdc9c3 ot-br-posix/2022-06-02-3a98779-2; POSIX; Feb 15 2021 15:22:37
IEEE 802.15.4 hardware platform: SL-OPENTHREAD/<IP_ADDRESS>_GitHub-8f92d2dc8_v1; EFR32; Jul 19 2022 14:18:51
Network topology

Console/log output If applicable, add console/log output to help explain your problem.
ThreadConsoleLog_2022_10_26_15_12.log
ThreadDebugLogger_2022_10_26.txt
syslog.log
Test-Not-Completed-5_6_9_Router_v57.0_2022_10_26-15_13_54_Ch-23.pcapng.zip

@jinpeng1989 , thanks for raising this issue. Does the seg fault occur every time or intermittently?
Also, have you tried using a more recent version of OTBR?

@jinpeng1989 , thanks for raising this issue. Does the seg fault occur every time or intermittently?
Also, have you tried using a more recent version of OTBR?

It occur every time. Try to use GSDK from SiliconLabs, it also occur.

It occur every time. Try to use GSDK from SiliconLabs, it also occur.

Can you try using a more recent version of OTBR?

@jinpeng1989 Couple of questions.

I see you are using SiLabs GSDK <IP_ADDRESS>.  Have you tried this with our two recent patch releases after this one? i.e., GSDK <IP_ADDRESS> or GSDK <IP_ADDRESS>?  GSDK <IP_ADDRESS> will force a more recent OTBR commit (ot-br-posix@181335224, openthread@2ce3d3bf0)

How exactly did you set up your OTBR?  Did you change any of the default configs while installing? (params to ./script/setup or changes to CMake / configs)

(It's curious that the seg-fault seems to happen when adding a new SRP service @jwhui )

Ok. I'll try the new version tomorrow morning.

The Segmentation fault can be reproduced in GSDK v4.1.3
otbr-agent_GSDK_v4.1.3.log

@jinpeng1989
The latest log shows the segmentation fault while the device is going through some kind of detach / re-attach.  Your original log showed it happening while adding an SRP service.  So seems like something happens when the network data is updated or network state (or active datasets) are changing.

Is it possible for you to debug this issue and get us a stacktrace using gdb on your POSIX host?  You can do:

1. Stop the running otbr-agent service:
sudo service otbr-agent stop

2. Start agent process in gdb:
sudo gdb /usr/sbin/otbr-agent

3. Start the process in gdb context:
run -I wpan0 -B eth0 spinel+hdlc+uart:///dev/ttyACM0 trel://eth0
(or whatever your arguments to the agent are, in your /etc/default/otbr-agent file)

Is there a particular set of steps that lets you reproduce this issue easily?  CLI, etc would be helpful.  We can also try to reproduce it on our end.

@jinpeng1989
Also going back to an earlier question:  Please let us know how you built your OTBR.  Did you modify any configs while running ./script/setup or in your CMake environment?

gdb_log.log

Hi,
this is the root cause.

@lancersky @jinpeng1989 @jwhui
👍🏼 Yup, noticed the same thing, and have a PR open here to address this issue https://github.com/openthread/openthread/pull/8338
Not sure why we haven't run into this before.

Fixed by #8338


Deliverable 5

Deliverable-5 should be good to go with a functioning set of features outlined in this issue: https://github.com/oss-slu/lrda_mobile/issues/49

this looks good and the test cases are now passing we can push this to main


Use open-source graphing library for sci-dash

Converted to charts.js with only the Sankey plot being generated through Amcharts5 (with due logo / link)


try to add param type in comments

Feature
Fix

[x] Link to issue #267.

Feature

[x] Description of what's added
try to add param type in comments

[x] Gif of your feature if appropriate

Thanks for your contribution @xian18  and sorry for not getting back to you earlier.
Unfortunately your change breaks existing behavior, could you please take a look at this and also add tests for your new feature?

Add the test about template type in Parameters.test.ts.
Modify the logic of the parser to pass the tests.
Some types of keywords will be missing from the original logic, e.g.
int foo(unsigned int arg1);

type of paramenter arg1 will be unsigned, not unsigned int.


automatic merging guidelines

These guidelines are intended not as requirements for packages but as very conservative guidelines, which, if your new package or new version of a package meets them, it may be automatically merged.
New package

Normal capitalization

name should match r"^[A-Z]\w*[a-z][0-9]?$"

i.e. starts with a capital letter, ASCII alphanumerics only, ends in lowercase

Not too short

at least five letters

you can register names shorter than this, but doing so requires someone to approve

Standard initial version number

one of 0.0.1, 0.1.0, 1.0.0

Repo URL ends with /$name.jl.git where name is the package name

New version

Sequential version number

if the last version was 1.2.3 then the next can be 1.2.4, 1.3.0 or 2.0.0

Compat for all dependencies

all [deps] should also have [compat] entries (and Julia itself)
[compat] entries should have upper bounds

Version can be installed

given the proposed changes to the registry, can we resolve and install the new version of the package?

Version can be loaded

once it's been installed (and built?), can we load the code?

Personally, I would like to keep the automerging guidelines as conservative as possible.
The goal (at least as I envision it) is not to automerge every package, but rather to automerge many packages.
The use case that you describe is totally fine, but I think it’s okay to have those PR’s be manually merged.

@oxinabox The other thing we can do in your specific use case is set the compat for DataFrames to something like 0.18.0 <= x < 1.0.0

The use case that you describe is totally fine, but I think it’s okay to have those PR’s be manually merged.

Manually merged the first time.
But after the 15th?
Not so much.
It is fine for packages on slow release cycles,
but when practicing continous delivery of packages with dependencies being concurently devleoped,
it isn't unreasonable to release every day for a week.

@oxinabox The other thing we can do in your specific use case is set the compat for DataFrames to something like 0.18.0 <= x < 1.0.0

That is not a legal compat specifier, AFAIK.
Could say: <=100.0 but that means not allowe a lower bound.
Alos: I think we should ideally not automerge things like that too, since it is probably a typo.

That is not a legal compat specifier, AFAIK.

It will be at some point. See https://github.com/JuliaLang/Pkg.jl/pull/1232

Nice for some. Uninteresting to those who want to keep compat with the Julia LTS version.

Things I need for JLL package merging to be automatic:

We need _ to be allowed in package names (because all JLL packages will end in _jll.jl)

Non-standard version numbers; because the JLL package versions are linked to the upstream library version, they'll in general not be a nice number like 1.0.0, nor be nice, sequential versions.

My PRs currently come in under @staticfloat, but in the future I'll probably change it to be JuliaCIBot or something like that.  Perhaps we can special-case PRs that end in _jll.jl so that they don't have the same version requirements?

We can hardcode some exceptions for JLL packages.
That being said, I would prefer that we first figure out the automerging for regular packages, get that merged, and make sure it works in production. Once automerging for regular packages has been deployed in production for a while, and we have fixed all of the bugs, then we can open a separate issue for automerging JLL packages? Does that sound like an okay plan?

Also, to make life a little easier, would it be possible for you to use the same title format as Registrator for your pull request?
For example, Registrator pull request titles look like this:

New package: Foo v1.2.3
New version: Foo v1.2.3

Could you change the format of your titles to look like this:

New package: Ncurses_jll.jl v6.1.0+0
New version: Ncurses_jll.jl v6.1.0+0

Do you think that would be possible? It would make my life much easier when I start working on automerging for JLL packages?

Yes; is it strictly necessary to disambiguate New package vs. New version?  Especially since the version requirements for a new JLL package will not be stricter, as they are for normal packages?

Presumably we will keep the existing requirement that new packages have a 3 day waiting period.

@staticfloat I opened an issue specifically dedicated to the automerging of JLL packages: https://github.com/JuliaRegistries/GeneralRegistryCI.jl/issues/6

@StefanKarpinski @fredrikekre What do you think about closing this issue?
Further issues regarding automerge can go here: https://github.com/JuliaRegistries/GeneralRegistryCI.jl/issues


Possibility to change the color

Hello,
First of all, thank you very much for your application, it works perfectly well.
Is it possible to have an option to set the color of the IP address when it is displayed as a widget? The white color is not very readable when you have a light wallpaper.
Thank you,
Mirabellette

Thank you for using it !
The color configuration (and the text, plus some other things) is on an planned update.
I need to configure each widget separately, and to add a configuration screen on the app.
Stay tuned ! ;)

Hi @mirabellette , I pushed a version with title and color configuration when adding a widget.
I hope you'll find a way to configure the widget color with it.
I sent the new version to Google Play and F-Droid today.


SRG Requests to the JTC February 27

CHRIS Graph of relative biomass and fishing intensity over time, reflecting two sensitivity analyses
a.	Weight-at-age
b.	Sigma r
CHRIS Table of likelihood components for sensitivity analyses (Dirichlet vs. Harmonic mean)
a.	Base
b.	sensitivity
c.	likelihood contribution
ANDY Include 440K catch in decision/risk tables
AARON & IAN Conduct MCMC run for the weight-at-age
a.	Include empirical matrix of WAA, and use the ’75-’79 average for oldest years and 2015-2017 average for youngest years
b.	Output – compare to base run
i.	Relative spawning biomass 2018
ii.	Forecast catch from HCR 2018
iii.	Probability of <> 40% and <>10%
c.	Do one run ready for tomorrow, and start one run that would be complete (3-day analysis) for Friday.
ANDY (#430) Bubble plots of residuals by age and year for max. age selectivity options
Due tomorrow, for discussion by 4:00

2, 3 & 5 are being done in the assessment document. Can then copy into the beamer-hake-requests.rnw (can just link to .eps files if necessary).
For 3 you have to merge my commit (once I've pushed it) and then build(run.fore=TRUE)  - check here when you've done that to make sure we all do (at some point):

[ ] Andy
[ ] Chris
[ ] Aaron
[ ] Ian

The SSplotComparisons function subplot 6 should show fishing intensity
SSplotComparisons(SSsummarize(list(model1, model2)), subplot=6)

Subplot 13 is a phase plot.
Labels won't exactly match our hake-specific figures, but I think the values will match.
I help get these working tomorrow if this doesn't make sense.

Thanks @taylori, I got it working. Cheers

16 hours and 39 minutes - 12 million MCMC run on model 2018.40.30_fecundity_matrix2 completed at 6:40 this morning and is now uploaded to the google drive.  We can work on request 4 i-iii this morning during survey presentations.

24 million run is halfway done, should be complete about 2am

Perhaps we could add a slide after Request 5 with something like a bulleted list of additional changes that we will show in the document.
These could include

New "Age-2+ biomass" column in Tables 18 and 19 (pages 86-87)
Fix to exploitation rate at age in Table 22 (page 90)
Any other changes to the doc?

Fig 28 updated (uncertainty on selectivities). p125.
Suggestion to remove 'new parameterisation of selectivity' from one-page summary (and call it 'modified' elsewhere). Not done yet, may do now.

Just deleted my knitr-cache so new build should be all updated. I can upload the modified .pdf.

Added bullets from previous two comments to a 'Bonus changes' section in beamer.

Should also mention (possible?) equation  errors from #428? I already added mention of the selectivity plot changing.

I've been failing to come up with a good way to phrase this in a brief bullet, but perhaps I can make a verbal comment when we speak to the difference in Fig 28. I'd like to take more time than available this morning to check the SS TPL file to confirm the change needed to equation (8).

Sounds good - kind of what I thought. Not quite sure yet so not changing it.
But it's just the equation that's wrong (and maybe our explanation of Phi), but Phi=1.4 is consistent with last year's phi=0.20 because of your analysis. The code is correct.

I think we're good with the talk - I'll upload the .pdf now, and the updated assessment .pdf now so they're there for after lunch.
Do you want me to present the talk but each person talk about what they did? May be easier than taking it in turns at the main laptop.

I like the idea of Andy presenting and calling on the rest of us to speak to any particular issue.

I just switch the order of two slide so could build again or just leave it
as it is not a big deal
On Wed, Feb 28, 2018 at 12:35 PM, Ian Taylor<EMAIL_ADDRESS>wrote:

I like the idea of Andy presenting and calling on the rest of us to speak
to any particular issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cgrandin/hake-assessment/issues/431#issuecomment-369373846,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHk_-jWCsBZHADhX3Xhr8v6w3HsEQ-Yeks5tZbiPgaJpZM4SV1Wp
.

--
Aaron M. Berger, Ph.D. Research Mathematical Statistician
Fishery Resource Analysis and Monitoring Division
Northwest Fisheries Science Center
2032 SE OSU Dr. Bldg. 955
Newport, OR 97365-5275
<EMAIL_ADDRESS><EMAIL_ADDRESS>


update readme for certificate usage according to msal limitation

Update Keyvault secret sample readme for GitHub issue.

@yiliuTo

the provided certificate file only contains one certificate entry

Now do you know why the microsoft-authentication-library-for-java have this requirement?

@yiliuTo

the provided certificate file only contains one certificate entry

Now do you know why the microsoft-authentication-library-for-java have this requirement?

This is because msal4f supports certificate chain by loading it from the end-entity certificate automatically. So it expects users to provide the end-entity certificate only instead of the whole chain.


Try to fix reconnect test

In this economy

If this fixes it reliably I'll grant you 3 (three) free review tokens

If this fixes it reliably I'll grant you 3 (three) free review tokens

What if all three are huge body system PRs

I regret my comment already but sure

Apparently, this key (eaa7267d-1f2c-4723-bec7-46890c8a1278) wasnt foud in the dictionary. I was looking at the commit logs.

Apparently, this key (eaa7267d-1f2c-4723-bec7-46890c8a1278) wasnt foud in the dictionary. I was looking at the commit logs.

We know it's been happening for months in the test


Init changelog 24.02

Init changelog with
GITHUB_TOKEN=<> scripts/generate-changelog --releases=23.12,24.02

move 23.10 content to archives folder

Please click the Load diff to see the new changelog changes.
this is for in-advance changelog review, we will re-generate multiple times to update content to latest later,
@mattahrens @sameerz @GaryShen2008 to help adjust issues and changes thanks

Reviewed the changelog and made some minor changes to issues.  I am good after it is regenerated.

build


Add package 'pytrainer'.

Application for logging and graphing sporting excursions.

Built and tested briefly. Pushed to master. Thanks!


Java interface proxies (and builders?) do not respect optional arguments in methods

They should convert optional members into method overloads.
Repro:
export interface InterfaceWithOptional {
  myMethod(arg1: string, optionalArg2: number?);
}

Package to java and the generated interface will include two methods (one with a single argument and one with two) but the proxy/builder will only contain a single method. Compilation will fail.

This will likely be true for constructors, as well.

Constructors are covered by generateOverloadsForMethodsWithOptionals


Add support for workspace statuses in pkg_*

Description of the problem / feature request:
I would like to use variables defined via my --workspace_status_command in pkg_* rules.
Feature requests: what underlying problem are you trying to solve with this feature?
I would like the version of my RPM to contain the branch I am working on (provided by the workspace status command).
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Declare a pkg_rpm rule with version = "{FOO}".
What operating system are you running Bazel on?
Ubuntu Bionic
What's the output of bazel info release?
release 3.2.0rc1

I'm not inclined to do this by default.  That would mean every rule would now have to take a dependency on stable-status.txt.  What I could see is a shared attribute env_vars:string_list.
If you set that on any rule you get the dependency on stable_status and enable the lookup, but only for those variable listed. That nicely documents that the rule depends on something outside the BUILD file (perhaps a default can be specified there). I could also see this variable expansion extend into the template and spec files.
It needs a better design before implementing.

Duplicate of #53


Revert "[Performance] Optimize performance of like expr using strstr()"

Reverts apache/doris#15168
in our case,  there are one table named table_A, having a column col_1. It has value "三星" and "红包".
a sql like
select `clo_1` from table_A where ... and `clo_1` like '%红包%' ... group by xxx  LEFT JOIN (select `col_1` from table_A where ...  and `clo_1` like '%红包%' ... group by xxx）on xxxx = xxxx

returns a row that col_1 == "三星"。

Do we have same issue on master?

Do we have same issue on master?

tested locally, master doesn't have the same problem.

Do we have same issue on master?

and also no problem with 1.2-lts

cc @weizuo93


FR: Recognize special blocks or syntaxes to disable Linter on them

I'm starting using Obsidian_to_Anki plugin and it works with an special use of the blank lines and probably other syntaxis. If I use Linter I break these rules and the Obsidian_to_Anki plugin function.
I would like that Linter recognize these rules in the notes and avoid modifying these features of those texts.
Example
Original text
Question %% #flashcard %%
Answer

After the current Linter version
Question %% #flashcard %%

Answer

The ideal solution should have a toggle in the configuration to select (or make it default) if we want to respect the rules of Obsidian_to_Anki plugin on these lines (maybe with the toggle to force Linter to act). Another not so good option could accept some regex templates and which rules should not be executed on them.

This sounds like it could be an interesting addition to the plugin. I am definitely open to PRs around this. As of right now, I am focusing on older FRs that have been requested multiple times or have been around for a while that I have the knowledge to work on at this time.
If you would like to, you could open a PR to add this feature.
Thanks again for the request!

So far I have a basic form of the UI and I have started work on passing it into rules. This would not apply to paste rules or custom commands. I do plan to add this functionality to the custom ignores though.

This should go out in the next release. Please let us know if the new syntax does not work for ignoring the Linter rules on master or in the next release.


[CROSSDATA-351] [SECURITY] Session added to driver & common

LGTM

@darroyocazorla I've added your fantastic suggestions ;-)

+1

+1

Beautiful! +1


Problem with ocelot + identity server (wrong token lets me go)

Hi there,
congratulations for this great project, it's being useful for me.
Let me talk about something about it. I think there is a problem with the authentication and authorization features.
If I have the following scenario:
Client <---> Gateway <------> IS
                     <------> Api1
                     <------> Api2

and I install and configure the IdentityServer4 Nuget packages in Api1 and Api2, when I request a token to access to Api1 and I try access to Api2 with this token, Api2 return unhaurotized (that's OK!!).
But when I remove the IdentityServer4 Nuget packages from Api1 and Api2 and I configure the reroutes in my gateway to use authentication and authorization ocelot's features (in order to not have to use IS in the apis), and then I request a token to access to Api1 and I use it to access to Api2, the gateway allow the access to Api2 (with a token requested to access to Api1!! :'( ).
Thx and great work!!.

@JBuenoG I created the PR #104 to work on this.
The problem is with an older version of the package IdentityServer4.AccessTokenValidation. If I update this package to the last version works fine, but I have found another problem with the property AllowedScopes which doesn't works correctly.

@JBuenoG The PR #104 has been already merged into master.


Run Packit tests with new specfile changes

Fixes: #163
I hope that the RPM is installed in testing farm as an artifact, so this should work but let's see - I added a breaking change that should cause packit tests to fail

The tests fail both locally (try tmt -c how=integration run -avvv plan -n packit-integration provision -h virtual -i fedora-36 login -s prepare for testing with f36 build from packit build) and in Testing Farm, pretty cool.

Should we adjust this using git_reference.py?
I think that would make sense.

I am also not completely sure what we want to do downstream with packit tests. Currently, main will be used to fetch the tests, I believe. Should we adjust this using git_reference.py?

Actually, won't the git_reference.py script overwrite url also in packit-integration.fmf?

@nforro PTAL

Nice job on CONTRIBUTING.md :+1:

Hm, interesting, the centos-stream-9 test seems to still use the previous epel-9 build that had my intentional bug as per the logs... https://artifacts.dev.testing-farm.io/9433af99-2bcc-4ff0-8dc9-3061bbcf72a4/ this could be a Packit-service bug, I will try to investigate.

/packit test

The failing stream9 test is caused by a weird downgrade during Testing Farm test run to a previous build from this PR (a correct build artifact is installed at first but then overridden by an incorrect one). Testing Farm tracks this issue and plans to lock the version of artifacts so that this does not happen.


CWSAObserver

I got crash under ios13 again in the same thread CWSAObserver, when I repeatedly request failure.  This link is easy to show this bug.
https://github.com/AFNetworking/AFNetworking/issues/4453

The same Problem


core: scratch build.bash not present on x64

Start script cannot find scratchbuild.bash, thus the core docker container cannot be loaded and initialization fails.
Compiled as intel x64 with the following file(configs/intel/x64/buildroot/iso):
BR2_TARGET_ROOTFS_ISO9660=y
BR2_TARGET_GRUB=y

Scrach build is provided here: https://github.com/paralin/scratchbuild/blob/master/scratchbuild.bash
The script is not actually useful on x86 since most Docker images on the Docker Hub are built against x86. The script probably should be modified to do nothing against x86.
I'm planning to replicate your setup tonight or tomorrow. In the meantime, you can bypass this entire problem by running the following command on your running system:
printf "#!/bin/bash\ndocker pull $2" > /opt/skiff/scripts/scratchbuild.bash

Please let me know if that fixes your issue for now.

Hi, the workaround is not possible, as the VM does not reach a prompt at all, see attached screenshot.

Are you certain? Try SSHing to root. At that stage it should have already completed boot. You're just watching the system logs.

You are setting BR2_TARGET_GRUB but BR2_TARGET_GRUB2 is already enabled - do you need both? Why?

Hi Christian, I don't need both - just GRUB. I'm not sure though how to disable GRUB2.

BR2_PACKAGE_GRUB2=n

Superseded: #26


Fix hyperlanes not rotating in screenshots

The problem was that the tailwind css class rotate-... uses the transform: rotate(...) css property, which was being overridden by an inline style. The fix is just to add the proper rotate instruction to the inline transform style.
My clojure is no good, so please feel free to make any changes to the code!
Closes #5

Thanks for submitting! The fix is almost right: tailwind just greps the class names out of your code so you can't use a function to generate them without also including a list of the classes you could potentially generate. I've made this tweak myself and I'm deploying it now.
Thanks again for fixing this!


[10.x] Add hash_algo option for token auth driver

I've added a hash_algo config option for the token auth driver. This would allow alternative hashing algorithms to be used. It still defaults to sha256, so it should be a non-breaking change.
'api' => [
    'driver' => 'token',
    'provider' => 'tokens',
    'hash' => true,
    'hash_algo' => 'sha512',
]

This driver is deprecated and shouldn't really be used for anything in production.


Creating tool with invalid or no "Source Code URL" results in empty tool entries created which prevents creating assistants until manual refresh.

Steps to reproduce the problem

Create a tool with a "Source Code URL" with incorrect value ( invalid urls , valid urls but those that do not have tool.gpt in this url path) or no value entered.
We see an empty tool entry being listed

After this when I attempt to "Create Assistant" , Create assistant page does not launch.
Only way to get out of this state is to do a manual refresh after which empty tool entries are not seen and Create assistant page  starts working.

This issue is not seen anymore.
Tool creation reports the following error in this case
Error Saving Tool
FetchError: [POST] "/v1/tools": 400 Bad Request


docs: update assets URL constructor demo

Description

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

// 1. common use case demo
const imgUrl = new URL('./img.png', import.meta.url)

document.getElementById('hero-img').src = imgUrl

// 2. dynamic url demo
function getImageUrl(name) {
  return new URL(`./dir/${name}.png`, import.meta.url).href
}

These two demos in the docs may make the new comers confused, although the URL constructor will call its toString method implicitly and the href property will return. So maybe it's a good choice to use the href property explicitly for these demos and make them consistent.


Route problem

Hello, I have this directory tree

i expect, that path /pub/dashboard matches file [...all].tsx, but it dont match neither /pub/:id/dashboard nor /pub/*
I didnt understand why.
Can you please help?

Glad to see it was solved.
Wanted to highlight that in your example, you could use optional segment to match the two urls you've mentioned without using [...all].tsx as a wildcard route.
Having src/pages/pub/-[id]/dashboard.tsx instead, would resolve to /pub/:id?/dashboard which matches both /pub/:id/dashboard and /pub/dashboard.
Hope that helps!


FieldReference: Common inheritance for all controls (LookupItem, Bool…

…eanItem, etc)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Other (updates to documentation, formatting, etc.)

Description

Created FieldReference class which is extended by each control class. This allows controls to be returned as and iterated over as a typed collection.
Issues addressed

Could not create and iterate over a collection of mixed-type controls.
All submissions:

[x] My code follows the code style of this project.
[x] Do existing samples that are affected by this change still run?
[ ] I have added samples for new functionality.
[x] I raise detailed error messages when possible.
[x] My code does not rely on labels that have the option to be hidden.

Which browsers was this tested on?

[x] Chrome
[x] Firefox
[x] IE
[ ] Edge

I approve this idea and I suggest to consider to move the Implementation of the GetValue, SetValue & ClearValue from the WebClient to the control.
It will look like:
//in Base should be virtual or abstract
public class FieldReference<TResult>
{
    ...
    public virtual TResult GetValue(IWebDriver context)    {   ...    }
}
//in WebClient
internal BrowserCommandResult<TResult> GetHeaderValue(FieldReference<T> control)
{
    return Execute(GetOptions($"Get Header LookupItem Value {control.Name}"), driver => control.GetValue(driver));
}
// or just
internal BrowserCommandResult<TResult> GetHeaderValue(FieldReference<T> control)
    => Execute(GetOptions($"Get Header LookupItem Value {control.Name}"), control.GetValue);

I suggest to check also the name convention, now is sometime Control, Item or Field
I will prefer:
if  FieldBase, then BooleanField  : FieldBase
or
 if ControlBase<T>, then BooleanControl : ControlBase<bool>
there is also posible to add more methods like: Click, ClearFocus
For dummies maybe we should consider, to keep this classes internal and add just methods like:
Entity.GetValue<bool>("ischecked")
Header.GetValue<bool>("ischecked") or Entity.GetHeaderValue<bool>("ischecked")
Entity.SetValue<DateTime>("closedate", date, "dd/MM/yyyy") // <DateTime> may not be explicit
Entity.ClearValue<DateTime>("closedate")

Well the risk is to have too many overloads, users can get confusing & don't know what to use & which are the default values. What the the default method (without type) should do.
A good alternative is to have more expressive control classes, should not necessary be the same that make the real work, the risk is to habe too many classes (once for the input, once for the internal work).
A middle way is also possible, Some simple classes for the user input with less logic & more methods in the client.Entity/Process/QuickCreate/etc & more internals classes to get the work done (at the moment all in WebClient).
But whatever it should be, it should be also reviewed, at the moment is not really clear what is the right way. The worse example for me is the Get/SetValue(LookupItem[]) which should be instead a Get/SetValue with one Control that contains a List/Array of Values. That WebClient.cs is huge & growing constantly can not be good.
Thanks & br


Fix: Added alias escaping in subquery

Description
Follow-up #5510
Added alias escaping in subquery
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Do you update the user guide?

https://github.com/codeigniter4/CodeIgniter4/pull/5510/files#diff-42476d30b4745806628c01d3102e5e7723a78eb88bc1e12c5b1680daa4d8a8ddR223
https://github.com/codeigniter4/CodeIgniter4/pull/5510/files#diff-42476d30b4745806628c01d3102e5e7723a78eb88bc1e12c5b1680daa4d8a8ddR231

@kenjis
I didn't attach importance to it. Now I'll add alias escaping.
It would be desirable to learn, into the account of the correct registration of SQL in the documentation. Because some of the SQL examples don't use escaping.


Tests: remove link to boost unit test framework

This PR provides a similar solution proposed in https://github.com/humanoid-path-planner/hpp-fcl/pull/270.
Hopefully, this PR will fix the segfault that appears in Debian systems.

@nim65s -- do you know why this job (https://gitlab.laas.fr/loco-3d/crocoddyl/-/jobs/141664) is broken?

Also the buster job is now passing (as expected).
I suggest to do not allow failures anymore.


Assess methods to establish a secure connection between the hook receiver and the mini controller

@chanwit : Is there any communication between the mini-conrtoller and a webhook receiver, or the webhook receiver will create a custom resource "branch based planner", and the mini-controller will pick that up on reconcile?
If the former, then we need an grpc server on the mini-controller (or any kind of listener) and that's the scope of this issue to figure out what can we use and how.
If the latter, I don't think we have anything to do with this other than "manage CR from the webhook receiver" (delete on "merge/close", create on "open").

It would be the latter.
Webhook receiver and a mini controller that talks to K8s API would be two logical sub-systems inside the executable you've created in #579

Created #586 as an action item from this. I don't think we need anything else than state management. I see only 3 actions now: create, delete, and annotate (to force re-run).
It is possible we find more actions with #583.


Integrate David badge to README.md

David will look at the packaged dependencies (and dev dependencies) to tell you when you're up to date, out of date or insecure.
Discovered while poking around in dwyl/learn-nightwatch
Resources

https://david-dm.org

Alternative package version checker:
VersionEye.com - https://www.versioneye.com/


Update your-name.txt

Learning it for the first time.

Thank you! Good luck learning how things work!


Added missing edge port in GCP yaml

With the yaml as it was, port 7070 was not exposed in the tb-node service.
Thingsboard Edge instances could not communicate with Thingsboard CE deployed that way.
Adding port 7070 to the service fixes the issue.

@rbarberop
Thank you for submitting this PR. Before merging, I would like to gain a better understanding of your use case to ensure we improve the documentation accurately. I'm curious about how you connected Edge instances to ThingsBoard CE deployed as a monolith or using microservices without an external load balancer. Did you also deploy ThingsBoard Edge instances within the Kubernetes cluster?
By understanding your use case, we can ensure the appropriate changes are made and provide more comprehensive guidance for other users in similar situations.

Hi @volodymyr-babak , thanks for taking a look at this.
The issue happens in both cases, monolith or microservices. And it's independent of which K8s cluster they are deployed in (same cluster for demo purposes or different clusters for MVP with a customer).
With the current configuration, Thingsboard CE does not expose port 7070, which means that any Thingsboard Edge instance can't connect.
I just added port 7070 to be exposed in the service to fix the issue.

@rbarberop, thank you for providing additional details.
Currently, the tb-node container exposes port 7070:

I am in the process of working on a pull request to add a new Edge TCP service of type LoadBalancer:
https://github.com/thingsboard/thingsboard-ce-k8s/pull/93/files
After deploying this LoadBalancer service to my GCP cluster, I successfully connected a ThingsBoard Edge instance running on my local PC to a ThingsBoard CE server running in a Kubernetes cluster within GCP.
Here are the steps in the documentation I followed to obtain the IP address of the Edge load balancer:

The tb-node service you modified is of type ClusterIP and does not provide an external IP address. I am wondering how ThingsBoard Edge would connect to ThingsBoard CE in this case. I might be missing something, and I am trying to understand the missing part at the moment.

You are correct, the config I uploaded would only work in the demo use case, where both are deployed in the same K8s cluster.
Yes, the container exposes the port 7070 but then it was not connected to any service, that's what I was adding with this PR.
Given that you are already going to cover this with your PR (and that the version of Edge in this PR is already old), I'll close it in favor of yours.
Thanks for taking the time to check it out.


[Bug] NodeURL should not autocompleted "/api/v1/"

Description
Describe the task, this may be scoped beyond a single PR.
We provide a node URL and the client autocompletes this with /api/v1/ to do the API calls, but that is not a guaranteed setup.
Motivation
Describe the motivation for the feature to be developed.
Chronicle and user set up nodes may not have /api/v1/ in their endpoints.
To-do list
Create a task-specific to-do list . Please link PRs that match the To-do list item behind the item after it has been submitted.

[ ] Remove /api/v1/ from the client
[ ] Edit default nodes and (WASM) examples to write out nodeURLs to include /api/v1
[ ] Publish NPM dev version for WASM

I think the issue is in iota.rs (we don't build the endpoints) and is a duplicate of https://github.com/iotaledger/iota.rs/issues/527


Enhancement: Customize Python Logging Format Based on Log Level

The proposed improvement aims to have a different message depending for different log levels. For example:

For informational messages: Use the format "[*] ........".
For error messages: Use the format "[-] ........."

Implementation of this feature could significantly improve the readability of logs by allowing more detailed formatting of messages.

#172


Prepare icons with avocado and crab.

https://masterborn.slack.com/archives/GT7TBR3QE/p1610134436005600

This won't land on the website, so I am closing this as an issue.

This won't land on the website, so I am closing this as an issue.


[#129] Bump morley and LTS

Description
Problem: there is a lot of changes in morley since the last time we
updated this dependency.
Solution: bump morley version.
Overall changes include:

Get away from tezos-bake-monitor-lib, as morley now has
Morley.Micheline where the same logic is implemented in a more sane
way.
There were changes in morley-nettest, and also there is a separate
morley-client now.
ManagedLedger was updated in a breaking way (now it stored balances
and approvals in separate big_maps), so we duplicate some code from
there to preserve compatibility.
EntryPoint has been replaced with Entrypoint everywhere.
Other minor changes.

Some later we have to prepare V2 of TZBTC contract and use the actual
ManagedLedger version there. This goes into a separate PR.
Related issue(s)

Resolves partially #129.
:white_check_mark: Checklist for your Merge Request

Related changes (conditional)

Tests (see short guidelines)

[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.

Documentation

I checked whether I should update the docs and did so if necessary:

[x] README
[x] Haddock
[x] docs/

[x] I updated changelog unless I am sure my changes are
really minor.

Stylistic guide (mandatory)

[x] My commits comply with the following policy.
[x] My code complies with the style guide.

"Fix address references in test scenario" commit turned to be useless, I'll remove it now and force-push without other changes.

Ok, so here's what's left to be done:

Wait for a new release of indigo. Merge https://gitlab.com/morley-framework/morley-ledgers/-/merge_requests/12 afterwards and use the result here.
Fix hlint and reuse lint.
Maybe something else will come up when CI manages to start building code.

Okay, I squashed all commits, will comply our CI now.

New releases have been made btw, you can use Hackage versions of morley, lorentz and indigo. You'll need to niv update hackage.nix to make CI work.

Please ping me when it's ready for final review. I see CI is still failing.

@gromakovsky You can witness that the end of time is apparently near since this MR passes. I think everything should be good now.

Ok, added fixes.


adds display:inline-block to style tag

The example attempts to change the height of an inline element (webview), which has no effect.
The height styling will now take effect.

:+1:


💖 masterCSS should look for master.css.* config file inside src folder (svelte)

Current
Currently masterCSS and all masterCSS tools are looking for configuration file (master.css.ts) in the main folder of project. This is usual place for config files, but because we importing that config, that create a problem in vite context. Vite autodetects a root of project (which is src folder in the svelte context) and limiting importing files to this folder, deny all imports below it and throwing error:
The request url "/project/master.css.ts" is outside of Vite serving allow list.

masterCSS (and tools) looks for master.css.ts in:
/master.css.ts
/src/

Above will fulfill a masterCSS side, but will throw error about importing file outside of allow list of Vite.
Expected
masterCSS (and tools) should looks for master.css.ts in:
/
/src/master.css.ts

This will be inside allow list of Vite, but currently is not detected by masterCSS (and tools). This is also the place from where master.css.ts is imported in the guides of integration of masterCSS with Svelte and is leading to many errors just after following a guide.
npx mcss init should also detect sveltekit, and create config file in src folder.
Probably the best for DX will be:

masterCSS looks for config in / and /src/
optional .mcss config file to change a path to master.css.* file for edge cases.

All above is in context of SvelteKit, but I believe there is more cases where above apply.

Adding one more step for setting up the allow list causes fewer side effects.

The main reason for placing master.css.* in the root directory is that Language Service and ESLint Plugin grab configuration files from the root directory by default. Once the file location of master.css.* changes, you will have to pay more attention and manually specify the configuration of both.

@oskar-gmerek Thx for your report! The documentation has been updated https://beta.css.master.co/docs/installation/svelte


OSError: exception: access violation writing

Windows 10 + Python 3.6.1 x64
Have successfully installed LightGBM and can run the binary_classification example from command prompt.
If set the classifier as XGBClassifier, everything is okay. When change to LGBMClassifier, the following exceptions is thrown.
 File "D:\Anaconda3\lib\site-packages\lightgbm\sklearn.py", line 695, in fit
    callbacks=callbacks)
  File "D:\Anaconda3\lib\site-packages\lightgbm\sklearn.py", line 474, in fit
    callbacks=callbacks)
  File "D:\Anaconda3\lib\site-packages\lightgbm\engine.py", line 183, in train
    booster = Booster(params=params, train_set=train_set)
  File "D:\Anaconda3\lib\site-packages\lightgbm\basic.py", line 1307, in __init__
    train_set.construct().handle,
  File "D:\Anaconda3\lib\site-packages\lightgbm\basic.py", line 860, in construct
    categorical_feature=self.categorical_feature, params=self.params)
  File "D:\Anaconda3\lib\site-packages\lightgbm\basic.py", line 714, in _lazy_init
    self.__init_from_np2d(data, params_str, ref_dataset)
  File "D:\Anaconda3\lib\site-packages\lightgbm\basic.py", line 776, in __init_from_np2d
    ctypes.byref(self.handle)))
OSError: exception: access violation writing 0xFFFFFFFF98090000

Any idea?

are you on the latest version ?

BTW, can you provide a re-produce code with randomly generated data ?

I tried with this example. The problem still exists.

can you try to uninstall and re-install ? you can install version 2.1.2 from pypi directly.

@guolinke I will try to reinstall. BTW, here is what I got.

BTW, we have the tests for these examples in Windows: https://github.com/Microsoft/LightGBM/blob/master/.appveyor.yml#L51-L58
So these examples should be run without errors, since the tests are passed

@guolinke Thanks for the advice. I installed the cpu version via pip install lightgbm and things works fine. But I forgot to mention that I am trying with gpu version. So if I install with pip install lightgbm --install-option=--gpu --install-option=--mingw, the access violation exception happens again.

ping @huanzhang12 @StrikerRUS

The problem is solved by update relevant packages by pip install setuptools numpy scipy scikit-learn -U. @guolinke thanks for your advice. Please close this issue.


Database.open: callback not called if mode is undefined

Issue Summary
In the code bellow if mode is set to undefined the callback is never called.
I expected that both code are equivalent.
  const db = new sqlite3.Database(":memory:", undefined, () => {
    console.log("1"); // not called
  });
  const db2 = new sqlite3.Database(":memory:", () => {
    console.log("2"); // called
  });

Steps to Reproduce
See summary
Version
5.1.6
Node.js Version
18.15.0
How did you install the library?
npm

https://github.com/TryGhost/node-sqlite3/blob/8598a9dc11322881fc0da58bba463ad0d3cd0613/src/database.cc#L130-L143
In the code, if the second argument is pressent but not a number (e.g. undefined) pos is not incremented.
So it try to read the second argument as the callback function, but because it is undefined, callback is not set.


Replace config file with command line parameter

It is useful if we can replace placeholders in a config file with command line parameters.
For example, the following config file

in:
  type: jdbc
  ...
  query:
    SELECT * FROM ITEM WHERE CATEGORY='${category}'

will be replaced by the following command.

embulk run config.yml -P category=100

I would like to use environment variables, too.

I would like to use property files, too.
example)
command:
embulk run config.yml -P jdbc.properties
config.yml:
in:
  type: jdbc
  user: ${resource.jdbc.user}
  password: ${resource.jdbc.password}
  ...
jdbc.properties:
# JDBC
resource.jdbc.user=user
resource.jdbc.password=pass

I'm considering to use Liquid as text-based template engine of config file. For example,
command:
# liquid template engine is enabled if file name ends with .liquid
embulk run config.yml.liquid -P jdbc.properties --env

config.yml.liquid:
in:
    type: jdbc
    user: {{resource.jdbc.user | text}}
    user: {{resource.jdbc.password | text}}  # "| text" escapes special characters and surrounds by "
    port: {{env.jdbc_port}}  # "env" is enabled if --env cmdline arg is set

Hello,
I would like to have multiple variables into one file as you described here with the jdbc.properties but unfortunately I counldn't manage it.
For now I use multiple .liquid files (it is quite a mess) and I don't want to set variables into env.
Having all variables stored into one file is such a good idea ! Are you considering implementing it ? Or maybe I did wrong and it is already possible ?
Thanks
Vincent

Hi @Olaktal ,
You can use multiple variables as follows.
_jdbc.yml.liquid

{% assign my_host = 'xxx' %}
{% assign my_database = 'xxx' %}
{% assign my_user = 'xxx' %}
{% assign my_password = 'test_pw' %}

conf.yml.liquid

{% include 'jdbc' %}
in:
  type: xxx
  host: {{my_host}}
  database: {{my_database}}
  user: {{my_user}}
  password: {{my_password}}
  table: ...
  ...

command

embulk run conf.yml.liquid

Hi @hito4t
Thanks, I'll try it ASAP.


Onboard Fureigh

Onboarding Checklist

In order to get Fureigh productively contributing to the cloud.gov team, Andrew should help Fureigh complete a prescribed set of tasks that will bring them up to speed.
Directions:
Fureigh and Andrew: Try to go through your checklists in order.
Andrew: If you can’t complete any of the items on your checklist personally, you are responsible for ensuring that an appropriate person does it.
Fureigh checklist
Getting to know cloud.gov

[x] Take judicious notes on what about this onboarding process or cloud.gov is confusing or frustrating. If you notice a problem (especially with things like documentation), you are more than welcome to fix it! At the very least, please share this information with your buddy (or someone) at some point so we can make the team/platform better. (You can also file issues and pull requests on the template for Onboarding issues.)
[x] Figure out who your onboarding buddy is (they should reach out to you) and make sure this issue is assigned to them.
[x] Read the team onboarding document for more context about cloud.gov.
[x] Check out the cloud.gov team roster sheet to get a sense of who's working on cloud.gov and in what capacity. (Note that we work closely with the 18F Infrastructure team, but they're not considered part of the cloud.gov team.)
[x] Bookmark the pertinent links listed here.
[x] Read the "What is it?" presentation for a rundown of what cloud.gov is and does
[x] Read through the Overview section of cloud.gov for a broader understanding of cloud.gov, especially as we present it to potential customers/users.
[x] Read the January 2016 cloud.gov "Executive Business Case" document for greater context about cloud.gov's potential impact in government.
[x] Deploy a sample application to cloud.gov to get familiar with the basics of the PaaS from a user's perspective.
[x] Check out the roadmap to get a high-level view of recently-completed, in-progress, and upcoming features.
[x] Install the ZenHub browser extension to enable you to see kanban boards, hierarchical issues, and burndown charts in GitHub.
[x] Read the Delivery Process document to learn about how we work.
[x] Join the cloud.gov team Google Group, so you can participate in team-wide internal communication.
[x] Consider joining [Cloud Foundry's Slack channels] (https://slack.cloudfoundry.org/) (we sometimes talk to folks in #gov and #gov-private – you'll need a team member to invite you to the latter).
[x] Figure out what themes you're likely to work in, and complete the checklist below that relates to it.
[x] Once you've finished the remaining checklists below, make suggestions for steps that would have improved your onboarding experience as pull requests on the onboarding checklist template used to make this issue.

Required items for all team members
These items help us fulfill security and compliance requirements (including for FedRAMP). If you get stuck, or if these requirements are confusing, ask for help from your buddy or in a cloud.gov channel.

[x] Read the 18F Security Policies and Procedures. These documents (which are mostly quite short) explain the high-level policies and procedures we must comply with while running cloud.gov.
[x] Read the Incident Response Guide.
[x] Coordinate with your onboarding buddy to go through Incident Response Training within 60 days of joining the team (and annually after that).
[x] Read the Contingency Plan.
[x] Read the Continuous Monitoring Strategy, particularly the cloud.gov team responsibilities.
[x] Coordinate with your onboarding buddy to go through Contingency Planning training within 10 days if you'll be taking on a significant role in our Contingency Planning processes (or annually if not). [N/A. –@fureigh]
[x] Read the Configuration Management Plan.
[x] Read our sharing secret keys policy.
[x] Review the 18F requirements for password management.
[x] Review the 18F open source policy guidance about protecting sensitive information.
[x] Coordinate with your onboarding buddy to go through nonpublic information training within 60 days of joining the team (and annually after that).
[x] Subscribe to the cloud.gov team calendar (click the + in the bottom right) so you know when assorted team meetings are happening in the various squads.
[x] Subscribe (through the GitHub watch function) to the cg-site GitHub repository notifications.

Theme-specific items
For explanations of our theme names, see this glossary.
Agent Q-specific items (some of these may apply to Migration work)

[x] Bookmark the Agent Q kanban board view.
[x] Join the #cloud-gov-agent-q channel on Slack.
[x] Read about Cloud Foundry services from a user perspective.
[x] Read about implementing services.
[x] Take a look at our existing brokers.
[x] Learn about Concourse: check out our staging and production instances, and take a look at some of our pipelines.
[ ] Join the Cloud Foundry Slack.

If developing

[ ] Review the dashboard contributing guide and cg-style standards which help frame what we're looking for in code review.
[ ] Set up the landing/docs page, dashboard, and cg-style locally.
[ ] Set up cg-style to be linked to the other sites locally.
[ ] Have a cloud.gov person send the cg-dashboard testing environment variables through Fugacious.

Andrew checklist

[x] Introduce yourself to the new team member and give them some of your background so they know who you are.
[x] Identify a straightforward, well-groomed story in progress that involves their skills domain, schedule a meeting with the owner for an introduction (if it's not you), and setup pairing sessions several times in the first week on the project.
[x] Identify a straightforward, well-groomed first story, ideally something they could conceivably complete in their first two/three weeks using their existing skills. Discuss the context with them, then make them the assignee for the card.
[x] Make suggestions for how the onboarding experience could have been improved as PRs on the onboarding template.

Required items for all team members
These items help us fulfill security and compliance requirements (including for FedRAMP).

[x] Make sure they're in the list of people working on the project.
[x] Add their name, whether they're Cloud Ops (Atlas/AgentQ), and the date they joined the team to the training tracker.
[x] Add them to the @cloud-gov-team in Slack’s Team Directory, which also adds them to the right channels (or ask #admins-slack if you don't have permission to do this).
[x] Add them to the recurring cloud.gov meetings that are relevant for them in the team calendar.
[x] Ask #admins-github to add them to the @18F/cloud.gov team on GitHub.
[x] Ask #cloud-gov-skyporter to add them to Zendesk, so they can see how we handle non-18F support and get visibility of technical discussions happening with outside groups.

Noting that I can be the onboarding buddy for @fureigh!

@fureigh FYI, I culled some of the lists for other squads that shouldn't apply to your migration work. If I happened to remove something that would be useful, please let me know!

Closing this out. 🎉 I'm not currently slated to work on the dashboard, so I've intentionally left that checklist alone.

woohoo

@nikzei did you intend to reopen this issue?


fix: minor text modifications

I have made some small changes to the text in blocks.qmd :-)
And changed a broken link in adding-posts/index.md (issue #148 )

Wonderful thanks 🤩


DMA: stm32f4: Extend meaning of DMA return value

Extend the meaning of DMA return value which is fed to user's callback function so that the meaning of non-zero return value will be defined by a specific DMA driver.
Specific to STM32's DMA driver,  redefine the return value so that zero means DMA transfer is successful; positive means not only a successful DMA transfer but also how many bytes received for RX DMA cases; negative still means DMA error. Accordingly, updated STM32's I2S driver to correspond to the change.
The PR also fixes a waiting issue in STM32's DMA driver by reducing one time wait delay to 50ms and aborting after 5 seconds in total when disabling DMA.
The PR tries to be the first step for addressing the issue https://github.com/zephyrproject-rtos/zephyr/issues/13955.

Codecov Report

Merging #14809 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #14809   +/-   ##
=======================================
  Coverage   52.51%   52.51%
=======================================
  Files         309      309
  Lines       45048    45048
  Branches    10419    10419
=======================================
  Hits        23656    23656
  Misses      16584    16584
  Partials     4808     4808

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 cb44b7e...1977fd8. Read the comment docs.

@avisconti changed STM32 I2S driver to correspond to the redefinition of the return value.

@avisconti Hey do you have more comments to the changes? Thanks!

Looks good to me, but I'm wondering shouldn't we change all dma usage in zephyr's tree since we are changing the api?

Interesting work, but I'm wondering shouldn't we change all dma usage in zephyr's tree since we are changing the api?

It is only the meaning of the DMA callback variable that is extended so that a SoC's DMA driver will have flexibility to redefine it. However, I'm not sure if other DMA drivers of other SoCs could define the positive return value with the meanings similar to STM32's. This is why the changes to DMA clients is only limited to those of STM32's.

Hey @cybertale I've just read your PR #13364 for implementing a general DMA driver for STM32 SoCs, nice job!
I'm currently implementing another DMA client - asynced UART for STM32F4 by the PR #14916. Its current status is still in progress. To support UART RX via DMA, I have to extend DMA API again by adding another function pending() to retrieve how many bytes have been received by UART RX  since the data length on UART RX could vary among DMA transactions.  Also, I hope the DMA driver to have capability to enable the circular mode which I've also extended STM32F4's DMA driver to support.  Can you also consider these two requirements from my implementation while implementing the general DMA driver? Thank you!

Interesting work, but I'm wondering shouldn't we change all dma usage in zephyr's tree since we are changing the api?

It is only the meaning of the DMA callback variable that is extended so that a SoC's DMA driver will have flexibility to redefine it. However, I'm not sure if other DMA drivers of other SoCs could define the positive return value with the meanings similar to STM32's. This is why the changes to DMA clients is only limited to those of STM32's.

Understood. My worry is that for application users, portability of code snippets is going low. What I want to say is that maybe we should make this api change a standalone PR and make it consistent to all the drivers?
Also I have some doubts, DMA should only return the number less than we expected when the DMA transfer fails, right? SNDTR should be zero if succeeded. So
'stream->dma_callback(stream->callback_arg, id, leftover_len);'
should be in error callback rather than the TC callback. Right?

Hey @cybertale I've just read your PR #13364 for implementing a general DMA driver for STM32 SoCs, nice job!
I'm currently implementing another DMA client - asynced UART for STM32F4 by the PR #14916. Its current status is still in progress. To support UART RX via DMA, I have to extend DMA API again by adding another function pending() to retrieve how many bytes have been received by UART RX since the data length on UART RX could vary among DMA transactions. Also, I hope the DMA driver to have capability to enable the circular mode which I've also extended STM32F4's DMA driver to support. Can you also consider these two requirements from my implementation while implementing the general DMA driver? Thank you!

Sure! I added circular mode support but removed it after. That's because I thought circular mode is not suitable for zephyr's api. Since that you want it I can add support for it. But is 'pending' a new api in dma.h? I think api changes should take a bit more time than normal driver changes, right?

Interesting work, but I'm wondering shouldn't we change all dma usage in zephyr's tree since we are changing the api?

It is only the meaning of the DMA callback variable that is extended so that a SoC's DMA driver will have flexibility to redefine it. However, I'm not sure if other DMA drivers of other SoCs could define the positive return value with the meanings similar to STM32's. This is why the changes to DMA clients is only limited to those of STM32's.

Understood. My worry is that for application users, portability of code snippets is going low. What I want to say is that maybe we should make this api change a standalone PR and make it consistent to all the drivers?
Also I have some doubts, DMA should only return the number less than we expected when the DMA transfer fails, right? SNDTR should be zero if succeeded. So
stream->dma_callback(stream->callback_arg, id, leftover_len);
should be in error callback rather than the TC callback. Right?

Hey @cybertale I've just read your PR #13364 for implementing a general DMA driver for STM32 SoCs, nice job!
I'm currently implementing another DMA client - asynced UART for STM32F4 by the PR #14916. Its current status is still in progress. To support UART RX via DMA, I have to extend DMA API again by adding another function pending() to retrieve how many bytes have been received by UART RX since the data length on UART RX could vary among DMA transactions. Also, I hope the DMA driver to have capability to enable the circular mode which I've also extended STM32F4's DMA driver to support. Can you also consider these two requirements from my implementation while implementing the general DMA driver? Thank you!

Sure! I added circular mode support but removed it after. That's because I thought circular mode is not suitable for zephyr's api. Since that you want it I can add support for it. But is 'pending' a new api in dma.h? I think api changes should take a bit more time than normal driver changes, right?

The issue I'm facing on implementing UART RX via DMA  is that the DMA buffer could not be filled or half filled up to trigger the interrupt when a message with varying length comes from the peer. In that case, the RX transaction is defined by UART's IDLE interrupt. However, when UART IDLE interrupt happens, UART has no way to figure out how much data UART RX has received. This is why I think we need a new API for DMA's clients to figure out how much data is still pending to be sent or received.

@jli157 I got it, so in your case we receive unknown long data and when the UART IDLE happened, we ask the DMA how many bytes left to be transfered to know how many bytes has already been received(or transmitted but I think we can easily know how many has been transmitted?). So you don't need DMA interrupts to tell you when to end but for just to alert you when the buffer is full.
You make the point, I support for this change, but I still have the worry about portability. Usually api is added with all the drivers changed to comply it.

@avisconti @cybertale @erwango The changes in this PR seems not be necessary if we can add one more DMA API function pending() to query how many bytes are still left in the current DMA transaction so that a client can check the current transmission status from time to time. The new function will be beneficial to UART RX implementation since the length of a UART RX transaction is sometimes unknown. I would like to close this one and replace it with a API change PR.

@jli157 I agree with the standalone api PR idea, which should make the api changes logically standalone. While this is just my thought, decisions are reviewers to make. Let's see what do they think about this.

This PR still can't thoroughly address the requirement for querying how many bytes are still left in a specific DMA transaction which is needed by UART RX. So, this one will be closed and another PR will be created to address the requirement. Thanks all for your comments!

@jli157 Hi, still I have some doubts about this kind of usage. In this scenario, IDLE event happened, then we query through pending() and read data/reset DMA(Or do not reset?). But Zephyr is slow in many situations, so when the UART is fast, new data may come between IDLE event and pending(). If so, we may retrieve data when UART is receiving rather than idle, and if we reset DMA after reading, there is a risk that data may be lost. But if we do not reset DMA, unread data can be read in next read process, while buffer of DMA is limited so memory address will keep increasing and there's also a potential data lost and illegle memory access. Reset DMA means reset it's memory pointer here. Hope you understand what I'm thinking, just some thoughts as an advice!

@avisconti @cybertale @erwango The changes in this PR seem not be necessary if we can add one more DMA API function pending() or similar to query how many bytes are still left in the current DMA transaction so that a client can check the current transmission status from time to time. The new function will be beneficial to UART RX implementation since the length of a UART RX transaction is sometimes unknown. I would like to close this one and replace it with a API change PR. What are you thoughts to this suggestion?

I like the idea. I think it would be cleaner adding a new API function rather than changing an existing one which may bring undesirable effects on existing drivers.

@jli157 Hi, still I have some doubts about this kind of usage. In this scenario, IDLE event happened, then we query through pending() and read data/reset DMA(Or do not reset?). But Zephyr is slow in many situations, so when the UART is fast, new data may come between IDLE event and pending(). If so, we may retrieve data when UART is receiving rather than idle, and if we reset DMA after reading, there is a risk that data may be lost. But if we do not reset DMA, unread data can be read in next read process, while buffer of DMA is limited so memory address will keep increasing and there's also a potential data lost and illegle memory access. Reset DMA means reset it's memory pointer here. Hope you understand what I'm thinking, just some thoughts as an advice!

The use case where the IDLE interrupt works actually doesn't reset DMA at all. when the IDLE interrupt happens, only the incremental part of the data stored in the destination buffer will be read out, and the buffer is configured as a circular buffer to avoid overflow. You can take a look at my implementation on PR #14916. This is why I'm asking you to add the capability of enabling circular buffer mode.

@jli157 You're right, that explains everything! :smile:


useModal not working with lazy

Discussed in https://github.com/bootstrap-vue-next/bootstrap-vue-next/discussions/2377
repro: https://stackblitz.com/edit/github-ydzoyh-u54nkv?file=src%2FApp.vue

in useModal the modal.exposed is proxy if modal is lazy:

@VividLemon any Ideas why? I'm just gonna add a toValue in the if clause on line 32


Empty context causes 4o models to return "N/A"

if dspy.Prediction is called with context = [] this causes in chat_adapter.py
def format_fields(fields):
    output = []
    for k, v in fields.items():
        v = _format_field_value(v)
        output.append(f"[[ ## {k} ## ]]\n{v}")

and
def format_list(items):     if len(items) == 0: return "N/A"
that content in format_turn()
content.append(format_fields({k: values.get(k, "Not supplied for this particular example.") for k in field_names}))
is set to
['[[ ## context ## ]]\nN/A\n\n[[ ## question ##]]\nMy prompt']
This context makes OpenAI 4o (but not 4 or older versions) reply "N/A" to all prompts. I think the line returning "N/A" should be changed to return "" - could do a pr if this is confirmed.

Can you share an example of this happening?

For example, I just tried this with GPT-4o:
dspy.Predict('context, question -> answer')(context=[], question='What is the capital of France?')

The answer I get is "The capital of France is Paris."

This is getting a bit weird... Using your question I get "Paris" as answer.
Some other examples:
"What are the first steps to connect to SAP?" -> "Install SAP GUI"
"What are the first steps to connect to SAP ARIBA?" -> "N/A"
I was using non-sensical prompts like "sdvsvders?" during testing of my other code which return "N/A" with 4o. With 4 I get "Could you please clarify your question?"

I'm not seeing any issues in behavior.
Example 1:
dspy.Predict('context, question -> answer')(context=[], question='sdvsvders?')
dspy.inspect_history()

Produces:
Prediction(
    answer="I'm sorry, but it seems like your question is incomplete or unclear. Could you please provide more context or clarify your question?"
)

Example 2:

Not sure what is going on - there must be side effects in my processing. Many thanks for your kind support.


Bump amcrest to 1.2.6 & use new exceptions

Description:
Per @amelchio's comment/suggestion in PR #21664:
"It's a shame the library does not handle these exceptions and raises its own instead."
the amcrest package was changed to handle exceptions coming from urllib3 & requests and raise its own unique exceptions instead to make it easier on the "user" (in this case, the amcrest homeassistant component.) Therefore this PR bumps the amcrest package version and changes the amcrest homeassistant component accordingly.
Related issue (if applicable): None
Pull request in home-assistant.io with documentation (if applicable): None
Example entry for configuration.yaml (if applicable):
Does not affect configuration.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If the code communicates with devices, web services, or third-party tools:

[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

Any idea what the Travis errors are about?