WIP: Add a Cassandra Demo

Release note:
NONE

Can this be closed, or otherwise be turned into a quick start doc and published in our docs? Looks like useful info if we don't already have it, but I think should be more visible than in demo.sh 😄


Duplicate #[derive(...)] when it is placed on line 1 in --html option

When #[derive(...)] is placed on line 1 of a file and then run cargo llvm-cov --html, the resulting Coverage report has two same and adjacent #[derive(...)] like this

After moving the first line to the second, it works normally again:

I believe this is a rustc (or llvm) bug.

@TimePrinciple Would you mind submitting an issue at https://github.com/rust-lang/rust?

(upstream issue: https://github.com/rust-lang/rust/issues/110749)

This should be fixed in https://github.com/rust-lang/rust/pull/97368.


:construction_worker: Add an IWYU CI workflow

This PR adds an IWYU workflow to the CI.

For right now, this action does not work in the intended way. Maybe, we revisit it later.


js file was moved from es5 to es6

i created a separate for the js file and the file was changed from es5 to es6

Good work!
Please address the comment left and resolve the merge conflict.


Better support for YAML-like syntax

I love the new cleaner syntax made possible by the implicit object-literals in 0.9
Would it be possible to go a step further toward YAML and support implicit arrays, so I can do this:
states =
  step_1:
    '#attach_link'
  step_2:
    '#attach_form'
    '#file_select'
  step_3:
    '#attach_form'
    '#file_submit'

Instead of this:
states =
  step_1:
    '#attach_link'
  step_2: [
    '#attach_form'
    '#file_select' ]
  step_3: [
    '#attach_form'
    '#file_submit' ]

Guess I am not the only one wanted to make it simpler for the eyes. If many people find something worth to solve perhaps it's worth to solve it.
I think it's unfair that good feature requests are closed without much considerations. Close, open, close, open, close, open, close just on a feeling? Come on...too impulsive.
Give it a try and make CoffeeScript more beautiful. Pyramids of [] is plain ugly. Make it beautiful, change the world!

I kinda think it is doable if you are trying to solve it instead of open, close, open, close...
YAML has the same vision as CoffeeScript but for Markup:
http://nodeca.github.com/js-yaml/
http://nodeca.github.com/js-yaml/#yaml=b2JqZWN0OgogIGNvbG9yczoKICAgIHJlZDogIjkwJSIKICAgIGJsdWU6ICIxMCUiCiAgcGVvcGxlOgogICAgLSAiQW1hbmRhIgogICAgLSAiRXJpYyIKCmFycmF5OgogIC0gbmFtZTogImJsb2NrIgogICAgYWdlOiAyNAogIC0ge25hbWU6ICJpbmxpbmUiLCBhZ2U6IDI0fQ==
http://nodeca.github.com/js-yaml/#yaml=cmVjZWlwdDogICAgIE96LVdhcmUgUHVyY2hhc2UgSW52b2ljZQpkYXRlOiAgICAgICAgMjAwNy0wOC0wNgpjdXN0b21lcjoKICAgIGdpdmVuOiAgIERvcm90aHkKICAgIGZhbWlseTogIEdhbGUKCml0ZW1zOgogICAgLSBwYXJ0X25vOiAgIEE0Nzg2CiAgICAgIGRlc2NyaXA6ICAgV2F0ZXIgQnVja2V0IChGaWxsZWQpCiAgICAgIHByaWNlOiAgICAgMS40NwogICAgICBxdWFudGl0eTogIDQKCiAgICAtIHBhcnRfbm86ICAgRTE2MjgKICAgICAgZGVzY3JpcDogICBIaWdoIEhlZWxlZCAiUnVieSIgU2xpcHBlcnMKICAgICAgc2l6ZTogICAgICA4CiAgICAgIHByaWNlOiAgICAgMTAwLjI3CiAgICAgIHF1YW50aXR5OiAgMQoKYmlsbC10bzogICZpZDAwMQogICAgc3RyZWV0OiB8CiAgICAgICAgICAgIDEyMyBUb3JuYWRvIEFsbGV5CiAgICAgICAgICAgIFN1aXRlIDE2CiAgICBjaXR5OiAgIEVhc3QgQ2VudGVydmlsbGUKICAgIHN0YXRlOiAgS1MKCnNoaXAtdG86ICAqaWQwMDEKCnNwZWNpYWxEZWxpdmVyeTogPgogICAgRm9sbG93IHRoZSBZZWxsb3cgQnJpY2sKICAgIFJvYWQgdG8gdGhlIEVtZXJhbGQgQ2l0eS4KICAgIFBheSBubyBhdHRlbnRpb24gdG8gdGhlCiAgICBtYW4gYmVoaW5kIHRoZSBjdXJ0YWluLg==
Some patterns CS could be inspired by perhaps.
Eg.
array:

"something"
"something else"
123

KISS


Bug: Input argument is not passed to fromEventObservable

Description
loading: {             invoke: {               src: fromEventObservable(recentQueries),               input: ({ event }) => ({ dbName: event.dbName })             },             on: {               RECENT_QUERIES_FETCHED: { target: 'idle', actions: ['setRecentQueries'] }             }           },
Expected result
Expecting the input is passed to recentQuery function.
Actual result
input is undefined in passed function scope.
Note: it works fine for other from* behaviors.
Reproduction
N/A
Additional context
No response

Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.

Fixed in #4020


feat: Add functions to the Kv API in order to query ranges of keys an…

…d/or values #345

Another issue with the 'range' feature - if we decide to store information about deleted values, we will need to take it into account while calculating the values for the given range...wonder how big of an issues this is...I guess in a simplest form we would need to simply manually remove the values from what's the current implementation returns...


Update web test config

What this PR does / why we need it:
Disable type checking on the jest test.
TypeCheck can still be done using tsc.
I also set maxWorkers to prevent overuse of workers.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve


Pjax does not work with subdomains

Exemple :
site.com/user/list/ , click on a user name that links to : user.site.com : it won't be a pjax request, even if this is the same main domain.
Can this be configured ?

any progress in subdomin?

In case of CORS issues the only reliable solution is CORS proxy:
https://github.com/cowboy/php-simple-proxy


HBASE-23814 Add null checks and logging to misc set of tests

TestFullLogReconstruction log the server we've chosen to expire and then note where we starting counting rows
TestAsyncTableScanException use a define for row counts; count 100 instead of 1000 and see if helps
TestRawAsyncTableLimitedScanWithFilter check connection was made before closing it in tearDown
TestLogsCleaner use single mod time. Make it for sure less than now in case test runs all in the same millisecond (would cause test fail)
TestReplicationBase test table is non-null before closing in tearDown

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 34s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 7 new or modified test files.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
6m 12s
branch-2 passed

+1 :green_heart:
compile
1m  4s
branch-2 passed

+1 :green_heart:
checkstyle
1m 20s
branch-2 passed

+1 :green_heart:
shadedjars
4m 46s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
branch-2 passed

+0 :ok:
spotbugs
3m 55s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 53s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 32s
the patch passed

+1 :green_heart:
compile
1m  4s
the patch passed

+1 :green_heart:
javac
1m  3s
the patch passed

+1 :green_heart:
checkstyle
1m 15s
hbase-server: The patch generated 0 new + 5 unchanged - 1 fixed = 5 total (was 6)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 46s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
21m 21s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 48s
the patch passed

+1 :green_heart:
findbugs
5m 12s
the patch passed

_ Other Tests _

-1 :x:
unit
136m 10s
hbase-server in the patch failed.

+1 :green_heart:
asflicense
0m 30s
The patch does not generate ASF License warnings.

205m 24s

Reason
Tests

Failed junit tests
hadoop.hbase.replication.TestReplicationStatus

hadoop.hbase.replication.TestReplicationDroppedTables

hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaSameHosts

hadoop.hbase.security.access.TestAccessController3

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1147/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1147

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux f9e3363805c0 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1147/out/precommit/personality/provided.sh

git revision
branch-2 / 29fb52b5d2

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1147/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1147/1/testReport/

Max. process+thread count
6941 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1147/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@z-york  and @ndimiduk  thanks for reviews. Let me put up a new PR

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 41s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 7 new or modified test files.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
6m 48s
branch-2 passed

+1 :green_heart:
compile
1m  7s
branch-2 passed

+1 :green_heart:
checkstyle
1m 24s
branch-2 passed

+1 :green_heart:
shadedjars
4m 50s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 39s
branch-2 passed

+0 :ok:
spotbugs
3m 39s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 36s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 30s
the patch passed

+1 :green_heart:
compile
1m  3s
the patch passed

+1 :green_heart:
javac
1m  3s
the patch passed

+1 :green_heart:
checkstyle
1m 14s
hbase-server: The patch generated 0 new + 5 unchanged - 1 fixed = 5 total (was 6)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 43s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
17m 30s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 35s
the patch passed

+1 :green_heart:
findbugs
4m 17s
the patch passed

_ Other Tests _

-1 :x:
unit
6m 58s
hbase-server in the patch failed.

+1 :green_heart:
asflicense
0m 18s
The patch does not generate ASF License warnings.

69m 28s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1147/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1147

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 2389ae5fe1b8 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1147/out/precommit/personality/provided.sh

git revision
branch-2 / f46d93e5c9

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1147/2/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1147/2/testReport/

Max. process+thread count
668 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1147/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Merged after addressing above comments and restoring original counts. Thanks for reviews boys.


Is Android supported?

What is your question?
Is this plugin supported with the android version of dolphin?
(The load path is shown in Config->Path: /storage/emulated/0/Android/data/org.dolphinemu.dolphinemu/files/Load)
I cannot test this cause my controller (GameSir X2 Type C) is not supported

the pack currently does not support Android.

Ok, thats sad. Think about mentioning this in the Readme.

It can be found on the wiki


CoinError Uncaught Exception in Java

The following code throws error 'terminating with uncaught exception of type CoinError' in Java.
MPSolver solver = new MPSolver("CoinError",MPSolver.OptimizationProblemType.CLP_LINEAR_PROGRAMMING);
double infinity = MPSolver.infinity();
MPVariable x0 = solver.makeNumVar(0.0, 1.0, "x0");
MPVariable x1 = solver.makeNumVar(0.0, 0.3, "x1");
MPVariable x2 = solver.makeNumVar(0.0, 0.3, "x2");
MPVariable x3 = solver.makeNumVar(-infinity, infinity, "x3");

MPObjective obj = solver.objective();
obj.setCoefficient(x1, 2.655523);
obj.setCoefficient(x2, -2.70917);
obj.setCoefficient(x3,1);
obj.setMaximization();

MPConstraint c0 = solver.makeConstraint(-infinity, 0.302499);
c0.setCoefficient(x3, 1);
c0.setCoefficient(x0, -3.484345);

MPConstraint c1 = solver.makeConstraint(-infinity, 0.507194);
c1.setCoefficient(x3, 1);
c1.setCoefficient(x0, -3.074807);

MPConstraint c2 = solver.makeConstraint(0.594, 0.594);
c2.setCoefficient(x0, 1);
c2.setCoefficient(x1, 1.01);
c2.setCoefficient(x2, -0.99);

System.out.println("Number of variables = " + solver.numVariables());
System.out.println("Number of constraints = " + solver.numConstraints());

solver.enableOutput();
System.out.println(solver.exportModelAsLpFormat(false));
System.out.println(solver.solve());

This is a Clp bug.
I suggest you switch to our own linear solver (GLOP_LINEAR_PROGRAMMING) while I send this bug report to the coin team.
Thanks

Even if it's a bug in CLP, it would be good, if I could catche the exception in Java. Is that possible?

Yes, I will wrap the Solve() method.
--Laurent
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
2015-12-18 10:12 GMT+01:00 loehndorf<EMAIL_ADDRESS>
Even if it's a bug in CLP, it would be good, if I could catche the
exception in Java. Is that possible?
—
Reply to this email directly or view it on GitHub
https://github.com/google/or-tools/issues/132#issuecomment-165719821.

I have fixed the issue. Solve() will return with an ABNORMAL status.
I sent the problem to John Forrest. He fixed it in the source. Hopefully, it will be available in the next stable release.
Thanks again for the bug report.


Bug in Music and Audio Selector on Preview

Description of Problem or Question
Hi,
Excuseme but when you click on "Play" (button to the right of the file name) to listen different Audio during Audio and Music selection they dosen't stop also if you close the selector.
I think this is a bug
Valkyrie Version
Attach Save, Quest or Scenario
Log File:
%LOCALAPPDATA%Low\NA\Valkyrie\output_log.txt
Saves:
%appdata%/Valkyrie/MoM/Save
%appdata%/Valkyrie/D2E/Save
Quest:
%appdata%/Valkyrie/D2E/Editor
Scenario:
%appdata%/Valkyrie/MoM/Editor

Closing as a duplicate of #1108


Provide human-readable name for views

Expected Behavior
A view object should have a way of getting some sort of string that indicates what the view is of;
for example, providing the applicable portions of the formatted date for a date range, or the range of entry dates in the case of a limit page.
Ideally this would be in a way that's reasonable to format for different languages and so on.
Context
I would like paginated views to have a better label than just "previous page" or "next page"

I could have sworn that I'd written out a bit more detail on this but here's some ideas:
{{
view.title(month_format='YYYY-MM',day_format='YYYY-MM-DD',year_format='YYYY',count_format='%d entries
}}

should probably just use the same things as expressed in view.type, so for example:
view.date_str(month='YYYY-MM',day='YYYY-MM-DD',year='YYYY',span='{start} — {end}')

so like if view.type = month, day, or year, it would simply format the spec's date with the respective kwarg, and otherwise it would use the most appropriate formats for the first and last entry in the view and format the string with the 'span' format if they're different.


The PDF generated will only contain the columns visible in the UI when the table contains multiple columns. Only the first few columns are displayed when a scroll bar is present in the resulted table.

The PDF generated will only contain the columns visible in the UI when the table contains multiple columns. Only the first few columns are displayed when a scroll bar is present in the resulted table.

@arunqa - thanks for the report.
Can you clarify, are you talking about

the <DataTable/> component or

the <QueryViewer/> displayed above, rendered when you use the:
```infrastructure
select *
from table
```

syntax

@archiewood Actually what @arunqa meant, Is there a way to capture the entire table data including all pages content (if the tale has pagination) when we export as PDF?
And also Is there any option to take the complete data with out ellipses while in exported PDF content?

Hey @mpjijo
It's not possible with the QueryViewer component. Our rough intention for this component is not as a display component, but as a way to explore the data in the query.
However, if you wanted to display more data rows, you can use the DataTable component:
```my_query
select *
from table
```

<DataTable
    data={myquery}
    rows=100
/>

Regarding data which is truncated by an ellipsis, this is also not currently possible, but we're aware of this and will soon be releasing a much more flexible table component in #544

@archiewood Thanks for your swift reply. We will check it using DataTable.


Requests regarding functions

I'd like to ask whether it's possible to add light source blocks to the light irradiation path in version 1.20.1.

Could you clarify what you mean exactly by irradiation path? Do you mean the light beam that is emitted from the light, since light is already emitted at the position the light is pointing.

What I mean is whether light blocks can be placed along the path of light so that the light can illuminate the scene.


update CN translate from GCD to oGCD

@Trim21
Thanks for contributing.  We use Crowdin for our translations - you can find more information of how to submit translation suggestions at Crowdin via our README.
Also, for this particular translation, your change is not correct.  The wording we're trying to convey here is "do not clip your GCD to use [your cooldowns]".

Also, for this particular translation, your change is not correct. The wording we're trying to convey here is "do not clip your GCD to use [your cooldowns]".

that's  "core.cooldownDowntime.ogcd-cd-metric": "确保你的能力技在转好后第一时间打出去，但是不要卡GCD使用。", not  "core.cooldownDowntime.use-ogcd-cds"

Ah, whoops. That'll teach me to skim the translation dictionaries on an empty stomach.
If you could... we did make an intentional change to that English text this expansion to make it generic (all) cooldowns and not oGCD specific, since there are now some long-cooldown GCD skills that module tracks as well. So if you could tune the translation to something that encompasses both, it would be appreciated.

done at Crowdin.


Update actions/checkout and actions/setup-python versions

Purpose

Update actions/checkout and actions/setup-python versions to avoid the following warning from GitHub actions:
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Does this introduce a breaking change?

[ ] Yes
[x] No

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

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

How to Test

Push a change to the GitHub repository or manually re-run GitHub action.
What to Check
Verify that the following are valid

GitHub action completes successfully

Thanks! I like to use dependabot for github actions but looks like I neglected to do that here.


Extension calls process.exit()

I noticed that your extension (probably Yo itself) is calling process.exit() at some point. I know some node JS libraries tent to abuse process.exit() as a way to do flow control in their program. I see this happening when I abort Yo after it found a conflict when applying file changes.
In the future VS Code will ignore process.exit() calls because otherwise the extension host goes down and you would have to restart VS Code.

Not sure you can do anything about it but if Yo claims to be pluggable, they must also provide a way to avoid process.exit(). In fact, they should not even use it at all.

Any thoughts @sindresorhus @SBoudrias?

The only place yeoman is calling process.exit() is effectively when the user select the abort option during a conflict. We should probably change this, feel free to open an issue on the yeoman/generator repo to discuss alternative further.

I wonder if this causes Atom to just exit ;)

I don't think the diffing is implemented by atom-yeoman
// @david-driscoll

@bpasero Are you creating a new issue in yeoman/generator or should I do it?

@SamVerschueren please go ahead and file it, thanks!

This was fixed and released in 0.22.1 of the yeoman-generator. Generators that are not updated to this release will still call process.exit() instead of throwing an AbortedError.


User story:  Update MNEMONIC attributes in property window

As a Data Manager, I want to be able to right click on a MNEMONIC, and update the attributes in the property window.
NB: This backlog Item only covers single instance update, not batch update of multiple object instances):
EDIT, BATCH, ENUM
typeLogData
EDIT, NO BATCH, OPEN ENUM
mnemonic, unit, mnemAlias,
EDIT, BATCH, NO ENUM
nullValue, sensofOffset
EDIT, BATCH, OPEN ENUM:
traceState,
Acceptance criteria

[ ] Ability to right click on a  MNEMONIC Object instance, and update the MNEMONIC attributes listed above.

By MNEMONIC you mean a LogCurveInfo element. Correct ?  (What is referred in WITSML as cs_logCurveInfo)
To make sure I understand properly "not batch update of multiple object instances". The user story indicates that for example 'nullValue' and 'sensorOffset' can be updated in Batch for more than one  entry within the same logCurveInfo.  Correct ?


Added test + Update README.md

Note: I can't update README.zh-CN.md
I would if I could...
Thanks for the very quick response!!

sorry for the double-PR, I did not expect you to react so fast!! thanks.
P.S - when will the fix be published to npm?

Thank you for your contribution, I'll publish it soon


Fix broken Discord link in 09_faq.md

Summary
On https://tinybase.org/guides/faq/, the Discord link shows up as unescaped html ¯\(ツ)/¯
How did you test this change?
Visual inspection (i.e. I did not test the change).

LOL ok. Nice find! 🙏

It worked:

Yay. Adding value, man! 😉


Warn NaN in FP16 mode in word2vec example

Related to #6168.
This PR fixes the word2vec example to warn possible NaN in FP16 mode.

Jenkins, test this please

Jenkins CI test (for commit acbad1e63395a95fb2b8082af94aae4db7e03435, target branch master) succeeded!


Bordered polygon children get's on top of user's defined children

We should make sure that inner polygon and borders are inserted back instead of front

Fixed by 3f706ab


SimpleMenu children proptype is too restrictive.

Required System information
Npm version: 8.5.0
NodeJS version: 16.4.2
Strapi Design System version: 1.2.0
Browser: Chrome
Describe the bug
While customizing a MenuItem components for our needs with SC, I figured that an error on SimpleMenu children proptype is trigger. IMO, the proptype should accept a react node instead of a strict type of component.
Steps to reproduce the behavior

Use the SimpleMenu
Customize a MenuItem with styled-component

const StyledMenuItem = styled(MenuItem)`
   ...
`;

The SimpleMenu children proptype should trigger an error

What do you think of having a react node children instead of the current strict ⬇
const menuItemType = PropTypes.shape({ type: PropTypes.oneOf([MenuItem]) });
...
children: PropTypes.oneOfType([PropTypes.arrayOf(menuItemType), menuItemType]).isRequired,

@HichamELBSI We are running into the same problem here and also had to relax the prop-types. There I'd say: I'm good with it :)

Fixed in https://github.com/strapi/design-system/pull/662


Bridge request for eBay Kleinanzeigen

Bridge request

General information

Host URI for the bridge (i.e. https://github.com):
https://www.ebay-kleinanzeigen.de

Which information would you like to see?
Search results for a given term including their title, image(s) and post details.

How should the information be displayed/formatted?
Similar to how Kleinanzeigen does it, with relevant metadata like price, location and date added to the content body.

Which of the following parameters do you expect?

[X] Title
[X] URI (link to the original article)
[ ] Author
[X] Timestamp
[X] Content (the content of the article)
[X] Enclosures (pictures, videos, etc...)
[ ] Categories (categories, tags, etc...)

Options

[x] Limit number of returned items

Default limit: 5

[ ] Load full articles

Cache articles (articles are stored in a local cache on first request): yes
Cache timeout (max = 24 hours): 24 hours

[X] Balance requests (RSS-Bridge uses cached versions to reduce bandwith usage)

Timeout (default = 5 minutes, max = 24 hours): 5 minutes

You can do it with xpathbridge.
URL: copy paste the search result url from your search. e.g: https://www.ebay-kleinanzeigen.de/s-berlin/skoda/k0l3331
Item Selector: /html/body/div[1]/div[2]/div/div[4]/div[2]/div[4]/div/ul/li
Item Title Selector: .//article/div[2]/div[2]/h2/a
Item Description Selector: .//article/div[2]/div[2]/p
Item URL Selector: .//article/div[2]/div[2]/h2/a/@href
I didnt get the image to work, but you may be able to do it yourself.

Oh very cool idea, thanks for the tip!


[Fix] Typo in the variable name

This fixes the errors in the GitHub dryrun action:
------------------------------------------------------------------------------
Tests.Ods Dashboard.Model Serving.Model Serving Llm :: Collection ... | PASS |
16 tests, 16 passed, 0 failed
==============================================================================
[ ERROR ] Error in file '/home/runner/work/ods-ci/ods-ci/ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHDataScienceProject/ModelServer.resource' on line 23: Setting variable '${SERVING_ACCELERATOR_MINUS_BUTTON_XPATH}' failed: Variable '${SERVING_INPUT_XPATH}' not found.
Tests.Ods Dashboard.Model Serving.Model Serving Customruntimes :: Collectio...
==============================================================================
Verify RHODS Admins Can Import A Custom Serving Runtime Template B... | PASS |
------------------------------------------------------------------------------

There are unrelated failing tests in dryrun but the ERROR messages has gone - this should be good to merge.
For another approval - please check @lugi0 . Thanks


Fullscreenshot no longer works and just display a acrylic blurred window on top

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland 0.46.2 built from branch  at commit 0bd541f2fd902dbfa04c3ea2ccf679395e316887  (version: bump to 0.46.2).
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.2.6
 hyprcursor 0.1.10
 hyprgraphics 0.1.1

flags set:
debug

System Information:
System name: Linux
Node name: archlinux
Release: 6.12.4-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 09 Dec 2024 14:31:57 +0000

GPU information:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev e2) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/mrepol742/.config/hypr/hyprland.conf: Read Succeeded
# Sourcing external config files

# Default Configs
$configs = $HOME/.config/hypr/configs

source=$configs/Settings.conf
source=$configs/Keybinds.conf

# User Configs
$UserConfigs = $HOME/.config/hypr/UserConfigs

source= $UserConfigs/Startup_Apps.conf
source= $UserConfigs/ENVariables.conf
source= $UserConfigs/Monitors.conf
source= $UserConfigs/Laptops.conf
source= $UserConfigs/LaptopDisplay.conf
source= $UserConfigs/WindowRules.conf
source= $UserConfigs/UserDecorAnimations.conf
source= $UserConfigs/UserKeybinds.conf
source= $UserConfigs/UserSettings.conf
source= $UserConfigs/WorkspaceRules.conf

Config File: /home/mrepol742/.config/hypr/configs/Settings.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #

# Default Settings. avoid changing this file as during update, this will be replaced

# refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables

# Initial boot script enable to apply initial wallpapers, theming, new settings etc.
exec-once = $HOME/.config/hypr/initial-boot.sh

Config File: /home/mrepol742/.config/hypr/configs/Keybinds.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #
# Default Keybinds
# visit https://wiki.hyprland.org/Configuring/Binds/ for more info

$mainMod = SUPER
# Default
$scriptsDir = $HOME/.config/hypr/scripts
$configs = $HOME/.config/hypr/configs
# User
$UserConfigs = $HOME/.config/hypr/UserConfigs
$UserScripts = $HOME/.config/hypr/UserScripts

bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0
bind = $mainMod, Q, killactive,
bind = $mainMod, F, fullscreen
bind = $mainMod SHIFT, Q, exec, $scriptsDir/KillActiveProcess.sh
bind = $mainMod SHIFT, F, togglefloating,
bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat
bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh
bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh

# FEATURES / EXTRAS
bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file
bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi
bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji
bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search from Rofi
bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings
bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF
bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout
bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager
bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC panel

# FEATURES / EXTRAS (UserScripts)
bind = $mainMod, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings
bind = $mainMod SHIFT, M, exec, $UserScripts/RofiBeats.sh # online music
bind = $mainMod, W, exec, $UserScripts/WallpaperSelect.sh # Select wallpaper to apply
bind = $mainMod SHIFT, W, exec, $UserScripts/WallpaperEffects.sh # Wallpaper Effects by imagemagickWW
bind = CTRL ALT, W, exec, $UserScripts/WallpaperRandom.sh # Random wallpapers
bind = $mainMod ALT, O, exec, hyprctl setprop active opaque toggle #disable opacity to active window

# Waybar / Bar related
bind = $mainMod, B, exec, pkill -SIGUSR1 waybar # Toggle hide/show waybar
bind = $mainMod CTRL, B, exec, $scriptsDir/WaybarStyles.sh # Waybar Styles Menu
bind = $mainMod ALT, B, exec, $scriptsDir/WaybarLayout.sh # Waybar Layout Menu

# Master Layout
bind = $mainMod CTRL, D, layoutmsg, removemaster
bind = $mainMod, I, layoutmsg, addmaster
bind = $mainMod, J, layoutmsg, cyclenext
bind = $mainMod, K, layoutmsg, cycleprev
bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster

# group
bind = $mainMod, G, togglegroup
bind = $mainMod CTRL, tab, changegroupactive  #change focus to another window

 # Cycle windows if floating bring to top
bind = ALT, tab, cyclenext
bind = ALT, tab, bringactivetotop

# Special Keys / Hot Keys
bindel = , xf86audioraisevolume, exec, $scriptsDir/Volume.sh --inc #volume up
bindel = , xf86audiolowervolume, exec, $scriptsDir/Volume.sh --dec #volume down
bindl = , xf86AudioMicMute, exec, $scriptsDir/Volume.sh --toggle-mic #mute mic
bindl = , xf86audiomute, exec, $scriptsDir/Volume.sh --toggle
bindl = , xf86Sleep, exec, systemctl suspend  # sleep button
bindl = , xf86Rfkill, exec, $scriptsDir/AirplaneMode.sh #Airplane mode

# media controls using keyboards
bindl = , xf86AudioPlayPause, exec, $scriptsDir/MediaCtrl.sh --pause
bindl = , xf86AudioPause, exec, $scriptsDir/MediaCtrl.sh --pause
bindl = , xf86AudioPlay, exec, $scriptsDir/MediaCtrl.sh --pause
bindl = , xf86AudioNext, exec, $scriptsDir/MediaCtrl.sh --nxt
bindl = , xf86AudioPrev, exec, $scriptsDir/MediaCtrl.sh --prv
bindl = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop

# Screenshot keybindings NOTE: You may need to press Fn key as well
bind = $mainMod, Print, exec, $scriptsDir/ScreenShot.sh --now
bind = $mainMod SHIFT, Print, exec, $scriptsDir/ScreenShot.sh --area
bind = $mainMod CTRL, Print, exec, $scriptsDir/ScreenShot.sh --in5 #screenshot in 5 secs
bind = $mainMod CTRL SHIFT, Print, exec, $scriptsDir/ScreenShot.sh --in10 #screenshot in 10 secs
bind = ALT, Print, exec, $scriptsDir/ScreenShot.sh --active #take screenshot of active window

# screenshot with swappy (another screenshot tool)
bind = $mainMod SHIFT, S, exec, $scriptsDir/ScreenShot.sh --swappy

# Resize windows
binde = $mainMod SHIFT, left, resizeactive,-50 0
binde = $mainMod SHIFT, right, resizeactive,50 0
binde = $mainMod SHIFT, up, resizeactive,0 -50
binde = $mainMod SHIFT, down, resizeactive,0 50

# Move windows
bind = $mainMod CTRL, left, movewindow, l
bind = $mainMod CTRL, right, movewindow, r
bind = $mainMod CTRL, up, movewindow, u
bind = $mainMod CTRL, down, movewindow, d

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Workspaces related
bind = $mainMod, tab, workspace, m+1
bind = $mainMod SHIFT, tab, workspace, m-1

# Special workspace
bind = $mainMod SHIFT, U, movetoworkspace, special
bind = $mainMod, U, togglespecialworkspace,

# The following mappings use the key codes to better support various keyboard layouts
# 1 is code:10, 2 is code 11, etc
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, code:10, workspace, 1
bind = $mainMod, code:11, workspace, 2
bind = $mainMod, code:12, workspace, 3
bind = $mainMod, code:13, workspace, 4
bind = $mainMod, code:14, workspace, 5
bind = $mainMod, code:15, workspace, 6
bind = $mainMod, code:16, workspace, 7
bind = $mainMod, code:17, workspace, 8
bind = $mainMod, code:18, workspace, 9
bind = $mainMod, code:19, workspace, 10

# Move active window and follow to workspace mainMod + SHIFT [0-9]
bind = $mainMod SHIFT, code:10, movetoworkspace, 1
bind = $mainMod SHIFT, code:11, movetoworkspace, 2
bind = $mainMod SHIFT, code:12, movetoworkspace, 3
bind = $mainMod SHIFT, code:13, movetoworkspace, 4
bind = $mainMod SHIFT, code:14, movetoworkspace, 5
bind = $mainMod SHIFT, code:15, movetoworkspace, 6
bind = $mainMod SHIFT, code:16, movetoworkspace, 7
bind = $mainMod SHIFT, code:17, movetoworkspace, 8
bind = $mainMod SHIFT, code:18, movetoworkspace, 9
bind = $mainMod SHIFT, code:19, movetoworkspace, 10
bind = $mainMod SHIFT, bracketleft, movetoworkspace, -1 # brackets [ or ]
bind = $mainMod SHIFT, bracketright, movetoworkspace, +1

# Move active window to a workspace silently mainMod + CTRL [0-9]
bind = $mainMod CTRL, code:10, movetoworkspacesilent, 1
bind = $mainMod CTRL, code:11, movetoworkspacesilent, 2
bind = $mainMod CTRL, code:12, movetoworkspacesilent, 3
bind = $mainMod CTRL, code:13, movetoworkspacesilent, 4
bind = $mainMod CTRL, code:14, movetoworkspacesilent, 5
bind = $mainMod CTRL, code:15, movetoworkspacesilent, 6
bind = $mainMod CTRL, code:16, movetoworkspacesilent, 7
bind = $mainMod CTRL, code:17, movetoworkspacesilent, 8
bind = $mainMod CTRL, code:18, movetoworkspacesilent, 9
bind = $mainMod CTRL, code:19, movetoworkspacesilent, 10
bind = $mainMod CTRL, bracketleft, movetoworkspacesilent, -1 # brackets [ or ]
bind = $mainMod CTRL, bracketright, movetoworkspacesilent, +1

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
bind = $mainMod, period, workspace, e+1
bind = $mainMod, comma, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

Config File: /home/mrepol742/.config/hypr/UserConfigs/Startup_Apps.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #
#Commands & Apps to be executed at launch

$scriptsDir = $HOME/.config/hypr/scripts
$UserScripts = $HOME/.config/hypr/UserScripts

$wallDIR=$HOME/Pictures/wallpapers
$lock = $scriptsDir/LockScreen.sh
$SwwwRandom = $UserScripts/WallpaperAutoChange.sh

# wallpaper stuff / More wallpaper options below
exec-once = swww-daemon --format xrgb
#exec-once = $SwwwRandom $wallDIR # random wallpaper switcher every 30 minutes

# Startup
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

# Polkit (Polkit Gnome / KDE)
exec-once = $scriptsDir/Polkit.sh

# starup apps
exec-once = waybar &
exec-once = nm-applet --indicator &
exec-once = swaync &
exec-once = ags &
#exec-once = blueman-applet &
#exec-once = rog-control-center &

#clipboard manager
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store

# Rainbow borders
exec-once = $UserScripts/RainbowBorders.sh &

# Starting hypridle to start hyprlock
exec-once = hypridle &

# Start pyprland daemon
exec-once = pypr &

# Here are list of features available but disabled by default
# exec-once = swww-daemon --format xrgb && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png  # persistent wallpaper

#gnome polkit for nixos
#exec-once = $scriptsDir/Polkit-NixOS.sh

# xdg-desktop-portal-hyprland (should be auto starting. However, you can force to start)
#exec-once = $scriptsDir/PortalHyprland.sh

Config File: /home/mrepol742/.config/hypr/UserConfigs/ENVariables.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #
# Environment variables. See https://wiki.hyprland.org/Configuring/Environment-variables/

# Set your defaults here
#env = EDITOR,vim #default editor

#environment-variables
env = CLUTTER_BACKEND,wayland
env = GDK_BACKEND,wayland,x11
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt5ct
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_SCALE_FACTOR,1
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland

# xwayland apps scale fix (useful if you are use monitor scaling)
# see https://wiki.hyprland.org/Configuring/XWayland/
# toolkit-specific scale
#env = GDK_SCALE,1.25

# firefox
env = MOZ_ENABLE_WAYLAND,1

# electron >28 apps (may help)
env = ELECTRON_OZONE_PLATFORM_HINT,auto

# NVIDIA
# This is from Hyprland Wiki. Below will be activated nvidia gpu detected
# See hyprland wiki https://wiki.hyprland.org/Nvidia/#environment-variables
#env = LIBVA_DRIVER_NAME,nvidia
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#env = NVD_BACKEND,direct

# additional ENV's for nvidia. Caution, activate with care
#env = GBM_BACKEND,nvidia-drm

#env = __NV_PRIME_RENDER_OFFLOAD,1
#env = __VK_LAYER_NV_optimus,NVIDIA_only
#env = WLR_DRM_NO_ATOMIC,1

# FOR VM and POSSIBLY NVIDIA
# LIBGL_ALWAYS_SOFTWARE software mesa rendering
#env = LIBGL_ALWAYS_SOFTWARE,1
#env = WLR_RENDERER_ALLOW_SOFTWARE,1

# nvidia firefox (for hardware acceleration on FF)?
# check this post https://github.com/elFarto/nvidia-vaapi-driver#configuration
#env = MOZ_DISABLE_RDD_SANDBOX,1
#env = EGL_PLATFORM,wayland

Config File: /home/mrepol742/.config/hypr/UserConfigs/Monitors.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #

# Monitor Configuration
# See Hyprland wiki for more details
# https://wiki.hyprland.org/Configuring/Monitors/
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.

# Monitors
monitor = DVI-D-1, preferred, auto, 1

# NOTE: for laptop, kindly check notes in Laptops.conf regarding display
# Created this inorder for the monitor display to not wake up if not intended.
# See here: https://github.com/hyprwm/Hyprland/issues/4090

# Some examples
#monitor = eDP-1, preferred, auto, 1
#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen
#monitor = DP-3, 1920x1080@240, auto, 1
#monitor = DP-1, preferred, auto, 1
#monitor = HDMI-A-1, preferred,auto,1

# QEMU-KVM, virtual box or vmware
#monitor = Virtual-1, 1920x1080@60,auto,1

# High Refresh Rate
#monitor=,highrr,auto,1

# High Resolution
#monitor=,highres,auto,1

# to disable a monitor
#monitor=name,disable

# Mirror samples
#monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2
#monitor=,preferred,auto,1,mirror,eDP-1
#monitor=HDMI-A-1,2560x1440@144,0x0,1,mirror,eDP-1

# 10 bit monitor support - See wiki https://wiki.hyprland.org/Configuring/Monitors/#10-bit-support - See NOTES below
# NOTE: Colors registered in Hyprland (e.g. the border color) do not support 10 bit.
# NOTE: Some applications do not support screen capture with 10 bit enabled. (Screen captures like OBS may render black screen)
# monitor=,preferred,auto,1,bitdepth,10

#monitor=eDP-1,transform,0
#monitor=eDP-1,addreserved,10,10,10,49

# workspaces - Monitor rules
# https://wiki.hyprland.org/Configuring/Workspace-Rules/
# SUPER E - Workspace-Rules
# See ~/.config/hypr/UserConfigs/WorkspaceRules.conf

Config File: /home/mrepol742/.config/hypr/UserConfigs/Laptops.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #

# See https://wiki.hyprland.org/Configuring/Keywords/ for more variable settings
# These configs are mostly for laptops. This is addemdum to Keybinds.conf

$mainMod = SUPER
$scriptsDir = $HOME/.config/hypr/scripts
$UserConfigs = $HOME/.config/hypr/UserConfigs

# for disabling Touchpad. hyprctl devices to get device name.
$Touchpad_Device=asue1209:00-04f3:319f-touchpad

binde = , xf86KbdBrightnessDown, exec, $scriptsDir/BrightnessKbd.sh --dec #Keyboard brightness Down
binde = , xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --inc #Keyboard brightness up
bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button
bind = , xf86Launch3, exec, asusctl led-mode -n #FN+F4 Switch keyboard RGB profile
bind = , xf86Launch4, exec, asusctl profile -n  #FN+F5 change of fan profiles (Quite, Balance, Performance)
binde = , xf86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec
binde = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc
bind = , xf86TouchpadToggle, exec, $scriptsDir/TouchPad.sh #disable touchpad

# Screenshot keybindings for Asus G15 (no PrinSrc button)
bind = $mainMod, F6, exec, $scriptsDir/ScreenShot.sh --now # Fullscreen
bind = $mainMod SHIFT, F6, exec, $scriptsDir/ScreenShot.sh --area
bind = $mainMod CTRL, F6, exec, $scriptsDir/ScreenShot.sh --in5 # Screenshot in 5 secs
bind = $mainMod ALT, F6, exec, $scriptsDir/ScreenShot.sh --in10 # Screenshot in 10 secs
bind = ALT, F6, exec, $scriptsDir/ScreenShot.sh --active # Screenshot active window

$TOUCHPAD_ENABLED = true
device {
  name = $Touchpad_Device
  enabled = $TOUCHPAD_ENABLED
}
# Below are useful when you are connecting your laptop in external display
# Suggest you edit below for your laptop display
# From WIKI This is to disable laptop monitor when lid is closed.
# consult https://wiki.hyprland.org/hyprland-wiki/pages/Configuring/Binds/#switches
#bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, 1"
#bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"

# WARNING! Using this method has some caveats!! USE THIS PART WITH SOME CAUTION!
# CONS of doing this, is that you need to set up your wallpaper (SUPER W) and choose wallpaper.
# CAVEATS! Sometimes the Main Laptop Monitor DOES NOT have display that it needs to re-connect your external monitor
# One work around is to ensure that before shutting down laptop, MAKE SURE your laptop lid is OPEN!!
# Make sure to comment (put # on the both the bindl = , switch ......) above
# NOTE: Display for laptop are being generated into LaptopDisplay.conf
# This part is to be use if you do not want your main laptop monitor to wake up during say wallpaper change etc

#bindl = , switch:off:Lid Switch,exec,echo "monitor = eDP-1, preferred, auto, 1" > $UserConfigs/LaptopDisplay.conf
#bindl = , switch:on:Lid Switch,exec,echo "monitor = eDP-1, disable" > $UserConfigs/LaptopDisplay.conf

# for laptop-lid action (to erase the last entry)
#exec-once = echo "monitor = eDP-1, preferred, auto, 1" > $HOME/.config/hypr/UserConfigs/LaptopDisplay.conf
#

Config File: /home/mrepol742/.config/hypr/UserConfigs/LaptopDisplay.conf: Read Succeeded
# NOTE, THIS FILE IS BEING USED by disabling Laptop display monitor behaviour when closing lid.
# See notes on Laptops.conf

#monitor = eDP-1, preferred, auto, 1

Config File: /home/mrepol742/.config/hypr/UserConfigs/WindowRules.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more

#windowrule = noblur,gamescope
#windowrule = fullscreen,gamescope
#windowrule = workspace 6 silent,^(gamescope)$

# windowrule Position
windowrule = center,^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)

# WINDOWRULE v2
# windowrule v2 - position
# windowrulev2 = center,floating:1 # warning, it cause even the menu to float and center.
windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress)
windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files)
windowrulev2 = center, class:([Tt]hunar), title:(Open Folder)
windowrulev2 = center, class:([Tt]hunar), title:(Open File)
windowrulev2 = center, title:^(Keybindings)$
windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$

# windowrule v2 to avoid idle for fullscreen apps
windowrulev2 = idleinhibit fullscreen, class:^(*)$
windowrulev2 = idleinhibit fullscreen, title:^(*)$
windowrulev2 = idleinhibit fullscreen, fullscreen:1

# windowrule v2 - float
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float, class:([Tt]hunar), title:(File Operation Progress)
windowrulev2 = float, class:([Tt]hunar), title:(Confirm to replace files)
windowrulev2 = float, class:([Tt]hunar), title:(Open Folder)
windowrulev2 = float, class:([Tt]hunar), title:(Open File)
windowrulev2 = float, class:(xdg-desktop-portal-gtk)
windowrulev2 = float, class:^([Rr]ofi)$
windowrulev2 = float, class:^(eog|org.gnome.Loupe)$ # image viewer
windowrulev2 = float, class:^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$
windowrulev2 = float, class:^(nwg-look|qt5ct|qt6ct)$
windowrulev2 = float, class:^(mpv|com.github.rafostar.Clapper)$
windowrulev2 = float, class:^(nm-applet|nm-connection-editor|blueman-manager)$
windowrulev2 = float, class:^(file-roller|org.gnome.FileRoller)$
windowrulev2 = float, title:(Kvantum Manager)
windowrulev2 = float, title:^(Picture-in-Picture)$

# windowrule v2 - opacity #enable as desired
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
windowrulev2 = opacity 0.94 0.86, class:^(chrome-.+-Default)$ # for chrome pwa
windowrulev2 = opacity 0.9 0.8, class:^([Tt]hunar|org.gnome.Nautilus)$
windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$
windowrulev2 = opacity 0.8 0.7, class:^(gedit|org.gnome.TextEditor|mousepad)$
windowrulev2 = opacity 0.8 0.7, class:^(Alacritty|kitty|kitty-dropterm)$
windowrulev2 = opacity 0.9 0.8, class:^(nwg-look|qt5ct|qt6ct|[Yy]ad)$
windowrulev2 = opacity 0.9 0.8, title:(Kvantum Manager)
windowrulev2 = opacity 0.9 0.8, class:^(code|code-url-handler)$
windowrulev2 = opacity 0.9 0.8, class:^(file-roller|org.gnome.FileRoller)$
windowrulev2 = opacity 0.9 0.8, class:^(seahorse)$
windowrulev2 = opacity 0.82 0.75, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$
windowrulev2 = opacity 0.9 0.8, class:^(xdg-desktop-portal-gtk)$
windowrulev2 = opacity 0.95 0.75, title:^(Picture-in-Picture)$

# windowrule v2 - size
windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$
windowrulev2 = size 70% 70%, class:^(xdg-desktop-portal-gtk)$
windowrulev2 = size 60% 70%, title:(Kvantum Manager)
windowrulev2 = size 60% 70%, class:^(qt6ct)$
windowrulev2 = size 60% 70%, class:^(file-roller|org.gnome.FileRoller)$
windowrulev2 = size 25% 25%, title:^(Picture-in-Picture)$

# windowrule v2 - pinning
windowrulev2 = pin,title:^(Picture-in-Picture)$

#windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
#windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1
#windowrulev2 = opacity 0.8 0.8, pinned:1

# LAYER RULES
#layerrule = unset,class:^([Rr]ofi)$
#layerrule = blur,class:^([Rr]ofi)$
#layerrule = ignorezero, <rofi>

#layerrule = ignorezero, overview
#layerrule = blur, overview

Config File: /home/mrepol742/.config/hypr/UserConfigs/UserDecorAnimations.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #
# Decoration and Animations Settings

# Hyprland Wiki Links
# Animation - https://wiki.hyprland.org/Configuring/Animations/
# Decoration - https://wiki.hyprland.org/Configuring/Variables/#decoration

# Sourcing colors generated by wallust
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf

decoration {
  rounding = 10

  active_opacity = 1.0
  inactive_opacity = 0.9
  fullscreen_opacity = 1.0

  dim_inactive = true
  dim_strength = 0.1
  dim_special = 0.8

  shadow {
        enabled = true
        range = 6
        render_power = 1
        color = $color12
        color_inactive = 0x50000000
  }

  blur {
  	enabled = true
  	size = 6
  	passes = 2
  	ignore_opacity = true
  	new_optimizations = true
  	special = true
  }
}

animations {
  enabled = yes

  bezier = wind, 0.05, 0.9, 0.1, 1.05
  bezier = winIn, 0.1, 1.1, 0.1, 1.1
  bezier = winOut, 0.3, -0.3, 0, 1
  bezier = liner, 1, 1, 1, 1
  bezier = overshot, 0.05, 0.9, 0.1, 1.05
  bezier = smoothOut, 0.5, 0, 0.99, 0.99
  bezier = smoothIn, 0.5, -0.5, 0.68, 1.5

  animation = windows, 1, 6, wind, slide
  animation = windowsIn, 1, 5, winIn, slide
  animation = windowsOut, 1, 3, smoothOut, slide
  animation = windowsMove, 1, 5, wind, slide
  animation = border, 1, 1, liner
  animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors
  animation = fade, 1, 3, smoothOut
  animation = workspaces, 1, 5, overshot

  # animations for -git or version >0.42.0
  #animation = workspacesIn, 1, 5, winIn, slide
  #animation = workspacesOut, 1, 5, winOut, slide
}

Config File: /home/mrepol742/.config/hypr/wallust/wallust-hyprland.conf: Read Succeeded
$background = rgb(241B1C)
$foreground = rgb(C5DEF1)
$color0 = rgb(4C4242)
$color1 = rgb(2C0B10)
$color2 = rgb(2D2337)
$color3 = rgb(1F4380)
$color4 = rgb(285088)
$color5 = rgb(40759E)
$color6 = rgb(4279A1)
$color7 = rgb(A3C8E2)
$color8 = rgb(728C9E)
$color9 = rgb(3A0E16)
$color10 = rgb(3C2F49)
$color11 = rgb(2959AB)
$color12 = rgb(356BB6)
$color13 = rgb(559CD3)
$color14 = rgb(58A1D6)
$color15 = rgb(A3C8E2)

Config File: /home/mrepol742/.config/hypr/UserConfigs/UserKeybinds.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #
# This is where you put your own keybinds. Be Mindful to check as well ~/.config/hypr/configs/Keybinds.conf to avoid conflict
# if you think I should replace the Pre-defined Keybinds in ~/.config/hypr/configs/Keybinds.conf , submit an issue or let me know in DC and present me a valid reason as to why, such as conflicting with global shortcuts, etc etc

# See https://wiki.hyprland.org/Configuring/Keywords/ for more settings and variables
# See also Laptops.conf for laptops keybinds

$mainMod = SUPER
$files = thunar
$term = kitty
$scriptsDir = $HOME/.config/hypr/scripts
$UserScripts = $HOME/.config/hypr/UserScripts

# rofi App launcher
#bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Super Key to Launch rofi menu
bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window

# ags overview
bind = $mainMod, A, exec, pkill rofi || true && ags -t 'overview'

bind = $mainMod, Return, exec, $term  # Launch terminal
bind = $mainMod, T, exec, $files # Launch file manager

bind = $mainMod ALT, C, exec, $UserScripts/RofiCalc.sh # calculator (qalculate)

# pyprland
bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal
bind = $mainMod, Z, exec, pypr zoom # Toggle Zoom

# User Added Keybinds
bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zsh theme
bindn = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Changing the keyboard layout

# For passthrough keyboard into a VM
# bind = $mainMod ALT, P, submap, passthru
#submap = passthru
# to unbind
#bind = $mainMod ALT, P, submap, reset
#submap = reset

Config File: /home/mrepol742/.config/hypr/UserConfigs/UserSettings.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #
# User Settings
# This is where you put your own settings as this will not be touched during update
# if the upgrade.sh is used.

# refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables/

# Sourcing colors generated by wallust
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf

dwindle {
  pseudotile = yes
  preserve_split = yes
  special_scale_factor = 0.8
}

master {
  new_status = master
  new_on_top = 1
  mfact = 0.5
}

general {
  border_size = 2
  gaps_in = 6
  gaps_out = 8

  resize_on_border = true

  col.active_border = $color12
  col.inactive_border = $backgroundCol

  layout = dwindle
}

input {
  kb_layout = us
  kb_variant =
  kb_model =
  kb_options =
  kb_rules =
  repeat_rate = 50
  repeat_delay = 300

  sensitivity = 0 #mouse sensitivity
  numlock_by_default = true
  left_handed = false
  follow_mouse = true
  float_switch_override_focus = false

  touchpad {
    disable_while_typing = true
    natural_scroll = false
    clickfinger_behavior = false
    middle_button_emulation = true
    tap-to-click = true
    drag_lock = false
          }

  # below for devices with touchdevice ie. touchscreen
	touchdevice {
		enabled = true
	}

	# below is for table see link above for proper variables
	tablet {
		transform = 0
		left_handed = 0
	}
}

gestures {
  workspace_swipe = true
  workspace_swipe_fingers = 3
  workspace_swipe_distance = 500
  workspace_swipe_invert = true
  workspace_swipe_min_speed_to_force = 30
  workspace_swipe_cancel_ratio = 0.5
  workspace_swipe_create_new = true
  workspace_swipe_forever = true
  #workspace_swipe_use_r = true #uncomment if wanted a forever create a new workspace with swipe right
}

group {
  col.border_active = $color15

	groupbar {
		col.active = $color0
  }
}

misc {
  disable_hyprland_logo = true
  disable_splash_rendering = true
  vfr = true
  #vrr = 0
  mouse_move_enables_dpms = true
  enable_swallow = true
  swallow_regex = ^(kitty)$
  focus_on_activate = false
  #no_direct_scanout = true #for fullscreen games - deprecated
  initial_workspace_tracking = 0
  middle_click_paste = false
}

#opengl {
#  nvidia_anti_flicker = true
#}

binds {
  workspace_back_and_forth = true
  allow_workspace_cycles = true
  pass_mouse_when_bound = false
}

#Could help when scaling and not pixelating
xwayland {
  force_zero_scaling = true
}

# render section for Hyprland >= v0.42.0
render {
  explicit_sync = 2
  explicit_sync_kms = 2
  direct_scanout = false
}

cursor {
  no_hardware_cursors = false
  enable_hyprcursor = true
  warp_on_change_workspace = true
  no_warps = true
}

Config File: /home/mrepol742/.config/hypr/wallust/wallust-hyprland.conf: Read Succeeded
$background = rgb(241B1C)
$foreground = rgb(C5DEF1)
$color0 = rgb(4C4242)
$color1 = rgb(2C0B10)
$color2 = rgb(2D2337)
$color3 = rgb(1F4380)
$color4 = rgb(285088)
$color5 = rgb(40759E)
$color6 = rgb(4279A1)
$color7 = rgb(A3C8E2)
$color8 = rgb(728C9E)
$color9 = rgb(3A0E16)
$color10 = rgb(3C2F49)
$color11 = rgb(2959AB)
$color12 = rgb(356BB6)
$color13 = rgb(559CD3)
$color14 = rgb(58A1D6)
$color15 = rgb(A3C8E2)

Config File: /home/mrepol742/.config/hypr/UserConfigs/WorkspaceRules.conf: Read Succeeded
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */  #

# You can set workspace rules to achieve workspace-specific behaviors.
# For instance, you can define a workspace where all windows are drawn without borders or gaps.

# https://wiki.hyprland.org/Configuring/Workspace-Rules/

# Assigning workspace to a certain monitor
# workspace = 1, monitor:eDP-1
# workspace = 2, monitor:DP-2

# example rules (from wiki)
# workspace = 3, rounding:false, decorate:false
# workspace = name:coding, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false, decorate:false, monitor:DP-1
# workspace = 8,bordersize:8
# workspace = name:Hello, monitor:DP-1, default:true
# workspace = name:gaming, monitor:desc:Chimei Innolux Corporation 0x150C, default:true
# workspace = 5, on-created-empty:[float] firefox
# workspace = special:scratchpad, on-created-empty:foot
======Config-End========

Description
Full screenshot no longer works and just display a acrylic blurred window on top

but by executing hyprctl reload to reload hyrland the acrylic blurred window will disappear
How to reproduce
hit win + printsc
Crash reports, logs, images, videos
No response

this is not a hyprland issue, this is something in your configuration


[Question] How to inject Logger or IConfiguration in Plugins ? I tried and failed

  public MyFruitConsumer(IServiceProvider serviceProvider, ILogger logger,             IEnumerable<IFruitProducer> producers)
Logger not work and throw exception .
System.AggregateException:“Error while validating the service descriptor 'ServiceType: Demo.Driver.Abstract.IFruitConsumer Lifetime: Transient ImplementationType: Demo.Driver.Consumer.MyFruitConsumer': Unable to resolves”

plugins loader ：
foreach (var pluginDir in Directory.GetDirectories(Path.Combine(AppContext.BaseDirectory, "Drivers")))             {                 var dirName = Path.GetFileName(pluginDir);                 var pluginFile = Path.Combine(pluginDir, dirName + ".dll");                 var loader = PluginLoader.CreateFromAssemblyFile(pluginFile,                     // this ensures that the plugin resolves to the same version of DependencyInjection                     // and ASP.NET Core that the current app uses                     sharedTypes: new[]                     {                         typeof(IIoTPlugins),                         typeof(IServiceCollection),                         typeof(ILogger)                     });                 foreach (var type in loader.LoadDefaultAssembly()                              .GetTypes()                              .Where(t => typeof(IIoTPlugins).IsAssignableFrom(t) && !t.IsAbstract))                 {                     Console.WriteLine("Found plugin " + type.Name);                     var plugin = (IIoTPlugins)Activator.CreateInstance(type);                     plugin?.ConfigureServices(services);                 }             }

where are you getting this issue? can you share a bit of startup code, please note plugins in mvc requires mvc plugin loader to register extra services.


higashi.Higashi_backend.Modules import error

Hi, I installed higashi in conda mode, and the following errors always occur when I use this tool for data analysis. How can I solve this problem?

Uploading higashi.ipynb…

I think the figure and notebook are not finished uploading... I cannot open them. But the conda mode is a bit tricky here, could you try it with pip install instead? Thanks. I will look into the conda situation later

Hi, I had the same problem when I run the tutorials/Lee et al (Higashi+Fast-Higashi).ipynb, and I try to reinstall the higashi with pip. However it didn't work.
Here is the version of fasthigashi and higashi

The error is:

What can I do to solve this problem?
Thanks

When I try to overwrite the Process.py, another problem will occur
before

after

another problem is:

my zlib version is zlib 1.2.13 h166bdaf_4
maybe I should install the zlib 1.2.9? but I can't find this version using conda

Hi, I had the same problem when I run the tutorials/Lee et al (Higashi+Fast-Higashi).ipynb, and I try to reinstall the higashi with pip. However it didn't work. Here is the version of fasthigashi and higashi  The error is:  What can I do to solve this problem? Thanks

你好，请问你解决这个ModuleNotFoundErro了吗，我也遇到这个问题了，我用的conda install -c ruochiz higashi安装的

Could you try the git clone repo then pip install . method? The conda version is a bit out dated, I will need some time to recompile it.


Issue 130: createsnippet now needs a visibility_level parameter

It appears the lifetime has also been deprecated (unless it is an undocumented field).  By replacing the field this will make the api somewhat forward compatible.

Any update on this?


Firefox plugin icedtea/jre stopped working

Issue description
I have
{
  allowUnfree = true;
  firefox.jre = true;
  firefox.enableAdobeFlash = true;
...

$ nix-env -qaP --description firefox
nixos.firefox-esr    firefox-52.1.0esr  A web browser built from Firefox Extended Support Release source tree (with plugins: flashplayer-<IP_ADDRESS>, oraclejre-with-plugin-8u131)
nixpkgs.firefox-esr  firefox-52.1.1esr  A web browser built from Firefox Extended Support Release source tree (with plugins: flashplayer-<IP_ADDRESS>, oraclejre-with-plugin-8u131)
nixos.firefox        firefox-53.0       A web browser built from Firefox source tree (with plugins: flashplayer-<IP_ADDRESS>, oraclejre-with-plugin-8u131)
nixpkgs.firefox      firefox-53.0.2     A web browser built from Firefox source tree (with plugins: flashplayer-<IP_ADDRESS>, oraclejre-with-plugin-8u131)

I install firefox via buildEnv:
with import <nixpkgs> {};
buildEnv {
  name = "danbst-tools-env";
  ignoreCollisions = true;
  paths = [
    firefox
    ....
  ];
}

But JRE plugin isn't recognized by Firefox, about:plugins shows:

OpenH264 Video Codec provided by Cisco Systems, Inc.
Shockwave Flash

Same for icedtea - it isn't recognized.
This happend not a long time ago, I still have profile with working Icedtea plugin (firefox version Mozilla Firefox 52.0.2)
Steps to reproduce
Install firefox with jre (or icedtea) and flash plugins. Then go to about:plugins
Technical details

System: 17.09.pre.7f3b857 (Hummingbird)
Nix version: 1.11.9
Nixpkgs version: "17.09pre106916.c5badb123a"
Sandboxing enabled: false

You need firefox-esr.  Web browsers don't support plugins like java
anymore.

If that's official, would be nice to see a warning or even abort build. Meanwhile, firefox-esr works, thank you.

See 1st sentence in "changed" section:
https://www.mozilla.org/en-US/firefox/52.0/releasenotes/
And the announcement from 2015:
https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/

I've solved my problem in a complex way
https://gist.github.com/danbst/30165b59996fb403068c74a95b108d6f

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixosstag.fcio.net/t/java-webstart-nixos-18-09/1136/4


Write each file as it is formatted

The old behaviour stored everything in memory until we were finished. Now we write as soon as we can.
This gives better behaviour when formatting large programs, since there is some progress indication. It also opens the door to optimising memory use by not storing everything in memory unless it is required (which it still might be). That is left as future work though.
r? @marcusklaas

Very nice!


Function parameters query ambiguous

Current text states "Values may be matched across several fields including filename, metadata, and file content."
This does not definitively list which fields / content will / will not be searched or how to control how the search is performed. Use of word "may" is not explicit.

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

ID: de33ed18-c074-a734-0b01-648888cb94aa
Version Independent ID: 9fa15051-394e-d4ce-4687-c93be0ca8b80
Content: Search for files - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/driveitem-search.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKelley

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Differences in screen fit between running and deployed application

Issue type
I'm submitting a ...  (check one with "x")

[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
Current behavior:

Running application with ng serve --o, the screen behaves responsive way. Otherwise, in deploy way with Express after build prod, the screen behaves differently.
Expected behavior:

The behavior needs be the same.
Steps to reproduce:

Run application with ng serve --o and after that deploy it into server, in my case, Express, with build prod. We have two different result with the help of DevTools.
Related code:

insert short code snippets here

Other information:
npm, node, OS, Browser
<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Ch
![img1](https://user-images.githubusercontent.com/6250232/159125341-50ce69a6-6e16-4364-9849-080acbfd9fd6.png)
rome/Safari/Firefox/etc?
![img2](https://user-images.githubusercontent.com/6250232/159125345-bead85fa-a0b0-4bd6-9fb3-e67442dedfce.png)

-->

Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->

Go to https://github.com/akveo/ngx-admin/issues/5926


Add support for solving mixed-integer programs via HiGHS/SciPy interface

Description
This pull request will close #1443 by adding support for solving mixed-integer programs via SciPy functionality that will be available in version 1.9.0. Please see this discussion about HiGHS/SciPy updates that should resolve test instances that currently do not pass but are marked with TODO.
Type of change

[x] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[ ] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.

Two tests fail for me that are not related to these changes:

FAILED test_grad.py::TestGrad::test_huber - ValueError: Inexact indices into sparse matrices are not allowed
FAILED test_grad.py::TestGrad::test_partial_problem - ValueError: Inexact indices into sparse matrices are not allowed

[ ] Run the benchmarks to make sure your change doesn’t introduce a regression.

I don't think these changes affect the benchmarks.

This LGTM. @rileyjmurray can you take a look?

@rileyjmurray I think I've addressed all your comments. Thanks for the great and quick suggestions!
Two tests still fail that are unrelated to this PR but are a consequence of the new version of SciPy:
FAILED cvxpy/tests/test_grad.py::TestGrad::test_huber - ValueError: Inexact indices into sparse matrices are not allowed
FAILED cvxpy/tests/test_grad.py::TestGrad::test_partial_problem - ValueError: Inexact indices into sparse matrices are not allowed

I'm unsure how these should be fixed.

@rileyjmurray, okay, I think this should be good to go! Let me know if you have any other suggestions.

Looks good to me! Merging.


Broken package in pypi

$ easy_install jieba

ValueError: bad marshal data (unknown type code)

It seems there are some *.pyc files in package, so we get this error.
Python 3.4
$ easy_install --version
setuptools 15.0

I installed pytho3.4 on my windows laptop, and found the installation with pypi work well.
C:\Users\sunjunyi01>c:\Python34\Scripts\pip3.4.exe install jieba
You are using pip version 6.0.8, however version 6.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting jieba
Downloading jieba-0.36.1.zip (7.4MB)
100% |################################| 7.4MB 61kB/s
Installing collected packages: jieba
Running setup.py install for jieba
Successfully installed jieba-0.36.1
I am not sure if your problem can be reproduced on Linux. And, I will have a try later.

pip install package without any problems. They are only under easy_install. The trouble is when we set jieba in setup.py requirements list of our package and run:
setup.py install

we will get an exception :(

@vetal4444 , sorry for that.
Currently, I am busy working on other projects. I make a new version(0.36.2), which remove the *.pyc files. You can try : easy_install -U jieba to have a look.

I think we can close this issue.
Thanks for quick response and resolve this :+1:

newspaper3k 依赖 jieba3k，安装时也报了这个错，看了下 jieba3k-0.35.1 仍然有 pyc 文件


Port 8080 hardcoded when running client_aio.py, can't run on 9090

I want to run my Python client/publisher on port 9090 (or any other port), because some other program is running on 8080.
My project is setup as followed using Docker (following https://crossbar.io/docs/Getting-Started/):
Message broker on port 9090:

git clone https://github.com/crossbario/crossbar-starter.git
cd crossbar-starter/crossbar
Change all occurrences of 8080 to 9090 in .crossbar/config.json and Makefile
Open webbrowser on http://localhost:9090/
Succesfully get JavaScript output

Python pub/sub on port 9090:

cd ../autobahn-python
In app/run comment python -u client_tx.py and uncomment python -u client_aio.py
Open app/client_aio.py and change 2 8080 to 9090.

url = os.environ.get('CBURL', u'ws://localhost:9090/ws')
parser.add_argument('--url', dest='url', type=six.text_type, default=url, help='The router URL (default: "ws://localhost:9090/ws").')

Run make start and get the following error:

make start
docker run -v /*file_path*/app:/app  -it --rm --link crossbar crossbario/autobahn-python
Traceback (most recent call last):
  File "client_aio.py", line 144, in <module>
    runner.run(ClientSession)
  File "/usr/local/lib/python3.6/site-packages/autobahn/asyncio/wamp.py", line 259, in run
    (transport, protocol) = loop.run_until_complete(coro)
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 777, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 764, in create_connection
    yield from self.sock_connect(sock, address)
  File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 451, in sock_connect
    return (yield from fut)
  File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 481, in _sock_connect_cb
    raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 8080)
Makefile:4: recipe for target 'start' failed
make: *** [start] Error 1

Problem
Seems like port 8080 is hardcoded somewhere when using asyncio version of client.

**With client_tx.py it is also happening:
make start
docker run -v /*file_path*/app:/app  -it --rm --link crossbar crossbario/autobahn-python
2018-02-01T17:58:17+0000 Scheduling retry 1 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x7f5adbf06be0> in 1.58646347420017 seconds.
2018-02-01T17:58:19+0000 Scheduling retry 2 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x7f5adbf06be0> in 3.118967674364628 seconds.
2018-02-01T17:58:22+0000 Scheduling retry 3 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x7f5adbf06be0> in 3.9190793815686735 seconds.
2018-02-01T17:58:26+0000 Scheduling retry 4 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x7f5adbf06be0> in 5.189386786132975 seconds.
2018-02-01T17:58:31+0000 Scheduling retry 5 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x7f5adbf06be0> in 8.103285030929317 seconds.
2018-02-01T17:58:39+0000 Scheduling retry 6 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x7f5adbf06be0> in 12.135480982977455 seconds.
2018-02-01T17:58:51+0000 Scheduling retry 7 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x7f5adbf06be0> in 17.589164802301156 seconds.
2018-02-01T17:59:09+0000 Scheduling retry 8 to connect <twisted.internet.endpoints.TCP4ClientEndpoint object at 0x7f5adbf06be0> in 26.353133456840247 seconds.

When running everything normal (including message broker on 8080), except for changing in these 2 lines 8080 to 9090 in client_aio.py:
url = os.environ.get('CBURL', u'ws://localhost:9090/ws')
parser.add_argument('--url', dest='url', type=six.text_type, default=url, help='The router URL (default: "ws://localhost:9090/ws").')

Everything still works. This means that these values are ignored and a hard coded port is used.

When running everything normal (including message broker on 8080), except for changing in these 2 lines 8080 to 9090 in client_aio.py:
url = os.environ.get('CBURL', u'ws://localhost:9090/ws')
parser.add_argument('--url', dest='url', type=six.text_type, default=url, help='The router URL (default: "ws://localhost:9090/ws").')
Everything still works. This means that these values are ignored and a hard coded port is used.

I just tried and everything is working fine for me.
The first line reads the websocket url from environment variable CBURL and fallbacks to ws://localhost:9090/ws. So you probably have CBURL in the environment.
Just replace
url = os.environ.get('CBURL', u'ws://localhost:9090/ws')
with
url = u'ws://localhost:9090/ws'
and you should have no issue.
You can ignore the port number in second line, that's just a help comment and does not affect functionality.

I changed the url as you suggested url = u'ws://localhost:9090/ws', and indeed it tries to connect over port 9090, but it still can't connect. I tried again with a fresh download and the steps I described in the first post.
crossbar.io output
make start
docker run --user 1000 -v /*file_path*/crossbar:/node -p 9090:9090 --name crossbar --rm -it crossbario/crossbar
2018-02-02T11:09:54+0000 [Controller      1]      __  __  __  __  __  __      __     __
2018-02-02T11:09:54+0000 [Controller      1]     /  `|__)/  \/__`/__`|__) /\ |__)  |/  \
2018-02-02T11:09:54+0000 [Controller      1]     \__,|  \\__/.__/.__/|__)/~~\|  \. |\__/
2018-02-02T11:09:54+0000 [Controller      1]
2018-02-02T11:09:54+0000 [Controller      1] Version:     Crossbar.io COMMUNITY 17.12.1
2018-02-02T11:09:54+0000 [Controller      1] Public Key:  a1a1e70ebf2eea4ab01cb2a921f0480c2d2c3ab237b9202d8c602c16ad58208b
2018-02-02T11:09:54+0000 [Controller      1]
2018-02-02T11:09:54+0000 [Controller      1] Node starting with personality "community" [crossbar.controller.node.Node]
2018-02-02T11:09:54+0000 [Controller      1] Running from node directory "/node/.crossbar"
2018-02-02T11:09:54+0000 [Controller      1] Node configuration loaded from "/node/.crossbar/config.json"
2018-02-02T11:09:54+0000 [Controller      1] Controller process starting [CPython-EPollReactor] ..
2018-02-02T11:09:54+0000 [Controller      1] No extra node router roles
2018-02-02T11:09:54+0000 [Controller      1] RouterServiceSession ready [no on_ready configured]
2018-02-02T11:09:54+0000 [Controller      1] Registered 20 procedures
2018-02-02T11:09:54+0000 [Controller      1] Using default node shutdown triggers ['shutdown_on_worker_exit']
2018-02-02T11:09:54+0000 [Controller      1] Configuring node from local configuration ...
2018-02-02T11:09:54+0000 [Controller      1] Starting 1 workers ...
2018-02-02T11:09:54+0000 [Controller      1] Router worker "worker-001" starting ..
2018-02-02T11:09:54+0000 [Router         16] Started Router worker "worker-001" on node "None" [crossbar.worker.router.RouterWorkerSession / CPython-EPollReactor]
2018-02-02T11:09:54+0000 [Router         16] Router worker "worker-001" session<PHONE_NUMBER>079076 initializing ..
2018-02-02T11:09:54+0000 [Router         16] Registered 39 procedures
2018-02-02T11:09:54+0000 [Router         16] Router worker "worker-001" session ready
2018-02-02T11:09:54+0000 [Controller      1] Router worker "worker-001" process 16 started
2018-02-02T11:09:54+0000 [Router         16] RouterServiceSession ready [configured on_ready fired]
2018-02-02T11:09:54+0000 [Router         16] Realm 'realm1' started
2018-02-02T11:09:54+0000 [Controller      1] Router "worker-001": realm 'realm-001' (named 'realm1') started
2018-02-02T11:09:54+0000 [Router         16] role role-001 on realm realm-001 started
2018-02-02T11:09:54+0000 [Controller      1] Router "worker-001": role 'role-001' (named 'anonymous') started on realm 'realm-001'
2018-02-02T11:09:54+0000 [Router         16] UniSocketServerFactory starting on 9090
2018-02-02T11:09:54+0000 [Controller      1] Router "worker-001": transport 'transport-001' started
2018-02-02T11:09:54+0000 [Controller      1] Local node configuration applied successfully!

client_aio.py
make start
docker run -v /*file_path*/autobahn-python/app:/app  -it --rm --link crossbar crossbario/autobahn-python
Traceback (most recent call last):
  File "client_aio.py", line 130, in <module>
    runner.run(ClientSession)
  File "/usr/local/lib/python3.6/site-packages/autobahn/asyncio/wamp.py", line 259, in run
    (transport, protocol) = loop.run_until_complete(coro)
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 786, in create_connection
    ', '.join(str(exc) for exc in exceptions)))
OSError: Multiple exceptions: [Errno 111] Connect call failed ('<IP_ADDRESS>', 9090), [Errno 99] Address not available
Makefile:4: recipe for target 'start' failed
make: *** [start] Error 1

While the javascript works fine on port 9090.


caffe2 debug mode not working

If this is a build issue, please fill out the template below.
System information

Operating system: RHEL 7.3
Compiler version:  GCC 4.8.5
CMake version: 3.10.2
CMake arguments:  cmake ..  Will run in CPU only mode.
 WARNING:root:Debug message: No module named caffe2_pybind11_state_gpu
 CRITICAL:root:Cannot load caffe2.python. Error: No module named caffe2_pybind11_state

This is because the building step added "d" to some shared libraries: libcaffe2.so, libcaffe2_gpu.so, caffe2_pybind11_state.so and caffe2_pybind11_state_gpu.so, so that they become:
libcaffe2d.so
libcaffe2_gpud.so
caffe2_pybind11_stated.so
caffe2_pybind11_state_gpud.so

So that the runtime cannot find caffe2_pybind11_state.so anymore. How to fix this issue?

You can remove -DCMAKE_BUILD_TYPE=Debug in your cmake command. If you want to build debugged version, you can symbolic link caffe2_pybind11_state.so to caffe2_pybind11_stated.so.

I've got the same issue, duplicate of #2023

I think symlinking the libcaffe2.so -> libcaffe2d.so, caffe2_pybind11_state.so -> caffe2_pybind11_stated.so, etc is a good suggestion. Have you tried that @hfutxrg and @kampelmuehler .
@kampelmuehler I'm going to close your original issue because this one has more comments on it.

Hi @pjh5 and @kampelmuehler, I have tried the symlink and it works. Thanks very much!

Thanks for the hack @yinghai, it seems to be working so far.
Have any of you been able to debug the c++ part of caffe2 in a python implementation?

@kampelmuehler do you mean debugging c++ code? I believe that you would need a c++ debugger rather than a python debugger.

@pjh5 yes I do. I was trying to attach a c++ debugger (CLion) to the local python process (running the python code in pycharm), but it is not stopping at any breakpoints in the c++ code. Do you have suggestions on how to make this work?

@kampelmuehler I do not know how to do this. I suggest you look on SO and other resources, as I'm sure people have asked before. Perhaps http://johntfoster.github.io/posts/debugging-cc%2B%2B-libraries-called-by-python.html will be useful to you. I will close this issue because the original problem has been resolved.


Two strange find when i begin to use vue.js

When i create a test application by using webpack & vue-loader,  everything is ok after i created a main.js, some components, webpack.config.js, and etc.
But when i integrate all components into index.html by using customer component tag, like this:

        <my-header></my-header>
        <my-todo></my-todo>
        <my-footer></my-footer>

My main.js, import all components, and register them, then i can use them in index.html.
import Vue from 'vue'
import header from './components/header.vue'
import footer from './components/footer.vue'
import todo from './components/todo.vue'

new Vue({
    el: '#app',
    components: {
        "my-header": header,
        "my-footer": footer,
        "my-todo": todo
    }
})

todo component:

<template>

        <input v-model="newTodo" v-on:keyup.enter="addTodo">

            {{ todo.text }}
            <button v-on:click="removeTodo($index)">X</button>

</template>

Everything is fine, but the strange thing is i saw my page has no any content, it is blank! No tag change, no logic happen!

After i try many failed ways, i replace script place, it is before components tag before, and i write it after components tag, everything is ok! What is happened?
I guess if is the Vue render and parse mode issue? If i set the script before components, the script dont find the template to replaced, if i write after components, it can be process correctly?

Additional, i found another bug, if i dont set any tag in component, the programmer will report issue "build.js:15900 Uncaught TypeError: Cannot read property 'tagName' of null"

My blank template component header or footer:

<template>

</template>

when i added the any tag in template, the issue disappear. is it a bug for vue?

You have export syntax error. It should be
export default {}

not (no parentheses)
export default ({})

Don't you have any webpack errors in the terminal? And btw. since it's not a Vue issue, you should ask that kind of questions on official forum, gitter or stackoverflow.

@sqal

<template>

        <input v-model="newTodo" v-on:keyup.enter="addTodo">

            {{ todo.text }}
            <button v-on:click="removeTodo($index)">X</button>

</template>

Removed (), but if i write script before customer components, also dont have any thing! no console error.

Can you do this:
import todo from './components/todo.vue'

console.log(todo)

and see how te import looks, maybe you have some issue with vue-loader

@sqal
Sir, you are right, it is true vue component. But how to check vue-loader, because i dont set more about vue-loader, only  match file setting.

module.exports = {
    entry: './src/main.js',
    output: {
        path: __dirname + '/static',
        filename: 'build.js'
    },

    module: {
        loaders: [
            {
                test: /\.vue$/, // a regex for matching all files that end in `.vue`
                loader: 'vue'   // loader to use for matched files
            },
            {
                test: /\.js$/,
                loader: 'babel-loader', // Enable es6 support by babels
                exclude: /node_modules|vue\/dist|vue-router\/|vue-loader\/|vue-hot-reload-api\//
            }
        ]
    },

    babel: {
        presets: ['es2015'],
        plugins: ['transform-runtime']
    }
}

what version of vue & vue-loader are you using?

@sqal
"vue-loader": "^8.5.3"
Yes, move it to the end page is successful. This is my problem, why i must move it to the end page?

becouse Vue doesn't wait for DOM to finish loading (doesn't listen to DOMContentLoaded event) so if you put script with your app before anything else, DOM is not completely loaded yet and Vue can't find required components

@sqal
It is great! i understand.


Error after creating resource looker_group - 404

We were using 0.8.1 to create resources in Looker. The primary resource was 'looker_group', with supporting resources being various looker_user_attribute_group_value.
Normally, this runs successfully. However, on rare occasions, the terraform apply gives us this output:
Error: response error: 404 Not Found
with looker_group.group,
on main.tf line 30, in resource "looker_group" "group":
30: resource "looker_group" "group" {
Now, if I run 'plan' again, I receive a new 404. I know this means that the group was created, but the application is giving me '404' as a substitute for 'unauthorized' because, before the resource was created, I was able to use tf to plan the resource. Additionally, I see the resource created in Looker.
If I run plan again:
Error: response error: 404 Not Found
with looker_group.group,
on main.tf line 30, in resource "looker_group" "group":
30: resource "looker_group" "group" {
Now, I have to manually delete the group, manually remove the group from the .tfstate file, and plan again. Once done, I plan again, successfully, and the apply works (as it does probably 80-90% of the time).
It seems to me this may be a race condition, but the group is being created, but the permissions are not being attached correctly, so the group exists but I don't have ability to read/edit the group.

@abower-digimarc Thanks for your report! Could you try v0.8.9 (the latest version) to confirm if the problem is reproduced?

We will update to that version. Unfortunately, we didn't have a specific condition that triggers it (race conditions being as they are), but I will report back on how many applies we get successfully, and whether the error recurs.


Update introduction.md

Submitted via Learn Editor.

Internal previews

📄 File
🔗 Preview link

docs/core/introduction.md
What is .NET? Introduction and overview asdf

@v-joelwatson This looks like a test. Can it be closed?


updated UI

Brief Description of Fix
BG changed and made the description text to align in the center and changed the button hover colors and added border to valied n type block
Linked Issue
Closes #19

can you elaborate what other changes i should undo?

can you checkout this one

can you merge it ?

Hey! The only change that will be merged is the formatting that you've done to the Luhn's algorithm paragraph. The changes to the colors and gradient are not needed

!bounty 20

ok fine , i will update my PR


tag 0.3.6

Could you please tag 0.3.6 in git repo?

Done: https://github.com/intake/filesystem_spec/releases/tag/0.3.6

Thanks!


Server HDD full

Hi guys,
I had an issue where my HDD got full. Everything stopped working, so I restored from a backup.
Now everything is back online, except my plex database is gone. The Plex settings are still there, but the directories/database was missing. I migrated from Gooby, and did the backup through omni - which may have been the cause?
Anyway. Im okay with the database, Ill just let it run and ratelimit me for a few weeks until done lol. Now for my question - is there any way to make a script to delete completed downloads so I dont run out of disk again?
Thanking you

Completed downloads (those that download completely and have successfully been uploaded to the cloud) are removed upon copying to the cloud.  What still needs to be removed are incomplete or errored-out downloads.  If you use SABnzbd, for example, a download that could not be repaired remains locally stored since it cannot be decompressed, but there may (in theory; I have yet to see it happen) be a chance that the missing parts are available in the near future.
If you use Radarr/Sonarr/*arr they also show unprocessed downloads (these may be complete or incomplete but, for one reason or another, they couldn't be matched successfully to the movie/show/album).  These also remain in your downloads until you manually process them from the corresponding *arr.  For example, a TV episode may be misnamed so Sonarr can't tell that it is "The Simpsons, S03E15."  Once you fix that mapping in Sonarr, the download will process, pop out of Sonarr's queue, and be queued for upload to the cloud and removal from the local storage.

Thank you. Will follow your steps.


charts: add katalog connector

Fixes https://github.com/IBM/the-mesh-for-data/issues/314

Added katalog CRD and RBAC resources (generated directly into charts)
Added katalog connector resources (maintained directly in charts)
Helm values now allow overriding global or per component values (inspired by the Helm defaults, Istio, cert-manager)

To be continued following https://github.com/IBM/the-mesh-for-data/issues/348
@eletonia for some reason I can't add you as reviewer, can you please join https://github.com/orgs/IBM/teams/m4d-team/members?

@roee88 I just requested to join the m4d-team organization


OTB Test Code

Hi, I am trying to implement test code for OTB100, I basically copy and paste tester_impl/lasot.py to create otb.py. However, when I tried to run the test, it gives the following error:
 File "main/test.py", line 36, in <module>
    root_cfg.merge_from_file(exp_cfg_path)
  File "/home/anaconda3/envs/siamfc++/lib/python3.6/site-packages/yacs/config.py", line 213, in merge_from_file
    self.merge_from_other_cfg(cfg)
  File "/home/anaconda3/envs/siamfc++/lib/python3.6/site-packages/yacs/config.py", line 217, in merge_from_other_cfg
    _merge_a_into_b(cfg_other, self, self, [])
  File "/home/anaconda3/envs/siamfc++/lib/python3.6/site-packages/yacs/config.py", line 460, in _merge_a_into_b
    _merge_a_into_b(v, b[k], root, key_list + [k])
  File "/home/anaconda3/envs/siamfc++/lib/python3.6/site-packages/yacs/config.py", line 460, in _merge_a_into_b
    _merge_a_into_b(v, b[k], root, key_list + [k])
  File "/home/anaconda3/envs/siamfc++/lib/python3.6/site-packages/yacs/config.py", line 460, in _merge_a_into_b
    _merge_a_into_b(v, b[k], root, key_list + [k])
  [Previous line repeated 1 more time]
  File "/home/anaconda3/envs/siamfc++/lib/python3.6/site-packages/yacs/config.py", line 473, in _merge_a_into_b
    raise KeyError("Non-existent config key: {}".format(full_key))
KeyError: 'Non-existent config key: test.track.tester.OTBTester.dataset_names'

Any ideas on why it might be?

The dataset_names should be declared in the default_hyper_param before setting in the yaml file. You got this error because your OTBTester does not have a hyper_param called dataset_names, but you set it in the config file

Resolved. Thank you for your reply.


FNMR@FMR metric.

Add calc_fnmr@fmr function to functional/metrics.py and its call to calc_retrieval_metrics.
Add new parameter fmr_vals to calc_retrieval_metrics, EmbeddingMetrics and cofig files.
FNMR@FMR could't be used for data retrieval visualiztion, so it is added to metrics_to_exclude_from_visualization by default.
Add test for calc_fnmr@fmr and modify some other tests to work correctly with FNMR@FMR.
I had three test failed: test_readme_was_built_correctly, test_code_blocks_in_readme and test_reduce_metrics which is marked as it could be failed. The problem with test_code_blocks_in_readme is that I have just one GPU, so maybe it worth to be marked as it could be failed too. And as for test_readme_was_built_correctly I don't know what's wrong, because I didn't change readme files.

@dapladoc Thank you for the contribution. When PR is ready to review, please, ping me here

@dapladoc Thank you for the contribution. When PR is ready to review, please, ping me here

@AlekseySh ping. I've done everything we discussed and even a little more

Refactor calc_fnmr_at_fmr such that it takes pos_dist and neg_dist as its input; pos_dist and neg_dist could be required for some other functions in the future, so they are evaluated in the body of calc_retrieval_metrics;
calc_fnmr_at_fmr now uses numpy.percentile assuming that fmr_val is a percentage;
Add docstring to calc_fnmr_at_fmr with links to FNMR and FMR metrics, and an example;
Rollback test_cmc_metric_old.py, so that mask_gt has type float;
Change fmr_vals description in docstring of EmbeddingMetrics;
mask_to_ignore now is used to extract distances;
Change default value of fmr_vals to [1] in config files in examples.

By the way, the new vulture checker checks everything in the project directory, including my venv which I keep there, and it spits a lot of stuff (-: I added venv to excluded dirs in its settings in pyproject.toml.

As for vulture, it helped me to remove several variables that were unused when I set up confidence = 50% :)
But it also produces a lot of false positive alarms at this threshold

@AlekseySh
Changes:

Remove fixtures from test_retrieval_metrics. I coded the pos_dist and neg_dist there because it looks like there will be no other tests that will require them.
Add asserts on fmr_vals. I think that this piece of code should be refactored, in order to add some meaningful error messages like ValueError(f'{arg_name} should be a positive integer, but got {top_k_value}') and ValueError(f'fmr_vals should be integers in range [0, 100], but got {fmr_vals}').
Add the functions returns in docstrings, and make the links like they are supposed to be in sphinx documentation.

@dapladoc, thank you for your contribution!
By the way, do you want to perform some refactoring related to retrieval metrics in a dedicated PR?
I've made the issue for that: https://github.com/OML-Team/open-metric-learning/issues/240

By the way, do you want to perform some refactoring related to retrieval metrics in a dedicated PR?

Yes, I'd love to.


Compiling for server fails

Godot version:
vulkan master (https://github.com/godotengine/godot/commit/5f1107aa30295e686be6f41cb6d17fc2cff1e036)
OS/device including version:
Arch Linux
Issue description:
compiling for server fails
Steps to reproduce:
[user@archlinux ~]$ cd /run/media/user/user/git/godot
[user@archlinux godot]$ scons p=server
scons: Reading SConscript files ...
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] Compiling ==> platform/server/godot_server.cpp
In file included from platform/server/godot_server.cpp:32:
platform/server/os_server.h:41:10: fatal error: platform/x11/crash_handler_linuxbsd.h: No such file or directory
   41 | #include "platform/x11/crash_handler_linuxbsd.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
scons: *** [platform/server/godot_server.linuxbsd.tools.64.o] Error 1
scons: building terminated because of errors.
[user@archlinux godot]$

The server platform is obsolete and will be dropped. Now that the OS/DisplayServer split is done, we should be able to add a --headless switch to all platforms.

@akien-mga Shouldn't we still have a build-time option for smaller libraries? Also, would a --headless command line argument work on server Linux where OpenGL/Vulkan libraries aren't installed and no X server is running?

@Calinou Server builds aren't significantly smaller, so it's not necessary to keep a dedicated binary. See https://downloads.tuxfamily.org/godotengine/3.2.1/ (Linux 64 28.2 MB, Headless 64 26.7 MB).

Also, would a --headless command line option work on server Linux where OpenGL/Vulkan libraries aren't installed and no X server is running?

If OpenGL/Vulkan libraries are not installed, the rendering drivers will not be registered, so the only option would be --rendering-driver None.
Most likely, there'd also be a --display-driver None so that you can run it without X11/Wayland installed.
--headless, if we add it, could be sugar for --display-driver None (which implies --rendering-driver None).

--display-driver headless and --headless is implemented now in the master branch (https://github.com/godotengine/godot/pull/51216)


Make the markdown parser highlight different syntax styles

There is always some need for code examples in the tutorials and README.md. It would be nice, when the markdown parser would implement Syntax highlighting There are enough possibilities: https://github.com/chjj/marked#highlight

This would be great.
It seems that a lot of JSDoc themes are relying on Google's prettify (and the Markdown plugin seems to encourage this), but I don't see why it couldn't be baked into the generated docs at publish time instead. (Also, there are better syntax highlighters than prettify, IMO.)
marked already supports code highlighting, but a function to do it needs to be specified, and it'd also require some peerDependencies, like highlight.js or pygmentize or whatever.

FYI, in case anyone is interested, I started working on this:
https://github.com/jsdoc3/jsdoc/compare/master...kmck:kmck/marked-highlighting
Might be a slightly painful switch from the Google prettify stuff, since the syntax highlighting is done on the frontend using magic CSS classnames generated at publish time, but generating the markup at publish time seems a little more "correct" to me.

This seems to have been resolved by https://github.com/jsdoc3/jsdoc/commit/2c47d4b30650aa6f162eff198e3af35f76db108f (see #1412).
However as per #1579 , despite the code being in master, I'm not seeing it as a part of the last npm release (which should have included it).


Go live [Sept 21]

Docs Build status updates of commit 9aa2339:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/webhooks-and-connectors/what-are-webhooks-and-connectors.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


debug: print translated alive function as debug output

was playing with alive backend. Wanted to print transformed alive ir too; there wasn't anything existing.

LGTM