Load user-provided PortAudio name/path from environ's SD_PORTAUDIO

Implements the necessary functionality suggested in #130

Hello @arkrow! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file sounddevice.py:

Line 63:80: E501 line too long (81 > 79 characters)
Line 73:80: E501 line too long (85 > 79 characters)

I have documented how to load a custom PortAudio library: #518
@arkrow Do you think your PR is still needed, since users can already use custom DLLs etc.?

I have documented how to load a custom PortAudio library: #518
@arkrow Do you think your PR is still needed, since users can already use custom DLLs etc.?

One advantage this implementation has is that it solves potential PATH shadowing issues (e.g. another directory with portaudio is in PATH and has higher precedence/order, so it is loaded instead of the custom portaudio binary that a developer shipped with their package/software and intended to use).
I think it'd be good to continue the discussion in #130. I can pick up this PR again in the future if you are open to this implementation and other members of the community find it useful for their use case.

In the meantime, it is ...

documented how to load an arbitrary DLL: https://python-sounddevice.readthedocs.io/en/0.5.0/installation.html#custom-portaudio-library
possible to select the bundled ASIO-enabled DLL via environment variable: #556

Do we still need this PR?

Hey @mgeier,
Thanks for following up with the documentation on the other PR! I was occupied lately and unfortunately couldn't continue till now.
This PR is no longer necessary, since there is no current use case or demand for loading custom PortAudio binaries dynamically just before import time. The windows ASIO use case is covered on the other PR.
I'll be closing the PR for now. Since the logic implemented here is quite simple, it can be picked up again if needed by other contributors.


fix(ecau): Amazon Audible covers

Prevent the Amazon provider from matching a physical audiobook page which have an Audible variant, as the Audible variant. Also regenerated Amazon recordings to ensure we don't break anything.
Fixes #400.
I've used the .com version in the unit tests because the .fr version caused a 503 and wanted me to fill a captcha (probably missing a cookie or something). The pages of both are the same though, and the .fr page works in the browser too, it's just the unit tests.
Bonus fix: While testing I discovered that Audible product URLs like https://www.amazon.fr/Harry-Potter-à-lÉcole-Sorciers/dp/B06Y67NZ77 lead to a 404 because the provider was transforming them to https://www.amazon.fr/Harry-Potter-à-lÉcole-Sorciers/hz/audible/mlp/mfpdp/B06Y67NZ77, which isn't correct. That's now been fixed too.

It seems that I should not report issues if I intend to fix them myself at a later time 😅

I just happened to log in at around the same time as you submitted the issue, so it seemed like a good start to the day 😄


Autosave?

I keep forgetting to save my notes.
I keep a pinned tab up all day with notable running, but at the end of the day when I shutdown my laptop, any changes that are unsaved are lost.
Could there be an optional feature to auto-save an open note every few minutes?

Yep, that's perfectly reasonable. I'll add that soon (or anyone else that might be so motivated :)


[jjbb] enable tag releases in Jenkins

What
Run builds in the CI for tag releases
Why
Otherwise the changes in https://github.com/elastic/apm-aws-lambda/pull/101 won't be triggered

This change is not validated in the CI since it's actually done to configure the CI for tags. I'll merge it now


Comparing messages (Diff)

Currently the docs say that there is a function to compare to see if two messages are equal and it returns a Boolean value. Would it be possible to implement a similar function that returns the fields that are different and wether they have been removed, updated, or added (similar to https://github.com/unjs/ohash?tab=readme-ov-file#diffobj1-obj2-options)?
https://github.com/bufbuild/protobuf-es/blob/main/docs/runtime_api.md#comparing-messages

Hey Thomas, it is definitely possible to implement such a function.
Generated code includes information about every field of a message. Serialization and most other features of Protobuf-ES are implemented using this field information. It is (very lightly) documented here. A diff function can take the same approach.
We cannot focus on this feature right now, but you can easily write such a function for your own purposes, and are more than welcome to share it here in the form a gist or similar if you want to.
We are currently working on some updates that will

I'm going to go ahead and close this issue, but feel free to re-open if needed. Thanks!


error generating code

Error generating code. Check the Developer Console AND the backend logs for details. Feel free to open a Github issue.
while hiiting the url and pasting the screenshot it shows below error ,am i doing it correctly

Did you follow the instructions to get an OpenAI key here? https://github.com/abi/screenshot-to-code/blob/main/Troubleshooting.md Or you can buy generation credits.

Is it not. You can use your own key. But follow the instructions to get vision access. Are you Tier 1?

CURRENT TIER
Free

See https://github.com/abi/screenshot-to-code/blob/main/Troubleshooting.md


Terminal API to get child process IDs

Node debug and Python both have use cases to enable auto attach.

Node-debug determines the child process IDs based on our own xplat getProcessTree and filters by the '--type=terminal' argument. See https://github.com/Microsoft/vscode-node-debug/blob/e1f63c924fd3c881048eb3e8abdcd50f4d20806e/src/node/extension/nodeProcessTree.ts#L116-L118
Yes, the wmic based Windows implementation will be replaced by the windows-process-tree ASAP.

@weinand because it's a native node module you can't ship it with the extension though (afaik), so an API for this would allow you to sit on public API.

Oh, right.
IMO we have two options:

surface the module (and the linux and macOS counterparts) as extension API (ideally independent of terminal because the process pickers provided by node-debug and others need to enumerate all processes and not only child processes of a terminal).
turn the node module into a Windows-only standalone utility that can be used as a (faster) replacement for wmic.

ideally independent of terminal because the process pickers provided by node-debug and others need to enumerate all processes and not only child processes of a terminal

@weinand well that blows this idea of a terminal specific solution then if you need other processes, I'll close this off 😃

@Tyriar you didn't reply to my option 2 from above:

turn the node module into a Windows-only standalone utility that can be used as a (faster) replacement for wmic.

Does this make sense? How big would that be?

@weinand as in ship an exe with VS Code? A better option might be to ship the binaries with the node module so extensions can use it directly?

I meant "shipping an exe with node-debug".
Shipping an exe within an node module is another option.
But in my case I have already code that deals with macOS, linux, and Windows (see https://github.com/Microsoft/vscode-node-debug/blob/master/src/node/extension/processTree.ts).
So just replacing the spawning of wmic by your fast replacement tool would probably the smallest change...
Or are you planning to offer a cross-platform solution of the process-tree module?


Add a tolerance parameter to SurfaceToImageFilter

We needed this in our code so I might as well share! The default value is still 0.0 si it's not supposed to break anything.

Has been merged, thank you.


regeneratorRuntime is not defined

Hey, I'm trying to use your project in a NestJS application. However when I try to use I get this error:
ReferenceError: regeneratorRuntime is not defined
at /.../nestjs-firebase/node_modules/firelord/dist/docCreator.js:68:41
at Object.doc (/.../nestjs-firebase/node_modules/firelord/dist/docCreator.js:88:8)

The code looks like this:
import { Injectable } from '@nestjs/common';
import { firestore } from 'firebase-admin';
import { firelord, FirelordUtils } from 'firelord';
import { OmitKeys } from 'firelord/dist/firelordUtils';
import { Wrapper } from 'firelord/dist/index_';

@Injectable()
export class BaseRepository<
  T extends FirelordUtils.MetaType,
  N extends T['colName'] = T['colName'],
> {
  private creator: Wrapper<T>;
  private collection: ReturnType<Wrapper<T>['col']>;
  /**
   *
   */
  constructor(
    private readonly collectionName: N,
    private fs: typeof firestore,
  ) {
    const { wrapper } = firelord(fs);
    this.creator = wrapper<T>();
    this.collection = this.creator.col(collectionName);
  }

  getById(id: T['docID']) {
    return this.collection.doc(id).get();
  }

  insert(data: OmitKeys<T['writeNested'], 'updatedAt' | 'createdAt'>) {
    return this.collection.doc().create(data);
  }
}

It doesn't matter which of the functions is being called (getById or insert).
The type I'm trying this with is:
import { FirelordUtils } from 'firelord';

export type User = FirelordUtils.ReadWriteCreator<
  {
    name: string;
  },
  'users',
  string
>;

My tsconfig looks like this:
{
  "compilerOptions": {
    "module": "commonjs",
    "declaration": true,
    "removeComments": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "allowSyntheticDefaultImports": true,
    "target": "es2017", // I have also tried es5 (no luck)
    "sourceMap": true,
    "outDir": "./dist",
    "baseUrl": "./",
    "strict": true,
    "incremental": true,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": false,
    "resolveJsonModule": true,
}

The firestore instance is correctly instantiated.

normally you can use async await in nodejs out of the box
however, under the hood Typescript compile async await into generator
that is you have this error, the solution however is very simple
first install regenerator runtime
npm i regenerator-runtime
then in the very 1st line of code, add this line
import 'regenerator-runtime/runtime'

Wow. I cannot believe I missed this line import 'regenerator-runtime/runtime' in the docs...
Thanks for quickly helping and sorry for the inconvenience :)


Allow input functions that return a list of lists of filenames

Hello,
here two minimal examples that should do the same thing. However, the latter throws a WorkflowError.
Is there a workaround or fix for this? (I need this in a more complicated case)
Thanks, Hannes
# works
rule test:
    input:
        [('a','b'), ('n',)]
    output:
        "bla.test"
    shell:
        "touch bla.test"

# throws WorkflowError: Function did not return str or list of str.

def get_input(wildcards):
    return [('a', 'b'), ('n',)]

rule test:
    input:
        get_input
    output:
        "bla.test"
    shell:
        "touch bla.test"

I think this is related but not identical to #585.

I have a workaround that you can use: a helper function that flattens arbitrarily nested lists, tuples and sets:
def flatten(nested):
    flat = []
    for el in nested:
        if not isinstance(el, (list, tuple, set)):
            flat.append(el)
        else:
            flat += flatten([x for x in el])
    return flat

You can then return flatten([('a', 'b'), ('n',)]).

seems like the unpack() function might be what you're after


Add DFU command bit

Added bit to command register to force reboot into DFU mode to enable firmware update without external hardware

Started implemented. Kinda works, device fails to enumerate. Probably not cleaning something up correctly

This will be finalized for the rev C hardware. The STM32F722 has somewhat different DFU behavior vs the STM32F303


added function to print object difficulty in estimation

In Object3D class I have added a small method that computes the difficulty to detect an object as defined in KITTI website(http://www.cvlibs.net/datasets/kitti/eval_object.php?obj_benchmark=3d):

Easy: Min. bounding box height: 40 Px, Max. occlusion level: Fully visible, Max. truncation: 15 %
Moderate: Min. bounding box height: 25 Px, Max. occlusion level: Partly occluded, Max. truncation: 30 %
Hard: Min. bounding box height: 25 Px, Max. occlusion level: Difficult to see, Max. truncation: 50 %
The difficulty is printed along with all other object information with the method print_object.

Furthermore in dataset_viz function I added a small bunch of code that prints all the objects in the ground truth that are not 'DontCare'.

Thank you!


Adding Source Visualization for SEEG data Using stc_near_sensors

Describe the problem
In https://github.com/mne-tools/mne-python/pull/8190, @larsoner suggests that we can add 3D translucent brain visualization of a time series for depth electrode data (i.e. SEEG).
Describe your solution
"if we improve stc_near_sensors to allow returning a VolSourceEstimate object then nothing new needs to be done at the viz end. In other words, we "just" need to come up with a suitable way to interpolate the sEEG sensor activity into a volume, and once that's done, stc.plot and stc.plot_3d should just work."
Seems like the work in sequence comprises of:

make stc_near_sensors allow to return a VolSourceEstimate object
make stc_near_sensors have an interpolation scheme for SEEG sensor data into a 3D volume (possibly say just via 1/r^2 propagation?)
possibly add SEEG example showing stc.plot and stc.plot_3d similar to how Eric has done in https://github.com/mne-tools/mne-python/pull/8190

Any other suggestions to the above are appreciated! Will try to tackle this soon.
Describe possible alternatives
TBD
Additional context
Logging this as an issue, to not forget the conversation Eric brought up.

It occurred to me that for surfaces we don't need any sort of source space because we can just directly interpolate onto the surfaces. Due to how we visualize volumes, though, that's not going to be the case. So I think we'll want to add a src argument to stc_near_sensors that's required for volume mode (and we can make surface mode use it if it's provided).

Sorry do you mind elaborating a little bit on what you mean here?
How should I best tackle making this PR in your opinion? It seems that I want to perhaps first document and code-trace what's going on in source_estimate.py::stc_near_sensors() and then separate code into if/else blocks based on whether it's surface (i.e. pial) or volumetric (i.e. 3 MRI slices) visualization?

Sorry do you mind elaborating a little bit on what you mean here?

We need to get sensor data into the brain, i.e., into source space. One way to do this is on the surface (already implemented), and in this case it's fine just to interpolate directly onto the high-density FreeSurfer mesh (100k+ vertices per hemisphere) because stc.vertices always refer to numbers in this high density mesh.
For volumes it's different. vertices do not refer to numbers in the 256x256x256 1mm isotropic T1, but rather to a lower-density (usually 5mm or 7mm isotropic) volumetric grid covering the same domain.
In other words, for (surface) SourceEstimate, the .vertices attribute in unambiguous for the given subject's FreeSurfer reconstruction, whereas the .vertices attribute of a VolSourceEstimate only makes sense in conjunction with a volume source space, chosen by the pos parameter of setup_volume_source_space. So I would expect the use case for interpolating into a volume to be something like:
# set up a 5 mm isotropic source space
vol_src = setup_volume_source_space(subject='sample', pos=5., mri='aseg.mgz', subjects_dir=subjects_dir)
# interpolate sEEG data into this source space
vol_stc = stc_near_sensors(evoked, trans, 'sample', src=vol_src)
brain = vol_stc.plot_3d(src=vol_src)

How should I best tackle making this PR in your opinion?

To really push sEEG analysis forward, we need some data to play with and showcase these changes. It looks like we have this:
https://github.com/mne-tools/mne-misc-data/tree/master/seeg
Any way we could pretend that these data are from sample or fsaverage and start just by making an example like our tutorials/misc/plot_ecog.py named tutorials/misc/plot_seeg.py? If not, let's get some data + electrode locations to work with. It doesn't even have to be real, it just has to be recognizable to sEEG folks as sEEG-like so that they can understand from our analysis of the fake data how to analyze real data.
I would start with what you can already do with MNE to analyze some data like this, then move on to this 3D business by adding another section to the tutorial...

It seems that I want to perhaps first document and code-trace what's going on in source_estimate.py::stc_near_sensors() and then separate code into if/else blocks based on whether it's surface (i.e. pial) or volumetric (i.e. 3 MRI slices) visualization?

... sure, the if/else should be based on whether the stc is an instance of SourceEstimate/VectorSourceEstimate or VolSourceEstimate/VolVectorSourceEstimate. I would say get as far as you can on your own, open up a WIP PR with # XXX huh? comments or whatever and we can iterate. I can also push commits that way to help, too. But as I said earlier, it would help immensely to work with an existing example for this.

Okay am going to try to make a PR here related to a plot_seeg.py tutorial, where it will involve also my attempt at what you stated above.
Now that I'm re-reading your comment here: https://github.com/mne-tools/mne-python/issues/8388#issuecomment-712402587
I actually don't know what the difference between mni, mri, and fs coordinate_frames in the context of mne python really means. What are the consequences per say of these?

I actually don't know what the difference between mni, mri, and fs coordinate_frames in the context of mne python really means. What are the consequences per say of these?

The only one you should need to deal with in this context is the MRI coordinate frame. I'll comment in your PR as needed...


[WIP] Replace vtk

This branch uses SimTK parsers to avoid pulling in the massive vtk library but has some deficiencies due to lack of reading mesh normals in vtp files and to the missing torus analytical shape

This addresses issue #10 and will fix it when the deficiencies above are addresssed

@AlbertoCasasOrtiz For your review. Would be good to get this in to be ready for the normals and textures from simbody PR

Thanks much @AlbertoCasasOrtiz 👍


[BUG] Can't exclude all files

Describe the bug
The exclude option doesn't seem to be working to exclude all files.
To Reproduce
Steps to reproduce the behavior:
Add a .github/config.yml file to your repo containing:
todo:
  exclude: .*

(I also tried to wrap in quotes: ".*", with no success)
Expected behavior
No comments or issues should be created by the todo bot.
Additional context
I know it's rather strange to exclude all files from the bot, but this comes from the fact that I cannot disable the todo bot entirely on my repository (it's enabled company-wise by default, and there's no way to configure an exclusion on github, only inclusions).
We have a lot of documentation where the portuguese word "método" occurs, and the wrong todo comments diverts attention a lot.

Hey @potibas 👋 this is definitely not something I'd considered 😅 my first inclination would be to not install it on all repos, and instead to be more selective. That said, the above should work. Alternatively, you can change the custom keyword to something obscure, so that it doesn't trigger on método.

Didn't know about that one, thanks.
However it still doesn't work even after changing the keyword to "thingamagingamabob". I probably have some misconfiguration somewhere, it seems it's just ignoring the .github/config.yml file.
Anyway thanks for your help.

I'm closing this, it doesn't seem to be a bug with the bot, probably some weird configuration problem on my end. Again thanks!


cannot import name 'anchor_generator_pb2' from 'object_detection.protos'

When running a verification script this error outputs: ImportError: cannot import name 'anchor_generator_pb2' from 'object_detection.protos'
I have been stuck at this error for many days and all the solutions haven't worked.
Any help is greatly appreciated.

Is this a dup of https://github.com/tensorflow/models/issues/2930 ?

Hi @N04H8,
This issue is more suitable for the TensorFlow Models repo. Please post it on the Tensorflow Models repo from here. Thank you!


Remove schema from each page

Only have a link to the actual schema on the page

Completed before issue was created.


Add support for flushing headers

Resolves #657.
This is my first PR to this project, so if I'm doing anything wrong please let me know :smile:.

i think we just need more tests :)
@ChALkeR care to review?

also, docs!

and i think we should throw if the user does this.status= after flushing headers unless node already does.

@jonathanong this.status= after flushing now throws, how do I test this though? The error is thrown in the generator, so should I just put the assert there? If the assert fails, it won't give a nice error message though.

@jonathanong Docs are done, any more ideas for tests?

Oh, also, should I squash this into one commit before merge?

Oh, also, it would appear I don't need to set the current status code, as that's already done by the status setter. I've added a test for other status codes.

Since this is a breaking change, even if only for the use case it fixes, should I rewrite this for the 2.x branch?

@ChALkeR any opinions?

@PlasmaPower yeah i'm thinking it's best to rewrite from v2.x

I'll make a PR for koa v2 then, it shouldn't be too hard.

:+1:

how do you guys use this? we tried to flushHeaders but the headers are only flushed at the end and not as soon as we call the method. Can you please confirm the version that this patch was released to?

@mufumbo The flushHeaders method calls the response object's writeHead. If the method exists at all, it should work as expected. Do you have evidence that it doesn't?


Enabling customization of application metadata

Hello, first I would like to congratulate all the maintainers for this relevant project.
I am adopting the actuator in all the languages we use (node, python, .netCore and Java).
I missed an option to define the application's metadata for spring boot registration.
I made this simple proposal to support customized metadata.
I hope that this PR is worthy to be adopted.

I found a block to run the tests locally, I am trying hard to beat it.
To guarantee functionality, I tested it manually, either passing the new parameter or omitting it.

@marcosborges i didnt even know you can add metadata, this is very cool!
can you point me to where youbare blocked - will try to unblock too.
thanks

Codecov Report

Merging #48 (18f9815) into master (5ada442) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   95.22%   95.23%
=======================================
  Files          28       28
  Lines        1090     1092    +2
=======================================
+ Hits         1038     1040    +2
  Misses         52       52

Impacted Files
Coverage Δ

pyctuator/impl/spring_boot_admin_registration.py
83.33% <100.00%> (+0.18%)
:arrow_up:

pyctuator/pyctuator.py
91.86% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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


Can not debug python code with Anaconda.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.66
OS Version: Windows 10

Steps to Reproduce:

install Anaconda
use vs code create a .py file just with a single line print('hello world!')
press "F5"
nothing happens.  the debug action won't start.

/extPython
All debugging in VS Code is the responsibility of an extension.


Docs: Fix typo in procedure for obtaining auth token

Type of change

Documentation

Description

Docs: Fix typo in procedure for obtaining auth token
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[x] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

Can one of the admins verify this patch?


Can all appovers see all submitted claims?

Can all appovers see all submitted claims?
or do you submit claims to a specific approver?

The first interpretation is the one intended. Claims are not submitted to a specific approver.


Launchbuddy with monitor snapping support/multiboxing/multimonitor rig.

More of a suggestion for those of us with multiple monitors. Multiboxing setups open all the windows on the default monitor. However, I would like each instance to open up in a monitor of my choice. So part of the account options would allow us to select options: unset and monitor x, use new monitor for each new instance...
If that is not doable, perhaps an option to have unique process names and windows titles so I can use a monitor management software such as Displayfusion to move the windows to a monitor of my choice.

This shouldn't be that hard to implement. My/Our available time to work on this project has decreased drastically. Currently there are more important to fix and update. But I got this on my "Future features list" now.

I am actually planning on looking into the option of tying all the Guild Wars clients into the LB taskbar item for a cleaner look. In a way similar to Internet Explorer tabs back in the Windows 7 days. Or alternatively a "Switcher" window where you can see each logged in account and the respective window.

Awesome! Yeah, just wanted to make a suggestion. I can workaround it and am patient. I understand that other things take priority, both real life and on severity of action items to take care of with this project. Thanks for adding it to your future features list! :)


Use hygen to Inject on same line

I am unable to find a way to add(inject) content starting from the same line. Is injecting on same line supported by hygen?
In the below example, i could replace the line 2 maybe, but i don't want to do that, this is just an example of common issue i come across often.
module.exports = {
  content: [], # I wish to add few paths inside this '[ ]' not after this or before this.
  theme: {
    extend: {},
  },
  plugins: [],
};

+1

Next major version will include swaps. I'll use this issue for reference, thanks!


fix: remove PII from agent config toJSON() method

Signed-off-by: Jim Ezesinachi<EMAIL_ADDRESS>

All checks passed! @blu3beri

@rapaktech Prettier is failing now :). Could you fix that? I can merge it afterwards.

@TimoGlastra would this be considered a breaking change? The return type of the function is quite different now, but I don't think it is a "public method"

You got it, Timo. On it.

Codecov Report

Merging #1112 (00947eb) into main (6747756) will decrease coverage by 1.33%.
The diff coverage is 85.35%.

@@            Coverage Diff             @@
##             main    #1112      +/-   ##
==========================================
- Coverage   88.33%   86.99%   -1.34%
==========================================
  Files         701      705       +4
  Lines       16111    16399     +288
  Branches     2597     2657      +60
==========================================
+ Hits        14232    14267      +35
- Misses       1872     2125     +253
  Partials        7        7

Impacted Files
Coverage Δ

...ges/core/src/modules/common/messages/AckMessage.ts
100.00% <ø> (ø)

...ges/core/src/modules/credentials/CredentialsApi.ts
86.91% <ø> (ø)

...les/credentials/formats/CredentialFormatService.ts
100.00% <ø> (ø)

...ntials/formats/indy/IndyCredentialFormatService.ts
87.95% <0.00%> (+0.52%)
:arrow_up:

...s/protocol/v2/handlers/V2IssueCredentialHandler.ts
96.00% <ø> (ø)

...s/protocol/v2/handlers/V2OfferCredentialHandler.ts
67.74% <ø> (ø)

...protocol/v2/handlers/V2RequestCredentialHandler.ts
96.42% <0.00%> (ø)

...ckages/core/src/modules/dids/domain/DidDocument.ts
96.47% <ø> (ø)

packages/core/src/modules/ledger/LedgerApi.ts
97.61% <ø> (ø)

...e/src/modules/proofs/formats/ProofFormatService.ts
100.00% <ø> (ø)

... and 33 more

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


fix travis build

hi @Ploppz i saw yyour PR on TLmaK0 repository with travis issues, i fix it ( and fix some clippy errors )
see : https://travis-ci.org/Aedius/rustneat
i hope it helped

Great work, thanks! Maybe it can finally be merged in TLmaK0's repo :)


gstCamera capture RGBA8 images

If I would like to use the gstCamera to capture RGBA8 images, how should I call the function Capture?

Are you using C++ or Python?  You should use videoSource interface instead, and then either pass a uchar4* pointer to Capture() if using C++, or if using Python there is an optional argument format='rgba8'

From: deeprun @.>
Sent: Sunday, March 28, 2021 1:04:00 AM
To: dusty-nv/jetson-utils @.>
Cc: Subscribed @.***>
Subject: [dusty-nv/jetson-utils] gstCamera capture RGBA8 images (#61)
If I would like to use the gstCamera to capture RGBA8 images, how should I call the function Capture?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdusty-nv%2Fjetson-utils%2Fissues%2F61&data=04|01|dustinf%40nvidia.com|00e3302fd17d4103305208d8f1a6e6c2|43083d15727340c1b7db39efd9ccc17a|0|0|637525046440222403|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=MDc08Mg6xbOeIFu3Qi7BkLANOGgQ7KayhuRc4O0kV4E%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADVEGKYOXT4RPFHSHVA27WLTF22EBANCNFSM4Z5U2FTA&data=04|01|dustinf%40nvidia.com|00e3302fd17d4103305208d8f1a6e6c2|43083d15727340c1b7db39efd9ccc17a|0|0|637525046440232398|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NAVQJPvFqips2WZ9ERI0jDXiFAqDGPiX113buaUUx5w%3D&reserved=0.

Any code example to using VideoSource to capture live stream for deep learning processing? I am using gstCamera because I use CameraViewer as an example.

Hi, look at jetson-inference and the imagenet/detectnet/segnet examples.

From: deeprun @.>
Sent: Sunday, March 28, 2021 5:24:42 PM
To: dusty-nv/jetson-utils @.>
Cc: Dustin Franklin @.>; Comment @.>
Subject: Re: [dusty-nv/jetson-utils] gstCamera capture RGBA8 images (#61)
Any code example to using VideoSource to capture live stream for deep learning processing? I am using gstCamera because I use CameraViewer as an example.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdusty-nv%2Fjetson-utils%2Fissues%2F61%23issuecomment-808961717&data=04|01|dustinf%40nvidia.com|7ac5bc7e06db4644c3e508d8f22fe71e|43083d15727340c1b7db39efd9ccc17a|0|0|637525634852511941|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2BQTAYFulnqjRsgd0PZrv2QM5Ho1FrWrX%2Bskan8%2BtOIU%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADVEGK7XQMQHNLGYDISUOTTTF6NBVANCNFSM4Z5U2FTA&data=04|01|dustinf%40nvidia.com|7ac5bc7e06db4644c3e508d8f22fe71e|43083d15727340c1b7db39efd9ccc17a|0|0|637525634852511941|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=8cy00BljLnma9OZtWvez38gtbV0XMCKVet4faVTf1ZI%3D&reserved=0.


Bug Report: Elements disappearing when selecting them in the Stage Editor

So I'm using the latest version of the engine, I went into the Stage Editor to change some stuff. But when I selected the elements they just disappeared even when unselecting them.
Which target are you using?
Windows
What version of the engine are you using (Bottom left of the screen in main menu) ?
1.9.1

Hopefully it isn't too hard to fix this.

Fixed


Reduce number of connections used by KafkaIO restriction trackers

It was recently identified that ReadFromKafkaDoFn's restrictionTracker leaked connections that are not being polled anymore.
This can cause considerable performance degradation for Kafka clusters, as they rely on the connections.max.idle.ms to clean it up.
It was also hard to track where new connections were coming from, so I've added a few logs to indicate when a new connection is needed in the critical path.
KafkaLatestOffsetEstimator doesn't hold any state, so by reusing it across backlog statistics for the same DoFn instance, we can save a huge amount of connections.

Also totally possible I am reading it wrong or misunderstanding what I am hearing from everyone about testing of this.


Setup CircleCI

Why

Travis was failing to setup the container today
Travis is slow
CircleCI has nice workflow with checks displayed individually on the PR (test, lint ...)

How

We probably gonna need to remove the travail link in the readme


[Event Request] Table 11307 G/L Entry Application Buffer - OnGetAppliedEntriesOnAfterInsertTempGlEntryApplicationBuffer [NL Localisation]

Please add a new publisher event to the function GetAppliedEntries as follows:
GetAppliedEntries(VAR TempGLEntryApplicationBuffer : TEMPORARY Record "G/L Entry Application Buffer";OrgGLEntry : Record "G/L Entry")
IF OrgGLEntry."Closed by Entry No." <> 0 THEN BEGIN
GLEntry.GET(OrgGLEntry."Closed by Entry No.");
TempGLEntryApplicationBuffer.TRANSFERFIELDS(GLEntry);
TempGLEntryApplicationBuffer.INSERT;
//>> Start New Publisher Call
OnGetAppliedEntriesOnAfterInsertTempGlEntryApplicationBuffer(TempGLEntryApplicationBuffer, GLEntry, OrgGLEntry);
//>> End New Publisher Call
END ELSE BEGIN
GLEntry.SETCURRENTKEY("Closed by Entry No.");
GLEntry.SETRANGE("Closed by Entry No.",OrgGLEntry."Entry No.");
IF GLEntry.FINDSET THEN
REPEAT
IF GLEntry."Entry No." <> OrgGLEntry."Entry No." THEN BEGIN
TempGLEntryApplicationBuffer.TRANSFERFIELDS(GLEntry);
TempGLEntryApplicationBuffer.INSERT;
//>> Start New Publisher Call
OnGetAppliedEntriesOnAfterInsertTempGlEntryApplicationBuffer(TempGLEntryApplicationBuffer, GLEntry, OrgGLEntry);
//>> End New Publisher Call
  END;
UNTIL GLEntry.NEXT = 0;

END;

Publisher Definition
LOCAL [IntegrationEvent] OnGetAppliedEntriesOnAfterInsertTempGlEntryApplicationBuffer(VAR TempGLEntryApplicationBuffer : TEMPORARY Record "G/L Entry Application Buffer";GLEntry : Record "G/L Entry";OrgGLEntry : Record "G/L Entry")

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


CreateReceiverDepositEndpoint endpoint

Description
Before being able to send certificates/slices from wallet to wallet we the receiver deposit endpoint must be created, which is where the certificates are sent to.
Acceptance Criteria

When called a guid is returned to the sender, which states where to send the certificates to

Dependencies
Out of scope
Solution Plan

[ ] Rename WalletSections table to DepositEndpoint
[ ] Make WalletId and WalletPosition nullable for receiverDepositEndpoints and add owner and referenceText
[ ] Create and store receiver deposit endpoint in database
[ ] Migrations for Owner so that it is non-nullable and gets owner from Wallet table
[ ] Migrations for referenceText to string.empty
[ ] Write integration tests

What about verification that the Wallet Deposit Endpoint is working? That is, it is referencing a working Wallet System and can hit a valid Wallet.
As far as I can see, this is outside the scope of this task. Should we have an issue for it?


Add a way to whitelist non-snake case method names

When applying the WPCS to PHPUnit tests, the setUp and tearDown methods are recognized as not conforming to snake case rules. There should be a way to whitelist those methods (as far as I could see whitelisting is currently only possible for variable names).

Yeah, in my custom ruleset, I have this:
	<rule ref="WordPress.NamingConventions.ValidFunctionName">
		<exclude-pattern>/tests/*</exclude-pattern><!-- because of PHPUnit method names -->
	</rule>

Actually, I thought that this was part of WPCS's ruleset, but I guess it's not.

@mundschenk-at Could you post a minimal example of code which triggers that error in the case of a PHPUnit implementation ?
The sniff checks whether a class extends another class and/or implements an interface and bows out before the snakecase check if that's the case, so if your tests are based on PHPUnit you shouldn't have a problem as the test classes generally are declared as class My_Test extends PHPUnit_Framework_TestCase {}

@jrfnl Huh, it looks like something strange is going on with Atom's linter-phpcs package. It generally applies the same rules (via custom phpcs.xml but apparently triggers some false alarms? I can't reproduce the error on the command line at all.

@mundschenk-at In that case I suggest you check with the creators of Atom's linter-phpcs whether it includes the latest PHPCS version as an outdated PHPCS version is the only thing which comes to my mind as a possible reason for this inconsistency.

@jrfnl The weird thing is that it is using the command line tool (which is at version 2.8.0).

@mundschenk-at That is weird indeed. All the same, as you confirmed that the error does not appear when running WPCS from the command line, it still sounds like the problem is with linter-phpcs, not with WPCS.

Yes. I'll close the issue.

Hope you'll find a solution. If it turns out there is something we can do to assist from within WPCS, please feel free to re-open.


Missing implementations.

Just gonna write a list of things to do instead of making a new issue every 5 seconds.
-ahem-

[X] Implementation of events within environments. That is, events that get passed to all inhabitants of the environment (including the overworld and the UI).
[X] Implementation of the global scheduler.

Edit when more to come.

Temporarily closed until more things come.


CASK_LANGUAGE_REFERENCE.md: Update on tilde expansion in :delete

The basic form of tilde expansion has since been made available to :delete in the uninstall stanza (once upon a time it was only available to :delete in zap), so the docs should be updated to match the behavior.
See https://github.com/caskroom/homebrew-cask/pull/16107#discussion_r48427036 for a recent exchange on this topic.

Fixed.

Thank you for the contribution. It was merged directly as 7fb95ee0ed49d45e1f6237fa02d565434813f011 to keep commit history cleaner. Your contribution is still credited to you.


Some datasets cannot be downloaded

I encountered the following problem when downloading the country211 dataset
ReadTimeoutError: HTTPSConnectionPool(host='cvinthewildeus.blob.core.windows.net', port=443): Read timed out
I tried several times, but it seems that the data set cannot be downloaded due to network problems. Would you mind sharing data through web disks? This can effectively avoid data transmission problems.

Thanks for your interests. We just tested on my end, the dataset can be downloaded successfully. It is likely that there are some Internet issues that causes the error.
If you are really interested in downloading the datasets manually, here are the instructions. The data is currently shared via Azure storage. You may directly download the data from specific links.
Step 1. Choose a dataset:

All the 20 image classification datasets are stored at: https://cvinthewildeus.blob.core.windows.net/datasets/classification

You may select a dataset by choosing the corresponding dataset folder, from one of the 20 datasets in the following screenshot. For example, country211 is chosen in your case, the dataset-specific link is https://cvinthewildeus.blob.core.windows.net/datasets/classification//country211_20210924

Step 2. Choose a file in the dataset.

Once a dataset folder is chosen, you may need to further specify which file/set you want to download. For example, the screenshot below shows the files & folders for country211. If you want to download training set, you may specify the link as:

https://cvinthewildeus.blob.core.windows.net/datasets/classification/country211_20210924/train.zip

Similarly, you may download other files by specifying different files by editing the link.

Thanks for your reply.
Would you mind providing a txt file containing all download links?


options: Remove the linking-related options.

They do nothing, and are effectively superseded by --raw-line and friends.
They also tend to confuse people.
Closes #104

r? @fitzgen or @pepyakin

@bors-servo r+

:pushpin: Commit 8e3e585 has been approved by pepyakin

:hourglass: Testing commit 8e3e585b6efc6771cac8a9fa6ef9f9310c3d0f08 with merge 0fd5e9ec6899ace88997a2cd58e3c2dfa3a3a98d...

:sunny: Test successful - status-travis
Approved by: pepyakin
Pushing 0fd5e9ec6899ace88997a2cd58e3c2dfa3a3a98d to master...


what happens if substituted key already exists?

e.g. I have subst_char = _
and following two keys:
my_bad_key
my/bad/key
Which of them would be shown?
Does it result in an error?

substitution not supported anymore with V1


Detect when our vscode:// UriHandler isn't registered on the OS and inform the user

The GitHub Auth extension has taken a heavier dependency on the UriHandler API last iteration. As a result, I have had to answer to so(1) many(2) of(3) the(4) same issue.
This iteration, I added some fallback logic to handle when the UriHandler doesn't work as expected, but we should handle this better and inform the user what they need to do in order to get what they want... or provide a mechanism for extensions to know when the UriHandler won't work so they can easily handle accordingly.
I added @deepak1556 since you know a lot about the underlying implementation of UriHandler and @joaomoreno because I think you own it? I could be wrong.
btw, this happens if you attempt to use the Linux zip build or the Windows zip build... but there are workarounds that can be applied on these systems to get the UriHandler working.

The other issues are closed mentioned above. I really hope it's possible to find another way of doing this, maybe have a login page in vscode or something? It's just too error prone. Took me 20 mins to get this wokring ..


zfs: 0.8.1 -> 0.8.2

Motivation for this change
Now also works with Linux 5.3.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @jcumming @wizeman @fpletz @globin

@GrahamcOfBorg build zfs linuxPackages.zfs linuxPackages_latest.zfs

Ran the zfs test locally. :+1:


Writing tests with Elm 0.19

With Elm 0.19 and the new elm.json, tests don't need to have their own elm-package.json anymore :
{
    "type": "package",
    ...
    "elm-version": "0.19.0 <= v < 0.20.0",
    ...
    "test-dependencies": {
        "elm-explorations/test": "1.0.0 <= v < 2.0.0"
    }
}

But when writing tests in vscode, it seems like vscode-elm (when running elm-format) is not aware of those test-dependencies :
UNKNOWN IMPORT - The Tests.Validation module has a bad import:

    import Test

I cannot find that module! Is there a typo in the module name?

When creating a package, all modules must live in the src/ directory.

Running everything outside of vscode works fine :
$ elm-format -h
elm-format-0.19 0.8.0
...

$ elm-format --validate tests/
[]

$ elm-test
Success! Compiled 1 module.
Success! Compiled 1 module.

elm-test 0.19.0-beta4
---------------------

Running 43 tests. To reproduce these results, run: elm-test --fuzz 100 --seed<PHONE_NUMBER>

TEST RUN PASSED
...

But it would be nice to have vscode-elm aware of those test-dependencies just like elm-format is (I suppose that now elm-test is generated in the same/root elm-stuff folder and that's how elm-format is aware of the Test module).

I asked about this in sslack, the plan is that elm-test will provide its own make function that we can call whenever we detect that we're in a tests file (or the tests directory).
I'm planning to add an `elm-test make` which takes care of this for test files

which editors can then run instead of `elm make` when they detect that they're in the `tests/` directory

Looks like this has been done: https://github.com/rtfeldman/node-test-runner/issues/284

I'm guessing the right place to look here is elmMake.ts, to return a different makeCommand if this is elm 0.19 and we're in the tests folder?

I have created a PR for this #286  :)


Remove type: ignore, upgrade httpx

httpx was erroring out in a way that was fixed by upgrading to 0.18. For httpx's changelist, see https://github.com/encode/httpx/releases?page=2.
While making that change, I noticed that MyPy was raising an error: unused 'type: ignore' comment, so I removed that bit. I have no idea if that could have some unintended consequences, let me know if you think it might.

poetry run pre-commit run --all-files passes locally, and the example from the README seems to run fine as far as I can see.

Nice work. I just let the tests run and they failed. I'm not sure why and I don't think it's related to anything you've changed....


DeepGL algo doesnt seem to finish

Load data:
:play movies
Run algorithm:
CALL embedding.deepgl(null ,null)
Inspecting the logs it seems that algorithm get quickly to:
2018-10-06 08:03:38.268+0000 INFO  [neo4j.BoltWorker-3 [bolt] [/<IP_ADDRESS>:54242] ] DeepGL 100% Size of combined embedding: [171, 28379]
2018-10-06 08:03:38.268+0000 INFO  [neo4j.BoltWorker-3 [bolt] [/<IP_ADDRESS>:54242] ] DeepGL 100% Number of prev features: 767
2018-10-06 08:03:38.268+0000 INFO  [neo4j.BoltWorker-3 [bolt] [/<IP_ADDRESS>:54242] ] DeepGL 100% Creating AdjacencyMatrix
2018-10-06 08:03:38.268+0000 INFO  [neo4j.BoltWorker-3 [bolt] [/<IP_ADDRESS>:54242] ] DeepGL 100% Adding columns to array
2018-10-06 08:03:38.268+0000 INFO  [neo4j.BoltWorker-3 [bolt] [/<IP_ADDRESS>:54242] ] DeepGL 100% Added columns to array
2018-10-06 08:03:38.268+0000 INFO  [neo4j.BoltWorker-3 [bolt] [/<IP_ADDRESS>:54242] ] DeepGL 100% Populating adjacency matrix 2

but the next step doesn't finish more than 10 minutes after.

How many iterations has it run at that stage? It should say just above what you pasted in the logs.
I think our default number of iterations may be too high.

Ok looking at iterations...
It takes 45s to get to the fifth iteration
Then it really slows down with taking just under 4 minutes to finish fifth iteration and 13 minutes to finish sixth iteration


UI/UX for the navigation between tree page is confusing

Navigation in the pages are pretty counter-intuitive in term of UX, when you want to go on subpages you have to click on the arrow at the right of the bloc instead of the page name.
It would have been more logical to be redirected to the subpages when clicking on the name of the page and just keep the edit button to modify it.

Thanks for the comment @Ermite-bossu! I think it's a bit more complicated than that though... for pages that conventionally don't have child pages (such as news articles), it would be even more unintuitive for that link to take you to the list of subpages (which would be an empty listing saying "no pages have been created here"). I think the "expected" behaviour depends on whether you think of the page type as an 'index' page or an 'article' page - and, of course, changing the behaviour depending on the type of page would be more confusing again...
A couple of more radical solutions I've thought about:

for 'index' pages, make it possible to manage/navigate the list of child pages from the 'edit' view, so if you do click that link, you're not in the "wrong" place
make 'index' pages and articles meaningfully different in the listing view, so that it doesn't seem weird for the title links to go to different places

Thanks @gasman for the explanation and indeed it seems more difficult than I thought. Maybe it’s because I’m an editor with wagtail and I still have noob vision of the navigation, but if I take the exemple of the navigation in file system like MacOS finder / Windows file explorer, as long as the item you click on is a folder, you will go down in the tree until it’s just a file, in which case the file will open.
And the other point which is confusing is that when you navigate in the side menu, when you clicking on the page name, you open the index page (same as the arrow) and not the page itself (witch you can only open with the edit button).
As for the solutions you’ve thought about, the second one would be perfect to know what kind of pages you have to deal with ! Maybe I can work on a visual exemple on Figma and propose it to you?

Hey @Ermite-bossu
I encountered the same thing when using the Wagtail. If you have access to the deployment or the source code you can change templates/wagtailadmin/pages/listing/_page_title_explore.html
{% if page.is_navigable %}
        {{ page.get_admin_display_title }}
{% else %}
        {{ page.get_admin_display_title }}
{% endif %}

This way you will get the behaviour we all know from the explorer, but only in explorer view.

@gavin-bailey no, there is no plan to change this at this time. See this explanation as to why it’s not that clear cut what to do with this.

Based on the recent universal listings discussion, I believe it’s clear we’re happy with the page title being an "Edit" link. It’s also much less confusing than it used to be in Wagtail 5.2, because the "Edit" button is much further away from the title link. So I’ll close this now.


Plugin upgrade breaks recognition of build tasks when using status bar button

Brief Issue Summary
With a default built task configured from task.json, pressing the Build button from the status bar now reveals a menu rather than running the default build task.  The menu does not appear to contain the default build task as an option. This was not a problem in 1.12.27 - it would launch the default task as expected.
Build button:

Revealed menu after pressing button:

The "Cmake:Build Task" option in the workspace settings is set.
CMake Tools Diagnostics
{
  "os": "linux",
  "vscodeVersion": "1.74.3",
  "cmtVersion": "1.13.40",
  "configurations": [
    {
      "folder": "/home/jon/git/proto",
      "cmakeVersion": "3.18.4",
      "configured": true,
      "generator": "Unix Makefiles",
      "usesPresets": false,
      "compilers": {
        "C": "/bin/x86_64-linux-gnu-gcc-10",
        "CXX": "/bin/x86_64-linux-gnu-g++-10"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": true,
    "hasCodeModel": true,
    "activeBuildType": "Debug",
    "buildTypesSeen": [
      "Debug"
    ],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 1,
    "executablesCount": 0,
    "librariesCount": 1,
    "targets": [
      {
        "name": "rpc",
        "type": "STATIC_LIBRARY"
      }
    ]
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}

Debug Log
(no relevant input generated when the menu comes up)

Additional Information
Below is the contents of my tasks.json.  Pressing ctrl+shift+b builds as expected.
{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  "version": "2.0.0",
  "tasks": [
    {
      "label": "build current target",
      "type": "shell",
      "options": {
        "cwd": "${workspaceRoot}/build"
      },
      "command": "make -j`nproc` ${command:cmake.buildTargetName}",
      "problemMatcher": [],
      "group": {
        "kind": "build",
        "isDefault": true
      }
    },
  ]
}

Setting the default built task again (ctrl+shift+p -> Configure Default Build Task) does not resolve the problem.

Looking closer at your task's definition, I noticed that your task is a "shell" type not a "cmake" type.
In this design, for a task to be used as a build task by CMake, it needs to be a "cmake" type.
Can you try this task instead and let us know if it works for you?
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "build current target",
      "type": "cmake",
      "command": "build",
      "targets": ["all"]
      "problemMatcher": [],
      "group": {
        "kind": "build",
        "isDefault": true
      }
    },
  ]
}

and set the build args in settings.json as below:
     "cmake.buildDirectory": "${workspaceFolder}/build",
    "cmake.parallelJobs": "9",

Looking closer at your task's definition, I noticed that your task is a "shell" type not a "cmake" type. In this design, for a task to be used as a build task by CMake, it needs to be a "cmake" type. Can you try this task instead and let us know if it works for you?
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "build current target",
      "type": "cmake",
      "command": "build",
      "targets": ["all"]
      "problemMatcher": [],
      "group": {
        "kind": "build",
        "isDefault": true
      }
    },
  ]
}

and set the build args in settings.json as below:
     "cmake.buildDirectory": "${workspaceFolder}/build",
    "cmake.parallelJobs": "9",

Hi,
Thanks for the quick reply.  That does work around the problem, but it undermines our purpose in having a task-based build. Using "shell" was intentional because we get colored text in our output window (which can be helpful for a large and complex build), we can query the processor count rather than hardcoding it into the settings.json, and just generally we have the option of incorporating other arbitrary build enhancements.
In this way, the task you provided gets past the bug but it doesn't convey much benefit beyond just doing a non-task-based build.
I can't speak to the broader intent of whether 'shell' tasks were originally intended to work, but it does work in the last version, and it's hard to see how a task-based build is useful if you can't customize how the build is executed more than with a non-task-based build.

Yes - the intent is to use the build button on the status bar, as that's right next to where you set the target you're building.  It worked before the update.

@jonbot1 it wrked before update but it worked 'to well' - target set on status bar was used by any build task. So even if you select other target from 'Cmake Project Outline' you Got only build of one set in status bar.
From that reason searching of tasks had to be redesigned and plugin itself assumed to use only 'cmake' tasks. Of course it is still possible to run non-cmake tasks with 'Run Task' command.

Thanks @piomis.  Can you explain then what the status bar selector is now for if not to choose the target to build?  I would think an implementation where choosing an item in the Cmake Project Outline updates the status bar selector would be reasonable...but I'm not so well-versed in the tool to claim I know all the knock-on effects of that.
Is there a way to define a custom build command for a "cmake" task type?

@jonbot1
First of all small disclaimer.
I am not an owner of cmake-tools thus I may only answer what I think or believe - please do not take it as official statement from the team.
In regards to first question:
Target selected in status bar (as also hoover tool tip says) is "default target" which is used by default if none of other targets is used.
Thus changing it when specific target is selected from "Cmake Project outline" (or task with target already specified in tasks.json) wouldn't make much sense.
In regards to custom build command. I am not sure what "custom command" you mean.
For any specific custom stuff to do I personally use 'cmake' capabilities itself (e.g. add_custom_target)
If you need to specify number of "parallel jobs" I believe cmake-tools already supports automatic detection  - see cmake.parallelJobs
If you need some additional options to be passed I suppose you may try "options" in task definition in tasks.json

I encountered the same problem, and resolved it by returning to the old version 1.27.*

"Target selected in status bar (as also hoover tool tip says) is "default target" which is used by default if none of other targets is used.
Thus changing it when specific target is selected from "Cmake Project outline" (or task with target already specified in tasks.json) wouldn't make much sense."
To me this defies sensible usability. The setting on the status bar is the most visible setting - it's always there, taking up real-estates. To saying that you set the default there but have to dig into a menu/view to set what overrides it seems fundamentally backwards to me. I've never used the CMake project outline, and with a clean button that displays a searchable pull-down of targets, I don't know why I ever would.
It's possible that I can implement particular behaviors using cmake, but in the case of rich terminal output (errors getting highlighted in a different color, for example), it's not clear to me that would be possible...
I understand that perhaps isn't your call, @piomis , and also I probably don't understand all the use cases. I'm going to step back from this but it doesn't seem like the new way of working makes much sense based on my own perspective.  I'll be trying to avoid upgrading the plugin as long as possible as a workaround.

CMake Outline lists all targets defined (AFAIR CMake GUI provids similar capability).
For me it is very useful for so called 'utility' targets (these are onea which are not 'real' build but helpers/additional activities).
I usually use status bar target is for switching between different 'build' targets (e.g. Application1, library, etc) which are triggered by 'build' button.
But utility or test tasks IMHO do not fit into that workflow.
Nevertheless I understand your concern that 'shell' task type stopped working. I am also not fully satisfied with current solution. I will try finding some time and propose pull request and lets see what maintainers will say.

@jonbot1 @piomis It seems based on all of the conversation above that you all have diagnosed what is happening. We are depending on a task being of type "cmake" in order for it to be used from the "Build" button.
Therefore, this isn't as much of a bug, as it is currently by design.
However, it's a very reasonable request, so I am switching it from a "bug" to a "Feature Request" and moving it to the 1.16 milestone.


Images link  in notebook had invalid

As shown in the picture, many images link had invalid in notebook.
Please fix the link. thank you.

哪个链接的图？

好像是网络问题，挂了梯子又都可以显示了，谢谢哈


Dataset is not downloadable

Hello，nice work with this dataset. However it seems that currently MIDOG++ is not available for download using Setup.ipynb (I've tried in Switzerland and France).

Also if you change the link to url = f'https://figshare.com/ndownloader/files/{file}' it works:

Hey there. Thanks for the feedback. It seems figshare has updated its scheme again.
Given that you have a viable fix- would you mind creating a pull request?


services/horizon: Horizon 2.0.0 CHANGELOG

@ire-and-curses do you want to check the changes: https://github.com/stellar/go/pull/3429/commits/37132af0c6197061981aa2ef552aba95bd8b00c1?

@ire-and-curses merged, should be easy to update if you have further comments.

Looks great! :tada:


UTF8 Build paths

re: esupport SWJ-921804
I infer from this esupport request that our build process (at least automake) is failing
when the path to the netcdf-c directory contains non-ascii characters.
Need to verify and fix.

HDF5 does not currently support UTF-8 characters in data file names (open file, create file, etc.)  This is likely the cause of this netcdf issue.  Here is the most recent HDF5 ticket for this.
https://forum.hdfgroup.org/t/non-english-characters-in-hdf5-file-name/4627
There are a couple of suggested application-level worksrounds in that ticket.  They seem kludgy and restrictive to me.  Best would be for HDF Group to simply fix UTF-8 support in their API file name calls.

Your original ticket SWJ-921804 says:  "It looks like the library compiled and built correctly, but
some of the tests failed."  This is what you would expect with the HDF5 open/create file name limitation.

Sounds right to me. I will close this until such time as HDF5 supports utf8 paths.


Self disconnect after N minutes

bot should leave the discord call after (20) minutes of inactivity so this doesn't happen:

proposed changes: https://docs.google.com/document/d/1UX_eNpZeZ0GY1nMBUvLCo9qxWxdeURcvs029mT_odoo/edit?usp=sharing

or just use this lmao
https://github.com/angelobreuer/Lavalink4NET/wiki/Inactivity-Tracking#example-options

This has been implemented. Thank you @DLi7077 .


Portal makes ListView "freeze"

Describe the bug
When using Portal together with ListView, the list scroll becomes choppy, and the scroll is blocked intermittently.
This problem occurs 100% under certain conditions:

The problem occurs either with Debug / profile / release build
Only tested with Web; not with iOS, Android, etc.
Mouse wheel scroll is blocked; scroll with PageDown key is not affected (smooth as expected)
Apparently if the window width is large enough, the problem won't occur

https://user-images.githubusercontent.com/4177010/166268174-0035fee2-fe5a-45c5-9b61-db04f1c85887.mov
Video: scroll is hindered with _usePortal = true. When switched to false, scroll becomes smooth.
It's not freezing the whole Flutter application, as can be observed by seeing _counter increasing.
To Reproduce
Repro is here: https://github.com/kissge/flutter_scroll
Relevant codes: https://github.com/kissge/flutter_scroll/commit/8908def700699978d639671951bb612ae4ea6d22
Expected behavior
Smooth scroll
Google Chrome 100.0.4896.127, Flutter 2.10.5, Dart 2.16.2, flutter_portal 1.0.0
If this is intended behavior, I'd much appreciate if you give me some hints for avoiding this problem.
(I'm just a newbie in Flutter, don't have basic knowledge like how to profile an app, etc.)

Sounds like a bug, and the bug report is detailed - great!
Could you please test on android/ios? I feel flutter web sometimes have strange bugs.


Where is D435i firmware version <IP_ADDRESS>?

librealsense 2.21.0 release notes recommend <IP_ADDRESS> firmware for the D400 series. However, I can't find this on the firmware download site (https://downloadcenter.intel.com/download/28573/Latest-Firmware-for-Intel-RealSense-D400-Product-Family?v=t). The latest one on the site is 5.11.4

I have a copy of it, but I don't think it's a good idea to install it.  See #3978.  FW <IP_ADDRESS> appears to be your best bet as the D435i will enumerate correctly and be recognized by librealsense.

I'm actually using it and it seems to work fine, I'm just wondering why it disappeared from the site - maybe it's no longer recommended?

@ryan4729 , @oursland -
The fw <IP_ADDRESS> was temporally removed. I believe it will be restored soon.
In any case we do not recommend to downgrade from 5.11.6 to previous versions.

Downgrade is dangerous, https://github.com/IntelRealSense/librealsense/issues/3857

Hi All,
Please see the comments from ev-mp.
And please try not change back and forth between FW versions for now, as it is pointed out that someone had issues of doing so.
Thanks!


[filter] Hide search box in the default filter for checkboxes.

I need to know if there is any possibility to hide the search box present in the filter.Is there any property available which could be set to false so that the text box for search in the filter shall disappear OR we need to write custom logic ( custom filter ) for the same.

currently not a feature.

Ok, Thank you.

tracked by https://ag-grid.atlassian.net/browse/AG-110

There is a new filterParam for the setFilter. suppressMiniFilter, if set to true, the search box won't be displayed. This will be available in the next release


send message to group or channel

when i search about this topic in google, people says just send group or channel name insist of chatID
like this
sendMessage('@testGroup','message')
but it's not work .
how can i send message to a channel ro group by my bot
thanks

use chat_id as first argument.
Like:
bot.sendMessage(-102324354, 'Hello World!');

@Assada
but how can i find channel ID?

@milad145 @milad145: bot.getChat('@username')

Also, tgfancy supports sendMessage('@testGroup','message') out of the box

@GingerPlusPlus
thanks, it was helpfull

Hi again,
i create a message with inlineKyboards
and one of keyboards is sendToAnother
is it possible when i click sendToAnother, i can choose user from my contacts
and bot get the member id?

@milad145 Please create a new issue for this new query, to avoid much confusion for devs exploring issues.


In Development: Interaction Design Sprint Planning List View

Persona: PM/PO
Aa a PM or PO using ALM, I want to be able to create and view, a list of work items, so that I can create work for the team, see the status of the work item.
Verification Criteria:
User can created, edit and remove a work item, immediately upon logging in, with no questions.
InVision Designs:
UI: https://redhat.invisionapp.com/share/VW8E0F2DY
Menus: https://redhat.invisionapp.com/share/WB8FNVPYE
In JIRA:
https://patternfly.atlassian.net/browse/RHUAP-238

is there a Persona that can be attached to this?

@Mgranfie does the 'In Development' in the title mean that it is currently being developed by almighty-ui, or is it something to be developed?


(feature request) moon blacklist config option

hello. some moons have huge performance loss with custom dungeons. so i was told to remove such moons from the config. is it possible to add a blacklist option in the config? because with mods moons, currently it's difficult to add many of them without knowing their exact names. so with blacklist, i can write "all" in FoundationMoonsList and just add such moons in the blacklist. would be appreciated.

also i thought of an idea that i posted in LC Modding discord server. idk if it would work as good as i am thinking. if possible, maybe you could also add an option in the config for CastleDungeonGuaranteed blacklist? would this also help with LE multiplayer desync issue? like if i enable CastleDungeonGuaranteed and i add the moons in blacklist that i don't want this dungeon to be in. wouldn't everyone get the same dungeon that way?
i think whitelist and blacklist system would be great for both FoundationRarity and FoundationGuaranteed options


feat: implement Exp trait for generic exponentiation

Pull Request Test Coverage Report for Build 3813
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 80.196%

Files with Coverage Reduction
New Missed Lines
%

/Users/runner/work/core/core/math/exp.mbt
1
66.67%

Totals

Change from base Build 3812:
-0.01%

Covered Lines:
4345

Relevant Lines:
5418

💛  - Coveralls


Scale canvas to window size example

I'm not sure this is the proper place to ask, but does anyone have an example of how to best scale a Skia Canvas to match the window size?
For example, say I am making a game with a canvas size 128x128 and a window sized at 512x512 (so 4x), is there an easy way to auto scale (stretch) the canvas to the window size? I don't want to actually create a 512x512 canvas and the draw all the native 128x128 sprite at a larger resolution.
I'm basically after something like the transform: scale(4) you'd get with CSS.

so I guess we might need dwm version of window.devicePixelRatio to achieve that?

@nhrones yeah that makes sense but I'm thinking more along the lines of:
canvas.style.transform = `scale(4)`;

Using the context API to scale a 128x128 canvas won't make the canvas fill the 512x512 window. Unless I am misunderstanding something. I'm thinking something along the lines of a window stretch mode that could be fill, etc. Not sure how to achieve that with this lib.
Hopefully that helps clear up my original question.


Support generation of models from requestBodies section

Currently we only generate models from the schemas and parameters sections
Consider expanding generation to support generating models from definitions within requestBodies also
This could be as simple as this:
SchemaInfo( ...  ) {
...
        allSchemas = openApi3.schemas.entries.map { it.key to it.value }
            .plus(openApi3.parameters.entries.map { it.key to it.value.schema })
            .plus(
                openApi3.requestBodies.entries.flatMap { requestBody ->
                    requestBody.value.contentMediaTypes.map { requestBody.key to it.value.schema }
                }
            )
            .map { (key, schema) -> SchemaInfo(key, schema) }

But lots test cases are need to validate this

But lots test cases are need to validate this

Could you elaborate? Seems rather straightforward to me.

But lots test cases are need to validate this

Could you elaborate? Seems rather straightforward to me.

Lots is an exaggeration. It just may not be as simple as at first glance, we would need a test case to validate

How could the commit referencing the issue be improved? I'm eager to work on it as I got the changes made there to work with the latest commit. I understand that there was something wrong with it as it got reverted.


Could not map a single key to a shifted key

I tried xremap on Ubuntu 22.04 (X11) to migrate from xmodmap, but there seems to be no way for mapping a single key to a SHIFTed key.
For my case, I am mapping non-shifted z to : (colon = SHIFT-KEY_SEMICOLON).
The xmodmap file looks like
keycode  52 = colon ...(and more columns)

And this works fine, so I expected xremap to support such a remapping as well.
But I have no idea to map z to :, because both of the following configs result in errors data did not match any variant of untagged enum ....
Case 1)
modmap:
  - name: Test
    remap:
      KEY_Z: SHIFT-KEY_SEMICOLON

Error:
Error: Failed to load config './xremap.yml': modmap[0].remap: data did not match any variant of untagged enum ModmapAction at line 4 column 7

Case 2)
keymap:
  - name: Test
    remap:
      KEY_Z: SHIFT-KEY_SEMICOLON

Error:
Error: Failed to load config './xremap.yml': keymap[0].remap: data did not match any variant of untagged enum Actions at line 4 column 7

Are there any ways to do this or do you have a plan to implement it?

I'm not sure how you failed Case 2, but it's a valid config. Note that modmap is a key-to-key config, so you need to use keymap for key combinations.
$ cat ~/tmp/a.yml
keymap:
  - name: Test
    remap:
      KEY_Z: SHIFT-KEY_SEMICOLON

$ xremap --version
xremap 0.8.18

$ xremap ~/tmp/a.yml
Selecting devices from the following list:
------------------------------------------------------------------------------
/dev/input/event0 : Sleep Button
/dev/input/event1 : Power Button
/dev/input/event10: HDA Intel PCH Line
/dev/input/event11: HDA Intel PCH Line Out
/dev/input/event12: HDA Intel PCH Front Headphone
/dev/input/event13: PFU Limited HHKB-Hybrid
/dev/input/event14: PFU Limited HHKB-Hybrid Consumer Control
/dev/input/event15: PFU Limited HHKB-Hybrid Keyboard
/dev/input/event16: Apple, Inc. USB-C to 3.5mm Headphone Jack Adapter
/dev/input/event17: Logitech ERGO M575
/dev/input/event2 : Power Button
/dev/input/event3 : Eee PC WMI hotkeys
/dev/input/event4 : HDA NVidia HDMI/DP,pcm=3
/dev/input/event5 : HDA NVidia HDMI/DP,pcm=7
/dev/input/event6 : HDA NVidia HDMI/DP,pcm=8
/dev/input/event7 : HDA NVidia HDMI/DP,pcm=9
/dev/input/event8 : HDA Intel PCH Front Mic
/dev/input/event9 : HDA Intel PCH Rear Mic
------------------------------------------------------------------------------
Selected keyboards automatically since --device options weren't specified:
------------------------------------------------------------------------------
/dev/input/event13: PFU Limited HHKB-Hybrid
/dev/input/event15: PFU Limited HHKB-Hybrid Keyboard
------------------------------------------------------------------------------

Oh I am sorry for my confusion, and I have failed to extract the minimal reproducible config.
I gave the wrong key name in line 84, say, like the following sample.
keymap:
  - name: Test
    remap:
      KEY_Z: SHIFT-KEY_SEMICOLON # Line 4: Fine
# ...
      SHIFT_L-SHIFT_R-q: 1 # Line 84: Error here!

Then the error said like keymap[0].remap: data did not match any variant of untagged enum Actions at line 4 column 7.
So I thought the line 4 (KEY_Z line) was invalid, but in fact the error was on line 84 (SHIFT_L-SHIFT_R-q line)!
And KEY_Z: SHIFT-KEY_SEMICOLON remapping works totally fine.
Thank you.


Example to Navigate user to some particular screen on notification click

@evollu  could you please add an example project to show what is the standard way of navigating users to some screen when notification is received using react-native-fcm library.
Because it is getting confusing/ complicated for no obvious reason. This is the list of issues I'm getting:

Confuse where to get values in FCM.On event or in FCM.getInitialNotification.
Notification data values not changed while received in getInitialNotification so navigating to the same screen when opening the app.
Either defining event(FCM.ON & FCM.getInitialNotification) inside component lifecycle or outside.

and so many other questions.
If you can do that it would be great. I'm ready to help in this regard to reproduce the above list, if needed.

What version of RN and react-native-fcm are you running?

What device are you using? (e.g iOS9 emulator, Android 6 device)?
all devices android/ios

Is your app running in foreground, background or not running?
foreground & background

there seems to be couple nav libraries.
which is more popular? react-navigation?

yes react-navigation is amongst the most popular one. If you can just provide one example project using it, it would be great,

example added

Thank you. I will update you if all issues are resolved.

@evollu  the example helped in this and issue is resolved.

@evollu can you please give me the example. i am also on the same place please


[Python/Ruby] digdag.env.export affected scope of the expansion.

Hi, In my use case, when I use python or ruby operator, I need the no-side-effects immutable parameter.
And the parameter affect under child operators like below:

In My ideal use case. I would like to write below codes.

+step1:
  _export:
    parameter:
      # Notice: this code is not working.
      # python/ruby code returning [abc,efg,hij]
      py>: python.parameter.get_parameter
  +step1_child:
    loop>: ${parameter.length}
    _parallel: true
    _do:
      sh>: echo ${parameter[i]} # echo abc or efg or hij

+step2:
  +step2_child:
    sh>: echo ${parameter} # It occurs error because the parameter is affected only step1 job.

In my idea, I think it will be hotbed of programming bugs by parameters side-effects.
For the case of parallel execution or including other digs and so on, it makes unexpected behavior because digdag.env.store is side-effecting as global variable. Thus It is hardly to use digdag.env.store.

digdag.env.store method could destroy global variables.

timezone: UTC
+store:
  # digdag.env.store({"parameter": [abc,efg,hij] })
  py>: python.parameter.store_params
+execute:
  +step1:
    loop>: ${parameter.length}
    _parallel: true
    _do:
      +step_1_echo:
        sh>: echo ${parameter[i]}
      +step_2_overwrite:
        # digdag.env.store({"parameter": ["xyz"] })
        # this code could be destroy "parameter" by side-effect.
        py>: python.parameter.store_overwrite
      +step_3_echo:
        sh>: echo ${parameter[i]}
+echo:
  # Still alive last executed parameter.  Task state is saved at .digdag/status/20160720T000000+0000 directory.
  * Use --session <daily | hourly | "yyyy-MM-dd[ HH:mm:ss]"> to not reuse the last session time.
  * Use --rerun, --start +NAME, or --goal +NAME argument to rerun skipped tasks.

Thanks,

@smdmts A question and an answer:

(A) "store" is not a global variable. digdag.env.store does NOT affect tasks before the storing task. It affects tasks only following tasks. When tasks run in parallel, stored parameter doesn't affect across tasks because parallel tasks are considered to be executed at the same time. Therefore, in your case, storing "parameter" at +step_2_overwrite doesn't break parameters used by +step_1_echo or +step1._do by design.
(B) Because of that spec, I don't understand about your concern. For example, what kinds of parameters are you trying to set? Is that timestamp (like strftime), table names, host names, or something else? What's your use case?

@frsyuki Thanks for replying.

(A): I think this issue's explanation has a little complicated, and if my understanding is right it is not correct actual behavior of "store". Thus I will prepare actual working sample project, please wait for a few days.
(B): In my use case, Some sql queries generated by python is storing "digdag.env.store", and forwarding task is use that with td or sh operator.

Thanks,

@frsyuki Thanks for replying.
(A): I think this issue's explanation has a little complicated, and if my understanding is right it is not correct behavior of actual "store" what you are saying. Thus I will prepare actual working sample project, please wait for a few days.
(B): In my use case, Some sql queries generated by python is storing "digdag.env.store", and forwarding task is use that with td or sh operator.
Thanks,

Sorry for the delay replying, this is an actual operatable project.
https://github.com/smdmts/digdag-exp
And I explain two cases with step by step.
--
A) First, store method using with "!include"
https://github.com/smdmts/digdag-exp/tree/master/dags/store_behavior_include

Store parameter named by "parameter" and value is "step_1_parameter"
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_include/boot.dig#L7
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_include/child_tasks/step1_store/tasks/step1_store.py#L5

Next step , Store same parameter of "parameter" and value is "step_2_modify"
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_include/child_tasks/step2_modify/tasks/step2_modify.py#L5

Finally, check parameter of "parameter" echoes "step_2_modify"
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_include/child_tasks/step3_check/tasks/step3_check.py#L5

$ digdag run boot.dig --rerun
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8
2016-08-09 15:07:01 +0900: Digdag v0.8.5
2016-08-09 15:07:03 +0900 [WARN] (main): Reusing the last session time 2016-08-08T00:00:00+00:00.
2016-08-09 15:07:03 +0900 [INFO] (main): Using session .digdag/status/20160808T000000+0000.
2016-08-09 15:07:03 +0900 [INFO] (main): Starting a new session project id=1 workflow name=boot session_time=2016-08-08T00:00:00+00:00
2016-08-09 15:07:03 +0900 [INFO] (0018@+boot+prepare): py>: tasks.load_env
2016-08-09 15:07:04 +0900 [INFO] (0018@+boot+step1_store+store): py>: tasks.Step1Store.call_store
2016-08-09 15:07:04 +0900 [INFO] (0018@+boot+step1_store+check): sh>: echo stored_parameter is step_1_parameter
stored_parameter is step_1_parameter
2016-08-09 15:07:04 +0900 [INFO] (0018@+boot+step2_modify+store): py>: tasks.Step2Modify.modify
2016-08-09 15:07:04 +0900 [INFO] (0018@+boot+step2_modify+check): sh>: echo stored_parameter is step_2_modify
stored_parameter is step_2_modify
2016-08-09 15:07:04 +0900 [INFO] (0018@+boot+step3_check+check_py): py>: tasks.Step3Check.check
step_2_modify
2016-08-09 15:07:04 +0900 [INFO] (0018@+boot+step3_check+check_sh): sh>: echo stored_parameter is step_2_modify
stored_parameter is step_2_modify
2016-08-09 15:07:04 +0900 [INFO] (0018@+boot+check): sh>: echo parent_dig of stored parameter is step_2_modify
parent_dig of stored parameter is step_2_modify
Success. Task state is saved at .digdag/status/20160808T000000+0000 directory.
  * Use --session <daily | hourly | "yyyy-MM-dd[ HH:mm:ss]"> to not reuse the last session time.
  * Use --rerun, --start +NAME, or --goal +NAME argument to rerun skipped tasks.

--
B) store method using with "parallel"
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_parallel/boot.dig

Store parameter named by "parameter" and value is " ["a","b","c"]"
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_parallel/boot.dig#L4
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_parallel/tasks/__init__.py#L4

Next step, overwriting  parameter with value is " ["x","y","z"]" under parallel execution.
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_parallel/boot.dig#L18
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_parallel/tasks/__init__.py#L7

The overwritten parameter is guard between the other parallel execution threads of " ["a","b","c"]", but it could overwrite in the thread.
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_parallel/boot.dig#L16
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_parallel/boot.dig#L20-L22

Finally, When returning the main routine, parameter echoes overwritten " ["x","y","z"]"
https://github.com/smdmts/digdag-exp/blob/master/dags/store_behavior_parallel/boot.dig#L24-L25

$ digdag run boot.dig --rerun
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8
2016-08-09 15:15:46 +0900: Digdag v0.8.5
2016-08-09 15:15:47 +0900 [WARN] (main): Using a new session time 2016-08-09T00:00:00+00:00.
2016-08-09 15:15:47 +0900 [INFO] (main): Using session .digdag/status/20160809T000000+0000.
2016-08-09 15:15:47 +0900 [INFO] (main): Starting a new session project id=1 workflow name=boot session_time=2016-08-09T00:00:00+00:00
2016-08-09 15:15:48 +0900 [INFO] (0018@+boot+prepare): py>: tasks.prepare
2016-08-09 15:15:48 +0900 [INFO] (0018@+boot+show_before): sh>: echo ["a","b","c"]
[a,b,c]
2016-08-09 15:15:48 +0900 [INFO] (0018@+boot+overwrite_parameter_parallel): loop>: 3
2016-08-09 15:15:48 +0900 [INFO] (0018@+boot+overwrite_parameter_parallel^sub+loop-0+make): py>: tasks.make_parameter
2016-08-09 15:15:48 +0900 [INFO] (0020@+boot+overwrite_parameter_parallel^sub+loop-1+make): py>: tasks.make_parameter
2016-08-09 15:15:48 +0900 [INFO] (0021@+boot+overwrite_parameter_parallel^sub+loop-2+make): py>: tasks.make_parameter
2016-08-09 15:15:49 +0900 [INFO] (0021@+boot+overwrite_parameter_parallel^sub+loop-0+check): sh>: echo a_0
2016-08-09 15:15:49 +0900 [INFO] (0020@+boot+overwrite_parameter_parallel^sub+loop-1+check): sh>: echo b_1
a_0
b_1
2016-08-09 15:15:49 +0900 [INFO] (0018@+boot+overwrite_parameter_parallel^sub+loop-2+check): sh>: echo c_2
c_2
2016-08-09 15:15:49 +0900 [INFO] (0018@+boot+overwrite_parameter_parallel^sub+loop-0+overwrite): py>: tasks.overwrite
2016-08-09 15:15:49 +0900 [INFO] (0020@+boot+overwrite_parameter_parallel^sub+loop-1+overwrite): py>: tasks.overwrite
2016-08-09 15:15:49 +0900 [INFO] (0021@+boot+overwrite_parameter_parallel^sub+loop-2+overwrite): py>: tasks.overwrite
2016-08-09 15:15:49 +0900 [INFO] (0020@+boot+overwrite_parameter_parallel^sub+loop-1+make_overwrite): py>: tasks.make_parameter
2016-08-09 15:15:49 +0900 [INFO] (0021@+boot+overwrite_parameter_parallel^sub+loop-0+make_overwrite): py>: tasks.make_parameter
2016-08-09 15:15:49 +0900 [INFO] (0018@+boot+overwrite_parameter_parallel^sub+loop-2+make_overwrite): py>: tasks.make_parameter
2016-08-09 15:15:49 +0900 [INFO] (0020@+boot+overwrite_parameter_parallel^sub+loop-1+check_overwrite): sh>: echo y_1
2016-08-09 15:15:49 +0900 [INFO] (0018@+boot+overwrite_parameter_parallel^sub+loop-0+check_overwrite): sh>: echo x_0
y_1
x_0
2016-08-09 15:15:49 +0900 [INFO] (0021@+boot+overwrite_parameter_parallel^sub+loop-2+check_overwrite): sh>: echo z_2
z_2
2016-08-09 15:15:49 +0900 [INFO] (0021@+boot+show_after): sh>: echo ["x","y","z"]
[x,y,z]
Success. Task state is saved at .digdag/status/20160809T000000+0000 directory.
  * Use --session <daily | hourly | "yyyy-MM-dd[ HH:mm:ss]"> to not reuse the last session time.
  * Use --rerun, --start +NAME, or --goal +NAME argument to rerun skipped tasks.

--
To be discussed this behavior,  "parameter" is overwriting by an another store method call. Thus it may seem store method looks like global variables exchanger. And this means if we want to use a name of "parameter". And we have to consider it may the name of value is overwritten by any store methods.
I think this issue's main theme is parameter's scope issue. My ideal usage of parameter scope has a lexical scope like below javascript codes. Therefore I want to use the export parameter with Python or Ruby.
-- current store's similarity behavior.
var x = 1;
function param() {
    x = 2;
    console.log(x);
}
param();
console.log(x);
param();

2
2
2

-- needed usage.
var x = 1;
function param() {
    var x = 2;
    console.log(x);
}
param();
console.log(x);
param();

2
1
2

Thanks,

I couldn't understand what you would like to achieve, unfortunately...
With store_behavior_include workflow, I think everything is working as expected. There're no issues. Right?
With store_behavior_parallel, I think a reason of confusion is that a loop (specifically at +overwrite_parameter_parallel...+make_overwrite) is reusing the same parameter name to store different information. Why don't you use parameter2 to store ["x","y","z"]?
Why don't you paste your real workflow to explain why lexical scope is necessary for you?

@frsyuki Thank you for your correspondence. Behavior looks fine.
https://github.com/smdmts/digdag-exp/pull/3/files


Torch Integration: IPFS

we need to fill in send_command and receive_command so that they work with ipfs.

inlcude testing

Whoever picks this up may need to put a bit of thought into what exactly is being sent around.  For example, right now send_command is compiling the command/operation (e.g. torch.add, Tensor.add, Variable.add, etc.), its args, its kwargs, and lists of each arg/kwarg's type.  We definitely want to send the command and non-Tensor/non-Variable args/kwargs, but for args/kwargs that are Tensors or Variables, we'll likely only want to send the id attribute, so that the receiver can retrieve the correct Tensor/Variable objects.


WRC4 Added

There is a game engine bug where playing above 60fps, causes audio to brake when switching maps. It would be nice to lock the framerate to avoid that issue.

Isn't this a d3d9 game?

Oops, You are right


{everything} placeholder in between the url

Expected Behavior / New Feature
Is it possible to put {everything} placeholder in UpStreamPath and DownStreamPath like below?
"/api/al/{everything}/auditlog"
Actual Behavior / Motivation for New Feature
Right now it is not working if I place as above.
Steps to Reproduce the Problem
I am configuring Api Gateway as below -
      "DownstreamPathTemplate": "/api/al/{everything}/auditlog",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "localhost",
          "Port": 62209
        }
      ],
      "UpstreamPathTemplate": "/api/al/{everything}/auditlog",
      "UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
      "Key": "LogService"

It runs well based on your configuration.

Could you provide more information for this issue?

It runs well based on your configuration.

Could you provide more information for this issue?

Yes this works, if I pass like this. But In my case, I want something like below

I don't want to specify 2 route in api gateway and need to keep the auditlog suffix as well.

Some limitation here!
Ocelot generate below regular expression for  Downstream URL.
^(?i)/api/al/[^/]+/auditlog$

But /api/al/youapp/youtype/auditlog can not match.

Some limitation here!
Ocelot generate below regular expression for Downstream URL.
^(?i)/api/al/[^/]+/auditlog$

But /api/al/youapp/youtype/auditlog can not match.

What you suggest for this case?

My suggestion to use Catch All feature like this
      "DownstreamPathTemplate": "/api/al/{everything}",
      "UpstreamPathTemplate": "/api/al/{everything}",

Please note! Placeholders in the middle cannot be considered as Catch All ones! They are simple placeholder between 2 slashes: /{simpleplaceholder}/ → /alpha-numeric-alphabet-without-slashes/
Hope it helps!


Source Maps Not Generated

It seems as though source maps for my exposed file don't get generated properly:
loaders: [{
   test: require.resolve('./index.js'),
   loaders: ['expose?MyProject', 'babel-loader']
}]

The generated source map looks like this (using cheap-module-eval-source-map), which does not match the contents of index.js
module.exports = global["MyProject"] = require("-!/{...}/node_modules/babel-loader/index.js!/{...}/index.js");

/** WEBPACK FOOTER **
 ** index.js
 **/

Facing the same issue. Source map is not correct.

I've met another related issue: with the combination of cheap-module-eval-source-map and babel?presets[]=es2015&presets[]=react&presets[]=stage-0, the build failed due to soft errors:
... Cannot assign to read only property \'mappings\' of {"version":3,"sources":["...

Which seems that expose-loader was trying to parse source maps but failed.
My workaround is to switch the order of expose-loader and babel-loader:
loaders: ['babel?presets[]=es2015&presets[]=react&presets[]=stage-0', 'expose?xxx']

The generated source map is still not right (just like the one @victormoukhortov pasted), but at least the compilation succeeds.

Hi, team,
Sorry for pushing but any progress on this ticket?
Thanks.

@evisong no. Please try to create a PR if you really want this.


Multiple links to Badge Guide 404

The URL for the Badge Guide has changed from /guide/badges to /badges, visiting the old URL will result in the user being shown a 404 page.
The following pages have outdated links:

[ ] First Fleet Guide
[ ] Upgrade guide (under heading "Elite")

There are two options to fix this. Either we update the URLs in the aforementioned guides to the new URL, or we update the router and navbar files so that they go back to using /guides/badges. This would probably be my preferred as it means our URL structure for guides is consistent.
Let me know what option you want and I'll open a PR.

If you want to go ahead with option two this would be perfect! <3

Resolved by Alex.


Not politically correct

This work boldly expresses sexism, which may not make female users on github comfortable.
// 警察蜀黍，就是这个人
// (0..<100).forEach { print("Call 911") }

So, do you mean I should build a app to display some charming man for girls?

I agree with @DJBen and this should not be on Github.
Also, not all girls are interested in men and not all men are interested in girls.

@liushuaikobe if you do not understand why this app should NOT exist, please let me know so I can explain. If you'd like I can give you my email so we can discuss it in private.

@sdaitzman I have already deleted the demo image in README and change the description of this project. Just take it as a image fetching & displaying app.

Thank you, that is better than before. I don't want you to feel like you're being attacked for no reason, so let me know if it wasn't clear why.


FABN-1645 use discovered chaincodes

Check the chaincodes installed on a peer before sending
a query request.
Signed-off-by: Bret Harrison<EMAIL_ADDRESS>

included in fabn-1646


changefeedccl: change default flush interval to 5s

PR: https://github.com/cockroachdb/cockroach/pull/49770
From release notes:

The default flush interval for changefeeds that do not specify a RESOLVED option is now 5s instead of 200ms to more gracefully handle higher-latency sinks. [#49770][#49770] {% comment %}doc{% endcomment %}

Closing in favor of https://github.com/cockroachdb/docs/issues/6682


WIP: Use strato as os-base base image

strato is a small image based on glibc with a containerized build process for packages.
Using strato-min rather than strato as the base image for now. The only difference is that strato-min doesn't actually include the strato binary. It's fairly large and doesn't add much value to the base image for now.
This increases ISO size by about 2mb, but I think most of this is a result of switching from uclibc to glibc. It's likely that a lot of optimizations can be made still.
The only work remaining is testing and multiarch support. I'm nearly done with the arm64 port of strato and I don't expect the arm port to be much work beyond that.

wow....

Still don't like the name.

still better than the original name...

@joshwget I wonder how this will affect @tetatetit 's LUK https://github.com/rancher/os-base/pull/39
it might make it simpler?

@SvenDowideit Once the associated packages are added to strato it should make it easier. Modifying os-base to include a few new strato packages should be much more straightforward than having to configure buildroot.
The really nice thing is that we'll be able to make use of layers with strato. buildroot just produces a fixed set of packages that can't be changed once it's built. In other words, you'd be able to do something like the following.
FROM os-base
RUN strato add ...

@joshwget I wonder how this will affect @tetatetit 's LUK rancher/os-base#39
it might make it simpler?

Yep, apparently, since:

cryptsetup crashes on uclibc and this is confirmed problem so my must to switch back to glibc in my work.
buildroot misses thin-provisioning-tools for lvm thin provision state partition which could be quite useful in case btrfs is not the base choice (e.g. for high loaded mysql, postgresql, rancher vm but anyway snapshotting capabilities are necessary (e.g. for convoy or for custom live volume backup like e.g. mine duplicity based to OneDrive) keeping disk storage optimal and flexible for managemrnt at the same time
buildroot misses zfs tools for state partition and zfs out of the box, while it is relatively easy to include zfs in rancher kernel build process (almost done this, but just forced to switch to higher priority tasks). That is why I started to consider switched os-base to alpine and how with strato it is easiest, most organized and maintenable way to do IMO since

But so far I understand strato uses ubuntu right now as base image for it packages with is 128M size itself only (while plus other packages required for os-base). So I suggest to switch to alpine there to keep initrd size close (if not smaller) thant current buildroot based.

@tetatetit strato uses the Ubuntu image only to build packages and it doesn't actually use Ubuntu as a base image. Alpine, buildroot, and strato all end up being around the same size when used for os-base.

Added iptables for #1362. Could be done in a follow up PR, but I don't see much harm in including it here.

Ah, sorry that did not take deeper into strato. Now I see it just does wget; cd; make; ./configure from source for each package and then build it into docker image...so trivial and so brilliantly :). So it can be package src from official (as it is now), from Alpine src disstro, from buildroot or whatever else tiny of best choice. So yes it apparently help me a lot regardless if buildroot or alpine will be chosen! But in case of buildroot we should switch back to glibc due of resons stated above and in that my PR

Just I would suggest better to try alpine since it is wider used then buildroot and therefore better tested IMO, plus have bigger community for the case of some issue. E.g. alpine used as variant of base image for lot of official docker images (e.g. php) as well as included as base image from some cloud provider (e.g. growing French bare metal www.scaleway.com)

@tetatetit I think you're still viewing strato a little different from what it actually is. It doesn't supplement an existing base image but rather is a base image itself. strato builds a base image from ground up and just happens to reuse Ubuntu to build its packages (for now, at least).
I should put some more work into the README so it's clear what it actually is.

@joshwget, so far I understand and see - strato uses Dockerfile instructions to build packages from their original official sources, i.e. unmodified, unpatched, similarly like builroot root does but just Dockerfile instructions much more clear and obvious (at least for me) than buildroot package instructions. Is my visio totally correct here? When I mentioned ubuntu or alpine - I meant the same Dockerfile instructions can be used to build packages from source packages of distro of choise. Although what I already though and about to try - just to create os-base image from just docker alpine image during rancher initrd build process, elimiating buildroot at all. Honestly speaking I can not understand (may be somebody will point me better)  what are advantages of buildroot or other image based on just original official source packages over e.g. widely well tested and used alpine with same or even smaller size.


Here have some problems about DCN4 deployment

Congratulations on the results of your paper! However, I have a question regarding its implementation. I've successfully compiled the method you proposed and found the necessary libraries within my Anaconda environment. When executed independently, the input and output dimensions align perfectly. Yet, when I integrate it into the YOLO framework for training, an error emerges, stating that CPU operations are not supported. Could you suggest any solutions to this issue?

Congratulations on the results of your paper! However, I have a question regarding its implementation. I've successfully compiled the method you proposed and found the necessary libraries within my Anaconda environment. When executed independently, the input and output dimensions align perfectly. Yet, when I integrate it into the YOLO framework for training, an error emerges, stating that CPU operations are not supported. Could you suggest any solutions to this issue?

me too

Call me wechat number<PHONE_NUMBER>4，windows and linux are ok，we have a group can discuss model together