feat(rear-panel):  add an enter bootloader message to the rear panel mcu

create a freertos task to handle system tasks and add a c file that disables peripherals and jumps to the bootloader
`

import subprocess
import time
try:
...     ser = serial.Serial("/dev/ttyACM0",115200)
...     ser.write(bytes.fromhex("00050000"))
...     data = ser.read(size=5)
...     print(data)
...     ser.close()
... except Exception as e:
...     print(e)
...
4
[58096.797118] usb 1-1.1: USB disconnect, device number 22
read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
time.sleep(0.5)
[58097.047217] usb 1-1.1: new full-speed USB device number 23 using ci_hdrc
output = subprocess.run(["lsusb"], capture_output=True)
success =(output.stdout.find(b"DFU")) > 0
print("Device in dfu mode {success}".format(success=success))
Device in dfu mode True

`

Codecov Report

Merging #575 (3ecbd55) into main (5083ab7) will decrease coverage by 0.39%.
The diff coverage is 75.47%.

:exclamation: Current head 3ecbd55 differs from pull request most recent head ad3ffb4. Consider uploading reports for the commit ad3ffb4 to get more accurate results

@@            Coverage Diff             @@
##             main     #575      +/-   ##
==========================================
- Coverage   84.59%   84.20%   -0.39%
==========================================
  Files          82       83       +1
  Lines        2895     2957      +62
==========================================
+ Hits         2449     2490      +41
- Misses        446      467      +21

Impacted Files
Coverage Δ

include/rear-panel/core/messages.hpp
57.44% <16.66%> (-35.42%)
:arrow_down:

rear-panel/test/test_messages.cpp
97.16% <91.89%> (-2.84%)
:arrow_down:

include/rear-panel/core/binary_parse.hpp
100.00% <100.00%> (ø)


Rounding errors in percentages

This adds up to 101% http://disclosure.caciviclab.org/#!/city/2/oakland/candidate/1

Not sure if this is related
Candidate contributions expected to total to 100%
http://disclosure.caciviclab.org/#!/city/2/oakland/candidate/10
Possible our max is incorrect or the total from the backend is coming in wrong.


Option for black-screen suggestions, autocomplete/Omni completion, in VIM buffer?

Is it possible to have this behavior carried over into the vim buffer?

No not really. It could hypothetically be implemented as a decorator plugin, but it would be very difficult I think, and maybe not even possible.


FIX: Revise the TOPUP workflow and related utilities

Debugging towards fixing nipreps/fmriprep#2830.
I'm under the impression that the fieldmap estimated by topup is only correct in polarity if the input EPIs are RA{S,I} or AR{S,I} oriented.
The strategy here would be to force all axis to be filled from left to right.
EDIT (new when calling the draft finished):
This PR includes several improvements and changes towards making proper interpretation and reuse of TOPUP outputs:

Adds code comments at all workflows and functions with substantial edits, trying to help future maintenance.
Reorients all input images to have positive principal cosines (i.e., axes go L->R, P->A, I->S despite their ordering). The intent is to minimize the possible orientations fed into TOPUP  (see 2444c11).
Rids TOPUP from calculating head motion, it is done outside, with the hope of a full integration with NiTransforms concatenation of transforms (see 2444c11).
Revises the fix_coeff node to consider the fact that the internal coordinate system of FSL is LAS (see e80e68d). I'm rather positive about the LR flip, since I've seen it on both @mgxd's and @Gilles86's data (e.g., TOPUP's field and warpfieldXX outputs showcase the flip). I'm less positive about the sign change of the field itself (only testable on @Gilles86's data because @mgxd's has j direction for PE).
Reorders the input EPI runs so that TOPUP always gets the same ordering, preferentially starting with a positive direction encoding (i.e., i, j, or k) - see 72640e7

This does not fully-cover nipreps/fmriprep#2830 (nor #218), but I have checked that at least the reference image is generated by SDCFlows, and the corresponding by TOPUP are in spatial agreement (i.e., correction is properly applied to the EPIs fed in the estimation) on both datasets (Mathias' and Gilles'). A subsequent PR will address the unwarping of IntendedFor EPI targets.

Codecov Report
Base: 83.02% // Head: 82.54% // Decreases project coverage by -0.48% :warning:

Coverage data is based on head (0ab82fe) compared to base (b1c2baf).
Patch coverage: 45.83% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
- Coverage   83.02%   82.54%   -0.49%
==========================================
  Files          25       25
  Lines        1850     1873      +23
  Branches      278      281       +3
==========================================
+ Hits         1536     1546      +10
- Misses        282      295      +13
  Partials       32       32

Flag
Coverage Δ

travis
82.54% <45.83%> (-0.49%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

sdcflows/interfaces/utils.py
79.27% <40.90%> (-4.23%)
:arrow_down:

sdcflows/workflows/fit/pepolar.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Okay, for the most part, this seems to work on both @Gilles86 and @mgxd datasets - not sure about generalization to new datasets, but this is a start.
There's a remaining issue with @mgxd, being that the registration between the fieldmap reference and the EPI runs is not great. But I think that should be addressed on a separate issue.
Reviews at this point are welcome and important.
cc/ @effigies

Okay, now with tests revised for the new set of reorientation operations

still having trouble conceptualizing the whole process. Do you happen to have some screenshots on how these results look on the troublesome datasets before / after this patch?

I had @Gilles86's reports - maybe he could confirm whether things are looking better now? In his case (nipreps/fmriprep#2830), the displacements were flipped (i.e., in the opposed direction).
On your data, @mgxd, the diagnosis was similar. However, the results are still a bit off because (I suspect but haven't confirmed) of the registration between the distorted EPI and fieldmap reference.
Still hoping to put together more visual documentation to make it easier to understand both the problem and the solution.

I'll merge after @eilidhmacnicol's blessings.

What was the rationale behind the b02b0.cnf changes? I understand the estmov change to stop the estimation of motion (since it is done elsewhere) but what was the reasoning for the reduction of levels to calculate the field?

I could have kept the number of levels, but it didn't make much sense as the blips come already aligned. Keeping them was a waste of resources and time for no improvement of the nonlinear component of the estimation (which is done in the latter levels of registration).

Would it be possible to send me the _boldref.nii.gz-files?
On Mon, 19 Sept 2022, 21:02 Oscar Esteban, @.***> wrote:

still having trouble conceptualizing the whole process. Do you happen to
have some screenshots on how these results look on the troublesome datasets
before / after this patch?
I had @Gilles86 https://github.com/Gilles86's reports - maybe he could
confirm whether things are looking better now? In his case (
nipreps/fmriprep#2830 https://github.com/nipreps/fmriprep/issues/2830),
the displacements were flipped (i.e., in the opposed direction).
On your data, @mgxd https://github.com/mgxd, the diagnosis was similar.
However, the results are still a bit off because (I suspect but haven't
confirmed) of the registration between the distorted EPI and fieldmap
reference.
Still hoping to put together more visual documentation to make it easier
to understand both the problem and the solution.
—
Reply to this email directly, view it on GitHub
https://github.com/nipreps/sdcflows/pull/278#issuecomment-1251425140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIPRTVEAHGZF7MJZ3BT7D3V7C2ERANCNFSM6AAAAAAQDNFDKE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Session drop-down missing in docked debug action bar

testing #49892:

debug a multi session scenario:

Observe:

the launch config drop down and
the session drop down are missing if the debug action bar is "docked"

This happens even if there is enough horizontal space for it.
Please note: there is no clear indication in the CALL STACK view what the focussed session is. So the session drop down is really a loss in functionality.
One way to address this is by adding more space in the debug view for the session drop down.

Yes this was a design decision during a standup. The reason for that being that when the debug toolbar is docked the call stack can be seen and all the information is there.
The reason for not showing the drop down is due to the limitied horizontal space.
I will treat this as a bug to always show clear indication in the CALL STACK what is the focused session

But you are not showing the session drop down even if there is enough space...
Another reason why I don't like the missing session drop down is that the CALL STACK view is too far away from the action bar. All actions work on the focussed session but what that session is, is "far away" from the action buttons.
In light of this maybe the DEBUG SESSIONS view (proposed by @bpasero) makes more sense to me: the section header would show the action buttons and the section's content would show the focussed session...

I thought we would still show the session dropdown if you make the view large enough until we have decided on showing a session view or not. I remember seeing such a design in one of the standups @isidorn

The original design was showing the session dropdown always but it would be the first to shrink when space is limited. The feedback for this was that is looks too ugly and feels like duplication from the call stack view.
I can bring back this design for this milestone. Let me know what you think
Otherwise we can just go with the current approach and wait for user feedback.

@isidorn I have seen it, maybe record a little screencast so that @weinand can also see it in action

The resize behaviour looks fine to me.
And I don't consider it "duplication from the call stack view".
Instead I would call the current behaviour a "loss of functionality".
I'm fine with shipping whatever we have,
but I would call both versions an "early experiments"...

Since the resizing behavior is not that bad and since I feel like you both lean towards showing it I have decided to go with that solution.
Thus closing this issue nad let's wait for user feeback and see.
Thanks for feedback!

So let's call this feature "Preview" then.


Implements a mechanism for a fallback theme

If the previously selected theme is not available the default OpenSlides theme will be displayed.
Before the current selected theme was loaded, no theme is displayed.

If the previously selected theme is not available the default OpenSlides theme will be displayed.

Successfully tested.

Before the current selected theme was loaded, no theme is displayed.

Mmh, I don't like "white empty theme" whilte the theme is loaded. Can you try to prevent this? Maybe a  global spinner with background could help to make the loading phase nicer? Whould great if you can improve it.


Weaver Docker Image

Publish Weaver Docker Image to docker hub
https://hub.docker.com/u/gojektech

Weaver docker image is pushed here: https://cloud.docker.com/u/gojektech/repository/docker/gojektech/weaver, Need to setup Ci for the same


Allow braces for union initializers

union u { int a[2]; int i; };
union u my_u = { { 0, 0 } };
<stdin>:2:24: error: invalid program: scalar initializers for 'int' may only have one element (initialized with 2)

Found from https://travis-ci.org/jyn514/rcc/jobs/618828089 (indirectly, from https://github.com/jyn514/rcc/commit/c3c0b26e9c991f0f8b3f9fb19b27f3e1191cd701).
I have a partial fix locally that moves this to type_at instead of hacking it in initializer, but it requires fixing #53.

Said partial fix: https://github.com/jyn514/rcc/tree/union-initializers

Fixed in https://github.com/jyn514/rcc/commit/056cdcd61b7aab29461d4e8d8c567812628121c5


fix: host.isKnownTypesPackageName maybe undefined

Fixes #41962

The problem is that isKnownTypesPackageName of the host is optional, but in this case it is simply mandatory

@RyanCavanaugh @sandersn Could you please help CR this


Implement Native Scaling Support to Avoid Blurring and Pixelating

Description
I've discovered that the blurriness and pixelation issues encountered with several applications on HiDPI screens, such as Zoom Meeting, Oracle VM VirtualBox, Arch Linux Tweak Tool, Grub Customizer and Steam, may be solved by implementing a feature similar to KDE Plasma's approach for native scaling support. When I was going through Arch Wiki about this issue, I found some information that might be helpful. KDE Plasma offers two scaling modes for Xwayland:

Scaled by the system: Applications are rendered at 1x and then magnified by KDE Plasma. While this approach works for all applications, it introduces blurriness due to magnification.
Apply scaling themselves: Applications render themselves at the appropriate size, avoiding blurriness. However, non-HiDPI-aware applications render at 1x scale, appearing small.

This feature request seeks to explore the possibility of implementing a similar approach to native scaling support within Hyprland to mitigate the blurriness and pixelation issues encountered with Xwayland on HiDPI screens.
Proposal:
I just want to ask and investigate the possibility of implementing a scaling method similar to KDE Plasma's "Apply scaling themselves" mode, where X applications are encouraged to render themselves at the appropriate size to avoid blurriness. This approach could potentially enhance the user experience for HiDPI screen users without sacrificing visual clarity.
Additional Information:

The current scaling issues impact usability for tasks requiring precise visualization, such as virtual machine management and gaming (sometimes this can be quite annoying).
If I remember correctly, my personal experience with KDE Plasma 5 Wayland suggests that similar issues weren't encountered, indicating the possibility of solving this issue by using a scaling approach similar to what is implemented in KDE Plasma.

it's literally there. RTFM. https://wiki.hyprland.org/Configuring/Variables/#xwayland

Yes I know that and I have tried to enable force_zero_scaling with env = GDK_SCALE,2. However, the application doesn't seem to be scaled properly. I have no idea why maybe there is a misconfiguration?
For example in Krita:

it is a misconfiguration. force_zero_scaling does exactly what KDE's "let apps scale themselves".
Since Krita isn't GTK, you probably want some QT env instead.

Thanks I will try to do that


SelectAttributeTypeOption::add($ak, $val);

I can't find the way to add or retrieve a option from the select attribtue:
use Concrete\Attribute\Select;
use Concrete\Attribute\Select\Option as SelectAttributeTypeOption;
...
SelectAttributeTypeOption::add($ak, $val);

=> Class 'Concrete\Attribute\Select\Option' not found
Can't find the way !

I don't know if this will help you but I've just had a similar issue, I needed to get a list of select options for a custom attribute I added to Members, in 5.7 it's immaterial where an attribute is used so the following could be used anywhere. I'm using this in a block controller 'view' method

    public function view()
    {
		$options = array();
	$attr = CollectionKey::getByHandle('my_attribute_handle');
	if($attr) {
		$type = AttributeType::getByHandle(/*'select'*/ $attr->getAttributeKeyType()->atHandle);
		$ctl = $type->getController();
		if($ctl) {
			$ctl->setAttributeKey($attr);
			$opt = $ctl->getOptions();
			$options = $opt->getOptions();
		}
	}
	$this->set('my_view_variable', $options);

}

Hope this helps.

Did you find a solution to this because I find the same thing, no way to load the Option class contained in the Select Controller file.

This is fixed in github now and will be released in 5.7.4. Option is broken out into a separate file and will autoload automatically properly.

Andrew - Many thanks for the update, glad to see it will be sorted in the next release.
Goldhat - The code I posted above is a workaround for the problem, it retrieves the options using a long hand approach into an array. You can use this or grab the latest build off Github.


Add support for Toffoli Complexity along with T-complexity

Many fault-tolerant algorithm papers use either T-complexity (T-gates, cliffords and rotations) or Toffli Complexity (i.e. Toffoli gate, Cliffords and Rotations).
A single Toffoli can be decomposed into 4 T-gates but the inverse is harder to do (combining T-gates to get Toffoli's).
We should think about how to add support for getting both T-complexity and Toffoli complexity; and whether we should default to using Toffoli complexity instead of T-complexity.

xref #873 #539

This is done in QECGatesCost and BloqCount costs


Advanced logbook is very slow if it contains a lot of qsos

Hi,
first thanks for your awesome log software.
We are using wavelog in our clubstation. Recently we notices that the advanced logbook got really slow (5s with 25k qsos). Some
profiling revealed the culprit. It is the following query from application/models/Logbookadvanced_model.php
SELECT *  FROM TABLE_HRD_CONTACTS_V01 qsos
INNER JOIN station_profile ON qsos.station_id=station_profile.station_id
LEFT OUTER JOIN satellite ON qsos.COL_SAT_NAME = satellite.name
LEFT OUTER JOIN dxcc_entities ON qsos.col_dxcc=dxcc_entities.adif
LEFT OUTER JOIN lotw_users ON qsos.col_call=lotw_users.callsign
LEFT OUTER JOIN (select count(*) as qslcount, qsoid from qsl_images group by qsoid) x on qsos.COL_PRIMARY_KEY = x.qsoid
WHERE station_profile.user_id =  3 AND qsos.station_id = '2'
ORDER BY qsos.COL_TIME_ON desc, qsos.COL_PRIMARY_KEY desc
LIMIT 250;

Profiling the query with mariadb revealed the following.
+------------------------+----------+
| Status                 | Duration |
+------------------------+----------+
| Starting               | 0.000229 |
| checking permissions   | 0.000010 |
| Opening tables         | 0.000062 |
| After opening tables   | 0.000015 |
| System lock            | 0.000007 |
| table lock             | 0.000010 |
| Opening tables         | 0.000017 |
| After opening tables   | 0.000003 |
| System lock            | 0.000004 |
| table lock             | 0.000575 |
| Unlocking tables       | 0.000006 |
| closing tables         | 0.000017 |
| init                   | 0.000280 |
| Optimizing             | 0.000059 |
| Optimizing             | 0.000007 |
| Statistics             | 0.000041 |
| Preparing              | 0.000020 |
| Creating tmp table     | 0.000033 |
| Sorting result         | 0.000028 |
| Statistics             | 0.000330 |
| Preparing              | 0.000050 |
| Creating tmp table     | 0.000404 |
| Sorting result         | 0.000073 |
| Executing              | 0.000004 |
| Sending data           | 0.066014 |
| Executing              | 0.000005 |
| Sending data           | 0.000038 |
| Creating sort index    | 0.000051 |
| Removing tmp table     | 0.000006 |
| Creating sort index    | 4.602838 |
| Creating sort index    | 0.073452 |
| Removing tmp table     | 0.015294 |
| Creating sort index    | 0.000026 |
| End of update loop     | 0.000020 |
| Query end              | 0.000003 |
| Commit                 | 0.000006 |
| closing tables         | 0.000002 |
| Removing tmp table     | 0.000006 |
| closing tables         | 0.000002 |
| Unlocking tables       | 0.000001 |
| closing tables         | 0.000016 |
| Starting cleanup       | 0.000003 |
| Freeing items          | 0.000027 |
| Updating status        | 0.000031 |
| Reset for next command | 0.000006 |
+------------------------+----------+

The normal logbook and the callsign search are still working normally.
Version Information
We need some information about your versions. You can get all Information in the Admin > Debug Menu

OS:               Debian 12
PHP:              8.2.18
MySQL/MariaDB:    10.11.6-MariaDB-0+deb12u1
Wavelog:          1.5.2

Hi,
Happy you like it, and thanks for the issue report. We did notice a slowdown, and a fix for that is in the dev branch. We will shortly make another release with these fixes. You can either try the dev branch, or wait till the release.
Andreas.

1.6 was just released. Give it a try and it should be quicker in this release.

It can't be the query that does this. What kind of hardware are you running?

I am running on an intel xenon X5680 with 16 Gigs of ram.
According to mariadbs slow query the following query is the problem:
SELECT *, dxcc_entities.name as dxccname, mydxcc.name AS station_country, exists(select 1 from qsl_images where qsoid = qsos.COL_PRIMARY_KEY) as qslcount, contest.name as contestname
                        FROM TABLE_HRD_CONTACTS_V01 qsos
                        INNER JOIN station_profile ON qsos.station_id=station_profile.station_id
                        LEFT OUTER JOIN satellite ON qsos.COL_SAT_NAME = satellite.name
                        LEFT OUTER JOIN dxcc_entities ON qsos.col_dxcc = dxcc_entities.adif
                        left outer join dxcc_entities mydxcc on qsos.col_my_dxcc = mydxcc.adif
                        LEFT OUTER JOIN lotw_users ON qsos.col_call = lotw_users.callsign
                        LEFT OUTER JOIN contest ON qsos.col_contest_id = contest.adifname
                        WHERE station_profile.user_id =  3
                        AND qsos.station_id = '2'

                        ORDER BY qsos.COL_TIME_ON desc, qsos.COL_PRIMARY_KEY desc
                        limit 250;

There must be an issue with your database installation. If I run the exact same query on my virtual machine (8gb ram) and set the LIMIT to 2000 I got:

Do you have all your qsos in one station location?

@derFogel can you provide a db-dump to us?!
Furthermore I can offer you 1:1 support tomorrow. No guarantee to solve it instantly but to a start a deeper investigation?!

yes I can share one. Do you have an email address I can send it to? Since it is a from a club station I don't want to share it publicly because one of the (ex-)members could have a problem with that.
The 1:1 support would be nice. I have time after 4pm.

Since github offers no direct message, pse take the contact-information (email) from my qrz-page https://www.qrz.com/db/DJ7NT
to get in touch / deliver the dump
Once we're connected by Mail, we can schedule direct support.

@derFogel seems like we found the issue. it's a missing index.
i fixed it at #401 - u can try it via two ways:

switch to dev branch (when merged)
if you are familar with SQL - Try this one:

CREATE INDEX `idx_contest_adifname`  ON `contest` (adifname) COMMENT '' ALGORITHM DEFAULT LOCK DEFAULT

@derFogel the reason I did not see the problem here, was that on my dev, I already had an index from when testing stuff earlier. Sorry about that, and thanks for reporting!

Thanks, after running the command it now takes only 1,3s (in firefox to load).

yeah. so we can close the issue?!


Fixed name spelling

Pull request description

:sparkles: happy first commit @smcshinsky!!! :sparkles: 🎊


Error while resetting password

Error thrown while resting user password.
Laravel Exception page shown.
Steps to Reproduce the Problem

Go to http://demo-orchid.tk/dashboard/password/reset
Enter email<EMAIL_ADDRESS>Click Send Password Reset Link

Thank you, we will fix this in the near future.
To solve this problem right now, issue the command
php artisan make:auth

Thanks a lot 👍


Usage on the web

This is how I created the controller:
final noteProcessorIsolateManager = IsolateManager.create(
    notesProcessor,
    workerName: 'worker',
    workerConverter: (p0) {
      // This message is not printed anywhere!
      log('worker message');
      return p0;
    },
  );

And here I compute using the function:
final adapted = await noteProcessorIsolateManager.compute((
          notes: data.$1,
          tags: data.$2,
          searchQuery: _searchParameter,
          groupProps: _groupProps,
          filterProps: _getFilterProps,
          sortProps: _sortProps,
        ));

This works fine on android, but nothing happens when I use it on the web.
I used the worker.dart file provided in the documentation, & didn't change anything in there.
I also tried logging within in worker() method in worker.dart, but that didn't print anything too.
The compiled worker.js file was placed in the same directory as index.html

If I set isDebug: true, then this is printed in the IDE console:

I used the worker.dart file provided in the documentation, & didn't change anything in there.
@CrypticVader Have you modified the method worker in the worker.dart as I mentioned in step 2 in the Doc?

I used the worker.dart file provided in the documentation, & didn't change anything in there.

@CrypticVader Have you modified the method worker in the worker.dart as I mentioned in step 2 in the Doc?

No, how should I modify it though?
I didn't understand that step.

@CrypticVader For instance, we have a function that we need to use for the Isolate:
double add(double a, double b) => a + b;

Then the method worker in the worker.dart will be like:
FutureOr<dynamic> worker(dynamic message) {
  return add(message[0], message[1]);
}

Thank you for replying, I will try doing this

@CrypticVader If you want to use Worker more effectively, convert all parameters and results to JSON (or String) before sending them.

The compilation to worker.js fails with a lot of exceptions if I call my function inside worker.dart. My function has other dependencies like the DateTime library.

@CrypticVader You need to move those functions to a separate file as I also mentioned in the doc to avoid depending on the Flutter library. When that file only depends on Dart native, the js compiler will work.

Hi @CrypticVader , can you do it? I just added some examples of using isolate for the Web platform.

I'll close this issue because it's been a long time without a response. Feel free to re-open if you have any further issues.


attempt to delete and reload the same index path (<NSIndexPath: 0xd88f329bfe16a05b> {length = 2, path = 1 - 0})

This might be a regression of or is related to #254

Thank you so much for fixing this issue.When it is going to be released any idea?Need this urgently

Thank you for fixing this issue.When It is going to be released?

You can install the fixed code directly from master like this
pod 'BSImagePicker', :git => 'https://github.com/mikaoj/BSImagePicker.git', :branch => 'master'

I'll probably release a version in a day or two. You can do what @knox said if you need it now.
Or specify a commit instead of branch if you prefer that:
pod 'BSImagePicker', :git => 'https://github.com/mikaoj/BSImagePicker.git', :commit => 'ea583325d1e5e7eddbf9074d11ebb94b0f0a0253'

Ok...I did it now. Version 3.2.1

Thanks @mikaoj
Wha is the minimum OS version is supported by BSImagepicker?

@mikaoj @knox it is no more supported by Objective c?

What isn’t supported by objective-c?

@mikaoj  yes I was using 2.10.3 version which was working with objective c.Now I updated to 3.2.1 and not able to access settings.selection.max value from Objective c code.Any idea?

@mikaoj I noticed now the presentImagePicker function does not have parameter selectLimitReached:^(int maximumSelection) anymore, this was there before.I used this parameter to show how many images are left to pick up to the user on a closure. Is there any specific reason this was removed from presentImagePicker func ?
Or any alternative we have today?


Docker ignores memory limits set through remote API

Docker is ignoring memory limits set via POST /containers/create on my machine. Memory limits set via command-line work fine.
The following ignores swap, as my kernel does not support swap limits. That may or may not be related to the issue.
 Limitation discarded.
$ docker stats cmdline
CONTAINER           CPU %               MEM USAGE/LIMIT     MEM %               NET I/O
cmdline             0.00%               88 KiB/5 MiB        1.72%               648 B/648 B

But fails with HTTP:
$ curl -XPOST -H 'Content-Type: application/json' localhost/containers/create?name=fromhttp -d '{
"Image": "busybox",
"HostConfig": { "Memory": 5242880 },
"Cmd": [
    "/bin/sleep",
    "9999999"
]
}'
{"Id":"bc0ebc541a67de4f15a8b9500549fd4e32c05e5e9bb663e478f4bb880ac05cff","Warnings":null}
$ curl -XPOST localhost/containers/fromhttp/start
$ docker stats fromhttp
CONTAINER           CPU %               MEM USAGE/LIMIT     MEM %               NET I/O
fromhttp            0.00%               68 KiB/364.1 MiB    0.02%               1.354 KiB/648 B

But HTTP still does argument checking, so it isn't completely ignoring memory:
$ curl -XPOST -H 'Content-Type: application/json' localhost/containers/create?name=fail -d '{
"Image": "busybox",
"HostConfig": { "Memory": 1024 },
"Cmd": [
    "/bin/sleep",
    "9999999"
]
}'
Minimum memory limit allowed is 4MB

Environment details:
$ docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

$ docker info
Containers: 12
Images: 29
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 53
 Dirperm1 Supported: false
Execution Driver: native-0.2
Kernel Version: 3.13.0-24-generic
Operating System: Ubuntu 14.04.1 LTS
CPUs: 1
Total Memory: 364.1 MiB
Name: vagrant
ID: HU5J:KGXX:BPUT:ONPJ:TRRK:63SN:PYPZ:XS54:2HUO:3U3O:KAMU:VKFL
WARNING: No swap limit support

$ uname -a
Linux vagrant 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/default/docker
# Docker Upstart and SysVinit configuration file

# Customize location of Docker binary (especially for development testing).
#DOCKER="/usr/local/bin/docker"

# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://<IP_ADDRESS>:3128/"

# This is also a handy place to tweak where Docker's temporary files go.
#export TMPDIR="/mnt/bigdrive/docker-tmp"
DOCKER_OPTS="-H tcp://<IP_ADDRESS>:80 -H unix://var/run/docker.sock --insecure-registry=<censored>/16 --insecure-registry=<censored>/8"

Here are more verbose inspects. First the command-line, then the HTTP. Note that the second HTTP one has "Memory" as 0 even though we just set it differently.
$ docker inspect cmdline
[{
    "AppArmorProfile": "",
    "Args": [
        "9999999"
    ],
    "Config": {
        "AttachStderr": true,
        "AttachStdin": false,
        "AttachStdout": true,
        "Cmd": [
            "/bin/sleep",
            "9999999"
        ],
        "CpuShares": 0,
        "Cpuset": "",
        "Domainname": "",
        "Entrypoint": null,
        "Env": null,
        "ExposedPorts": null,
        "Hostname": "e71ed59fc51c",
        "Image": "busybox:latest",
        "Labels": {},
        "MacAddress": "",
        "Memory": 5242880,
        "MemorySwap": -1,
        "NetworkDisabled": false,
        "OnBuild": null,
        "OpenStdin": false,
        "PortSpecs": null,
        "StdinOnce": false,
        "Tty": false,
        "User": "",
        "Volumes": null,
        "WorkingDir": ""
    },
    "Created": "2015-06-16T15:52:55.654169872Z",
    "Driver": "aufs",
    "ExecDriver": "native-0.2",
    "ExecIDs": null,
    "HostConfig": {
        "Binds": null,
        "CapAdd": null,
        "CapDrop": null,
        "CgroupParent": "",
        "ContainerIDFile": "",
        "CpuShares": 0,
        "CpusetCpus": "",
        "Devices": [],
        "Dns": null,
        "DnsSearch": null,
        "ExtraHosts": null,
        "IpcMode": "",
        "Links": null,
        "LogConfig": {
            "Config": null,
            "Type": "json-file"
        },
        "LxcConf": [],
        "Memory": 5242880,
        "MemorySwap": -1,
        "NetworkMode": "bridge",
        "PidMode": "",
        "PortBindings": {},
        "Privileged": false,
        "PublishAllPorts": false,
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": "no"
        },
        "SecurityOpt": null,
        "Ulimits": null,
        "VolumesFrom": null
    },
    "HostnamePath": "/var/lib/docker/containers/e71ed59fc51cb78ca74793d7468377e83da99ad987e9d4c98bd92b0ace49acfc/hostname",
    "HostsPath": "/var/lib/docker/containers/e71ed59fc51cb78ca74793d7468377e83da99ad987e9d4c98bd92b0ace49acfc/hosts",
    "Id": "e71ed59fc51cb78ca74793d7468377e83da99ad987e9d4c98bd92b0ace49acfc",
    "Image": "8c2e06607696bd4afb3d03b687e361cc43cf8ec1a4a725bc96e39f05ba97dd55",
    "LogPath": "/var/lib/docker/containers/e71ed59fc51cb78ca74793d7468377e83da99ad987e9d4c98bd92b0ace49acfc/e71ed59fc51cb78ca74793d7468377e83da99ad987e9d4c98bd92b0ace49acfc-json.log",
    "MountLabel": "",
    "Name": "/cmdline",
    "NetworkSettings": {
        "Bridge": "docker0",
        "Gateway": "<IP_ADDRESS>",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "IPAddress": "<IP_ADDRESS>",
        "IPPrefixLen": 16,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "fe80::42:acff:fe11:b",
        "LinkLocalIPv6PrefixLen": 64,
        "MacAddress": "02:42:ac:11:00:0b",
        "PortMapping": null,
        "Ports": {}
    },
    "Path": "/bin/sleep",
    "ProcessLabel": "",
    "ResolvConfPath": "/var/lib/docker/containers/e71ed59fc51cb78ca74793d7468377e83da99ad987e9d4c98bd92b0ace49acfc/resolv.conf",
    "RestartCount": 0,
    "State": {
        "Dead": false,
        "Error": "",
        "ExitCode": 0,
        "FinishedAt": "0001-01-01T00:00:00Z",
        "OOMKilled": false,
        "Paused": false,
        "Pid": 24633,
        "Restarting": false,
        "Running": true,
        "StartedAt": "2015-06-16T15:52:55.763667932Z"
    },
    "Volumes": {},
    "VolumesRW": {}
}
]

$ docker inspect fromhttp
[{
    "AppArmorProfile": "",
    "Args": [
        "9999999"
    ],
    "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/bin/sleep",
            "9999999"
        ],
        "CpuShares": 0,
        "Cpuset": "",
        "Domainname": "",
        "Entrypoint": null,
        "Env": null,
        "ExposedPorts": null,
        "Hostname": "58d8591bb764",
        "Image": "busybox",
        "Labels": {},
        "MacAddress": "",
        "Memory": 0,
        "MemorySwap": 0,
        "NetworkDisabled": false,
        "OnBuild": null,
        "OpenStdin": false,
        "PortSpecs": null,
        "StdinOnce": false,
        "Tty": false,
        "User": "",
        "Volumes": null,
        "WorkingDir": ""
    },
    "Created": "2015-06-16T15:51:32.95901986Z",
    "Driver": "aufs",
    "ExecDriver": "native-0.2",
    "ExecIDs": null,
    "HostConfig": {
        "Binds": null,
        "CapAdd": null,
        "CapDrop": null,
        "CgroupParent": "",
        "ContainerIDFile": "",
        "CpuShares": 0,
        "CpusetCpus": "",
        "Devices": null,
        "Dns": null,
        "DnsSearch": null,
        "ExtraHosts": null,
        "IpcMode": "",
        "Links": null,
        "LogConfig": {
            "Config": null,
            "Type": "json-file"
        },
        "LxcConf": null,
        "Memory": 0,
        "MemorySwap": 0,
        "NetworkMode": "",
        "PidMode": "",
        "PortBindings": null,
        "Privileged": false,
        "PublishAllPorts": false,
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": ""
        },
        "SecurityOpt": null,
        "Ulimits": null,
        "VolumesFrom": null
    },
    "HostnamePath": "/var/lib/docker/containers/58d8591bb764e0d22dec5b6db9b460d2f671a0cd82958d561fe16376e605b9d6/hostname",
    "HostsPath": "/var/lib/docker/containers/58d8591bb764e0d22dec5b6db9b460d2f671a0cd82958d561fe16376e605b9d6/hosts",
    "Id": "58d8591bb764e0d22dec5b6db9b460d2f671a0cd82958d561fe16376e605b9d6",
    "Image": "8c2e06607696bd4afb3d03b687e361cc43cf8ec1a4a725bc96e39f05ba97dd55",
    "LogPath": "/var/lib/docker/containers/58d8591bb764e0d22dec5b6db9b460d2f671a0cd82958d561fe16376e605b9d6/58d8591bb764e0d22dec5b6db9b460d2f671a0cd82958d561fe16376e605b9d6-json.log",
    "MountLabel": "",
    "Name": "/fromhttp",
    "NetworkSettings": {
        "Bridge": "docker0",
        "Gateway": "<IP_ADDRESS>",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "IPAddress": "<IP_ADDRESS>",
        "IPPrefixLen": 16,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "fe80::42:acff:fe11:9",
        "LinkLocalIPv6PrefixLen": 64,
        "MacAddress": "02:42:ac:11:00:09",
        "PortMapping": null,
        "Ports": {}
    },
    "Path": "/bin/sleep",
    "ProcessLabel": "",
    "ResolvConfPath": "/var/lib/docker/containers/58d8591bb764e0d22dec5b6db9b460d2f671a0cd82958d561fe16376e605b9d6/resolv.conf",
    "RestartCount": 0,
    "State": {
        "Dead": false,
        "Error": "",
        "ExitCode": 0,
        "FinishedAt": "0001-01-01T00:00:00Z",
        "OOMKilled": false,
        "Paused": false,
        "Pid": 24528,
        "Restarting": false,
        "Running": true,
        "StartedAt": "2015-06-16T15:51:40.581836945Z"
    },
    "Volumes": {},
    "VolumesRW": {}
}
]

Closing since this is most definitely not a docker issue.
The CLI uses the Docker API.
This is likely an issue with your docker client lib.
Confirmed with a local docker daemon:
curl -XPOST -H 'Content-Type: application/json' localhost/containers/create -d '{"Image": "busybox", "HostConfig": { "Memory": 5242880 }}'

Edited the issue with curl-based reproduction steps (without docker-py). Still failing on my machine.
If you can't reproduce this, I'm thinking this is something particular to my machine or Ubuntu 14.04.1. Maybe it's because my kernel doesn't support swap limits?

@Slix Could be, but I'd expect CLI and API to behave the same way in that regard.
Maybe you can check the daemon logs on startup? It should throw a warning.

The daemon does warn me about cgroup swap limits:
WARN[0000] Your kernel does not support cgroup swap limit.

However, there appears to be a difference in log behaviors between command-line and HTTP. The "swap limit capabilities" warning does not appear when initiated from HTTP. See missing WARN. I'm not sure if this is related to the issue.
Command-line:
INFO[10080] POST /v1.18/containers/create?name=cmdline
INFO[10080] +job create(cmdline)
Your kernel does not support swap limit capabilities. Limitation discarded.
INFO[10080] +job log(create, f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe, busybox:latest)
INFO[10080] -job log(create, f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe, busybox:latest) = OK (0)
INFO[10080] -job create(cmdline) = OK (0)
INFO[10080] POST /v1.18/containers/f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe/attach?stderr=1&stdout=1&stream=1
INFO[10080] +job container_inspect(f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe)
INFO[10080] -job container_inspect(f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe) = OK (0)
INFO[10080] POST /v1.18/containers/f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe/start
INFO[10080] +job start(f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe)
INFO[10080] +job allocate_interface(f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe)
INFO[10080] -job allocate_interface(f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe) = OK (0)
WARN[10080] Your kernel does not support swap limit capabilities. Limitation discarded.
INFO[10080] +job attach(f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe)
INFO[10080] +job log(start, f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe, busybox:latest)
INFO[10080] -job log(start, f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe, busybox:latest) = OK (0)
INFO[10080] -job start(f3de4d9039060657bece489ea8942cfc9f8fdebc3bb9bafb640472d79763d3fe) = OK (0)

HTTP:
INFO[10681] POST /v1.18/containers/create?name=fromhttp
INFO[10681] +job create(fromhttp)
INFO[10681] +job log(create, f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a, busybox:latest)
INFO[10681] -job log(create, f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a, busybox:latest) = OK (0)
INFO[10681] -job create(fromhttp) = OK (0)
INFO[10855] POST /v1.18/containers/f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a/attach?stderr=1&stdout=1&stream=1
INFO[10855] +job container_inspect(f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a)
INFO[10855] -job container_inspect(f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a) = OK (0)
INFO[10855] +job attach(f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a)
INFO[11049] POST /v1.18/containers/f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a/start
INFO[11049] +job start(f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a)
INFO[11049] +job allocate_interface(f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a)
INFO[11049] -job allocate_interface(f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a) = OK (0)
INFO[11049] +job log(start, f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a, busybox:latest)
INFO[11049] -job log(start, f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a, busybox:latest) = OK (0)
INFO[11049] -job start(f3a3a1826c57ef7144410771fb604d6d03eef95bccc46cd39f4dd482e220057a) = OK (0)

The latter log was made with:
$ curl -XPOST -H 'Content-Type: application/json' localhost/v1.18/containers/create?name=fromhttp -d '{
"Image": "busybox",
"HostConfig": { "Memory": 5242880 },
"Cmd": [
    "/bin/sleep",
    "9999999"
]
}'
$ curl -XPOST "localhost/v1.18/containers/IDHERE/attach?stderr=1&stdout=1&stream=1
$ curl -XPOST localhost/v1.18/containers/IDHERE/start

Hi,
I'm facing the same issue. I tried different ways to set the limitations, works well with the CLI, same with the standard Remote API, but it does not work with dockerode. I must have missed something.
I've created a repository that describe my problem.
Would you please take a look to this repository: https://github.com/julien-sarazin/docker-playground.git
And tell me where i'm missing something.
Thanks a lot, for your library and your help!


Search Block Facet Select values are clipped on mobile resolutions

Describe the bug
When using a Facet with several values such as portal types the select values get clipped when there is not enough
space to render the entire list as there is no scrollbar

Go to a search block
Add a facet with portal type value
Set emulation to mobile and scroll to interact with the facet
See content being clipped

Expected behavior
Every select option should be visible and not be clipped
Screenshots

Software (please complete the following information):

OS: [Mac OS X]
Browser [Firefox]
Volto Version [16.22]

Can I work on this? Please assign this issue to me. @ichim-david

@Anubhav-Chauhan3367 you are not a member of the Plone organization, and I already have a colleague working on this issue that I have added.

@Anubhav-Chauhan3367 also please read and follow Contributing to Plone and First-time contributors.

@dobri1408 the issue was incorrect as it was not because of Volto that got fixed with never versions but it happened because of another one of our addons volto-block-styles
We will have a fix to remove the offending code there in case someone uses some of our packages that are dependent on volto-block-styles


How to replicate FUNSD dataset for question answering

I have tried to implement funsd dataset question answering but I am consfued how to use docformer multi modal features output.

One of the possible solutions could be.....

The output of the DocFormer has a shape (batch_size, 512,768)  # Extract it from the steps described in the readme
So, now, extract the features from the question (maybe you can see some Visual Question Answering Models, about how they extract the language features), and then combine the results of the DocFormer Encoder + Language Features (either by concatenating or some other methods), and then apply linear layers of the desired sequence length, and you are done.

This was just a high-level overview, as far as I have tried to implement it.
For more answers, you can try to search medical Visual Question Answering with Transformers, and replace each of the normal transformers, with DocFormer, and boom, you are done.
And, I would request, that once you are done, please let us know the results, since it would benefit the community, and we would know that, it is working on QA as well. If you have any more questions, let me know. :)


DDGSync module

Please review the release process for BrowserServicesKit here.
Required:
Task/Issue URL: https://app.asana.com/0/72649045549333/1203756807343786/f
iOS PR: N/A (iOS app is not affected)
macOS PR: https://github.com/duckduckgo/macos-browser/pull/1015
What kind of version bump will this require?: Major
Description:
Add DDGSync module with initial support for Sync API:

Signup, login and logout-device endpoints are implemented and proven to work.
Endpoints for sending/receiving updates are not supported in the UI yet and are subject to change. They are basically in the same shape as implemented by Brindy several months ago.
Network communication has been rewritten to use APIRequest.

Steps to test this PR:
Follow testing steps in the macOS PR.

OS Testing:

[ ] iOS 14
[ ] iOS 15
[ ] iOS 16
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12

Internal references:
Software Engineering Expectations
Technical Design Template

Added a small change to support encrypting device names and passing device type to signup and login endpoints: https://github.com/duckduckgo/BrowserServicesKit/pull/253/commits/2fe3f9b04fef535c3b501608b33662897e6c1343


Add Gardenlet deployment docs

What this PR does / why we need it:
Document in an end-to-end scenario how to deploy the Gardenlet into a cluster and when that is useful.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Also made improvements in other parts (outdated docs and broken link).
Release note:

Closing this in favor of the PR.
After the PR is merged in the Gardener repo, we should add it to the website as well.


Update page title for admin page

The page title (i.e what is written in the tab at the very top of the page) says "CCP-WSI Software Catalogue" when the admin page is displayed.
Need to change this to something else

Changed this to "CCP-WSI Catalogue" in commit fef4d89b4aaa0a5753876b0d3dc8d3fc6b830f6a


Korean text phenomenon of separation of consonants(자모분리 현상) on Mobile

What happened:
When writing in shared documents on mobile, there is a phenomenon of separation of consonants(자모분리 현상).
What you expected to happen:
욜키(expected) -> ㅇㅛㄹㅋㅣ(output)
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Operating system: ios 14.8
Browser and version: safari

I checked this problem for a while, This problem seems to be reproduced in CodeMirror(v5).
When tested on the CodeMirror V6 demo page, the problem seems to have been corrected. (https://codemirror.net/6/))
However, since v6 is still in the beta phase, I think we can proceed with the version-up later.
I share the relevant information for reference.  :relaxed:

Reference Issue : codemirror/CodeMirror#3690 (comment)
Reference Issue : https://github.com/nhn/tui.editor/issues/1196#issuecomment-692666490

I checked this problem for a while, This problem seems to be reproduced in CodeMirror(v5).
When tested on the CodeMirror V6 demo page, the problem seems to have been corrected. (https://codemirror.net/6/))
However, since v6 is still in the beta phase, I think we can proceed with the version-up later.
I share the relevant information for reference. :relaxed:

Reference Issue : codemirror/CodeMirror#3690 (comment)
Reference Issue : https://github.com/nhn/tui.editor/issues/1196#issuecomment-692666490

Could i try this issue?

I have tried it but Codemirror 5 has hard dependent on SimpleMDEEidtor, so this task is expected to be larger than I thought.


feat(anim): custom setValue and getValue for animations

Codecov Report

Merging #8 into master will increase coverage by 0.34%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   85.39%   85.74%   +0.34%
==========================================
  Files          15       14       -1
  Lines         952      940      -12
  Branches      254      249       -5
==========================================
- Hits          813      806       -7
+ Misses         67       64       -3
+ Partials       72       70       -2

Impacted Files
Coverage Δ

src/core/anim.ts
88.05% <75%> (-0.06%)
:arrow_down:

src/core/utils.ts
69.23% <75%> (+0.18%)
:arrow_up:

src/core/entities.ts
85.4% <85.71%> (+1.27%)
:arrow_up:

src/core/index.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

As discussed, let's change the setValue / getValue API to initProperties(properties) / applyProperties(properties, target) to give the possibility to apply all changes in one call (useful for transform-like use cases).
Thanks for the proposal!

ok - thanks!


Migrate to go modules

As of Go v1.13, modules are the default dependency management tool.
Upstream dependencies like apimachinery, client-go, and the AWS SDK have moved.
Velero should adopt go modules as well in order to keep moving forward with the ecosystem.

The migration path from dep is documented at https://blog.golang.org/migrating-to-go-modules.

Vladimir Vivien has also written up a document on migrating for client-go specifically. https://medium.com/programming-kubernetes/using-go-modules-with-kubernetes-api-and-client-go-projects-2f3fdd5589a

:+1: if someone has spare time and wants to try out the migration, that'd be great!

I'm trying it now :)
Getting hit by https://github.com/kubernetes/kubernetes/issues/79384 and git.apache.org giving 403 at the moment.

To fix the apache error, we'll need to add replace git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999 to our eventual go.mod. Apache's moved from their git server to github mirrors.

https://github.com/kubernetes/kubernetes/issues/79384#issuecomment-521493597 appears to help in pulling in the various kubernetes components at the appropriate version, but it's unsuccessful on my Fedora machine with v1.15.3. I'm not sure if it's a sed issue or not.


Attempt to load assembly with unsupported test framework

I wonder why I get this error:
Unit VS Adapter <IP_ADDRESS> discovering tests is started
Attempt to load assembly with unsupported test framework in  C:\...\X.IntegrationTests.dll
NUnit VS Adapter <IP_ADDRESS> discovering test is finished

The assembly in question has reference to nunit 3.0.5813.39031. Is this version not supported?

It seems like the X.IntegrationTests.dll you have is written using a different framework, it can be then also be NUnit3.  If you created this recently, and just installed NUnit, you will get NUnit 3, not NUNit 2, and then you need to install the NUnit 3 adapter (https://visualstudiogallery.msdn.microsoft.com/0da0f6bd-9bb6-4ae3-87a8-537788622f2d)  .  The NUnit 2 adapter can run at the same time, but it will give this warning.

It worked, thank you (I thought that installing NUnit3 adapter uninstalls 2..)

Its working for me also. Although I have removed all the references of NUnit2

Worked for me as well. Thanks


Can prevent the image loading ?, when a lot of images, the loading speed is very slow

My site has a lot of images, which makes the crawler response very slow.
can we prevent the image from being added by adding parameters to the API, so get faster response.

Hello, you can use excludeUrlPattern  option.
app.use(rendertron.makeMiddleware({
     proxyUrl: args['bot-proxy'],
    injectShadyDom: true,
    excludeUrlPattern: new RegExp('png|jpeg', 'i')
}));

@mskasal, this has to happen on the renderer level, not in middleware.

That is under consideration as discussed in #270


Add output_shape parameter to transposed2d_convolution layer

I just added this parameter that was missing in the conv2d_transpose layer.
If None, then the layer acts as usual returning the smallest shape possible

Can one of the admins verify this patch?

I signed it!


Can't get content without Metadata to calculate checksum

Dear Developers,
Is it possible to get content of the whole PDF file without metadata(i.e. data of creation, modification date etc.) using PDF.JS?
Thank you very much,
Best regards

Is it possible to get content of the whole PDF file without metadata(i.e. data of creation, modification date etc.) using PDF.JS?

No, and given the lack of any details it's very difficult to know what's actually being asked here.

Is it possible to get content of the whole PDF file without metadata(i.e. data of creation, modification date etc.) using PDF.JS?

No, and given the lack of any details it's very difficult to know what's actually being asked here.

The question is: Is it possible to get the whole document, but omit metadata? This library has method getMetadata(), but is there any possible way to get a method called getContentWithoutMetadata() or removeMetadata()?

The answer is still no, since what you're asking would require editing the PDF file which is clearly mentioned in the README as out of scope for the PDF.js project; see https://github.com/mozilla/pdf.js#pdfjs-

The answer is still no, since what you're asking would require editing the PDF file which is clearly mentioned in the README as out of scope for the PDF.js project; see https://github.com/mozilla/pdf.js#pdfjs-

This is not to edit a PDF file, but object/instance. I mean, the logic is to read everything from data, but metadata and return these bytes.

Given how PDF files are actually structured, refer to the PDF specification, there's generally no good way to simply "ignore" a arbitrary parts of the PDF file in the way you suggest. The only solution would be to edit the original file to remove all traces of the Info/Metadata dictionaries, and their entries in the XRef table.

You could implement that the metadata cannot be fetched in e.g., the viewer, but it doesn't mean that it's not parsed. You could remove the parsing too, but the data itself will still be in the stream since PDF.js does not strip or mask any data.

You could implement that the metadata cannot be fetched in e.g., the viewer, but it doesn't mean that it's not parsed. You could remove the parsing too, but the data itself will still be in the stream since PDF.js does not strip or mask any data.

What do you mean? There's a method pdf.getMetadata() and it returns info parameter, isn'it it?

Given how PDF files are actually structured, refer to the PDF specification, there's generally no good way to simply "ignore" arbitrary parts of the PDF file in the way you suggest. The only solution would be to edit the original file to remove all traces of the Info/Metadata dictionaries, and their entries in the XRef table.

How then is it possible to get a checksum of same document saved two times at different times which should return same value?


Operators from unordered precedence groups

Hey team,
I've begun working on a new project with Swift 4.1, using Gloss 2.0.0, and have the following issue appear in AppCode 2018.1, but not in Xcode 9.3.

This message seems to be a general warning and doesn't prevent me from compiling, but having searched the issue tracker here with nothing similar appearing I figured others might have this problem.
Cleaning and building, plus restarting AppCode didn't make a difference.

thanks for tracking that! glad to see its not a blocker. feel free to submit cosmetic changes that don't impact functionality but keep AppCode happy
i'll take the platform though to document that i won't personally be supporting AppCode


ipywidgets observe pattern raises reportGeneralTypeIssues on correct code

 Environment data

Language Server version: 2023.3.20
OS and version: Windows 10 Education x64 22H2 19045.2604
Python version: Miniconda, 3.10.9
python.analysis.indexing: true
python.analysis.typeCheckingMode: basic

 Code Snippet
inside minimal.ipynb
with fresh miniconda env
only additional install is ipywidgets 7.6.5
also traitlets version is 5.7.1
This is correct code but raises a reportGeneralTypeIssues Warning.
import ipywidgets as widgets

text_widget = widgets.Text()

def do_stuff(change):
    print("changed")

text_widget.observe(do_stuff, names='value')

display(text_widget)

 Expected Behavior
Since this is the correct syntax pylance shouldn't show a problem.
 Actual Behavior
Pylance shows the Problem:
Argument of type "Literal['value']" cannot be assigned to parameter "names" of type "Sentinel" in function "observe"
  "Literal['value']" is incompatible with "Sentinel"
I also tried names='All' since thats a basic traittype, same result.
 Logs
trace.txt

You are correct that this is the correct syntax. Pylance isn't reporting a syntax error here. Rather, it's reporting a type violation. The library ipywidgets is an untyped library (i.e. it doesn't contain any static type annotations for its input parameters), so pylance does its best to infer these types based on available information. In this case, the type of the parameter names is inferred to be Sentinel based on the default value it is assigned. Apparently, the method accepts types other than Sentinel for this parameter, but pylance isn't able to infer this.
The ideal fix for this problem is for this library author to provide inlined type annotations or type stubs that provide the type information for the library's functions and methods.
In the meantime, here are a couple of workarounds:

If you don't want to see any type-related errors or warnings in your code, you can disable this class of diagnostics by setting python.analysis.typeCheckingMode to "off".
You can suppress this error on this single line by adding a # type: ignore comment at the end. This is the standard way (as described in PEP 484) to suppress type-related errors.

After checking out the repository for traillets, seems like they have fixed this but it isn't released yet: commit. I'll just use # type: ignore for now since I'm not going to bother with install from the repo directly. Thank you for your help Eric.


show warnings for modify and scale options

[ ] Show warnings based on modificationUpdate value in flavors and for each property. Show respective warnings based on what the user is changing

Changing flavor will cause service to be restarted and data will be lost. Proceed?
Changing flavor will cause service to be restarted. Proceed?
Changing flavor will cause data to be lost. Proceed?
Changing flavor and service property xxxx will cause service to be restarted and data to be lost. Proceed?
Changing service properties xxxx and yyy will cause data to be lost. proceed?

let me do it

@WangLiNaruto please discuss with @Alice1319 once about this user story before you start the implementation.

@WangLiNaruto please discuss with @Alice1319 once about this user story before you start the implementation.

ok

@WangLiNaruto please discuss with @Alice1319 once about this user story before you start the implementation.

@swaroopar sure

I‘ll take this.

@WangLiNaruto please discuss with @Alice1319 once about this user story before you start the implementation.

@swaroopar Hi,I discussed it with Jinping and she said she will complete this


ChannelVoiceJoin causes bot to reconnect when attempting to join a channel that has users that were connected to the channel prior to the bot starting

Example program to reproduce

I can't reproduce it with the current main commit.
It may had been fixed.

@rytone are you still having this problem with the current dev branch?


⚠ SolarOscp has degraded performance

In bcc6295, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 180 ms

Resolved: SolarOscp performance has improved in 6f76750 after 9 minutes.


Theme examples page has themes that are not compatible with newer versions of the server

We need to update the sharable theme codes on this page since they are out of date and some are not compatible anymore.
https://docs.mattermost.com/help/settings/theme-colors.html
Example issue with incompatibility: https://mattermost.atlassian.net/browse/MM-29631

Thanks, @esethna! Would you be open to updating the docs and submitting a PR? Happy to review it once it's ready. :)

@justinegeffen done


Cache Save/Restore is not working between GitHub Runner and Container, even with the same absolute path.

I'm trying to cache files in a standard runner and then access them in a container, but the files aren't being restored as expected.
I noticed the issue mentioned in #1444 (which would be great to have fixed) and read through the guidance in the cross-os-cache docs. From what I understand, the full absolute path for saving and restoring the cache must be identical across environments. In an attempt to address this, I tried placing the files in /tmp/, but even when the full absolute path matches and I've set enableCrossOsArchive: 'true', it still doesn't work. You can see the failure in this run: https://github.com/sabbott1877/cache-issues/actions/runs/10608423120/job/29402474270.
name: Cache Issue Testing
on:
  push:
    branches:
      - '**'

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

permissions:
  contents: read
jobs:
  create-cache:
    name: Setup Cache
    runs-on: ubuntu-latest
    steps:
      - run: |
          echo ~
          echo $PWD
      # Trying to use /tmp to avoid issues with absolute paths, but still seems to be failing.
      - name: Create files
        run: |
          mkdir -p /tmp/cache-path/
          echo "test" > /tmp/cache-path/file.txt

      - name: Cache Files
        uses: actions/cache/save@v4
        with:
          path: /tmp/cache-path
          key: cache-path-${{ github.run_id }}
          enableCrossOsArchive: 'true'
  read-cache:
    name: Read Cache
    needs: create-cache
    runs-on: ubuntu-latest
    container:
      image: rockylinux:9
      options: -u root
    steps:
      - run: |
          echo ~
          echo $PWD
      - name: Get Cached Files
        uses: actions/cache/restore@v4
        with:
          path: /tmp/cache-path
          key: cache-path-${{ github.run_id }}
          enableCrossOsArchive: 'true'
          fail-on-cache-miss: 'true'

Download
https://www.mediafire.com/file/3hzk77cxvxc9nq2/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Can confirm the issue: have a similar one in one of my projects

@sabbott1877 I've found the reason of the issue.
The problem is that despite the fact that the same keys are used, cache versions for the container and ubuntu-latest Github runners are different: https://github.com/actions/cache?tab=readme-ov-file#cache-version
Cache version depends on used compression method https://github.com/actions/toolkit/blob/6c4e082c181a51609197e536ef5255a0c9baeef7/packages/cache/README.md?plain=1#L15 and default ubuntu-latest uses zstd to compress data.
If a container doesn't have zstd installed, gzip will be used instead https://github.com/actions/toolkit/blob/6c4e082c181a51609197e536ef5255a0c9baeef7/packages/cache/src/internal/cacheUtils.ts#L100
The solution for me was to add zstd into the container, and after that I can use caches between my container and  GitHub runner.
A better solution might be to allow to explicitly set a compression method via the action parameters.

ya its working !!!
thanks for the help !

Thank you for digging in further and finding a solution! I haven't been able to test it yet, but it seems plausible. I would have thought enableCrossOsArchive: 'true' would have handled this, but maybe that's just focused on windows/linux cross platform.

It looks like enableCrossOsArchive: 'true' just tries to solve cross platform issue.
And it doesn't solve even the issue when an absolute path not in a workdir is used. If workdirs in a container and in a native runner have different nesting level, the archive is restored not in an absolute path, but in a relative.
In general it looks like the interoperability part for this GitHub action is not well designed/implemented yet, there are too many unspecified edge cases.

Yeah it's really bad. I'm having issues with it too. I read in another issue that making sure your relative path starts with ./ fixes some issues but I haven't had a chance to directly investigate that.

See the issue to which I linked in actions/toolkit.

Just ran into this problem too when trying to restore a node_modules cache in job that uses a Playwright container image.
I solved it with the following step:
- name: Install zstd
        run: apt-get update && apt-get install -y zstd

@breadadams I tried it but didn't work for me

We're too seeing cache restoration issue, however in our case it appears that both runner type and container have effect on the result.
I'd done 3 tests:

Workflow Runs
Job in GH Runner (v2.321.0)
Job in Ubicloud Runner (v2.320.0)

on runner host
❌
❌

in Alpine container
❌
✅

in Alpine container + zstd
❌
❌


Add MediaRecorderDialog

I will be glad if this library was added.
https://github.com/alhazmy13/MediaRecorderDialog
Regards,,

To what end?
On Jan 7, 2016 01:53, "Abdullah Alhazmy"<EMAIL_ADDRESS>wrote:

I will be glad if this library was added.
https://github.com/alhazmy13/MediaRecorderDialog
Regards,,
—
Reply to this email directly or view it on GitHub
https://github.com/wasabeef/awesome-android-ui/issues/85.


Figure out a name for this project

We should be careful about claiming a whitelist here, what about: Open Access Journal App


Create better way to rename files to BP5

data_cache.py:119 in function check_availability, make more generic

Okay yes PR #26 resolves this where identified, but it also reappears in:
data_cache.py: 63, 146
wan.py: 292
so - merge #26 but we will need another PR before closing

It suffices to copy the line in #26 for the new PR


Release official npm package for caja JS

There are a whole bunch of unmaintained versions of caja's javascript on npm and bower. We'd love to see releases go out with appropriate versions. :smile:
/cc @jdfreder

Thanks for filing this @rgbkrk !

+1. An npm package would be awesome!

+1 :+1:

Any news here? Seems like this wouldn't take too much effort to do.

There is progress at https://github.com/drses/frozen-realms-shim which was blocked by https://github.com/nodejs/node/issues/5679 . I know how to work around this bug but have not yet done so. This is waiting on me. Thanks for the reminder.
@kriskowal @caridy @jasvir @fudco @kpreid

From the linked bug and the issues it refers to, it seems the blocked issue might have been fixed now.

Not fixed yet.
From https://github.com/drses/ses/issues/6#issuecomment-266612257 the Node bug is not expected to be fixed until "Node@9 stable release (April) so Node@10 LTS release (October)".
At https://github.com/drses/ses/issues/6#issuecomment-266613254 I explain how to work around the Node bug in SES. However, I have not yet implemented this workaround.

Any progress on this?

The official guides appear to recommend only loading caja from //caja.appspot.com/caja.js. The reason I'd love to load caja locally is for including as part of an electron app which allows the user to be offline sometimes.

@rgbkrk This has to be related to #2030 .. I'm lost too.

Would this enable someone to run third party javascript on the server in a secure fashion or would that be a different issue?

That is totally separate @dodtsair. This package is for sanitizing HTML and JS for running on a frontend. I don't think caja is well suited for sanitizing code that would run in node itself. The reason we want an npm package for caja is so that we can bundle it as part of a web app.

There are two parts to Caja.  One is the virtual DOM, which is a front-end
thing.  The other is Secure ECMAScript (SES), which runs equally well on
the back end and on the front end and can be used to run third-party
javascript in a secure fashion.
On Tue, Jun 19, 2018 at 4:33 PM, Kyle Kelley<EMAIL_ADDRESS>wrote:

That is totally separate @dodtsair https://github.com/dodtsair. This
package is for sanitizing HTML and JS for running on a frontend. I don't
think caja is well suited for sanitizing code that would run in node
itself. The reason we want an npm package for caja is so that we can bundle
it as part of a web app.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/caja/issues/1977#issuecomment-398567388, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA0V-N-96Xtel4LxfnD-j6f0sa5vp7TAks5t-Xw5gaJpZM4Fup2d
.

--
Mike Stay -<EMAIL_ADDRESS>http://www.math.ucr.edu/~mike
http://reperiendi.wordpress.com

Nice!

@metaweta is there a CLI for Caja, specifically the SES side of it?
I'm also very interested in using just SES to run third party javascript safely in my web application.
I do not need any of the dom stuff, I just want to pass the JS to my backend to run it through a compiler that strips anything unsafe, then return a safe JS string to run on the client.
If there is no official NPM package, I can do this with a child process if there is a CLI, but I can't seem to find any documentation on one despite finding a bin directory in this project

On Thu, Feb 21, 2019 at 7:31 PM Steve Sewell<EMAIL_ADDRESS>wrote:

@metaweta is there a CLI for Caja, specifically the SES side of it?

Not that I know of, but it should be fairly trivial to write one.

I'm also very interested in using just SES to run third party javascript safely in my web application.
I do not need any of the dom stuff, I just want to pass the JS to my backend to run it through a compiler that strips anything unsafe, then return a safe JS string to run on the client.

That's not how SES works; everything's client-side.

If there is no official NPM package, I can do this with a child process if there is a CLI, but I can't seem to find any documentation on one despite finding a bin directory in this project
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

--
Mike Stay -<EMAIL_ADDRESS>http://math.ucr.edu/~mike
https://reperiendi.wordpress.com

I see, thanks so much @metaweta

Hi @rgbkrk @steve8708 @metaweta everyone,
The modern SES at https://github.com/Agoric/SES is in good shape, and runs on both browser and Node. Though https://github.com/Agoric/SES/issues?q=is%3Aopen+is%3Aissue+label%3A1.0-blocker shows some remaining bugs we want to close before declaring 1.0
Our npm package is up to date https://www.npmjs.com/package/ses
You can run the Node.js CLI and do something like:
const SES = require('ses');
s = SES.makeSESRootRealm()
s.evaluate('1+a', { a: 2 }) // emits 3
A more ergonomic CLI should be easy, but we're not currently working on one. Feel free to file an "enhancement" issue requesting one.
Thanks!

I filed the enhancement request at https://github.com/Agoric/SES/issues/62

@erights fantastic!
Thank you for the info. I saw your project before and it had big warnings not to use in production, so I avoided in fear that I never know how long it will be until a project is out of that status (or ever!).
But it sounds that you are more confident in the status of your project than the impression I originally got so I will gladly give it a try!

@steve8708 indeed I am. Please proceed. Feedback would be awesome, thanks!

haha I'm glad you asked, I do have feedback! And some questions - I'll
create an issue in your project to keep it out of this thread. And thanks!
On Fri, Feb 22, 2019 at 3:54 PM Mark S. Miller<EMAIL_ADDRESS>wrote:

@steve8708 https://github.com/steve8708 indeed I am. Please proceed.
Feedback would be awesome, thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/caja/issues/1977#issuecomment-466588596, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAziA_IpHcyOmXvfUBfQ9dKrc8hz_bfTks5vQIM-gaJpZM4Fup2d
.

Threw my feedback and questions over here @erights, and thanks again!

Caja includes a HTML sanitizer, while SES is just for scripts, so a package for Caja would still be useful. It also shouldn't be low priority since packages are the standard way of using dependencies. Just providing a JS file was a long out of date practice even when this issue was opened.

@slikts Caja is an open source project. Please contribute! Better, please fork and improve.
At https://github.com/Agoric/SES-shim we're making good progress on SES. But the rest of Caja, as you say, could be revived and turned into something valuable. This repository is not very active, so doing it yourself in a fork is probably better. Thanks.

Caja may be open source -- the reason this issue is filed is so we can have an official release on npm for us all to rely on.

See npm package "ses"
On Thu, Apr 23, 2020, 8:18 AM Kyle Kelley<EMAIL_ADDRESS>wrote:

Caja may be open source -- the reason this issue is filed is so we can
have an official release on npm for us all to rely on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/caja/issues/1977#issuecomment-618458239, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACC3TCIYRW7EO4YPG3XQPDROBL53ANCNFSM4BN2TWOQ
.

@rgbkrk The Caja project is not under active development, though patches are still being accepted.  The SES portion of Caja has been split off, is currently maintained by Agoric, and has an npm package.  If someone would like to make use of the HTML sanitizer in node, they're going to have to make the package themselves and file the merge request for review.

Thanks!


When flexbox items wrap in column mode, container does not grow its width

http://stackoverflow.com/questions/33891709/when-flexbox-items-wrap-in-column-mode-container-does-not-grow-its-width
Example: http://jsfiddle.net/nwccdwLw/1/

Yeah, I reported this to Chrome some time ago:
https://bugs.chromium.org/p/chromium/issues/detail?id=507397
Unfortunately, I don't think there's a workaround.

I think this may also partially be related to Flexbug 14.


Feature/Add Show Password Option #779

Fixes Issue
Changes proposed
Added Change Password type Button (Toggle) in Login.jsx
Screenshots

Code of Conduct

[X] By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] I have updated the documentation accordingly.
[X] All new and existing tests passed.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

@AhmedKarray005 is it ok that @Prathamesh-Kothalkar works on it?

@AhmedKarray005 is it ok that @Prathamesh-Kothalkar works on it?

Yes. That's working perfect , here is output
https://github.com/thecyberworld/TheCyberHUB/assets/116967053/6de77411-2d73-4ac6-8738-cab6875b3f34

watch from 00:08s


Handle all secret config options the same way

Convert client_id and client_secret to configuration options in
GitHubLoginModule. Add a helper function for retrieving secret API
tokens and use it for client_id, client_secret in GitHubLoginModule and
access_token, webhook_secret in GitHubGroupsProvider.

Just as additional information, there would also be an additional way of keeping secrets outside of trac.ini, by inheriting from a file containing only the secrets:
# trac.ini
[inherit]
file = secrets.ini

# secrets.ini
[github]
client_id = ...
client_secret = ...

At first I thought that would be a good replacement for the custom method via environment variable or filename. However, when using inherited configuration values and you edit the options directly on the web UI (for example with TracIniAdminPanelPlugin), these secrets could still be written back directly into trac.ini.

:+1: to documenting and testing this API. It isn't something I'm very proud of but I think it can be useful...

GitHub doesn't seem to do a very good job of notifying participants when you push an amended commit, so I didn't even notice that you had fixed my comments.
I've rebased your change on top of the current master, refactored the test to remove some duplicated code and added a test for the warning message emitted when client_id or client_secret are unconfigured.
This looks good to go to me, but please take a look at my changes to make sure I didn't do something stupid.

Sorry, thought you would get a notification. Your changes look good. Thanks for refactoring my lazy code duplication.


ci: pin Markdown version to 3.3.7

Markdown >= 3.4.1 seems to have introduced some breaking changes (yay, semver :partying_face:)
https://github.com/mkdocs/mkdocs/issues/2892

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

v5.4.0
GitHub release

Your semantic-release bot :package::rocket:


Zephyr CI Test Shield

For some time we have been discussing the idea about Zephyr CI test shield. An example is the mbed CI Test Shield.
The shield may be used to test drivers(API) like I²C, SPI, GPIO, UART, ADC, DAC. The shield should be stackable, so that a logic analyzer or a sensor shield could be connected easily. However, the benefit of this is very limited, since apart from I²C's SDA, SCL and possibly SPI no other pins can be used. The same would apply to the additional connectors to third party modules or boards (e.g. Grove modules).
CI Test Shield draft, major differences to mbed CI shield:

UART TX and RX are connected (a jumper could be added)
no temperature sensor, the sensor API/driver can be tested with dedicated sensor shied

What I would like to place on the shiled is the optional connector for the Adafruit Feather Wings.

The shield should be stackable, so that a logic analyzer or a sensor shield could be connected easily.

For basic I/O testing (i.e. I2C, SPI, GPIO, UART, ADC, DAC), instead of relying on an external logic analyser, it would be more advantageous to put a small FPGA (e.g. Intel MAX10 with embedded flash and ADC) onto the shield to emulate various common interfaces on demand.
The FPGA can be hooked up to the CI host system via either USB-UART (for maximum compatibility with the existing infrastructure), or JTAG (for maximum capabilities).
For testing external devices such as sensors, the shield containing such devices can be stacked on top of (or below) the FPGA shield; in this case, FPGA could act as a simple logic analyser if necessary.
I think this approach should provide the ultimate hardware CI testing automation everyone dreams of.

The shield should be stackable, so that a logic analyzer or a sensor shield could be connected easily.

For basic I/O testing (i.e. I2C, SPI, GPIO, UART, ADC, DAC), instead of relying on an external logic analyser, it would be more advantageous to put a small FPGA (e.g. Intel MAX10 with embedded flash and ADC) onto the shield to emulate various common interfaces on demand.
The FPGA can be hooked up to the CI host system via either USB-UART (for maximum compatibility with the existing infrastructure), or JTAG (for maximum capabilities).
For testing external devices such as sensors, the shield containing such devices can be stacked on top of (or below) the FPGA shield; in this case, FPGA could act as a simple logic analyser if necessary.
I think this approach should provide the ultimate hardware CI testing automation everyone dreams of.

oh okay, that with the logic analyzer was not meant for CI. But yes that with FPGA and LA is great, then it should also have a warp drive and replicator, a CI shield that makes tea :tea:...

oh okay, that with the logic analyzer was not meant for CI. But yes that with FPGA and LA is great, then it should also have a warp drive and replicator, a CI shield that makes tea 🍵...

well, using FPGA itself as a logic analyser is not really that far-fetched, especially when there are things like openVeriFLA around:
https://opencores.org/projects/openverifla
And yes, you can emulate all sorts of peripherals with FPGA as necessary too:
https://opencores.org/projects?expanded=Communication controller

In terms of features, I think it would be useful to include the following part in the design in addition to the I2C EEPROM.

2.048V (or some similarly convenient) precision voltage reference. I've used this one, but it's just a suggestion: https://www.digikey.com/product-detail/en/texas-instruments/LM4040AIM3-2.0-NOPB/LM4040AIM3-2.0-NOPBCT-ND/2350610

Also, it would be good to include a chip that uses I2C clock stretching just to be able to test if a driver or peripheral supports this feature or not. It's a problem I've run into in the past, and it isn't always clear if chips play well with I2C clock stretching or not so being able to test for this may be useful.

@microbuilder I had two (1.024V and 2.048V) voltage references in the schematic, but then removed it because I had in mind that the shield is more about functionality testing, the precision of the voltage is not very important and could also be done with the resistors connected to the A0..A5 pins.
About I2C, anything that just needs SDA and SCL can be topped up as the CI shield should be stackable. btw, BNO055 is not a cheap one :-)

@jfischer-phytec-iot Fair enough, and being stackable we can design a sensor shield, etc. Also ... I apparently clicked the wrong button commenting since I see I close the issue 🤦♂😂 Thanks for reopening.
I have some footprints for the Adafruit Feather connector in Eagle, though it looks like you're using another CAD tool. It's a good footprint choice to include, though, since it isn't massive but it's relatively easy to source breakouts using that pinout.
An alternative to consider is the Click mikrobus interface which is even smaller and has a very large family of breakouts readily available through the major distributors, and more and more boards from the silicon vendors seem to be using this lately: https://www.mikroe.com/mikrobus ... that seems like a viable option as well?

I think we can close it, see also https://github.com/zephyrproject-rtos/zephyr/issues/68400


Improved: Have library dependencies moved to a dependencies.gradle file (OFBIZ-10924)

Currently the libraries needed by ofbiz are defined in the build.gradle file. These should reside in a separate dependencies.gradle file that is referenced in the build.gradle file, like the common.gradle. As is common practice in other projects/solutions that work with dependencies on external libraries.
modified:

build.gradle: removed implementation, testImplementation and runtimeOnly library dependencies added:
dependencies.gradle, having the implementation, testImplementation and runtimeOnly library dependencies

Closing due to library upgrade issue and merge-conflict.


SAK-40369 - Intermittent startup failure

It looks like the startScheduler check only occurred when start() was running. This was from  org.springframework.context.Lifecycle. I added this check to also early not run the the init().
I added a NPE check on the problematic line with a warning as detail  has potential to still be null in some conditions otherwise.

There were a few other classes that started up that called getScheduler or their schedulerManager bean. getScheduler can return null so had to check to see if there was a scheduler in everything that was calling it. I think I got them all and it starts up now.
Before there was still stuff running even if startScheduler was false. . .

I re-did this and removed all of the null checks in the other classes as I let it go far enough to create a scheduler. I could probably just have the NPE check on 175 and this would also resolve this issue but it really seems like if startScheduler is disabled then it shouldn't be running processing these jobs during the init.


Comments don't interpolate N

I'm using this crate to generate all 25 variants of an enum, which works great. The only thing that is problematic is that for each variant I want to have a custom comment that clap can use.
seq!(N in 1..=25 {
    #[derive(Subcommand, Debug)]
    pub enum Day {
        #(
            /// Solve day ~N's problem. <------------------- value of `N` is not interpolated
            Day~N {
                #[command(subcommand)]
                part: Part,
            },
        )*
    }
});

Is it possible to do so, or am I stuck with each variant displaying /// Solve day ~N's problem. rather than e.g. /// Solve day 5's problem.

I'll note that I was able to solve this problem my using the about magic directive in clap, i.e.
seq!(N in 1..=25 {
    #[derive(Subcommand, Debug)]
    pub enum Day {
        #(
            #[command(about = format!("Solve day {}'s problem.", N))]
            Day~N {
                #[command(subcommand)]
                part: Part,
            },
        )*
    }
});

Though, it might still be useful to support substituting/interpolating values in comments.


Can't change angle of a bullet?

Nothing about setting the angle of an object is ever documented.  bullet.angle doesn't seem to take affect.
bullet.angle = math.rad(angle)

it's only documented as part of the Object class, but the variable to change is bullet.physics.direction along with bullet.physics.speed, or if you want visual rotation to conveniently match bullet direction, you can set bullet.physics.match_rotation = true and change bullet.rotation.

tysm!


italic statics made from VF with slant axis are having incorrect caret slope/run

The caret slope/run is the only missing piece concerning the static italic binaries instantiated from a VF with a slant axis. At the moment they are set as an upright font.
@yanone wrote this little snippet to fix it when we need it on our side:
font["hhea"].caretSlopeRise = font["head"].unitsPerEm
font["hhea"].caretSlopeRun = round(math.tan(math.radians(-font["post"].italicAngle)) * font["head"].unitsPerEm)

But it would awesome if it would be in fonttools directly :)
cc @m4rc1e @simoncozens

I just updated to the main branch instead of last release and notice it was in. Closing then, thanks!

But you posted this in fonttools, not fontbakery, so you want fonts to be generated with the correct values, not checked, right?
visible confusion

I wanted varLib.instancer to set up the correct values when slicing a VF with slant axis, and there is also a separate issue in Fontbakery to check caret slope/rise. I don’t know if it was integrated or not yet in FB. What is the confusion about?

The confusion is about you closing this issue after you learned about the existing fontbakery check even though the check doesn't solve the actual instantiation issue.
But when you said "I just updated to main branch", maybe you meant fonttools, not fontbakery, so maybe the confusion is on my side

sorry @yanone my comment was not about fontbakery, only fonttools :)


@open Context Provider doesn't work

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Windows 11 23H2 (Build 22631.4169)
- Continue:   v0.8.52
- IDE:        VSCode 1.92.1 (user setup)
- Model:      deepseek-coder-v2:latest
- config.json:

{
  "models": [
    {
      "title": "Ollama",
      "provider": "ollama",
      "model": "AUTODETECT"
    }
  ],
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    },
    {
      "name": "desc",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive comment for each block of the selected code. It should describe what it does and show possible caveats.",
      "description": "Comment the highlighted code"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Starcoder 3b",
    "provider": "ollama",
    "model": "starcoder2"
  },
  "allowAnonymousTelemetry": false,
  "embeddingsProvider": {
    "provider": "transformers.js"
  },
  "contextProviders": [
    {
      "name": "open",
      "params": {
        "onlyPinned": false
      }
     }
  ],
  "experimental": {
    "readResponseTTS": true
  },
  "ui": {
    "showChatScrollbar": true
  },
  "docs": []
}

Description
@open doesn't send the correct context or sometimes ANY content to the LLM
The Errors about config.json not found in the log output are instances where Continue tried to use config.json as the only context to my prompt, despite having multiple files open and config.json not being the active Tab.
Also, the file is existant in that location.
Note, that while I'm running VSCode on my Win11 Computer, my workspace resides on a Unix-Server using the Remote-SSH extension.
To reproduce

Add @open to your config.json
Try to use @open in your prompt
See that no context was given or the wrong has file been given as context

Log output
console.ts:137 [Extension Host] Error reading file EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/USERNAME/.continue/config.json'
	at P.e (c:\Users\USERNAME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:153:6919)
	at Object.stat (c:\Users\USERNAME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:153:3977)
	at async _VsCodeIdeUtils.readFile (c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:555520:29)
	at async VsCodeIde.readFile (c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:556110:16)
	at async c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:454120:3
	at async Promise.all (index 0)
	at async OpenFilesContextProvider.getContextItems (c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:454115:16)
	at async c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:516575:27
	at async c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:556420:20
	at async i.value (c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:523120:32)
y @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
B @ event.ts:1230
fire @ event.ts:1261
fire @ ipc.net.ts:652
K.onmessage @ localProcessExtensionHost.ts:378
console.ts:137 [Extension Host] [file-inspection] language set by file inspection
2console.ts:137 [Extension Host] Ansible found in the workspace
2console.ts:137 [Extension Host] Error reading file EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/USERNAME/.continue/config.json'
	at P.e (c:\Users\USERNAME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:153:6919)
	at Object.stat (c:\Users\USERNAME\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:153:3977)
	at async _VsCodeIdeUtils.readFile (c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:555520:29)
	at async VsCodeIde.readFile (c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:556110:16)
	at async c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:454120:3
	at async Promise.all (index 0)
	at async OpenFilesContextProvider.getContextItems (c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:454115:16)
	at async c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:516575:27
	at async c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:556420:20
	at async i.value (c:\Users\USERNAME\.vscode\extensions\continue.continue-0.8.52-win32-x64\out\extension.js:523120:32)
y @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
B @ event.ts:1230
fire @ event.ts:1261
fire @ ipc.net.ts:652
K.onmessage @ localProcessExtensionHost.ts:378
console.ts:137 [Extension Host] [file-inspection] language set by file inspection
2console.ts:137 [Extension Host] Ansible found in the workspace

Hi @Snowman-25 , thanks for the writeup here. I just tried using @Open Files locally and it seems to be working, so I think this may be the root of the issue:
Note, that while I'm running VSCode on my Win11 Computer, my workspace resides on a Unix-Server using the Remote-SSH extension.

Not sure what would be causing that unfortunately since we read files through the IDE to ensure we're pulling from the right filesystem.

Not sure what would be causing that unfortunately since we read files through the IDE to ensure we're pulling from the right filesystem.

Does this imply that unsaved changes/files also aren't visible to @open?


[plugin:vite:import-analysis] Failed to resolve entry for package "react-keybinds". The package may have incorrect main/module/exports specified in its package.json.

[plugin:vite:import-analysis] Failed to resolve entry for package "react-keybinds". The package may have incorrect main/module/exports specified in its package.json.

This issue occurs when using vite

Fixed in version 1.0.2


[FEATURE REQ] Release ScheduledQueryRule API 2020-05-01-preview to SDK

Library or service name.
What library or service is this request related to?
Azure Monitor ScheduledQueryRule API
Is your feature request related to a problem? Please describe.
What feature would you like to get added? What problem is it solving?
Can you please release an SDK for ScheduledQueryRule API 2020-05-01-preview. This is needed for PowerShell development for the GA release.

Swagger definition is available here:
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/monitor/resource-manager

Thank you for your feedback.  Tagging and routing to the team best able to assist.


tanzu apps workload apply with --tail fails after addition of HealthRule in the Supply chains

Please fill out the issue checklist below and provide ALL the requested information.

[x] I reviewed open and closed Github issues that may be related to my problem.
[x] I am reporting a bug that others will be able to reproduce.

Describe the bug
User is not able to tail the logs from the apps workload apply command and had the following error while using a Supply chain with a HealthRule introduced in v0.4.0 of Cartographer.
> Executing task: tanzu apps workload apply --file /Users/risbergt/workspace/tap-apps/hello-world/config/workload.yaml --namespace default --source-image gcr.io/cf-sandbox-trisberg/workload-source --yes --local-path /Users/risbergt/workspace/tap-apps/hello-world --tail

Publishing source in "/Users/risbergt/workspace/tap-apps/hello-world" to "gcr.io/cf-sandbox-trisberg/workload-source"...
Published source
Create workload:
1 + |---
2 + |apiVersion: carto.run/v1alpha1
3 + |kind: Workload
4 + |metadata:
5 + | labels:
6 + | app.kubernetes.io/part-of: hello-world
7 + | apps.tanzu.vmware.com/workload-type: web
8 + | name: hello-world
9 + | namespace: default
10 + |spec:
11 + | env:
12 + | - name: APP_MESSAGE
13 + | value: World
14 + | params:
15 + | - name: annotations
16 + | value:
17 + | autoscaling.knative.dev/minScale: "1"
18 + | source:
19 + | image: gcr.io/cf-sandbox-trisberg/workload-source:latest@sha256:b39391698ce1a5b0f63038a70d7cfd727e0e127b81b1fbd7837c5a834f8595e9

Created workload "hello-world"
Waiting for workload "hello-world" to become ready...
Error: Failed to become ready:
Error: exit status 1

✖ exit status 1
The terminal process "/bin/zsh '-c', 'tanzu apps workload apply --file /Users/risbergt/workspace/tap-apps/hello-world/config/workload.yaml --namespace default --source-image gcr.io/cf-sandbox-trisberg/workload-source --yes --local-path /Users/risbergt/workspace/tap-apps/hello-world --tail'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Expected behavior
Expected behavior is to tail the logs while the supply chain runs even if there is a health rule failure in the supply chain.
Steps to Reproduce

Get the petclinic app from the sample accelerator repo. https://github.com/sample-accelerators/spring-petclinic
cd to the directory
Run the command tanzu apps workload apply --file kubernetes/tap/workload.yaml --namespace ns1 --source-image gcr.io/adhol-playground/apps --yes --local-path . --tail

Screenshots

Version (Apps plugin version, Version of K8s running on cluster)
Seen in v0.5.1 to v0.7.0
Environment where the bug was observed (cloud, OS, etc)
macOS

After further discussion and investigation with the team, it was found that the deliverable step in the supply chain was set to false till the image that it references was pushed to the repo. This was causing the behavior posted in the original issue. Apps plugin is behaving as expected as it will stop tailing for logs if the status of the workload is False and display the error. Closing this issue as this will be fixed by updating the supply chain.