Offline testing

This pull request re-works the whole test suite to use a mock server. Thus, the tests are able to be run without a hard dependency on any individual Active Directory server.
It also fixes a couple bugs that were shown as a result of the updates. Mainly that the default attributes were out-of-sync with what the documentation said they were. To alleviate this, I expose the defaultAttributes as a property on the ActiveDirectory function.
Further, I re-named the test suites to match their script names. This means the following commands are available for individual testing:

mocha --ui bdd --grep ^Attributes\s
mocha --ui bdd --grep ^Authentication\s
mocha --ui bdd --grep ^Network\s
mocha --ui bdd --grep ^ctor\s
mocha --ui bdd --grep ^find\s
mocha --ui bdd --grep ^findGroup\s
mocha --ui bdd --grep ^findGroups\s
mocha --ui bdd --grep ^findUser\s
mocha --ui bdd --grep ^findUsers\s
mocha --ui bdd --grep ^getGroupMembershipForGroup\s
mocha --ui bdd --grep ^getGroupMembershipForUser\s
mocha --ui bdd --grep ^getUsersForGroup\s
mocha --ui bdd --grep ^groupExists\s
mocha --ui bdd --grep ^isUserMemberOf\s
mocha --ui bdd --grep ^userExists\s

I also switched the assertion library to Chai and updated all of the test code to ES2015 syntax. So the assertmore script got removed and the the underscore library is no longer used (in the tests).

Thanks for the pull request.
Please give me some time to review the changes. A quick glance looks GREAT!

No problem. It's a lot to review.

I have updated my branch with some clarification comments and elimination of merge conflicts.


Masked area (.tour-backdrop) laggy position on scroll

v0.12.0 has chnaged the way the current step highlights the page. Previously, a div was created behind the ui to frame it. Now, there is no actual div behind the ui, instead four .tour-backdrop div panels around it to mask it off (tour-backdrop top, right, bottom, left).
The positioning of these seems a bit laggy when the page is scrolled - the mask doesn't keep up with the ui elements.
Also, is there a way to opt back in to using the previous method of having an actual div behind the elements to highlight them (.tour-step-background)? It was a good way to completely hide surrounding elements (now, some surrounding elements, such as form elements, can bleed into the white highlighted area).
Thanks

I also prefer the old way of doing things, this new one looks very laggy with the highlight.


Code Release

Hi, thanks for the great work! I am interested in your pipeline and want to follow your direction. It would be great if you could open-source your code and provide a guideline. Thank you for your attention on this issue!

Thank you for your interest in our work! Building on the research we have already made public, we are further refining our pipeline, optimizing evaluation metrics, and progressing with subsequent tasks. The current version of the code still differs from our envisioned final version. We will release the full code as soon as all tasks are completed. We hope you will continue to follow our progress!


docker volume rm -f ?

Is there a good way the cleanup volumes ?
In my current setup:
$ docker volume rm  `docker volume ls -q`
Error response from daemon: lstat /var/lib/docker/volumes/000a5d37d2dcb4fce5cf9b69fafa3a1a308f6be978e0e1ffc565a375223c1dbe/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/040fbd5b175f3b82f4a6bfe29fc4a5ed0782508c9ad6e88d76c2aed853a8e571/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/0cd3d95aa2690fc0eb72bb8b71f442d815f9e0baed6b7f186f721a816f3e1cbc/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/a9875acc759045a1aaed0c817966ba4c7d6c5887efe6d22eeba4a5e0d9399b36/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/878d0dc6873f8cec64686bc7ea13101bb59aef686b720e2902be1c8ffafb1b33/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/c24bd321057fb427bf6a7b52ca7c4bd6f0b6ad5db18a5606cc8888cadc94c66a/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/257c45d1376ccd856b65ccbeccea7fa8bc55da19750fa81928260d8434e57024/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/46d2952f294b3ffa108dcb6be8ee4c408a421a4db04f1ad46bf6323671d167e4/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/8202a6e0ef441b6d6bb8af8dee4ee24fba6f12d71805757c0bc6f3f90815f83c/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/5bdf125e7c70288ca9e61bbea088f3d9187c950eff27f4487f4e7d7979bb3a92/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/1f6f7198572e5193a8ae009f8e8efc02fa54991ad27667ff9e469b8c5ce1220c/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/1271c3c0c782e1eba62e25c8dac96aae91417f14766ab76f9ff87e451eec201f/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/ea87f77853beade3fee9a1ac4692409061ac6781e0b306013117befb550a8b11/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/af682784bca3b178192de6c3ddcb7ca7e4e3b90575458b0aabaf1f3a8b3cdbc4/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/1511bdf9fc288692c12c4c319af89388b1216e55f148124d118ce7ee0c78364e/_data: no such file or directory
Error response from daemon: Conflict: volume is in use
Error response from daemon: lstat /var/lib/docker/volumes/1698f0aef9be01493e0fe54d6fe9d64288ea014a5b69c7eeb4460620e03d8a71/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/2e418f99e13def77da031d56c83058141c0d46f1f3912ecb9a9e7f14a7522b3d/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/ec0fedb9eb2e0326446bc8538e89d1ecc3057203db5380747a6af15d6297bf60/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/500555f8aa7238acaaa3a0a521be2e580288a3273dc57e7b2892b467608dda4a/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/a6bc03944d2fcab841a6ca63233abb6272d3b8d5837ccf6df47829566a56a38b/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/8036d30470e6efed18a18c03299ecbc6c361cc896e115da4f703f9d3eb747280/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/be1779d895b567b1455048a41988c29b7fcf2b3999354724aff1e4de8f66284e/_data: no such file or directory
Error response from daemon: lstat /var/lib/docker/volumes/01048b385a7faad6da8d142d308b8fa74819906f0de4e56edf161f8b0227455a/_data: no such file or directory

I'd love to have a docker volume rm -f like we have on images.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

ping @cpuguy83

Hmm, wondering why you are seeing the stat errors.
If docker volume ls has those listed then by definition you shouldn't be getting those errors unless something was deleted from underneath.
I'll take a look.

@vieux Which docker version has docker volume command? I am using 1.8.0, it's not in here.

@pensu it will be in 1.9; you can try it by downloading a binary from https://master.dockerproject.org

Thanks @thaJeztah, will try it out! :)

@Pensu are you still seeing this issue? Can this be closed?

Yep, thanks.


scrollbar-color greyed out on chrome devtools and styles don't apply

I applied scrollbar scrollbar-thumb-P scrollbar-track-p-light in my html head but the scrollbar is still the default style.
In devtools it appears greyed out, as if the property didn't exist. Any ideas why?

Yeah, there's two things going on here:

Firefox and Chrome use two very different approaches to scrollbars - that's what prompted me to write the plugin in the first place. Firefox uses the scrollbar-width and scrollbar-color properties, while Chrome uses a collection of pseudo elements (like ::-webkit-scrollbar-thumb). The properties are getting greyed out here because Chrome doesn't recognize them (as expected).

You're not seeing any styling because your <html> element doesn't have any scrollbars. It's your <body> element that's overflowing, so it's the one that has the scrollbar. An irritating quirk in Firefox is that once you set those scrollbar properties, you can't unset them; for that reason, the utilities aren't inherited by children. You've gotta specify them exactly where you want them.


Add a config option for specifying worlds that players cannot store pearls in

Added an option into that config for blacklisting a set of worlds. The blacklisted worlds will not allow pearls to be stored in them. This will take effect every pearl decay and will automatically free any pearls held in blocks in the blacklisted worlds.

Added the fix suggested by Diet from this issue: https://github.com/DevotedMC/ExilePearl/issues/21

I don't see any issues here. Have you verified that both of these work locally?

Yep they both appeared to work locally.


eduke32: 20230926 -> 0-unstable-2024-02-17, refactor, build with voidsw

Description of changes
Changelog: https://voidpoint.io/terminx/eduke32/-/compare/8feaf6c25...8afa42e38?from_project_id=1&straight=false
This also enables VoidSW, a Shadow Warrior source port included with eduke32. Closes https://github.com/NixOS/nixpkgs/issues/217140

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 292925 run on aarch64-darwin 1

1 package built:

eduke32


Sample output does not show custom firstColumnText of --color option

The article shows how to customize the  System.CommandLine help for the --color option:
https://github.com/dotnet/docs/blob/0a19cc3681583cb80295b88cd9d5014a1d73645d/docs/standard/commandline/snippets/customize-help/csharp/Program.cs#L97-L103
After customization, the sample output includes:
https://github.com/dotnet/docs/blob/0a19cc3681583cb80295b88cd9d5014a1d73645d/docs/standard/commandline/customize-help.md?plain=1#L84-L87
This sample output shows the custom secondColumnText but not the custom firstColumnText. It should show that too, because the sample code did customize it.
Likewise in the ”Add or replace help sections” section of the article:
https://github.com/dotnet/docs/blob/0a19cc3681583cb80295b88cd9d5014a1d73645d/docs/standard/commandline/customize-help.md?plain=1#L127-L130

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

ID: 65b05a5b-736e-0c49-edff-fd736bd969cb
Version Independent ID: 7580e28c-776e-f479-54d7-adedd93f63a2
Content: How to customize help in System.CommandLine
Content Source: docs/standard/commandline/customize-help.md
Product: dotnet-fundamentals
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

Thanks for reporting that, I'm fixing it in #30293.


Mounting project-wide registry secrets as a volume causes UI to hang on Deployment view

What kind of request is this (question/bug/enhancement/feature request): Bug
Steps to reproduce (least amount of steps as possible):

Create a registry secret.

eg: foo-registry

Check "Available to all namespaces in this project"

Seems to work fine for namespace-specific registry secrets.

Add the following to a Deployment [or DaemonSet, or probably any other spec] of your choice:

spec:
  template:
    spec:
      containers:
        volumeMounts:
        - mountPath: /root/docker/
          name: foo-registry-config
      volumes:
      - name: foo-registry-config
        secret:
          defaultMode: 420
          secretName: foo-registry
          items:
          - key: .dockerconfigjson
            path: config.json

Try to view the deployment.

Result:
Infinite "page loading" overlay.
 I'm trying to set up a DaemonSet to pre-pull container images to speed up our deployments.
Environment information

Rancher version: v2.3.2
Installation option: non-HA

Cluster information

Cluster type: Custom
Machine type and specifications: VM, 8CPU, 16GB RAM
Kubernetes version:

Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea", GitTreeState:"clean", BuildDate:"2019-10-15T19:07:57Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}

Docker version:

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea
  Built:            Wed Nov 13 07:24:18 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

rancher/rancher:v2.3.5 (single node) & master-head (HA)

Reproduced in v2.3.5 & master-head
Deploy Rancher
Create cluster
Create a registry secret available to all namespaces
Create deployment
Edit deployment yaml to include:

spec:
  template:
    spec:
      containers:
        volumeMounts:
        - mountPath: /root/docker/
          name: foo-registry-config
      volumes:
      - name: foo-registry-config
        secret:
          defaultMode: 420
          secretName: foo-registry
          items:
          - key: .dockerconfigjson
            path: config.json

View deployment and UI gets stuck

rancher/rancher:master-head  926997017
UI: master-dev

Reproduced in v2.3.5 & master-head
Deploy Rancher
Create cluster
Create a registry secret available to all namespaces
Create deployment
Edit deployment yaml to include:

spec:
  template:
    spec:
      containers:
        volumeMounts:
        - mountPath: /root/docker/
          name: foo-registry-config
      volumes:
      - name: foo-registry-config
        secret:
          defaultMode: 420
          secretName: foo-registry
          items:
          - key: .dockerconfigjson
            path: config.json

View deployment and UI does not get stuck


Questions for Alzheimers_DNAm paper

Thank you for upload the code of the article “Integrated DNA methylation and gene expression profiling across multiple brain regions implicate novel genes in Alzheimer’s disease”. It really helps a lot!
However, I could not find the function “dmrPlot” in “03b_caseControl_DMR_plots.R” . Could you help me? I am looking forward to hear from you.

Hi,
Thank you for your interest. I've added "00_Alz_DNAm_methylation_functions.R" which has the dmrPlot function. This is a modification, for hg38 compatibility, of code from "00_devMeth450k_functions.R" in https://github.com/andrewejaffe/devMeth450k.
Best,
Steve


Global Javascript transition

Discussed in https://github.com/nuxt/nuxt/discussions/18834

Originally posted by BenjaminOddou February  6, 2023
As for now I didn't succeed to implement correctly nuxt transition with JS hooks in a "nuxt" way inside the app.vue component.
For now I have in my app.vue :
<script setup lang="ts">
const onBeforeLeave = (el) => {}
const onLeave = (el, done) => {}
const onEnter = (el, done) => {}
const onAfterEnter = (el) => {}
</script>

<template>
        <router-view v-slot="{ Component }">
          <Transition
            mode="out-in"
            :css="false"
            @before-leave="onBeforeLeave"
            @leave="onLeave"
            @enter="onEnter"
            @after-enter="onAfterEnter"
          >
            <component :is="Component" />
          </Transition>
        </router-view>
</template>

After testing a bit, I think the correct syntax should be this as explained in the docs for global transition but its not working. Is my syntax incorrect ?
app.vue :
<script setup lang="ts">
const onBeforeLeave = (el) => {}
const onLeave = (el, done) => {}
const onEnter = (el, done) => {}
const onAfterEnter = (el) => {}
</script>

<template>
  <div>
        <NuxtPage
          :transition="{
            mode: 'out-in',
            css: false,
            onBeforeLeave,
            onLeave,
            onEnter,
            onAfterEnter,
          }"
        />
  </div>
</template>

errors :

Hi! I think this is not an issue per-se but more a question on how to implement something. Therefore it would may be a better fit for the Community Discord at https://discord.com/invite/ps2h6QT :)

Hello @madebyfabian and thanks for the discord link. I think this might be an issue or a limitation of Nuxt as I used the syntax described in the docs. I'll will also ask some help in the discord server 😄

@BenjaminOddou yeah since you also created a discussion, maybe lets validate if this is a nuxt problem and then come back to this issue.

Yes, let's track this in the discussion for now ❤

Hey @madebyfabian, @danielroe, did you see this ? #18834

Hey @madebyfabian, @danielroe, did you see this ? #18834


Feature request: support cancellation for operations that haven't yet started

Cancellation is very important for socket programming. I know canceling an IO operation requires hardware/driver support, but if the operation haven't started yet ( ie. EAGAIN ), it should be cancelable.
Otherwise, we have to fall back to IORING_OP_POLL_ADD.

We now have IORING_OP_ASYNC_CANCEL. Great work!
Closing


bug(python): Can't pickle local object 'Vector..FixedSizeList'

LanceDB version
v0.5.3
What happened?
I tried to pickle a LanceModel object containing Vector:
from lancedb.pydantic import LanceModel, Vector
import pickle

class MyModel(LanceModel):
  vector: Vector(2)
  foo: str

model = MyModel(vector=[0.0, 0.0], foo="bar")
pickle.dumps(model)

then got an error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: Can't pickle local object 'Vector.<locals>.FixedSizeList'

Are there known steps to reproduce?
No response

with pydantic rather than pickling the object, you can save the json instead.
model.model_dump_json() => gives you a json string representation of the model instance
MyModel.model_validate_json() gives you an instance from the json str
e.g.,
In [11]: MyModel.model_validate_json(model.model_dump_json())
Out[11]: MyModel(vector=FixedSizeList(dim=2), foo='bar')

Thanks. I will use model_dump_json() instead of pickle.


Hint always referenced, error message never

Issue description
There are 2 related issues in the following Form components: TextInput, TextArea and FormGroup (which automatically fixes DateInput, Radios and Checkboxes). These components seem to have 2 accessibility and validation issues which are:

Hint is always referenced by ID in aria-describedby in these components, even when hint is not set. This causes ARIA issues and should be avoided by only referencing hint by id when it exists.
When the form controls are in error state and an error message is show, GOVUK components switch the aria-describedby value to reference the error message by ID, so assistive technology can inform the user on focus that there is an error. The above components don't this this.

Corresponding PR
I raised a PR (https://github.com/daniel-ac-martin/NotGovUK/pull/655) that solves both problems.
Screenshots
Screenshot 1 - Error message is shown, but component doesn't reference it in aria-describedby

Screenshot 2 - non-existent hint is referenced by ID:

Hi @robpataki.
Thanks for raising this. It looks like the first issue is limited to the components that are using FormGroup, but yes I agree.
Thanks also for taking the time to raise a PR, I'll respond there.

Awesome, thanks @daniel-ac-martin . I'll leave you to it and will pick up when you're done with feeding back.

This has been fixed and will be in the next release (after v0.5.9).


SageMaker client's FIPS endpoint incorrect in us-gov-west-1

Describe the bug
The Boto3 SageMaker client's endpoint does not match the expected endpoint when setting AWS_USE_FIPS_ENDPOINT=true and AWS_DEFAULT_REGION=us-gov-west-1
Expected Behavior
I expect the endpoint url to match the documented FIPS endpoint
Current Behavior
the endpoint url did not match the documentation:
https://api-fips.sagemaker.us-gov-west-1.amazonaws.com
Reproduction Steps
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>import boto3, os
os.environ["AWS_USE_FIPS_ENDPOINT"]="true"
os.environ["AWS_DEFAULT_REGION"]="us-gov-west-1"
c = boto3.client("sagemaker")
print(c.meta._endpoint_url)

outputs the following:
https://api-fips.sagemaker.us-gov-west-1.amazonaws.com

Possible Solution
I have found an instance of the incorrect url https://github.com/boto/botocore/blob/develop/botocore/data/endpoints.json#L21706
Additional Information/Context
No response
SDK version used
1.33.1
Environment details (OS name and version, etc.)
<EMAIL_ADDRESS>

Hi @ben-kaiser, thanks for reaching out.  I was able to reproduce this issue.  I've reached out to the SageMaker service about this behavior.  In the meantime, as this is a service team issue, I've created a tracking issue in our cross-SDK repository (https://github.com/aws/aws-sdk/issues/680).  Please refer to this issue for any updates.  Thanks!


STORM-1152 Change map keySet iteration to entrySet iteration for effi…

keySet to entrySet iteration changes along with other minor comments and code cleanup.

+1 LGTM. A few pinpoints only related with readability of the code that are left to the discretion of the implementer.

+1

+1


Add State Attorney General Opinion Scrapers

Two top level tasks here:

[x] Trawl the internet and find all the available sources.

[x] Make the scrapers.

I'll develop a list below of all scrapers we want to build.

Maybe this should be a living ticket where we update the list of new scrapers to add.  If so, maybe we could rename this issue, or create a new issue to handle the living list.  Do you think we should create separate child issues for each new scraper we want to add, so we can close those when done?  It would be helpful when adding to our living list to indicate:

Resource URL
Desired module name for new scraper (juriscraper.opinions.whatever.new_scraper_name)
Link to child issue for this specific new scraper, if you think child issues is something you want

Maybe it could be a 3 column table that we add new desired scrapers to with the info above.  If this sounds reasonable, could you update this issue (or create new issue for living list) to include this new format/info for your Maryland example above? And if we want this to be a living issue with links to sub issues, could you also add the new scrapers from #167 to the list here with the pertinent 1-3 info mentioned above?

I like the idea of having one ticket per court, but obviously I occasionally make bigger tickets like this one. We've also used the github wiki in the past for this purpose (I think there's still a page with a gazillion court links).
Dunno. I'd say let's keep this one focused on State AG. Closing tickets is nice, and keeping them short is nice too.
So, in that vein, here's the info we need:

State
Link
Module Name

Alabama
http://www.ago.state.al.us/Opinions.aspx
alaag

Alaska
http://www.law.state.ak.us/doclibrary/opinions-index/opinions_chron.html
arkag

Arizona
https://www.azag.gov/ag-opinions
azag

Arkansas
http://www.arkansasag.gov/opinions/index.php
arizag

California
https://oag.ca.gov/opinions
calag

Colorado
https://coag.gov/resources/formal-ag-opinions
coloag

Connecticut
http://www.ct.gov/ag/cwp/browse.asp?a=1770
connag

Delaware
http://opinions.attorneygeneral.delaware.gov/
delag

D.C.
https://oag.dc.gov/page/oagcorporation-counsel-opinions
dcag

Florida
http://myfloridalegal.com/opinions
flaag

Georgia
http://law.ga.gov/opinions
gaag

Guam
http://www.guamag.org/ (but down at present)
guamag

Hawaii
http://ag.hawaii.gov/publications/opinions/
haag

Idaho
http://www.ag.idaho.gov/publications/op-guide-cert_index.html
idahoag

Illinios
http://www.ag.state.il.us/opinions/
illag

Indiana
http://www.in.gov/attorneygeneral/2352.htm
indag

Iowa
https://www.iowaattorneygeneral.gov/about-us/attorney-general-opinions/
iowaag

Kansas
http://ag.ks.gov/media-center/ag-opinions
kanag

Kentucky
http://ag.ky.gov/civil/civil-enviro/opinions/Pages/default.aspx
kyag

Louisiana
https://www.ag.state.la.us/Opinions
laag

Maine
https://www.maine.gov/ag/about/ag_opinions.html
meag

Maryland
http://www.marylandattorneygeneral.gov/Pages/Opinions/index.aspx
mdag

Mass.
http://www.mass.gov/ago/government-resources/ags-opinions/
massag

Michigan
http://www.ag.state.mi.us/opinion/opinions.aspx
michag

Minnesota
http://www.ag.state.mn.us/office/opinions/
minnag

Mississsippi
https://govt.westlaw.com/msag/Index?__lrTS=20170120220617535 (review TOS?)
missag

Missouri
https://ago.mo.gov/other-resources/ag-opinions
moag

Montana
https://dojmt.gov/agooffice/attorney-generals-opinions/
montag

Nebraskta
https://ago.nebraska.gov/ag_opinion
nebag

Nevada
http://ag.nv.gov/Publications/Opinions/
nevag

New Hampshire
http://www.doj.nh.gov/media-center/opinions.htm
nhag

New Jersey
http://nj.gov/oag/ag-opinions.htm
njag

New Mexico
http://public-records.nmag.gov/opinions
nmag

New York
https://ag.ny.gov/appeals-and-opinions/numerical-index
nyag

N. Carolina
http://www.ncdoj.gov/getdoc/683dc0b7-ad27-4dbd-8ea5-c9109ff016a0/Legal-Opinions.aspx
ncag

N. Dakota
https://attorneygeneral.nd.gov/attorney-generals-office/legal-opinions/opinion-search
ndag

N. Mariana Islands
No online presence found
nmiag

Ohio
http://www.ohioattorneygeneral.gov/About-AG/Service-Divisions/Opinions/Opinions-Archive
ohag

Oklahoma
https://www.ok.gov/oag/Legal_Resources/AG_Opinions.html
oklaag

Oregon
http://www.doj.state.or.us/agoffice/pages/index.aspx
orag

Penn.
https://www.attorneygeneral.gov/The_Office/Official_Attorney_General_Opinions/
paag

Puerto Rico
http://www.justicia1.pr.gov/ordenesa/opiniones.aspx (spanish)
prag

Rhode Island
Homepage, but cannot find opinions: http://www.riag.ri.gov/
riag

S. Carolina
http://www.scag.gov/opinions
scag

S. Dakota
http://atg.sd.gov/OurOffice/OfficialOpinions/opinions.aspx
sdag

Tennessee
https://www.tn.gov/attorneygeneral/topic/attorney-general-opinions
tennag

Texas
https://texasattorneygeneral.gov/opinion/index-to-opinions
texag

Utah
1969-present on microfiche, but that's it! https://archives.utah.gov/research/inventories/20369.html
utahag

Vermont
There's 12 between 2000 and today: http://ago.vermont.gov/divisions/about-the-attorney-generals-office/attorney-general-opinions.php More here: http://libguides.vermontlaw.edu/vermontlawguide/vermontadministrativelaw and here: http://llmc.com/titledescfull.aspx?type=6&coll=49&div=195&set=08140 (paywall?)
vtag

Virgin Islands
Homepage, but no opinions: http://usvidoj.codemeta.com/DivisionContent_1.php?divId=84
viag

Virginia
http://ag.virginia.gov/citizen-resources/opinions/official-opinions
vaag

Washington
http://www.atg.wa.gov/AGOOpinions/opinion
washag

West Virginia
http://www.ago.wv.gov/publicresources/Attorney General Opinions/Pages/default.aspx
wvaag

Wisconsin
https://docs.legis.wisconsin.gov/misc/oag
wisag

Wyoming
http://ag.wyo.gov/formal-opinions
wyoag

I'll also just point out that the module name will almost always correspond with the ID in CourtListener.

If you're new here and can help, please say which scraper you're able to work on, and check out the readme to get started.

dear lord!  Is there any strategy here, or just start working from the top?
I'll take care of the others in #167 first so we can close that ticket.
opinions/united_states/federal_special/ag.py
opinions/united_states/state_special/mdag.py

The right way to do it is to start with the most populous states. The fun
way is to find easy ones with big archives that are easy to traverse.
On Fri, Jan 20, 2017, 21:21 Philip Ardery<EMAIL_ADDRESS>wrote:

dear lord! Is there any strategy here, or just start working from the top?
I'll take care of the others in #167
https://github.com/freelawproject/juriscraper/issues/167 first so we
can close that ticket.
opinions/united_states/federal_special/ag.py
opinions/united_states/state_special/mdag.py
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/freelawproject/juriscraper/issues/168#issuecomment-274237449,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOdqkV4UHrRG7GbmzF7goHrjiJHyVrgks5rUZW-gaJpZM4LTKNz
.

--
Mike Lissner
Executive Director
Free Law Project
https://free.law

I don't know if this is useful or not, but the Alabama AG has opinions going back to 1979. They're numbered differently depending on period:

When searching by opinion number use the following formats:
Opinions 79-00001 to 95-00338, use format yynnnnn (ex: 8500001)
Opinions 96-00001 to 99-00290, use format yy-nnnnn (ex: 96-00331)
Opinions 2000-001 to Present, use format yyyy-nnn (ex: 2000-025)

And these are the correct ranges from 1994-2000:
9400001 - 9400267
9500001 - 9500338
96-00001 - 96-00331
97-00001 - 97-00298
98-00001 - 98-00225
99-00001 - 99-00290
2000-001 - 2000-252
The PDFs are named according to the above scheme. So, examples from the three different date formats:
https://www.alabamaag.gov/Documents/opin/9400001.pdf
https://www.alabamaag.gov/Documents/opin/97-00001.pdf
https://www.alabamaag.gov/Documents/opin/2000-003.pdf

That's great. One day, perhaps, we'll get on this, but absent a volunteer picking it up, it's outside of our budget to do this work for the moment.

I'm just learning Python, so maybe if I ever get to a place where I understand *args and **kwargs, I can help. But at least the information's there now. :)

I also moved all the AG scrapers into a new folder juriscraper/opinions/united_states/attorney_general
And moved all the previously added ones into that directory


BUGFIX: correctly mount config files for components

Pull Request Motivation
We were not yet mounting the cainjector ConfigMap in the cainjector deployment.
fixes #7046
Kind
/kind bug
Release Note
Helm BUGFIX: the cainjector ConfigMap was not mounted in the cainjector deployment.

/cherrypick release-1.14

You can test that the chart now works as expected:

Generate the Helm chart locally

make helm-chart

Create a values.yaml file:

installCRDs: true

image:
  tag: v1.14.5
config:
  apiVersion: controller.config.cert-manager.io/v1alpha1
  kind: ControllerConfiguration
  logging:
    verbosity: 5
    format: json

acmesolver:
  image:
    tag: v1.14.5

webhook:
  image:
    tag: v1.14.5

  config:
    apiVersion: webhook.config.cert-manager.io/v1alpha1
    kind: WebhookConfiguration
    logging:
      verbosity: 5
      format: json

cainjector:
  image:
    tag: v1.14.5

  config:
    apiVersion: cainjector.config.cert-manager.io/v1alpha1
    kind: CAInjectorConfiguration
    logging:
      verbosity: 5
      format: json

startupapicheck:
  image:
    tag: v1.14.5

Install cert-manager using the values.yaml file:

helm install cert-manager _bin/cert-manager-v1.15.0-beta.1-3-g5cbe5c6c2c46e3.tgz --values values.yaml

Now verify that all loggers use json logging.

/approve

/cherrypick release-1.15

/cherrypick release-1.15


New version: eza-community.eza version 0.20.11

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/eza-community/eza/releases/download/v0.20.11/eza.exe_x86_64-pc-windows-gnu.zip
Status Code: 200
(Automated message - build 900)

@wingetbot run

@wingetbot run

Url Validation Error

manifests\e\eza-community\eza\0.20.11

https://github.com/eza-community/eza/blob/main/LICENCE

Http status code: NotFound

This CI/CD step is misconfigured with a LicenseUrl that has changed since it was set up. Does anyone know how to contact the account owner?


feat: upgrade @ckb-lumos/indexer and add the example of sudt transaction

This commit adds a simple example to demonstrate how to issue and transfer sudt

Codecov Report

Merging #517 (c10ec0b) into develop (4921bfb) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #517   +/-   ##
========================================
  Coverage    96.22%   96.23%
========================================
  Files           51       51
  Lines         1538     1540    +2
  Branches       293      294    +1
========================================
+ Hits          1480     1482    +2
  Misses          58       58

Impacted Files
Coverage Δ

packages/ckb-sdk-core/src/loadCellsFromIndexer.ts
100.00% <100.00%> (ø)


Select item blinking issue

When I select any item from this select options, the select box blink. I think it causes because of losing the focus. how to fix the blink issue while having the focus functionality? I've tried to use state=closed but still it blinks.
const SelectTrigger = React.forwardRef<
  React.ElementRef<typeof SelectPrimitive.Trigger>,
  React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>
>(({ className, children, ...props }, ref) => (
  <SelectPrimitive.Trigger
    ref={ref}
    className={cn(
      `flex h-11 w-full items-center justify-between rounded-md border border-input/7 bg-primary/7 text-primary px-2.5 py-2.5 text-base ring-offset-background placeholder:text-muted-foreground
      focus:outline-none focus:ring-2 focus:ring-primary/50 focus:ring-offset-0 data-[state=open]:ring-2 data-[state=open]:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1`,
      className
    )}
    {...props}
  >
    {children}
    <SelectPrimitive.Icon asChild>
      <ChevronDown className="h-6 w-6 text-primary" />
    </SelectPrimitive.Icon>
  </SelectPrimitive.Trigger>
))
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName

Screencast from 01-29-2024 09:32:14 PM.webm

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

is there any solution?


Feature Request: YouTube darker skin

The ability to have youtube's page have darker skins instead of the white without turning off "lights off". Thank you.

try a css style
you will need stylish addon to use them
i really don't like it to be too dark so i use this one

I use and recommend "Black Youtube by Panos" its really nice and is maintained :)

I personnally use this one
https://userstyles.org/styles/92164/youtube-lights-out-a-dark-youtube-theme
You don't "need" stylish addon. You can simply install it as a userscript, like with greasemonkey on Firefox.


RuntimeError: CUDA out of memory.

I am trying to evaluate on KITTI 2015 test dataset. I am getting this error
 python3 submission.py --maxdisp 192 \
         --model stackhourglass \
         --KITTI 2015 \
         --datapath './dataset/testing/' \
         --loadmodel 'pretrained_model_KITTI2015.tar' \

Number of model parameters: 5224768
torch.Size([1, 3, 384, 1248]) torch.Size([1, 3, 384, 1248])
/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py:2457: UserWarning: nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.
  warnings.warn("nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.")
/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py:2539: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0
.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
  "See the documentation of nn.Upsample for details.".format(mode))
/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py:2539: UserWarning: Default upsampling behavior when mode=trilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
  "See the documentation of nn.Upsample for details.".format(mode))

Traceback (most recent call last):
  File "submission.py", line 116, in <module>
    main()
  File "submission.py", line 107, in main
    pred_disp = test(imgL,imgR)
  File "submission.py", line 81, in test
    output = model(imgL,imgR)
  File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/torch/nn/parallel/data_parallel.py", line 150, in forward
    return self.module(*inputs[0], **kwargs[0])
  File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/saivinay/Documents/Stereo_Matching/code/PSMNet/models/stackhourglass.py", line 156, in forward
    pred3 = disparityregression(self.maxdisp)(pred3)
  File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/saivinay/Documents/Stereo_Matching/code/PSMNet/models/submodule.py", line 63, in forward
    out = torch.sum(x*disp,1)
RuntimeError: CUDA out of memory. Tried to allocate 352.00 MiB (GPU 0; 3.95 GiB total capacity; 2.39 GiB already allocated; 97.88 MiB free; 593.61 MiB cached)

nvidia-smi gives :
ed Jul 17 14:11:20 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.78       Driver Version: 410.78       CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 105...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   47C    P0    N/A /  N/A |    412MiB /  4040MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1533      G   /usr/lib/xorg/Xorg                           263MiB |
|    0      9285      G   compiz                                        98MiB |
|    0     28432      G   ...uest-channel-token=10673617962059914987    47MiB |
+-----------------------------------------------------------------------------+

Can someone please help me in solving this problem?

@SaiVinay007
Your GPU do not have enough memory to infer a pair of 384x1248 images.
You need around 4500MB GPU memory.

Thanks for the reply @JiaRenChang
Is there any workaround to run your model on my system?

@SaiVinay007
You can downsample or crop the images.
For your question, you can refer to this https://discuss.pytorch.org/t/gpu-memory-estimation-given-a-network/1713/6 .

@JiaRenChang  Thanks for the help.
I went through this https://discuss.pytorch.org/t/gpu-memory-estimation-given-a-network/1713/6 .
I didn't understand what to specify as input_size as here we have two images as input.
In submission.py :
model = nn.DataParallel(model, device_ids=[0])
se = SizeEstimator(model, input_size=())
print(se.estimate_size())

If i am giving two tuples or lists as
se = SizeEstimator(model, input_size=((1,3,384,1248),(1,3,384,1248)))

Traceback (most recent call last):
  File "submission.py", line 72, in <module>
    print(se.estimate_size())
  File "/home/saivinay/Documents/Stereo_Matching/code/PSMNet/pytorch_modelsize.py", line 75, in estimate_size
    self.get_output_sizes()
  File "/home/saivinay/Documents/Stereo_Matching/code/PSMNet/pytorch_modelsize.py", line 34, in get_output_sizes
    input_ = Variable(torch.FloatTensor(*self.input_size), volatile=True)
TypeError: new() received an invalid combination of arguments - got (tuple, tuple), but expected one of:
 * (torch.device device)
 * (torch.Storage storage)
 * (Tensor other)
 * (tuple of ints size, torch.device device)
      didn't match because some of the arguments have invalid types: (tuple, tuple)
 * (object data, torch.device device)
      didn't match because some of the arguments have invalid types: (tuple, tuple)

Or if i give two lists:
se = SizeEstimator(model, input_size=([1,3,384,1248],[1,3,384,1248]))

TypeError: new() received an invalid combination of arguments - got (list, list), but expected one of:
 * (torch.device device)
 * (torch.Storage storage)
 * (Tensor other)
 * (tuple of ints size, torch.device device)
      didn't match because some of the arguments have invalid types: (list, list)
 * (object data, torch.device device)
      didn't match because some of the arguments have invalid types: (list, list)

Can you please help regarding this problem?

@SaiVinay007 Did you manage to run the submission.py script on KITTI2015 testing images?

Yeah i was able to run the script by reducing the size of images but i was not getting good results

@SaiVinay007 what resolution did you try?

@tv12345  I divided both the dimension by 2.


What Linux distribution I need - What PHP version I need

i think its the php version
should i downrage to the 5.6?
Originally posted by @muc1 in https://github.com/nicelife90/BladeBTC/issues/14#issuecomment-426349149
yes thank you or installed everything but the web page remains white at the end of the installation it tells me to restart the server I restart the raspberry but the bot does not start

This script is currently working with Ubuntu 14.04 LTS only.
All PHP 5.x version should work for this application. PHP 7.x will never work without modification of the application.

This script is currently working with Ubuntu 14.04 LTS only.
All PHP 5.x version should work for this application. PHP 7.x will never work without modification of the application.
I plan to release new version compatible with the last LTS version of Ubuntu and PHP 7.x.

hi I paid you but you still haven't answered me you can do the job of the bot ?

This script is currently working with Ubuntu 14.04 LTS only.
All PHP 5.x version should work for this application. PHP 7.x will never work without modification of the application.
I plan to release new version compatible with the last LTS version of Ubuntu and PHP 7.x.

hello you can answer my e-mail please?

For now using the latest Ubuntu 18.04LTS will work. PHP7 is now supported.


Create a Gradle build for the Ballerina Integrator Repository

Description:

Create a Gradle build system to consolidate different artifacts in the Ballerina Integrator repository

PR: https://github.com/wso2/ballerina-integrator/pull/164


WIP: add session middleware with pluggable backing

WIP: Add pluggable session middleware
Per #9 – I had some rough session middleware I was working on in support of building a blog in Tide. It's patterned off other session middleware I've worked with in the past (e.g., in Django) & is similar to what powers www.npmjs.com.
Including this middleware in an application gives handlers the ability to access and modify a long-lived session object via a SessionExt trait:
    app.at("/").get(async move |ctx: Context<()>| {
        // SessionMap implements Deref<HashMap<String, String>>
        // If this happens during a request a session will be created and
        // a session id sent to the user in a cookie.
        sess.insert(String::from("username"), String::from("chris"));

        // Or: rotate the session without making any changes
        let mut sess = ctx.session_mut();
        SessionMap::rotate(&mut sess);

        "Hello, world!"
    });

    app.at("/ronly").get(async move |ctx: Context<()>| {
        // or fetch the session in a read-only way, guaranteed to not create new sessions
        let sess = ctx.session();

        "Hello, world!"
    });

Users are able to provide their own backing store:
struct InMemorySessionStore;

impl SessionStore for InMemorySessionStore {
    fn load_session(&self, key: &str) -> SessionMap {
        SessionMap::new()
    }

    fn commit(&self, key: Option<&str>, session: Ref<Box<SessionMap>>) -> Result<HeaderValue, std::io::Error> {
        Ok(HeaderValue::from_static("<a cryptographically secure session token>"))
    }
}

(Tide would ideally provide a memory store & possibly a redis- or memcache-backed store?)
Motivation and Context
I am coming from Node, where (until recently!) I used to work on the npm registry & website. At my new day job, we're moving from Node to Go, and I'm trying to get a feel for how Tide and Rust might fit into that same space. Also – I have the cycles to contribute back to open source now, and I'd really like to invest as much of that time as possible back into Rust!
As a result, I picked the goal of building a blog + management system for my personal site. One of my requirements is that I be able to log in to manage posts, so I needed session middleware.
This is a draft PR to start a conversation about how to accomplish that task: I'm happy to continue working on it, pair with someone else, go back to the drawing board entirely, or buzz off for now if this takes more cycles from maintainers than it returns! (Y'all have been doing great work 💞)
How Has This Been Tested?
This has been manually tested in a local application. I'm planning on patterning the tests after the other middleware in this repo.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@chrisdickinson thanks so much for starting work on this! -- The general direction here seems very promising -- also the conversation in https://github.com/rustasync/tide/issues/9 seems great.
Regarding this implementation, probably the only comment I'd make is that I'd expect the load_session and commit trait functions to be async. If they're making requests to external databases we'd likely not want to block while the results are being fetched.
However async fn in traits is currently not supported yet. So in order to make these work asynchronously, workarounds would need to be applied which are similar to http_service::HttpService. (Which is to say: define associated Future types).
Very excited for this!

Published https://crates.io/crates/async-session which is a continuation of the work done in this patch. Next step would be to build a middleware that can use that to integrate with Tide.
Going to go ahead and close this PR for now. Thanks so much @chrisdickinson!


Error while processing route:  Assertion Failed: You must use Ember.set() to set the controller property

I had this issue since last week and It was frustrating investigating it until it gone when I uninstalled ember breadCrumb.
the problem was related to observe controller object.
for reference : https://github.com/emberjs/ember.js/pull/9767

Could you try 0.1.3 and let me know if that fixes the issue?

Where is the change log for the new release?

@chrisfarber , I installed v0.1.3 and it's not generating this issue. thanks


How to customize the backup file name？

Now，the backup file name is generated by the following function，the format only be “name-timestamp-ext”, but i need other format,Such as “name-ext-timestamp”.How should i do?
func backupName(name string, local bool) string {
	dir := filepath.Dir(name)
	filename := filepath.Base(name)
	ext := filepath.Ext(filename)
	prefix := filename[:len(filename)-len(ext)]
	t := currentTime()
	if !local {
		t = t.UTC()
	}

	timestamp := t.Format(backupTimeFormat)
	return filepath.Join(dir, fmt.Sprintf("%s-%s%s", prefix, timestamp, ext))
}

Now，the backup file name is generated by the following function，the format only be “name-timestamp-ext”, but i need other format,Such as “name-ext-timestamp”.How should i do?
func backupName(name string, local bool) string {
	dir := filepath.Dir(name)
	filename := filepath.Base(name)
	ext := filepath.Ext(filename)
	prefix := filename[:len(filename)-len(ext)]
	t := currentTime()
	if !local {
		t = t.UTC()
	}

	timestamp := t.Format(backupTimeFormat)
	return filepath.Join(dir, fmt.Sprintf("%s-%s%s", prefix, timestamp, ext))
}

me too

At least make the timestamp configurable please. :)

At least make the timestamp configurable please. :)

See https://github.com/natefinch/lumberjack/pull/118

The problem with making it configurable is that it is too easy to screw up in non-obvious ways. The timestamp is what makes the backup files unique, and it is how lumberjack figures out when a file was created (granted this last part could just use the os timestamp).
Really, there's no reason why anyone should care what the timestamp looks like. It's just a backup file.

Hi, @natefinch. Thanks for reply.

The problem with making it configurable is that it is too easy to screw up in non-obvious ways. The timestamp is what makes the backup files unique, and it is how lumberjack figures out when a file was created (granted this last part could just use the os timestamp).

Yeah, you are right. Some things might be confused for some developers. But I'm pretty sure that every developer must be understand what his doing.

Really, there's no reason why anyone should care what the timestamp looks like. It's just a backup file.

In my case I have a script that pushes archived logs to my own storage data. On my side it is not just backup file and I really need make name of archive file is configurable. Because I have many logs from many services and I want to have one format for logs and archived file.

If TimeFormat was added finally, the rotate logic should base on file ture modified time nor time field of filename. https://github.com/natefinch/lumberjack/blob/v2.0/lumberjack.go#L400
Because if user change time format in a new application version, the rotate will be buggy.
my phuslu/log was reported by this issue and fixed it just now

@natefinch For collecting the current log to a remote storage, we want the current and backups have different ext. Currently, turn on compress is the only way, so customization is wanted.

Now，the backup file name is generated by the following function，the format only be “name-timestamp-ext”, but i need other format,Such as “name-ext-timestamp”.How should i do?
func backupName(name string, local bool) string {
	dir := filepath.Dir(name)
	filename := filepath.Base(name)
	ext := filepath.Ext(filename)
	prefix := filename[:len(filename)-len(ext)]
	t := currentTime()
	if !local {
		t = t.UTC()
	}

	timestamp := t.Format(backupTimeFormat)
	return filepath.Join(dir, fmt.Sprintf("%s-%s%s", prefix, timestamp, ext))
}

i also has the requierment for self define the bakcup file name.

if the TZ was just aded to the BACK, and not the ext moved, it would've solved other problems.


include FailedCreate condition in deployment waiting logic

Describe the problem/challenge you have
currently Deployment waiting code looks at several conditions include FailedDelete [0]. there is another condition that would be useful to look at it FailedCreate. we should add that check in there so that we can show nice informational message to the users as part of the progress log. i do not think we need to consider progress as done though, in this case.
[0] https://github.com/vmware-tanzu/carvel-kapp/blob/develop/pkg/kapp/resourcesmisc/apps_v1_deployment.go#L57-L62

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

Not picking it up as it is marked as good first issue. Do reach out in case more context is needed.

Hello @cppforlife I have raised a PR, please have a look at it. Thank you!!!


Animation displayed as static image..

Followed all instructions but animation is displayed only as a static image... any help is much appreciated!

realized that this Component prop needs to be:   animationName= "to the name of the file inside Flare "


AWS Cross account secrets no longer accessible after moving from KES to ESO

Describe the bug
Hi, re-opening this issue as I'm having the same problem, with a twist:
I have 3 EKS clusters in 3 separate regions (eu-west-1, us-east-1 and ap-southeast-1). I was previously KES and IRSA auth to access a secret in a separate account, and this worked fine across all regions. (it's actually still working fine in older clusters which are still running KES). Since moving to ESO and using the same auth method (service account using a role that has the same policy as the old clusters which use KES) I can only access the secret from eu-west-1.
The other 2 ESO instances (us-east-1 and ap-southeast-1) are not able to access the secret. the issue seems to be KMS permissions:
{"level":"error","ts":1689090071.6549695,"logger":"controllers.ExternalSecret","msg":"could not get secret data from provider","ExternalSecret":"twistlock/twistlock-secrets","error":"AccessDeniedException: Access to KMS is not allowed\n\tstatus code: 400, ","stacktrace":"github.com/external-secrets/external-secrets/pkg/controllers/externalsecret.(*Reconciler).Reconcile\n\t/home/runner/work/external-secrets/external-secrets/pkg/controllers/externalsecret/externalsecret_controller.go:189\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:122\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:323\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:274\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:235"} {"level":"error","ts":1689090071.6683495,"msg":"Reconciler error","controller":"externalsecret","controllerGroup":"external-secrets.io","controllerKind":"ExternalSecret","ExternalSecret":{"name":"twistlock-secrets","namespace":"twistlock"},"namespace":"twistlock","name":"twistlock-secrets","reconcileID":"9a29d08b-c5b3-4657-aff3-c3ce819f6072","error":"AccessDeniedException: Access to KMS is not allowed\n\tstatus code: 400, ","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:274\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:235"}
To Reproduce
Steps to reproduce the behavior:

provide all relevant manifests
provide the Kubernetes and ESO version:
EKS v1.26.4
ESO helm chart 0.9.1
Expected behavior
secrets to be accessible from all regions as when using KES

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Can you provide your SecretStore manifests please?

Hi, sure this is the ap-southeast-1 one:
`apiVersion: v1
items:

apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
labels:
argocd.argoproj.io/instance: cluster-bootstrap-resources-apse1-1
name: aws-secretsmanager
spec:
provider:
aws:
auth:
jwt:
serviceAccountRef:
name: external-secrets
namespace: cluster
region: ap-southeast-1
service: SecretsManager
kind: List
metadata:
resourceVersion: ""
selfLink: ""`

Thanks for your info. Did you configure a spec.roleArn in KES?
apiVersion: "kubernetes-client.io/v1"
kind: ExternalSecret
metadata:
  name: hello-service
spec:
  backendType: secretsManager
  # optional: specify role to assume when retrieving the data
  roleArn: arn:aws:iam::123456789012:role/test-role

Thanks for your info. Did you configure a spec.roleArn in KES?
apiVersion: "kubernetes-client.io/v1"
kind: ExternalSecret
metadata:
  name: hello-service
spec:
  backendType: secretsManager
  # optional: specify role to assume when retrieving the data
  roleArn: arn:aws:iam::123456789012:role/test-role

Hi, no, I haven't. The role arn is only added to the service account through the eks.amazonaws.com/role-arn annotation (same as the ESO setup)

Do you use IRSA with ESO (mounted the SA in the controller? If so, can you try to remove auth.jwt from the SecretStore?
Other than that i'm out if ideas. Do you use the very same service accounts with both KES and ESO? Did you double check AWS IAM permissions?


Recursive Template

HI, is it possible to run recursive templates? i mean, inside a single template, it might be useful to recall another template to add a predefined set of data. may it  be possible with merge tags?
let me point out an example:
when sending an email to a contact, it might be useful to add as footer the last promos available on the website, without defining the fetch to extract data on each template, but adding is as a snippet

Hi @luca0071,
this is now available as XTL snippets, you can read about it here: https://github.com/DigitalFlow/Xrm-Templating-Language#snippet


How to assert in a json array that a specific json has specific elements.

Hi, I have the following response body
[
    {
        "id": "1",
        "name": "name",
        "status_code": "ok"
    },
    {
        "id": "2",
        "name": "anotherName",
        "status_code": "ok"
    }
]

I want to check if the json with id==1 has the name "name" and the json with id==2 has the name "anotherName".
I've tried something like this:
response.then().body("id",hasItems("1","2")
                ,"name", hasItems("name","anotherName")
                , "status_code", hasItems("ok"));

The assertion says it is correct but it only checks if the json array contains the elements. So my question is:
How can I determine the name in my Json depending of it's id?
I have already checked out #805 where someone else asked the same question but didn't get a resposne.

okay, I've figured it out by myself.
response.then().body("id[0]",equalTo("1")
                , "name[0]", equalTo("name")
                , "id[1]",equalTo("2")
                , "name[1]", equalTo("anotherName"));


[Bug] [Log] The log time should be synchronized with the natural day time

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

What you expected to happen
The log time should be synchronized with the natural day time
How to reproduce

View the background log
Compare the natural day time

Anything else
No response
Version
[dev](dev: ds3.1.0-prepare)
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

because default time zone is UTC. u can change it by refer to doc FAQ General Setting

because default time zone is UTC. u can change it by refer to doc FAQ General Setting

Yes, user can change the config when deploy.


[SPARK-36681][CORE][TEST] Enable SnappyCodec test in FileSuite

What changes were proposed in this pull request?

This patch enables SnappyCodec test in FileSuite as snappy-java relocation issue was fixed in Hadoop 3.3.2 that Spark is using now.
Why are the changes needed?

Enabling test case.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Updated test.

cc @sunchao @dongjoon-hyun

Thanks @martin-g @dongjoon-hyun

Merging to master.

Hm, actually this test seems flaky:
https://github.com/apache/spark/runs/5687379822
https://github.com/apache/spark/runs/5714183477

Hmm, SnappyCodec.checkNativeCodeLoaded was removed since 3.3.1. This looks like the runs were against older Hadoop dependencies?


How to handle frames with no face

When there is no face in some frames in video, how to handle that situation.  I am working on a intern project and I am new to this niche. I was just wondering if it is possible for the frames with no face to just apply the audio instead of throwing me a No face detected error.

I had seen wav2lip had made some changes to settle this issue , is there any way to handle the situation here too?

I'm not sure if we can directly do it with this package. However you can follow a 2 step approach. Maybe detect the frames first which has faces, then apply this to those frames. Skip the other frames.

Ok thanks can you mention the files(and functions) on which the work is to be done. There are just too many files and I don't understand most of them.


Support for nested options in reporterOptions

Description of the Change
Supporting nested reporter options to be passed on the command line. Example:
mocha --reporter mocha-multi --reporter-options xunit.stdout=-,xunit.options.suiteName=MySuiteName

This is useful when using the mocha-multi reporter, to be able to specify multiple reporters and pass options to each of them.
Alternate Designs
No other designs considered
Why should this be in core?
Since mocha owns the reporter-options argument, it also has to own the parsing of it.
Benefits
It will be possible to pass options to reporters, when using the mocha-multi reporter.
Possible Drawbacks
None that I can think of
Applicable issues
This should be a minor release

Coverage increased (+0.09%) to 90.388% when pulling 24063d2045c7ae2fc363d66cacc27d5a467ec1ea on johanblumenberg:reporterOptions into 04469bf0e3a008be9d066835fad278a542d8232a on mochajs:master.

Disagree with this approach, at least the aspect of passing/parsing an increasingly complex cmdline argument. Feel it kinda flies in the face of the project's description, at least as far as "simple" goes.
A slightly modified version of your idea might change --reporter-options into a repeatable argument, which would be simpler both logically and logistically.
But I have been researching approaches for essentially having implicit "mocha-multi" capability as part of #3480.

@plroebuck The idea that you can only pass a single --reporter-options argument, and that it is a list of values separated by comma, is already a part of mocha, so that can't be changed easily.
But I could add another --reporter-option repeatable argument:
mocha --reporter mocha-multi --reporter-option xunit.stdout=- --reporter-option xunit.options.suiteName=MySuiteName

Is that what you mean?

@plroebuck My example usage becomes a bit more complex because mocha only supports a single reporter, and the only way to have multiple reporters is to use another library such as mocha-multi.
Having mocha support multiple reporters would remove one layer of objects. So that would look something like this, since it removes the mocha-multi layer of config:
mocha --reporter spec,xunit --reporter-option xunit.output=- --reporter-option xunit.suiteName=MySuiteName

This would match the settings structure you propose in https://github.com/mochajs/mocha/issues/3480, but it would allow the same structure to be passed from cmdline, you don't have to write it to a file.

@johanblumenberg  wrote:

The idea that you can only pass a single --reporter-options argument, and that it is a list of
values separated by comma, is already a part of mocha, so that can't be changed easily.

You're right. No idea why they implemented it that way instead of using collect.
But having multiple --reporter-option options doesn't appear to be an incompatible change.

But I could add another --reporter-option repeatable argument:
mocha --reporter mocha-multi --reporter-option xunit.stdout=- --reporter-option xunit.options.suiteName=MySuiteName

Is that what you mean?

Basically. Thought here was that it would be simpler (assuming use of "mocha.opts") to enable/disable a single option (using comment) than to have to edit a list.

@johanblumenberg wrote:

My example usage becomes a bit more complex because mocha only supports a single
reporter, and the only way to have multiple reporters is to use another library such as
mocha-multi.

Working on changing that, but not simple due to existing code, etc.

Having mocha support multiple reporters would remove one layer of objects.
So that would look something like this, since it removes the mocha-multi layer of config:
mocha --reporter spec,xunit --reporter-option xunit.output=- --reporter-option xunit.suiteName=MySuiteName

This would match the settings structure you propose in #3480, but it would allow
the same structure to be passed from cmdline, you don't have to write it to a file.

Pretty close. Current thought was this:
$ mocha --reporter spec \
           --reporter-option spec.output=- \
        --reporter xunit \
           --reporter-option xunit.output="xunit.xml" \
           --reporter-option xunit.suiteName=MySuiteName

Details:

How best to specify which reporter owns terminal (there can be only one)
Passing generic options (e.g., suiteName) used by all reporters
Filename templates?

@johanblumenberg wrote:

How best to specify which reporter owns terminal (there can be only one)

I don't think there is anything that prevents you from having multiple reporters writing to stdout.
For example, I'm using the spec reporter to report test progress, and the istanbul reporter to
report code coverage. Both go to stdout. I don't think there should be anything that prevents you
from doing that. If you configure both xunit and spec to report to stout, then that is probably
what you want, although it doesn't make any sense.

OK. So maybe there is a use case for more than one reporter writing to stdout.
Was attempting to head off bug reports due to "stupid" configurations.

Passing generic options (e.g., suiteName) used by all reporters

I think that the suiteName parameter to xunit is just bad design of the xunit reporter.
The test suite name is a property of the test cases, it's not a property to be decided by the
reporter. For example, it could be the top describe() name, or it could be passed as a property
to mocha itself, and not to a reporter.

Root suite in Mocha was originally identified by its lack of title.
#2676 allowed overriding the default "Mocha Tests" root suite title in XUnit.

Filename templates?

Wdym?

In case you maybe wanted something like a timestamp as part of the filename?

I added another commit that adds support for --reporter-option.
Now it's possible to do, which is a bit simpler syntax:
mocha --reporter mocha-multi --reporter-option xunit.stdout=- --reporter-option xunit.options.suiteName=MySuiteName

This PR is adding support for --reporter-option and the possibility to give nested options. Let's not mix it with the task of supporting multiple reporters.
I can try to come up with a separate PR that implements support for multiple reporters.

Hesitant to quickly move forward on this PR.
Speed of implementation is not an issue because:

"mocha-multi" reporter has an existing mechanism to deal with this (i.e., its "config.json" file).
Fits the "would be nice if" category.
Little to no clamoring for this feature.

Possible problems (even in current release):
--reporter-options issue:

Deal with value containing commas:

Set "mocha-multi" reporter's reporterEnabled property to "spec,xunit,tap"

--reporter-option issue:

Extend an existing property that isn't an object:

Set foo to "bar"
Set foo.bar to 1

Disable an existing boolean property:

Set foo to false, not "false"

Any movement on this?
Seems like a breaking change now that --reporter-optionsis an alias for--reporter-option`.

@craigtaub, it's something we will need in future, but aren't ready for yet. Issues listed above would need be resolved via discussion.

Closing due to inactivity, dates back to ancient times before yargs / yargs-parser.


Send message id as integer to error callback module

When the worker calls the error module for invalid token size the message id is an integer
"[APNS] Error %APNS.Error{error: "Invalid token size", message_id: 125785236, status: 5} for message 125785236"
… but when it is called because the token is invalid the message_id is a bitstring.
"[APNS] Feedback received for token %APNS.Error{error: "Invalid token", message_id: <<7, 127, 84, 148>>, status: 8}"
This is confusing to us. This PR makes the error always receive an integer.

We realized that message_id can be set explicitly in the application code to something else than an integer. It might therefore be up to the callback to cast the message id. We did the following in our callback:
defmodule Some.Callback do
  require Logger

  def error(%APNS.Error{status: 8, message_id: <<msg_id :: integer-32>>} = error) do
    Logger.warn(["[APNS] tried to send notification (", inspect(msg_id), ") to invalid token (", inspect(error), ")"])
    {:error, 8}
  end

  …
end


Handle case of missing InResponseTo when validation is on

This supercedes #300 by @cjbarth, by amending his commit to correct the spelling of "signing" in a new file name.


No errors in non-empty error message

After reading a directory, multi_exiftool's error contains "17214 image files read", but no actual error.
ARGV.each do |dir|
  r = ''
  r = '**' if @options[:recursive] == true
  allfiles = Dir.glob(File.join(File.expand_path(dir), r, '*.orf'))
  next if allfiles.empty?

  results, errors = MultiExiftool.read(allfiles)

  unless errors.empty?
      p errors
      raise('Reading exifs failed')
  end
end

In irb, I went over each file in that directory and got no error:
allfiles = Dir.glob(File.join(File.expand_path(dir), r, '*.orf'))
allfiles.each do |f|
  results, errors = MultiExiftool.read([f])

  unless errors.empty?
    p errors
    raise("Reading #{f} failed")
  end
end

This error occurs only in one directory, in the other eight I worked on multi_exiftool behaves as expected.

It's a problem of the actual way of parsing the error messages. I hope to fix this in the next days.

Which version of ExifTool are you using?

It should be fixed in multi_exiftool 0.18.0. It was necessary to adapt the parsing of the error messages. Therefore ExifTool version 11.10 or higher is required now.
Please let me know if it works.

I will close this issue now. Feel free to reopen it if you have questions or multi_exiftool 0.18.0 doesn't solve your problem


How to extends?

Hello,
I would like to extend this project.
My needs are:

sharing of information on participants
access control
document sharing
screen sharing

Other than access control, I don't see how to extend the code other than by duplicating and modifying it.
Am I missing something?
Thank you in advance.

We are rewriting ion, which will support your needs.
We also have a old version support these needs. v0.4.6

We are rewriting ion, which will support your needs.
We also have a old version support these needs. v0.4.6

closing for now

closing for now


Refactor how we pick the model lists to reflect our split app

This also needs to interface with the obj.model attribute on the ProcessedVersionFile objects.

I wonder if we should have a more straightforward map between models and proxies in the elections app. The inference that's going on via the lookups in the ProcessedVersionFile's model attribute is so magical it makes my head hurt. There must be a more explicit way.


Adding sudo and new user

Added sudo where needed
Added new user note
Added install command for openjdk

You shouldn't need to run gradle as root - what's happening that prompted you to add that?
Perhaps you need to chown that back to your non-root user?

Got permission denied while trying to connect to the Docker daemon socket
User cannot connect to Docker.

Ah, you should add your less privileged user to the docker group then (logout and back in), rather than running gradle as root.

@thegillion are you still working on this or should it be closed?

I'm closing this since sufficient time has passed that the instructions have changed (and mostly deferred to arcus-k8)


Bluetooth PS4 controller for RC car control

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Right now we have a ps4 remote that can work when hardwired into the jetson, but the cord is so small that it's unfeasible to actually drive it this way. We also have some issues with button mappings that will need to be solved somehow in the hardware docker container. The goal is to have the ps4 controller capable of controlling the RC car via bluetooth connection.
Describe the solution you'd like
A clear and concise description of what you want to happen.
We can turn on the ps4 remote and it will pair to the jetson when it is running the jetson development container and the hardware container. Then we can control the car with the ps4 controller. We need to cap the speed so we don't accidentally muck the RC car will driving it.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
There is a button mapping config somewhere in the hardware container that needs a few slight changes to be made to fix the broken dead man switch. More info will be added for what the changes are (I just can't remember off the top of my head). This needs to be made persistent in the hardware container.
The ROS input from the joystick will need to be remapped somehow to whatever the bluetooth input becomes (might have to look into the ROS topics being read from), unless we get a usb-bluetooth dongle that goes to the same interface in the jetson filesystem.
When launching the f1tenth_system stack, the bringup launch file creates a joy/ node (this package is a third party package installed using rosdep install), as well as a joy_teleop/ node. The joy/ node is responsible for reading the input from the ps4 controller, so I imagine this will be important for changing the udev rule to read from when the usb-bluetooth dongle is plugged in.
The joy_teleop/ node was failing to run due to some issue with the joy_config.yaml file, so we will need to look into that as well.
Here are some potentially useful links:

for connecting ps4 controller via bluetooth
for double checking udev rules

note we do not need the lidar rules set up since we don't use it

for some troubleshooting info

go to "Driving the F1Tenth Car" section and then the "manuall control" section

do all the work for this in the f1tenth_stack repo, check out this pull request: https://github.com/f1tenth/f1tenth_system/pull/13/commits/f3501205320d8eec88d37056adefc9ed7344b234
for some potential fixes in our fork of the system


AA0240, strange behavior if the target trans-unit is a space

Title
Rule AA0240 seems to detect e-mail or phone number is a trans-unit containing a space and only a space.
Description
The following warning is raised by rule AA0240.
AppSourceCop.json(1,1): warning AA0240: The Translations\MyApp.g.fr-FR.xlf 'Enum<PHONE_NUMBER> - EnumValue<PHONE_NUMBER> - Property<PHONE_NUMBER>:target' must not be contain Email or Phone No.

In fact, the trans-unit is like below.
<trans-unit id="Enum<PHONE_NUMBER> - EnumValue<PHONE_NUMBER> - Property<PHONE_NUMBER>" size-unit="char" translate="yes" xml:space="preserve">
  <source> </source>
  <target state="final"> </target>
  <note from="Developer" annotates="general" priority="2"></note>
  <note from="Xliff Generator" annotates="general" priority="3">Enum My Enum - EnumValue   - Property caption</note>
</trans-unit>

Reason for the rule
./.
Bad code sample
./.
Good code sample
./.
Good and bad practices for fixing the rule
I think the problem comes the fact the translation is just a space character. We are maybe doing wrong but we still use on some enums a space as the name of the default value of enum, like we did with options.
Remarks
AL Language v6.0.302409

I get this same issue if the translated target is ' - '  (space dash space)
<trans-unit id="Codeunit<PHONE_NUMBER> - NamedType<PHONE_NUMBER>" size-unit="char" translate="yes" xml:space="preserve">
  <source> - </source>
  <target> - </target>
  <note from="Developer" annotates="general" priority="2"></note>
  <note from="Xliff Generator" annotates="general" priority="3">Codeunit OBZ Charts-Sales - NamedType NumberNameSeparatorTxt</note>
</trans-unit>

Still not resolved...

I am closing this issue because it has been resolved, please check the latest developer preview . Please open a new issue if you believe this has not been resolved and reference the current issue.


GitHub branch support

We should be able to bind particular branches of each GitHub repository, not just the default branch.

Now that scanning repos takes even longer, we really shouldn't block a synchronous request waiting for this. Can just follow the DE's model for file deletion (i.e., acknowledge the rescan request and either require the user to manually refresh the page or send a websocket update)

This is now handled on a periodic background task. Manual refreshes disabled; given very limited resources on the backend there's potential for accidental overloads or deliberate abuse


Multiple fixes per node

Coverage decreased (-0.02%) to 99.01% when pulling f9379bb94409460beb4922ca18ffa5c639f76ea4 on geon:multiple-fixes-per-node into 98ffbf4c01966d5cd625a65a3ef0cac8b604d21a on jonaskello:master.

Nice! 👍
I noticed the shorthand tests are not implemented yet. Let me know if you want to do them too in this PR. Otherwise I think this is already a big improvement over what we have today so I'm good to merge this as-is.

There is a test for nested shorthand arrays. It has the comment // Should fail on nested shorthand arrayss (sorry for the typo).
test/rules/readonly-array/default/variable.ts.lint, line 28

Yes, you are right, I was reading the *.fix file instead of the *.lint file. And of course shorthand arrays will be fixed into ReadonlyArray since there is no readonly shorthand :-).

Thanks for the PR, this bug has been around for a long time now and it is really nice to see it fixed!

Released in 4.5.3.


Remove broken-link validation in validate-xhtml

We included the broken-link validation to start with to see how many
books might pass / fail with it incorporated. In our initial approved
books list, we found 15 out of 44 books failed the validation
including:

Elementary Algebra 2e
Precalculus
Microbiology
Principles of Management
Principles of Economics 2e
Introductory Business Statistics
College Algebra
Principles of Macroeconomics for AP® Courses 2e
College Physics for AP® Courses
Principles of Microeconomics for AP® Courses 2e
Principles of Microeconomics 2e
Introductory Statistics
Organizational Behavior
Principles of Macroeconomics 2e
Algebra and Trigonometry

Based upon these results, we'll remove this validation for the time
being.

Before merging this should we make a card to re-enable the validation?

Good call. I created cnx 1047 accordingly.


Automated cherry pick of #4809: sku domain filter bugfix

Cherry pick of #4809 on release/2.13.
#4809: sku domain filter bugfix

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@6d3fa65). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.13   #4812   +/-   ##
==============================================
  Coverage                ?   6.85%
==============================================
  Files                   ?     523
  Lines                   ?   89192
  Branches                ?       0
==============================================
  Hits                    ?    6117
  Misses                  ?   82566
  Partials                ?     509

Flag
Coverage Δ

#aFlag
6.85% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/dbinstance_skus.go
3.34% <0%> (ø)

pkg/compute/models/skus.go
1.19% <0%> (ø)

pkg/compute/models/elasticcache_skus.go
3.9% <0%> (ø)

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 6d3fa65...5f08d74. Read the comment docs.

/lgtm

/approve


Fix formatting of taskExec() methods

This doc was generated, probably issue should be fixed in Robofile :(


Build failure: keyd.service

Steps To Reproduce
Steps to reproduce the behavior:
Put this in your configuration.nix on 24.11. I just copied from the wiki, the contents of 'settings' do not matter for this error.
services.keyd = {
  enable=true;
    keyboards = {
      default = {
        ids = [ "*" ]; # what goes into the [id] section, here we select all keyboards
        # Everything but the ID section:
        settings = {
          # The main layer, if you choose to declare it in Nix
          main = {
            capslock = "layer(control)"; # you might need to also enclose the key in quotes if it contains non-alphabetical symbols
          };
          otherlayer = {};
        };
        extraConfig = ''
          # put here any extra-config, e.g. you can copy/paste here directly a configuration, just remove the ids part
        '';
      };
    };
  };

Build log
Keyd does not work or start. systemctl status returns
× keyd.service - Keyd remapping daemon
     Loaded: loaded (/etc/systemd/system/keyd.service; enabled; preset: ignored)
     Active: failed (Result: exit-code) since Thu 2024-12-19 12:53:09 PST; 22s ago
   Duration: 42ms
 Invocation: a68a2b36e1f74782a703ef5d4aeabd0b
       Docs: man:keyd(1)
    Process: 8475 ExecStart=/nix/store/xxl563ca7vgnwn02n39i282vgdrmkmrs-keyd-2.5.0/bin/keyd (code=exited, status=255/EXCEPTION)
   Main PID: 8475 (code=exited, status=255/EXCEPTION)

Dec 19 12:53:09 nixos systemd[1]: keyd.service: Scheduled restart job, restart counter is at 5.
Dec 19 12:53:09 nixos systemd[1]: keyd.service: Start request repeated too quickly.
Dec 19 12:53:09 nixos systemd[1]: keyd.service: Failed with result 'exit-code'.
Dec 19 12:53:09 nixos systemd[1]: Failed to start Keyd remapping daemon.

Metadata
copying path '/nix/store/m1p78gqlc0pw3sdbz3rdhklzm0g26g96-stdenv-linux' from 'https://cache.nixos.org'...

system: "x86_64-linux"
host os: Linux 6.12.5, NixOS, 24.11 (Vicuna), 24.11.20241216.3945713
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.10
channels(root): "nixos-24.05"
nixpkgs: /nix/store/wj2qla569hnxwqfc26imv5hqbxc1rc27-source

Notify maintainers
@alfarelcynthesis
Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

This was my bad. I had keyd installed from github. This caused the conflicts