Propagate KAT_ variables to tests

Recently introduced KAT_CLIENT_DOCKER_IMAGE and
KAT_SERVER_DOCKER_IMAGE environment variables are not propagated
correctly leading to failures when running tests locally.
This commit fixes that so make test does not fail.

Ahh, I had been doing eval "$(make export-vars)" (like CI does), so they were getting in to my environment that way.


Three bad practices: use of MD5, binding to <IP_ADDRESS>, and keeping empty passwords

Greetings,
I am a security researcher, who is looking for security smells in Puppet scripts. I noticed instances of MD5 uses in one of the Puppet scripts. MD5 is vulnerable to attacks, and should be avoided. The Common Weakness Enumeration organization recommends against usage of weak cryptographic algorithms such as MD5. Reff: https://cwe.mitre.org/data/definitions/327.html.
I suggest the use of SHA512 , which is more secure. Any feedback is appreciated.
Source: https://github.com/boxbilling/boxbilling/blob/master/puphpet/puppet/modules/postgresql/manifests/server/config.pp

I also noticed instances of binding to <IP_ADDRESS>. Binding an address to <IP_ADDRESS> indicates allowing connections from all IP addresses. I would like to draw attention to these instances. Binding to <IP_ADDRESS> may lead to denial of service attacks. Practitioners have reported how binding to <IP_ADDRESS> facilitated security issues for MySQL (https://serversforhackers.com/c/mysql-network-security), Memcached (https://news.ycombinator.com/item?id=16493480), and Kibana (https://www.elastic.co/guide/en/kibana/5.0/breaking-changes-5.0.html).
I suggest to use a dedicated IP address other than <IP_ADDRESS>.
Source: https://github.com/boxbilling/boxbilling/blob/master/puphpet/puppet/modules/postgresql/manifests/params.pp

Along with the two smells, I also noticed instances of empty passwords. Empty passwords increase the guessability of passwords. The Common Weakness Organization (CWE) identifies use of empty passwords as a security weakness (https://cwe.mitre.org/data/definitions/258.html).
I suggest that to follow the strong password guidelines, and manage passwords with hiera.
Any feedback is appreciated.
Source: https://github.com/boxbilling/boxbilling/blob/master/puphpet/puppet/modules/postgresql/manifests/server/role.pp

This project is dead. Sad to see such a good opensource project gone.

Hi,
I don't think it's dead. @TuxMay still give support for the latest released version. And CircleBilling also looking forward to contribute some bugfixes to BoxBilling.
If you need a php 7.2 working version, you should follow CircleBilling: https://github.com/CircleBilling/CircleBilling
Otherwise all of you are welcome to share bugs. BB or CB will fix that then.
Thank you and have a nice day!

It actually looks like the files relating to this no longer exists. There are still a few instances of using MD5 that I know of, though

From what I can see, most of the current uses of MD5 are in places like payment gateways or APIs which is required.
This specific issue was (and should be considered) closed by #700 as Puhpet was removed.

From what I can see, most of the current uses of MD5 are in places like payment gateways or APIs which is required.
This specific issue was (and should be considered) closed by #700 as Puphpet was removed.

Yes, you're right. There are a few instances of our code using md5(uniqid()) to generate hashes though.
I'm going to close this and we can talk in slack about changing aforementioned code that's used in a few places


adding new benchmark for high dimensional problem

Hello,
I have added a new benchmark based on a plasticity problem from another member of the community. This problem could potentially serve as a benchmark for the new Scipy backend canonicalization improvements.
The original problem's repository has been included in the comments of the class, and I also made sure there was a supporting license included.
However, it seems that the runtime is not showing when I run "asv run" then "asv preview" (see below), how can we change this?

I also added "docs/" to the gitignore to avoid tracking the generated doc files when running "asv publish".

Included in #20


[WIP] Improve test setup

Experimenting ways to reduce random test failures.

Here's the major issue.
Sometimes, webdriver takes so long to start the browser. In that case, we need to close it and start a new browser.
Now we start a browser with a 5000ms timeout. If that fails we re-try it. We do retries for 5 times before marking the test as a failure.

@arunoda I wonder if we can somehow use the new chromium headless mode? Should be more reliable

@rauchg I don't think that's the case. It's between the webdriver and our test code.
Anyway, I tried phantomJS didn't work pretty well with Next.(Not sure about the exact issue though)


[BUG] Page string types are coerced to be treated as numbers 测试页面字符串类型被强制按照数字处理

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the REAMDE of this repository and believe that this is not a duplicate.

Environment

Dubbo Admin version: 0.5.0
Registry center detail (type and version): zookeeper 3.5.8
Operating System version: centos7
Java version: 1.8

Steps to reproduce this issue
page bug
页面bug

The second parameter of the method is of String type. Input a pure numeric string and automatically discard the 0 in front of me.
方法的第二个参数是String类型，输入纯数字字符串，自动把我前面的0给丢弃了
类似的bug还有把我long类型数字（已经是字符串接收了）精度丢失了

Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!

#328
发现这是2019年就有的bug


[BUG] Unable to launch webapi (too many errors)

Checks

[x] I confirm that I have searched existing issues and couldn't find a similar bug.
[x] I have read the documentation carefully and it couldn't resolved my problem.

Describe the bug
Unable to launch webapi
To Reproduce
D:\AI\SydneyQt (v2)>go run ./webapi
# runtime/internal/sys
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:9:7: len8tab redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:76:7: other declaration of len8tab
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:32:6: Len64 redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:99:6: other declaration of Len64
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:50:7: m0 redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:117:7: other declaration of m0
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:51:7: m1 redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:118:7: other declaration of m1
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:52:7: m2 redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:119:7: other declaration of m2
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:55:6: OnesCount64 redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:122:6: other declaration of OnesCount64
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:86:6: LeadingZeros64 redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:153:6: other declaration of LeadingZeros64
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:89:6: LeadingZeros8 redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:156:6: other declaration of LeadingZeros8
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:92:6: Len8 redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:159:6: other declaration of Len8
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:101:6: Prefetch redeclared in this block
        D:\Dev\Go\src\runtime\internal\sys\intrinsics.go:200:6: other declaration of Prefetch
D:\Dev\Go\src\runtime\internal\sys\intrinsics_common.go:101:6: too many errors

Desktop (please complete the following information):

OS and Version: Windows 10
SydneyQt Version: v2.3
go version go1.21.6 windows/amd64

See https://stackoverflow.com/questions/62330084/fail-to-build-with-code-go-redeclared-in-this-block

Reinstalling golang haven't helped.
But after this all is ok:
go mod tidy


Error calling service dahua/vto_open_door: Bad request 400

Version of the custom_component

0.5.0 from latest release
Configuration
I'm using an VTO2202F-P-S2, that's my configuration:

HA integration is added through GUI.
configuration.yaml:
button:
  - platform: mqtt
    unique_id: dahua_vto_open_door_btn
    name: "Haustür öffnen"
    command_topic: "DahuaVTO/ha/door/open"
    payload_press: "1"
    qos: 0
    retain: false

Describe the bug
It's about the button to open the door (dahua_vto_open_door_btn aka Haustür öffnen). Clicking this button sometimes (and sometimes not, I can't see any pattern) throws this error. The service is still called and the door is opened, but HA throws this error. Sometimes there's a voice feedback from the VTO, sometimes not. Sometimes the voice feedback is repeated multiple times (by now three times maximum). It's a very weird behavior.
I'd really like to give you a more precise description but I really can't see any pattern for this behavior.
I already reduced the "recognition time" in the VTO configuration (from default 15 seconds to 1 second) but still no change.
Debug log

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/dahua/client.py:657
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:20:12 (1 occurrences)
Last logged: 12:20:12

[2971219472] 400, message='Bad Request', url=URL('http://<IP_ADDRESS>:80/cgi-bin/accessControl.cgi?action=openDoor&UserID=101&Type=Remote&channel=1')
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 691, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 663, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 896, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 700, in _handle_entity_call
    await result
  File "/config/custom_components/dahua/camera.py", line 325, in async_vto_open_door
    await self._coordinator.client.async_access_control_open_door(door_id)
  File "/config/custom_components/dahua/client.py", line 525, in async_access_control_open_door
    return await self.get(url)
  File "/config/custom_components/dahua/client.py", line 671, in get
    raise exception
  File "/config/custom_components/dahua/client.py", line 657, in get
    response.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('http://<IP_ADDRESS>:80/cgi-bin/accessControl.cgi?action=openDoor&UserID=101&Type=Remote&channel=1')

I have this also

Same here with a VTO2101E-P-S1

Same issue, any news ?

Hi @rroller, did you solve this problem?

Hi think I found the issue. The GET request should not contain the UserId parameter.
@rroller Any chance you can change it in client.py?
Do you prefer a PR?

+1

+1
Same with VTO2202

Hi, can confirm same issue on a DHI-VTO2201F-P Firmware: 4.500.0000001.0.R,build:2021-07-13.
@rroller thank you very much for the great work, form me the integration works great apart this, since this issue has been opened long time ago, is there any chance that will be fixed?
As soon as possible I will try the suggested solution provide by @Suxsem and let you know

After some experiment, unfortunately the work around suggested by @Suxsem didn't work, anyway I have additional info.
The VTO manage two contacts , one for cars and one for pedestrians.
When I call the service with DoorID = 1, the first gate opens, but 404 is raised.
When I call the service with DoorID = 2, the second gate opens and no error is raised.

+1

+1 any updates regarding this issue?

I have the same issue, any news about this?


dracut: implement diskless-zram

rootfstype=zram will give you ext4 backed by zram on /, with the size set to the size of memory.

cc @marineam @vcaputo

What does performance look like between this and in-memory btrfs?

Looks fine to me, and neat

one benefit of this over rootfstype=btrfs w/ lzo is that it will support selinux.

The more apt comparison is between this and tmpfs, why is ext4 in ram better than tmpfs?

Note: it is possible to use a zram device as swap, also it is possible to do so at any time so that can be done in the normal system. Would doing that allow unused data in tmpfs to be compressed? I don't recall if tmpfs will swap or not since it is backed by the page cache and normally it doesn't make sense to swap the page cache. Memory is fuzzy...


BinanceApiException: API-key format invalid.

Hi there, I have been using this library for a couple of months now. Recently, although I'm not sure when (probably a couple of weeks ago), I've been unable to authenticate using the normal method of:
BinanceApiClientFactory.newInstance("API KEY", "SECRET KEY");

I get this error:
Exception in thread "main" com.binance.api.client.exception.BinanceApiException: API-key format invalid.
    at com.binance.api.client.impl.BinanceApiServiceGenerator.executeSync(BinanceApiServiceGenerator.java:57)
    at com.binance.api.client.impl.BinanceApiRestClientImpl.startUserDataStream(BinanceApiRestClientImpl.java:213)

Aside from pulling in this repo's changes, I had not changed anything remotely related to these classes whatsoever. I have also checked on Binance that my API key was still valid; it was. I generated a new api key anyways and that didn't help. I am completely stuck and would appreciate some help. Thanks!
EDIT: I have done 'mvn clean install' and that didn't help. The normal unauthenticated factory instance still works, I just can't get any user data from that.

Hi @FuG , please double-check the values you are copying from Binance for the API-key, and make sure that pair is active.

Hi,
I'm facing exactly the same issue. I double checked key and secret and I also checked that the key is active. Any ideas on how to solve this issue?

I have the same issue. I anyone tell me how to fix it ?

Hi,
my problem was that I was connecting with the same key multiple times in parallel.
Did you check that keys are correct and you don't have any IP restrictions?

Hello, yes problem was parallel connection, if you open on webpage or mobile with same account it gives error.

same issue: binance.exceptions.BinanceAPIException: APIError(code=-2014): API-key format invalid.
any suggestion?

I don't know if thats what happend to those guys but i ran into the same problem and its was just a rookie mistake lol
I had created an enum class to hold my keys and then when I was instantiating the client I was doing
Credentials.API_KEY.toString()
But I didn't had override toString method...
I doubt that was the problem to them, but I hope its helps some noob dev like me haha

how was solved??????

Most likely API_KEY or SECRET_KEY are wrong or have the wrong format. I had the same problem because the keys were stored as environmental variables in the .env file with quotes
API_KEY="xxxxxxxxxxxxxxxx"

and after removing quotes, it worked.
API_KEY=xxxxxxxxxxxxxxxx


Present finder topic links to publishing-api

These are defined in a few of the json files but not actually used
anywhere.  Apparently, the topic tagging was once managed by
panopticon (94d6879), but panopticon hasn't been around for quite a
while now...

https://govuk.zendesk.com/agent/tickets/3778731

Actually it turns out we want a parent link for this after all


[core] Fix docs:api script for Windows OS

[x] I have followed (at least) the PR section of the contributing guide.

docs:api script is throwing error on Windows OS. We need to support backslash (\) as well.
Error was:
Error: cannot find package name from path: X:\material-ui\packages\mui-lab\src

This regex will match either forward slash or backslash supporting macOS, Linux and Windows.
Noticed this while generating docs in #30515 (CI for it)

#30583 still needs some polish, so I'm going to merge this fix in to enable development on Windows (cc @siriwatknp).


cuda-version>12 tries to pull cudatoolkit>12

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
I am trying to install CUDA 12 in an environment which has cudatoolkit (11.8) installed.
In particular, I am expecting this sequence to work:
$ mamba create -n test cudatoolkit

Looking for: ['cudatoolkit']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
Transaction

  Prefix: /home/raul/miniforge3/envs/test

  Updating specs:

   - cudatoolkit

  Package          Version  Build        Channel           Size
─────────────────────────────────────────────────────────────────
  Install:
─────────────────────────────────────────────────────────────────

  + _libgcc_mutex      0.1  conda_forge  conda-forge     Cached
  + libstdcxx-ng    13.2.0  h7e041cc_3   conda-forge     Cached
  + libgomp         13.2.0  h807b86a_3   conda-forge     Cached
  + _openmp_mutex      4.5  2_gnu        conda-forge     Cached
  + libgcc-ng       13.2.0  h807b86a_3   conda-forge     Cached
  + cudatoolkit     11.8.0  h4ba93d1_12  conda-forge     Cached

  Summary:

  Install: 6 packages

  Total download: 0 B

─────────────────────────────────────────────────────────────────

Confirm changes: [Y/n] y

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: / By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html

done

To activate this environment, use

     $ mamba activate test

To deactivate an active environment, use

     $ mamba deactivate

$ mamba activate test
$ mamba install "cuda-version>12"

Looking for: ["cuda-version[version='>12']"]

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
Could not solve for environment specs
The following packages are incompatible
├─ cuda-version >12  is installable with the potential options
│  ├─ cuda-version 12.1 would require
│  │  └─ cudatoolkit 12.1|12.1.* , which can be installed;
│  └─ cuda-version 12.2 would require
│     └─ cudatoolkit 12.2|12.2.* , which can be installed;
└─ cudatoolkit is not installable because it conflicts with any installable versions previously reported.

I would expect cudatoolkit>11.8 to be a metapackage depending on, for instance, the "cuda" package. Maybe this is intended behavior?
Installed packages
N/A

Environment info
N/A

For CUDA >= 12, there's no cudatoolkit. It was the mega package (containing only runtime libraries) that we used for CUDA <= 11. The meta package that you seek is now named as cuda-toolkit.

Would recommend not explicitly installing the cudatoolkit package for the reason Leo mentioned
Instead would explicitly install the cuda-version package with the intended version and any other packages that you would like. For example
conda create -n cupy python=3.10 cuda-version=11.8 cupy -y
conda activate cupy
conda install cuda-version=12.2 -y

This way Conda understands cudatoolkit is an implicit dependency (pulled in by other packages) and won't try to include cudatoolkit to satisfy the solve
Also as cuda-version is built for all CUDA versions conda-forge had supported. It can be used across the CUDA 11/12 divide easily
Hope that helps

Thanks guys. Your commands do not work for me.
I am trying to install a package that depends on cudatoolkit in its cuda 11.8 version, for instance:
mamba create -n test cupy cuda-version=11.8

Then, when I try to update cuda-version:
$ mamba install "cuda-version>12"

Looking for: ["cuda-version[version='>12']"]

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.12.*

Could not solve for environment specs
The following packages are incompatible
├─ cuda-version >12  is installable with the potential options
│  ├─ cuda-version 12.1 would require
│  │  └─ cudatoolkit 12.1|12.1.* , which can be installed;
│  └─ cuda-version 12.2 would require
│     └─ cudatoolkit 12.2|12.2.* , which can be installed;
└─ cudatoolkit is not installable because it conflicts with any installable versions previously reported.

Actually your commands work when using conda, the culprit is mamba.

Yep had tested these with Conda. Interesting to know Mamba has a bug. Let's follow up there
Will close this out as answered. We can track the upstream issue


Provide unit tests for SimpleUrlToAppDomainConverter

🆕🐥:dog: First Timers Only
This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
:space_invader: Description of the issue
Currently we do not have any unit test for the class. Since it do not depend on any other classes tests can easily be written for the class.
📋 Step by Step

🙋 Claim this issue: Comment below.
🔄 replace the up for grabs label with in progress.
:fork_and_knife: fork the repository in github by simply clicking the 'fork' button.
:arrow_heading_down: check out the forked repository
:twisted_rightwards_arrows: create a feature branch for the issue. We do not have any naming definition for branches.
💾 Commit your changes.
🔀 Start a Pull Request.
🏁 Done 👍 Ask in comments for a review :)
🔬 If the reviewer find some missing peaces or a problem he will start a discussion with you and describe the next steps how the problem can be solved.
:boom: you did it! We will merge the fix in the master of the Dolphin Platform project.
:bouquet: Thanks, thanks, thanks for being part as an open source contributor for Dolphin Platform

🤔❓ Questions
You can join our community chat at Slack

hi, I was wondering if a new folder needs to be created for this, or you have folder you would like this to be in.

If no one has claimed this yet, I'd like to work on it.

I would like to claim it


QT threads error on 3d_ldm_tutorial.py

I'm running 3d_ldm_tutorial.py and this code:
`check_data = first(train_loader)
idx = 0
img = check_data["image"][idx, 0]
fig, axs = plt.subplots(nrows=1, ncols=3)
for ax in axs:
ax.axis("off")
ax = axs[0]
ax.imshow(img[..., img.shape[2] // 2], cmap="gray")
ax = axs[1]
ax.imshow(img[:, img.shape[1] // 2, ...], cmap="gray")
ax = axs[2]
ax.imshow(img[img.shape[0] // 2, ...], cmap="gray")`
Causes the following problem with qt:
QObject::moveToThread: Current thread (0x596fff9c53d0) is not the object's thread (0x596fffa53cd0).
Cannot move to target thread (0x596fff9c53d0)
Any idea why?  It doesn't look like it should be running on a different thread.  Only thing I can think of is that the data loader worker gets check_data owned by a different thread, but I presume this code worked for the author.

It's possible this is a Windows issue or whatever host you're running this script in, since it doesn't use Qt itself. We have this as a notebook now after porting everything into MONAI Core: https://github.com/Project-MONAI/tutorials/blob/main/generation/3d_ldm/3d_ldm_tutorial.ipynb Please try this tutorial and see if you can reproduce your issue with the current version of MONAI and not using GenerativeModels. If you have the issue still you can post a new issue on the Tutorials repo and not this one which is now going to be read-only soon.

I'm using python3.10 on Ubuntu 22 by the way.
I shall try the core version, thanks.


actually check that version is greater than 4.7

Not pretty but seems to work. This fixes #2933

Think I fixed it this time, sorry about that.
So the three columns are: major>=5, major>=4, minor>=7. If we have 0 in the first column (major <5), then we need 011, otherwise if major is greater than 5, minor can be anything, so last column can be 0 or 1. Finally, if major>=5 than major is also greater than >=4, so second column has to be 1 too. So the cases have to be 011, 110 and 111.

Ugly but convincing, thanks. BTW the exact same exists in kernel/Makefile for the DYNAMIC_ARCH case


Configuration option to enforce the use of the raw value of the Authorization header.

As documented, the connector currently processes the value set for the Authorization header as follows: it encodes it to Base64 and it prefixes it with "Basic ". The only case when this is not done is if the value is already prefixed with "Basic ".
This is convenient for Basic Authentication, as it allows writing
'gid.connector.http.source.lookup.header.Authorization' = 'username:password'

without taking care of b64 and prefixing.
However, there is currently no way to enforce the use of the raw value of the Authorization header. This is necessary for use-cases where the called API needs the header to be set for other purposes than Basic Authentication, such as API key authentication.

Hi @AdrianVasiliu I have merged your PR,
There is one more PR that I would like to take a look before releasing the new version.
There is also a  PR where we will drop 1.15 Flink support but this will have its own version.

Thanks a lot @kristoffSC . The other PR is from my colleague, we need both, so releasing both together would be just fine :-)

Released in 0.12.0.
Version is already pushed to maven central. It usually takes some time until it will be visible on connector's maven page but it should be available to download from maven already

@kristoffSC Thanks! It's available now.


Bing/Mapzen API Key in Admin Area

Known Issues, further help needed before merge.

Echoing the full config.js file, which only happens because of an
echo that’s necessary so a POST doesn’t write the config.js file as
empty.
The first submission of the API key works fine, but, on further POSTs
it does nothing.
Requires CHMOD changes for config.js for the ability to write to config.js (security concern, not sure how to get around this).

Any help on the above areas would be greatly appreciated.

Could you change the base branch to 2.5.0?
I need to move the Google API key field that I added into the section you created.
Thanks!

I changed the PR to the 2.5.0 branch. There is still some work to be had, that frankly goes above my level of understanding. I'll keep googling to try and figure out how to make this work and see if I can't figure it out, but, I am not too confident.

Just let me know what they are and I will give you a hand.


You need go to install go?

Running gvm install go1.12.6 (or any version) gets me
Installing go1.12.6...
 * Compiling...
/home/{myname}/.gvm/scripts/install: line 84: go: command not found
ERROR: Failed to compile. Check the logs at /home/{myname}/.gvm/logs/go-go1.12.6-compile.log
ERROR: Failed to use installed version

The log gives me
Building Go cmd/dist using /home/{myname}/go1.4.
ERROR: Cannot find /home/{myname}/go1.4/bin/go.

You could install it from the binary:
gvm install go1.12.5 -B

Today I used gvm install go1.14.2 -B and this work well. Because I tried to use gvm install go1.14.2 but this was taking looong time and does not finished. I want to understand why. Thanks for all!

@SamZapata It takes a long time because it tries to build a binary using the Golang sourcecode.
On the other hand, -B downloads a pre-built binary.

gvm install go1.12.5 -B does not work on Mac

It worked finnaly, I had to deal with this error https://stackoverflow.com/questions/35009531/xcrun-error-active-developer-path-applications-xcode-app-contents-developer
I used sudo xcode-select --reset

gvm install go1.12.5 -B does not work on Mac

There is solution that worked for me https://github.com/moovweb/gvm/issues/385#issuecomment-1030190550


Fix: Exclude axios module from build due to nodejs compatibility issues

thank you @axfree - this package is looking for maintainers, are you interested? if so please email me at<EMAIL_ADDRESS>


Error uploading SPFx package to app catalog (Azure DevOps Pipelines)

Hi All,
I'm having similar issue as per #3584 when execute the SPFx package to app catalog using multi-state pipeline in Azure DevOps, the account has site collection admin rights to appcatalog, any idea what went wrong?
m365 spo app add --filePath "/home/vsts/work/1/drop/sharepoint/solution/hello-world-solution.sppkg" --appCatalogScope tenant --appCatalogUrl https://siteurl/sites/appcatalog --debug
========================== Starting Command Output ===========================
/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/eb49a966-0372-4273-82c6-bc42739fba4a.sh
Executing command spo app add with options {"options":{"filePath":"/home/vsts/work/1/drop/sharepoint/solution/hello-world-solution.sppkg","appCatalogScope":"tenant","appCatalogUrl":"[https://siteurl/sites/appcatalog","debug":true,"output":"json"}}]
Error: Log in to Microsoft 365 first
##[error]Bash exited with code '1'.
Thanks in advanced.

Hi @SeeBeeDev, looks like you aren't signed in. Before executing the command m365 spo app add, you should make sure you're signed in with m365 login

Hi @Jwaegebaert , i do have a previous step on login which stated successful.

This is the YAML code i have used.

The login command here isn't working. The reason for that is because of the appcatalog url, you don't need to include it there. So you can remove https://siteurl/sites/appcatalog and that should do the trick 😄
Then the command would look like this m365 login --authType password --userName [myname<EMAIL_ADDRESS>--password ***

Thanks @Jwaegebaert , the login now working, now i got this error still with uploading to appcatalog.
Generating script.
Script contents:
m365 spo app add -filePath "/home/vsts/work/1/drop/sharepoint/solution/hello-world-solution.sppkg" --appCatalogUrl https://siteurl/sites/appcatalog --appCatalogScope tenant --overwrite --debug
========================== Starting Command Output ===========================
/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/0d2d8663-6448-4971-97f5-f04d300ee5ec.sh
Error: Unknown help mode /home/vsts/work/1/drop/sharepoint/solution/hello-world-solution.sppkg. Allowed values are options, examples, remarks, response, full
##[error]Bash exited with code '1'.
Finishing: Upload SharePoint package to Site Collection App Catalog

Great to hear that! For this command, the option filePath is missing a dash.

This should be --filePath.

Awesome. Thank you so much @Jwaegebaert it works now, i can deployed to AppCatalog. You have make my day!.

No problem @SeeBeeDev 😄

@Jwaegebaert what if i would like to do multi-stage pipeline in the same template to push to dev and pro, hence it has this variable link to appcatalog?
script: m365 login $(m365_app_catalog_site_url) --authType password --userName $(m365_user_login) --password $(m365_user_password)
displayName: Login to Microsoft 365

This depends a lot on your situation. If they are on the same tenant, you could simple change the location for the commands spo app add and spo app deploy. When it's multi-tenant, I would say, create a new task group that runs the CLI for M365 commands you defined and pass along the different variables needed for each environment.

Thanks @Jwaegebaert

Hi @Jwaegebaert , i got this MFA issue when connecting to SharePoint when connecting using the comand below. Is this relate to DevOps access or SharePoint issue?
script: m365 login --authType password --userName $(m365_user_login) --password $(m365_user_password)

That's just law of physics, @SeeBeeDev. If you have MFA enabled, there's no way around it, and you'll always be prompted when signing in as a user.
You've got two options: disable MFA on the account, or use app-only auth using a certificate (preferable) or a secret.

Thanks @waldekmastykarz


There is no error "No matching resources found" when executing "Deploy to Function APP" command without any Function App

OS: All
Build Version: 20220602.3
Repro Steps:

Make sure there is no Function App in the subscription.
F1 -> Azure Functions: Deploy to Function App.
Check whether there is an error "No matching resources found" or not.

Expect:
There is an error "No matching resources found".

Actual:
There is no error, and it keeps in empty "select a resource" option.

More Info:
This issue also reproduces when executing other commands, such as "Add New Setting/Start Streaming Logs...".

This issue also occurs for me, on a fresh install of VSCode (v1.67.2), with fresh installs of extensions on latest versions. I do not, however, get the "no matching resource found" notification.

This issue is no longer reproduce on resource group extension 20220807.1.


option error of extractor/extract

when I extract grammars with command "~/cdec/extractor/extract -c extract.ini -g dev.grammars -t 2 -z < dev.lc-tok.es-en > dev.lc-tok.es-en.sgm". The extractor abort with:
"terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::program_options::unknown_option >'
what():  unknown option -z
Aborted (core dumped)"
It works well without -z option and was fine with -z a few days before. I think I have changed nothing on the server.

Hi,
I also met the same problem. And even I deleted -z option, the extractor still aborted with:
"terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::program_options::required_option >'
what():  the option 'alignment' is required but missing
Aborted (core dumped)"
Did u now know what happened? Thx.


Show Existing Messages on LED Sign

setup to develop

python setup.py
npm install && npm run server-install

development

run frontend with npm run frontend
run mongod (either in terminal w mongod or application)
run server with npm run server
run led_sign_server.py in printingRPC
in api/config/config change the IP adress to localhost

Steps

update the sign text using the webpage
start by doing a console.log of the  status returned from the sign here
take a look at the values in the object that was printed and use it to udpate the UI

3/27
We figured out that we needed to send email and firstName over to the server.
Next steps
These are the next steps assuming you changed the response on this line from
{ ...response }

to
{
  text: response.message.getText(),
  brightness: response.message.getBrightness(),
  /* etc... */
}

The client first receives the server's response on this line. you should be able to access the object you made above with status.responseData
we store the sign values in hooks defined on these lines. the next move after recieving the servers response would be to update the hooks value like:

setText(status.responseData.text)
// etc

Finally, we gotta just render the hooks value. Look up how to set the value of an html input, and then for each of the elements in the array defined here, add a prop that will reflect the value of the hook


Status message

Make the local planner output a status message. This message is converted in mavros in a HEARTBEAT. soon there will be a PR merged on the Firmware side, which will output warnings over QGC when the avoidance system does not respond or reports timeouts

https://github.com/PX4/Firmware/pull/10933


Improvements to VS Code and Vite debug experience

Purpose
I worked with Aaron Powell (another CDA) to make various improvements to our local development experience, particularly in VS Code. These are initial changes we came up with quickly, Aaron is also going to work on launch.json improvements after this is merged.
This PR:

Adds the recommended extensions to devcontainer as well
Updates frontend launch.json configuration to use npm run dev command
Removes unneeded launch.json build configuration (not something that needs to be debugged)
Removes unneeded npm run watch (npm run dev is sufficient/better)
Fixes vite config to proxy all the necessary URLs, so that npm run watch works

Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

cd app, ./start.sh
cd app/frontend, Run npm run dev, see hot reload of changes
Run & Debug for the frontend to see same thing
In dev container, see prettier extension installed

cc @aaronpowell


Rule proposal: return-in-conditionals

Conditionals (in functions) that don't return a value or end the function are most likely causing a side-effect.
In the case when it is used to assign a value to a variable, in order to not have a complex ternary expression, should probably be moved to a separate function.
Switch cases should also return statement and should therefore not use break.
Top-level conditionals should be exempted from this rule, as they can't return values. (bikeshedding here?)
Invalid
function bar(a) {
  let res;
  if (expression) {
    res = 2;
  } else {
    res = 3;
  }
  return foo(res);
}

function switchFn(b) {
  switch(a) {
    case 1:
       doSomething();
       break;
    default:
       doSomethingElse();
       break;
  }
}

Valid
function bar(a) {
  return foo(value(a));
}

function value(a) {
  if (expression) {
    return 2;
  } else {
    return 3;
  }
}

function switchFn(b) {
  switch(a) {
    case 1:
       return doSomething();
    default:
       return doSomethingElse();
  }
}

// Top-level conditionals are okay
if (FOO) {
  foo();
} else {
  bar();
}

Maybe worth splitting the rule into two. One for if and one for switch case

+1


use go modules, add skaffold.yml & upgrade dependencies

I deploy it to minikube an it work fine :)


Custom exceptions for one()

This is PR #176, with:

flake8 errors fixed
~Exceptions passed as kwargs~
Re-worked docstring, with a mention of alternatives for situations in which discarding the items isn't desirable

Looks good to me!  Thanks again for improving on my PR!


P5 Team 2 Milestone Retrospection

What went well in Milestone ONE?
What could be improved?
Team dynamics, team management, task allocation and management, etc.
What will we commit to improve in the next milestone?

Each improvement (bullet points 2 and 3) should be filed as an item in your team’s
project board and assigned someone to own the item. These items’ owners must
ensure improvements are implemented in the subsequent milestones.

Task allocation and completing the tasks before deadlines so that it can be discussed and checked thoroughly before submission.
More communication and discussion on tasks to be done by team members.

Everyone did what they were supposed to do without much issues.
Task allocation
Task allocation

Everybody contributed in all different part of M1.
Both team dynamics and team management need to be improved such as more interaction between us, have a weekly team goal.
More interaction between us, assigned work to each of us.

Everyone did their part to contribute to the project in Milestone one.
Task allocation can be improved by having discussion within the team so to ensure that everyone knows what needs to be done and when it needs to be completed by.
More discussion among the team by having regular team meetings.

Everyone completed their assigned portions.
Earlier task allocation, and have someone push us to complete our work, as well as to check what is left every 3 days.
Have more meetings, especially online to discuss and doublecheck each other's portions.


Made GroupFilter optional in  parquet'sRecordReader and added method to set it.

This is more expressive since filtering is optional.
Backward incompatible changes
The function RecordReader::try_new now expects Option<GroupFilter> instead of GroupFilter. If you were not using filtering, migrate to this by passing None. If you were filtering, pass Some(...) instead.

Could we also expose RecordReader.metadata so it can be used to build the row group filter?

done 👍

This has been released under v0.5.0, @houqp

I am using git commit in my local arrow2 migration branch at the moment, but good to know we could release at a much faster cadence :D


Change Bintray deployment settings

Summary
Deployment should now point to the original Binary repo maintained by
the Mobile Innovation Lab

Codecov Report

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

@@         Coverage Diff          @@
##           master   #39   +/-   ##
====================================
  Coverage       0%    0%
====================================
  Files           1     1
  Lines         146   146
  Branches       11    11
====================================
  Misses        146   146

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 1102032...bba22c5. Read the comment docs.


Advanced Pagination needed.>!

I have two proposals:
1 - a pagintate amount to be specified at the registery level, example: @register_model_chooser(per_page=30)
and pass that value to the ( https://github.com/neon-jungle/wagtailmodelchooser/blob/53144dd07838195085279e8a81d3651276c640f4/wagtailmodelchooser/views.py#L70 )
2- A paginate per site, imagin a multi-site project that has a model inherited from BaseSettings (which has site attribute), paginator in the proposal (1) could be affected by the filtering (in template filtering is tested by if statement, checking the requested site_id and the instance site_id in the modal), in a way that the actual shown number of instances are based on the id numbers of all instance in the DB.. but if you implement  a paginate per_site as a boolean argument in the proposal (1), would probably solve this issue.
I am not aware of how to implement any of the two proposals above, but you may be able to properly implement both or at least first one

It's a nice idea, I'm not sure how useful it is? Open to a PR for the functionality, it could be a setting


build: Drop the build part from the SemVer to get rid of the "+"

Docker tags do not support "+" as part of their name 1, so turn e.g. "3.0.1-SNAPSHOT+003.sha.cc0865e" into "3.0.1-003.sha.cc0865e" by using the build part as the pre-release part. SemVer sorting rules 2 are still so that 3.0.1-003.sha.cc0865e < 3.0.1.

FYI @heliocastro.

@sschuberth So now the version will be something like this ?
3.0.1-SNAPSHOT.sha.47ff305


ceate json-graphql-server ready output from console

id fields, xxx_id relations

categorys need a many to many relationship

decided to just fill data items with cat names and categories with data item names. We do not need to browse categories, so it should be sufficient.
If not: CategoryItem Type as link {id, name, category_id, advantage_id,....}


tailwind doesn't with npm run build

Hi,
When I try to  launch : npm run build, it does't work. Could you help me ?
<EMAIL_ADDRESS>build /Users/ted/Documents/Dweb/HTML : CSS/Projets/OnePage
> npm tailwind build src/css/tailwind.css -o dist/css/tailwind.css

Usage: npm <command>

where <command> is one of:
    access, adduser, audit, bin, bugs, c, cache, ci, cit,
    clean-install, clean-install-test, completion, config,
    create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
    edit, explore, get, help, help-search, hook, i, init,
    install, install-ci-test, install-test, it, link, list, ln,
    login, logout, ls, org, outdated, owner, pack, ping, prefix,
    profile, prune, publish, rb, rebuild, repo, restart, root,
    run, run-script, s, se, search, set, shrinkwrap, star,
    stars, start, stop, t, team, test, token, tst, un,
    uninstall, unpublish, unstar, up, update, v, version, view,
    whoami

npm <command> -h  quick help on <command>
npm -l            display full usage info
npm help <term>   search for help on <term>
npm help npm      involved overview

Specify configs in the ini-formatted file:
    /Users/ted/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

<EMAIL_ADDRESS>/usr/local/lib/node_modules/npm

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `npm tailwind build src/css/tailwind.css -o dist/css/tailwind.css`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

It's my package.json
{
"name": "OnePage",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "npm tailwind build src/css/tailwind.css -o dist/css/tailwind.css"
},
"devDependencies": {
"eslint": "^5.16.0",
"purgecss": "^1.3.0",
"tailwindcss": "^1.0.4"
}
}

You don't need npm in the actual build script, change it to this and it should work unless I'm missing something! 👍🏻
"scripts": {
  "build": "tailwind build src/css/tailwind.css -o dist/css/tailwind.css"
},

It doesn't work. It's still same error messages on my Terminal

Can you create a GitHub repo that reproduces the issue? Will be easier to troubleshoot if I can pull it down.

To be clear you should be running npm run build on the command line, and your scripts should look like this:
"scripts": {
  "build": "tailwind build src/css/tailwind.css -o dist/css/tailwind.css"
},

I'm new on GitHub, How can I create a GitHib repo ?

Here the instructions I found by doing a quick Google search for "how to create a github repo":
https://help.github.com/en/articles/create-a-repo

otherwise, There is something strange with my package.json. When I write something in my computer ask me a password to save this json file.
I'm the only user of my computor and I'm in adminstrator accompt. This could be a clue ?

What operating system? If it's Windows I don't really have any experience there but if it's macOS maybe the permissions are incorrect on the files in the project.
Either way I think the biggest piece of the problem is that npm tailwind is an invalid command, so the script needs to change to just tailwind ....
Can you paste the entire terminal output that you see when running npm run build and paste your updated package.json?

Mac OS MOJAVE.
><EMAIL_ADDRESS>build /Users/ted/Documents/Dweb/HTML : CSS/Projets/OnePage
> tailwind build src/css/tailwind.css -o dist/css/tailwind.css

sh: tailwind: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>build: `tailwind build src/css/tailwind.css -o dist/css/tailwind.css`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/ted/.npm/_logs/2019-06-15T17_09_17_970Z-debug.log

It's the entire paste when I run : npm run build

Do you need the debug.log ?

This is my debug log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/ted/Documents/Dweb/HTML : CSS/Projets/OnePage/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /Users/ted/Documents/Dweb/HTML : CSS/Projets/OnePage
10 silly lifecycle<EMAIL_ADDRESS>Args: [
10 silly lifecycle   '-c',
10 silly lifecycle   'tailwind build src/css/tailwind.css -o dist/css/tailwind.css'
10 silly lifecycle ]
11 info lifecycle<EMAIL_ADDRESS>Failed to exec build script
12 verbose stack Error<EMAIL_ADDRESS>build: `tailwind build src/css/tailwind.css -o dist/css/tailwind.css`
12 verbose stack spawn ENOENT
12 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack     at ChildProcess.emit (events.js:200:13)
12 verbose stack     at maybeClose (internal/child_process.js:1021:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
13 verbose pkgid<EMAIL_ADDRESS>14 verbose cwd /Users/ted/Documents/Dweb/HTML : CSS/Projets/OnePage
15 verbose Darwin 18.6.0
16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
17 verbose node v12.4.0
18 verbose npm  v6.9.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error<EMAIL_ADDRESS>build: `tailwind build src/css/tailwind.css -o dist/css/tailwind.css`
23 error spawn ENOENT
24 error Failed at the<EMAIL_ADDRESS>build script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]

I restored my OS system. Now, it works parfaitly.
Thanks Adam for your Help.


Suggestions and thank you !

Hi Maximbaz,
Above all I would like to thank you for this great tool !
I have some suggestions if you would like to make this project more popular. I was thinking about why people don't use secure boot while it's available in every machine sold nowadays. And came to the conclusion that most people are just afraid when they hear "private keys", "public keys" or encryption in general :)
But your tool is good enough to remove thinking about those "scary" things from people minds.
So my proposals are:

Improve documentation. It just does not provide enough information how this tool works. While at the same time you wrote a great post with all of the details. So please attach this information to the readme --> https://github.com/Antynea/grub-btrfs/issues/92#issuecomment-705640920

Not everobody uses snapper. Personally I have very bad experience with it. So make the tool conditional - with or without snapper.

And getting to the problem that I have personally. I know you might have no idea why it is happening to me but, hey - it's worth asking. When I enter my Lenovo IdeaPad uefi I just don't see any other entries except of linux-secure-boot. And I have no way to choose anything else while at the same time all the images on /efi are created and in place:
root@i5 ~# ll /efi/EFI/arch/
total 107M
-rwxr-xr-x 1 root root 1008K Jul 30 19:50 secure-boot-linux-efi-shell.efi
-rwxr-xr-x 1 root root   39M Jul 30 19:50 secure-boot-linux-recovery-lts.efi
-rwxr-xr-x 1 root root   44M Jul 30 19:50 secure-boot-linux-recovery.efi
-rwxr-xr-x 1 root root   23M Jul 30 19:50 secure-boot-linux.efi
Big thanks for you work once again !
Any ideas ?

Thanks for the kind words @as400l 🙂

Definitely a good point about documentation!
Makes sense. So far I tried to keep the code as small as possible, as one of my goals in switching from grub/systemd-boot/sbupdate/etc was to have just as little code as possible - less code, less bugs, less security issues 😄 But you have a good point too, too opinionated tool would slow spreading good habits to more people. In the meantime, in your particular case I suppose you can just drop zzz-arch-secure-boot-generate-snapshots.hook hook that generates snapper snapshots.

As to your issue, let me just say that it's very likely that Lenovo's UEFI implementation is buggy and there will be nothing you can do - I personally observed this on Dell laptops, and that was why for recovery I bundled a tested UEFI shell implementation.
But try to experiment, I'd start with efibootmgr tool - run $ efibootmgr -v, see that it outputs correct entries, try to swap them and confirm that Lenovo only shows one. Maybe you can also edit UEFI entries from Lenovo UEFI setup (I mean the thing before OS boots), maybe if you edit the list there, two entries will appear? And if yes, if you somehow find a fix, compare the output of efibootmgr -v before and after your fix, will there be any difference, that we could maybe incorporate in this tool?

Thanks for suggestions. Unfotunately I had to add additional boot entries from cmdline to be able to choose them from UEFI setup.
$ efibootmgr -d /dev/nvme0n1p1  -p 1 -c -l "\EFI\arch\secure-boot-linux-recovery.efi" -L "secure-boot-linux-recovery"
Now I wonder how are you booting into the snapshots ? What's exactly in recovery.nsh (yes I have it but started wondering if it's generated properly) and how does snapshots.txt look like (just id,date,description) ?
Asking because if I try to boot them it's just not passing the proper cmdline to kernel.

Great catch, thanks!
As for the boot entries, I have just remembered why recovery entries are not automatically added by the script: because they don't have embedded cmdline.
With secure boot, you generally try to limit what a user can do during boot, and then you sign your decision with keypair, like confirming "yep, I approve of these actions".
If your cmdline is not embedded in the .efi image, you can modify it during boot, which is useful for recovery purposes (if e.g. embedded cmdline contains a typo, or if you intentionally want a different cmdline in order to boot into a btrfs snapshot). But an attacker could also place some malicious code in \EFI (which remember, is not encrypted), and then use the .efi image without cmdline to effectively load it, or even to load in a very old snapshot which might have an old kernel with known vulnerability.
So that's why the script only adds to the efibootmgr the image with embedded cmdline. At least on my laptop, in order to boot into a different .efi file, I must enter BIOS password, so in theory an attacker must know the BIOS password to do some harm.
This is definitely not a fail-proof approach btw, for example I was able to find a master-password for the BIOS of my previous laptop online.... So just keep that in mind while planning your threat model 🙂

You certainly have made some good points. Unfortunately if I don't add boot entries in my Lenovo UEFI I just can't choose them from UEFI setup.
In the meantime I have come up with a simple solution for those that don't use snapper. And they are managing snapshots themselves. Here is what I've done.

Removed dependency on snapper and snap-pac from PKGBUILD.
Edit /etc/arch-secure-boot/config and add your snapshots dir (in my case just /snapshots):

SUBVOLUME_SNAPSHOT="${SUBVOLUME_SNAPSHOT:-snapshots/%1}"

Removed pacman hook zzz-arch-secure-boot-generate-snapshots.hook.
Added one section into /usr/bin/arch-secure-boot to automate generating snaphots.txt in /efi:

generate-snapshots-file)
SNAP_PATH=echo $SUBVOLUME_SNAPSHOT | tr -d "%1"
ls --full-time /$SNAP_PATH | awk '{print $9,$6}' > "$ESP/snapshots.txt"
;;

Added two systemd units to monitor snapshots directory and create new /efi/snapshots.txt everytime new snapshot is created.

/etc/systemd/system/arch-secure-boot-snap.path:
[Unit]
Description=New snapshots monitoring
DefaultDependencies=no
Requires=snapshots.mount
After=snapshots.mount
BindsTo=snapshots.mount
[Path]
PathModified=/snapshots
[Install]
WantedBy=snapshots.mount
/etc/systemd/system/arch-secure-boot-snap.service:
[Unit]
Description=Create new snapshots.txt file when new snapshot is created
[Service]
Type=oneshot
Environment="PATH=/sbin:/bin:/usr/sbin:/usr/bin"
ExecStart=bash -c '/usr/bin/arch-secure-boot generate-snapshots-file'

Hijacking this issue to thank you as well, this is amazing work ! This is by far the best secure boot setup I've came across.
I hope it lands in community repo one day. Probably not do-one-thing-but-do-it-well enough to reach community repo because of the snapper thing, but I still find it very convenient and it definitely makes sense to me to handle that here.

Thanks for your awesome package!

Bootloaders (such as GRUB or systemd-boot) are intentionally not supported, as they significantly increase the amount of code that runs during boot, therefore increasing the attack surface.

But I have installed GRUB as bootloader, can I use arch-secure-boot with GRUB?

You can have GRUB and arch-secure-boot side-by-side, if your goal is to try out several things to pick what works best. In UEFI settings you can choose which efi file you want your laptop to boot, and that would either be GRUB or arch-secure-boot. But arch-secure-boot doesn't use GRUB in any way, it just skips this step entirely, you get booted directly in your kernel.

After a shamefully long time I have finally gotten around to address the first point of this thread, namely to add some more information to README (motivation and how it works). Thus closing the ticket, but as always if anyone has any feedback or questions, do feel free to continue this thread or open a new issue.

Very nice additions to the documentation, thanks a lot !
About:

In addition, because there is less steps in the process, and especially because you aren't decrypting your disk twice (like it is the
case with GRUB), the boot is so much faster!

I don't know if it's worth mentioning but I believe one of the reasons it is so much faster is because we boot into a Linux kernel which has support for all the hardware accelerated features (such as AES-NI and probably others I'm unaware of), resulting in a much faster decryption process than GRUB. I believe it's the main reason why it's faster, but I'm not sure.

Oh that's interesting! Could you tell or speculate a bit more, why do you think booting into GRUB doesn't have access to the same accelerated features?


Can't manage to install on M1 Mac

I followed the brew instructions and got the following
sga-guard <hostname>

doesn't produce any output
Not sure what this one is, but they produce segmentation faults
> sga-guard-bin <hostname>
[1]    62556 segmentation fault  sga-guard-bin <hostname>
> sga-ssh <hostname>
[1]    62609 segmentation fault  sga-ssh <hostname>

I tried downloading go so I could install from source, but could not figure that out.
> go get github.com/StanfordSNR/guardian-agent/...
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

> go install github.com/StanfordSNR/guardian-agent@latest
go: finding module for package github.com/hashicorp/yamux
go: finding module for package golang.org/x/crypto/ssh/terminal
go: finding module for package golang.org/x/sys/unix
go: finding module for package golang.org/x/crypto/ssh/agent
go: finding module for package github.com/sternhenri/interact
go: finding module for package golang.org/x/crypto/ssh
go: finding module for package github.com/howeyc/gopass
go: finding module for package golang.org/x/crypto/ssh/knownhosts
go: found github.com/hashicorp/yamux in github.com/hashicorp/yamux v0.1.1
go: found github.com/howeyc/gopass in github.com/howeyc/gopass v0.0.0-20210920133722-c8aef6fb66ef
go: found github.com/sternhenri/interact in github.com/sternhenri/interact v0.0.0-20170607043113-dfeb9ef20304
go: found golang.org/x/crypto/ssh in golang.org/x/crypto v0.5.0
go: found golang.org/x/crypto/ssh/agent in golang.org/x/crypto v0.5.0
go: found golang.org/x/crypto/ssh/knownhosts in golang.org/x/crypto v0.5.0
go: found golang.org/x/crypto/ssh/terminal in golang.org/x/crypto v0.5.0
go: found golang.org/x/sys/unix in golang.org/x/sys v0.4.0
package github.com/StanfordSNR/guardian-agent is not a main package

I am also having this problem

+1

This is on Linux (Arch) as well. I am not familiar with go, updated build instructions are needed.

I got a little further by banging rocks (and doing this: go mod init sga ; go mod tidy ; go mod vendor ; go build)
# sga
./agent.go:54:108: undefined: ssh.Filter
./agent.go:66:33: undefined: knownhosts.OrderHostKeyAlgs
./agent.go:70:20: undefined: ssh.NewProxyConn
./agent.go:141:16: undefined: ssh.NewFilter
./delegated_client.go:608:4: unknown field KexCallback in struct literal of type ssh.Config
./delegated_client.go:611:3: unknown field DeferHostKeyVerification in struct literal of type ssh.ClientConfig
./delegated_client.go:629:44: undefined: ssh.NoMoreSessionRequestName
./delegated_client.go:631:50: undefined: ssh.NoMoreSessionRequestName
./delegated_client.go:634:51: undefined: ssh.NoMoreSessionRequestName
./delegated_client.go:652:14: c.sshClient.RequestKeyChange undefined (type *ssh.Client has no field or method RequestKeyChange)
./delegated_client.go:652:14: too many errors

So, a standard library was forked for some reason. I'm not really sure why, and there's no tests. It would be challenging to update this to modern go that supports arm. I'm more interested in the underlying library to talk to mosh. It would be interesting to break that out into its own library for importing. As a gui though, it would be better suited to a gui friendly language.
https://github.com/StanfordSNR/crypto/commit/182a8be2f490f88d44c9cdd1fff78f0156c5c7b3

Doesn't work using homebrew either for intel Macs. Looking closer it looks like the team just hasn't kept up with the OS releases in general. Is this a dead project?  Looking at check ins, it looks like no movement for 3+ years.

The professor and the Mosh developer are the same person. :-) I think if somebody is willing to take this over, we're interested to hand this over. I spoke with the original developers (and somebody interested in taking this over) back on Oct. 5 and we were going to work on a transition plan, but I fear intervening events in the Middle East may have taken priority for them. :-(

I don't us mac, but I use the sga-guardian package for different architectures. There's one for aarch64-darwin.

I don't use mac, but I use the Nix sga-guardian package for different architectures on Linux and there's one for aarch64-darwin.

https://github.com/StanfordSNR/guardian-agent/issues/33#issuecomment-1122643170 works for me™
Sadly it doesn't work with Go 1.22 since they removed GO111MODULE=off support for go get but everything I tried below it works.


app CR validation and defaulting

Is your feature request related to a problem? Please describe.

With the Control Plane API, customers create app CRs directly either with kubectl or automation. They need to set a lot of fields. This is hard to get right, is frustrating for customers, and is time consuming to debug.
Describe the solution you'd like

Add admission-controller to app-operator with validating and defaulting logic for app CRs.

[x] Validation. Validate to check what needs to be checked (e.g. app-operator.giantswarm.io/version label is set, catalog has matching appcatalog CR, etc.)
[ ] Defaulting. Default what can be defaulted (e.g. what can be derived based on the namespace where app CR is created)

Currently @giantswarm/team-batman is finishing Upgrade to Helm 3 for tenant clusters https://github.com/giantswarm/roadmap/issues/30.
In the meantime, we can provide docs to guide the creation of app CRs. This could help customer and on call people to debug when something's wrong with an app CR.

Wed, 9. Sep 2020
In the meantime, we added validation to app CRs to make debugging easier. Customers can check CR status next time there is a problem. (see app-operator changelog)

Add admission-controller to app-operator with validating and defaulting logic for app CRs.

@cokiengchiara The admission controller should be outside app-operator because we run multiple operators. We'll name it app-admission-controller to align with aws-admission-controller and azure-admission-controller.
I'm planning to work on this again in https://github.com/giantswarm/giantswarm/issues/11656
in our next hackathon in October.

@cokiengchiara This is nearly done. See https://github.com/giantswarm/releases/pull/569 that requests the new versions for AWS and the docs PR https://github.com/giantswarm/docs/pull/731
I've moved to WIP in the product board. Can you check if there is anything else we need to update here?

@cokiengchiara This is nearly done. See https://github.com/giantswarm/releases/pull/569 that requests the new versions for AWS and the docs PR https://github.com/giantswarm/docs/pull/731
I've moved to WIP in the product board. Can you check if there is anything else we need to update here?

thanks @rossf7 <3 I added https://github.com/giantswarm/docs/pull/731 to In Progress. Closing this.

thanks @rossf7 <3 I added https://github.com/giantswarm/docs/pull/731 to In Progress. Closing this.


Any plan to abstract it to a nuget package?

Hi,
Not an Issue, but rather a question...
I was searching for a nuget package for integrating SCIM into an enterprise application. There is Microsoft.SystemForCrossDomainIdentityManagement package which seems older and not being maintained.
Is there any plan to create a nuget package for the SCIM that we could integrate for the enterprise application that uses Azure AD?

We are still evaluating the possibility of providing a nuget package with the latest enhancements. We will provide an update on this request when we have further feedback.

@owinoakelo do we have any update on making this available as a nugget package?


Add initial OfficeSchemaProcessor

This handles packages.xsd transformations into C#. This is from the ooxml schema project and is part of an initial effort to bring that processing into the open SDK. This is a rewrite of it, but generates the same logical code, but in a much cleaner way. A subsequent PR will push updated generated code.
@tomjebo This change will also make it much easier to support Office 2016+ with minimal code churn (I've tested it with the Office 2016 packages.xsd and the changes are simple and easy to understand).

To see the updated files, see the code in this folder: https://github.com/twsouthwick/Open-XML-SDK/tree/updated-packing-code/DocumentFormat.OpenXml/GeneratedCode/Packaging. Instead of a single packages.g.cs, this generates a file for each class for easy finding.


Support real-input FFTs and DCTs

realfft and RustDCT exist, it would be nice to use them to add support for these transformations.

This would be great to have.

Since realfft is just a wrapper of RustFFT for convenient FFTs of real-valued data, I wonder if it would be the easiest to just re-implement https://github.com/HEnquist/realfft/blob/master/src/lib.rs in Julia. This would also have the advantage that RustFFT.jl would not require building and depending on compatibility, updates, etc. of two Rust libraries.
RustDCT also uses RustFFT but it's a much larger and more complex package, it seems, so I guess there the easiest would be to actually use the Rust library.

I personally prefer adding the crate to the dependencies over
reimplementing its functionality, even if it's a thin wrapper. Build time
is not that important imo because the library is built in advance and
distributed as a JLL, and I think it's likely that the API of rustfft and
realfft will stay similar (but that's just my gut feeling).
Op do 21 sep. 2023 09:44 schreef David Widmann @.***>:

Since realfft is just a wrapper of RustFFT for convenient FFTs of
real-valued data, I wonder if it would be the easiest to just re-implement
https://github.com/HEnquist/realfft/blob/master/src/lib.rs in Julia. This
would also have the advantage that RustFFT.jl would not require building
and depending on compatibility, updates, etc. of two Rust libraries.
RustDCT also uses RustFFT but it's a much larger and more complex package,
it seems, so I guess there the easiest would be to actually use the Rust
library.
—
Reply to this email directly, view it on GitHub
https://github.com/Taaitaaiger/RustFFT.jl/issues/6#issuecomment-1729030841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOQBHH2G54BDGRYV7TVZ3F3X3PV6FANCNFSM6AAAAAA3FFMXKA
.
You are receiving this because you authored the thread.Message ID:
@.***>

It's a tradeoff, of course, but given that the wrapper is very small (https://github.com/HEnquist/realfft/blob/master/src/lib.rs contains also tests and docs) I assume it could be a reasonable alternative to implement the wrapper in Julia. It seems like a quite straightforward task with a well-defined scope; on the other hand, depending on another package/library means one has to keep up with the upstream updates and API changes and deal with the compilation process and its updates on Yggdrasil. Writing the Julia code should be more or less a one-time effort whereas wrapping realfft requires continuous maintenance.


Add option to configure Twitter card type

Hi! I needed to set the type for the Twitter card to summary_large_image but summary was hardcoded. This PR adds an option in the config to specify the type.
Closes #20

@scastiel Thanks for the PR (and sorry for taking some time to get around to it). It's much appreciated. 👍  I'll have it merged today.


Refactor of name for container of waveforms

I would like to propose a refactor of the name for the container of waveforms. Currently we have:
event.r0.tel[1].adc_samples
event.r1.tel[1].pe_samples
event.dl0.tel[1].pe_samples
event.dl1.tel[1].image
It is potentially misleading to call them "adc_samples" and "pe_samples" as these assume units that might not be the case. Therefore I would propose to rename them to "samples". This would also make the access of waveforms more consistent across data levels.
This would be a huge refactor that would presumably affect every ctapipe user's code. Therefore it should probably be delayed until we intend a huge refactor of the code. This could be the same time we remove the "tel" containers for the R0 -> DL1 containers (I presume this is an intended change once we move to single telescopes per file).

In this case should :

pe_samples.shape == (n_channels, n_pixels, n_samples) ? i.e. some kind of waveform where the max is the reconstructed p.e. charge
pe_samples.shape == (n_channels, n_pixels) ?

In case of 2. I think it is more intuitive to have them named pe_image. Or not ?

event.r0.tel[1].adc_samples --> event.r0.tel[1].samples
event.r1.tel[1].pe_samples --> event.r1.tel[1].samples
event.dl0.tel[1].pe_samples --> event.dl0.tel[1].samples
All of these are waveforms, so have shape (n_channels, n_pixels, n_samples)
The units depend on the low-level R1 calibration each camera applies on them. I'm not sure if there is a requirement to have the waveforms in p.e. at the dl0 level (they will at least be something proportional to p.e. i presume, such that the online analysis can use them)

Ok I did not get you point first.
It seems more user friendly to have the "main data" being named similarly across data levels. As the data level indicates some transformation of samples.


Add for Samsung's Pass SDK

http://developer.samsung.com/resources/pass
Maybe nobody is using it but they don't have a solution out-of-the-box. I'll try to paste it here if I find a solution...

Did you find something?
Currently I'm using
-dontwarn com.samsung.**
-keep class com.samsung.** {*;}

But I want to improve it.

Hi @StanKocken, any progress so far? I am having problem with this sdk too, keeping all its stuffs seems to work, but it doent make sense using ProGuard and keep all the things, right?

I just deleted the SDK from my app.
I lost the support for a couple of Samsung devices, but the latest one are
using the Google fingerprint API anyway.
Le lun. 1 oct. 2018 à 03:04, Lê Thái Phúc Quang<EMAIL_ADDRESS>a écrit :

Hi @StanKocken https://github.com/StanKocken, any progress so far? I am
having problem with this sdk too, keeping all its stuffs seems to work, but
it doent make sense using ProGuard and keep all the things, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/krschultz/android-proguard-snippets/issues/32#issuecomment-425808314,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACGi-90uwMN_j-jIpzVRxVt34dm-qWWsks5ugb5rgaJpZM4D9ZEg
.


Mouse click selection support?

It would be great if user can select news with mouse clicking, and then maybe just a double click to open news (as an alternative way to hit Enter).
Not sure how to accomplish this, but there are some console utilities like htop have mouse support, and is sometimes a convenient  way.
Thanks!

Mouse support added.
You can select a story by clicking on it and with ctrl+mouse-left it will open it in your web browser.
Have a nice day :smile:


Preview Pane add-on percentage feature

Description of the new feature / enhancement
Currently the preview pane's width is set by the user with their mouse. And (i presume) its value is stored as pixels, and the problem is that that is not a responsive method because if the user's screen or the explorer's window is too small, the preview pane will occupy most if not all of the screen.
My wish is that there could be a feature added that will make it so the pane's width can not only be set in pixels (using the mouse to drag) but also as a percentage eg. 50%, so that repsonsive issues will be resolved.
additionally there could be a feature that the preview pane could be located in the bottom half of the window if the window is taller than it is wide.
Scenario when this would be used?
sometimes my explorer window is too small to display the contents of a file and also to preview them, so in that scenario it would be useful to have the width (or the height if the pane is set to be on the bottom half) be displayed in percentages and not just pixels
Supporting information
In this image below the pane is too wide

The experience you are describing is owned by the File Explorer team and not the PowerToys team. Please file this in the Feedback Hub. PowerToys has built extra previewers but cannot control the size of the preview pane itself. Also File Explorer UX recently underwent a rebuild, how does this behavior work on the newly rebuilt File Explorer?
/feedbackhub


api keys

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


is it possible to call the OD Sharing Report via Graph or API or CSOM?

Hello and thank you for the report, but will it be possible to utilize the report in an automation?
Either as an admin to generate reports on behalf of users in a script (not going manually grant yourself access and go click on report, if I will be managing 100k OD accounts).
or base on this feature an automation for users to single-click in a SP list that would run a logic of find user's OD site, grant mechID access to site, generate report for user, send notification, remove mechID from site (either flow or Azure automation with powershell)

@zvoltejinylogin thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

Hello, that was a general question in the lack of documentation on your part. You provide a feature and now I would like to know how I can use that feature :) thanks anyway.


Add change ratio

Describe your suggested feature

I would like to add a feature to change aspect ratio from any aspect ratio to my desired aspect ratio for expamle change a 16:9 to 4:3 like the screenshot above.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

1.Please give login option to track anime in aniyomi itself
2.Improve UI of the app
3.It also requires to update episode regularly on extension
Bcz...in official website of 9Anime if there are 5dub episode then in
aniyomi 9Anime extension there are only like 1 or 2 dub episode
4.should fix some problem related to video playing which I will show you in
the attached video
For now that's it
On Sun, Jul 31, 2022, 9:54 AM Giovanny Martinez @.***>
wrote:

Describe your suggested feature
[image: Screenshot_20220727-113116]
https://user-images.githubusercontent.com/72238548/181311932-7c787772-6cb3-405c-bb30-d65dafc0e005.png
I would like to add a feature to change aspect ratio from any aspect ratio
to my desired aspect ratio for expamle change a 16:9 to 4:3 like the
screenshot above.
Other details
No response
Acknowledgements

I have searched the existing issues and this is a new ticket, NOT
a duplicate or related to another open or closed issue.
I have written a short but informative title.
If this is an issue with an extension, I should be opening an issue
in the extensions repository
https://github.com/jmir1/aniyomi-extensions/issues/new/choose.
I have updated the app to version <IP_ADDRESS>
https://github.com/jmir1/aniyomi/releases/latest.
I will fill out all of the requested information in this form.

—
Reply to this email directly, view it on GitHub
https://github.com/jmir1/aniyomi/issues/703, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ7YR6KBDUKHVFDXNEBQHM3VWX5YLANCNFSM55EIK5ZQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


API Parsing

Adds functionality to produce an aggregrated open api spec based on declared route handlers via the FaaS API.

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature/new-sdk@63fde73). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             feature/new-sdk     #199   +/-   ##
==================================================
  Coverage                   ?   46.01%
==================================================
  Files                      ?       42
  Lines                      ?     4753
  Branches                   ?        0
==================================================
  Hits                       ?     2187
  Misses                     ?     2430
  Partials                   ?      136

Flag
Coverage Δ

unittests
46.01% <0.00%> (?)

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

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 63fde73...0e6386f. Read the comment docs.


[Coder] Class builder in playground does not react well to double click

Clicking on adornment elements does not move the cursor anymore:

Clicking on adornment elements does not move the cursor anymore:


Is there fine-tuning for stable diffusion 1.5?

No, not yet. There is no fine-tuning example for stable diffusion. Only an inference demo notebook.


Stricter date validation

Current Date validation only checks if it is in the format YYYY-MM-DD
Added stricter date validation to make sure date is of the correct format and a valid date.
Also added more comprehensive testing for Date class

Looks good to merge!


Which model type should I use for financial price prediction?

First of all thank you for the great library!
My question is simple: I want to predict next period price with pre-computed history values.
I have over 30 rows data for each price.
Price and datas are decimal.
For example history:
Indicator1 - Indicator 2 - Indicator 3 - Price         - Trend
10,01121  - 23,56540    - 12.00001     - 12,23321   - UP
9,00001    - 3,00040    -   2.00001       - 1,23300     - DOWN
...
...
And data to predict coming like
8,11211    - 1,00020    -   0.00021       - 3,5555     - ?
I want to get TREND field.
Which model should I use? Any example will be perfect?
Regards!

@ErcinDedeoglu Thanks for using SharpLearning, I am glad you like the library.
I am no expert on financial models, so you can probably get better advice from other sources like articles from arxiv, or maybe some blog posts.
But I can give you a little advice related to using SharpLearning. Since you a only trying to predict the trend, UP or DOWN, you should probably use one of the classification learners.
Also, the problem you are looking at is a time series, so be aware of this when you validate your model. Always make sure that your training data is from a period before your test data.
If you want to use some of the build in crossvalidation methods from SharpLearning, make sure to use the TimeSeriesCrossValidation class as this will maintain the order of the data. Here is a test showing how to use it with a learner: test/example
Best regards
Mads

Closing this issue since an answer has been provided.


Add Code of Conduct

Part of https://github.com/openclarity/.github/issues/2.
Raised in https://github.com/openclarity/functionclarity/pull/160.
Reference material to consider: https://www.contributor-covenant.org/

Thanks for opening this @justaugustus, once we've got something please let us know and we can pull it into the KubeClarity/ChainClarity repos


Refactor SLURMCluster : use memory and thread kwargs, and dynamicaly create the job_script

First, there is something weird with the SLURMCluster template : only processes are used as a limit, thread number are not taken into account. Moreover, there is no memory limit given.
Secondly, SLURMCluster will need to be updated to match the PBSCluster  improvements from #10 (once it is merge): Mainly a more dynamic construct of the submit script. This should prevent some problems as noted in #7, #19 and maybe #20.

From the conversation in #20, for example in https://github.com/dask/dask-jobqueue/issues/20#issuecomment-375757041, I have some concern about the SLURM script used for submission.
Googling around, I believe we should at least use the following options:
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=<dask_processes * dask_threads>
#SBATCH --mem=<dask_memory * dask_processes>

Another solution maybe to play along with Slurm ntasks=, and tweak the dask-worker command line to only use nprocs=1.
Finaly I have some concern on using sbatch vs srun.
Do we have some Slurm users that could answer that?
cc @bw4sz, @leej3, @bocklund. @luizirber.

Also ping  @davidedelvento, @kmpaul, @jedwards4b as potentially interested user/developers.

On our system at UF, Sbatch is preferred. Srun is really on interactive nodes for short periods of time. I believe after 24 hours all jobs are wiped away. Beyond that, we have not experienced a difference in environment.

For the resources allocations, here are some useful links:

https://slurm.schedmd.com/cpu_management.html#Example4 shows that with only using ntasks, reservation may span accross several nodes, as pointed out by @bw4sz.
https://support.ceci-hpc.be/doc/_contents/QuickStart/SubmittingJobs/SlurmTutorial.html#shared-memory-example-openmp shows an example for OpenMP, which is quite close to what we want to achieve here, even if we have several processes.
see also https://slurm.schedmd.com/cpu_management.html#Example2 for how allocations are documented to work.

RE: Interactive vs. Batch Jobs
Would think that you would want to have an option to choose either one. Reason being interactive jobs can be good for a Distributed Adaptive Cluster (i.e. dynamic scaling based on demand) whereas batch jobs would be good when not using a Distributed Adaptive Cluster.


Branch name limited to 50 characters

Hi,
is there any reason to limit branch name to 50 characters?
Table build, column branch - VARCHAR(50)
Is it possible to extend column branch to at least 100 characters?

Hi,
is there any plan to solve this problem in 1.8? We have long branch name very often and in that case phpci is not able to run test.
Thank you very much.


Make max tree size configurable and throw when hit

Description
The size of repositories we consider for analysis is currently hardcoded to 100k objects and returns an empty result without any reasoning.
This PR makes it configurable and throws an exception when this is hit.
This will need changes on the GitHub side of things to accommodate this change before this can be merged and deployed.

Closes https://github.com/github-linguist/linguist/issues/6550

[x] I am adding new or changing current functionality

[x] I have added or updated the tests for the new or changed functionality.

https://photos.app.goo.gl/NsqtV7qGY4TSpLsb7

Superseded by #6806.


added auto-comment-pr-open file

closes: #486
I have added auto-comment when pr is raised

Do not need this sort of things we already have.


Update prepare-tls-1.2-in-office-365.md

Removed covid banner and implemented new timeline information

Need to align all of the TLS articles to show the corect information. Removed the covid banner and included the new (promised) timeline information.


num_ref_pcd

Hi @wsunid,
Thanks for your great work. While I was reading your code, I got confused by the argument "self.num_ref_pcd".
Coud u plz explain why you use it and why is it set to 1.
Thank you.

Hi, this is for one of the ablation experiments where we show the results of one-shot learning (probably in our supplementary). Basically the self.num_ref_pcd means the number of shots.

Thank you.


Renaming FrontendIPConfiguration

I have a scenario to rename the frontendIpConfiguration,
I tried -

Change all references to frontendIP but I get error "ErrorCode: AddingOrUpdatingNatRulesWhenNatPoolIsPresentOnLoadbalancerIsNotSupported", expected!
ErrorMesaage says - Adding or updating NAT Rules when NAT pool is present on loadbalancer  is not supported. To modify the load balancer, pass in all NAT rules unchanged or remove the
LoadBalancerInboundNatRules property from your PUT request.
So I pass all NAT rules unchanged, and I get the exception "InvalidResourceReference" because my earlier frontend configuration is referenced by InboundNatRules

Is it at all possible to rename the FrontendIpConfig for LB? If yes, please guide.

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

ID: 18af85d1-49ae-b6ba-dee9-56d5aff977b2
Version Independent ID: c14ce560-9cdd-e4af-a0d8-f8541a6c3659
Content: Multiple frontends - Azure Load Balancer
Content Source: articles/load-balancer/load-balancer-multivip-overview.md
Service: load-balancer
GitHub Login: @asudbring
Microsoft Alias: allensu

@deeksha-microsoft We are checking this and we will get back to you.

@deeksha-microsoft You will not be able re-name an existing configuration. You will need to delete the old configuration and create a new one.

@deeksha-microsoft We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Type-annotation-bdhke

Codecov Report
Patch coverage: 60.00% and project coverage change: -0.10 :warning:

Comparison is base (2d3a29a) 52.22% compared to head (0912015) 52.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #140      +/-   ##
==========================================
- Coverage   52.22%   52.12%   -0.10%
==========================================
  Files          36       36
  Lines        2700     2705       +5
==========================================
  Hits         1410     1410
- Misses       1290     1295       +5

Impacted Files
Coverage Δ

cashu/lightning/lnbits.py
14.28% <0.00%> (-1.00%)
:arrow_down:

cashu/core/b_dhke.py
93.10% <90.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.