Unable to import modules which makes it impossible to train or test the code

Cuda Version: 8.0
Pytorch version: 0.4.1
GCC version: 5.2.0

The "modules" module cannot be imported, which leads to errors all across the board. Here's the stack trace-
>>> import modules
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/graphics/toyota-pytorch/inplace_abn/modules/__init__.py", line 1, in <module>
    from .bn import ABN, InPlaceABN, InPlaceABNSync
  File "/data/graphics/toyota-pytorch/inplace_abn/modules/bn.py", line 10, in <module>
    from .functions import *
  File "/data/graphics/toyota-pytorch/inplace_abn/modules/functions.py", line 16, in <module>
    extra_cuda_cflags=["--expt-extended-lambda"])
  File "/afs/csail.mit.edu/u/s/smadan/miniconda3/envs/test/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 494, in load
    with_cuda=with_cuda)
  File "/afs/csail.mit.edu/u/s/smadan/miniconda3/envs/test/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 670, in _jit_compile
    return _import_module_from_library(name, build_directory)
  File "/afs/csail.mit.edu/u/s/smadan/miniconda3/envs/test/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 753, in _import_module_from_library
    return imp.load_module(module_name, file, path, description)
  File "/afs/csail.mit.edu/u/s/smadan/miniconda3/envs/test/lib/python3.6/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "/afs/csail.mit.edu/u/s/smadan/miniconda3/envs/test/lib/python3.6/imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: /tmp/torch_extensions/inplace_abn/inplace_abn.so: undefined symbol: _ZN2at5ErrorC1ENS_14SourceLocationENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

When I try to run the inference using test_vistas.py, it tries to import modules which again gives the same issue.
Can someone please help out with this?

@Spandan-Madan can you upgrade cuda to at least 9.0 ?

@rotabulo Looked more into this. It seems to be a GCC versioning issue.
What version of GCC did you use when compiling? I'm on 5.2.


Support overriding model mount path in model server container

/kind feature
Describe the solution you'd like
Currently it is not possible to specify at what path the downloaded model should be available in the model server container. The downloaded model is always mounted in the model server container at /mnt/models.
We should allow the user to specify the path inside the model server container the volume should be mounted at. e.g.
apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
  annotations:
    ds.bloomberg.com/gpuSubtype: bloomberg.com/gpu-l4
    identities.bloomberg.com/bcs: platform-bcosv2
  name: huggingface-t5-hfs
  namespace: s-dsplatform
spec:
  predictor:
    containers:
    - args:
      - --model
      - llama-2-70b
      - --num_gpus=4
      command:
      - nemollm_inference_ms
      env:
      - name: STORAGE_URI
        value: s3://models/llama-7b
      - name: STORAGE_MOUNT_PATH
        value: /model-store
      image: nvcr.io/ohlfw0olaadg/ea-participants/nim_llm:24.02

Since serving runtimes may require models to be mounted at a specific location we should also make it configurable on a runtime level. e.g.
apiVersion: serving.kserve.io/v1alpha1
kind: ClusterServingRuntime
metadata:
  name: nim
spec:
  containers:
  - command:
    - nemollm_inference_ms
    image: nvcr.io/ohlfw0olaadg/ea-participants/nim_llm:24.02
    name: kserve-container
    ports:
    - containerPort: 9999
      protocol: TCP
  modelMountPath: /model-store
  supportedModelFormats:
  - autoSelect: true
    name: nim

@terrytangyuan didn't you change something related to it recently?

This would be a good feature to have, as a workaround you can set up a symlink to mnt/models for containers which only read artefacts from one location, but it's not ideal.
e.g. the bitnami tensorflow serving image only reads from /bitnami/model-data.


Changing tree grid toggle icon color when the cell is selected

Before:

After:
Light:

Dark:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
29425

Relevant Lines:
64632

💛  - Coveralls

please update screenshots to also include HC theme.

@alanrenmsft , screenshot updated.


python-packages xray: init at 0.6.0

tested with nox-review wip

@garbas xray runs on all platforms except PyPy. But because the dependency numpy already doesn't run on PyPy, there's no need to set the disabled flag.

Travis passed thanks.


Changed key name ui.service.type.fnuiPort to ui.service.type

Hello colleagues, while I was testing the installation of this helm chart, I found out that key name ui.service.type.fnuiPort was not working. After reviewing values.yaml I discovered that this key is named ui.service.type. This pull request is to update the readme file.

Thanks!


Fully upgrade RestEasy to Jakarta APIs

3000 changed files! I really sorry about this! I blame Oracle for this! :-)

mvn clean install works for all modules before the Galleon-pack one. I have no experience with Galleon and Arquillian so these will be hard for me to upgrade.

Thank you for all this work @martin-g. Unfortunately we cannot do this at the moment. We are working on this, but we've got some other steps we need to make first. This is coming very soon and we will be Jakarta REST 3.0 compliant. The current goal is to do this in RESTEasy 6.0.
I've actually got a local branch I tested with and it does require some updates to Arquillian. Galleon will work just fine either way :) It's what WildFly uses to produce it's Jakarta EE 9 preview.

@jamezp Is there a way to use RestEasy in jakarta.servlet based app ?
I see several blog posts at https://resteasy.github.io/ but IMO with latest 5.x it is still based on javax.servlet.
I saw some news that WildFly 24+ is Jakarta friendly too but I still cannot see how this could be true.

@martin-g For standalone RESTEasy there is currently not a way to use Jakarta REST 3.0, just the namespace change. What WildFly does is transform the bytecode to handle the package rename. I really don't think we're that far off from RESTEasy which does the namespace change.
However, we've moved all the MicroProfile stuff and Spring stuff out of the main project and into their own projects. We want do to a final release of 5.0.0 which will still be Jakarta REST 2.1 compliant to support those two new projects until they can migrate themselves, e.g. when the MicroProfile specs migrate resteasy-microprofile will be able to migrate.
The original plan was to make 5.x Jakarta REST 3.0. It just didn't work very cleanly because with MicroProfile and Spring there were a lot of transformations needed of binaries we don't produce. Moving these dependencies to their own project seemed cleaner and more user friendly.
All this said, it sounds like I should really produce a blog post to explain all this. :) Please feel free to ask any more questions or let me know of any concerns. Any feedback, positive or negative, is welcome and helpful for us to know what the community wants :)

@jamezp I am trying to migrate/update Apache Wicket from javax.servlet to jakarta.servlet.
Wicket uses CDI Unit which depends on Apache DeltaSpike and RestEasy.
DeltaSpike provided jakarta jars (via Maven classifier) in addition to the default (javax based).
Now I tried to use RestEasy 5.x but it seems it is far from it (3000 changed files!). 5.x is still in Alpha. And we will have to wait now for 6.x :-(
Using binary transformation works only locally. I need to make it easier for the end users to point to jakarta versions at Maven Central and build against it.

@martin-g Ah okay. Maybe what I can do then is create a jakarta-rest-3.0 branch and do a 6.0.0.Alpha1 based on that with the changes. I don't expect many changes for 5.0.0.Alpha1 now. I just called it Alpha because other projects need to test consuming it. Will an Alpha release work for now?

Yes! Thank you!
On Wed, Sep 1, 2021, 20:49 James R. Perkins @.***>
wrote:

@martin-g https://github.com/martin-g Ah okay. Maybe what I can do then
is create a jakarta-rest-3.0 branch and do a 6.0.0.Alpha1 based on that
with the changes. I don't expect many changes for 5.0.0.Alpha1 now. I just
called it Alpha because other projects need to test consuming it. Will an
Alpha release work for now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/resteasy/Resteasy/pull/2892#issuecomment-910513727,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABYUQVEMIFHQD6TSIVJMBLT7ZRRVANCNFSM5DEKUKSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Flag selectable does not work on tap, instead on long press

When I tap on the flag, nothing happens; instead if I long press the flag, then the sheet appears to select a country flag/country code.

I can't reproduce your issue. But I guess that you are using the field inside something intractable that delays the touch so you should hold your touch. Please upload a sample with your issue.

I'm going to close this since it is not reproducible. Feel free to reopen this when you upload your instructions or sample project.

I'm using the field inside a Form (SwiftUI) and I have a similar problem. I don't think Form delays touch

I had the same problem. A hideKeyboard onTapGesture was applied to containing Zstack. Moved it around and fixed.


Calculate a custom tip: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-calculate-tip?authuser=1&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%3Fauthuser%3D1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-calculate-tip#5
In which task and step of the codelab can this issue be found?
Step number 6(Add switch) on the task number 8.
Describe the problem
In the composable Switch, on the modifier should be modifier = Modifier (in the example look like: modifer = modifier). Because is the class not a parameter
Steps to reproduce?

Go to step number 6 (Add a Switch)
scroll to point number 8

Versions
_Android Studio version: Android Studio Iguana | 2023.2.1
_API version of the emulator: 28
Additional information

@peladno
Thank you for reporting this issue.
This is fixed and published soon.
Duplicate of #189


Feat1265 Docker inspect container

This PR adds new button to the bottom of container's status section that will redirect to inspection page with data recieved from ContainerInspect call

Closes #1265

Ah, we made it ! Thanks @G07cha :+1:


Bump 3.0.1

Merge v3.0.1 of create-react-app into this fork. I'm not sure the best way to test this?

@diffcunha I've tested this by linking to dh-viewer and testing all scripts are still working (including scripts run in CI). I've also read through the 3.0.0 release notes and we should not be affected by any of the changes


Add required dependencies to Arch package

Clearly describe the problem and solution
I've added a few missing dependencies for ArchLinux package. This is information for the pacman installer to figure out which other packages it needs to install.
"perl-http-message perl-lwp-protocol-https perl-json" is required for db/db.pl.
"libnet" is required for bin/capture.
I found these by looking at the build container: https://github.com/arkime/arkime/blob/main/release/buildArch/Dockerfile
Testing
I've been unsuccessful in installing screwdriver.cd, so I haven't tested this yet.
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

awesome, could you add to the release-arch section also?

Good catch! I've added the dependencies there too.

thanks


Fixed #24254 -- Unselected implicit order columns from sliced  subqueries using distinct().

https://code.djangoproject.com/ticket/24254

buildbot, test on oracle.

This ended up not having to be tested on MySQL and Oracle as they both don't support sliced subqueries.

Perhaps using a less technical commit message like "Fixed queries using the __in lookup with querysets using distinct() and order_by()." (adapted from the ticket's description, you might improve it) could be useful also. The current commit message might be more useful as a code comment.

@timgraham adjusted the patch based on your input. Let me know if the comments are too verbose.


LLM device actions mock (phase 1)

📝 Description
This work adds the ability to test all parts of our mobile application including the parts requiring a device action to be done. For the first time, we can therefore cover Add Accounts, Send, Receive,...

The same DeviceAction model that exists on LLD has been created for the LLM stack. (with better and more explicit typing. we also share common hooks in order for the dynamic env to be connected)
a helper loadBleState was created for a test to inject mocked "known devices" on the app
a helper loadAccounts was created for a test to inject mocked accounts, directly from the code, notably reusing those provided by the genAccount generator
all part of the app that use actions has been connected to the mock system.

test example for send
https://github.com/LedgerHQ/ledger-live/assets/211411/ebd332ab-ab54-46e6-a47c-30879a856f4b
test example for add account:
https://github.com/LedgerHQ/ledger-live/assets/211411/489689b2-4c0e-413b-8db2-8a9515106006
Canonical test example
import { expect } from "detox";
import { loadBleState, loadConfig } from "../bridge/server";
import PortfolioPage from "../models/wallet/portfolioPage";
import DeviceAction from "../models/DeviceAction";
import { DeviceModelId } from "@ledgerhq/devices";

let portfolioPage: PortfolioPage;
let deviceAction: DeviceAction;

const knownDevice = {
  name: "Nano X de test",
  id: "mock_1",
  modelId: DeviceModelId.nanoX,
};

describe("...", () => {

  beforeAll(async () => {
    loadConfig("onboardingcompleted", true);

    loadBleState({ knownDevices: [knownDevice] });

    portfolioPage = new PortfolioPage();
    deviceAction = new DeviceAction(knownDevice);

    await portfolioPage.waitForPortfolioPageToLoad();
  });

  it("...", async () => {
     // ... do whatever follow that lead to a "select device" step
  });

  it("pass device step", async () => {
    // device actions and add accounts modal have animations that requires to disable synchronization default detox behavior
    await device.disableSynchronization();
    await deviceAction.selectMockDevice();
    // ... do whatever action with deviceAction. for instance:
    await deviceAction.openApp();
  });
});

❓ Context

Impacted projects: LLM
Linked resource(s): ?

✅ Checklist

[x] Test coverage

[x] Atomic delivery

[x] No breaking changes

[x] taking some improvements from https://github.com/LedgerHQ/ledger-live/pull/2592

[x] TypeScript improvements

[x] providing a first solution similar to LLD device mocks in order to be able to cover all flows. (TBD what it means)

[x] DeviceAction model object creation
[x] create "mockDeviceEvent" that allows to communicate to all underlying "createAction" (on the same paradigm as in LLD)
[x] implement the methods of that model object emitting to that "mockDeviceEvent"
[x] create minimal test examples for each section to cover.

[x] add accounts
[x] send
[x] receive
[x] manager

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

Great work! Exciting now we can add some tests! I left some comments and questions to help my own understanding. So is this implementing the new 'device paradigm' that Gabriel was talking about or is it purely adding code to allow us to mock the device events with Detox?

@ggilchrist-ledger
it's not implementing the new device paradigm yet as the scope of this addition was purely to allow to cover the important and basic missing flows like add account / send / receive (https://ledgerhq.atlassian.net/browse/B2CQA-1886)
I say allow to cover, because my scope was also not to write any test but more to make it possible to do. that said, i still have developed a few basic cases (add account, send, receive, manager) but you'll need to determine the approach / goals on QA side because there will be a cost/benefit study to do. (these tests are slow :'( )

Ok it's clear to me, thanks. Well it's still a big step forward. We can maybe tag the 'important' tests and run them on merge to develop/ nightly/ whatever like we do with LLD and the smoke/full tests


Running SmartSeq2 logic with "-U" gives IOError for missing UMI barcodes

Hi, I am trying to run velocyto on data generated using SmartSeq2, using the current dev branch.
I ran the command:
velocyto run -l SmartSeq2 -o ./velocyto -U $BAMPATH $GTFPATH
And I get the following error:
Traceback (most recent call last):
  File "/nfs/software/stegle/users/dseaton/conda-envs/velocyto_env/bin/velocyto", line 11, in <module>
    load_entry_point('velocyto', 'console_scripts', 'velocyto')()
  File "/nfs/software/stegle/users/dseaton/conda-envs/velocyto_env/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/nfs/software/stegle/users/dseaton/conda-envs/velocyto_env/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/nfs/software/stegle/users/dseaton/conda-envs/velocyto_env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/nfs/software/stegle/users/dseaton/conda-envs/velocyto_env/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/nfs/software/stegle/users/dseaton/conda-envs/velocyto_env/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/nfs/software/stegle/users/dseaton/python_packages/velocyto.py/velocyto/commands/run.py", line 114, in run
    samtools_memory=samtools_memory, dump=dump, verbose=verbose, additional_ca=additional_ca)
  File "/nfs/software/stegle/users/dseaton/python_packages/velocyto.py/velocyto/commands/_run.py", line 156, in _run
    exincounter.peek(bamfile[0])
  File "/nfs/software/stegle/users/dseaton/python_packages/velocyto.py/velocyto/counter.py", line 148, in peek
    raise IOError("The bam file does not contain cell and umi barcodes appropriatelly formatted. If you are runnin UMI-less data you should use the -U flag.")
OSError: The bam file does not contain cell and umi barcodes appropriatelly formatted. If you are runnin UMI-less data you should use the -U flag.

I checked my BAM and GTF files are correct and compatible. The first few lines of my BAM are like this:
HS34_22606:3:2212:13187:68945	419	chr1	156025	0	122M	=	156265	344	GTCTTGCTCTATCACCTAGGCTGGACTGCAGTGCTGCAATCACAGTTAACTGCAGCCTCAACCTCCAGGGCTTGAGCAATATTCCCATCTAATTTTTATCTTGTTTAAGAAGTGCAGTCTTG	BBBBB<BFFBFFF/<F/</FF<F7FFFFFB/<BFBFFF/F<FFBFB</<<</<F<F</BF/</BFFB///<F/</B///<</</FBBB/B/FF<BF//B///<<F/B//B/<//7/BF///B	MD:Z:33G65T11A10	PG:Z:MarkDuplicates	RG:Z:22606_3#76	NH:i:6	HI:i:2	NM:i:3	AS:i:208
HS34_22606:3:2212:13187:68945	339	chr1	156265	0	21S104M	=	156025	-344	CACGGACTCCAGGGGTGCCCAGCCACGAGTAGCTCCTTTTTTTTTTTTAATATTTAGTAGAGACAAAGTGTCACCATGTTGACCAGGTTGGTGGTGATCTCCTACACTCAGGCAGTTCTCTCACC	7//BB7/<7B77/////7////</B///B7//B<<///BBB/FBF/FF</////<B/F<B/FFFBFFFFFF</<<BBB</FFBBF//BF</<</FBFFFFFFB/FBFFFFBFF<BBBB/<BBB</	MD:Z:2A3T7A15T22T50	PG:Z:MarkDuplicates	RG:Z:22606_3#76	NH:i:6	HI:i:2	NM:i:5	AS:i:208
HS34_22606:3:1314:4949:83531	99	chr1	340951	255	9M42S	=	566538	225711	GGTATCAACGCAGAGTACTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT	//BBBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF	MD:Z:9	PG:Z:MarkDuplicates	RG:Z:22606_3#76	NH:i:1	HI:i:1	NM:i:0	AS:i:119
HS34_22606:3:2310:16017:71190	137	chr1	526895	255	8S116M	*	0	0	GGCGAAAAACGAGGACAGAAGATCGAGACCATCCTGGCTAACACGGTGAAACCCCGTCTCTACTAAAAATACAAAAAATTAGCCGGGCATGGTAGTGGGCGCCTGTAGTCCCAGCTACTTGGGA	/////<//<//<////<//B/F/</BB///<</F<<///<//<F<F<BBFFF/FFFFFFBF/FBFF<FFFFBBBB/FBB<7FF/<BBBFB<BFFFFF/7<<7/BBFF/7B7/7/B7B//7B/BB	MD:Z:6T68T9G30	PG:Z:MarkDuplicates	RG:Z:22606_3#76	NH:i:1	HI:i:1	NM:i:3	AS:i:108
HS34_22606:3:1316:9877:80870	355	chr1	564464	3	8S115M	=	564664	324	GAGTACATGGGAGTCCGAACTAGTCTCAGGCTTCAACATCGAATACGCCGCAGGCCCCTTCGCCCTATTCTTCATAGCCGAATACACAAACATTATTATAATAAACACCCTCACCACTACAAT	/BBBB<FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF<FFFFFFFFFFFFFFFFFFFFFFFFBFFFFFFFFFFFFFFFFFFFFFFF/BFFFFFFFFFFFFFFFBFFFFFFFF<F	MD:Z:115	PG:Z:MarkDuplicates	RG:Z:22606_3#76	NH:i:2	HI:i:2	NM:i:0	AS:i:237
HS34_22606:3:1213:5571:77912	163	chr1	564659	3	125M	=	564673	139	CCCTGTTCTTATGAATTCGAACAGCATACCCCCGATTCCGCTACGACCAACTCATACACCTCCTATGAAAAAACTTCCTACCACTCACCCTAGCATTACTTATATGATATGTCTCCATACCCATT	BBBBBFBFFFFFFFF/FFFFFFFFFFFFFFFFFFFFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF<FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFB	MD:Z:125	PG:Z:MarkDuplicates	RG:Z:22606_3#76	NH:i:2	HI:i:1	NM:i:0	AS:i:248

I think I'm on the most up-to-date dev branch. The output of pip freeze for velocyto version is:
-e git+https://github.com/velocyto-team/velocyto.py.git@e7b2a82dc8d23f47d190f7c4d3f326892d5ba2b8#egg=velocyto

Thanks for making the software, and for releasing as a preprint for people to read about and try while still under development.

The problem is that you are using run instead of run_smartseq2.
run has a more tricky set of inputs you need to get right.
The usage is
Usage: velocyto run_smartseq2 [OPTIONS] BAMFILES... GTFFILE

  Runs the velocity analysis on SmartSeq2 data (independent bam file per cell)

  [BAMFILES, ...] a sequence of bam files to be analyzed (e.g. use a wild-card expansion)

  GTFFILE genome annotation file

Options:
  -o, --outputfolder PATH  Output folder, if it does not exist it will be created.
  -e, --sampleid PATH      The sample name that will be used as a the filename of the output.
  -m, --repmask PATH       .gtf file containing intervals to mask
  -d, --dump TEXT          For debugging purposes only: it will dump a molecular mapping report to hdf5. --dump N, saves a cell every N cells. If p is prepended a more complete (but huge) pickle report is printed (default: 0)
  -v, --verbose            Set the vebosity level: -v (only warinings) -vv (warinings and info) -vvv (warinings, info and debug)
  --help                   Show this message and exit.

Furthermore you can pass al the bamfiles at the same time using wildcard (glob) expansion.
I am sorry if this is not in the docs yet but it will come soon.

Great, thanks, that works! There were a couple of side issues, which I'll make other issues for (I guess that's the easiest way for you to keep track of issues?)
Something unusual still happens when I try to run it on one individual bam file. So this works:
velocyto run_smartseq2 -o ./velocyto star/22606_3#73/22606_3#73.2pass.Aligned.sortedByCoord.dedup.bam star/22606_3#72/22606_3#72.2pass.Aligned.sortedByCoord.dedup.bam $GTF

But this gives the same IOError as above, saying it should be run with "-U":
velocyto run_smartseq2 -o ./velocyto star/22606_3#73/22606_3#73.2pass.Aligned.sortedByCoord.dedup.bam $GTF

But it obviously makes most sense to run lots of bams at once, so this isn't really a problem. I was just trying one at a time to test it out quickly.

I am sorry if this is not in the docs yet but it will come soon.

No worries, didn't expect complete docs while trying out the dev branch!

Problem fixed in the dev branch. It will be released together wiht 0.17.1


Miscellaneous quality-of-life improvements

These made hacking on Quixe easier for me:

Replaced src/glkote with a submodule, which requires some light git maintenance (git submodule update --init is enough 90% of the time) but saves you from frequently copying between repos.

Fixed build.py to run with Python 3.  (Arch Linux points python at Python 3.)

Stripped all trailing whitespace from the Quixe source.  (I have some vim plugin that does this on save, and it kept adding tons of patch noise.)

Cut out layouttestpane and instead generate it automatically, which cuts out a big chunk of the HTML a user has to stick in a file.  This is the only part to require an actual glkote bump: erkyrath/glkote#4

Blindly replace == with ===, in the vain hope that it'll be slightly faster.  As far as I can tell, it wasn't.  Oh well.

Rebased away the .gitignore.

:+1:

I've applied the build.py change and the removal of layouttestpane. As for the rest...
The submodule change is a reasonable thing to ask, but I don't want to mess with that workflow right now. The submodule sync command isn't actually any easier (for me) than just copying the files over.
Removing trailing whitespace is futile; it will drip back in again as I edit code.
Blind changes are never a great idea. :/

Removing trailing whitespace is futile; it will drip back in again as I edit code.

You need a better editor then. :imp: Snarking aside, your preferred editor doesn't have a trailing white space option?

I'm sure it does. Does your editor have an option to not strip it?

The nice thing about submodules is that you don't even need separate checkouts; commit inside the submodule, commit outside the submodule, you're done.  Between commits you don't have to copy anything at all.  You only need to do the sync dance if someone else makes changes, which looks to be fairly uncommon.  :)
Sure.  Doesn't bother me, just was an easy gotcha to fix.
And yeah that's fair.  :)


fix: domain user no previleges to convert host

这个 PR 实现什么功能/修复什么问题:
修正：域管理员没有权限执行物理机转换宿主机操作

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

release/3.2

/cc @zexi @wanyaoqi
/area region
/hold

Codecov Report

Merging #6618 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #6618      +/-   ##
==========================================
- Coverage    7.16%    7.16%   -0.01%
==========================================
  Files         647      647
  Lines      109335   109338       +3
==========================================
  Hits         7831     7831
- Misses     100904   100907       +3
  Partials      600      600

Flag
Coverage Δ

#aFlag
7.16% <0.00%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/hosts.go
0.30% <0.00%> (-0.01%)
:arrow_down:

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 d236823...c563f02. Read the comment docs.


Command mapped to "Space" is getting invoked despite (presumably) correct when clause

I have the following keybinding:
  {
    "key": "space",
    "command": "vspacecode.space",
    "when": "!whichkeyActive && !inputFocus && !textInputFocus"
  },

This works perfectly fine pretty much everywhere I've tried, except in the comment field in the sidebar when I go to approve/request changes on a PR. When I hit "Space", the above command gets invoked, even though I believe that technically that text field should have focus (and thus should be ignored based on the above when clause).
Am I missing something? Is there a "proper" when clause so that I can leave "Space" mapped to that command? Otherwise I guess I'll still need to use the web interface (which is what I'm trying to void by using this extension in the first place 🙂 )
Any pointers would be much appareciated. Thanks!

Extension version: 0.21.0
VSCode Version: 1.51.0
OS: macOS 10.15.7

Steps to Reproduce:

Set up the above keybinding with the VSpaceCode extension installed and properly configured.
Try typing in a PR's comment field and hit "Space"
VSpaceCode is invoked, despite the when clause seemingly not being true.

This is interesting. You are in a text input, but it's in a webview. @mjbvz would you expect those text/input contexts to get set properly when in a webview (I suspect the answer is no)?

No, VS Code will not set these for webviews. The PR extension could set these contexts itself (or introduce new context keys)

Interesting, so this would need to be implemented by any extension that has a text field in a web view? If that's the case, I'd need to reach out to every extension author over time when I run into this, which seems less than ideal. Is this something to be solved in VSCode itself then?

I suggest you explore scoping the command to specific contexts where it is supported (such as in editors) instead of trying to selectively disable it

The point of the command is that I should be able to invoke it anywhere as long as I'm not inputting text anywhere. It's mostly for navigational purposes, and the convenience of the space invocation is a big reason why I opened https://github.com/microsoft/vscode/issues/103845
I might just open an issue in VSCode then to have this addressed - text fields should behave similarly and not have unexpected behavior like this, regardless of whether or not it's in a web view. Most users are not going to know the difference or understand why there is different behavior, especially when the web views look so much like actual "normal" VSCode UI (which, as noted by this issue being opened, I didn't realize either).
Thanks for the pointers though, appreciated!

For this extension, we're not going to add contexts for the text input in the webview. As you say, @macintacos, that would mean that every extension that makes a webview would need to add such contexts in order for your use-case to work and that just doesn't seem like it's going to happen.

This worked for me:
  {
    "key": "space",
    "command": "vspacecode.space",
-    "when": "!whichkeyActive && !inputFocus && !textInputFocus"
+    "when": "!whichkeyActive && !inputFocus && !textInputFocus && !github:createPullRequestWebview.active"
  },


Occasional Red Stroom on logout

Looks like CORS - try adding X-GWT-Module-Base to allowed headers.
Cause: logging out.

Also this on logout:

Can't re-produce.


No longer purchasing games

I use the Alexbelgium add-on version.
since a couple of weeks the add-on shows the purchase page (where you still have to click on confirm purchase) instead of the captcha page.
also, I've had captcha request since the very first purchase, is there any way to do anything about this on home-assistant? (please ELI5)

The captcha seems to be changing, like I have at least seen 3 different kinds.
Latest one being:

No longer relevant in latest version


Update sponsors.md with a twitter handle

Added twitter handle for Fredrik Karlsson
What issue does this PR address?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[ ] The commit follows our guidelines
[ ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:

thanks!"


Adapt algorithm parameter sequence changes from C++17

rename inner_product to transform_reduce
align parameter sequence for transform_reduce and transform_*_scan algorithms

Can I go ahead and merge this now?

All review comments have been addressed.


Warnings about missing Tb files when running init

Running docker compose run cli init all results in  a large number of warning-level logs indicating that data are missing for dates from 2022-05-01 through 2024-09-25. E.g., :
2024-09-25 14:14:43.929 | WARNING  | antarctica_today.generate_daily_melt_file:generate_new_daily_melt_files:103 - Warning: At least one NSIDC Tb file on date '20240923' is missing. Skipping that date.
2024-09-25 14:14:43.962 | WARNING  | antarctica_today.generate_daily_melt_file:generate_new_daily_melt_files:103 - Warning: At least one NSIDC Tb file on date '20240924' is missing. Skipping that date.
2024-09-25 14:14:43.994 | WARNING  | antarctica_today.generate_daily_melt_file:generate_new_daily_melt_files:103 - Warning: At least one NSIDC Tb file on date '20240925' is missing. Skipping that date.

This is normal, and documented in operation.md :)

Perhaps a useful change would be to downgrade them to debug messages.

@mfisher87 so you don't think this is a problem? The only reference I see in the operation.md is a TODO that we see a lot of these warnings, but no context as to if they are problematic for data processing.

Oh, my bad, I have no idea what happened to that documentation now. I had replaced that TODO with the answer to the question: The warnings that are thrown are for dates that are expected to have no data. They really should be debug messages, not warnings. I feel like I'm going crazy :laughing:


Summarize writing retreat

social media updates
summaries collection
translate into todos

Deadline for all participants to prepare their reports: 19.4
This needs to happen after that and the corresponding team meeting on 22.4

Summary meeting concluded on 3.6
ToDo:

finalize writing blog posts
merge latest blog posts
post about them on social media : Suggestion post can be found here: https://hackmd.io/@coderefinery/blog_some (missing only the latest blog posts)

To be blogpostified: https://hackmd.io/@coderefinery/finance-plan-ws-summary

-> #875 ; but needs to wait for final ok from author who is on holidays for most of July.

This has been published: https://coderefinery.org/blog/2024/06/17/finance-models/
Closing.


[Bug]Crafttweaker Turntable Support is ineffective

T tried the format below, changing the inputs and outputs and/or removing the extra material; it continuously gave me an error upon reload. Could you identify what's wrong?
mods.betterwithmods.Turntable.addRecipe(, , <extra_materials>);
mods.betterwithmods.Turntable.addRecipe(minecraft:clay, <cs3_1:unfired_clay_water_vessel>, minecraft:clay_ball);

The additional outputs need to be in an array, so the recipe should be Turntable.addRecipe(minecraft:clay, <cs3_1:unfired_clay_water_vessel>, [minecraft:clay_ball]);

I've started to crawl through the source and made a few amendments to the Wiki where an array is required, but not documented. I had the same trouble with the Kiln.add(, ); needing to be Kiln.add([], );
I'll continue to amend the Wiki as I discover these, I think this can be closed for now.


Update PDBe JS regarding some data changes in Ensembl REST

Fixing a missing Core data change I couldn't test before the Test REST server was available.
See an example with the fix on my sandbox:
http://ves-hx2-76.ebi.ac.uk:5060/Homo_sapiens/Variation/PDB?v=rs699

All good, i have merged the changes and push to the test checkout and restarted test, you should be able to test this on test.ensembl.org

Thank you Ridwan!


What does the top level restart mean - and it is not implemented.

Describe the bug
What does the top level restart mean?
It exists in the top main-window,  in the file-menu - and in the tools menu - and it is not implemented.
To Reproduce
Expected behavior
Propose to remove this global restart option, and create a restart option for each decoder.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context

Fixed.
Removed from main-frame.


WatchTower server huge memory usage and crashing

Background
I am using an instance of LND as a WatchTower server. Every week the LND is crashing because of huge memory usage. I am using Raspberri Pi 4 with 4Gb RAM. It takes about a week to fill all the memory and the OS is killing the LND daemon.
I guess the problem is the constant connection and disconnection of the WatchTower client.
Your environment

version of lnd: 0.8.1
which operating system (uname -a on *Nix): Ubuntu Server 18.04
version of btcd, bitcoind, or other backend: bitcoind <IP_ADDRESS>
any other relevant environment details: Raspberri Pi 4

Steps to reproduce
Run LND with watchtower.active=1 option. Connect a WatchTower client that is constantly making backups to the server.
Expected behaviour
The WatchTower server should work and be reliable.
Actual behaviour
LND is using too much memory with time and the OS kills it when no free memory is left.

We'll need to obtain a heap profile to properly debug this. You can do so by restarting your node with the flag --profile=PORT and running go tool pprof -png http://localhost:PORT/debug/pprof/heap > out.png once you experience the high memory usage. This will create a PNG file which you can then post here.

@peername it’s pretty surprising that this is happening, the tower has virtually no in memory state and clients are timed out aggressively to prevent long standing connections. definitely interested to see what the heap profile shows.

its using bitcoind so could be related to #3370

Closing due to inactivity.


itest-flake: bitcoind etcd fail over

This flake pops up occasionally:
=== CONT  TestLightningNetworkDaemon/81-of-82/bitcoind/etcd_failover
    lnd_test.go:11652:
        	Error Trace:	lnd_test.go:11652
        	            				lnd_test.go:11676
        	Error:      	Received unexpected error:
        	            	rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:9192: connect: connection refused"
        	Test:       	TestLightningNetworkDaemon/81-of-82/bitcoind/etcd_failover

Before then it seems etcd (?) isn't able to connect to an instance for w/e reason:
WARNING: 2021/07/09 23:07:36 grpc: addrConn.createTransport failed to connect to {http://<IP_ADDRESS>:9189  <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:9189: connect: connection refused". Reconnecting...
WARNING: 2021/07/09 23:07:36 grpc: addrConn.createTransport failed to connect to {<IP_ADDRESS>:9169  <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:9169: connect: connection refused". Reconnecting...
WARNING: 2021/07/09 23:07:36 grpc: addrConn.createTransport failed to connect to {<IP_ADDRESS>:9170  <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:9170: connect: connection refused". Reconnecting.

I'll take on this one.


Changed how loadRolesIfNeeded calls are dispatched

Summary
Change proposed by elias, use directly dispatch(loadRolesIfNeeded(...)) instead of loadRolesIfNeeded(...)(dispatch, getState)

@enahum no rush about it, I know you are out today.


Possible to set Max Markers per Cluster?

It would be great if there was a way to set a max cluster size so that when you zoom out, the clusters remain spread out.   It would create a more diverse map if we could set a cap on how many markers could fit into a single cluster.  For instance setting a limit of 50 per cluster, rather than it lumping 432 nearby markers, it would create 8 clusters with 50 markers and 1 group with the remaining 32.

+1

+1 Would like to set max to 2 markers so that a single cluster can represent the start and end point of a ferry route...

Hi, is there any progress on this suggestion of setting min/max number of markers per cluster ?

+1 - Yes, would really like to be able to set bounds; for example clusters should contain 70-80 markers.  This will likely lead to overlapping clusters, but that is OK.

See also #399 concerning the lower bound


[GH-#70] Increment transaction nonce for every outgoing transaction

closes #70 #57

The nonce in the chain_state should be set to the highest nonce of the account included in a block, if the first transaction of an account is nonce 100, following transactions with nonces <= 100 should be invalid.


Smart Edge wrong behaviour on Sub Flows

First of all, I thank you for your great work.
The issue is drawing edges in subflows is wrong. In the below figures parentNode of the smaller nodes is the WHILE node.
Expected behaviour:

It should be drawn like this for all positions inside the parent node.
Actual Result:

After moving a little bit on one of the nodes, the edge was drawn wrong.
Maybe something similar to #28 can solve this.

Sure, you can look at this sandbox.
I think so, maybe parent nodes can be somewhat ignored during calculating the path.

@spaceymonk I just launched version 2.0.0 of this library, that exposes a getSmartEdge function instead of factories, check the new README. It accepts a nodes argument, so you could filter out sub-flows before calling this function.
I still need to consider if it's worth to have a sub flow filter on the library itself, so I'll leave this issue open

Thank you for your efforts, after upgrading to the new version and filtering the parent nodes, it worked like a charm.  About your question,

@spaceymonk I just launched version 2.0.0 of this library, that exposes a getSmartEdge function instead of factories, check the new README. It accepts a nodes argument, so you could filter out sub-flows before calling this function.
I still need to consider if it's worth to have a sub flow filter on the library itself, so I'll leave this issue open

After supplying the node list, I think the expected behaviour is to correctly handle sub-flow connections.

im facing a similar issue while using the custom edge example from the docs,

filtering the nodes in getSmartEdges is not really an option for me, since the connections can be in between the nodes withing a sub-flow or between a node in sub-flow and another node outside.
It would be great if you can help me out on this one


cabana: highlight dowloaded segments

Highlight downloaded/cached segments, make It is easy to know the current cache status.

dark theme:

Nice! In general I think the contrast is relatively low and hard to make things out. Can we increase the contrast in a new PR?


Ingestion of CloudWatch Data to Sentinel using Lambda function and S3

DataConnectors/AWS-S3/CloudWatchLambdaFunction_V2.py and DataConnectors/AWS-S3/CloudWatchLambdaFunction.py issue of ingesting logs. When Lambda code is triggered i receive errors.
More in depth: https://techcommunity.microsoft.com/t5/microsoft-sentinel/ingestion-of-aws-cloudwatch-data-to-microsoft-sentinel-using-s3/m-p/4232203
Error:
Response {   "errorMessage": "Unable to import module 'lambda_function': Error importing numpy: you should not try to import numpy from\n        its source directory; please exit the numpy source tree, and relaunch\n        your python interpreter from there.",   "errorType": "Runtime.ImportModuleError",   "requestId": "",   "stackTrace": [] }

Hi @VasDju, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates. Thanks!

Hi @VasDju, Could you please try with below steps and let us know if it helps you to resolve this issue:

Click on Layers:

Click on Add a layer:

Select below configuration and Add:

And Test your Function again. Thanks!

Hi @VasDju, Waiting for your response on above comment.

Hi @VasDju, Gentle Reminder: We are waiting for your response on this issue. If you still need to keep this issue active, please respond to it in the next 2 days. If we don't receive a response by 02-10-2024 date, we will be closing this issue.
Thanks!

Hi @VasDju, since we have not received a response in the last 5 days, we are closing your issue as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation.


mysql: add php example

code/products/mysql/connect.php
docs/products/mysql/howto/connect-with-php.rst

What changed, and why it matters

Could you add some context about why this change is needed? Does it fix a bug, add a feature, or something else?

I could not find a php example for mysql, could it be that you forgot to commit the file?

Could you add some context about why this change is needed? Does it fix a bug, add a feature, or something else?

This is an example on how to connect to MySQL using php. We have example on how to connect to PostgreSQL but not MySQL.

I have re-commit the files again.

Hi, this seems good @sluhur! Thanks for adding this example. @lornajane would be possible to help us to review? I'm not familiar with php code.

Thanks! I made some minor changes to make it a bit more "PHP" but this is a nice addition.


⚠ Itaca Gallery has degraded performance

In 304f567, Itaca Gallery ($SITE_TCGLR) experienced degraded performance:

HTTP code: 200
Response time: 6398 ms

Resolved: Itaca Gallery performance has improved in d3d2992 after 28 minutes.


project-form added

Added basic template for adding projects to the application.
Closes #94

Can you fix Textarea (dark mode text is not visible)

Can you fix Textarea (dark mode text is not visible)

Yeah sure .

On smaller screen can we move input field below the tags.

creen can we move input field below the tags.

Got it nice point will work on these point 👍

@AdityaPainuli please see the issues i faced:
Tags Size Inconsistency

Text color not changed on light mode

what's the need of this image at the top?

@AdityaPainuli please see the issues i faced:
Tags Size Inconsistency

Text color not changed on light mode

what's the need of this image at the top?

And also I prefer tags should below the tags input fields.

Where should I put the image then at the bottom ?

Could you please follow the figma design?

Where should I put the image then at the bottom ?

We don't need an image in my opinion.
__
  Summary: :question: I have a question

Where should I put the image then at the bottom ?

We don't need an image in my opinion.
__        Summary: ❓ I have a question

yeah instead we can put an image picker or drop place in the middle

Where should I put the image then at the bottom ?

We don't need an image in my opinion.
__        Summary: ❓ I have a question

The image would work like the thumbnail for the project.

Where should I put the image then at the bottom ?

We don't need an image in my opinion.
__        Summary: ❓ I have a question

The image would work like the thumbnail for the project.

how image will change? all projects will have this image only?

I am going to open a new PR for it as the conflicts arises due to new code changes.


Count combinations returns NAN

Consider using bcmath in factorial calculations.
This code results in NAN
$p = new Combinations(range(1, 200), 2);
var_dump($p->count());

While this code results in 19900
$p = new Combinations(range(1, 200), 2);
var_dump(count($p->toArray()));

thanks, will check this out asap.

This is indeed a confirmed bug.
I'm still wondering if I should use count($p->toArray()) to get the count or rely on a mathematical formula.
The issue while using the first proposition is that it needs to compute the whole solutions array.
The issue using the last proposition is that it might generate huge numbers and then they gets simplified (root of the issue you reported).
I'm still wondering what to do.

Fixed, tagged a new version 1.3.3 ready for use.
Thanks for the bug report!


Allow customized Vim mode prompt text on status bar

Everything mentioned in the ealier issue (#177) are implemented. Viola!
CSS Class Names

Mode
Class Name

normal
plugin-obsidian-vimrc-support-prompt-normal

insert
plugin-obsidian-vimrc-support-prompt-insert

visual
plugin-obsidian-vimrc-support-prompt-visual

replace
plugin-obsidian-vimrc-support-prompt-replace

Demo

Settings Page

Custom Text

Status Bar

Utilizing the CSS Classes

Test with the CSS code below:
.plugin-obsidian-vimrc-support-prompt-normal {
    color: red;
}
.plugin-obsidian-vimrc-support-prompt-insert {
    color: blue;
}
.plugin-obsidian-vimrc-support-prompt-visual {
    color: aqua;
}
.plugin-obsidian-vimrc-support-prompt-replace {
    color: green;
}

Actually I'm thinking of also adding class names to the div.status-bar, which enables some powerline-ish styling. But not sure how people like it.

New toggle option: Add Vim mode class to status bar
If the option is set to true, the corresponding CSS classes will also be added to the div.status-bar element. This allows custom CSS on the whole status bar such as some powerline-ish stylings.
Demo
Settings Page

Custom Status Bar
Applying the one theme colors.

One more show case with the powerline font and :after pseudo element :)

That's really cool, I'm sure many users would love it.
I'm sorry in advance that it might take me longer than it should to properly review and merge this, but it'll definitely get in!
One request I can already see that may be worthwhile: would you mind changing the usage of CSS classes (e.g. plugin-obsidian-vimrc-support-prompt-normal) to a class (e.g. vimrc-support-vim-mode) + a data attribute named data-vim-mode? I think it would make things cleaner.

That's really cool, I'm sure many users would love it. I'm sorry in advance that it might take me longer than it should to properly review and merge this, but it'll definitely get in! One request I can already see that may be worthwhile: would you mind changing the usage of CSS classes (e.g. plugin-obsidian-vimrc-support-prompt-normal) to a class (e.g. vimrc-support-vim-mode) + a data attribute named data-vim-mode? I think it would make things cleaner.

@esm7 Hi, sorry for the late response. I've just committed the changes, would you mind taking a look on it? Thank :D

And the README updates, almost forgot about it :x

I have figured out a problem that might be related with other parts of the plug-in. For details please check the issue I just posted #179

I want to add again that this is a really cool PR and I'm looking forward to getting it merged!
Two comments:

One more thing that I noticed when reviewing it, is that I'm unsure why the vimModeStatusBarCSSClass is actually needed. The whole-status-bar, Airline-style thing is really cool, but I believe that the extra setting is actually redundant. If I'm not mistaken, using the single data attribute in the internal element you can achieve the same thing by using the ::has CSS selector. What do you think? If that's the case, I vote for keeping the code and the HTML elements as clean as possible and prevent the attribute duplication.
The Airline-like examples in this PR are too cool to be left here. I think they deserve a snippet and a screenshot in the documentation.

I want to add again that this is a really cool PR and I'm looking forward to getting it merged!
Two comments:

One more thing that I noticed when reviewing it, is that I'm unsure why the vimModeStatusBarCSSClass is actually needed. The whole-status-bar, Airline-style thing is really cool, but I believe that the extra setting is actually redundant. If I'm not mistaken, using the single data attribute in the internal element you can achieve the same thing by using the ::has CSS selector. What do you think? If that's the case, I vote for keeping the code and the HTML elements as clean as possible and prevent the attribute duplication.
The Airline-like examples in this PR are too cool to be left here. I think they deserve a snippet and a screenshot in the documentation.

Just did some research and you are right! I thought Obsidian does not support has selector (cuz it indeed didn't, a while ago), but it seems that in v1.1.9 they have upgraded the electron version so we shall be comforatble to remove the status bar CSS class. 😄

Cool, definitely!

1. Just did some research and you are right! I thought Obsidian does not support `has` selector (cuz it indeed didn't, a while ago), but it seems that in [v1.1.9](https://forum.obsidian.md/t/obsidian-release-v1-1-9/50426) they have upgraded the electron version so we shall be comforatble to remove the status bar CSS class. smile

I guess I was blessed by ignorance, as I tried :has for the first time in Obsidian just a couple of weeks ago, and never knew it was not supported at some point :laughing:
Thanks again!

@esm7 Big apologies, I just realized that I didn't remove the console.log line here lol. Would you mind fixing that for me (so we don't need to go over the merge request red tapes)? Thanks!

Hi how!
This looks reaaally fancy to have in Obsidian, any news on when will it make it to the next release?
Best,


[Bandcamp] update - fix regexp for JSON matching

@gilou
https://github.com/ytdl-org/youtube-dl/pull/26684
https://github.com/blackjack4494/youtube-dlc/issues/148 @dym-sh

@gilou I guess your latest commit finished the whole PR? Let me know if you plan to change some more. Otherwise I will merge it tomorrow.

Let others people jump in and acknowledge the last version maybe hehe, or test it yourself. But I'm happy with it.
I didn't know about youtube-dlc and the current youtube-dl situation, that is not a happy solution, but I guess you took action to make things happen, so it's not too bad… Yet a fork in that case is really not the nicest solution, I'm not sure why youtube-dl can't onboard new maintainers…


"Close, max, min" icons of the properties dialog do not change color when put in dark mode.

now it shows correctly


Add Linearity Summary Test Data

As an ECMPS user, I want the ability to create new Linearity Summary Data, so that I can add new data to the application
Acceptance Criteria:
Given the user clicks on 'Add' for Linearity Summary
When the user is on the 'Add Linearity Test' modal
Then the system displays the fields applicable
And the user can enter new Linearity Summary data
Gas Level Code: Dropdown
Mean Measured Value: Text
Mean Reference Value: Text
Percent Error: Text
APS Indicator: radio-button (Yes, No)
Given the user has added Linearity Summary Data
When the user chooses to save and close
Then the data is saved
And the modal closes
And the user is returned to the Landing page for Linearity Summary Data
And a new row for the Linearity Summary data is added to the Linearity Summary Data section
Warning message to pop up when a user updates data and closes the modal without saving/clicks the back button/uses the bread crumb link
Warning message to read as a browser alert/browser pop-up alert: Closing this window will discard any unsaved changes
API Endpoint: https://api-easey-dev.app.cloud.gov/qa-certification-mgmt/swagger/#/Linearity Summary/LinearitySummaryWorkspaceController_getLinearitySummaries
Reference Image:

Testing
Test Case: TC818
Tester


How can we add covariates to the dataset

(Please state your question in the title, and add here any relevant details,
like a description of the problem, code snippets, examples, and so on.)
Hi,
I am curious to add covariates(day of the week, weather information, week of the month, etc) on our dataset.
Is there any way to do this with gluonts.model.deep_factor package/gluonts.model.deepstate package?

It all depends on your dataset. If you add temperature to it - it will be there.
If you want to add features based on your date:
Creates time series features from datetime index
df['date'] = df.index
 df['hour'] = df['date'].dt.hour
 df['dayofweek'] = df['date'].dt.dayofweek
 df['quarter'] = df['date'].dt.quarter
 df['month'] = df['date'].dt.month
 df['year'] = df['date'].dt.year
 df['dayofyear'] = df['date'].dt.dayofyear
 df['dayofmonth'] = df['date'].dt.day
 df['weekofyear'] = df['date'].dt.weekofyear

Thank you for the description, but if we have some special days in our dataset like sales event or weekend then how could we teach the model those?

Thank you for the description, but if we have some special days in our dataset like sales event or weekend then how could we teach the model those?

You can add a list of holidays/sales events as an additional dimension.  Then it becomes a multivariate time-series. As for national holidays - if it affects data, univariate model will capture that. But if you want to add marketing/sales events - it needs to be added separately. Also, if you want to exclude weekends (let's suppose, there are 0 sales on weekends or holidays), you might want to try models that work well with intermittent data.

Any example tutorial for using those with gluon-ts packages?

@husnejahan many models support so-called dynamic real features (that is, time-dependent, continuous features) through the “feat_dynamic_real” field in datasets. See for example section 1.3 here: http://gluon-ts.mxnet.io/examples/extended_forecasting_tutorial/extended_tutorial.html#1.-Datasets
For example, in
from gluonts.dataset.common import ListDataset

dataset = ListDataset(
    data_iter=[
        {”start”: ..., “target”: ..., “feat_dynamic_real”: [[1, 2, 3], [5, 6, 7]]},
        ...
    ]
)

The first time series in the dataset is accompanied by two time-dependent features, each of (time) length 3.
Note however that many models (including DeepState) automatically enrich the data with so-called “calendar features”, like hours of the day, day of the week, and so on. Still, other information like promotions, prices and so on you can provide by encoding them in the above mentioned field.

@husnejahan many models support so-called dynamic real features (that is, time-dependent, continuous features) through the “feat_dynamic_real” field in datasets. See for example section 1.3 here: http://gluon-ts.mxnet.io/examples/extended_forecasting_tutorial/extended_tutorial.html#1.-Datasets
For example, in
from gluonts.dataset.common import ListDataset

dataset = ListDataset(
    data_iter=[
        {”start”: ..., “target”: ..., “feat_dynamic_real”: [[1, 2, 3], [5, 6, 7]]},
        ...
    ]
)

The first time series in the dataset is accompanied by two time-dependent features, each of (time) length 3.
Note however that many models (including DeepState) automatically enrich the data with so-called “calendar features”, like hours of the day, day of the week, and so on. Still, other information like promotions, prices and so on you can provide by encoding them in the above mentioned field.

Hi,
I thought only DeepAR and DeepState are supporting the feat_dynamic_features since they have ‘use_feat_dynamic_real’ and others just ignore it. So, which models are using it? does N_Beats and seq2seq models using it?
Thank you so much in advance.

Thank you all


"Could not create service" exception when clicking Cover, Cover tests, or building with 'Cover after every build' turned on.

I'm getting an error in the AxoCover Output window pane when I click the Cover option in the header bar, the Cover tests option in the context menu, or build with "Cover after every build" turned on (via the Context menu).
Please let me know what additional information you would like.  AxoCover is a great tool and I'm glad to have found it!
Here's the contents of the Output window pane:
Test execution started.
AxoCover encountered an error:

Test execution failed.
SerializableException: Could not create service.
   at AxoCover.Models.TestProcess`1..ctor(IProcessInfo processInfo) in C:\projects\axotools\AxoCover\Models\TestProcess.cs:line 36
   at AxoCover.Models.ExecutionProcess.Create(String[] testPlatformAssemblies, IHostProcessInfo hostProcess, TestPlatform testPlatform) in C:\projects\axotools\AxoCover\Models\ExecutionProcess.cs:line 28
   at AxoCover.Models.AxoTestRunner.RunTests(TestItem testItem, Boolean isCovering, Boolean isDebugging) in C:\projects\axotools\AxoCover\Models\AxoTestRunner.cs:line 176
   at AxoCover.Models.TestRunner.<>c__DisplayClass31_0.<RunTestsAsync>b__0() in C:\projects\axotools\AxoCover\Models\TestRunner.cs:line 53

The Build version is 1.1.244 per the Settings window.
The last check for updates was today.
Microsoft Visual Studio Professional 2017
Version 15.2 (26430.16) Release
VisualStudio.15.Release/15.2.0+26430.16
Microsoft .NET Framework
Version 4.6.01590
Installed Version: Professional
I have telemetry turned ON for AxoCover.

I have the same problem using Vs2017 pro.
I have also installed OpenCover and ReportGenerator nuget packages.
I also tried to set up the OpenCover console.exe path in the AxonCover settings.json file but I still get the same problem:
Test execution failed. SerializableException: Could not create service.    at AxoCover.Models.TestProcess1..ctor(IProcessInfo processInfo) in C:\projects\axotools\AxoCover\Models\TestProcess.cs:line 36
at AxoCover.Models.ExecutionProcess.Create(String[] testPlatformAssemblies, IHostProcessInfo hostProcess, TestPlatform testPlatform) in C:\projects\axotools\AxoCover\Models\ExecutionProcess.cs:line 28
at AxoCover.Models.AxoTestRunner.RunTests(TestItem testItem, Boolean isCovering, Boolean isDebugging) in C:\projects\axotools\AxoCover\Models\AxoTestRunner.cs:line 176
at AxoCover.Models.TestRunner.<>c__DisplayClass31_0.b__0() in C:\projects\axotools\AxoCover\Models\TestRunner.cs:line 53`

I fixed this running Visual Studio as Administrator

I get this too sometimes. The root cause seems to be environmental I think, because when we run our tests connected to the network at the office through VS test runner, it takes about 15 seconds for the tests to actually start. Disconnecting from the network seems to remove this delay immediately.
This leads me to believe it might be AxoCover timing out the service creation.
Whenever this happens, I just try running it again until it works, which it usually does within the next 3 tries.

Service timeout is 20 seconds right now. This timeout is before the runner is ready to execute the tests.
The runner listens to the UI at a random TCP port on loopback device (<IP_ADDRESS>).
Can you check if the runner (AxoCover-Host) crashes in the windows application event log? It should also provide a stacktrace there if it crashed.
Unfortunately I cannot reproduce this problem, but if you have some time I can give you information on how to debug it. Until that I can improve telemetry in regards to this, since it was not providing enough info to fully understand / reproduce the problem so far.

I am suspecting that a firewall or antivirus might interfere with the communication with the runner. I have made a build which uses NamedPipes instead of TCP based communication. Can you try it?
It is here.

Unfortunately, I can't try it, as I am no longer working at the client site where I experienced the problem.  I don't have a copy of the source code for that project.  Nor do I have access to that desktop machine, as it belonged to the client.
Perhaps @riccardone or @biltongza could try it?
Thank you for working on the problem!

Tried it, still the same issue.
Test execution failed.
SerializableException: Service creation timed out.
   at AxoCover.Models.TestProcess`1..ctor(IProcessInfo processInfo) in C:\projects\axotools\AxoCover\Models\TestProcess.cs:line 31
   at AxoCover.Models.ExecutionProcess.Create(String[] testPlatformAssemblies, IHostProcessInfo hostProcess, TestPlatform testPlatform) in C:\projects\axotools\AxoCover\Models\ExecutionProcess.cs:line 28
   at AxoCover.Models.AxoTestRunner.RunTests(TestItem testItem, Boolean isCovering, Boolean isDebugging) in C:\projects\axotools\AxoCover\Models\AxoTestRunner.cs:line 86
   at AxoCover.Models.TestRunner.<>c__DisplayClass31_0.<RunTestsAsync>b__0() in C:\projects\axotools\AxoCover\Models\TestRunner.cs:line 53

Running the coverage test again immediately afterwards worked. I'll continue trying to see what happens to get you some more results.

Do you have a case where only the first case fails, but it tends to be work after. Maybe a slow HDD or antivirus could be the source of the problem?

Also I see a failed runner start for a user in telemetry in the last hour, however it still uses TCP. Are you sure you use the right version? Do you have telemetry enabled?

I'm sure it's the right version, build 1.1.271. I have telemetry enabled, but I'm not sure if it was enabled when I ran that test last time.
That said, I just started a coverage run from a cold start of my machine this morning, and it worked first time.
I don't think it's HDD related, since I'm on an SSD. I could believe antivirus being the source of the issue, but I can't test it because we can't disable the AV (corporate policy).
I'll be honest I don't know if there is a "fix" for this as I think it's environmental, but it would be nice if I could configure the service creation timeout period and see if I can work around it like that.

Ok, I think I will add some developer options, namely:

Configure all timeouts used
Print all exceptions to console including handled ones
Some solution to print the current stack trace of the runner threads on timeout (so we can see what we spend the time on)

I have added the following features to help us figure out the issue:

You can now set timeouts to any value
You can also enable debug mode, which makes the logging more verbose, and triggers breakpoint if the runner would crash

So, I took the new release to work today expecting to come home with a better error message about why coverage wasn't working.
Coverage works fine now.
:/

The "Could not create service" exception resurfaced today. The new "Debug" option did not provide any new messages in the Output window.

Still getting this issue. Debug mode is enabled but I'm not getting any extra information in the output window. Telemetry is enabled so you might be able to see more than I can. Increasing the startup timeout from 20 seconds to 60 seconds seems to have helped, though.

I've also go this issue in VS 2017.  I've increased the startup and debugger timeouts to 120 but it hasn't had any effect.
I've also enabled debug mode but I'm not seeing any additional output in the output console either.

Hi,
I think, the issue might be related to the settings. For example, when I set the "Exclude directories" to "D:\mysource\mystuff\mymodule" then the "Cover tests" action fails (immediately, so the timeout thing is ignored). When I set it to "\mystuff\mymodule" (I removed not just the "D:" but the last backslash as well) then the "Cover tests" action started to work again.
I hope it helps:).

FWIW, I had the "Could not create service." as well. Turned out it was related to a Test Project assembly's name containing whitespace. When I renamed the Test Project, the error disappeared.

Got this exception when I had these filters in the settings.json:
"Filters": "+[Some.Namespace.*]* -[Some.Namespace.*.Test]*\"",
instead of these:
"Filters": "+[Some.Namespace.*]* -[Some.Namespace.*.Test]*",
Notice the one little quote at the end of the first line.

This bug is definitely related to whitespace and quotation marks in settings entries
I can't see what is being passed via command line, but it appears that values from the settings tab are not being properly escaped or validated


Add functions to fetch Assignment data using Rules on the Configs

Describe the feature request.

The OpenSRP app stores assignment data in the secure shared preferences. We would like to write some methods on the  RulesFactory to allow the fetching of this assignment data via rules on the configs
Each assignment data point should be fetched separately

Acceptance criteria

[ ] Define methods that allow the fetching of the following assignment data

[ ] Practitioner Id
[ ] Practitioner Assigned CareTeam(s)
[ ] Practitioner Assigned Organization(s)
[ ] Practitioner Assigned Location(s)

Implementation plan (For Engineers)

Add service methods in the RulesEngineService  to fetch the listed assignment data.

Check the writePractitionerDetailsToShredPref method for the keys used to save the data

[ ] Practitioner Id
[ ] Practitioner Assigned CareTeam(s)
[ ] Practitioner Assigned Organization(s)
[ ] Practitioner Assigned Location(s)

@Raynafs  You can access the SharedPreference instance from the injected ConfigurationRegistry


Removing the last element from a mutable red-black tree results in incorrect behavior

Using<EMAIL_ADDRESS>with Node 8.1.3:
const RedBlackTree = require("@collectable/red-black-tree");
const myTree = RedBlackTree.thaw(RedBlackTree.empty());

RedBlackTree.set(0, 'foo', myTree);
RedBlackTree.remove(0, myTree);

console.log(RedBlackTree.arrayFrom(myTree));

Expected output:
[]

Actual output:
[ { _group: 0,
    key: undefined,
    value: undefined,
    _red: false,
    _left: [Circular],
    _right: [Circular],
    _count: 0 } ]

This does not seem to be a problem with immutable red-black trees -- the following outputs [] as expected:
RedBlackTree.arrayFrom(
  RedBlackTree.remove(
    0,
    RedBlackTree.set(
      0,
      'foo',
      RedBlackTree.empty()
    )
  )
)

Looks like this is fixed in<EMAIL_ADDRESS>


dts: arm: nordic: nrf53/nrf91: Fix GPREGRET register addresses

Fixes an issue with the register addresses which was caused by a missing ranges; option for the power peripheral

Thanks @fabiobaltieri


Idea for a Classic Theme version of Basic Themer

A little idea that came to my mind. I thought of a simpler, one click way to replace the Windows 11 design with something more familiar to older versions of Windows (95, 98, 2000). I don't like how Windows 11 looks and I want to revert back to that "blocky", but memorable design.
Should also have an option to change the look of the Windows, something like this.

I can't find the exact image of what I'm talking about, but you probably get the idea. I hope you can do it! Cheers.

Jexx

Copy desk.cpl, comctl32.dll from Windows 2000 and open desk.cpl on HxD or Notepad++ and replace all comctl32.dll to comctlxp.dll, rename comctl32.dll file to comctlxp.dll, rename desk.cpl to something else(like deskn.cpl) and open it, go to appearence tab. Note that this will (instantly or not) change Padded Border Width to 0 so you'll need to modify the registry.

BasicThemer2 let's me apply the Basic look without administration (of course everytime I open up BasicThener it's a bit annoying that a popup saying that I need administration privileges, but clicking "no" also gives you the disabled DWM look). I am on an account that has no administration. I don't think your solution may work out.

There are already solutions to apply the classic theme in Windows 8-10-11 :
https://winclassic.boards.net/thread/510/classicthemetray-quickly-toggle-classic-theme?page=1&scrollTo=3720
https://github.com/spitfirex86/ClassicThemeTray
https://winclassic.boards.net/thread/456/simple-classic-theme-supports-windows
https://winclassic.boards.net/thread/43/windows-classic-theme-task-scheduler
https://winclassic.boards.net/thread/990/windows-classic-theme-on-1903
https://github.com/valinet/ExplorerPatcher/discussions/167
However, all these solutions require administrator privileges. There is currently no workaround for this. This exists in draft form, but it seems far from being realized : https://winclassic.boards.net/thread/456/simple-classic-theme-supports-windows?page=32
As for simply switching from one theme to another, you can use my scripts (which require BasicThemer2 and ClassicThemeTray) :
https://github.com/OrthodoxWindows/ThemeSwitcherScripts
More generally, you can't get very far in customizing Windows without administrative privileges.

I guess you're right, but that may be the best solution. I will look around if I have time. Thanks so much.

I've noticed that it contains malware, is harmful to my computer?

This is a false positive. This comes from the way of activating the classic theme, by intervening on the management of the theme of the system (by closing the handle of the visual style). As a result, all classic theme activation tools are detected by antivirus.

So what you're trying to say is that ClassicThemeTray is using a different .net API? That seems understandable. How do I get it then? And is it possible to disable the antivirus without UAC? I use Windows Defender.

No, ClassicThemeTray does not use a custom .NET API. The problem is in how to get the classic theme. To do this, DWM must be forced to draw the classic theme by closing access to the theme service (which provides the .msstyle visual style). This is suspicious activity for antiviruses.
To add a permanent exception to Windows Defender, I advise you to use this tool: https://www.sordum.org/10636/defender-exclusion-tool-v1-3/

Does this work without administration? If not, then I don't know what do I do then

Unfortunately no. Current tools to activate the classic theme do not work without administration. The only exception is MCT, but I have absolutely no idea when the project will be finalized. If you wish, you can register on the WinClassic forum to request information from the project developer (SimpleClassicTHeme and MCT). https://winclassic.boards.net/thread/456/simple-classic-theme-supports-windows?page=32

BasicThemer2 let's me apply the Basic look without administration (of course everytime I open up BasicThener it's a bit annoying that a popup saying that I need administration privileges, but clicking "no" also gives you the disabled DWM look). I am on an account that has no administration. I don't think your solution may work out.

You can launch BT2 without the prompt with /noadminalert command line argument. I'm currently thinking of removing the annoying admin prompt and making BT2 always run as admin, also providing a shortcut for running without admin.
Regarding the classic theming feature, it is out of scope for this project and I'm not going to implement it anytime soon. Please consider the alternatives given by other users above.


Implement str.swapcase() based on CPython

Thanks for the patch @densmirn, have queued it for review.

Am going to review this once we've sorted out how to generate the function bodies efficiently.


Fix tests for new paths

Not sure we even want Percy any longer since we are using Chromatic. So let me know once we have made that decision / bought a plan etc

Not sure we even want Percy any longer since we are using Chromatic. So let me know once we have made that decision / bought a plan etc

@brianCollinsUI I think I would be for just using Chromatic. Would be nice to not have to write out these tests every time we create new stories. I do have a PR #681 that changes the build cadence to nightly just like Percy.

OK - sounds good. We should just delete this stuff then- will make another branch for that in a bit if that is ok

OK - sounds good. We should just delete this stuff then- will make another branch for that in a bit if that is ok

Sounds good. Appreciate it Brian! ⭐


Crux migrating to Maven Central

Hey folks, hope you're all keeping well :smile:
A quick heads up that we're looking to migrate Crux over to Maven Central shortly - we've got a couple of non-Clojure modules coming soon, and would generally like to make Crux more accessible/appealing to folks outside of the Clojure community too. We've mirrored our Clojars dependencies onto Central, and have re-released 1.17.1 (currently as 1.17.1-rc1) so that users can migrate without having to upgrade Crux.
Crux PRs here:

https://github.com/juxt/crux/pull/1543
https://github.com/juxt/crux/pull/1550

Could you let us know if this will cause you any issues, or whether there's anything we should do/avoid doing? Otherwise, if this works for you, I'm happy to raise a quick PR with the required changes.
Cheers,
James

Had a look at the repo, best that I don't submit a PR bumping Crux up from 1.12.0 as I think there are index version bumps in that range :)
Change looks straightforward enough, though - juxt/crux-core -> pro.juxt.crux/crux-core, 20.09-1.12.0-beta -> 1.17.1 in deps.edn.


Comments are removed on format

When using Eunomo as a formatter plugin, comments within an import/alias/require block are removed upon formatting:
https://github.com/Roberto-XY/eunomo/assets/6618434/45ea8627-9815-46d8-9dfc-ef3b0204945b
This can be especially problematic when an alias is commented out. In practice, this will only happen for directives that are not the first or last in a group, since those are the only cases in which in the comment is in the "bounds" of a group:
https://github.com/Roberto-XY/eunomo/assets/6618434/8b7f7ebd-5fe4-4457-83c0-4ee43ffb8c4d
I think the ideal functionality would be to associate comments with their corresponding directive lines and move them along with the directives when sorting.

Thanks for the detailed description. I will look into it on the weekend.

The issue is a bit more complicated than I thought. This bug is also induced by the behavior:
defmodule Foo do
  alias Eunomo.CC
  # alias Eunomo.B
  alias Eunomo.C
end

gets formatted into
defmodule Foo do
  alias Eunomo.C
  # alias Eunomo.B
end

And that's definitely wrong :clown_face:
I fixed the behavior by moving all comments to the start of a block. That's consistent with sorting by # in the start position. Still need more tests & maybe I can come up with a better solution. Also need to think about multiline comments & not ripping them apart. The curx is that in the general case, the comment does not have to be another valid alias expression, and I would rather avoid introspecting comments for formatting.
Another possibility is to break blocks on comments, so after a line comment, a new block starts. That's simple & should lead to consistent behavior without unexpected comment moves. If a comment in an import block is necessary, it also indicates some form of specialness, so a new block seems reasonable.

@jaminthorns I finally found some time to approach this issue. If you like, you can test the new version under v3.0.0-preview. It is not released to hex yet, as I would welcome some feedback before. Closing this issue once a working version is released.

Published to https://hex.pm/packages/eunomo
Closing


InflowWind driver: missing version info

The InflowWind driver does not output version information.
Describe the solution you'd like
Add dependency on Version module, and display version info at start like other drivers do.

Note, the InflowWind_c_binding library interface includes the version info, so copy code blob from there.


ci: update all ci config

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Adds "Diameter of Binary Tree"

Adds "Diameter of Binary Tree"  to Interview Questions

@yangshun please review this PR and also please opine on https://github.com/yangshun/tech-interview-handbook/issues/235


Can i check two different types in the same response parameter?

Hello all, i'm a little new in this framework. I was wondering if i can check two different types of parameter (#number, #string, etc...) in the same response parameter.
For example, in this JSON the parameter surname sometimes can be null
{
"name": "Eduard",
"surname": "Rodriguez",
"age": 30
}
Can i check if the same parameter in the response is #string and #null. Something like:
{
"name": "#string",
"surname": "#null,#string",
"age": #number
}
I hope the question is clear.
Thank you very much

@edumorata ask this on stack overflow please: https://stackoverflow.com/questions/tagged/karate


Project end?

Has InstaGaana project been shutdown ? May I know the reason?

We would like to inform you that InstaGaana has been shut down after receiving a cease and desist notice from Saavn. While we value your response we can't help you.
It's is entirely possible that Saavn fixed the security bug that allowed access to music URLs.
Please send your further queries to<EMAIL_ADDRESS>


New Resource SPSearchActiveDirectoryDomains

A new resource I'm working on.
With this resource, we can mamage the peoplepickersettings.SearchActiveDirectoryDomains of a web application.
PR in progress

Duplicate with #488 for which I have created a new resource in my next PR


Support non-standard mgmt port

The plugin does not support port in the mgmt address filed when add a bigip:
Cannot connect ltm.***.com:8443: nodename nor servname provided, or not known
Cannot connect 106...106:8443: invalid IPv6 address

Repository Archived


Veracode SCA: fixes for vulnerable libraries

This pull request was generated by Veracode SCA to upgrade the following vulnerable libraries:

Type
Library
From
To
Breaking

MAVEN
commons-fileupload:commons-fileupload
1.3.2
1.5
No

MAVEN
org.keycloak:keycloak-saml-core
1.8.1.Final
2.5.5.Final
No

MAVEN
org.apache.commons:commons-collections4
4.0
4.1
No

MAVEN
org.mindrot:jbcrypt
0.3m
0.4-atlassian-1
No

MAVEN
mysql:mysql-connector-java
5.1.48
8.0.28
Yes

Note that we only upgrade libraries which have versions without any known vulnerabilities. For more information, please see the corresponding Veracode SCA report.
The Breaking column states the likelihood that updating to the recommended library version will cause breaking changes in your code. Please verify that the changes here won't cause issues with your project before merging.
To learn more about this feature, please visit our Help Center for documentation.
Note: this pull request was generated because you or someone else with access to this repository granted Veracode SCA access to submit pull requests.

Don't want to merge yet.

Testing the merge request process.


reference static assets doesn't work

About PR #58 @, I would like to use Esbuild for all our static assets instead of using a different solution for images.
I tried what is in the README, but it also generates .js/.css files in the output directory.
our script:
package.json
"scripts": {
  "build:js": "esbuild app/javascript/*.* --bundle --loader:.png=file --outdir=app/assets/builds/ --public-path=assets",
  "build:css": "sass app/stylesheets/application.scss ./app/assets/builds/application.css --no-source-map --load-path=node_modules"
}

javascript/application.js
// Entry point for the build script in your package.json
import "@hotwired/turbo-rails"
import "./controllers"
import * as bootstrap from "bootstrap"

There is an image in: javascript/images/logo.png
Is there a step I'm missing so that the image is copied to the output directory?

Hi @g13ydson, your esbuild command looks correct. Esbuild won't output files that aren't imported and used in the JS, so maybe that's the cause of this issue?
You could try adding this to your javascript/application.js:
import Logo from '../images/logo.png'
...
console.log(Logo)

Then when esbuild runs, the file should be copied and you'll see a line of output like this:
app/assets/builds/logo-5SRKKTLZ.png         308.3kb

Let me know if that doesn't fix it.

It worked perfectly. Thanks @richardkmiller


Can i make a certain song ignore a certain script?

Describe your problem here.
I'm making a mod, and i want one song to ignore a script.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

songName variable

songName variable

What if the script is extremely long and you don't want to deal with that?

You deal with it

What if the script is extremely long and you don't want to deal with that?
then make this
function onCreate()
if songName == 'urmother' then
removeLuaScript('scripts/fak')
end
end

What if the script is extremely long and you don't want to deal with that?

then make this function onCreate() if songName == 'urmother' then removeLuaScript('scripts/fak') end end

I tried that before and it didn't work

It worked for me


Support wezterm

Closes: https://github.com/hardhackerlabs/themes/issues/11

Thank you very much for your contribution. Can you consider updating the README and adding a screenshot?

Ok, it's updated :-)

Perfect, thx!


Not working on IE11

Is this due to lit-html not supporting IE11 in some edge cases?

I don't know.  I haven't tested on IE11 yet :/

I don't know. I haven't tested on IE11 yet :/

Please don't...!
Let the devil rest...!

It should work now after a year. lit-html was not supporting IE11 at that time but it is no longer the case now.


Run code that is in the allocation directory

Hi,
I'm trying to understand how this driver works.
I have created a job using the sample_job.hcl example from the repo. This runs and creates an application inside IIS. As the application path is set to the wwwroot directory, it shows the default IIS "start page."
However, I would like it to run my code, which is in the allocation directory.
How can I achieve this?

Sorry for the confusion, the example is not very practical.
You can for example use nomads artifact block to download your own app from an artifacts repo, S3 etc.
https://developer.hashicorp.com/nomad/docs/job-specification/artifact

Thanks, this example is much better. However it's still not working due to permission issues as described in #43


refactor!: source to mitigate "raw" regex cost

:tada: This PR is included in version 2.0.0-next-major.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


New version for Add-In and like dll

Will be merge by myself, because there is a non working version yet

Will be merge by myself, because there is a non working version yet


Filter available countries by selected document

This PR fixes a little bug about the numbers of countries in the NDC search count phrase not being filtered by the document
(Check the ... X of 197 parties ...)

Can you also review the sorting on the results table. It seems to be sorted by total matches, but I'd also sort by Country, so that when there are the same number of matches for two documents of one country those appear together on the list, see: http://localhost:3000/ndc-search?document=all&query=green house&searchBy=query
I'm getting:
India NDC - EN (4 matches)
Uganda - NDC - EN (4 matches)
India INDC - EN (4 matches)
Uganda - INDC - EN (4 matches)
...
Should be:
India INDC - EN (4 matches)
India NDC - EN (4 matches)
Uganda INDC - EN (4 matches)
Uganda NDC - EN (4 matches)
...

Álvaro I think I didn't explain myself correctly, I meant:
Sort first by number of results, then sort by country. So instead of this:
India NDC - EN (4 matches)
Uganda - NDC - EN (4 matches)
India INDC - EN (4 matches)
Uganda - INDC - EN (4 matches)
Burundi - NDC - EN (2 matches)
Afghanistan - NDC - EN (1 matches)
We would have:
India INDC - EN (4 matches)
India NDC - EN (4 matches)
Uganda INDC - EN (4 matches)
Uganda NDC - EN (4 matches)
Burundi - NDC - EN (2 matches)
Afghanistan - NDC - EN (1 matches)
With the latest change you are just sorting alphabetically by Country.

Sorry I didn't understand you at first. It is sorted in order now. I can't find the example to test it properly as I don't have the same results as you in local but please try it yourself. It should work

The sorting seems to be better, but now I see a weird behaviour:

go to the NDC content page: http://localhost:3000/ndcs
Search for 'green-house': http://localhost:3000/ndc-search?searchBy=query&query=green house
The list of results seems to default to the INDC results. If I change the dropdown from All to INDC and then back to All the results on the All selection are different from the initial results.

I can't reproduce this ☝😕

Let me try to make a gif.

Here: https://www.dropbox.com/s/hcjhq75ec9y3lo4/issue with filtering.mp4?dl=0

Actually, this was a really good catch. I couldn't see it without the reimport. Fixed now!

Glad I could be off help. =)


[Umbrella] optimize the config module

Code of Conduct

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

Search before asking

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

Describe the proposal
SeaTunnel use config to parse app config file, and we did some changes

Change path token separator from "." to "->"".
Added parseObjectForseatunnel() to parse config objects in input, filter, output for seatunnel.
Change package name to avoid implementation conflict when using this code with the official typesafe config used by Apache Flink.

But, as we know, it not appropriate that if we copy config sources to SeaTunnel project directly, so this issue aims to improve it.
This is a big changes, so I will split this issue into two sub issues to finish it.
Task list

[ ] #904
[x] #753

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Fixed at https://github.com/apache/incubator-seatunnel/pull/906, just one issue is enough.


Add circleimage / milestone card component

Checklist

[x] Include a description of your pull request and instructions for the reviewer to verify your work.
[ ] Link to the issue if this PR is issue-specific.
[x] Create/update the corresponding story if this includes a UI component.
[ ] Create/update documentation. If not included, tell us why.
to do after the type and the naming of the component are approved
[x] List the environments / browsers in which you tested your changes.
[x] Tests, linting, or other required checks are passing.
[x] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
PRs will be broadly categorized in the change log, but for even easier scanning, consider prefixing with a component name or other useful categorization, e.g., "BaseButton: fix layout bug", or "Storybook: Update dependencies".

[ ] PR has been tagged with a SemVer label and a general category label, or skip-changelog.

These tags are used to do the aforementioned broad categorization in the change log and determine what the next release's version number should be.
Release Drafter will attempt to do the category labeling for you! Please double-check its work.

Description
In this PR I've implemented the CircleImage component, part of the www-frontend Timeline page:

used BaseImagePlaceholder and 'BadeHeading' components to make use of the built-in features
added prop type to control the image position. Defaults to the left
added props to control the content: required 'title' and 'label', as well as optional 'secondaryLabel'
size and positioning of the component are not hard-coded and will be handled when the component is used on the actual page
on click function will also be added when the component is used on the actual page

Screenshots

Instructions to test
check the BackToTop story in the Storybook
Tested in the following environments/browsers:
Operating System

[x] MacOS
[ ] iOS
[ ] iPadOS
[ ] Windows

Browser

[x] Chrome
[ ] Firefox ESR
[x] Firefox
[x] Safari
[x] Edge

@Scotchester ready for review with the updated docs


Clarify reproject's docstring

Coverage remained the same at 75.404% when pulling 74a4810cb2971a8048ca6b51cb73dd3c36f93a27 on keflavich:docs_for_reproject into 4ac8d63a173b27f2573ba6c19293d3ca3d8e3b9e on radio-astro-tools:master.


nixos/sddm: avoid systemd-tmpfiles-clean removing user's $XAUTHORITY

Description of changes
Include SDDM's shipped systemd-tmpfiles configuration file(s) in the ones used by NixOS.
Motivation
At some point (at or prior to SDDM v20, I think), SDDM started storing the $XAUTHORITY files it passes to user sessions under /tmp/xauth_*, which is unfortunate, because files under /tmp are cleaned up by systemd's default /etc/tmpfiles.d/tmp.conf once they're more than 10 days old. The result is that long-running X sessions under SDDM eventually get broken:
Aug 23 18:33:02 dreamlogic systemd[1]: Starting Cleanup of Temporary Directories...
Aug 23 18:33:02 dreamlogic systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
Aug 23 18:33:02 dreamlogic systemd[1]: Finished Cleanup of Temporary Directories.
Aug 23 18:33:02 dreamlogic systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.
Aug 23 18:33:03 dreamlogic xsession[47394]: Authorization required, but no authorization protocol specified
Aug 23 18:33:04 dreamlogic xsession[47394]: Authorization required, but no authorization protocol specified
Aug 23 18:33:05 dreamlogic xsession[47394]: Authorization required, but no authorization protocol specified
Aug 23 18:33:05 dreamlogic xsession[47394]: Authorization required, but no authorization protocol specified
Aug 23 18:33:05 dreamlogic xsession[47394]: Authorization required, but no authorization protocol specified

However, SDDM includes its own /etc/tmpfiles.d/sddm.conf file, which (among other things) tells systemd-tmpfiles to only remove /tmp/xauth_* files on bootup (to clean-up files from a previous boot), preventing this from happening.
Things done

Built on platform(s)

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

For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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

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
Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 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.

As an aside: if you're on a running system that has been affected by this, and want to recover it without restarting X, there's a slightly janky way to achieve this. First, find the X process (check systemctl status display-manager, if there's multiple X processes listed I believe the correct one is the first one), look at its arguments, and note down the path given to the -auth arg. Then, pass that path to xauth merge, e.g. sudo xauth merge /run/sddm/xauth_FOObar, and finally change the ownership of your newly-created $XAUTHORITY with sudo chown $(id -u):nogroup $XAUTHORITY.

Test also builds fine.


Not needed check

https://github.com/owensjrw/tic_tac_toe/blob/8c049ade0aeb1d06bec8bb0d800b9efef84290fc/tictactoe.c#L52
You already check if the input is 1 <= x <= 9

Good catch...


NixIO

NixIO do not restore back the object name.
So this raise error
filename = 'myfile.nix'

bl = neo.Block(name='yep')
with neo.Nixio(filename, mode='ow') as writer:
    writer.write_block(block)

with neo.Nixio(filename, mode='ro') as reader:
   bl2 =  reader.read_block()

assert bl.name == bl2.name

Is there another block in the namespace called block in your example?  This works for me if I complete the example and correct the write_block line to write bl instead of block.
import neo
import nixio as nix

filename = 'myfile.nix'

print("Neo version:", neo.__version__)
print("NIX version:", nix.__version__)

bl = neo.Block(name='yep')
with neo.NixIO(filename, mode='ow') as writer:
    writer.write_block(bl)

with neo.NixIO(filename, mode='ro') as reader:
    bl2 = reader.read_block()

print(bl.name, bl2.name)
assert bl.name == bl2.name

Output:
Neo version: 0.9.0.dev
NIX version: v1.5.0b3
yep yep

I am sorry, this must be an install problem so.
I had nix v1.5.0b1.

Funny, that shouldn't have happened with b1 either, but maybe there's something in that early beta that I fixed and can't remember.  Glad it worked out.


Calling useFetch two times in a composable requires access to the nuxt instance

Environment

Operating System: Windows_NT
Node Version:     v21.0.0
Nuxt Version:     3.9.1
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-zkclkd?file=utils%2Ftest.ts
Describe the bug
When creating a composable to fetch some data, I found that I couldn't call useFetch twice in the same function and then using useStore inside my component setup script.
export const useStore = async () => {
  await useFetch('/api/a')
  await useFetch('/api/b')
}

I don't really know if this is a bug or if this is intended based on this comment.
Additional context
No response
Logs
[nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug. Find out more at `https://nuxt.com/docs/guide/concepts/auto-imports#vue-and-nuxt-composables`.

at Module.useAsyncData (C:\Projects\bug-usefetch\node_modules\.pnpm\nuxt@3.9.1_vite@5.0.11\node_modules\nuxt\dist\app\composables\asyncData.js:26:38)
at Module.useFetch (C:\Projects\bug-usefetch\node_modules\.pnpm\nuxt@3.9.1_vite@5.0.11\node_modules\nuxt\dist\app\composables\fetch.js:60:43)
at Module.useStore (C:\Projects\bug-usefetch\utils\test.ts:5:31)
at async setup (C:\Projects\bug-usefetch\app.js:16:107)

When previewing the application:
[nitro] [unhandledRejection] Error: [nuxt] instance unavailable
    at useNuxtApp (file:///C:/Projects/bug-usefetch/.output/server/chunks/app/server.mjs:296:13)
    at useAsyncData (file:///C:/Projects/bug-usefetch/.output/server/chunks/app/server.mjs:913:32)
    at useFetch (file:///C:/Projects/bug-usefetch/.output/server/chunks/app/server.mjs:1059:21)
    at useStore (file:///C:/Projects/bug-usefetch/.output/server/chunks/app/server.mjs:1098:9)
    at Timeout._onTimeout (file:///C:/Projects/bug-usefetch/.output/server/chunks/app/server.mjs:1106:13)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)

This is a known (and, I think, documented) limitation of the composition API.
You can use runWithContext to handle this (see docs):
export const useStore = async () => {
  const nuxtApp = useNuxtApp()
  await nuxtApp.runWithContext(() => useFetch('/api/a'))
  await nuxtApp.runWithContext(() => useFetch('/api/b'))
}

@danielroe Thanks for the workaround
I have something similar but I am writing my components in a non-composable way
https://stackoverflow.com/questions/78101911/multiple-uses-of-usefetch-is-causing-nuxt-a-composable-that-requires-access-to
I tried to use your approach and I don't get the OP's error but now the second request appears in the client which negates the use of useFetch in the first place..

@danielroe I was able to replicate some weird (for me at least) behavior:

in the current form it just does the meat request in the client and it doesn't load cheese at all
if (either async is removed from serverPrefetch, or await is added in front of its this.fetchData();) it works as expected, all requests in the server and both meet and cheese are loaded

I am thinking that async over serverPrefetch shouldn't change the behavior... also not sure why await is fixing the issue..
Hope my observations help a bit. Thanks in advance
<template>

    meat: {{ meat }}

----

    cheese: {{ cheese }}

</template>

https://codesandbox.io/p/devbox/nuxt-fetch-hook-and-asyncdata-demo-forked-6zstxk?workspaceId=6b5cff00-ab9a-4c21-b219-049bf39984fa

@danielroe so is the above behavior to be expected? thanks!

You definitely need to wait the promise in serverPrefetch.