Getting error when trying to start mineflayerViewer

I'm using the example of streaming to python, but when I run the javascript code I get this error:
TypeError: createCanvas is not a function
    at module.exports (C:\Users\goyal_hfho3dz\WebstormProjects\mineflayz\node_modules\prismarine-viewer\lib\headless.js:18:18)
    at EventEmitter.<anonymous> (C:\Users\goyal_hfho3dz\WebstormProjects\mineflayz\mineflayz.js:11:20)
    at Object.onceWrapper (node:events:627:28)
    at EventEmitter.emit (node:events:525:35)
    at Client.<anonymous> (C:\Users\goyal_hfho3dz\WebstormProjects\mineflayz\node_modules\mineflayer\lib\plugins\health.js:13:11)
    at Object.onceWrapper (node:events:628:26)
    at Client.emit (node:events:525:35)
    at FullPacketParser.<anonymous> (C:\Users\goyal_hfho3dz\WebstormProjects\mineflayz\node_modules\minecraft-protocol\src\client.js:91:12)
    at FullPacketParser.emit (node:events:513:28)
    at addChunk (C:\Users\goyal_hfho3dz\WebstormProjects\mineflayz\node_modules\readable-stream\lib\_stream_readable.js:298:12)

This is my code:
const mineflayer = require('mineflayer')
const mineflayerViewer = require('prismarine-viewer').headless

bot = mineflayer.createBot({
    'host': 'localhost',
    'port': 25565,
    'username': 'bottee'
})

bot.once('spawn', () => {
    const client = mineflayerViewer(bot, { output: '<IP_ADDRESS>:8089', frames: -1, width: 512, height: 512 })
})

Manually installing canvas or node_canvas_webgl doesn't help

I've also got the same problem, it seems that there was a breaking change in node_canvas_webgl

They haven't published builds for certain platforms, which is also another cause of this issue. Try downgrading the version to one where your platform is supported. They have a list of these on their releases tab.

I'm not finding any older releases of node_canvas_webgl on github, is there like a official github repo of node_canvas_webgl or is it this github repo? https://github.com/akira-cn/node-canvas-webgl

That is the real node canvas WebGL. The issue is with headless and probably your python --> JavaScript bridge may be messing some things up. May I ask what architecture your CPU is and what OS you run?

Install this dependency "npm install PrismarineJS/node-canvas-webgl" and make sure to have VisualStudio Desktop C++ Development Kit installed. That solved the issue for me.


Guidance on verb usage?

Is there any guidance on the behaviour of various verbs? I was surprised that I couldn't find anything, as I would have that that behavioural consistency across verbs would be useful for users of PowerShell.
As an example, here are two questions that I'd love answered for my pshosts module:

Should Get cmdlets always return an error when the item is not found and a wildcard pattern was not provided? (pshosts currently emits an error)
Is it acceptable for a Set cmdlets to create the item if it does not already exist? If not, would it be acceptable behind a -Force flag? (pshosts raises an error if the item does not exist, and Force has no effect on this behaviour)

Main document is Approved Verbs for Windows PowerShell Commands.
It seems it don't answer on your questions. If so we should update it by results the discussion.
My understanding is that cmdlet behavior should be based on underline API behavior and our common expectations. Usually we expect that "Get" return an existing object, "New" creates an object and "Set" only changes existing object.

Good point RE Get. I guess I should add a Test verb to check for existence.
The Set issue is a little more nuanced. In my scenario, Set-HostEntry something.local -Loopback feels like it should just set the local hosts entry even if that means adding one. The AWS SDK (which, granted, doesn't always provide the best example of PS conventions) tends to match this behaviour in things like Set-DefaultAWSRegion and Set-AWSCrentials.

In another areas SET can create an entity. In cmd.exe SET can create new environment variable. In PowerShell we can expect that Set-EnvironmentVariable will be create new environment variable too. Best practice is - New-EnvironmentVariable.

If existing documentation is lacking, please open issues at http://github.com/powershell/powershell-docs. Thanks!

@SteveL-MSFT @sdwheeler Please move the issue to docs repo (you have rights for this operation).

I don't see any issue here. The docs exist.

@SteveL-MSFT FWIW the docs were just a basic list when this issue was created. Even now, only the Set query above is actually included in those docs but I'll leave it to your team as to whether you think the Get behaviour is worth defining.

@richardszalay your feedback is appreciated, if you believe Get needs more content, please open a new issue in the PowerShellDocs repo


Library name change request

Library repository URL
https://github.com/mission-mangal/SpeedControl

i would like to change the name of the library as there are warning associated with the name of the library i have created. so i have created the specific release of the library with change in the name and a new relase of the same too.

Hi @Vi-Ku. I am confirming your request.
Unlike submissions, this type of request is still handled manually. The Library Manager index maintainer occasionally comes through to clear all the outstanding requests. They will close this issue when it is done. You will get a notification from GitHub at that time.
After that, you can monitor the indexing of the library via its dedicated logs web page.
Information about that here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager

Done:
2023/02/01 15:53:02 Loaded 5528 libraries from DB
Removing Speed Control
Success!


ibc: add an example with storey

storey now supports integer keys, so I updated this example we talked about a while back!

Rebased to resolve conflicts


Не работает FoW на Android

Okay, Absolute World Position doesn't work on ES2 for now, long live the bug. Check https://answers.unrealengine.com/questions/826754/on-android-absolute-world-position-does-not-work-p.html?sort=oldest
Btw it's related to pp only for now, so it won't stop development and profiling.

Fixed in UE 4.23


RANGER-3290 ArrayIndexOutOfBoundsException if solr is down

See the details in the jira

This travis error looks rather unrelated:
Expected feature release number in range of 9 to 17, but got: 8
The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .

I fixed some conflicts.

Yes, this is already committed: https://github.com/apache/ranger/commit/bbbc23c005432c715d741e6ea61a9aaddc569845
Closing the pull request


NEW Add custom mutation to allow changing the sort position of indivi…

…dual elements
The changes in this PR add a custom mutation to allow sorting of individual elements without having to  fire multiple queries. This is based on the second suggestion in #285.
Thanks @ScopeyNZ for your help!

@raissanorth I added a commit adding optimistic cache updates for this mutation.

Hey @raissanorth I added a test for the new mutation. I ran this test with Fluent so it seems fine. In any case, the fields and filters we use shouldn't be translated by Fluent so I'm happy now.
Feel free to look over my commit and offer any feedback. Ready for a re-review @robbieaverill .

the fields and filters we use shouldn't be translated by Fluent so I'm happy now

I think it's pretty likely that someone will want to localise their sort order for a page between different locales

I've pushed an update commit which addresses all my concerns and also does some simple SQL injection prevention checks that I know will otherwise come up at some point in a review =)


time scale chart overflows x axis

With the latest code from the 2.0-dev branch (c99cf97ff66c408d7982e16ac7e3c0526cda9f94) when using a time scale on the X axis, sometimes points can be drawn off chart to the right.
Example: https://jsfiddle.net/hrth73on/2/

It looks to me like the rounding of ticks can sometimes cut off too soon.  In this particular example, the lastTick is 5:27:00pm, however there is at least one datapoint after that (e.g. 5:27:11pm).
There is a workaround - in the scales.xAxes config definition, add the following callback for afterBuildTicks and it will properly add an extra tick if the data set exceeds the lastTick
:
afterBuildTicks: function (scale) {

    if (!!scale && !!scale.labelMoments && !!scale.labelMoments[0] && scale.labelMoments[0].length > 0) {
        var lastTickClone = scale.lastTick.clone();
        var lastDatapoint = scale.labelMoments[0][scale.labelMoments[0].length - 1].clone();
        if (lastTickClone.isSameOrBefore(lastDatapoint)) {
            scale.lastTick = lastTickClone.add(scale.unitScale, scale.tickUnit);
            scale.ticks.push(scale.lastTick);
            scale.tickRange = scale.tickRange + scale.unitScale;
        }
    }

},

Example of the overflow as data is added:

Example of data being added with the afterBuildTicks workaround:

JS fiddle with workaround in place:  https://jsfiddle.net/wf8kwqn7/1/

@mjhugo thanks for the detailed report. Definitely a bug we need to fix ASAP

@mjhugo tried this with the latest version from the v2.0-dev branch (as of 6PM March 15 2016) and it was improved. Take a look at https://jsfiddle.net/38zomrwL/1/

yes! confirmed in my app as well -  v2.0-dev branch works much better!
Thanks!!

Great! Thanks for letting me know


Validating email should take you to Log In Screen with message saying you've validated

Feature Request
Context
Story
As a People Allocator
I want to know that I have successfully validated my email and be taken to where I can login
So that I can complete the process and easily login

Acceptance Criteria
Given I am validating my email
When I click on the link
Then Then I am taken to a login screen with a message saying I've successfully validated
Design
https://www.figma.com/file/S4XKeovlQqeRk64k2qzhf8gL/PeopleMover?node-id=3523%3A102

As discussed - we are going to just do a button on the "You're Validated" screen that takes you to to the Login screen


Search Improvements

capitalize added to index search results; and
case insensitive search

Regex has been added, so that:

Search queries with missing letters will still find 'LIKE' results, such as: 'lim' = 'lime', 'vodk' = 'vodka', etc.

whiskey will deliver a result as well! 🥃


Add managed identity to ADLS Gen 2

Hi Ivan,
I've tested this by using a Web App. Not sure how the integration tests would be written for it.
Thanks,
Richard

Great thanks


Added K8s 1.16 compatible kid to jwks JSON

Issue #, if available:
Fixes #11
Fixes #12
Description of changes:

Added K8s 1.16 compatible KID field to jwks JSON
Updated docs mentioning KID changes
Fixed doc reference to $PKCS_KEY for sa key file

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

cc @siwyd @Jacobious52 @hatappi


Resource leak

Stream is opened
https://github.com/IBM/scheduler-library/blob/e5f5ca99edcde1038d27ffb59675829f00a62536/src/scheduler.c#L921
Opened file never closed
https://github.com/IBM/scheduler-library/blob/e5f5ca99edcde1038d27ffb59675829f00a62536/src/scheduler.c#L936

Thanks for pointing this out; fixe din commit 2c9d8ce
2c9d8ce


[EDITOR] changed scroll behaviour

Changed scrolling so that when the cursor
reaches the end of the screen it doesn't
automatically brings new information and
goes to the middle of the screen but instead
stays at the end of the screen and the new
text appears line by line.

Thanks for contributing!
I believe this should be a function, that way we can keep folks who don't this scroll behaviour happy.
E.g. the function could be called nice-scrolling-mode.
Also, please remove all the unneeded added file and changes.

Thanks for contributing!
I believe this should be a function, that way we can keep folks who don't this scroll behaviour happy.
E.g. the function could be called nice-scrolling-mode.
Also, please remove all the unneeded added file and changes.

FYI, default values of the variables you're changing are,

scroll-margin : 0
scroll-conservatively : 0
scroll-preserve-screen-position : nil

This can be helpful when creating the interactive function.

I intergrated the behaviour as a function.

Thanks!


JavaScript syntax extended classes

Hi,
thanks you, this library is great.
Unfortunately I've problems with logging of extended classes.
Depending where I use @Wove() only methods off one class are logged (either foo or bar), but I don't get both logged together if constructor is executed. If both classes use wove decorator or only ClassA uses decorator => foo is logged. If only ClassB uses decorator => bar is logged.
file classB.js
import {Wove} from 'aspect.js';

@Wove()
export default class ClassB extends ClassA {

    constructor() {
        this.foo();
        this.bar();
    }

    bar() {
        ...
    }
    ...
}

file classA.js
import {Wove} from 'aspect.js';

@Wove()
export default ClassA {
    foo() {
        ...
    }
    ...
}

file logger.js
import {
  beforeMethod,
} from 'aspect.js';

export default class LoggerAspect {
  @beforeMethod({
      methodNamePattern: /.*/,
      classNamePattern: /.*/
  })
  beforeLogger(meta, ...args) {
      ...
  }
...
}

What is the correct syntax for this case?

Really good catch! I will push a fix in a bit.

This was the fix https://github.com/mgechev/aspect.js/commit/be529e317939ac13b3390cefd6a4e4432bbacce6#diff-1ba746b3fa1602a2aa41de09ac00f034R4.


tf.random_crop exception after upgrading to tf1.1 from tf1.0

Please go to Stack Overflow for help and support:
http://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.4

TensorFlow installed from (source or binary): binary

TensorFlow version (use command below):v1.1.0-rc0-61-g1ec6ed5 1.1.0

Bazel version (if compiling from source):

CUDA/cuDNN version: 8.0/5.1

GPU model and memory: Tesla m40 / 12 gb

Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
The tf.random_crop gives exception even when it receives input of valid size. assertion failed: [Need value.shape >= size, got ] [224 224 3] [224 224 3]
Source code / logs
File "../foo.py", line 1356, in _pp_augment
aug = tf.random_crop(aug, [crop_size[0], crop_size[1], aug_dim3])
File "/usr/local/anaconda3/envs/tf1.1/lib/python3.5/site-packages/tensorflow/python/ops/random_ops.py", line 303, in random_crop
["Need value.shape >= size, got ", shape, size])
File "/usr/local/anaconda3/envs/tf1.1/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 121, in Assert
condition, data, summarize, name="Assert")
File "/usr/local/anaconda3/envs/tf1.1/lib/python3.5/site-packages/tensorflow/python/ops/gen_logging_ops.py", line 39, in _assert
summarize=summarize, name=name)
File "/usr/local/anaconda3/envs/tf1.1/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op
op_def=op_def)
File "/usr/local/anaconda3/envs/tf1.1/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2336, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/usr/local/anaconda3/envs/tf1.1/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1228, in init
self._traceback = _extract_stack()
InvalidArgumentError (see above for traceback): assertion failed: [Need value.shape >= size, got ] [224 224 3] [224 224 3]
[[Node: image_filters/train_tower_0/random_crop_1/Assert/Assert = Assert[T=[DT_STRING, DT_INT32, DT_INT32], summarize=3, _device="/job:localhost/replica:0/task:0/cpu:0"](image_filters/train_tower_0/random_crop_1/All/_29, image_filters/train_tower_0/random_crop_1/Assert/Assert/data_0, image_filters/train_tower_0/random_crop_1/Shape/_31, image_filters/train_tower_0/random_crop_1/size/_33)]]
[[Node: image_filters/train_tower_0/DecodeRaw_1/_93 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_232_image_filters/train_tower_0/DecodeRaw_1", tensor_type=DT_UINT8, _device="/job:localhost/replica:0/task:0/gpu:0"]]

@girving the error message does look strange.

Looking now.  The code looks fine so far, which is confusing.

Ah, the problem is that Assert truncates it's arguments at 3 entries by default.  The shapes are actually bigger, and presumably shape < size someone in the invisible bit.  I'll fix the error message.

@saurabh203 Can you confirm that your tensors have rank > 3?

@girving The tensors have the rank 3 only. But the issue seems like an OS related issue. The earlier run was erroneously reported as Ubuntu but was SLES 12. My apologies for the mistake. The code seems to run fine on the ubuntu machine that I tested today.  I do have to make it work on the SLES too. Is there any other reason apart from Assert truncation which might cause this issue?

@saurabh203 No idea why it would fail on SLES 12 only.  Please let us know if you figure out the cause, but I don't think we'll be able to debug it on our end without more information.


Source data validation issues

Describe the issue
Stefano outlined discrepancies between data sources and relaton-py expectations here.
The discrepancies arise because (1) previously invalid YAML was updated to match Relaton RNC/LutaML data specification (where relaton-py has come to rely on YAML to be invalid), or (2) data specification updated, YAML updated accordingly, but relaton-py was not updated.
These discrepancies lead to issues like: #277, #250, #281.
Fronts on which they could be attacked:

[ ] Normalizing abnormal source data in BibXML service (fixes partly implemented in #282)
[ ] Making it so that abnormal source data doesn’t cause issues (not always realistic, but exploring options)
[ ] Pinning Relaton gems by their minor version part in GHAs (and relying on gem maintainers to avoid introducing breaking data format changes within the same minor version; I was informed that’s how it already works)
[ ] Updating Relaton specification to support versioning (medium term, we shouldn’t do it in rush)

Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

As of now, the discrepancies are:

IANA:

contributor -> 0 -> organization -> abbreviation
  str type expected (type=type_error.str)

IEEE:

contributor -> 0 -> organization -> abbreviation
  str type expected (type=type_error.str)
keyword
  str type expected (type=type_error.str)
keyword -> 0
  str type expected (type=type_error.str)
copyright -> 0 -> owner -> 0 -> name -> 0
  str type expected (type=type_error.str)
copyright -> 0 -> owner -> 0 -> name
  str type expected (type=type_error.str)
copyright -> 0 -> owner -> 0 -> abbreviation
  str type expected (type=type_error.str)
copyright -> from
  field required (type=value_error.missing)
copyright -> owner
  value is not a valid list (type=type_error.list)

ID:

contributor -> 0 -> person -> name -> given -> forename -> 0
  Forename.__init__() missing 1 required positional argument: 'content' (type=type_error)
contributor -> 0 -> person -> name -> given -> forename -> content
  str type expected (type=type_error.str)

MISC:

contributor -> 0 -> person -> name -> given -> forename -> 0
  Forename.__init__() missing 1 required positional argument: 'content' (type=type_error)
contributor -> 0 -> person -> name -> given -> forename -> content
  str type expected (type=type_error.str)

NIST:

contributor -> 8 -> organization -> abbreviation
  str type expected (type=type_error.str)

RFCS:

contributor -> 0 -> person -> name -> given -> forename -> 0
  Forename.__init__() missing 1 required positional argument: 'content' (type=type_error)
contributor -> 0 -> person -> name -> given -> forename -> content
  str type expected (type=type_error.str)

organization -> abbreviation cases should be covered by normalization in #282
person -> name -> given -> ... cases should be covered by normalization in #282
keyword -> ... cases should be covered by normalization in #278
copyright -> 0 -> owner -> ... cases may need attention (possibly not yet covered)

adding some IEEE examples of this issue in practice. (presumably this is #283, although I don't see "Could not export" mentioned above.) Got the following errors upon click of "bibxml" on:

https://bib.ietf.org/get-one/by-docid/?doctype=IEEE&docid=IEEE+1003.1-2017&format=bibxml
https://bib.ietf.org/get-one/by-docid/?doctype=IEEE&docid=IEEE+1003.1-2016&format=bibxml
https://bib.ietf.org/get-one/by-docid/?doctype=IEEE&docid=IEEE+802.1Q-2014&format=bibxml

Could not export this item, the error was: Source data for item IEEE 1003.1-2017 (IEEE) didn’t validate (err: 7 validation errors for BibliographicItem copyright -> 0 -> owner -> 0 -> name -> 0 str type expected (type=type_error.str) copyright -> 0 -> owner -> 0 -> name str type expected (type=type_error.str) copyright -> 0 -> owner -> 0 -> abbreviation str type expected (type=type_error.str) copyright -> 0 -> owner -> 1 -> name -> 0 str type expected (type=type_error.str) copyright -> 0 -> owner -> 1 -> name str type expected (type=type_error.str) copyright -> from value is not a valid integer (type=type_error.integer) copyright -> owner field required (type=value_error.missing))

the last one:

Could not export this item, the error was: Source data for item IEEE 802.1Q-2014 (IEEE) didn’t validate (err: 5 validation errors for BibliographicItem copyright -> 0 -> owner -> 0 -> name -> 0 str type expected (type=type_error.str) copyright -> 0 -> owner -> 0 -> name str type expected (type=type_error.str) copyright -> 0 -> owner -> 0 -> abbreviation str type expected (type=type_error.str) copyright -> from value is not a valid integer (type=type_error.integer) copyright -> owner field required (type=value_error.missing))

Hi, @ronaldtse, is there an update for this issue? I see that the dependencies https://github.com/relaton/relaton/issues/108 and https://github.com/relaton/relaton-ieee/issues/32 are closed, and the reported discrepancies (https://github.com/ietf-tools/bibxml-service/issues/277, https://github.com/ietf-tools/bibxml-service/issues/250, https://github.com/ietf-tools/bibxml-service/issues/281.) are also closed. Thanks!

@ronaldtse is there anything left to do here?


Problems on integration with spring mvc

Data config
@Configuration
@MapperScan(basePackages = {"path-to-mapper"}, annotationClass = Mapper.class)
@EnableTransactionManagement
public class DataConfig {
    @Bean(destroyMethod = "close")
    public DataSource dataSource() {
        HikariConfig hikariConfig = new HikariConfig();
        // data-source config ..
        return new HikariDataSource(hikariConfig);
    }

    @Bean
    public DataSourceTransactionManager dataSourceTransactionManager() {
        return new DataSourceTransactionManager(dataSource());
    }

    @Bean
    public SqlSessionFactory sqlSessionFactory() throws Exception {
        SqlSessionFactoryBean sqlSessionFactoryBean = new SqlSessionFactoryBean();
        sqlSessionFactoryBean.setDataSource(dataSource());
        SqlSessionFactory sqlSessionFactory = sqlSessionFactoryBean.getObject();
        return sqlSessionFactory;
    }
}

*mapper.java and *support.java are successfully generated by mbg, when invoking mapper's(accessed via @Autowired query method, this error occurs:
 Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): ${mapper's query method}

looks like it complains about missing mapper xml, but it should not need it.
I've tried demo without spring and it works fine, do I miss some configurations?

My mistake, mybatis 3.4.1 not support default method, update with latest release fix this. Close it.


[UI] New Web Icon

Description
We need a more attractive web icon for the website.
Current Behavior
The current Web icon is minimalist.

i can help you create a minimal yet intrusive icon

Thankyou @Sauhard74 , I'm assigning this to you. Proceed!

Hey @Sauhard74 , are you still working on this issue? If not, please let me know so I can assign it to someone else. Thanks!

Hey I have made the webicon can you open it again as I was planning to post it
...sorry I was busy in some personal work that's why I missed it
Can you open it again ?

Please try to update now and then.

this is the jpg image of the webicon i designed
i can share the webp , SVG image , can you help me make a pr of this? i don't know how to make pr of no code works


[feat] Make job completion time available as a logging variable

The attribute is more accurate for the slurm scheduler that uses sacct (but not the squeue job scheduler). The accuracy for the rest is dependent on the polling rate of the running tasks.
Closes  #1044.

Hello @ekouts, Thank you for submitting the Pull Request!

In the file reframe/core/schedulers/slurm.py:

Line 313:80: E501 line too long (82 > 79 characters)

Do see the ReFrame Coding Style Guide

@jenkins-cscs retry kesch

@jenkins-cscs retry kesch

Codecov Report

Merging #1090 into master will decrease coverage by 0.05%.
The diff coverage is 70.27%.

@@            Coverage Diff             @@
##           master    #1090      +/-   ##
==========================================
- Coverage    91.7%   91.65%   -0.06%
==========================================
  Files          81       81
  Lines       11121    11150      +29
==========================================
+ Hits        10199    10220      +21
- Misses        922      930       +8

Impacted Files
Coverage Δ

reframe/core/logging.py
83.74% <100%> (+0.2%)
:arrow_up:

reframe/core/schedulers/local.py
100% <100%> (ø)
:arrow_up:

reframe/utility/os_ext.py
89.69% <100%> (ø)
:arrow_up:

reframe/core/schedulers/slurm.py
54.54% <33.33%> (-0.46%)
:arrow_down:

reframe/core/schedulers/pbs.py
67.5% <40%> (-0.45%)
:arrow_down:

unittests/test_launchers.py
92.72% <50%> (-0.8%)
:arrow_down:

reframe/core/schedulers/__init__.py
95.33% <92.3%> (-0.36%)
:arrow_down:

Continue to review full report at Codecov.

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

Code-wise this PR is ready. Only remaining thing is to document the new logging variable.

I changed the name of the logging variable to check_job_completion_time, since it is more precise.

@brandongc I will merge this one. You should now be able to use %(check_job_completion_time)s inside the log format to get the actual completion time of the job. The timestamp will be formatted based on the value of datefmt.


Error compiling tests

I could not get tests to compile with make test until modifying #includes in test/*.cpp to point up a directory.
For example, in proj_test.cpp: #include "../proj.h"

@cfperez fixed in a78646da09057b69f7ed5233e5f68513c099fa50


GLB Files Exported from Blender 3.5 don't work on iOS

Godot version
4.0.2 Stable
System information
Mac OS 13.3.1, iOS 16.4.1
Issue description
If I export a GLB or GLTF file from Blender 3.5 and import it into my Godot project either as a GLB referenced file or a new inherited scene, it visualizes and seems to work in the editor and playing on the mac. But when I try to export to iOS and build from XCode, I get the following traceback:
USER ERROR: File 'res://levels/level_002.gltf' can't be loaded, as it uses a format version (5) or engine version (4.0) which are not supported by your engine version (4.0).
at: open (core/io/resource_format_binary.cpp:992)
USER ERROR: File 'res://levels/level_002.gltf' can't be loaded, as it uses a format version (5) or engine version (4.0) which are not supported by your engine version (4.0).
   at: open (core/io/resource_format_binary.cpp:992)
USER ERROR: Failed loading resource: res://.godot/imported/level_002.gltf-28a69b6acc2b57b625c05f390e93a89f.scn. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:215)
USER ERROR: Failed loading resource: res://.godot/imported/level_002.gltf-28a69b6acc2b57b625c05f390e93a89f.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:215)
USER ERROR: Failed loading resource: res://levels/level_002.gltf. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:215)
USER ERROR: Failed loading resource: res://levels/level_002.gltf. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:215)
USER ERROR: res://levels/level_002.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://levels/level_002.gltf
at: load (scene/resources/resource_format_text.cpp:494)
USER ERROR: res://levels/level_002.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://levels/level_002.gltf
   at: load (scene/resources/resource_format_text.cpp:494)
USER ERROR: Failed loading resource: res://levels/level_002.tscn. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:215)
USER ERROR: Failed loading resource: res://levels/level_002.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:215)
USER ERROR: res://Main.tscn:11 - Parse Error: [ext_resource] referenced nonexistent resource at: res://levels/level_002.tscn
at: load (scene/resources/resource_format_text.cpp:494)
USER ERROR: res://Main.tscn:11 - Parse Error: [ext_resource] referenced nonexistent resource at: res://levels/level_002.tscn
   at: load (scene/resources/resource_format_text.cpp:494)
USER ERROR: Failed loading resource: res://Main.tscn. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:215)
USER ERROR: Failed loading resource: res://Main.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:215)
USER ERROR: Failed loading scene: res://Main.tscn
at: start (main/main.cpp:2998)
USER ERROR: Failed loading scene: res://Main.tscn
   at: start (main/main.cpp:2998)

I have opened and saved and visualized the gltf or glb file in Godot before building with XCode.
Steps to reproduce
Import a GLB exported from Blender 3.5 into Godot and add it to a scene
Build the project for iOS via XCode and try to run on a device
Minimal reproduction project
N/A
the additional settings to make a project build for xcode with my apple developer ID make it more difficult to upload a sample project

Thank you for your response.
While attempting to create a MRP, I believe I resolved my issue. I had originally started this project with an earlier beta of Godot 4 and after updating to the latest release version I was getting the error above.
I found that if I deleted my generated Xcode project and recreated it with the latest export templates from the latest released version then I no longer get the Traceback regarding an invalid GLB file.


Implement DisposeAsync instead of Dispose in event buses

Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration tests.
[x] I ensured that the PR title is good enough for the changelog.
[x] I labeled the PR.

As per Microsoft's official documentation:
"If you implement the IAsyncDisposable interface but not the IDisposable interface, your app can potentially leak resources. If a class implements IAsyncDisposable, but not IDisposable, and a consumer only calls Dispose, your implementation would never call DisposeAsync. This would result in a resource leak."
So I would recommend that our classes implement both IDisposable and IAsyncDisposable.
You can find the referenced information here: https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-disposeasync

As per Microsoft's official documentation: "If you implement the IAsyncDisposable interface but not the IDisposable interface, your app can potentially leak resources. If a class implements IAsyncDisposable, but not IDisposable, and a consumer only calls Dispose, your implementation would never call DisposeAsync. This would result in a resource leak."
So I would recommend that our classes implement both IDisposable and IAsyncDisposable.
You can find the referenced information here: https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-disposeasync

To be honest, the only time Dispose is called is when the application is shut down. So I think we wouldn't even need to implement any Disposable interface.
But still, you're probably right. If we do it, we should do it right. Good catch!


Docker image used no longer exists

Hi,
The docker image used no longer seems to exist at openmc-workshop/find-tbr. There is an image at ukaea/openmc-workshop, but it both doesn't have an ARM64 version, and seems out of date. I realise this was a project, and it was done 3 years ago, so I understand if there's no solution, but I thought I'd ask if there's a workaround/any advice on how to make a new version of the image.
Thank you!

Hello,
The ukaea/openmc-workshop image was provided to us for this project by @shimwell from UKAEA. Even though Jon no longer works at that organization, he is probably the best-qualified person to know whether Paramak MC, which was wrapped inside that container, supports the arm64 architecture or not. If nothing else, he should be able to at least point you to a viable alternative.
Hope this helps! Petr

I wonder if docker deletes unused images after a few months.
I think this was the location of the find_tbr docker image.
https://github.com/shimwell/simple_sphere_TBR_study
Happy to transfer it to this github org if that helps?
Perhaps the workshop image is not needed but I have the fusion energy neutronics workshop now and I guess this is the most similar docker image.
with all the tools but not tasks
ghcr.io/fusion-energy/neutronics-workshop:base
with all the tools
ghcr.io/fusion-energy/neutronics-workshop

Thanks, that's super helpful.
I can't find that find_tbr docker image at that link you provided, it returns a 404 error, but there's a similarly named repo in this org; did you move it already? Other option is I'm just being blind and it was there already. I'll try using the images in there.
I'll take a look at the fusion energy neutronics workshop and see if that helps too, thanks for the link!

I think docker deletes images that are not downloaded for a while. So I linked to the repo which was used to build the docker file. You could try building the docker image locally

Sorry, just to be clear, I mean that https://github.com/shimwell/simple_sphere_TBR_study returns a 404 error. I'll try building the image from this github org though, locally.

Thanks for that info, I think that is the way to go, try replacing line 3
https://github.com/ucl-tbr-group-project/simple-sphere-study/blob/f94d7fd56d4174430d595123d9be890a41e27a0b/docker_images/flask_docker_hub/Dockerfile#L3
With the new ghcr base image with this docker address
ghcr.io/fusion-energy/neutronics-workshop:base


Missing explanation of how to setup in IntelliJ

I would like to learn Kotlin with the help of the Koans but I'm new to IntelliJ and can not figure out how to setup the project such that I can execute something.
What I tried was first to open a project by specifying the directory of the Kotlin Koans. I expected a kind of project file to be found there. And indeed IntelliJ opened something and displayed a directory structure.
But no way to execute something. Then I tried to create a new Kotlin project in the directory. This allowed me to specify the JRE and the libs used. Seemed logical but still no way to execute something.
Then I tried to add a configuration. First I tried Kotlin. But I could not finish it because I don't know the main class. Then I tried to create JUnit based configuration. This gets me  "JUnit not found in module 'KotlinKoans'".
I'm still not able to use the code. Some words on how to set this up in IntelliJ would really be helpful. Otherwise Kotlin stays inaccessible to me.

Hi, Steffen. For playing with Kotlin Koans in IntelliJ IDea you can use the Kotlin Edu plugin: https://blog.jetbrains.com/kotlin/2016/03/kotlin-educational-plugin/
It contains the Kotlin Koans puzzle and everything is configured out of the box./
See the video for instructions: https://youtu.be/0ponbfQhESY
The information about this plugin is missed on the site and koan's documentation, thanks for pointing it out.


"transparent" not supported.

Bug
Using a radial gradient from rgba(14, 14, 14, 0.45) totransparent, it's not applying a transparent color, but it leaves a trace of the rgba color used.
Unexpected behavior
<Svg
          height="1000"
          width="1000"
          style={{ position: "absolute", left: -400, top: -350 }}
        >
          <Defs>
            <RadialGradient
              id="cardCircleGradient"
              cx="600"
              cy="600"
              rx="600"
              ry="600"
              fx="600"
              fy="600"
              gradientUnits="userSpaceOnUse"
            >
              <Stop offset="0" stopColor="transparent" stopOpacity="0" />
              <Stop
                offset="1"
                stopColor="rgba(14, 14, 14, 0.45)"
                stopOpacity="1"
              />
            </RadialGradient>
          </Defs>
          <Circle cx="600" cy="600" r="600" fill="url(#cardCircleGradient)" />
        </Svg>

This code creates a radial gradient that goes from grey to almost transparent. In my case, I have an image underneath the gradient that has a trace of the rgba color used.

Hello @BazingaZeta,
Are you still experiencing that issue?
Thank you


CacheControl added to ObjectAttrs

to set object Cache-Control header:
wc := storage.NewWriter(ctx, "bucket", "directory")
wc.ContentType = hdr.Header.Get("Content-Type")
wc.CacheControl = "public, max-age=31536000"

This has already been fixed and merged.
https://github.com/GoogleCloudPlatform/gcloud-golang/issues/107
https://code-review.googlesource.com/#/c/1900/
Though, it's weird that the commit is missing from the project. @rakyll did you by any chance forgot to sync the cache fix into this public repo?

Here's the public commit: https://github.com/GoogleCloudPlatform/gcloud-golang/commit/16dbcc9af7869d37fa7c8625733aab6628b7c2e4

Please, see the CONTRIBUTING document for details. We're using Gerrit for our code reviews. Please don't open pull requests against this repo, new pull requests will be automatically closed.


[Provisioning] Investigate Bottlerocket support as default AMI

Default to Bottlerocket instead of EKSOptimizedAMI. Needs to be tested, but we expect significant node bringup performance improvements.

I'm closing this - as the default is now Bottlerocket after PR 248


The Same Origin Policy disallows reading the remote resource

getting Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://<IP_ADDRESS>:1029/assets/dist/vendors/font-awesome/fonts/fontawesome-webfont.ttf?v=4.6.3. (Reason: CORS header 'Access-Control-Allow-Origin' missing)
from what I understand this comes from the server side i.e. lroca. any clues on how to prevent this?
I am also getting bad URI or cross-site access not allowed source: http://<IP_ADDRESS>:1029/assets/dist/vendors/font-awesome/fonts/fontawesome-webfont.woff?v=4.6.3 but I am not sure whether this is related

Maybe this will work. 🤔
lorca.New("", "", 480, 320, "--disable-web-security")


Paccmann wrapping

Implemented wrappers for PaccMann.

Closing because of potential conflicts in requirements that have to be fixed manually.


Use openstack extras

These changes are backwards incompatible as they add the openstack_extras
module as a hard dependency.

@cmurphy needs rebase


Shouldn't type (and perhaps size) be extensible in order to future proof?

It seems that the current table of types https://github.com/multiformats/multihash/blob/master/hashtable.csv has started to grow quite rapidly. If the choice of 0xb2 is reversed then it would be possible to use the high-bit with a UTF-8-like scheme to extend to multiple bytes as necessary, but obviously many other extension schemes would be possible.

It is already expandable as it is a varint. See https://github.com/multiformats/unsigned-varint

Cool, my bad.


[PL-47879] Uncomment 1.27.10 PL RN

Uncomment 1.27.10 PL RN
For reviewers, a preview is available:
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screenshot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e64c58d9452412ec84d4a8--harness-developer.netlify.app


fix(docs): add missing theme switcher label

Fix missing readable label on the theme switcher.

@ludofischer
Thanks buddy <3


Support connection max retries

Hi there,
What do you think about supporting an additional flag maxRetries inside connection.retry config?
Without a max retries, there is a change that the app is stuck in a loop reconnecting when there's something wrong externally.
With max retries, eventually the app would exit/crash and it would be easier to see that something is wrong.

I think that's a good suggestion, although I would probably call it attempts, and default to zero for infinite.
{
  "vhosts": {
    "v1": {
      "connection": {
        "retry": {
          "attempts": 100,
          "min": 1000,
          "max": 60000,
          "factor": 2,
          "strategy": "exponential"
        }
      }
    }
  }
}

It's a shame I called the interval properties just "min" and "max" :(

I'm going to close this - it's not something I've found time to get around to, plus it should be easy to hook in to the broker.error event and report repeated disconnections, or gracefully shutdown the application after a specific number of applications.


Jupyterkerneltemplate in quickstart can not deploy successfully

When I tried to deploy a custom kernel according to the quickstart,
kubectl apply -f ./examples/elastic-with-custom-kernels/kubeflow.tkestack.io_v1alpha1_jupyterkerneltemplate.yaml
I encountered the following error:
error when creating "./examples/elastic-with-custom-kernels/kubeflow.tkestack.io_v1alpha1_jupyterkerneltemplate.yaml": JupyterKernelTemplate in version "v1alpha1" cannot be handled as a JupyterKernelTemplate: strict decoding error: unknown field "spec.template.metadata.app", unknown field "spec.template.metadata.component"

When I tried to deploy a custom kernel according to the quickstart, kubectl apply -f ./examples/elastic-with-custom-kernels/kubeflow.tkestack.io_v1alpha1_jupyterkerneltemplate.yaml I encountered the following error: error when creating "./examples/elastic-with-custom-kernels/kubeflow.tkestack.io_v1alpha1_jupyterkerneltemplate.yaml": JupyterKernelTemplate in version "v1alpha1" cannot be handled as a JupyterKernelTemplate: strict decoding error: unknown field "spec.template.metadata.app", unknown field "spec.template.metadata.component"

I deleted these two fields and successfully deployed it, but when selecting a kernel, I get the error HTTP 500: Internal Server Error (Error attempting to connect to Gateway server URL ‘http://jupytergateway-elastic.default:8888’. Ensure the gateway URL is valid and the Gateway instance is running).


Failure to Compile

Some bits have changed in the past 2 years and at least with Rustc 1.42.0, the build fails due to the bindgen dependency not able to be built. Looks like some of its dependencies have gone away too. What would be the effort to update the bindgen dependency to the most recent version?
   Compiling syntex_syntax v0.58.1
error[E0423]: expected function, tuple struct or tuple variant, found struct `ast::Name`
   --> /home/jeremy/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.58.1/src/symbol.rs:146:27
    |
146 |                       name: ast::Name($index),
    |                             ^^^^^^^^^
...
165 | / declare_keywords! {
166 | |     // Invalid identifier
167 | |     (0,  Invalid,        "")
168 | |
...   |
231 | |     (56, CrateRoot, "{{root}}")
232 | | }
    | |_- in this macro invocation

   Compiling env_logger v0.4.3
error: aborting due to previous error

Hi,
Did you find a solution ?

Thanks for reporting this. I just released version 0.4.0, which does compile. It also no longer does the C - Rust translation at compile time, which should make things faster.


Making configurations for minimum and maximum total scrap value per level usable

The game, as at the moment of this commit, does not use either SelectableLevel.minTotalScrapValue and SelectableLevel.maxTotalScrapValue in the logic of spawning scrap in the level, thus rendering any changes of these values in the configurations of each level useless.
In order to make them used, a transpiler patch is required in the spawn scrap method which influences the logic of spawning scrap with a notion of a maximum scrap value it can generate up to in the level.
Fixes #82

@WhiteSpike, would you consider releasing this patch as a standalone mod, similar to the now outdated LethalLevelLoader Fixed? I just spent almost two hours configuring these options and am fairly disappointed to discover those configs do nothing, although understand why these options aren't currently a priority for LethalLevelLoader itself (although that admittedly makes me question why they exist).


total storage size is not visible

I don't see total amount of bytes stored in my account. I believe, this information would be useful and should be present in the top line of every page. I think, we should implement it like this:
interface Docs {
  long size();
}

@yegor256 thanks, I added the "bug" tag

@ggajos this is your task

@yegor256 many thanks for the report, I topped your account for 15 mins, transaction 000-f2a4687d

PR #107

@yegor256 please close if that's all here, thanks

@ggajos you implemented something that doesn't give any value to me. I still don't see the size in my web interface, as a user. See http://www.yegor256.com/2015/02/12/top-down-design.html

@yegor256 ok, is it wrong that it will be implemented as part of dependent PDD? should I wait till is going to be impl. and then put note here?

@ggajos it's not wrong. what's wrong is that you started to implement this feature from the bottom, not from the top. first thing you should have done here is to make sure the user sees the number on his/her web page. once it's done, you can create puzzle(s) and close the task. just my article explains. see the point?

@yegor256 thank you, yes, it's obvious; what can we do now? Should I create another PR or we can wait for PDD to be implemented afterwards?

@ggajos I would suggest to create another PR

PR #136

there is a puzzle in this code 102-3d5e0e72, we'll resolve it later

@ggajos 7 days already, in 48 hours I will re-assign; -30 added to your rating, current score is: +3314

@karato PR #136 merged.

@ggajos it takes too long, don't work any more. -60 to your rating, your total score is +3254

@yegor256 please close if that's all here, thank you

@ggajos thanks!

@yegor256 last puzzled solved 102-3d5e0e72/#209


community: Update aerospike-vector-search client to 1.0.0 to support aerospike-vector-search server 0.9.0

Thank you for contributing to LangChain!
Description:
Updated the docs notebook to use the latest client and updated the docker compose config files to support the latest server release.
I also remove --snapshot-warn-unused and asyncio_mode from the pyproject.toml ini_options. These options were causing some "unknown" flag issues while using a supported version of pytest.
 pytest --version
pytest 7.4.4

@baskaryan, please have a look when you have a moment

@baskaryan, I know this is a busy repo with lots of PRs. Do you have any idea when this kind of PR will get merged?

@efriis

This isn't mergable in its current state because

failing ci
naming changes in library are breaking changes (for anyone passing metadatas= currently)

want to reopen with just the docs changes telling people to use the new client? From my skimming, it looks like the existing integration will work with the client.


Brevent Server quits after screen locked on Sony Xperia XZ1 Compact(Android 9)

don't allow "access data" when plug usb. tap "deny" or Back.


Quest not showing up in Modpack

Hello so here is what is happening and why I think it might be happening.
Quests do not show up on any villagers or wandering traders.
Mods that may conflict in modpack: Charm, moreVillagers, numismatic-overhaul
I think that one of these mods by adding new villagers/villages or the new currency system are interfering with the ability for villagers to distribute quests.
(Also nameplate mod is acting funky again just in general)

Is there maybe a certain way to pull villagers from a mod such as the more villager mod or Charm mod

It was just an issue I managed to solve by reordering some things in the config folder.

Sounds odd to me but what do you mean with nameplate?

Sounds odd to me but what do you mean with nameplate?

Don't worry about it, you addressed that issue already in the nameplate mod. It was just that issue where the custom entities would be reset every time you started minecraft in 1.18.2 version.


Tower of Hanoi

Implement Tower of Hanoi using Python and put it in the Recursion folder.

assign this one to me.


Fix example data ingest #127

Codecov Report

Merging #128 into stable will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           stable     #128   +/-   ##
=======================================
  Coverage   80.69%   80.69%
=======================================
  Files          23       23
  Lines         715      715
=======================================
  Hits          577      577
  Misses        138      138

Continue to review full report at Codecov.

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

Great! Thanks @brucebcampbell


Only read file contents after checking extension

Fixes #55.

Thanks for the PR! This is a good fix. I have just a couple questions, to follow.

I'd like to test my changes in commit d7d4087 on your big 7z file. Do you mind fetching the commit and taking a look? Or providing a comparable file I can include in my test vault?

Yup, that appears to fix the issue. My vault now works correctly with this plugin and it's set accordingly in the cache. Thanks.

Awesome. Thanks again for your help.


fix: prevent error when react extension was already created

Summary:
Currently the react-native-gradle-plugin does not allow the "react" plugin extension to already exist when running its apply block. I had a use-case where I wanted to create a new gradle plugin which would take care of applying the react plugin including setting some of its options. Without the change in this PR, this would currently turn into a build failure.
Changelog:
[ANDROID] [FIXED] - prevent error when the "react" extension was already created by another gradle plugin
Test Plan:

@zeyap I saw that you've imported this PR. I made some additional changes to get the CI green - just a few minor things I missed in my initial commit. Let me know if you notice anything.

This doesn't seem to compile.
FAILURE: Build failed with an exception.

* Where:
Build file '/root/react-native/packages/react-native/ReactAndroid/build.gradle.kts' line: 784

* What went wrong:
Script compilation errors:

  Line 784: react {
            ^ Unresolved reference: react

  Line 787:   libraryName = "rncore"
              ^ Unresolved reference: libraryName

  Line 788:   jsRootDir = file("../src")
              ^ Unresolved reference: jsRootDir

@NickGerleman Were you testing with the latest commit in this PR? Can you show me how you tried to test that and I can give that a try as well

All tests were also green, so I expected things to just work, no?

This failed CircleCI tests that should run on PR.

Oh okay.. well I will have another look at this (and will open a new PR soon) but I'm using this already as a patch and it is working fine for me locally.


Let LineSegmentDetector output line segment coordinates in float precisi...

...on, as supported by the LSD algorithm.
Linked to ticket feature #3890:
Currently, the method LineSegmentDetector::detect returns the detected line segment coordinates with int precision (in a Vec4i object). The LSD algorithm and this implementation internally however work with subpixel precision. Only at the very last moment, the double results are cast to ints.
The type of "lines" output parameter of LineSegmentDetector::detect can be changed from Vec4i to Vec4f.

ok, sorry for delay. :+1:

My bad. I've updated the branch.

thank you! :+1:


Detekt Build: configuration cache breaks --scan

Expected Behavior
Build scan published based on the existence of --scan flag.
Observed Behavior
(some irrelevant logs are removed so the repro is clean)
Ensure that ./.gradle/configuration-cache/ is empty.
Output of second repro, because that's the most annoying.
./gradlew --scan
Works as expected, tries to publish build scan to Gradle (not private GE).
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks:
Type-safe project accessors is an incubating feature.

> Task :help

Welcome to Gradle 7.6.

To run a build, run gradlew <task> ...

To see a list of available tasks, run gradlew tasks

To see more detail about a task, run gradlew help --task <task>

To see a list of command-line options, run gradlew --help

For more detail on using Gradle, see https://docs.gradle.org/7.6/userguide/command_line_interface.html

For troubleshooting, visit https://help.gradle.org

0 problems were found storing the configuration cache.

See the complete report at file:///P:/projects/contrib/github-detekt/build/reports/configuration-cache/2arwbhktyyefedvjsmav3t9rh/jfig33bfackb5f00ymq15dhg/configuration-cache-report.html

BUILD SUCCESSFUL in 5s
17 actionable tasks: 1 executed, 16 up-to-date

Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no] no

Gradle Terms of Service not accepted.

You must answer 'yes' to publish a build scan when prompted on the command line or accept the Gradle Terms of Service in a buildScan configuration block.

For more information, please see https://gradle.com/help/plugin-terms-of-service.

Alternatively, if you are using Gradle Enterprise, specify the server location.
For more information, please see https://gradle.com/help/plugin-enterprise-config.

Configuration cache entry stored.

./gradlew --scan
Works as expected, tries to publish build scan to Gradle (not private GE), but config from cache.
P:\projects\contrib\github-detekt>
Configuration cache is an incubating feature.
Reusing configuration cache.

> Task :help

Welcome to Gradle 7.6.

To run a build, run gradlew <task> ...

To see a list of available tasks, run gradlew tasks

To see more detail about a task, run gradlew help --task <task>

To see a list of command-line options, run gradlew --help

For more detail on using Gradle, see https://docs.gradle.org/7.6/userguide/command_line_interface.html

For troubleshooting, visit https://help.gradle.org

BUILD SUCCESSFUL in 2s
1 actionable task: 1 executed

Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no] no

Gradle Terms of Service not accepted.

You must answer 'yes' to publish a build scan when prompted on the command line or accept the Gradle Terms of Service in a buildScan configuration block.

For more information, please see https://gradle.com/help/plugin-terms-of-service.

Alternatively, if you are using Gradle Enterprise, specify the server location.
For more information, please see https://gradle.com/help/plugin-enterprise-config.

Configuration cache entry reused.

gradlew
BAD behavior, tries to publish build scan to Gradle even thought --scan is not present.
Configuration cache is an incubating feature.
Reusing configuration cache.

> Task :help

Welcome to Gradle 7.6.

To run a build, run gradlew <task> ...

To see a list of available tasks, run gradlew tasks

To see more detail about a task, run gradlew help --task <task>

To see a list of command-line options, run gradlew --help

For more detail on using Gradle, see https://docs.gradle.org/7.6/userguide/command_line_interface.html

For troubleshooting, visit https://help.gradle.org

BUILD SUCCESSFUL in 2s
1 actionable task: 1 executed

Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no] no

Gradle Terms of Service not accepted.

You must answer 'yes' to publish a build scan when prompted on the command line or accept the Gradle Terms of Service in a buildScan configuration block.

For more information, please see https://gradle.com/help/plugin-terms-of-service.

Alternatively, if you are using Gradle Enterprise, specify the server location.
For more information, please see https://gradle.com/help/plugin-enterprise-config.

Configuration cache entry reused.

Steps to Reproduce
Simple, but destroys configuration cache (build scan not published)

rm -rf ./gradle/configuration-cache
gradlew (no tasks, or any tasks; it's just easier without tasks)
Observe: Calculating task graph as no configuration cache is available for tasks:
Observe: Configuration cache entry stored.
Observe: "build scan ..."

if you're a contributor: A build scan was not published as you have not authenticated with server 'ge.detekt.dev'.
if you're a collaborator: a build scan published to GE.

gradlew --scan (same tasks as in previous step)
Observe: same as above, exactly the same, even though the --scan parameter was given.

@VitalyVPinchuk observed this behavior. (He didn't clear the config cache, that's only needed to make it consistent, it will happen to any contributor who executes a new set of tasks with --scan.)
Simple, but destroys configuration cache (build scan forcefully published)

rm -rf ./gradle/configuration-cache
gradlew --scan (no tasks, or any tasks; it's just easier without tasks)
Observe: Calculating task graph as no configuration cache is available for tasks:
Observe: Configuration cache entry stored.
Observe: "build scan ..."

if you're a contributor:Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no] yes

Gradle Terms of Service accepted.

Publishing build scan...

if you're a collaborator: a build scan published to GE.

gradlew (same tasks as in previous step)
Observe: same as above, exactly the same, even though the --scan parameter was NOT given.

More complex, but most of the cache is kept.
Same repro as above, except:

don't delete the configuration cache
choose a set of Gradle tasks that you've never executed, for example gradlew :random-module:compileKotlin.

Context
@VitalyVPinchuk is messing about with Detekt codebase and finds these gems. 😎 (normal, expected usage)
Your Environment

Version of detekt used: N/A 0341753f8a7468a7fff5ff37e545f6bceee1f6ba on main
Version of Gradle used (if applicable): 7.6 0341753f8a7468a7fff5ff37e545f6bceee1f6ba on main
Gradle scan link (add --scan option when running the gradle task): :trollface:
Operating System and version: Windows / Mac Ventura 13.2 (22D49)
Link to your project (if it's a public repository): 0341753f8a7468a7fff5ff37e545f6bceee1f6ba

I only skimmed this because there's a lot of detail, but why is this a bug for detekt? Isn't it an issue with Gradle and/or the enterprise plugin?

In my understanding it is caused by our conditional usage of the startParameters in settings.gradle.kts.

Looks like it may be a Gradle issue after all, someone else has reported what looks like the same thing with a very basic project: https://github.com/gradle/gradle/issues/24023
If you agree that this needs to be fixed upstream we should close this as there's nothing we can do to address it.

Only seems to partially cover; I'm almost certain our conditional commands just add extra on top of the original issue, lets see how they triage it and what they say.

Hi, @TWiStErRob I checked this locally. It is not reproducing. Seems like this got fixed by gradle update

Indeed, gradle/gradle#24023 has been fixed in 8.1.


S3 Connector Fail to connect to public S3 endpoint when .env file doesn't exist

Confirmed that it's a local setup issue


chore: upgrade charts

updated chart jx3/slack from 0.0.36 to 0.0.38

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

kube
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

kube
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test kube

tls
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test tls

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

kube
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test kube

tls
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test tls

gsm
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

kube
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test kube

tls
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test tls

gsm
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test gsm

vault
abbb980c76b7228c132ae599f71bfcb3ecfb0413
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


[gfm] rendering problem with blockquote and code block

Code Mirror Version : 5.52.2.
I have a rendering problem when I mix blocquote and code with the gfm mode.
Good display
This code
> ~~~
> int void() {
>
> }
> ~~~

Render this

Bad display
This code
> ~~~c
> int void() {
>
> }
> ~~~

Render this

You can see that the strikethrough takes precedence over the code block, but only when the language is specified.

Hello, any information about this problem ?


[Thieving] Stalls

Unsure but just tested it and some of the stall's don't work

Originally posted by @CloudS3c in https://github.com/AlterRSPS/Alter/issues/48#issuecomment-1221276701

Works fine for me, as shown here:


Mise a jour manifest

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.9 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Thanks for all of your suggest. I close this pull request and I'm opening the new request number #200909 to replace this one.


Make async

Solves issue #1
Tested with my configuration and works.
Edit:

Setup of component not speeded up yet
fixes state jiggeling, if multiple device profiles are triggered simulataniously

Awesome. I'll test it with my setup as well.


improve phototour getitem speed considerably

the original implementation is very slow, the problem lies in the following code:
self.labels==pair_ids[0]
This is a linear search of randomly selected label id in a huge array, and this is done for every data item in each batch.
My machine is 24 cores i7-6800k + 32 GB RAM + Nvidia 1070Ti 8GB RAM. With the old code, the training script spends most of its time fetching data, GPU usage is nearly 0%, even with 8 parallel workers in DataLoader. the processing speed is only  4.5 batch/sec.
After the fix, with  only 1 worker in DataLoader, it processes 27 batch/sec, and GPU usage stays steadily at 50%.

Thanks for the improvement! I have to admit no effort was done to optimise things in this code, so any such improvement is very welcome.


Add (dynamic) Footer to all pages

A section of (dynamic, markdown) content visible on ALL pages.
Signaling "authorship", "responsibility" and "ownership" of the data on the website/instance.

Section with margin above it
All dynamic content from the sheet (from 1 field)

list-items
links to internal URLs
links to external URLs (WhatsApp-Helpdesk, mailto-link? feedback-form? etc..)
static copyright notice, etc.

Contains a logo (image included via Markdown/HTML (for now))

### Tasks
- [x] Add dynamic footer-component
- [x] Add content from ENV
- [x] Add content from Sheet
- [x] Add 'real' "About"-page from ENV
- [x] Add 'real' "Privacy"-page from ENV
- [x] Prepare all ENVs with static About/Privacy pages

See: https://github.com/rodekruis/helpful-information/blob/main/CHANGELOG.md#2024-06-03-v2406


Add Polish scale

Initial draft changes to add the polish scale a.k.a. kurtyka scale
implements: #172
TODO:

[ ] Add tests

I've noticed that there is also a file called json.routes
Do I need to update both?

This looks like you're on the right path!  Let us know if you need help.

@musoke thank you!
It might take me a while since I'm picking typescript as I go on my spare time.
Will let you know when it is ready for review


[FEATURE] Directly load NAM files in Python for reamping

Hello Steven,
first of all thanks for that brilliant project!
Maybe I am not finding the right function call (or I am too dumb), but wanted to check if its possible to load the .nam files directly in python for doing automated reamping of the models.
Would like to generate a dataset of different amp and IR combinations to do a feature extraction on the results and play around with umap or tsne if its possible to build a good visualisation/searching on a large set of amps.
Best regards
Phil

Good question. Have a look at #233, which tracks this. There's a PR for loading weights for WaveNet that's been merged already which might get you some mileage in the short-term.
Going to close this as a duplicate and we can continue on the other Issue 👍🏻


Fix AutoReverseDiff deprecation warning

Fixes a deprecation warning by switching to the new form of the constructor and the type parameter of ADTypes.AutoReverseDiff introduced in ADTypes 1.5.
Ref https://github.com/TuringLang/Turing.jl/issues/2302

I think the failure is unrelated, but we should fix that before making another release.


/fwhitelist crashes server

Whenever you type the command: /fwhitelist (bedrock player's name), it crashes the server. It actually does whitelist them and adds their name to the whitelist.json, though.
Log
crash-2021-04-25_13.40.08-server.txt

Should be fixed by 2720e0.


Feature Request: tgweb-server, support providing svg'z' file

browser can GET svg files from tgweb-server, but it cannot GET svgz files.

@kuroda
Thanks for your quick fix.
On 0.5.5, browser can get svgz, but following happens.

svgz is gzip commpressed, so we need 'Content-Encoding: gzip' header on server response ?

@pojiro
Could you provide a sample svgz file?

@kuroda
Could you ask @megumi-takakura ? She made 'pattern_sikaku.svgz' for POPUP_STORE.


[metric] useful metric for this task

Metric implementations in tensorflow

[x] PSNR
[x] SSIM
[x] MSE

Done!


rounding slow?

Hi,
I've been loving maker.js for some generative laser cutting work. I've been trying to understand how to make it faster and something I've noticed is that by far, the round() call stands out in my performance debugging in chrome.
I looked and noticed that the code is doing a lot of string manipulation. I replaced the first line of it with
    if (accuracy === void 0) { return (n * 1000000) / 1000000 }

and it seems like it cut the running time of my code in half. Is there a major reason why this solution wouldn't work for all cases?

well, the answer is "because it doesn't work" - it definitely breaks some calculations

Hi David, thanks for the feedback. Yes the round() function is called the most and should be optimized further. I wasn’t thrilled to use strings, but it works to get the desired result most of the time. I’m happy to take a PR. One thing I would like is a lot more unit tests around it.
One thing you may try is to overwrite makerjs.round with your own function in isolated cases, then revert it afterwards.
Also I hope there may be other areas in your code that might be optimized. If you are using the Playground for example, it definitely can be inefficient because it’s running the code fresh each time a parameter changes. In your own code, you can definitely apply a lot of caching of things you know won’t need recalculation.

Hey Dan, thanks for the reply.
Do you have an intuition why a Math.round scaling solution doesn't work?
What lead you to this implementation?
Is makerjs.round mainly being called for approximate floating point
near-equality? In that case, why not have a nearEquals function that checks
"Math.abs(a -b ) < epsilon" which would be a lot less work than using
string?
On Thu, Jun 6, 2019 at 6:17 PM Dan Marshall<EMAIL_ADDRESS>wrote:

Hi David, thanks for the feedback. Yes the round() function is called the
most and should be optimized further. I wasn’t thrilled to use strings, but
it works to get the desired result most of the time. I’m happy to take a
PR. One thing I would like is a lot more unit tests around it.
One thing you may try is to overwrite makerjs.round with your own function
in isolated cases, then revert it afterwards.
Also I hope there may be other areas in your code that might be optimized.
If you are using the Playground for example, it definitely can be
inefficient because it’s running the code fresh each time a parameter
changes. In your own code, you can definitely apply a lot of caching of
things you know won’t need recalculation.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/maker.js/issues/412?email_source=notifications&email_token=AADMZMB477U7CJHYYVXRZ23PZGZLZA5CNFSM4HVLCIPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXETKJY#issuecomment-499725607,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADMZMAQAARNUU53AHZCFL3PZGZLZANCNFSM4HVLCIPA
.

--
David Blackman
creative technologist & wandering
help me find my purpose http://purpose.blackmad.com

There's a few places that should be optimized for the near equality using the technique you mentioned, instead of rounding.
The string-based implementation was added in #254 to provide expected results. See the discussion at https://stackoverflow.com/questions/11832914/round-to-at-most-2-decimal-places-only-if-necessary and note that the accepted answer is not correct for many examples. Specifically see the case for the number 1.005, which should be rounded to 1.01 when you want 2 decimal places.


How to deal with radio buttons?

How do I create  group of radio buttons with proper labeling? Right now this is what I do:
![bildschirmfoto 2015-03-23 um 08 54 05](https://cloud.githubusercontent.com/assets/819012/6776066/43321da8-d13a-11e4-97b5-36a1b52d8082.png)
Männlich
<input id="gender-1" name="gender" type="radio" class="required" value="male" />
Weiblich
<input id="gender-2" name="gender" type="radio" class="required" value="female" />

And this is what it looks like:

I am seeing this too. It seems like line breaks or something are being injected and preventing the label from being right next to the radio button - this does not happen with checkboxes though

I had the same problem.
Outside the jQuery steps it would show up correctly.
This is not quite a complete answer; sorry.
What made it work was to use the class "radio"
i am using bootstrap css
http://getbootstrap.com
where "radio" class exists and is defined. Just as "checkbox" class...
so if you had a radio class:

[your radios and labels here inside]

And probably the styles defined here overcome the Steps.
hope it helps.


Searching associated: enum field

Imagine, that we have got Model with enum field :state and AssociatedModel. When we are trying to attach AssociatedModel to Model from rails_admin interface, the search query fails: it tries to match string and integer.
This bug hides in lib/rails_admin/adapters/active_record.rb within build_statement method:
when :enum
  return if value.blank?
  ["(#{column} IN (?))", Array.wrap(value)]
end

This piece of code generates something like ...state IN ('Search string')
It must return from method in case if value.blank? || value.is_a?(String) or something like that.

We are also experiencing the same issues for a role enum method and being able to search.  Any updates?  Is this still a bug?
cc @raghugjoshi

Thats crazy. It did not work for me and I came to a thread where they say: "Add a method enum_role and this fixes your problem". Now I am here and I have to remove my method again. A bit confusing, but in the end it worked. Can someone explain in what version this ENUM chaos was fixed ?

We are still having problems getting the search work with enums...

field :your_enum, :enum do
enum do
[ %w(first_option 0), %w(second_option 1), %w(third_option 2) ]
end
end
this will fix the issue with filtering your enums and it will search by the integer key but problem persists in blank and present


Short versions of from/fromNow

It would be really great to have a short version of the from and fromNow methods. So in addition to:
var a = moment([2007, 0, 29]);
var b = moment([2007, 0, 28]);
a.from(b) // "a day ago"
a.from(b, true) // "a day"

…you could call this:
a.fromShort(b) // "1d ago"
a.fromShort(b, true) // "1d"

This would be awesome.  I'm doing a metrics dashboard and I want to overlay the time since last transaction on the chart but I'd rather it say "3s" instead of "a few seconds ago"

So it was a pretty easy change:
var defaultRelativeTime = {
    future : 'in %s',
    past   : '%s',
    s  : '%ds',
    m  : 'a minute',
    mm : '%d minutes',
    h  : 'an hour',
    hh : '%d hours',
    d  : 'a day',
    dd : '%d days',
    M  : 'a month',
    MM : '%d months',
    y  : 'a year',
    yy : '%d years'
};


unable to download from packt

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.29. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2017.05.29

Before submitting an issue make sure you have:

[x ] At least skimmed through README and most notably FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.05.29
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

hello Sir
i am getting error while download course from packt but my account is working fine on browser i checked other courses also and getting same error evan previous courses which i downloaded via youtube-dl now getting error also here is error detail
PS C:\Users\vicky\downloads> youtube-dl --verbose -o '~/downloads/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)
s.%(ext)s' https://www.packtpub.com/mapt/video/web-development/9781788290616 --username<EMAIL_ADDRESS>--password 123
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-o', '~/downloads/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ex
t)s', 'https://www.packtpub.com/mapt/video/web-development/9781788290616', '--username', 'PRIVATE', '--password', 'PRIVA
TE']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.05.29
[debug] Python version 3.5.2 - Windows-10-10.0.14393-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[PacktPubCourse]<PHONE_NUMBER>616: Downloading JSON metadata
[download] Downloading playlist: Learn to Write Functional Javascript [Video]
[PacktPubCourse] playlist Learn to Write Functional Javascript [Video]: Collected 17 video ids (downloading 17 of them)
[download] Downloading video 1 of 17
[PacktPub] None: Downloading webpage
[PacktPub] Logging in as<EMAIL_ADDRESS>[PacktPub] Downloading Authorization Token
[PacktPub] 24237: Downloading JSON video
[PacktPub] 24237: Downloading JSON metadata
[debug] Invoking downloader on 'https://d1ft11egbn8l.cloudfront.net/Learn to Write Functional Javascript/Package/videos/
video1_1.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2QxZnQxMWVnYm44bC5jbG91ZGZyb250Lm5ldFwvTGVhcm4lMjB0
byUyMFdyaXRlJTIwRnVuY3Rpb25hbCUyMEphdmFzY3JpcHRcL1BhY2thZ2VcL3ZpZGVvc1wvdmlkZW8xXzEubXA0IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNz
VGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNDk2MjU4NjY2fX19XX0_&Signature=IeuD-BjuD3JxSqU6CFZz2avccQ56pYIxA08yT9t830W4Dzga-yOFRWMNG
syAg-yJ~I2p0mgZ8~JkVSbVfkcWqrB1bp5m5lXctT64xoB7ua5gslwvTUR~ABEadSob~WozaFk9bJWcu9tJaUpZyezGr-opeFQP9jyqb4zi~SnTcX4_&Key-
Pair-Id=APKAJTJLPJQL5PVZ47FA'
[download] C:\Users\vicky\downloads\Learn to Write Functional Javascript [Video]\1 - Understanding Foundations of Functi
onal Programming\The Course Overview.mp4 has already been downloaded
[download] 100% of 31.12MiB
[download] Downloading video 2 of 17
[PacktPub] 22286: Downloading JSON video
ERROR: This video is locked. Use --username and --password or --netrc to provide account credentials.
Traceback (most recent call last):
File "c:\users\vicky\appdata\local\programs\python\python35\lib\site-packages\youtube_dl\YoutubeDL.py", line 760, in e
xtract_info
ie_result = ie.extract(url)
File "c:\users\vicky\appdata\local\programs\python\python35\lib\site-packages\youtube_dl\extractor\common.py", line 43
3, in extract
ie_result = self._real_extract(url)
File "c:\users\vicky\appdata\local\programs\python\python35\lib\site-packages\youtube_dl\extractor\packtpub.py", line
94, in _real_extract
self.raise_login_required('This video is locked')
File "c:\users\vicky\appdata\local\programs\python\python35\lib\site-packages\youtube_dl\extractor\common.py", line 71
3, in raise_login_required
expected=True)
youtube_dl.utils.ExtractorError: This video is locked. Use --username and --password or --netrc to provide account crede
ntials.
PS C:\Users\vicky\downloads>

plz put this login url in python file
https://www.packtpub.com/mapt/login

i did check now with the account that you have sent before and i can't access the video in the browser, i get This video is locked.

because that my old account is expired
i sent you another working account detail in email
plz check


pkg-export-helm: Correct name of manifest template

The deployment manifest of Habitat kind should be named after its kind,
"habitat" and not the chart's name.
Signed-off-by: Zeeshan Ali<EMAIL_ADDRESS>

I'm not opposed to the change, but why?

The deployment manifest of Habitat

Think you meant to say the manifest file of the Habitat resource should be named after Habitat resource kind and not the chart's name.
But same question as @krnowak, why? :)

@krnowak maybe not so important if version from chart name is removed but currently we have the full name of the chart as the manifest file name, including version and release, which looks bad and too redundant.

Also this seems like the right way to go. Even the operator examples are named like this. The other charts I've looked at, don't name manifest template files after the package version either.

Pushed the commit with more justification and fix that @LiliC recommended.


Document intended semantics behavior on each Flutter widget - whether standalone or building block

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Context: I ran into TextField merging its semantics into the parent, resulting into an incorrect semantics tree. This has already been filed as an issues at: https://github.com/flutter/flutter/issues/26336.
Issue: One of the challenges I run into with Flutter component documentation is that it's not clear for each widget whether it is intended to be

standalone (and provides Semantics(container: true)) or
a building block (provides Semantics, but without container: true, intending to be merged with its parent)

This has to be determined by trial and error or digging to various abstractions in the code. Sometimes it's clear from the examples given, but this is confusing for cases like IconButton whose behavior depends on whether theme.useMaterial3 is enabled:

theme.useMaterial3=true: emits container: true via another widget
theme.useMaterial3=false: doesn't emit container: true (possibly a bug)

This means that if the app uses theme.useMaterial3=true, but tests have that set as false (using the default theme), then tests don't test the correct semantics behavior - I realized this pitfall by running into it last week.
One worrisome thing is that when these are set unintentionally one way or another, I'm not sure how easily they can be fixed after the fact without potential accessibility breakage (which is not visually obvious): e.g., if users use TextField or IconButton as building-blocks, but if the flutter team intend them to be standalone widgets, then fixing the bug so that they become stand-alone might break existing semantics.
Request
Ideally, the distinction between standalone or building block would be stated up front in each Flutter widget's description.

Thanks for the report @marcianx
Can you provide us an example (code implementation) that shows the highlighted issue, that way we can properly address this issue.

@darshankawar Could you elaborate what you need from me? I'm raising concerns about the documentation, pointed out a related issue that the confusion manifests as and I've pointed to various parts of the code for IconButton as well and the consequences of this.

Thanks for the feedback @marcianx. I was wondering if any code sample could be provided that shows the current behavior you are seeing, so that it would be useful for the team.

The code sample in https://github.com/flutter/flutter/issues/128709 points to this issue in a Dart comment. Simplifying:Column(
  children: [
    RichText(text: TextSpan(text: 'Foo')),
    const TextField(maxLines: null, minLines: 8),
  ],
)

results in a single SemanticsNode with textField: true and semantics label Foo instead of having separate nodes for RichText and TextField. It seems that both of these widgets lack container: true. As noted, the pre-existing issue for TextField is https://github.com/flutter/flutter/issues/26336. The intended behavior (whether these are intended to be stand-alone or building-block widgets) should be documented.

For IconButton's inconsistency, I saw the instances where my team had done:CustomTooltip(
  child: IconButton(icon: Icon(Icons.Add)), onPressed: () {}),
)

You can replace CustomTooltip with Semantics(tooltip: 'Foo', child: ...).
This was incorrect because with theme.useMaterial3=true, IconButton emits Semantics(container: true, ...) and the tooltip generates its own semantics. So I wrote a test to catch it:expect(
  tester.semantics.simulatedAccessibilityTraversal().map((node) =>
      (node.label, button: node.hasFlag(SemanticsFlag.isButton))),
  [('Add', button: true)],
);

but the test didn't fail like it should have. That's because the test didn't set theme.useMaterial3=true, and thus IconButton didn't emit container: true on its Semantics. I fixed it by updating all the tests to set an appropriate theme.

Again, I'm not asking about fixing these particular bugs in the widgets, but documenting the intention of stand-alone vs building-block on every Flutter widget provided, because it's critical to building with these widgets with correct accessibility semantics. Too often, I've run into the UI that looks right, but has serious accessibility issues because this distinction is not clear to folks building using these widgets.

@chunhtai Are you the right person for this?

yes I agree we should have more info on how different widget would participate in semantics tree, but I don't have a particular strategy to achieve this at the moment. Updating one or two widgets won't help much, we would need a more systematic solution


No support for DiscordShardedClient?

It looks like InteractiveService has no support for DiscordShardedClient. Do you plan to add it?

it's very much possible to create your own simply by modifying the interactive service. In-fact it's already present in one of my other bots.
https://github.com/PassiveModding/Passive-BOT/blob/master/PassiveBOT/Context/InteractiveService.cs

I have now added official support for it https://github.com/PassiveModding/Discord.Addons.Interactive/commit/4c8a3dfce38c9eb0c1fb9a3246b5081fae493d9c


Print official release tag or git hash in rialto logs

Summary: Printing release tag or git hash in rialto logs
Type: Fix
Test Plan: Unit tests and Full Stack
Jira: RIALTO-518

https://jenkins.code.rdkcentral.com/job/github-triggered/50301/ started

https://jenkins.code.rdkcentral.com/job/build-component/89607/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/50303/ started

https://jenkins.code.rdkcentral.com/job/build-component/89608/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15116/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15117/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/21882/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/21883/ started.

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/41969/

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/41970/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/41979/

Job for AI/job/AI_BUILDS/job/AI-Trigger-PullRequests started: https://pv-jen015.uk2.scp.bskyb.com/job/AI/job/AI_BUILDS/job/AI-Trigger-PullRequests/274/

Job for AI/job/AI_BUILDS/job/AI-Trigger-PullRequests started: https://pv-jen015.uk2.scp.bskyb.com/job/AI/job/AI_BUILDS/job/AI-Trigger-PullRequests/277/

https://jenkins.code.rdkcentral.com/job/github-triggered/50476/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15211/ started

https://jenkins.code.rdkcentral.com/job/build-component/89725/ started.

Job for AI/job/AI_BUILDS/job/AI-Trigger-PullRequests started: https://pv-jen015.uk2.scp.bskyb.com/job/AI/job/AI_BUILDS/job/AI-Trigger-PullRequests/278/

https://jenkins.code.rdkcentral.com/job/github-triggered/50478/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15212/ started

https://jenkins.code.rdkcentral.com/job/build-component/89726/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/21978/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/21979/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/50480/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15213/ started

https://jenkins.code.rdkcentral.com/job/build-component/89727/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/21980/ started.

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42096/

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42097/

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42098/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42112/

https://jenkins.code.rdkcentral.com/job/github-triggered/50508/ started

Job for AI/job/AI_BUILDS/job/AI-Trigger-PullRequests started: https://pv-jen015.uk2.scp.bskyb.com/job/AI/job/AI_BUILDS/job/AI-Trigger-PullRequests/281/

https://jenkins.code.rdkcentral.com/job/build-component/89756/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15227/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/21998/ started.

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42155/

https://jenkins.code.rdkcentral.com/job/github-triggered/50517/ started

https://jenkins.code.rdkcentral.com/job/build-component/89770/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15232/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/22005/ started.

Job for AI/job/AI_BUILDS/job/AI-Trigger-PullRequests started: https://pv-jen015.uk2.scp.bskyb.com/job/AI/job/AI_BUILDS/job/AI-Trigger-PullRequests/283/

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42165/

https://jenkins.code.rdkcentral.com/job/github-triggered/50522/ started

https://jenkins.code.rdkcentral.com/job/build-component/89774/ started.

Job for AI/job/AI_BUILDS/job/AI-Trigger-PullRequests started: None

https://jenkins.code.rdkcentral.com/job/github-triggered/50524/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15235/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/15236/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/22008/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/22009/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/50526/ started

https://jenkins.code.rdkcentral.com/job/build-component/89776/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/50528/ started

https://jenkins.code.rdkcentral.com/job/build-component/89777/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/22010/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/22011/ started.

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42170/

build-rpi4-hybrid Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/1152e6e02adbc6bb425b98ae38dae490

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42171/

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42172/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42179/

Sanity tests for ['RPI4 Mediaclient'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42180/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/42182/


Autocomplete/Suggestions don't work

I thought it might be because of some conflict with another extension, but even on a clean profile with no extensions installed, the suggestions are not showing.

Yeah, it's not working. I thought maybe I made a mistake in the last update, but even the old version extension's autocomplete can't work too. Confusing bug.

Same thing here, tried to disable all extension with only Scriptmonkey enabled with no luck((


Support for Sub Tiers and Prime subscriptions

Integrate new sub tiers and prime subscription messages

Added Prime subscriptions in latest commit
https://github.com/remcotroost/SubNotifier/commit/155d08dfee4484968542b2cbf0c1999324d610cc

Prime subscriptions is supported now. Subscription tiers will be added in next release

Issue Closed
Prime subscriptions are now supported. I've decided against notifying sub tiers (see reasoning in comment above).
This issue can be re-opened on a new suggestion to add sub tiers.


Change raft header file names

Update header file names to latest raft change
local test passes.
fix https://github.com/NVIDIA/spark-rapids-ml/issues/24

Signed-off-by: Allen Xu<EMAIL_ADDRESS>

LGTM, not sure if we would like to target dep repo to a specific commit/tag to avoid issue like this

That's a good point! I checked raft's tags, there's no tag that includes their latest change. I think we can specify a tag after 21.12 release.


Add Group beam search

Ticket 123782

Personally, I would create a dedicated sample for beam search which will also show how to use beam_idx parameter, while keeping "default" llm sample as a simple as possible (with states, with greedy search)

Included in https://github.com/openvinotoolkit/openvino.genai/pull/81


v1 monitoring chart does not deploy on local k3 cluster.

Rancher server version - 5a60e25bd7
Setup - HA setup with K3 (v1.19.2+k3s1) local cluster - 2 control planes and 1 worker node
Steps to reproduce the problem:
Try to install v1 monitoring.
After enabling monitoring, nothing happens. No workloads relating to monitoring app gets deployed.
It stays in "Monitoring API is not ready"  state.
Note - Installing v2 monitoring succeeds in local k3s cluster.

Bumping back to 2.5.1 as its any k3s cluster, this would include rke2.

Actual issue. This feature will remain in 2.5?(display statistic about load, memory and network in deployment info)

@maggieliu

@wirwolf that effort is being tracked in https://github.com/rancher/dashboard/issues/812

@jiaqiluo Can we check if this is still an issue or if it's working now? cc: @sowmyav27

@jiaqiluo Can we check if this is still an issue or if it's working now? cc: @sowmyav27

Monitoring v1 (0.2.0) is working on the local k3s cluster (v1.19.7+k3s1) now.
The k3s cluster contains

2 server nodes
3 worker nodes
MySQL v5.7.26 on AWS as the database

Steps:

install rancher:master-head 59ebdc2 into the k3s cluster by using Rancher:v2.5.5 chart and passing RANCHER_IMAGE_TAG=master-head
enable both Cluster and Project Monitoring v1 0.2.0 in the local cluster

Results:

the monitoring v1 is enabled successfully
the monitoring apps are installed and active in the local cluster
the cluster pages shows metrics as expected
P0 checks for both Cluster and Project Monitorin are passed