Where are the D communities and enthusiasts?

As we move towards the launch of the new version of Exercism we are going to be ramping up on actively recruiting people to help provide feedback.
Our goal is to get to 100%: everyone who submits a solution and wants feedback should get feedback. Good feedback. You can read more about this aspect of the new site here: http://mentoring.exercism.io/
To do this, we're going to need a lot more information about where we can find language enthusiasts.

Is D supported by one or more large organizations?
Does D have an official community manager?
Do you know of specific communities (online or offline) that are enthusiastic about D? (Chat communities, forums, meetups, student clubs, etc)
Are there popular conferences for D? (If so, what are some examples?)
Are there any organizations who are targeted specifically at getting certain subgroups or demographics interested in D? (e.g. kids, teenagers, career changers, people belonging to various groups that are typically underrepresented in tech?)
Are there specific groups or programs dedicated to mentoring people in D?
Are there popular newsletters for D?
Is D taught at programming bootcamps? (If so, what are some examples?)
Is D taught at universities? (If so, what are some examples?)

In other words: where do people care a lot and/or know a lot about D?
This is part of the project being tracked in https://github.com/exercism/meta/issues/103

Is D supported by one or more large organizations?

Large ones, no. The primary supporter of D is the D Language Foundation. A number of companies using D support the language in various forms (monetary donations, open source, conference organization, etc..). Including, but not limited to, Sociomantic Labs, Weka.IO, Symmetry Investments. Funkwerk.

Does D have an official community manager?

Officially, no. But there are a handful of people who wear that hat (myself included).

Do you know of specific communities (online or offline) that are enthusiastic about D? (Chat communities, forums, meetups, student clubs, etc)

The D Forums
The #d IRC channel at freenode.net
The d_language subreddit
Various meetups around the globe

Are there popular conferences for D? (If so, what are some examples?)

We recently wrapped up the 6th annual DConf

Are there any organizations who are targeted specifically at getting certain subgroups or demographics interested in D? (e.g. kids, teenagers, career changers, people belonging to various groups that are typically underrepresented in tech?)

See the next answer.

Are there specific groups or programs dedicated to mentoring people in D?

The D Language Foundation provides scholarships for graduate-level (MSc, PhD) research at the University "Politehnica" Bucharest (UPB). The students receive mentoring from the Foundation. Beyond that, I'm not aware of anything public, though I am aware of at least one unannounced program currently in development.

Are there popular newsletters for D?

Not that I'm aware of.

Is D taught at programming bootcamps? (If so, what are some examples?)

I haven't heard of any.

Is D taught at universities? (If so, what are some examples?)

I know it has been taught at the University of Minnesota and Utah Valley University.
Hope this helps!

There is also the D Discord which is afaik as active than the IRC server https://discord.gg/bMZk9Q4

This is great information, thanks!

I've got what I need for now; closing this out. (Should you come across any other good sources, feel free to add them here, I'll be coming back to this). 🌼  Thanks!


[IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.

Hi Brad,
I have updated my bcbio into the latest development version. I was running okay but just now I found that the log had not updated for a long time and canceled the running node. Then I re-submitted the slurm file, but found the following errors in bcbio-ipengine.err file and all the paralleled nodes just stuck there without running. Can you help with the debugging?
Thanks.
2017-01-18 15:30:17.979 [IPEngineApp] Using existing profile dir: u'/path/to/work/log/ipython'
2017-01-18 15:30:17.981 [IPEngineApp] Completed registration with id 61
2017-01-18 15:30:27.901 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row).
2017-01-18 15:30:27.907 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row).
2017-01-18 15:30:27.907 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row).
2017-01-18 15:30:27.910 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row).
2017-01-18 15:30:27.931 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row).
2017-01-18 15:30:27.976 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row).
2017-01-18 15:30:27.977 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row).
2017-01-18 15:30:28.001 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row).
2017-01-18 15:31:16.067 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.100 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.135 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.197 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.222 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.228 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.247 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.257 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.275 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.281 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:16.283 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
2017-01-18 15:31:20.085 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.

Thanks for the report. The messages you're seeing are only warnings. We haven't yet moved over to the new IPython parallel framework so use the older approach. It still works fine so is not the source of your issue.
My guess is that bcbio is running a longer running task but it's hard to provide more information without seeing the actual run log files. I'd suggest looking in log/bcbio-nextgen-commands.log to determine what is running and on what machines and you can monitor from there. If you can't determine it, you could run with a single thread -n 1 and use a Ctrl-C break to determine exactly where it is working. Hope this helps.

I just deleted all the files in the work folder and re-ran it. There was no problem. Thanks.


It doesnt work with formBuilder

I'm not using ngModel, but formBuilder, available on Angular 4
It doens't work at all.

Are you sure? Using it right now with Angular 4.1.3.
View:
 <md-input-container>
        <input mdInput
               name="sellPriceOverride"
               type="numeric"
               formControlName="sellPriceOverride"
               currencyMask />
  </md-input-container>

Constructor:
this.form = this.formBuilder.group({
     sellPriceOverride: undefined,
});

Value update:
ngOnChanges() {
    this.form.patchValue({
        sellPriceOverride: this.item.sellPriceOverride,
    }, { emitEvent: false });
}

@etatuev Were you able to use validation with ReactiveFormsModule in this directive?

Having troubles from the first look, will check it more detailed a bit later.


[AutoMM] Fix a bug in FusionMLP when getting output from single models

Issue #, if available:
Description of changes:

Fix a bug in FusionMLP when getting output from single models.
Previously, only the output of the last single model will be returned.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Already done in https://github.com/autogluon/autogluon/pull/3690


M2M_100 Tokenizer_ar

I am trying to translate English to Arabic using m2m_100.
I can't find the required dependencies in order to use the QCRI Arabic Normalizer recommended to use.
is there any other options ? alternative tokenizers and normalizers?
have anyone experience with this lately?
Thanks!

perhaps check some of the other suggestions? https://alt.qcri.org/tools/

perhaps check some of the other suggestions? https://alt.qcri.org/tools/

Thank you for your assistance. The normalizer depends on MADA 3.2, but it is not available. At your convenience, would you please provide some information? @huihuifan
Hi，
I met the same problem. Have you solved it ?
@zhangfanTJU


Note Graph is messy

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[X] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug

why the note graph is messy like this?
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)

OS: [e.g. iOS]
Browser (if with published websites; include version): [e.g. chrome, safari]
Versions (all that apply to bug):

Dendron Extension:
VS Code version:
Dendron CLI:

Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dendron:Dev: Open Logs here

Hi @cong-han the Full Note Graph displays connection to all the notes in the workspace. You can toggle to Show Local Graph which displays a graph of your current note and immediate neighbors. In the top left of graph lives the graph filter view. This UI element contains information about the graph and various filtering options.
You can zoom in and zoom out to see more details about the note. More info here

I assume that @cong-han dislikes the inconsistency in graph edges angles. The graph drawing algorithm could definitely use an upgrade. See https://en.wikipedia.org/wiki/Force-directed_graph_drawing


Month names color in calendar popup

If you are using a dark theme where your text color is white the month names are not visible as the default background color is also white. Changing the background color helps but what is needed is a variable for the title color itself so it can be controlled.

https://github.com/wakirin/Litepicker/blob/d9b3a4020140563a46db9911ce2141b3262066ac/src/scss/main.scss#L4
Added in v1.0.11


[1.16] Mechanical Dirt book page is kinda messed up

Industrial Foregoing Version:
industrial-foregoing-1.16.4-3.2.7-7d95990
Titanium Version:
titanium-1.16.4-3.2.4

You also can't hold control on it in your inventory to see its page

fixed in 1.4.0 https://github.com/InnovativeOnlineIndustries/Industrial-Foregoing/issues/942

fixed in 1.4.0 https://github.com/InnovativeOnlineIndustries/Industrial-Foregoing/issues/942


Pyo3 may be unsound due to calls to getenv

I was looking at the time crate wondering why the time crate didn't give offsets, and I stumbled upon this thread on Internals. This seems like a big problem so I went looking for FFI crates where this could be a problem.
Python is single threaded, so I thought this crate was immune, but another Rust-only thread that calls set_env while Python calls the os.getenv() method which dispatched straight to the C call. As such  this wrapper has a data race when set_env is called in another thread.

I mean, sure, but I don't think there's any reasonable mitigations which can be written in the PyO3 layer. The issue described is common to any multithreaded Rust program where at least one of the threads is interacting with a C library (including libc itself, as seen in https://github.com/rust-lang/rust/issues/27970).
Note that this issue only exists on unix systems where the underling libc implementation doesn't provide thread-safe primitives for accessing the environment.
The upstream discussion https://github.com/rust-lang/rust/issues/27970 is potentially a suitable place for users concerned with this to provide discussion (at least in the Rust context).
One could argue that Python also should not be modifying the environment, because the glibc stance (as I read it in https://sourceware.org/bugzilla/show_bug.cgi?id=13271) appears to be that multithreaded programs should not ever modify the environment. Sure, only a single Python thread can execute at a time, but the Python interpreter itself can have any number of threads running (e.g. from native extension modules) which could be reading the environment.

As discussed above, I don't think there is any mitigation which can be done at the PyO3 layer, and the upstream Rust discussion continues to move forward. I am going to close this issue, as while it is a valid concern, it is not specifically caused by this library nor something this library can do anything about.


[🐞] drop event not working

Which component is affected?
Qwik Runtime
Describe the bug
drag and drop doesn't work because of a few things.

drop event is not firing off
dataTransfer api doesn't work without drop and dragstart
it seems like you need to active all events before it will work so maybe an issue with qwikLoader?
you have to use ref and not event.target

This is likely an issue with async functions and dataTransfer needs to be available synchronously.
Reproduction
https://stackblitz.com/edit/qwik-starter-sv2ndq?file=src%2Froutes%2Findex.tsx,src%2Froutes%2Flayout.tsx
Steps to reproduce
stackblitz.
use html drag and drop api
System Info
chrome

Additional Information
I also only ran this in dev. If I fire off the qrl and use ref then I need to active each event before everything to work correctly (stackblitz example would need to be updated to show my workaround)

Unfortunately it's one of this events that must be handled syncronously, not good way to solve it, but there is a workaround:
https://qwik.builder.io/docs/components/events/#synchronous-event-handling


Query for cis v200_1_15

Checklist

adding query for cis v200_1_15

Thanks @saisirishreddy for catching this bug and raising the PR, really appreciate :thumbsup:.
The changes look good, however we realised that similar changes are also required in CIS v1.3.0 and CIS v1.2.0 benchmarks.
Could you please add the the missing query for the following controls in the same PR, so that we can go ahead and release this.

cis_v120_1_15 ( CIS v1.2.0  1.15 Ensure API keys are rotated every 90 days)
cis_v130_1_15  ( CIS v1.3.0  1.15 Ensure API Keys Are Rotated Every 90 Days)


Investigate changes needed to utilize FoD REST API v3

Change to v3 API looks straightforward:
/api/v1/Vulnerability/?releaseid= is replaced by /api/v3/releases/{releaseId}/vulnerabilities
/api/v2/Releases/{releaseId}/Vulnerabilities/{vulnId}/Summary is replaced by /api/v3/releases/{releaseId}/vulnerabilities/{vulnId}/summary
/api/v2/Releases/{releaseId}/Vulnerabilities/BulkEdit is replaced by  /api/v3/releases/{releaseId}/vulnerabilities/bulk-edit
See API Explorer for more details

All code updated to use FoD v3 API


Update Home Assistant docker image to version 2024.2.2

coverage: 100.0%. remained the same
when pulling ba474a1bfdfc9f37cb436b9df2deff87427ac239 on update_home_assistant_docker_image
into cdd31b59e391277a6ce98685b727f52ceb89df93 on master.


Avatar with only one word and starting with 'i' overflowing

All other avatars with one word scale properly. Only seems to affect words starting with 'i'. Doesn't matter if lowercase/uppercase.
Bug can be seen by going to demo and typing 'I'
https://www.sitebase.be/react-avatar/

Related to https://github.com/Sitebase/react-avatar/issues/136

Resolved by https://github.com/Sitebase/react-avatar/pull/134

This was fixed in version v3.5.0!


DBZ-2207 Intermittnet test failure

https://issues.redhat.com/browse/DBZ-2207

@jpechane, ok, so we can merge this one. But it shows another error which I saw repeatedly recently: Pulsar not coming up for whatever reason. I'll merge this nevertheless, as it's an improvement other PRs should benefit from.


Update create-nested-triggers.md

@brunom : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Cython cache diff compare

As talked about in #13425 with @gfyoung and @jreback this PR does cython caching by comparing the pyx files and not relying on the git history.

At the moment this code does the follow:

Caches all the pyx files at the end of a run under $HOME/.cache/pyxfiles keeping the directory structure incase two cython files have the same name but in different directories.
Caches all the corresponding compiled files for those pyx files.

then at the start of a run:

Finds all the current pyx files in the checkout git repo on travis
For each file compares it to the file that is in the cache
If the file does not exist in cache a new cython file has been added => Do not use cython cache and rebuild
If the file is different from the cython file in cache => Do not use cython cache and rebuild
If all files are the same => Use cython cache, i.e. extract and touch the compiled pyx files.

The thing this does not do is the case where a file exists on the cache but has been deleted from the repo. Do you think this should be caught as well or should it not matter? I guess a compiled file would be copied over but then just not referenced or used in the build.

[Current coverage][cc-pull] is 84.33%

Merging [#13526][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master     #13526   diff @@
==========================================
  Files           138        138
  Lines         51107      51107
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          43103      43103
  Misses         8004       8004
  Partials          0          0

Powered by Codecov. Last updated by [1a9abc4...aaf4dd2][cc-compare]
[cc-base-branch]: https://codecov.io/gh/pydata/pandas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/pydata/pandas/compare/1a9abc44bbfd65675fd99701fe33aad8805ab147...aaf4dd21d6b2afb1ad087f7dfb541f4e0fd92e8d
[cc-pull]: https://codecov.io/gh/pydata/pandas/pull/13526?src=pr

Tests to perform:

[ ] If pyx files have not changed then cached cython cache is reused
[ ] If a pyx file is changed the cython cache is not used
[ ] If a pyx file is added the cython cache is not used
[ ] If a pyx file is deleted the cython cache is not used
[ ] Check a pyx file change when rewritting git history

@nparley ok let's try this. ping when green / ready.

There is an interesting gocha with the way travis checks out commits. On a branch travis actually checks out the hash. However, for a PR travis just checks out the latest merge. Therefore if you push lots of changes quickly before travis has started (like I just did early), then builds might not actually reflect the push. (They might all be testing the last push).

Travis is having problems with Mac OSx runs at the moment. I will not do any more until they fix it.

@jreback OK this is ready to go.

Looks good to me!

thanks @nparley
let's give this a watch over next few days to make sure its behaving.


Allow trust for localhost in pg_hba.conf

I reproduced #66 using a multi-machine Ubuntu setup. Workers need to be able to connect to themselves. Master doesn't necessarily need to connect to itself as well but it simplifies the documentation to use the same pg_hba.conf settings for all nodes including master.
Fixes #66

Closing this to move it against the v5.1 branch since we won't be working directly off master anymore.


Content in popover works only with function

I tried with the code from demo, and saw a blank content:
a href="#" class="btn danger" rel="popover" data-content="And here's some amazing content. It's very engaging. right?" data-original-title="A title">hover for popover</a
  <script>
        $(function () {
          $("a[rel=popover]")
            .popover({
              offset: 10,
              content: "some other text"
            })
            .click(function(e) {
              e.preventDefault()
            })
        })
      </script>

But if I use this code, all works fine:
     <script>
        $(function () {
          $("a[rel=popover]")
            .popover({
              offset: 10,
              content: function() {return 'some text';}
            })
            .click(function(e) {
              e.preventDefault()
            })
        })
      </script>

I am having same problem, but your work-around doesn't fix it for me.
If you view the source code, their example is slightly different then what you posted, what you posted is what I see when I inspect element, but the source code is more accurate I think...

I'm update code, but first and last symbol in html, < and >,I delete. Because markdown formating link.

I got mine working.

I agree that using a string as value for 'content' option results in no text appearing. Likewise, if you try using a string for the 'title' option, the title appears in the popover but the text will always say 'undefined'.
mikhailaleksandrovi4 is right in that if you pass a function instead of a string and return a string from the function, both the title and content will appear correctly.

This is fixed in 2.0

Also, in 1.* content when a string specifies not a text option, but rather an element attribute to be used to fetch text from. This was changed in 2.0 because it didn't make a lot of sense.

Here's a jsFiddle of it working using functions.


Cannot use Express on my tests

Issue

Hi! I have a Node.js project that uses Express and TypeScript.
But i'm having problems to write tests using the Express framework.
Look at the snippet below:
import * as express from "express"`
import * as Rx from "rx"`

describe("Tests", () => {
	it("should setup express", () => {
		//A project dependency that works
		Rx.Observable.just(1)
		//It doesnt work, throws TypeError: express is not a function
		express()
	})
})

When i import any library from my project dependencies, like RxJS, my test run as expected. But when i try to use any feature related to the Express Framework the following error occurs:
TypeError: express is not a function
NOTE: The regular node application works as expected, importing the express framework as expected, only the jest tests can't use Express.

Expected behavior
Use of Express dependencies on jest tests.

@victor5171 Can you please create a minimal repo that reproduces this issue?

@victor5171 do you follow the setup from TypeScript example repo at https://github.com/Microsoft/TypeScript-Node-Starter ? They already setup an example repo which includes also jest and its configuration.

Could it be that this was introduced in a newer version ts-jest? Because I am struggling with the exact same problem.
Scenario 1:
import * as express from "express"

Works with tsc and node.
Doesn't work with jest: express is an object afterwards.
Scenario 2:
import express = require("express");

Works with tsc and node.
Doesn't work with jest: express will not be defined and a TypeError will be thrown.
Scenario 3:
import express from "express";

Doesn't work with tsc and node: express has no default export.
Works fine with jest.

Okay I got it. This is caused by
allowSyntheticDefaultImports: true

in the tsconfig.json. When removing that line, or setting it to false, jest will work fine with
import express = require("express");

as well as
import * as express from "express";

Still seems like a bug to me, as it's working with tsc. Also from your TypesScript-Node-Starter, they are using the import express from "express"; and I'm confused how this can work at all as express doesn't have a default export.

I created a minimal reproduce pin-pointing the problem and explaining in detail how to reproduce the problem.

@Prior99 I tested the linked repo and was able to reproduce what you've explained in the steps.
With this setup, if the jest config is updated to include the following:
    "globals": {
      "ts-jest": {
        "skipBabel": true
      }
    }

the tests work fine.
Without this, if you want to set allowSyntheticDefaultImports to true, you can get the tests passing if the imports are updated from import * as x from 'x' to import x from 'x'. (Don't ask me why - I'm not sure!)
And of course, if you set allowSyntheticDefaultImports to false. the tests pass - as you've pointed out.
Does one of these three setups address this issue?

@Prior99 @kulshekhar I think allowSyntheticDefaultImports has some weird behaviors. I asked similar question about it in https://github.com/Microsoft/TypeScript/issues/13375 and they suggest me to use --esModuleInterop in TypeScript 2.7

yeah, I didn't understand why allowSyntheticDefaultImports behaved the way it did (it was originally supposed to behave in the exact opposite manner)

I see a solution has been posted and this has been inactive for some time. Closing - but feel free to write / reopen if this is still relevant.

I was running into this issue similarly and found I had to set both
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,

in my tsconfig file (I was missing the interop setting)


Add .tfstate.disablePlanLock

Fixes https://github.com/flux-iac/tofu-controller/issues/1363
This PR introduces .tfstate.disablePlanLock which will make possible to disable state lock for the plan stage.
It is useful when tofu-controller in drift-detection or plan-only mode is used in pair with another tool. The new feature helps to avoid lock conflicts

Hello @hirenko-v, can you please rebase on main to fix the failing tests.

@akselleirv done


fix: remove testing section

Pull Request Test Coverage Report for Build 12

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

Totals

Change from base Build 5:
0.0%

Covered Lines:
1057

Relevant Lines:
1356

💛  - Coveralls


Add support for secret key authentication to manage influxdb locally.

As described in https://github.com/influxdb/influxdb/issues/2278, I added the support for the secret file.
Some feedback more than welcome.
Also I will need some hints how to write the tests for this feature.

Added comments. Provided @pauldix wants this supported, once it has some refactoring I'm fine with it.

btw once this and https://github.com/influxdb/influxdb/pull/2650 is merged I will start working on https://forge.puppetlabs.com/golja/influxdb to support 0.9+. If you guys have any missing feature you would like to see let me know.
With the new module I would like to support user/database creation from the module :)

We're in the middle of a major refactor on parts of the code this touches. We'll be merging that into master next week so I'd like to hold off on this until that happens. It will almost certainly require an update to this PR. Sorry for the extra work :(

No worries. Just let me know when and I will update the PR.

Should I rebase with the current master and modify the code to work with the new design ?

@n1tr0g if you don't mind, that would be great!

@n1tr0g Can you rebase?

I probably could, but not sure how much the code changed.

Closing this out since the codebase has changed massively since it was originally submitted. If you think this is still a useful feature, let's open up an issue to discuss the design.


Automated docker

Adds a new Dockerfile that hopefully allows for automated docker builds

Automated builds would be nice, as you can verify how the image was built.
@rickbergfalk Any chance we could see a sqlpad 3.0 image? Let me know if I could help in any way.


Multiple gcodes?

Is there a way to add more than one gcode to be triggered? I would like it to do M25 and also an action item like M118 if possible.

No, currently there is only one gcode command possible.


Documentation error: call dotnet command instead of corerun

Hi. I gave a shot on xplat msbuild today and noticed a tiny issue on the wiki page: https://github.com/Microsoft/msbuild/wiki/Building-Testing-and-Debugging-on-.Net-Core-MSBuild
On the page, it says you can invoke msbuild by calling

./Tools/corerun ./Tools/MSBuild.exe /path/to/project

but corerun is not called any longer on xplat branch starting at https://github.com/Microsoft/msbuild/commit/51f6d763bdcaf3bdd24c0e0bca352141a94b378 commit as you know.
I tried to create a pull-req on the wiki page but GitHub still doesn't support sending pull-reqs against wiki pages. So, it'd be great if somebody have access rights modify the command example to:

$ ./Tools/dotnetcli/dotnet ./Tools/MSBuild.exe /path/to/project

Maybe creating a simple wrapper(e.g. msbuild.sh / msbuild.cmd) could be a way to avoid confusion, but it's a different problem.

Hi @muojp thanks for pointing this out! I've corrected the command in the wiki.


Plz help me. Thanks

Check if you have a version of jdk superior or equal to 11, if you have one, then might be the installer which didn't do his job of setting the necessary.
In apps you should see something like
"Java(TM) SE Development Kit XX.X.X"
If not type Java JDK in yousearch browser and install version 11 or newer (should be 1.17~1.18 currently)
If it is you need to specify where was it installed


problems getting started

hi,
after my first trial 'converting' my already existing slack app using this tutorial I tried to test it by adding another condition to the _event_handler function: ...
so when I message the bot, I want it to respond.
    elif event_type == 'message':
        user_id = slack_event['event']['user']
        print user_id, team_id
        pyBot.onboarding_message(team_id, user_id)
        return make_response("Welcome Message Sent", 200, )

However everything always ends at the bot.open_dm function. the call
new_dm = self.client.api_call("im.open", user=user_id) returns
{"ok": false, "error": "not_authed"}
I'm not sure what I am missing...

other then that. thanks for the great Tutorial! :)

Hey, any solution to this?


Recipe app Project

Recipe app Project
Hi 👋
For this project we created a Recipes blog using the Rails framework. The Application has the following interfaces:

A login page.
A registration page.
A food list (with all CRUD implementation, except for 'update').
A recipes list (with all CRUD implementation, except for 'update').
A list of all public recipes from other users with their names and total prices.
Inventories list (with all CRUD implementation, except for 'update').
Inventory shopping list, a shopping list, but only taking into consideration a chosen recipe and inventory.

Hi @TadesseDev Thanks for the feedback. The required changes have been implemented.

🛑NB: All the required Core changes have been implemented, other optional requirements will be added as time goes.🙂


npm package name conflict?

This appears to be a duplicate of another react-bootstrap-datetimepicker https://github.com/quri/react-bootstrap-datetimepicker/
Both give instructions for npm install react-bootstrap-datetimepicker... that's very confusing.
Can you shed some light on this?! I was searching for a better bootstrap datetime picker because https://github.com/quri/react-bootstrap-datetimepicker/ is horribly maintained. It appears you're a little more current and active in your library, what's the status and comparison between the two?

This repo is a complete rewrite of the other you mentioned. I'm adding features on my free time and right now it has much more features then the other one. I'm still keeping the references to the other npm package as I hope to eventually merge my repo into the original one. If not then I'll just name it differently and push it to npm.
For now you can use my package  by adding "react-bootstrap-datetimepicker" : "lkay/react-bootstrap-datetimepicker" to your package.json which which will fetch the current master branch code.
For docs and available options you can look at original package or original plugin http://eonasdan.github.io/bootstrap-datetimepicker/Options and source code as I haven't made any actual docs yet.

Thanks for the response!


Resolution of time

Hi
I would like to label data where the to-be-labelled part is less than one second. Therefore i would need a resolution of about 20 Hz. I try to upload data with the format 2019-03-13T21:11:29.358Z. However the milliseconds do not get depicted. I was in contact with geocene where they said that it should work. However with the file that i use it does not. Can you help me there? Do do something wrong?
Best wishes

ok, @steffeol - we're on it

Test-Trainset-69-bug.csv.zip

Two issues will need to be fixed: we need to fix the chart and the exports

Wow thanks for the effort! Looking forward to the progress! Will help me a lot!

@rushk014 - let's start with this one

Hi, I don't now what that means. are you working on the issue?
Thank you for the response.

@steffeol yes, we are working on this

So I see that this is closed now, but it still does not work with the format 2019-03-13T21:11:29.358Z.

@steffeol so I've fixed it on the github repo but am holding off to push it to the live website as I'm working out some kinks with the labeler tool

@rushk014 let's get in the habit of making sure that master always matches what's deployed - make these kinds of changes on another branch

and close the issue when it's deployed

@steffeol here's your data running locally - we will deploy this soon

Nice! Thank you guys! looking forward to it!

@steffeol this change is now live

@steffeol did this work out for you?


feat: Add support for Swift 5.6 (box/box-codegen#541)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.004%) to 41.906%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/schemas/fileOrFolderScope.generated.ts
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/schemas/fileOrFolderScope.generated.ts
1
45.31%

src/schemas/event.generated.ts
1
40.79%

src/schemas/file.generated.ts
2
56.78%

Totals

Change from base Build<PHONE_NUMBER>3:
0.004%

Covered Lines:
12840

Relevant Lines:
23849

💛  - Coveralls


Some confusions about extract my own pre-computed video features

Thank you for excellent work！I want to extract my own NExT-QA features. As the data preparation section of redeame, I download the the highlighted NExTVideo. When I unzip it，I don't know how to divide the raw video into train set, valid set and test set. The VidOR website also didn't provide the test set.

hello, could you see all the videos are valid? I also download the raw videos but some of them are not valid, which means I could not open the video.

@dongfengxijian

hello, could you see all the videos are valid? I also download the raw videos but some of them are not valid, which means I could not open the video.

I met the same problem. But when I extract frame with the scikit-video, it did‘t report error！Maybe the player is the reason,

@dongfengxijian Hello, sorry to bother you again, could I ask if you could abstract the same appearance feature that the author provided? For example, for the validation set, I set the clip as 16 and I abstract the 8th or 9th(actually I compare all the frames in one clip) frame appearance vector of the first clip and compare the first frame vector of the provide appearance vector, both dimension are (2048,), but I find the appearance vector is different. how about yours?

@dongfengxijian Hello, sorry to bother you again, could I ask if you could abstract the same appearance feature that the author provided? For example, for the validation set, I set the clip as 16 and I abstract the 8th or 9th(actually I compare all the frames in one clip) frame appearance vector of the first clip and compare the first frame vector of the provide appearance vector, both dimension are (2048,), but I find the appearance vector is different. how about yours?

Should the appearance vector be same? I don't quite grasp your question

I now might could answer you question at the beginning. You could separate the video directly from the train.csv val.csv test.csv to make the video split

Thank your for your guide！

@dongfengxijian , thanks for your answer! My question is: the appearance vector that I abstract is different from what the author provided, and how about you? Because we follow the same method, the appearance vector should be the same I think? because the weight of the resnext is fixed.

@dongfengxijian , thanks for your answer! My question is: the appearance vector that I abstract is different from what the author provided, and how about you? Because we follow the same method, the appearance vector should be the same I think? because the weight of the resnext is fixed.

I didn't use resnext and resnet, so I can't answer your question. I‘m sorry about that.

hello, could you see all the videos are valid? I also download the raw videos but some of them are not valid, which means I could not open the video.

I have the same issue


Publish Mastodon post on new release

This PR adds an action that publishes a new Mastodon post linking to the newest release when it is released.
Posts are sent from https://fosstodon.org/@R2Northstar
Uses https://github.com/cbrgm/mastodon-github-action/

Marked as draft as I still need to do some changes

Ok, this should be ready for review now

Not getting any reviews so I'm just gonna test in prod >:)


Let the ExecutionService base class throw TimeoutException on failed execute

LSF e.g. will just block and retry command submission, PBS does not (or at least our installation). Or it depends on the configuration and that can lead to funny behaviour. Anyways the developer should be aware of the fact and the TimeoutException might do just the right thing. Currently BE only offers the base class or interface, but this can then be used to force the exception.

So three things need to be done:

Add throws TimeoutException to ExecutionService and let it actually throw the exception if the timeout is reached.
Add throws TimeoutException to BEJobManager.runJob() and its subclasses
Handle the TimeoutException in the Roddy client code (e.g. by dying and displaying a messege.).

Related to #79.

Maybe the submission actually waited, but only the first line was parsed (which contained the wait output). Changing the parser to parse the last line would then fix this.


too complex

Read here:
https://dev.to/marcello_h/solve-code-complexity-in-go-56hg
1 - temp
./executor/executor.go:183:1 - newExecutable has complexity: 16
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 183, complexity = 2)
  + 1 (found 'if' at line: 185, complexity = 3)
  + 1 (found 'if' at line: 189, complexity = 4)
  + 1 (found 'if' at line: 193, complexity = 5)
    + 2 (found 'logical operator (1 times) && (AND)' at line: 193, complexity = 6)
  + 1 (found 'switch' at line: 198, complexity = 7)
  + 1 (found 'case with (3) lines >= 3 ' at line: 199, complexity = 8)
  + 1 (found 'case with (18) lines >= 3 ' at line: 202, complexity = 9)
  + 1 (found 'case with (18) lines >= 10 ' at line: 202, complexity = 10)
    + 2 (found 'if' at line: 206, complexity = 12)
    + 2 (found 'if' at line: 210, complexity = 14)
    + 2 (found 'if' at line: 217, complexity = 16)

./executor/multi.go:16:1 - Multi has complexity: 11
  complexity = 1
  + 1 (found 'range' at line: 22, complexity = 2)
  + 1 (found 'range with (14) lines >= 10 ' at line: 22, complexity = 3)
    + 2 (found 'go' at line: 26, complexity = 5)
      + 3 (found 'defer' at line: 27, complexity = 8)
      + 3 (found 'if' at line: 29, complexity = 11)

./metrics/prometheus.go:110:1 - newPrometheus has complexity: 10
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 110, complexity = 2)
  + 1 (found 'function with (68) lines >= 50 ' at line: 110, complexity = 3)
  + 1 (found 'if' at line: 111, complexity = 4)
  + 1 (found 'if' at line: 154, complexity = 5)
  + 1 (found 'go' at line: 170, complexity = 6)
    + 2 (found 'if' at line: 171, complexity = 8)
      + 3 (found 'logical operator (1 times) && (AND)' at line: 171, complexity = 9)
  + 1 (found 'line-complexity of 13 (max: 5 is allowed)' at line: 115, complexity = 10)

./schedule/cronlex/lexer.go:19:1 - StateFunc has complexity: 9
  complexity = 1
  + 1 (found 'switch' at line: 20, complexity = 2)
  + 1 (found 'case with (4) lines >= 3 ' at line: 21, complexity = 3)
  + 1 (found 'case with (4) lines >= 3 ' at line: 25, complexity = 4)
  + 1 (found 'case with (4) lines >= 3 ' at line: 29, complexity = 5)
  + 1 (found 'case with (4) lines >= 3 ' at line: 33, complexity = 6)
  + 1 (found 'case with (4) lines >= 3 ' at line: 37, complexity = 7)
  + 1 (found 'case with (4) lines >= 3 ' at line: 41, complexity = 8)
  + 1 (found 'case with (4) lines >= 3 ' at line: 45, complexity = 9)

./schedule/cronlex/lexer.go:54:1 - stateAlphanumeric has complexity: 16
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 54, complexity = 2)
  + 1 (found 'for' at line: 57, complexity = 3)
    + 2 (found 'if' at line: 58, complexity = 5)
      + 3 (found 'logical operator (3 times) && (AND)' at line: 58, complexity = 8)
      + 3 (found 'logical operator (2 times) || (OR)' at line: 58, complexity = 10)
      + 3 (found 'branch' at line: 61, complexity = 13)
    + 2 (found 'branch' at line: 63, complexity = 15)
  + 1 (found 'if' at line: 66, complexity = 16)

./schedule/cronlex/lexer.go:73:1 - stateException has complexity: 14
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 73, complexity = 2)
  + 1 (found 'for' at line: 76, complexity = 3)
    + 2 (found 'if' at line: 77, complexity = 5)
      + 3 (found 'logical operator (2 times) && (AND)' at line: 77, complexity = 7)
      + 3 (found 'logical operator (1 times) || (OR)' at line: 77, complexity = 8)
      + 3 (found 'branch' at line: 80, complexity = 11)
    + 2 (found 'branch' at line: 82, complexity = 13)
  + 1 (found 'if' at line: 85, complexity = 14)

./schedule/cronlex/process.go:59:1 - ProcessFunc has complexity: 13
  complexity = 1
  + 1 (found 'if' at line: 60, complexity = 2)
  + 1 (found 'switch' at line: 66, complexity = 3)
  + 1 (found 'case with (12) lines >= 3 ' at line: 69, complexity = 4)
  + 1 (found 'case with (12) lines >= 10 ' at line: 69, complexity = 5)
  + 1 (found 'case with (9) lines >= 3 ' at line: 81, complexity = 6)
  + 1 (found 'if' at line: 92, complexity = 7)
  + 1 (found 'if with (10) lines >= 10 ' at line: 92, complexity = 8)
    + 2 (found 'range' at line: 93, complexity = 10)
      + 3 (found 'if' at line: 94, complexity = 13)

./schedule/cronlex/process.go:171:1 - buildException has complexity: 11
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 171, complexity = 2)
  + 1 (found 'function with (54) lines >= 50 ' at line: 171, complexity = 3)
  + 1 (found 'if' at line: 172, complexity = 4)
  + 1 (found 'switch' at line: 177, complexity = 5)
  + 1 (found 'case with (9) lines >= 3 ' at line: 181, complexity = 6)
  + 1 (found 'case with (12) lines >= 3 ' at line: 190, complexity = 7)
  + 1 (found 'case with (12) lines >= 10 ' at line: 190, complexity = 8)
  + 1 (found 'case with (9) lines >= 3 ' at line: 202, complexity = 9)
  + 1 (found 'case with (9) lines >= 3 ' at line: 211, complexity = 10)
  + 1 (found 'case with (3) lines >= 3 ' at line: 220, complexity = 11)

./schedule/cronlex/process.go:226:1 - getValue has complexity: 13
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 226, complexity = 2)
  + 1 (found 'if' at line: 230, complexity = 3)
    + 2 (found 'logical operator (2 times) && (AND)' at line: 230, complexity = 5)
    + 2 (found 'if' at line: 231, complexity = 7)
  + 1 (found 'range' at line: 242, complexity = 8)
    + 2 (found 'if' at line: 243, complexity = 10)
      + 3 (found 'branch' at line: 246, complexity = 13)

./schedule/cronlex/process.go:261:1 - processAlphaNum has complexity: 49
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 261, complexity = 2)
  + 1 (found 'function with (65) lines >= 50 ' at line: 261, complexity = 3)
  + 1 (found 'switch' at line: 264, complexity = 4)
  + 1 (found 'case with (5) lines >= 3 ' at line: 265, complexity = 5)
  + 1 (found 'case with (54) lines >= 3 ' at line: 270, complexity = 6)
  + 1 (found 'case with (54) lines >= 10 ' at line: 270, complexity = 7)
  + 1 (found 'case with (54) lines >= 25 ' at line: 270, complexity = 8)
  + 1 (found 'case with (54) lines >= 50 ' at line: 270, complexity = 9)
    + 2 (found 'if' at line: 272, complexity = 11)
      + 3 (found 'logical operator (1 times) && (AND)' at line: 272, complexity = 12)
    + 2 (found 'range' at line: 287, complexity = 14)
    + 2 (found 'range with (29) lines >= 10 ' at line: 287, complexity = 16)
    + 2 (found 'range with (29) lines >= 25 ' at line: 287, complexity = 18)
      + 3 (found 'switch' at line: 288, complexity = 21)
      + 3 (found 'case with (15) lines >= 3 ' at line: 289, complexity = 24)
      + 3 (found 'case with (15) lines >= 10 ' at line: 289, complexity = 27)
        + 4 (found 'if' at line: 291, complexity = 31)
        + 4 (found 'if' at line: 299, complexity = 35)
      + 3 (found 'case with (4) lines >= 3 ' at line: 305, complexity = 38)
        + 4 (found 'if' at line: 306, complexity = 42)
      + 3 (found 'case with (4) lines >= 3 ' at line: 310, complexity = 45)
        + 4 (found 'if' at line: 311, complexity = 49)

./schedule/cronlex/process.go:327:1 - processStar has complexity: 10
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 327, complexity = 2)
  + 1 (found 'switch' at line: 328, complexity = 3)
  + 1 (found 'case with (9) lines >= 3 ' at line: 329, complexity = 4)
    + 2 (found 'if' at line: 330, complexity = 6)
      + 3 (found 'logical operator (1 times) && (AND)' at line: 330, complexity = 7)
      + 3 (found 'if' at line: 332, complexity = 10)

./schedule/cronlex/validate.go:86:1 - validateCharacters has complexity: 15
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 86, complexity = 2)
  + 1 (found 'if' at line: 87, complexity = 3)
  + 1 (found 'range' at line: 91, complexity = 4)
  + 1 (found 'range with (14) lines >= 10 ' at line: 91, complexity = 5)
    + 2 (found 'if' at line: 92, complexity = 7)
    + 2 (found 'if with (11) lines >= 10 ' at line: 92, complexity = 9)
      + 3 (found 'logical operator (3 times) && (AND)' at line: 92, complexity = 12)
      + 3 (found 'branch' at line: 101, complexity = 15)

./schedule/cronlex/validate.go:190:1 - validateSymbols has complexity: 48
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 190, complexity = 2)
  + 1 (found 'switch' at line: 196, complexity = 3)
  + 1 (found 'case with (26) lines >= 3 ' at line: 201, complexity = 4)
  + 1 (found 'case with (26) lines >= 10 ' at line: 201, complexity = 5)
  + 1 (found 'case with (26) lines >= 25 ' at line: 201, complexity = 6)
    + 2 (found 'label' at line: 202, complexity = 8)
    + 2 (found 'label with (23) lines >= 10 ' at line: 202, complexity = 10)
    + 2 (found 'range' at line: 203, complexity = 12)
    + 2 (found 'range with (22) lines >= 10 ' at line: 203, complexity = 14)
      + 3 (found 'range' at line: 204, complexity = 17)
      + 3 (found 'range with (20) lines >= 10 ' at line: 204, complexity = 20)
        + 4 (found 'if' at line: 205, complexity = 24)
        + 4 (found 'if with (18) lines >= 10 ' at line: 205, complexity = 28)
          + 5 (found 'if' at line: 206, complexity = 33)
          + 5 (found 'switch' at line: 210, complexity = 38)
          + 5 (found 'if' at line: 217, complexity = 43)
          + 5 (found 'branch' at line: 221, complexity = 48)

./schedule/cronlex/validate.go:230:1 - validateField has complexity: 24
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 230, complexity = 2)
  + 1 (found 'switch' at line: 231, complexity = 3)
  + 1 (found 'case with (7) lines >= 3 ' at line: 232, complexity = 4)
    + 2 (found 'if' at line: 234, complexity = 6)
  + 1 (found 'case with (19) lines >= 3 ' at line: 239, complexity = 7)
  + 1 (found 'case with (19) lines >= 10 ' at line: 239, complexity = 8)
    + 2 (found 'if' at line: 242, complexity = 10)
    + 2 (found 'if' at line: 247, complexity = 12)
      + 3 (found 'range' at line: 248, complexity = 15)
        + 4 (found 'range' at line: 249, complexity = 19)
          + 5 (found 'if' at line: 250, complexity = 24)

./schedule/resolve/resolve.go:48:1 - Resolve has complexity: 10
  complexity = 1
  + 1 (found 'range' at line: 51, complexity = 2)
  + 1 (found 'range with (11) lines >= 10 ' at line: 51, complexity = 3)
    + 2 (found 'if' at line: 52, complexity = 5)
      + 3 (found 'branch' at line: 55, complexity = 8)
    + 2 (found 'if' at line: 58, complexity = 10)

./schedule/scheduler.go:40:1 - Next has complexity: 6
  complexity = 1
  + 1 (found 'if' at line: 47, complexity = 2)
  + 1 (found 'if' at line: 69, complexity = 3)
    + 2 (found 'logical operator (1 times) || (OR)' at line: 69, complexity = 4)
  + 1 (found 'line-complexity of 7 (max: 5 is allowed)' at line: 58, complexity = 5)
  + 1 (found 'line-complexity of 8 (max: 5 is allowed)' at line: 76, complexity = 6)

./selector/blocking.go:39:1 - next has complexity: 21
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 39, complexity = 2)
  + 1 (found 'range' at line: 46, complexity = 3)
  + 1 (found 'range with (21) lines >= 10 ' at line: 46, complexity = 4)
    + 2 (found 'switch' at line: 49, complexity = 6)
    + 2 (found 'case with (5) lines >= 3 ' at line: 50, complexity = 8)
      + 3 (found 'branch' at line: 54, complexity = 11)
    + 2 (found 'case with (4) lines >= 3 ' at line: 55, complexity = 13)
      + 3 (found 'branch' at line: 58, complexity = 16)
    + 2 (found 'case with (6) lines >= 3 ' at line: 59, complexity = 18)
      + 3 (found 'branch' at line: 64, complexity = 21)

./selector/selector.go:106:1 - next has complexity: 21
  complexity = 1
  + 1 (found 'missing or wrong comment for function with more that 10 lines' at line: 106, complexity = 2)
  + 1 (found 'range' at line: 113, complexity = 3)
  + 1 (found 'range with (21) lines >= 10 ' at line: 113, complexity = 4)
    + 2 (found 'switch' at line: 116, complexity = 6)
    + 2 (found 'case with (5) lines >= 3 ' at line: 117, complexity = 8)
      + 3 (found 'branch' at line: 121, complexity = 11)
    + 2 (found 'case with (4) lines >= 3 ' at line: 122, complexity = 13)
      + 3 (found 'branch' at line: 125, complexity = 16)
    + 2 (found 'case with (6) lines >= 3 ' at line: 126, complexity = 18)
      + 3 (found 'branch' at line: 131, complexity = 21)

./selector/selector_config.go:27:1 - WithExecutors has complexity: 9
  complexity = 1
  + 1 (found 'range' at line: 29, complexity = 2)
    + 2 (found 'if' at line: 30, complexity = 4)
      + 3 (found 'logical operator (1 times) || (OR)' at line: 30, complexity = 5)
      + 3 (found 'branch' at line: 31, complexity = 8)
  + 1 (found 'if' at line: 37, complexity = 9)

40 = files
187 = functions
2336 = function lines
18 = complex functions
614 = complex function lines
9.63 % are complex functions
26.28 % of lines belong to complex functions
3.97 = overall average complexity per function

49 = highest complexity
./schedule/cronlex/process.go:261:1 - processAlphaNum has complexity: 49

3 = complex lines
./temp/./metrics/prometheus.go:115:1 - newPrometheus has a line-complexity of 13 (max: 5 is allowed)

busy for: 15.304625ms

Hi Marcello, thanks for your issue, I appreciate your time writing it and sharing it.
I am unsure what type of suggestion you're trying to portray with your message. Note that when I read a short issue description with a link to your blog post and a linter output dump (with cyclomatic complexity configured with a threshold of 1), the first thought that I have is that you're trying to promote your post.
Still (and aware of the topic), I read through it. I didn't find it meaningful in the sense of being helpful to progress in this type of discussion where I would appreciate a bit more detail so we can talk about a middle ground, a common solution and a meaningful change -- not just a "too complex" link to my blog post.
I am saddened to belive you haven't read through the repository before filing the issue, as I am sure you would have found the golangci-lint file that includes all useful cyclomatic complexity linters enabled. The reason why I so confidently claim that you haven't is because it contains an error (it needs to be renamed as .golangci.yml as presented in issue #5). This file already contains these linters configured with a reasonable threshold and they will be abided to.
On a last note, this metric is not meaningful in a real world scenario. Any initialization file (including integration tests) will have functions that have enough steps and checks for errors to make it "complex". This is not a good metric. If we're talking about breaking down functions, that should ideally be done in lieu of reusable code, not to cheat on a complexity metric. Functions in Go have a definitive overhead and having 4 functions inside another to cheat on the complexity linter is just slowing down the application and making us jump around in the codebase. Any linter warnings on complexity can be easily justifiable with a comment exception.
With this I want to underline that this repository's obsession will be over performance, not over complexity metrics. This is a one-time thing and any meaningful expansions to this library can be delivered externally (e.g. a contrib repository).
Finally, I will close this issue but you're welcome to provide more insight on what you intended to portray with the issue. For any further suggestions on cyclomatic complexity, please wait for #5 to be completed and preferably for the GitHub issue templates to be released.
Have a fantastic weekend, and again thanks for your time with this issue! :)

It turns out that @marcelloh is spamming the same issue content on several repositories, exactly with the same link and dump. Issue locked.


enhance(secret): use allow event system

It will be helpful to share the same structure for allowed events for both repos and secrets.

first pass..
also, i didn't verify, but is checkEvents() actually unused as the linter claims? we can remove, if so.

The linter really does have its moments


Can Dynamically Switch LoRA support text_encoder?

Hi, zeyi
Thank you for your great repo for sd. Our lora adapter not only for unet but also text_encoder, and the example of dynamic switch lora is for unet only. Can dynamically switch lora support text_encoder lora adapter? How can I modify it?Looking forward to your reply.

@Hap-Zhang Yes, it should.


Performance and benchmarking

Hi Ozan,
this is interesting, did you have time to perform some benchmarks that you could share?
Thanks,
Raffaele

This site provides some metrics: https://cwiki.apache.org/confluence/display/KAFKA/KIP-974%3A+Docker+Image+for+GraalVM+based+Native+Kafka+Broker


[PLT-8494] Filter out teams that are deleted and without display_name, then sort…

Summary

Filter out teams that are deleted and without display_name, then sort by their display_name field
Also deleted exported function convertTeamMapToList at TeamUtils (team_utils.jsx)

Ticket Link
Jira ticket: PLT-8494
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)
[x] Has redux changes (https://github.com/mattermost/mattermost-redux/pull/359)

@esethna Once the mattermost-redux's PR is merged, please help test the team sidebar especially when a regular user belongs to one team only. I'm seeing one team button and one team-add (+) button at the left side and I'm not sure if that's expected.

Note that such team sidebar is hidden for system admin who belongs to one team only.

@jwilander This is now ready for review. Changes to server and redux were merged recently.
@enahum I've added SocketEvents.DELETE_TEAM since you approved this PR. Feel free to revisit and review. Thanks!


Bump readthedocs-sphinx-ext to 0.5.5 to resolve search issues

Addresses #2708 by using a version of our extension that supports more than one
version of Sphinx.
Refs #1895
Refs #1850
Refs #2755

Looks fine.


Google Cloud SDK: Error starting server for missing bundledpython

Hello,
I just installed the tool into my Eclipse Neon.
Eclipse Java EE IDE for Web Developers.

Version: Neon Release (4.6.0)
Build id: 20160613-1800

I configured the Facets for the project

configured the runtime

created a new server

Launching the server I get the following error:

Google Cloud SDK: Error starting server: com.google.cloud.tools.appengine.cloudsdk.internal.process.ProcessRunnerException: java.io.IOException: Cannot run program "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\bundledpython\python.exe": CreateProcess error=2, File not found
An exception stack trace is not available.
Google Cloud SDK: Error terminating server: java.net.ConnectException: Connection refused: connect
Server (server name) failed to start.

Here is my GCloud installation
+--------------------------------------------------------------------------------------------+
|                                         Components                                         |
+---------------+-------------------------------------+--------------------------+-----------+
|     Status    |                 Name                |            ID            |    Size   |
+---------------+-------------------------------------+--------------------------+-----------+
| Not Installed | App Engine Go Extensions            | app-engine-go            |  46.8 MiB |
| Not Installed | Cloud Datastore Emulator            | cloud-datastore-emulator |  16.1 MiB |
| Not Installed | Cloud Pub/Sub Emulator              | pubsub-emulator          |  16.3 MiB |
| Not Installed | gcloud app PHP Extensions (Windows) | app-engine-php-windows   |  19.1 MiB |
| Not Installed | kubectl                             | kubectl                  |  11.3 MiB |
| Installed     | BigQuery Command Line Tool          | bq                       |   < 1 MiB |
| Installed     | Cloud Datastore Emulator (Legacy)   | gcd-emulator             |  38.1 MiB |
| Installed     | Cloud SDK Core Libraries            | core                     |   4.0 MiB |
| Installed     | Cloud Storage Command Line Tool     | gsutil                   |   2.7 MiB |
| Installed     | Default set of gcloud commands      | gcloud                   |           |
| Installed     | gcloud Alpha Commands               | alpha                    |   < 1 MiB |
| Installed     | gcloud Beta Commands                | beta                     |   < 1 MiB |
| Installed     | gcloud app Java Extensions          | app-engine-java          | 131.0 MiB |
| Installed     | gcloud app Python Extensions        | app-engine-python        |   7.2 MiB |
+---------------+-------------------------------------+--------------------------+-----------+

Here is my GCloud installation folder

As you can see there is no bundledpython folder inside the platform folder.
GCloud was already installed before, but I updated all the components.
Is there a way to force GCloud download the bundledpython?
Thanks
Regards

Hi @NicolaSpreafico,
Thank you very much for filing an issue.
We have been notified of the same issue by another user. The workaround for now is to reinstall the gcloud using the (preferably latest) installer. You would see an option, which is selected by default, to include the bundled python during installation.
Thanks,
Chanseok

Hi @chanseokoh ,
Sorry to open a duplicated issues, I did a search before opening the issue and I did not found any related issues.
Thank you for the provided workaround.
Regards

No problem. In fact, the previous issue report was an internal one we received yesterday, and the issue has never been opened on our GitHub repo. Thanks for opening the issue!

https://github.com/GoogleCloudPlatform/appengine-plugins-core/issues/189

https://github.com/GoogleCloudPlatform/appengine-plugins-core/issues/189


feat: support for grpc otlp & stdout

FYI
I've added an otelx package that configures the tracer based on the configuration which we can reuse across go applications. We currently support otlp, stdout and jaeger.

The watcherx tests are failing on the CI, but running smoothly locally.


Testing machinepool PR with test cluster chart

What this PR does / why we need it
Testing https://github.com/giantswarm/cluster-aws/pull/504 with cluster chart from https://github.com/giantswarm/cluster/pull/90
/run cluster-test-suites

/run cluster-test-suites


Tracker for migrating  lock contention flags to config in k8s upstream

This issue mostly acts as a tracker for driving migrating the lock contention kubelet flags to a config file as we are using in Lokomotive.
Part of the work is done by an external person. This work is now upon us to get the feature merged.
1/3 PRs are merged, the effort centers around merging the remaining 2 existing PRs or closing them and opening new ones.
Associated PRs
https://github.com/kubernetes/kubernetes/pull/97028
https://github.com/kubernetes/test-infra/pull/20106/
https://github.com/kubernetes/kubernetes/pull/96775

Update:

I created a PR https://github.com/kubernetes/test-infra/pull/22758  to supersede https://github.com/kubernetes/test-infra/pull/20106. I reached out to the author of the original PR and he was kind enough to close his PR in favor of mine.

https://github.com/kubernetes/test-infra/pull/22758 was merged few days ago.

I created another PR with the actual test in https://github.com/kubernetes/kubernetes/pull/103608 which was created to supersede https://github.com/kubernetes/kubernetes/pull/96775

The new PR takes a different approach thereby making already merged PR (https://github.com/kubernetes/kubernetes/pull/97028) not needed for this feature.
I have provided more details  on https://github.com/kubernetes/kubernetes/pull/103608 and created a follow up PR https://github.com/kubernetes/test-infra/pull/22758. If agreed that https://github.com/kubernetes/kubernetes/pull/97028 is not needed then I will create another PR reverting the said change.
/cc @rata @iaguis

We're pending on reviews on a couple of PRs upstream.


Dropdown options appear off to the left side of input element

Wave SDK Version, OS
Chrome 88.0.4324.192
Wave 0.12.1
Max OSX
Actual behavior
Dropdown options appear off to the left side of input element

Expected behavior
Dropdown options appear below the input element

Steps To Reproduce
Create a dropdown with 20+ choices

Hi @brmscheiner this is desired behavior of the component Framework we use. Displaying the options to the left instead of under the dropdown provides more space. The point is to show as many items as possible.
Duplicate of https://github.com/h2oai/wave/issues/149.

Hmmm, I feel like the better pattern is to make the list scrollable when there are lots of items. Fluent doesn't support this?

It is scrollable if the number of items exceeds available viewport, it just tries to use as much space as possible. It is possible to force to always render at the bottom, but we have agreed with @lo5 that it is not worth it.


What kind of token is required?

$token = "a_registration_from_your_database";
I'm not clear what kind of token is needed to provide.

That token is a FCM_token (Firebase Cloud Messaging)

That token is a FCM_token (Firebase Cloud Messaging)

How can I acquired this token in my project. Is this token is specified for each user and how can I generate token for each user? and do users have to register with google to get this token?

you need to have a javascript or app running on the front-end that can process the users request to receive notifications. that will generate a FCM_token which you need to push to the laravel application.
please take a look at the FCM documentation. they also have some examples which you can use for your front-end.
https://firebase.google.com/docs/cloud-messaging/js/client
then just use ajax / XMLhttp to push the token to the laravel database and you can send notifications.
https://github.com/firebase/quickstart-js/tree/master/messaging

Thank for your reply @dennis1804 . It's very helpful and I will look into docs that you mentioned.


english version when

yeah this app is cool and all but it would be epic if we had english version

All text content in the app is written in the code, so it is very difficult to add new languages. In addition, Genshin Data in app only supports simplified Chinese and is not prepared for internationalization.

But is there any chance for EN version in the future? This app looks great and very helpful, especially with GameBar widget. Such a shame I can't use it 😞


Writing augmented features to disk/option to perform data augmentation on cpu but everything else on gpu

Hi, first of all great project, everything that I've looked into seems quite readable.
I'm trying to play around with your VoxCeleb ECAPA TDNN recipe and I'm running out of GPU memory with the configured settings (which can obviously be solved by reducing the batch size).
However, if I lift the model architecture code and train it in on my own precomputed features (like from Kaldi) I can use the 'correct' batch size for the recipe with everything fitting on GPU(s).
My question is if there will be a plan to add the feature of writing some extracted feats to disk to save memory or alternatiely allowing just the augment_pipeline bit to be done on cpu.
Thanks,
Chau

Hi,

My question is if there will be a plan to add the feature of writing some extracted feats to disk to save memory or alternatiely allowing just the augment_pipeline bit to be done on cpu.
the second option should could be already done using Dynamic Item Pipelines.
See the tutorial on dataIO: https://colab.research.google.com/drive/1AiVJZhZKwEI4nFGANKXEe-ffZFfvXKwH
You could write a pipeline to do feature extraction as:

@speechbrain.utils.data_pipeline.takes("file_path")
@speechbrain.utils.data_pipeline.provides("fbanks")
def fbank_pipeline(file_path):
sig = speechbrain.dataio.dataio.read_audio(file_path)
fbank = your_filterbank_function(sig)
return fbank
you could use speechbrain features or torchaudio or your own. This is done on CPU and is parallelized across workers.

My question is if there will be a plan to add the feature of writing some extracted feats to disk to save memory or alternatiely allowing just the augment_pipeline bit to be done on cpu.
Definitely we should have this for large datasets and network storage, I think this is related to issue https://github.com/speechbrain/speechbrain/issues/580.

Hi,
as for the OOM issue, the simplest solution is to reduce the batch size.
The parameters are set with our 32 GB GPU, buy you can easily reduce the
batch size.
As you can see, that recipe heavily relies on on-the-fly data augmentation
which really improves the performance. I thus strongly suggest feeding the
wav signals directly rather than pre-computed features. The latter
operation is possible (see Samuele's message), but there are good reason
for plugging the waveforms directly:

Feature computation is super fast (especially on GPUs) and not memory
demanding.
You can easily combine on-the-fly feature computation with on-the-fly
data augmentation
The pipeline is cleaner and does not require annoying preliminary
steps such as dumping features on disk.
We can backpropagate the gradient through the features and make them
learnable
Conceptually, we just see feature extraction as an early layer of a
deep architecture

On Wed, 17 Mar 2021 at 16:48, Samuele Cornell @.***>
wrote:

Hi,
My question is if there will be a plan to add the feature of writing some
extracted feats to disk to save memory or alternatiely allowing just the
augment_pipeline bit to be done on cpu.
the second option should could be already done using Dynamic Item
Pipelines.
See the tutorial on dataIO:
https://colab.research.google.com/drive/1AiVJZhZKwEI4nFGANKXEe-ffZFfvXKwH
You could write a pipeline to do feature extraction as:
@@.***_pipeline.provides("fbanks")def fbank_pipeline(file_path):
sig = speechbrain.dataio.dataio.read_audio(file_path)
fbank = your_filterbank_function(sig)
return fbank
you could use speechbrain features or torchaudio or your own. This is done
on CPU and is parallelized across workers.
My question is if there will be a plan to add the feature of writing some
extracted feats to disk to save memory or alternatiely allowing just the
augment_pipeline bit to be done on cpu.
Definitely we should have this for large datasets and network storage, I
think this is related to issue #580
https://github.com/speechbrain/speechbrain/issues/580.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/582#issuecomment-801433058,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA2ZVS4SEVGGA2TRFXZKXTTEEITXANCNFSM4ZLDK42Q
.

Thanks for the quick answers! That makes a lot of sense, thanks.


Can I expand to support SciDart?

Amazing project, congratulations!
I have been searching for some interpreter written in Dart and so far your implementation is the best that I found!!!
I created a library called SciDart(https://scidart.org/) my intention is create a full and functional Scientific platform for Dart and to achieve this I need an interpreter. Can I use your implementation and extend to support SciDart?

@polotto
Of course! It's just that LuaDardo is still experimental at the moment, and I don't have time for optimization and continued development of the Lua standard library at the moment to recommend it for use in release projects.

@polotto
Of course!  It's just that LuaDardo is still experimental. I don't have time to optimize and continue to develop the Lua standard library. It is not recommended to use it in release projects.

Thank you! The SciDart is experimental as well, I think we are good.

Can you answer a question?
I trying bind SciDart with LuaDardo and I face this problem:
static int _sayHi(LuaState ls) {
    Person p = ls.toUserdata<Person>(1).data;
    if (ls.isString(-1)) {
     var result = p.sayHi(ls.toStr(-1));
     // How do I put this result back to Lua code?
    }
    return 0;
  }

How do I put the result that I get in Dart back to Lua?

Thank you!

Thank you! Is there some way to generate these binds automatically? That would be really amazing to make the integration with my library more easy.


[question] How to generate the same action with the same seed?

Hi Team,
As an experiment, I try to control the randomness of the action within the learning phase. I set the seed in multiple places. My code is below:

# Custom MLP policy of three layers of size 128 each
class CustomPolicy(FeedForwardPolicy):
    def __init__(self, *args, **kwargs):
        super(CustomPolicy, self).__init__(*args, **kwargs,
                                           net_arch=[dict(pi=[128, 128], vf=[128, 128])],
                                           feature_extraction="mlp")

n_cpu = 1
seed = 1
nv_id = 'CartPole-v1'
env = DummyVecEnv([make_env(env_id, 0) for i in range(n_cpu)])

set_global_seeds(seed)
model = PPO2(CustomPolicy, env, verbose=1)
model.learn(total_timesteps=25000, seed=seed)

I notice that in the function step, the value action still has different output everytime I restart the line "model.learn". Is there any way to force the the action has the same value when the function runs.
    def step(self, obs, state=None, mask=None, deterministic=False):
        if deterministic:
            action, value, neglogp = self.sess.run([self.deterministic_action, self.value_flat, self.neglogp],
                                                   {self.obs_ph: obs})
        else:
            action, value, neglogp = self.sess.run([self.action, self.value_flat, self.neglogp],
                                                   {self.obs_ph: obs})
        return action, value, self.initial_state, neglogp

System Info
The code runs with tensorflow 1.12.0 on the windows CPU

To summarize: You wish to pick deterministic actions while training (and assuming rest of the randomness is same, pick same actions each time you run the code)?
This is not supported in the PPO2 by default, but you could take a copy of Runner and modify the line that creates the action to pick deterministic actions rather than stochastic actions.
Note that this can be a bad idea for learning: The agent could easily get stuck in bad actions and never explores other options, and also does not quite fit in with the theory behind PPO2 (the definition expects actions sampled according to policy, not deterministic actions, although PPO's policy clipping might help fixing this).

Hello,
i think he just want to have reproducible results, please read the doc for that, there is a seed parameter.

Hi araffin and Miffyli,
Thanks for your reply. araffin is correct. I just want to have reproducible results, not deterministic result. In my code above, I already set the parameter seed
model.learn(total_timesteps=25000, seed=seed)

However when I compare the results from the multiple runs, the results are different. I am using the stable-baseline 2.8.0. I notice the new version, 2.9.0, introduces a new parameter "n_cpu_tf_sess". The document states that it is important to get reproducible results. In the old version, 2.8.0, this parameter is not available. Is it the place to cause the difference?

You need to use the master version for that, or wait for the 2.9 release. The seed parameter was also moved to the constructor.

Thanks @araffin. I modified a part of the 2.8 code on my laptop and manage to generate the reproducible result. One observation is that there are multiple places to set seeds: 1. at the TF graph level, 2. in the Env wrapper, and 3. in the action_space of the Env. I have to define the seeds at all 3 places to get the reproducible results.


Error in executing lua vim/_meta.lua: 324: Invalid option type 'nil' for 'filetype', should be string

Reproduction steps:

open a  standalone .lean file directly
Error shows on screen

Also, the filetype doesn't default to lean3 for whatever reason. Even when there is a leanpkg.toml file, the filetype stays at lean.
leanpkg.toml:
[package]
name = "week2"
version = "0.1"
lean_version = "leanprover-community/lean:3.33.0"
path = "src"

[dependencies]
mathlib = {git = "https://github.com/leanprover-community/mathlib", rev = "c2fde7017938c7c31d01cf14083774def7e0e018"}

Lean config:
require("lean").setup{
  abbreviations = { builtin = true },
  lsp3 = { on_attach = on_attach },
  lsp = { enable = false },
  ft = { default = "lean3" },
  mappings = true,
}

Before the following commit, standalone .lean files wouldn't show this error.
Commit: 3aa953df9e5f18a61a3aeee0ca271973ceb1cde2
Nvim v0.6.0-dev

Okay, I managed to find the culprit already.
nathom/filetype.nvim seems to clash with lean.nvim somehow. I honestly forgot I tried this plugin out. Not sure if I will file a bug report since I am not sure what is going on.
Feel free to close this.

Phew, ok glad to hear -- my guess was going to be something like some filetype related thing sourcing things within lean.nvim before they were fully ready but yeah glad to hear it's not our fault for now at least :)

How can you fix this? As I still suffer the same problem in https://github.com/Julian/lean.nvim/issues/170


featherdoc comment in the main scribble() function

because the first thing in the scribble() function is a check if the argument is a struct, feather thinks the argument is supposed to be a struct, and will yell at you whenever you try to pass it a string the way it's supposed to; with stock feather settings that currently accounts for 300ish of the 400ish "errors" in the main branch of the repository

i only changed the one function because it causes by far the most problems, but if you want them i can probably also add feather comments to the other functions too

If and when I support Feather I'll do the whole library. Halfway supporting it will only cause people to pester me more.
Also, please don't PR into master ...


Allow controlled copying to direct byte buffers prior to channel write

Currently netty will attempt to copy heap bytes to implementation specific byte representations in filterOutboundMessage. For the most common TCP and UDP implementations (NioSocketChannel and NioDatagramChannel) this means allocating a direct buffer from the alloctor (or thread local recycler) prior to the message being queued with the outbound channel buffer. This only happens if the direct buffer pooling is enabled. There are scenarios where a user of netty might operate in a memory limited environment. Memory used can be reduced by decreasing the size of the direct buffer chunks. This can cause issues however, because the direct buffer allocator can still allocate additional chunks or if the message is larger than a chunk, allocate a new direct buffer on an ad-hoc basis.
In this scenario it would be nice to have an option to filter heap buffers to direct byte buffers with copying immediately prior to writing to a channel. This is possible currently by extending NioSocketChannel#doWrite. However, there is a signficant amount of useful logic in that method. It would be nice to have a clearer extension point.
There are three solutions that I brainstormed:

Add filter methods to AbstractNioChannel for the byte buffers. This would allow implementations to extend either NioSocketChannel or NioDatagramChannel and hold thread-local direct byte buffers to copy the bytes into. This will avoid the JDK direct byte buffer pooling, which cannot be controlled. The trade-off is extra copies for the bytes that cannot be flushed into the channel. But that is an appropriate trade-off. Implementations have to disable direct buffer pooling in order to make this work. I have opened #9180 to prototype this change.

Make a more extensive change that would allow implementations to config a channel to NOT filter the outbound messages on enqueue time. This might be possible through the DefaultChannelConfig. Perhaps there would be an filterOutboundAtEnqueue() option. The default implementation could return true. The NioSocketChannelConfig and DefaultDatagramChannelConfig could allow an optional FilterAtSend implementation that would filter a ByteBuf immediately prior to sending. This would require wrapping the ByteBuffers in an Unpooled instance in-order to conform. The advantage of this approach is that the implementers could continue to use the netty buffer allocator (in this scenario with significantly reduced chunk sizes).

Essentially scenario (1), but instead of overridable methods, a FilterAtSend#filterBuffers(ByteBuffer) type of interface that can be configured on the NioSocketChannelConfig and DefaultDatagramChannelConfig implementations. Essentially a composition based approach for (1) opposed to inheritance.

This behavior (implementing some very thin direct buffer pooling) is already possible on the read side with the RecvByteBufAllocator.

Closing as I think extending SocketChannel directly gives me the functionality that I need.


Add the uuid to each generated sample while saving to messages

Add the uuid to each generated sample while saving to messages
import uuid

def generate_uuid():
     return str(uuid.uuid4())

Add this field to the final messages and save this field making with messages and metadata
final structure to look like  {'messages' : '', 'metadata': '', 'id' : ''}

Could you add more context, please. What is the use case for a UUID?

The newer format files output as part of the data mixing work includes a UUID id field in every message. I don't know the why behind the id field myself, but just noting that we now have one.

So we can close this as resolved?


gamesandstuff windows launcher scaling is off

upon opening the gamesandstuff windows launcher, the window has no borders
the text is also kinda cut off
(https://user-images.githubusercontent.com/70825884/200106699-51faad61-6287-4d4c-9ee9-b3b7953f2a66.PNG)

the borderless window is intentional, the text being cut off is not....

ill try to fix, seems like something to do with the css styling

I have been able to reproduce the issue, it seems like it happens when your scale under display settings is higher than 100%

ill try figure out a patch and send a hopefull fixed version to you

@Hoot679 try this and send a screenshot https://gamesandstuffdl.letsgoaway.repl.co

It seems to be fixed once the resolution is set to 100%

yes, if you can live with squinting to view things. ill keep this issue open for now so i know it is still an issue

especially considering monitor sizing is getting bigger and scale options are more usefull

it also is ok with 125% scaling, but the open in app mode button is cut off

hmmm

in my tv on 125%, it works fine


Switch to brave as the default browser

https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux

Sync has been disabled for a month now due to https://github.com/brave/brave-browser/issues/8128 which is a deal breaker for me, so going back to chrome.
Might revisit this once brave sync matures a bit.


Page/Post type permalink is not created when imported through code.

When Page & Post Types are imported through code their permalink is not created correctly. The types can't be updated through the manager interface as they are code managed which makes permalink generation impossible for the types.

My bad. The errors were due to an upgraded and migrated old version created prior to when permalinks existed for post types.


[Monitor.Query] Update Preview Swagger File

Data Plane API - Pull Request

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document:
Previous API Spec Doc:
Updated paths:

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

Removing the new-api-version label as this PR does not create a new API version.

Hello @tjprescott can you review this and give us ARM signoff?
For context these are changes requested by the SDK team to assist in creating a new version of the metrics SDKS for both the ARM and dataplane metrics APIs. There were no API changes as part of this, it's all formatting changes for the SDKs.


Model is not being saved after first epoch

Hey guy's,
this is more like a question because I don't know if it is normal that my model is not being saved after running the first epoch.
So is it a normal behavior or not and should I then run it a second epoch?
Thank's in advance:)

Hi @CracKCatZ, by default, Lightning automatically saves a checkpoint for you in your current working directory, with the state of your last training epoch.
Couple of references you could look into: Ref 1, Ref 2.

Hey kaushikb11,
I've fixed it. I forgot to call the callback function.
But thank you anyway:)

Awesome, Glad to know! Closing the issue, cheers!


update ubi image

updated the same: https://github.com/IBM/ibm-iam-operator/pull/81
waiting for merge.


How to show the author name of a post in associations example?

Hi.
Consider the following example extracted from the official documentation:
use schema::{posts, users};

#[derive(Identifiable, Queryable, PartialEq, Debug)]
#[table_name = "users"]
pub struct User {
    id: i32,
    name: String,
}

#[derive(Identifiable, Queryable, Associations, PartialEq, Debug)]
#[belongs_to(User)]
#[table_name = "posts"]
pub struct Post {
    id: i32,
    user_id: i32,
    title: String,
}

let user = users.find(2).get_result::<User>(&connection)?;
let users_post = Post::belonging_to(&user)
    .first(&connection)?;
let expected = Post { id: 3, user_id: 2, title: "My first post too".into() };
assert_eq!(expected, users_post);

So, is there any Diesel feature to show another field besides the foreign key? For example:
pub struct Post {
    id: i32,
    user_id: i32,
    user_name: Option<String>, // <<-- this one
    title: String,
}

...

let expected = Post { id: 3, user_id: 2, user_name: "Seam", title: "My first post too".into() };

or even:
pub struct Post {
    id: i32,
    user: User,
    title: String,
}

...

let expected = Post { id: 3, user: User { id: 2, name: "Seam" }, title: "My first post too".into() };

I'm not sure, but at least for the first case, it seems possible only by creating a view at database, however, it would be nice to show "extra fields" without requesting changes in the customer database.
TIA for any help!

This is a issue tracker. It's for tracking issues and feature requests, not for doing support here. Please ask such questions in our gitter channel or in our forum.


monitor_agent: Add missing descriptions for configurable options.

What's this patch?
This is a minor patch that adds documentation for each configurable
option of Fluent::Plugin::MonitorAgentInput, which is currently
missing from the source code.
Signed-off-by: Fujimoto Seiji<EMAIL_ADDRESS>

Thx!


Unable to access OS Management as a restricted admin user

Setup

Rancher version: v2.7.0-rc1
Browser type & version: Chrome

Describe the bug

When logged into Rancher as a restricted administrator, I am unable to access OS Management. This should not be the case as both an administrator user, restricted or not, should be able to access this to perform the expected operations when working with Elemental.
To Reproduce

Setup Rancher with the elemental operator and login to the UI.
Create a restricted administrator and login as that user.
Attempt to access OS Management; you are unable to.

Result
Unable to access OS Management as a restricted admin.
Expected Result

I should be able to access OS Management as a restricted admin.

We added a GlobalRole called "Elemental Admin" in the operator helm chart. Are you able to add that role to your user?

For reference: https://github.com/rancher/elemental-operator/blob/main/chart/templates/globalrole.yaml

Just tested with a standard user + Elemental admin role and was able to create all of the resources needed for elemental

Today I was able to deploy k3s/RKE2 elemental node either as admin and user granted with elemental-administrator role!
This one can be closed as well.


Uploaded files are not listed in the upload field when editing

@todd-dembrey This issue pussels me and I would appreciate some pointers.
Since it seems files are lost when you resave a submission it would be good to get fixed.
Sent with GitHawk

@todd-dembrey Tested the file uploads more. And I think the field was removed when I tested locally only because the actual files was not present. When I now test they are not removed.
But if I edit and upload more files they replaces the current ones. I think it would be better if it works in the usual manner.

Yeah, the behaviour was confusing. I've rewritten the file handling on the multi upload case. It is much better now.


Cache for DelegateParameter

This PR implements cache of DelegateParameter to exactly mirror the cache of the source parameter. Depends on #1832.
For now, some dirty stuff with respect to accessing _value of cache is needed, but this wouldn't be necessary when snapshot_base improvements will be worked on in #1833.
Fixes #1782.

@Dominik-Vogel could you please rebase this PR on top of https://github.com/QCoDeS/Qcodes/pull/1832 ?

done

(Rebased onto wrong branch, really sorry, I lost the overview over all the different cache PRs)
Now it is updated and sound, @astafan8 .

@Dominik-Vogel I merged the master with the _Cache into this branch (didn't want to bother with rebases), and i think it looks good. Let's have another last look and merge (if CI allows :) )


Drupal toolstack hard-coded document root

In a Platform.sh application, the document root can be set in the app config (web.document_root)
For a Drupal application, the build process needs to copy "settings.php" and create some symlinks in "sites/default" within the document root.
The Drupal toolstack however assumes that "sites/default" always exists in the root of the repository, even though this is configurable, and therefore changeable.
I'd like to propose that the CLI should honour the app config, and determine the path to "sites/default" based on this where necessary.
I have implemented the feature locally, and so would be happy to make a pull request after further testing.

Agreed. We should take the opportunity to give builds a proper subdirectory structure and run the same build hooks as on Platform. It's going to make "vanilla" sites more complex though - what should happen there?
IIRC the configured document root is available in LocalBuild::getAppConfig().
BTW if you are making a pull request, note that we are now on version 2.0.0-alpha2 - I reckon there is still the possibility of BC breaking changes, if necessary, before 2.0.0.

I've made a bit of a start in #269, I'm not sure it's the right direction so I'd be interested to see what you did

Committed - https://github.com/platformsh/platformsh-cli/commit/3d1a515e1fb58170339bb18f0e8d139e5b4f297f


How to compute inverse trajectories

Dear all,
Thanks for the great package!
I am writing to seek guidance with a doubt I have. With discrete flows, during training we learn a transformation from data space to, say, Gaussian space ( $u = f(x)$ ) and then invert to transform from Gaussian to data ( $x = f^{-1}(u)$ ). We can always take new data to the Gaussian space by using  $u = f(x)$ .
In the case of this package, it's clear how we can use the models to start from a (Gaussian) noise space, get the initial conditions of the ODE and solve with torchdiffeq or torchdyn. The question is how can I use the model to compute the reverse trajectory, i.e. go from new data back to the (Gaussian) noise space? How do we compute $u = f(x)$ ?
Do I have to reverse the time steps order (from 1 to 0) and give the data as the initial conditions of the ODE?
I would be really grateful for any guidance or code example you could provide.
Best regards,
Francesco

Hi,
For example In the NB conditional_mnist.ipynb, this code sample generates samples $x_1 \sim q(x_1)$, where $q(x_1)$ is the target distribution, starting from $x_0 \sim p(x_0)$, where $p(x_0)$ is the base distribution:
traj = torchdiffeq.odeint(
    lambda t, x: model.forward(t, x, generated_class_list),
    torch.randn(100, 1, 28, 28).to(device),
    torch.linspace(0, 1, 2).to(device),
     atol=1e-4,
     rtol=1e-4,
     method="dopri5",
)

In this case, traj is a Tensor of shape (2, 100, 1, 28, 28) $-$ since we specified the noise to be in this shape $-$ so by reversing the order of traj along the first dimension, you get the trajectory from the target to base distribution:
traj__target_to_base = traj.flip(dims=[0])

Hope this helps :slightly_smiling_face:

Dear Imahn,
Thank you so much for the help!
From what I understand, your approach:

Starts from some noise $u$;
Generates some synthetic data $x$ evolving $u$ along the trajectories of the ODE;
Gets back to the starting noise $u$ by inverting the trajectories.

However, what I would like to do is to:

Start from some novel, real data $x ^\ast$ coming from the same process as the training one;
Find the trajectory for taking this data into the noise $u^\ast$.

Do you know if something like this is possible?
Thanks again for taking the time to help,
Best
Francesco

Dear Francesco,
You are right. :slightly_smiling_face: I was at first unsure how to do what you asked for, but having looked into the function torchdiffeq.odeint() again, I would do it like this:

First train your CNF (continuous NF) with the CFM (conditional FM) objective, e.g. as in cells 3 and 4 of this NB.

Then sample an $x_1 \sim q(x_1)$ $-$ or a batch of them $-$ i.e. samples from the real target distribution, let's say MNIST images in the shape (100, 1, 28, 28), where the first dimension is just the batch dimension, and then do trajectory inference like this:

traj = torchdiffeq.odeint(
    lambda t, x: model.forward(t, x, generated_class_list),
    mnist_images,  # Tensor in shape `(100, 1, 28, 28)` e.g.
    torch.linspace(1, 0, 2).to(device),
    atol=1e-4,
    rtol=1e-4,
    method="dopri5",
)

Hope this helps.

Yep, this is the solution I would use too.
Great answer @ImahnShekhzadeh.

Closing this issue has it has been solved.


create 3d debug functions

build utility for 3d debugging. possibly a imgui-like cache and draw type of system. call functions in logic frame and render them in draw frame.
functions:

line (start, end)
point (3 lines)
viewpoing (3 lines)
aabb (12 lines)
obb (12 lines)
meshes (sphere, cube)
text

more sensical gizmos:

line
point

things left  to implement:

[ ] vulkan fences
[ ] division by 0 (happens when both ndc0.x == ndc1.x)
[ ] text

now only the depth buffer is missing.
text should write to and read from the depth buffer. segments should only read from the buffer


[LIVY-477][BUILD] Upgrade Scala version to 2.11.12

What changes were proposed in this pull request?
Scala version below 2.11.12 has CVE (https://scala-lang.org/news/security-update-nov17.html), and Spark will also upgrade its supported version to 2.11.12.
So here upgrading Livy's Scala version also.
How was this patch tested?
Existing tests.

Codecov Report

Merging #100 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #100      +/-   ##
============================================
+ Coverage     71.27%   71.34%   +0.07%
- Complexity      793      794       +1
============================================
  Files            97       97
  Lines          5437     5437
  Branches        810      810
============================================
+ Hits           3875     3879       +4
+ Misses         1035     1033       -2
+ Partials        527      525       -2

Impacted Files
Coverage Δ
Complexity Δ

...in/java/org/apache/livy/rsc/rpc/RpcDispatcher.java
64% <0%> (-4%)
19% <0%> (-1%)

...in/java/org/apache/livy/rsc/driver/JobWrapper.java
80.64% <0%> (ø)
8% <0%> (+1%)
:arrow_up:

rsc/src/main/java/org/apache/livy/rsc/rpc/Rpc.java
79.88% <0%> (+0.59%)
12% <0%> (ø)
:arrow_down:

...ain/java/org/apache/livy/rsc/driver/RSCDriver.java
81.09% <0%> (+2.1%)
42% <0%> (+1%)
:arrow_up:

rsc/src/main/java/org/apache/livy/rsc/Utils.java
85.71% <0%> (+2.38%)
16% <0%> (ø)
:arrow_down:

...c/main/scala/org/apache/livy/repl/ReplDriver.scala
32.5% <0%> (+2.5%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Merging to master.


Add constraint component attribute to SANodes

Currently when using a SANode it is not possible to track down which constraint component would correspond with a SANode.
I suggest adding an attribute called constraintComponent which will hold the SHACL constraint component if any which corresponds with this SANode.

That is right. It would be nice to integrate this in the library. This involves adding information about the original shapes graph into the datastructure. It is not clear to me how to approach this properly. I will look into this a little more during the coming two weeks.

I opened draft pull request #4 containing the changes I made to add constraint components to SANodes (I'm not sure it works in every case), it contains a breaking change for TEST Op.