Tween method with different numerical types (int X float) for initial and final value parameters fails without warning

Godot version
4.0.beta17
System information
windows 10
Issue description
When using tween_method and providing different numerical types for the initial and final values, like int for initial and float for final or vice versa, the tweening doesn't happen at all. The initial value will be used for every call except the last one, where the final value will be used.
I get it that all tween methods are generic and that receive plain variants as values, regardless of the type of the property or the type of the parameter of the function being tweened, and that it could be undesired to spam error messages for each unsuccessful tween iteration, but at least in the special case of method tweening different numeric types for the initial and final value, maybe it would be better to convert both values to float to prevent the user being confused not knowing why the tween doesn't work only to, later, notice that the initial and final value have different types and that the method tweener should use the same numerical type for both initial and final value.
Please note that in fact it seems that all tween attempts with an incorrect type fails without warning, but the least obvious of them is certainly when converting int>float or float>int, where most users would expect to work.
Steps to reproduce
Try to use a method tweener where the initial value is an int and the final value is a float or the other way around. The screenshot bellow showcases this on line 8:
tween.tween_method(asdf, 0, 10.0, time) # will print 'typecode:2;value:0' in every call, except the last one which will be 'typecode:3;value:10'

Minimal reproduction project
TweenMethodWithDifferentInitialAndFinalValueTypes.zip

Hi! I am using Godot 3.5.2stable.
The cast is now fixed and the tween works in the editor.
But it does not work in the editor and throws a cast error in exports in the logs.
It's obviously not that big of a deal and proper casting in code fixes everything but I just wanted to let you know!

But it does not work in the editor and throws a cast error in exports in the logs

You said "it does not work in the editor" but you probably meant "it doesnt work in the exported build". Please notice that this bug was originally opened for godot 4 and you are experiencing a godot 3 bug. Tween implementation is different in godot 4 and 3. The fix did KoBeWi did on https://github.com/godotengine/godot/pull/73178 needs to be backported to godot 3 to solve the problem.

Oh sorry you're right I meant "it doesn't work in the exported build". Thanks!


Update plugins.mk to fix missing double-quotes

I ran into problems building a plugin where some of the source files have spaces in the name. Unfortunately I don't control these filenames as they are pulled in from a 3rd party open-source project. Regardless of filename sanity, it seemed that the issue was caused by inconsistent quoting of file paths in the plugins.mk file. This PR resolves that issue.
Add double-quotes to fix problems when packaging files with spaces in the filenames

Traditionally I think names or directories with spaces are going to cause more breakage later on. I'm not sure... then this code needs to go to core and then somebody adds an offending file name there... mhhh.

It is of course the project's decision, you have coding guidelines, etc. But if you look at the file, the quoting is applied inconsistently. In some places filenames are quoted and in some places they are not. I am just providing consistency :)

@TotalGriffLock sorry, just needed a bit of time to cope with reality... merged, thanks! :)

@TotalGriffLock FWIW, I looks like core didn't have this deficit or I'm not done with morning coffee. Both are a possibility. ;)


support surfaces of revolution with 6 arguments

Now that GQ's are supported this is probably possible

Some GQs are supported, yes... A workflow was proposed to more fully support other GQ types and simplify them for some gray areas created by the numerical tolerances used when performing the linear algebra for characterization and coefficient determination, but this has not yet been implemented. Right now only a few types are supported. (He says at risk of adding a task to his list this week...)


one-to-one video call

hello, is there any example of using this media server to do one to one video call?
i tried emit offer event from client 1 to media server, and media server emit answer to client 2, but theres no luck the video not showing, but ontrack event called
but if i emit answer to self (client 1) the video showing
could someone help me?
thank you

Please, start a discussion instead https://github.com/medooze/media-server-node/discussions


Introducing Module-NMC controller (#503)

This PR introduces a new controller, that is responsible for reconciliation of NMC based on the data in Module and Node The following are the main points:

It watches for changes in Modules, Nodes (labels, becoming
schedulable) and Jobs belonging owned by Modules (in order to
reschedule once Build/Sign job are finished)
Per reconciled Module, go over all the nodes in the cluster
and reconcile their NMCs based on the Module/Node state

Changes in the PR:

adding functions to filter package that are resposible for filtering
the events (nodes. modules, jobs) and finding out which modules
should be reconciled
changing the NMC handler logic a little, adding verification for
container image presence in case module should be enable.
Module-NMC Reconciliation is being done both in case Kernel Mapping
exists and in case it does not exists ( solves the garbage
collection flow)

This PR does not include Module status updates based on NMC updates

Fixes 692

/lgtm


HTML "select" tags have too much indentation

HTML "select" tags have too much indentation.
Input
The code looked like this before beautification:
<select class="col-4 form-input" ng-model="info.dateRange" ng-init="info.dateRange = 'last24'">
        <option selected="selected" value="last24">{{"dashboard_records_text_7" | translate}}</option>
        <option value="last7">{{"dashboard_records_text_8" | translate}}</option>
        <option value="custom">{{"dashboard_records_text_9" | translate}}</option>
    </select>

Expected Output
The code should have looked like this after beautification:
<select class="col-4 form-input" ng-model="info.dateRange" ng-init="info.dateRange = 'last24'">
    <option selected="selected" value="last24">{{"dashboard_records_text_7" | translate}}</option>
    <option value="last7">{{"dashboard_records_text_8" | translate}}</option>
    <option value="custom">{{"dashboard_records_text_9" | translate}}</option>
</select>

Actual Output
The  code actually looked like this after beautification:
<select class="col-4 form-input" ng-model="info.dateRange" ng-init="info.dateRange = 'last24'">
        <option selected="selected" value="last24">{{"dashboard_records_text_7" | translate}}</option>
        <option value="last7">{{"dashboard_records_text_8" | translate}}</option>
        <option value="custom">{{"dashboard_records_text_9" | translate}}</option>
    </select>

Environment
OS: Mac
Version tested with: 1.6.7
Settings
Example:
var options = {
    "wrap_line_length": 80,
    "indent_handlebars": true
};

select is an unformatted tag by default. This isn't a bug. Add the following to your options:
	"unformatted": ["a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "data",
		"datalist", "del", "dfn", "em", "embed", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "map",
		"mark", "math", "meter", "noscript", "object", "output", "progress", "q", "ruby", "s", "samp", "small", "span",
		"strong", "sub", "sup", "svg", "template", "textarea", "time", "u", "var", "video", "wbr", "text", "acronym",
		"address", "big", "dt", "ins", "strike", "tt"]

+1

Fixed in 1.8.0-rc4 using the new inline setting.
@HookyQR
Unformatted no longer needed.

Any timeline for a 1.8.0 release. Would love to update the VS Code extension, but waiting for the -rc to drop off.


How to insert multiple rows at once using sql... ?

Given an array of 3 row values, how could I insert all the 3 rows in a single sql command?
import { neon } from "@neondatabase/serverless";

const sql = neon(process.env.DATABASE_URL);

const data = [
  ["david", 34],
  ["sam", 12],
  ["jane", 25]
];

// What should `values` be here?

await sql`INSERT INTO users (name, age) VALUES ${values}`

Your example would look like this:
await sql`
  INSERT INTO users (name, age)
  VALUES
    (${data[0][0]}, ${data[0][1]}),
    (${data[1][0]}, ${data[1][1]}),
    (${data[2][0]}, ${data[2][1]})
`

But this is probably only a good idea if you have a fixed (or at least fixed-length) set of values to insert.

For more complex bulk inserts e.g. of arbitrary row lengths, you might find it useful to use a package like sql-template-tag, e.g. for your example using bulk() like here: https://www.npmjs.com/package/sql-template-tag#bulk
(I'm familiar with sql-template-tag as it's used + re-exported by the Prisma ORM, but there may be other similar packages to do the same job.)

I'm not sure this package will work here, since our driver (like node-postgres) expects dollar-numbered placeholders.
Look out when doing this sort of thing that you don't exceed the maximum of 65,535 parameters that Postgres can handle. https://klotzandrew.com/blog/postgres-passing-65535-parameter-limit/

TIL about the parameter limit 🙏
Basic example works at least, here's how to pass a dollar-numbered placeholder string and values array to Neon:
import { neon } from "@neondatabase/serverless";
import sqlTemplate from "sql-template-tag";

const neonQuery = neon(process.env.DATABASE_URL);

const query = sqlTemplate`SELECT ${"hello, sql'; injection-safe world"}`;
await neonQuery(query.text, query.values);

You can generate the numbered placeholders ($1, $2, etc.) dynamically like this:
 const sql = neon(process.env.DATABASE_URL);
  const data = [
    ['david', '34'],
    ['sam', '12'],
    ['jane', '25'],
  ];

  // Creates the string: ($1, $2), ($3, $4), ($5, $6)
  const placeholders = data
    .map((_, rowIndex) => `($${rowIndex * 2 + 1}, $${rowIndex * 2 + 2})`)
    .join(', ');

  const response = await sql(
    `INSERT INTO users (name, age) VALUES ${placeholders}`,
    data.flat(),
  );

Note that the second argument to sql must be a flattened array (data.flat()), as each value will correspond sequentially to the numbered placeholders: the first value matches $1, the second value matches $2, and so on.


Images HTML

Hello,
Im having problems showing images on HtmlLabel. On iOs the images are loaded but on Android no, its just appear a blue square.
Is there any solution for this?
Thanks.

Actually I was wrong. I was able to implement it here #84
It's in v4.1.0


feat: specs generation for ConstructProps

currently generates deCDK specs for ConstructProps (defined as Properties in the spec) for all constructs of the aws_lambda module
script runs during build process on post-compilation step, and outputs the specs to a file.

@mluk-aws For my understanding, could you explain the purpose of the specs file and how it's different to the JSON Schema and jsii assembly?
I'm guessing it will be used to generate docs, but even if that's indeed the case would like to understand a little bit more how it will be used.

@mluk-aws For my understanding, could you explain the purpose of the specs file and how it's different to the JSON Schema and jsii assembly?
I'm guessing it will be used to generate docs, but even if that's indeed the case would like to understand a little bit more how it will be used.

@mrgrain It will be consumed here: https://github.com/cdklabs/cdk-ops/pull/2216.


[docs]: Added some examples of components in the homepage

Before submitting the PR, please make sure you do the following

[x] Read the Contributing guide
[x] Prefix your PR title with [@svelteui/core], [@svelteui/actions], [@svelteui/motion], [@svelteui/core], [core], or [docs].
[x] This message body should clearly illustrate what problems it solves.

Tests

[x] Run the tests with npm test and lint the project with yarn lint or just run yarn repo:prepush and check to see if it's passing.

This PR adds a section to the homepage where you can see some of the components in action. I'm not yet satisfied with the design but I wanted to see your opinion on this and if it can be made better

Done!

Also, is there any way to change the size and color of the icon in Tabs.Tab? I tried to put the icon in a slot but it didn't work

Also, is there any way to change the size and color of the icon in Tabs.Tab? I tried to put the icon in a slot but it didn't work

Hum, you're right, it should pass that as slots props. I'll add those in a fix Monday

Also, is there any way to change the size and color of the icon in Tabs.Tab? I tried to put the icon in a slot but it didn't work

If you sync with next-minor, it should work now by passing iconProps={{ color: ..., size: ... }} to Tabs.Tab

Thank you for this contribution! You have been a major contributor and the docs are looking good due to your work, thank you! :ok_hand: :raised_hands:

Thanks!


Using meteorhacks:cluster my 8 core processor is running the job 8 times

I just started testing the Meteorhack:cluster package and the multi-core flag, but when I started up my project syced-cron started running all the jobs 8 times (8 core machine).

Hey @jamesgibson14 - Did you find a workaround to this? If not, can you provide a repo with a reproduction?

No I didn't, I just turn off multi-core for now.
On Mon, Sep 14, 2015 at 3:41 PM, Zoltan Olah<EMAIL_ADDRESS>wrote:

Hey @jamesgibson14 https://github.com/jamesgibson14 - Did you find a
workaround to this? If not, can you provide a repo with a reproduction?
—
Reply to this email directly or view it on GitHub
https://github.com/percolatestudio/meteor-synced-cron/issues/56#issuecomment-140213626
.

I have the same problem. ...!

Any updates on this problem ?

I had the same issue I managed to circumvent by checking the worker number and the environment:
if (parseInt(process.env.CLUSTER_WORKER_ID, 10) === 1 || process.env.NODE_ENV === 'development') { your tasks}
It's dirty, I'm ashamed to show such code but it worked so far.

Can we have an update. I'm not really sure but I have 4 clusters on the same computer doing a mongodump.  It looks like some of them don't do the task and let only one do the tasks.
I can see this message << SyncedCron: Not running "SaveDatabase" again. >>

@ko0stik I am using meteorhacks:cluster package as well on a 2 core system.
To prevent the jobs from being scheduled twice I used the code you posted.
Just wondering if you've had any issues with it? Seems to do the trick

Hey @sferoze. I stopped using meteorhacks:cluster a while ago when we switched to Galaxy. But it perfectly worked during the whole time we've been using it (until June 2016 I'd say).

Same problem and same solution over here.
In fact, We've noticed that process.env.CLUSTER_WORKER_ID is present in all workers but one (the first launched I guess) so this is working for us:
if (!proces.env.CLUSTER_WORKER_ID) {
  // code here runs only in one instance
}


Submit a Cloud Definition

Do NOT copy/paste a definition from somewhere else. Read about the word you want to define and come up with your own definition. Copy/Paste submissions will be closed and not added.
Fill out the JSON with your submission:
    {
    "word": "Canary release",
    "content": "A canary release is a deployment strategy used in software development, in which a new version of an application is released to a small group of users before it is made available to the wider user base
",
    "learn_more_URL":"https://cloud.google.com/blog/products/gcp/how-release-canaries-can-save-your-bacon-cre-life-lessons",
    "tag":"devops",
    "abbreviation": "",
    "author_name":"David K. WOGLO",
    "author_link": "https://www.linkedin.com/in/kodjovi-david-woglo"
    }

Fill out the JSON below with the following.
Word (REQUIRED)
The word you are defining. Check this URL for all words we currently have.
Content (REQUIRED)
The definition. No more than 3 sentences.
learn more URL (REQUIRED)
Website where people can visit to learn more about the word.
tag (REQUIRED and select one)
Tech category the word fits in. Options:

compute
security
service
general
analytics
developer tool
web
networking
database
storage
devops
ai/ml
identity
iot
monitoring
cost management
disaster recovery

abbreviation (OPTIONAL)
If the word is commonly abbreviated, please provide it. For example, command line interface is often abbreviated as CLI.
author name (REQUIRED)
Your name.
author link (REQUIRED)
The URL you want your name to link to.

Hi there, the definition you provided is more an example of canary release instead of definition. Could you give it another try please.

yes sure !

Do NOT copy/paste a definition from somewhere else. Read about the word you want to define and come up with your own definition. Copy/Paste submissions will be closed and not added.
Fill out the JSON with your submission:
    {
    "word": "Canary release",
    "content": "A canary release is a deployment strategy used in software development, in which a new version of an application is released to a small group of users before it is made available to the wider user base
",
    "learn_more_URL":"https://cloud.google.com/blog/products/gcp/how-release-canaries-can-save-your-bacon-cre-life-lessons",
    "tag":"devops",
    "abbreviation": "",
    "author_name":"David K. WOGLO",
    "author_link": "https://www.linkedin.com/in/kodjovi-david-woglo"
    }

Fill out the JSON below with the following.
Word (REQUIRED)
The word you are defining. Check this URL for all words we currently have.
Content (REQUIRED)
The definition. No more than 3 sentences.
learn more URL (REQUIRED)
Website where people can visit to learn more about the word.
tag (REQUIRED and select one)
Tech category the word fits in. Options:

compute
security
service
general
analytics
developer tool
web
networking
database
storage
devops
ai/ml
identity
iot
monitoring
cost management
disaster recovery

abbreviation (OPTIONAL)
If the word is commonly abbreviated, please provide it. For example, command line interface is often abbreviated as CLI.
author name (REQUIRED)
Your name.
author link (REQUIRED)
The URL you want your name to link to.

Great job! Thank you, I've added this.


Update ClusterBase AssociateWithGroup method

Problem
Current implementation is tailor made for testing group communication.
Proposed Solution
make this function more versatile by handling all possible scenario. For example :

Handle the fact that we may not have a CASE session to the device.

Reference to code in question: https://github.com/project-chip/connectedhomeip/blob/ddb7ce76a2459b7d3a2f9434dbf86c7e5b1a6a6d/examples/chip-tool/templates/partials/test_cluster.zapt#L270
It looks like both group and non-group cases are handled, so perhaps this can be closed:
 {{#if isGroupCommand}}
        cluster.AssociateWithGroup({{>device}}, groupId);
 {{else}}
        cluster.Associate({{>device}}, endpoint);
{{/if}}

Removing tag v1_triage_split_4

@turon Wrong code quoted.
Problem is still present in master. The code assumes that the DeviceProxy object will have a valid SecureSession which is always true in the context of a yaml test but won't be in other context (e.g. inside Chip-tool ? ).
So this issue is still valid and still need to be fixed
CHIP_ERROR ClusterBase::AssociateWithGroup(DeviceProxy * device, GroupId groupId)
{
    // TODO Update this function to work in all possible conditions Issue #11850

    CHIP_ERROR err = CHIP_NO_ERROR;

    mDevice = device;
    if (mDevice->GetSecureSession().HasValue())
    {
        // Local copy to preserve original SessionHandle for future Unicast communication.
        Optional<SessionHandle> session = mDevice->GetExchangeManager()->GetSessionManager()->CreateGroupSession(
            groupId, mDevice->GetSecureSession().Value()->AsSecureSession()->GetFabricIndex());
        // Sanity check
        if (!session.HasValue() || !session.Value()->IsGroupSession())
        {
            err = CHIP_ERROR_INCORRECT_STATE;
        }

        mGroupSession.Grab(session.Value());
    }
    else
    {
        // something fishy is going on
        err = CHIP_ERROR_INCORRECT_STATE;
    }

    // Set to 0 for now.
    mEndpoint = 0;

    return err;
}

This might need to be fixed before #1818

Not needed after all. #1818 was done without this changes.


select_option does not deselect sibling <option>s

Apologies in advance for not having the time to write a patch or repro case, but I wanted to report this issue to get it off my plate. I may be able to come back in the week with a repro/patch, but for now I'm a bit swamped.
Here's the issue:

I've got a form being rendered dynamically client-side with a JavaScript template
It's got a <select> element with no multiple attribute present (i.e. single select)
One of its <option>s is selected at render time to reflect the present value on a model object

The generated markup looks like (using puts page.html):
<select name="status" id="status_input">
    <option selected="selected">Normal</option>
    <option>Flagged</option>
    <option>Disabled</option>
</select>

Now let's say a test makes a selection using select 'Disabled', from: 'status'. Here's what the markup looks like after that:
<select name="status" id="status_input">
    <option selected="selected">Normal</option>
    <option>Flagged</option>
    <option selected="selected">Disabled</option>
</select>

See the problem? This interferes with form submission, resetting the form, and all number of actions. I inspected the code for select_option in capybara proper:
def select_option
  if select_node['multiple'] != 'multiple'
    select_node.find(".//option[@selected]").each { |node| node.native.remove_attribute("selected") }
  end
  native["selected"] = 'selected'
end

However, in capybara-webkit, we see:
def select_option
  check_visibility(self)
  invoke "selectOption"
end

This is where I'm in a bit over my head, since I'm not familiar with the architecture of capybara-webkit; however, I'm going to guess that this ends up using the selectOption method in capybara.js:
selectOption: function(index) {
  this.nodes[index].selected = true;
  this.nodes[index].setAttribute("selected", "selected");
  this.trigger(index, "change");
},

My proposal is that capybara-webkit's Node#select_option be modified to perform a similar check to that seen in capybara proper.

I take back two things:

I had enough time to figure out a fix
It's not the lack of the unselect loop that's the problem

Will follow up with a pull request when I'm back from dinner.

About to cut pull request, will be tracking in that issue instead.


Bug: Problem with dependencies

Terms

[X] I have read the guidelines for Contributing to Roots Projects
[X] This request is not a duplicate of an existing issue
[X] I have read the docs and followed them (if applicable)
[X] I have seached the Roots Discourse for answers and followed them (if applicable)
[X] This is not a personal support request that should be posted on the Roots Discourse community

Description
The main error message:
composer update
Composer is operating significantly slower than normal because you do not have the PHP curl extension enabled.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires squizlabs/php_codesniffer ^3.6.0 -> satisfiable by squizlabs/php_codesniffer[3.6.0, 3.6.1, 3.6.2, 3.x-dev].
- squizlabs/php_codesniffer[3.6.0, ..., 3.x-dev] require ext-xmlwriter * -> it is missing from your system. Install or enable PHP's xmlwriter extension.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.3/cli/php.ini
- /etc/php/7.3/cli/conf.d/10-opcache.ini
- /etc/php/7.3/cli/conf.d/10-pdo.ini
- /etc/php/7.3/cli/conf.d/20-calendar.ini
- /etc/php/7.3/cli/conf.d/20-ctype.ini
- /etc/php/7.3/cli/conf.d/20-exif.ini
- /etc/php/7.3/cli/conf.d/20-fileinfo.ini
- /etc/php/7.3/cli/conf.d/20-ftp.ini
- /etc/php/7.3/cli/conf.d/20-gettext.ini
- /etc/php/7.3/cli/conf.d/20-iconv.ini
- /etc/php/7.3/cli/conf.d/20-json.ini
- /etc/php/7.3/cli/conf.d/20-phar.ini
- /etc/php/7.3/cli/conf.d/20-posix.ini
- /etc/php/7.3/cli/conf.d/20-readline.ini
- /etc/php/7.3/cli/conf.d/20-shmop.ini
- /etc/php/7.3/cli/conf.d/20-sockets.ini
- /etc/php/7.3/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.3/cli/conf.d/20-sysvsem.ini
- /etc/php/7.3/cli/conf.d/20-sysvshm.ini
- /etc/php/7.3/cli/conf.d/20-tokenizer.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-xmlwriter to temporarily ignore these required extensions.
Steps To Reproduce
USING POP OS and LOCAL by Flywheel:
With this tutorial:
https://www.youtube.com/watch?v=Mfm-qUjbrA4&ab_channel=DenverCoder
Local by flywheel
https://localwp.com/releases/6.1.8/
The environment in LOCAL:
PHP 7.3.5
WordPress version:
5.8.3
-CLEAR EVERYTHING BEFORE STARTING-
Remove php:
https://askubuntu.com/questions/59886/how-to-completely-remove-php
Install php 7.3
https://computingforgeeks.com/how-to-install-php-ubuntu-debian/
Install composer: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-20-04
Installing node.js:
https://ashokma.com/2019/02/18/install-nodejs-and-npm-pop-os/
Install yarn:
https://classic.yarnpkg.com/en/docs/install#debian-stable
Install PHP_CodeSniffer
https://packagist.org/packages/squizlabs/php_codesniffer
Expected Behavior
That it is working.
Actual Behavior
I get the error message added above.
Relevant Log Output
No response
Versions
Pop!_OS 21.10

Started with a clean install again with this:
https://docs.roots.io/getting-started/ubuntu-linux/#global-dependencies
And after all with this:

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases
Edit Configuration File
Open your SSH configuration file with the command: sudo gedit /etc/ssh/sshd_config.
https://tecadmin.net/how-to-install-nvm-on-ubuntu-20-04/
https://ashokma.com/2019/02/18/install-nodejs-and-npm-pop-os/
https://classic.yarnpkg.com/lang/en/docs/install/#debian-stable
https://www.vagrantup.com/downloads
https://linuxize.com/post/how-to-install-pip-on-ubuntu-20.04/
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-20-04

I still got error message like this:
Creating a "roots/sage" project at "./newdawn"
Installing roots/sage (9.0.10)

Installing roots/sage (9.0.10): Extracting archive
Created project in /home/peterteszary/Local Sites/newdawn/app/public/wp-content/themes/newdawn
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- illuminate/support is locked to version v5.6.39 and an update of this package was not requested.
- illuminate/support v5.6.39 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension.
Problem 2
- squizlabs/php_codesniffer is locked to version 2.9.2 and an update of this package was not requested.
- squizlabs/php_codesniffer 2.9.2 requires ext-simplexml * -> it is missing from your system. Install or enable PHP's simplexml extension.
Problem 3
- illuminate/support v5.6.39 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension.
- illuminate/console v5.6.39 requires illuminate/support 5.6.* -> satisfiable by illuminate/support[v5.6.39].
- illuminate/console is locked to version v5.6.39 and an update of this package was not requested.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.3/cli/php.ini
- /etc/php/7.3/cli/conf.d/10-opcache.ini
- /etc/php/7.3/cli/conf.d/10-pdo.ini
- /etc/php/7.3/cli/conf.d/20-calendar.ini
- /etc/php/7.3/cli/conf.d/20-ctype.ini
- /etc/php/7.3/cli/conf.d/20-exif.ini
- /etc/php/7.3/cli/conf.d/20-fileinfo.ini
- /etc/php/7.3/cli/conf.d/20-ftp.ini
- /etc/php/7.3/cli/conf.d/20-gettext.ini
- /etc/php/7.3/cli/conf.d/20-iconv.ini
- /etc/php/7.3/cli/conf.d/20-json.ini
- /etc/php/7.3/cli/conf.d/20-phar.ini
- /etc/php/7.3/cli/conf.d/20-posix.ini
- /etc/php/7.3/cli/conf.d/20-readline.ini
- /etc/php/7.3/cli/conf.d/20-shmop.ini
- /etc/php/7.3/cli/conf.d/20-sockets.ini
- /etc/php/7.3/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.3/cli/conf.d/20-sysvsem.ini
- /etc/php/7.3/cli/conf.d/20-sysvshm.ini
- /etc/php/7.3/cli/conf.d/20-tokenizer.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-simplexml --ignore-platform-req=ext-mbstring to temporarily ignore these required extensions.

Hey @peterteszary. The issues you're seeing are related to your local environment, not directly Sage. You are missing a number of PHP extensions which are required to install the dependencies of Sage.
From your report:

Install php 7.3
https://computingforgeeks.com/how-to-install-php-ubuntu-debian/

Please make sure that you follow the steps detailed in "Step 3: Installing PHP 7.3 Extensions". The example they've provided looks like a good starting point, it should get you most of the required extensions.
You can see the missing extensions in the output from Composer, in case you're still missing some.

I have tried everything but it is just not working.
Any scripts or advice?
Thanks

There's a command for installing dependencies in the article linked above — check "Step 3: Installing PHP 7.3 Extensions" and check the example there ("See example below").
Either way this is not a Sage bug, but rather seems to fall under the "personal support request" category, so if you're still having issues, you should probably open a thread for it at https://discourse.roots.io/.

Hello again,
So, it is not working because of Pop OS. It has some compatibility issues with this OS. I have installed Sage in a docker file and it is kind of working now. I've just started to explore it, but now I could install it at least.


Nested Builder.load_string load : AttributeError

Versions

Python: Python 3.7.0
OS: Windows 7 Professional SP1
Kivy:  1.10.1
Kivy installation method: pip

Description
I tried to add a component A to component B as a child, like this:
A:
    B:

both A and B are built with Builder.load_string
B has reference 'bt1' defined and refered in B.init
but I've got
AttributeError: 'Base' object has no attribute 'bt1'

Code and Logs
I've simplify most of my code to simplist case of this error
test.py
from __future__ import print_function
from base import Base
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder

Builder.load_string('''
<User>:
    base: base
    Button:
        text: 'test'
    Base:
        id: base
''')

class User(BoxLayout):
    def __init__(self, **kwargs):
        super(User, self).__init__(**kwargs)
        print('calling from test : {}'.format(self.base.bt1.text)) # this line is ok

if '__main__' == __name__:
    from kivy.app import App

    class test_app(App):
        def build(self):
            return User()

    test_app().run()

base.py
from __future__ import print_function
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder

Builder.load_string('''
<Base>:
    bt1: bt1
    bt2: bt2
    orientation: 'vertical'
    Button:
        id: bt1
        text: 'base 1'
    Button:
        id: bt2
        text: 'base 2'
''')

class Base(BoxLayout):
    def __init__(self, **kwargs):
        super(Base, self).__init__(**kwargs)
        print('calling from base : {}'.format(self.bt1.text)) # This line cause the problem

log
[INFO   ] Logger: Record log in C:\Users\Administrator\.kivy\logs\kivy_18-08-13_13.txt
[INFO   ] Kivy: v1.10.1
[INFO   ] Python: v3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
[INFO   ] Factory: 194 symbols loaded
[INFO   ] Image: Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] Window: Provider: sdl2
[INFO   ] GL: Using the "OpenGL" graphics system
[INFO   ] GL: GLEW initialization succeeded
[INFO   ] GL: Backend used <glew>
[INFO   ] GL: OpenGL version <b'4.4.0 - Build <IP_ADDRESS>60'>
[INFO   ] GL: OpenGL vendor <b'Intel'>
[INFO   ] GL: OpenGL renderer <b'Intel(R) HD Graphics P530'>
[INFO   ] GL: OpenGL parsed version: 4, 4
[INFO   ] GL: Shading version <b'4.40 - Build <IP_ADDRESS>60'>
[INFO   ] GL: Texture max size <16384>
[INFO   ] GL: Texture max units <32>
[INFO   ] Window: auto add sdl2 input provider
[INFO   ] Window: virtual keyboard not allowed, single mode, not docked
[INFO   ] Text: Provider: sdl2
[WARNING] stderr: Traceback (most recent call last):
[WARNING] stderr:   File "E:\Program_files\Python37\lib\runpy.py", line 193, in _run_module_as_main
[WARNING] stderr:     "__main__", mod_spec)
[WARNING] stderr:   File "E:\Program_files\Python37\lib\runpy.py", line 85, in _run_code
[WARNING] stderr:     exec(code, run_globals)
[WARNING] stderr:   File "D:\temp\test.py", line 28, in <module>
[WARNING] stderr:     test_app().run()
[WARNING] stderr:   File "E:\Program_files\Python37\lib\site-packages\kivy\app.py", line 800, in run
[WARNING] stderr:     root = self.build()
[WARNING] stderr:   File "D:\temp\test.py", line 26, in build
[WARNING] stderr:     return User()
[WARNING] stderr:   File "D:\temp\test.py", line 17, in __init__
[WARNING] stderr:     super(User, self).__init__(**kwargs)
[WARNING] stderr:   File "E:\Program_files\Python37\lib\site-packages\kivy\uix\boxlayout.py", line 131, in __init__
[WARNING] stderr:     super(BoxLayout, self).__init__(**kwargs)
[WARNING] stderr:   File "E:\Program_files\Python37\lib\site-packages\kivy\uix\layout.py", line 76, in __init__
[WARNING] stderr:     super(Layout, self).__init__(**kwargs)
[WARNING] stderr:   File "E:\Program_files\Python37\lib\site-packages\kivy\uix\widget.py", line 348, in __init__
[WARNING] stderr:     Builder.apply(self, ignored_consts=self._kwargs_applied_init)
[WARNING] stderr:   File "E:\Program_files\Python37\lib\site-packages\kivy\lang\builder.py", line 469, in apply
[WARNING] stderr:     self._apply_rule(widget, rule, rule, ignored_consts=ignored_consts)
[WARNING] stderr:   File "E:\Program_files\Python37\lib\site-packages\kivy\lang\builder.py", line 582, in _apply_rule
[WARNING] stderr:     child = cls(__no_builder=True)
[WARNING] stderr:   File "D:\temp\base.py", line 21, in __init__
[WARNING] stderr:     print('calling from base : {}'.format(self.bt1.text))
[WARNING] stderr: AttributeError: 'Base' object has no attribute 'bt1'

anyone knows the 'id' things imported in which version???
I've found another problem "KeyError : minimum_height", which is related to version 1.9.1, so I'm thinking that maybe this is related, too??

Did you reproduce the problem in first comment in kivy 1.10.1?

That's normal behaviour. If you construct a widget hierarchy with Kv language, Builder.apply() is delayed. Builder.apply() is the one who applies Kv rules including id things.
from kivy.uix.widget import Widget
from kivy.lang import Builder

class VerboseWidget(Widget):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        print('__init__()', self.uid, kwargs)

Builder.load_string('''
<WidgetA>:
    VerboseWidget:
<WidgetB>:
    WidgetA:
''')

class WidgetA(VerboseWidget):
    pass

class WidgetB(VerboseWidget):
    pass

a = WidgetA()
print('------------------------------------')
print(f'a.uid == {a.uid}')
print(f'a.children[0].uid == {a.children[0].uid}')
print('------------------------------------')
b = WidgetB()
print('------------------------------------')
print(f'b.uid == {b.uid}')
print(f'b.children[0].uid == {b.children[0].uid}')
print(f'b.children[0].children[0].uid == {b.children[0].children[0].uid}')

__init__() 9 {'__no_builder': True}
__init__() 2 {}
------------------------------------
a.uid == 2
a.children[0].uid == 9
------------------------------------
__init__() 13 {'__no_builder': True}
__init__() 15 {'__no_builder': True}
__init__() 11 {}
------------------------------------
b.uid == 11
b.children[0].uid == 13
b.children[0].children[0].uid == 15

https://github.com/kivy/kivy/blob/11c9fe6c03fa03d16eceb1656ca51ff0129815dc/kivy/uix/widget.py#L347-L348
Hope you get the idea.

@gottadiveintopython
Thanks a lot, I've got the idea. So it's normal behaviour for current code.
But from the perspective of usage, I think the 'id' thing should be available here.
If not, I can only manually add component in init, and this will break the structure defined in Builder string, and this make the code harder to understand.

But from the perspective of usage, I think the 'id' thing should be available here.

Yep I agree with that. If you or someone create a PR for that, I'd be happy :), since it's one of the inconvenience of Kivy for me from the very beginning.

@gottadiveintopython After I fix my code to avoid this, I still meet some other compiling problem, I decide to move on. Maybe later when I come back to kivy, I'll try to figure this out.
Still thanks for your time.

No problem :)

A workaround is:
class Base(BoxLayout):
    def __init__(self, **kwargs):
        super(Base, self).__init__(**kwargs)
        Clock.schedule_once(self._after_kv_applied)

    def _after_kv_applied(self, __):
        print('calling from base : {}'.format(self.bt1.text))


Fix Subject dereference bug

The if (subject) block is extended to cover all access to subject.
We ran into this bug in the code because our SAML provider didn't include Subject at the root of the Assertion -> line 614 throws a 'cannot access 0 of undefined' error.

Thanks for the PR; merged!
(note that Travis tests were failing due to some scope issues; should be cleaned up now)


Discord and IRC not connected

I've done everything the README.md says and it still does not work.

There's not really enough information here for us to go off.
What output do you get when you try running it? Does the bot show up as online on Discord, or connect to the IRC channels?

I've made the IRC bot on discord.
I've typed in  npm install -g discord-irc in node.js
I've typed in discord-irc --config C:\Users\fiona\Desktop\config.json in node.js
And this is what displays:
http://prntscr.com/fl2ik1

I have no idea why this would occur, since the relevant file of discord.js appears to be fine and it doesn't fail this way on my device.
Have you tried uninstalling discord-irc and reinstalling it?

Closing this due to lack of activity.


Tests: Add search mode that continues running tests after failure

It would be helpful if the test runner had an option to continue after the first error.  This would reduce the amount of test runs needed to determine which bits are working vs failing.
It can be really dumb, and just emit the error information immediately, and store a global failure status so it reports a non-zero exit status at the end.  I would rather kick off a build with all tests enabled and then come back an hour later and read a large log to identify all failures, rather than constantly restart the tests with different test dependencies present.
Ideally it reports the number of failures at the end, and even better would be reporting the error information at the end also.
I can understand avoiding creating too many features in a custom test runner.  Has there been an attempt to wrap the tests in an existing test runner?  Maybe a shell based test runner, like @bats-core?

@jayvdb it actually has had that option, just don't use search, but I might have removed that, but I think the reporting of the sum exit code is not done, I would have to check that. The search modes are easy to implement, just check out nuitka.testing.Common and createSearchMode, we could make one that runs all the tests and then reports.
For my Buildbots, I typically am happy with them finding no errors, or first one, mostly because they can burn a lot of CPU on trying all the tests, and failing with same error.
I am forever ashamed to not use py.test, but literally, Nuitka doesn't do anything like it does. I hope one day somebody turns it into something even better, interface wise. I was too lazy for proper command line parsing back then. Mostly because I was also thinking, surely this will be replaced by something intended for such things later. But I didn't find it yet.
For the test runner, it is required to work on Windows too. I know I am using bash there, but I don't want to require it. So bash is a no go. But feel free to suggest or research more. I am definitely open to replacing this.

Ya, bats is not a good option for lots of reasons.  py.test, by itself, would also have more negatives than positives.  When the output is predictable , https://github.com/myint/cram is beautiful, and comes from a long linage of testing tools with very similar approach.
Without knowing your testing infrastructure very well, the approach I would looking for is something like using python with Jinja2 to generate yaml usable with a tool like https://github.com/b33j0r/climactic , which can be run standalone or within pytest.
The primary feature I believe you want is to compare the output of Nuitka with the output of another program (python raw).  These custom checkers https://github.com/realead/exetest#custom-checkers look maybe suitable.
It may still make sense to serialise the output of the raw python results into a yaml or cram format, which makes it easier re-produce and re-test the test sequence while debugging.  But it wouldnt be ideal to need to generate all of the raw python results before starting to execute the first tests.
https://github.com/emilkarlen/exactly seems to have a good match of features.

We are using Jinja2 based tests generation for performance tests, where many constructs are to be put under isolation. That one is not integrated with the standard runner really, as it is married with Valgrind, keeps numbers, stores data, etc. but it could done be more tightly.
For normal tests, we can rely on the CPython test suites most of the way, except they are relatively bad with reference counting leaks, as the last releases, my tests were reporting bugs in CPython that were not yet noticed. I think even 3.7.0 was broken that way.
The sweet feature of the current test approach, is that print() is all it takes to cover most of the things with great ease.
And when e.g. Python 3.8 is added, yeah, I am going to not know the expected results. And the result is different for every Python version, minor versions inclusive. You don't have any idea how much CPython likes to refine and occasionally break grammar with every release. :)
With the cpython_cache I am saving my machine CPU cycles, from not having to run the Python version over an over, but it needs to consider all changes, esp. e.g. in test.support or data files, to know if a conserved output is still good.
While debugging, I am using resume as a search mode. It retries the last thing over and over, until it works.
And consider my "compile the world" test. In that one, I am scanning all library paths, and compile them, just to find errors raised in the C compiler, without and with debug mode maybe. That runs endlessly, does no comparison, because you can't just execute random code.
And doing that strace/dtruss/depends.exe based standalone test, yeah, that is very specific too.
So basically I need collection of test cases, search modes, and actions that do very specific stuff, nobody else does. I don't think I need a spec of expected results for a minor version on a specific OS and specific architecture.
The action basically is a call to nuitka or compare_with_cpython which does it for us. I am not sure there is a lot to gain in that.
Using py.test on the other hand, would make it more clear to people what this is. They would understand test collection, wouldn't define functions test_something() without ever calling them, the main problem is that this is a undocumented system, that nobody knows from elsewhere. Maybe one day, we will make the test runner more of a py.test plugin of some sorts, using its UI and reporting, down to producing junit.xml and the stuff.
I think the things proposed add only complexity, but do not add usability, do they. Still need to discover the exe test cases, and define the code or config to test them. Nah, I think py.test may not have to offer anything for actual execution, but the framework would be sweet. People would have docs that tell where to add test options. :)

@bksahu Do you want to give this a spin, you added a search mode "only" already, adding "all" would be really useful for the 3.8 development that I am going to do. Basically you only need to make sure to ask the search mode for a final exit code value.

@kayhayen Sure. I would love to. :smiley: Please assign me.

I would say, this issue is dealt with, just don't use search is a good enough reply for now. One day, we need to cleanup that interface of test runners.


[NETBEANS-1834] Fix possible race condition enabling actions in explorer

As described in NETBEANS-1834, ExplorerActionsImpl uses a background thread to determine the enabled state of its actions. This changes ExplorerActionsImpl.BaseAction to use an AtomicInteger to synchronize access to the toEnable flag and ensure actions are enabled appropriately.

The change looks sane and from my POV will work. The unittests that fail after the patch, already failed before it.
I'll assume, that you donate the changeset to the Apache Foundation. If not, please indicate so, then I'll backout the changeset, we can't accept the patch then.


v0.3.0

Codecov Report

Merging #23 into master will increase coverage by 1.05%.
The diff coverage is 75.47%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage   89.08%   90.14%   +1.05%
==========================================
  Files           5        5
  Lines         907      974      +67
  Branches      161      182      +21
==========================================
+ Hits          808      878      +70
+ Misses         66       54      -12
- Partials       33       42       +9

Impacted Files
Coverage Δ

src/snps/__init__.py
93.78% <100%> (+7.33%)
:arrow_up:

src/snps/io.py
84.44% <71.79%> (-6.39%)
:arrow_down:

src/snps/utils.py
86.95% <81.81%> (-3.96%)
:arrow_down:

src/snps/ensembl.py
70.73% <0%> (+4.87%)
:arrow_up:

Continue to review full report at Codecov.

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


Standardize chemicals in definitions

Hi,
We are inconsistent in how we write chemicals in defintions: we sometimes have 'H2O', sometimes 'H(2)O', sometimes H+, sometimes H(+).
RHEA does not write the chemicals with parentheses (EC does), so after discussion with @hdrabkin we will remove the parentheses.

Changed:

[ ] H(2)O -> H2O
[ ] H(+) -> H+
[ ] CO(2) -> CO2

Will reopen if


Error on Just Dance 2017 PC websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 404

When I follow the guide, I get to the point of connecting to the joycon and have a problem

The error says that the console is rejecting the connection.
To verify, does this still happen after restarting your computer?
I'm not the developer of the project, but I'm willing to try to help you troubleshoot.

I'm glad to see your reply.
I restarted my computer and saw a different error message

When I press CTRL+C to interrupt the program, and then execute it again, I get the HTTP 404 error, exactly like the first time I posted above

Do you have any consoles on which you have a copy of Just Dance? (Demos of 2022 or older would also work.) It's okay if you don't, but that would provide more info.
Also, what Python version are you using? And are you on Windows 10 (that's what the pictures appear to show)?

I have switch and ps5 and I found out that JD2024 on switch can be downloaded for free.
My python version is 3.10.11 and windows version is Windows 10 22H2

I have switch and ps5 and I found out that JD2024 on switch can be downloaded for free.
My python version is 3.10.11 and windows version is Windows 10 22H2

JD 2023 & 2024 use a different app & protocol that JoyDance is (as of now) unable to emulate.
My best suggestion would be to try again with a different Python version, since sometimes errors are specific to certain versions— the minimum that JoyDance supports is 3.7. If you can, you could also try to install JoyDance on a different device or operating system, though that's dependent on what devices you have.

I've tried versions from 3.7 to 3.10 and I get the same error "HTTP 404".

And since Just Dance will be down for all but the latest version on the PS5 and NS stores, but I own a cracked NS so I can install Just Dance 2022's Copy, I don't know if this will be useful in solving the JD2017 PC problem, but I'll try if this works!

I found out that JD2022 on NS requires a Nintendo account to be associated with it in order to play it with my phone, so I failed.
I was still able to play with Joydance 0.5.2 at this time last year, when JD2017 PC was still using UPLAY instead of UBISOFT CONNECT, and I was able to connect and play with the older version of the JD CONTROLLER APP (5.1.2, connecting by setting up an IP). Although the environments were different (windows 11 22H2 and Python 3.10), a few things were the same: the same APP version, and both used the mod from https://www.youtube.com/@Dreyn (which has been updated in the past year).
My situation may be a bit more complicated, and I'm going to uninstall the mod first and slowly fix the problem starting with the original JD2017 PC connected to my phone.

I was still able to play with Joydance 0.5.2 at this time last year, when JD2017 PC was still using UPLAY instead of UBISOFT CONNECT, and I was able to connect and play with the older version of the JD CONTROLLER APP (5.1.2, connecting by setting up an IP). Although the environments were different (windows 11 22H2 and Python 3.10), a few things were the same: the same APP version, and both used the mod from https://www.youtube.com/@Dreyn (which has been updated in the past year).
I uninstalled the mod and reinstalled the original JD2017 PC version and found that it still doesn't work, reporting the same error "HTTP 404", so I don't think it's a mod problem.

Will the regular app still connect for you? Even newer versions (should?) work, though I've never used a PC version of Just Dance.

After my testing, Just Dance on NS (latest version), can connect with the new app; 2022 and previous JDs on NS, since I didn't buy it before and don't have the cassette on hand now can't test it; JD2017 on PC can't connect to the phone (neither Android nor Apple), using the old app version

After my testing, Just Dance on NS (latest version), can connect with the new app

The new app was built specifically for the new version, so that's intended.

JD2017 on PC can't connect to the phone (neither Android nor Apple), using the old app version

Does the game (on PC) show the option to connect? I don't have it so sorry for all the questions.

I just borrowed a JD2022 NS cassette from a friend close to me, and my tests are as follows: when using the app on my phone, it's connecting; when using joycon, I encountered the error: Invalid pairing code

And when I select FAST mode, it successfully connects
I'm not sure which way this works

Does the game (on PC) show the option to connect? I don't have it so sorry for all the questions.

No. The connect in this game doesn't have any options to choose from, there is only a phone pairing screen

JD2017 on PC can't connect to the phone (neither Android nor Apple), using the old app version

I'm wondering if the game changed? Ubisoft recently discontinued the online servers for JD2016-18, and I'm wondering if that had an effect exclusively on the PC version? I'm pretty sure it still works for me on Xbox, though I won't be able to check for a few days.
@redphx should this still work? Are you able to confirm if it worked and/or worked for you on the PC version?
(mccrena, I don't know if redphx will respond but they're the creator of the project and would know much better than me)

JD2017 on PC can't connect to the phone (neither Android nor Apple), using the old app version

I'm wondering if the game changed? Ubisoft recently discontinued the online servers for JD2016-18, and I'm wondering if that had an effect exclusively on the PC version? I'm pretty sure it still works for me on Xbox, though I won't be able to check for a few days.

I think Joydance still works on JD2017 PC after the update, here's a discord I joined for the JD2017 PC mod, in which someone mentioned the use of Joydance in 2023.11.1 (obviously after the update)

I think Joydance still works on JD2017 PC after the update, here's a discord I joined for the JD2017 PC mod, in which someone mentioned the use of Joydance in 2023.11.1 (obviously after the update)

I wonder if there's a reason they were tethering from their phone...
I don't really know what it could be. It's interesting to see that fast pairing works.
My only remaining suggestion would be to try from a different device, but that's dependent on you having other hardware— if you do, you can try on there (be warned that setting it up on Linux may be hard), otherwise your best bet would be to hope redphx responds (which is somewhat unlikely). Sorry! This sort of thing really isn't my forte...
If anything else does come up or there are new developments, though, I'm definitely willing to try my best to help.

Thank you very much indeed, BroJac5246!
New Windows/Mac/Linux devices are unlikely in the near future, I think Maybe the day I reinstall my system, it might be a "new" device!
I actually have a NS with some great JD games on it, but god you really have to try the mod I mentioned above, he only runs on JD2017 PC and it has almost all of JD's songs in it (by far the most complete I've ever seen), which is why I've always wanted to play JD on PC!
I'll still always try to solve this problem in the future (when I change the network environment, when I have a new idea to solve the problem , maybe when @redphx replies etc)
All in all, thanks for being willing to take the time to help me out, Have a good day!

Things worked out, but for a bit of a funny reason.
As I said before, the JD17 PC wouldn't connect to my phone and that's exactly why Joydance wouldn't work.
The solution is at this link https://www.youtube.com/watch?v=zJeWN-aqU8I

Things worked out, but for a bit of a funny reason.
As I said before, the JD17 PC wouldn't connect to my phone and that's exactly why Joydance wouldn't work.
The solution is at this link https://www.youtube.com/watch?v=zJeWN-aqU8I

Glad to see it worked! I was a little confused why you couldn't connect your phone but that explains it!


default server can't login

figure out if the issue is on pweb-client / proxy / server side and fix it

remove logs
then RangeError [ERR_SOCKET_BAD_PORT]: Port should be >= 0 and < 65536. Received 393329.

now locally works but erroring out at https://github.com/PrismarineJS/prismarine-viewer/blob/13f37b98370a1dc64d6fc6d044a857844458221d/viewer/lib/models.js#L386 with biome undefined


Add confirmation dialog to handle deletion of buffer with unsaved changes

Currently there is no option to force buffer deletion. This patch adds dialog which will ask user to confirm deletion if buffer has unsaved data and will call bd! or bw! if user confirms.

Thanks for the update.  I will check it out.


How is one supposed to know that you must call shim() before using #find?

I have come to this package by googling for an Array.prototype.find polyfill, but had never heard about esX-shims, its API contracts or the term 'shim' in general before. It seems you have to call require('array.prototype.find').shim() instead of only the require to have #find actually available.
How are newcomers like me supposed to figure that out, other than by reading the code? Have I overlooked something? Did I eventually figure it out correctly? :-) I would like to either see that among the usage information in the README or have some kind of reference there to "things you are supposed to know when using those es6 polyfills".

The README definitely needs updating - PRs welcome!
(However, your default assumption should be that nothing on npm modifies the environment automatically - automatically shimming the environment is legacy behavior from a pre-module world that newcomers wouldn't expect)

Ok, I will keep that in mind from now on. I guess I assumed otherwise because the only other polyfill I have worked with so far was for additional markup among HTML and there it was intended that you just have to include the script to get everything going. I will see if I can come up with something for the readme. Thank you!


Rancher GUI hides endpoints to Job resources

What kind of request is this (question/bug/enhancement/feature request):
This seems to be a bug, but could arguably be called a feature request.
Steps to reproduce (least amount of steps as possible):

Create a Job resource via kubectl or similar with a listening port.
Create a Service resource (NodePort) via kubectl or similar and expose said port.
Go to the Rancher web UI and find the Job.

Result:
Notice that the Job does not have a shortcut for the exposed port/endpoint.
Other details that may be helpful:
You can view the exposed port only by looking up the Service in the Rancher/k8s API, not via the Rancher UI.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):
v2.0.2, single node

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.1", GitCommit:"4ed3216f3ec431b140b1d899130a69fc671678f4", GitTreeState:"archive", BuildDate:"2018-10-24T20:17:19Z", GoVersion:"go1.11.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.1", GitCommit:"d4ab47518836c750f9949b9e0d387f20fb92260b", GitTreeState:"clean", BuildDate:"2018-04-12T14:14:26Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Docker (use docker info):

Containers: 59
 Running: 30
 Paused: 0
 Stopped: 29
Images: 36
Server Version: 18.09.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 357
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: nvidia runc
Default Runtime: nvidia
Init Binary: docker-init
containerd version: d6de12e2f362cb9dc49ad957911996d3de59b338
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871-dirty
init version: fec3683
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.15.0-36-generic
Operating System: Ubuntu 18.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 46.81GiB
Name: jorrvaskr
ID: NWZR:KMJC:JKJR:5N56:2SSQ:3SMM:DEE5:M55E:DE2S:DKFD:GHJZ:Y5AS
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false
Product License: Community Engine

WARNING: No swap limit support

I don't think this has anything to do with Jobs; The displayed endpoints come from an annotation that is only automatically applied if the resource is created through the Rancher API.

why not display job & cronjob in rancher ui?


FIX CR-166: tigragna build

Changes

tigragna/audios
-ftm_tigragna.json

How to test

Check tigragna language

Ref: CR-166

@amitsinghsutara the label of this commit is not proper as you suggested.
@Nikhil77sutara keep the label in lowercase.
Thanks!

@amitsinghsutara the label of this commit is not proper as you suggested.
@Nikhil77sutara keep the label in lowercase.
eg: add the commit message like this:- fix: Commit Message Instead of Fix: Commit Message
Thanks!

@ashwinnair-chimple  I haveChanged the label.
Thanks!


Mouse position is calculated in reference to the window

I'm using the component in a draggable fixed div, when the drag occurs in horizontal the mouse position is bad calculated .
exemple in: https://codesandbox.io/s/material-demo-forked-0qfek?file=/demo.js

Hey! Please take a look at my PR on the vue project that fixes this issue. Hope it helps!
https://github.com/arthay/vue-color-gradient-picker/pull/28


format errors better

When the tool fails the error output looks like e.g. this:
Error: StringError("expected: single yaml document, got: [Hash({String(\"arguments\"): String(\"test-file\"), String(\"protocol\"): Array([String(\"/bin/chmod +r test-file.txt\"), Hash({String(\"command\"): String(\"/bin/cat test-file.txt\"), String(\"stdout\"): String(\"should be deleted\")}), String(\"/bin/rm test-file.txt\")])}), Hash({String(\"arguments\"): String(\"foo\")})]")

It should instead print out the string.

also YAML parse errors look like
Error: ScanError { mark: Marker { index: 140, line: 6, col: 0 }, info: "while parsing a block mapping, did not find expected key" }

and it's not clear if this is a problem with my protocol file itself, or the test that is being run

@matthandlersux: Do you still have the yaml file that produced this error?

arguments: test-file
protocol:
  - command: /bin/chmod +r test-file.txt
  - command: /bin/cat test-file.txt
    stdout: "should be deleted"
- /bin/rm test-file.txt

i think i just had a weird paste from your example file


docs: update example with api folder and dev command

closes #34

This looks great 👍
I think it would be a good idea to add a note to the README about how dev works.

Yes, the readme is very light right now, but it's great te be able to add some content. I found most of it spread around issues and I think it's worth noting that routes is necessary but that it can be omitted in the dev version without going in too much into technical details about what makes it break


RealityKit support

Any thoughts on what it would take to provide RealityKit support? This would be useful for ARKit development.

It will certainly be nontrivial, partially because of the number of features to be implemented, and partially because RealityKit has a bias toward USD(Z). What use cases do you have that aren't addressed by Reality Converter?

USDZ may be the way to go, but we are dealing with user generated content that will need to be converted to USDZ. The ecosystem for this doesn't seem great. It seems like most of Apple's investments are going to RealityKit so I'm concerned starting a new project with SceneKit.

Same here, we produce massive amount of gltf with custom data embedded in "extra". We run apple's usdconvert CLI on our server to convert gltf to usdz, which would strip away those extra information or any custom gltf extension.
A full fledge gltf loader for realitykit would be a great add on to the entire realitykit ecosystem.

I would echo @issacclee regarding extensibility in glb. We need to support custom vertex attributes and while I'm not sure if this library currently supports them I know the format does and that it could be added. USDZ on the other hand, will not be extensible.
For our use case we currently only need geometry + hierarchy + custom vertex attributes.

I would echo @issacclee regarding extensibility in glb. We need to support custom vertex attributes and while I'm not sure if this library currently supports them I know the format does and that it could be added. USDZ on the other hand will not be extensible.
For our use case we currently only need geometry + hierarchy + custom vertex attributes.

It seems like RealityKit do expose great deal of low level api for us to write a GLTF loader...do you have any ideas on that? Although I'm not a swift guru, but I'm certainly willing to help.
Also, checkout this repo https://github.com/schwa/SwiftGLTF

Jonathan's project is definitely worth a look, and the code is tidy, but it's far from complete. I've begun looking into this myself, and I have a rough idea of how to go about this, but it's going to take quite a bit more work.

@warrenm thats awesome! Any chance you have that in a branch. We may be able to test and contribute improvements.

Nothing published yet. Stay tuned.

We have helmet.

Initial support for RealityKit conversion available in 50ea450.
Basic usage is:
let asset = try GLTFAsset(url: assetURL)
if let scene = asset.defaultScene {
    let rootEntity = GLTFRealityKitLoader.convert(scene: scene)
    let worldOriginAnchor = AnchorEntity()
    arView.scene.addAnchor(worldOriginAnchor)
    worldOriginAnchor.addChild(rootEntity)
}

Feedback welcome.

Initial support for RealityKit conversion available in 50ea450.
Basic usage is:
let asset = try GLTFAsset(url: assetURL)
if let scene = asset.defaultScene {
    let rootEntity = GLTFRealityKitLoader.convert(scene: scene)
    let worldOriginAnchor = AnchorEntity()
    arView.scene.addAnchor(worldOriginAnchor)
    worldOriginAnchor.addChild(rootEntity)
}

Feedback welcome.

That's excellent work, I'll look into it later today and see what I can contribute.

@warrenm I'm getting a fatal error while unwrapping an optional nil value using this file. Apologies for the size, I don't have a smaller repro ATM.
The exception throws at this line https://github.com/warrenm/GLTFKit2/blob/50ea450508d2dcfe1a26dad2b096bae94a9d810b/GLTFKit2/GLTFKit2/GLTFRealityKit.swift#L282

With this pull request the model load! https://github.com/warrenm/GLTFKit2/pull/28

At this point we're well on our way to supporting RealityKit conversion. In the interest of being able to track individual problems as they arise, and file PRs against them, please create new issues with any problems you encounter. Thanks for the discussion so far!


Cell updated is not working as expected

I ran hello-world web cell, and then I did some modifications to the env variables. Then I build again, and executed cellery update. Below error was returned.
cellery update hello wso2cellery/hello-world-cell:1.0.1
❌ Updating cell components

Unable to apply autoscale policies to instance hello: error unmarshaling JSON: json: Unmarshal(non-pointer kubectl.Cell)

Fixed in https://github.com/wso2-cellery/sdk/pull/498.


Better splitting of messages and emotes?

Currently, all emotes send after the message, but could you make it so emotes placed before the message send before the message?
This plugin has an implementation of it in its "split" version, but yours could be better if it were also compatible with images.
https://github.com/An00nymushun/DiscordFreeEmojis
In my opinion, images should be sent after the message that you type with it along with any emotes, but having a toggle for before or after would be fine too.
Just to be clear, here would be how various messages are formatted if you were to implement this:

":emote: Words words words" -> Emote gets sent first, then the words are sent below it.
"Words words words :emote:" -> Words are sent first, then the emote gets sent below it. This is the current implementation.
"Words words :emote: words" -> The message gets split into "Words words", followed by the emote, followed by "words"
"Words words :emote: [image.png]" -> The message will be formatted according to the above 3 examples, which is then followed by the image upload.

This is only possible by sending multiple messages, as this plugin works by uploading images instead of emotes. All images that are uploaded go under the text content and I don't really want to send multiple messages for only a single input as this might fall under self-botting.


gbc/gba games: wendy, shantae, zelda

Emulated Hardware (Restart Required)
Specify which type of hardware to emulate. 'Auto' is recommended. Selecting 'GBA' unlocks extra features in certain 'GBA Enhanced' Game Boy Color games (Shantae, Wendy - Every Witch Way, Legend of Zelda: Oracle of Seasons/Ages...).",

Report Hardware as GBA

This MVG video seems to explain what needs to be done to support this and how it works.
https://www.youtube.com/watch?v=_Qqg4VCZ0k8
Including it here for future reference.


Touch not saving changes. touch_with_version did

Simple example of the difference:
> p = Person.last
> p.name = "New Name"
> p.touch
# UPDATE people SET updated_at = ....

^^ This does not update the name in either the database or the versions table.
> p.paper_trail.touch_with_version
# UPDATE people SET updated_at=..., name='New Name' ...

^^ This updates both the name in the database, and adds a correct version row for the updated name in the versions table.
This is a huge difference in behavior, and one which is relied upon likely by many people besides us -- it is integral to the behavior of the counter_culture gem's support of the with_papertrail option.
Please either do not deprecate this, or fix the behavior of touch to be equivalent. Right now they are two completely different behaviors.

Okay so touch_with_version should almost be called save_with_version

Sure, that would be fine. I definitely do not think this should just be deprecated though, as it's completely different behavior.

Closing via https://github.com/airblade/paper_trail/pull/1078

Okay so touch_with_version should almost be called save_with_version

I like the idea of having a save_with_version method, but if that's what it's called, I'd rather have it just do a save and not (simulate) a touch. So, that led me to the implementation in https://github.com/airblade/paper_trail/pull/1078. I hope it works for you, @key88sf.

Yes thanks!


Not able to cluster Conv1DTranspose layer

Hi,
I am using this code for clustering the conv1d layers.
# Create a base model
base_model = setup_model()
base_model.load_weights(pretrained_weights)

def apply_clustering_to_dense(layer):
  if isinstance(layer, tf.keras.layers.Conv1D):
    return cluster_weights(layer, **clustering_params)
  return layer

clustered_model = tf.keras.models.clone_model(
    base_model,
    clone_function=apply_clustering_to_dense,
)

I am getting below error. Is Conv1DTranspose clustering is possible or not? Can anyone suggest how to solve this.
Please initialize Clusterwith a supported layer. Layers should either be aClusterableLayer instance, or should be supported by the ClusteringRegistry. You passed: <class 'keras.layers.convolutional.Conv1DTranspose'>
Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information
Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.6.0
Python version: 3.8.8
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:
TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)" : v2.6.0-rc2-32-g919f693420e 2.6.0
Describe the current behavior
Describe the expected behavior
Contributing
Do you want to contribute a PR? (yes/no): yes
Briefly describe your candidate solution(if contributing):
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

Below is the code snippet to reproduce the issue.
import tensorflow as tf
import tensorflow_model_optimization as tfmot

cluster_weights = tfmot.clustering.keras.cluster_weights
CentroidInitialization = tfmot.clustering.keras.CentroidInitialization

time_dat = tf.keras.layers.Input(batch_shape=(1, 16000))
x1 = tf.keras.layers.Conv1D(10, 256, 64, padding = "valid",use_bias=False)(tf.expand_dims(time_dat, axis=-1))
x2 = tf.keras.layers.Conv1DTranspose(1, 256, 64, padding = "valid",use_bias=False)(x1)
model = tf.keras.models.Model(inputs=time_dat, outputs=[x2])

clustering_params = {
  'number_of_clusters': 50,
  'cluster_centroids_init': CentroidInitialization.LINEAR
}

def apply_clustering_to_dense(layer):
  if isinstance(layer, tf.keras.layers.Conv1D):
    return cluster_weights(layer, **clustering_params)
  return layer

clustered_model = tf.keras.models.clone_model(
    model,
    clone_function=apply_clustering_to_dense,
)

@rameshkunasi,

To cluster select layers in a model, you can apply the same clustering method to those layers when constructing a model.
When selectively clustering a layer, it still needs to have been fully trained; therefore, we use the layer’s kernel_initializer parameter to initialize the weights

For more information take a look at this doc


Linux Buildroot

You may want to update the Linux instructions to https://github.com/openbouffalo/buildroot_bouffalo. It has updated kernel with additional drivers and a rootfs on the SD card. Bouffalo have said they will not be maintaining their initial Linux release at the moment.

Got it, thanks !
I will try it later and update the tutorial.

I tried, works very well.
And you can combined m0 and d0 lowload to one img, currently BLDevCube create it at /chips/bl808/img_create_mcu/img_group0.bin.
This image can be programmed by bflb-iot-tool :
bflb-iot-tool --chipname bl808 --interface uart --port /dev/ttyUSB1 --baudrate 2000000 --firmware img_group0.bin --addr 0x1000 --single

After m0d0_loadload programmed, program bl808 firmware as:
bflb-iot-tool --chipname bl808 --interface uart --port /dev/ttyUSB1 --baudrate 2000000 --firmware bl808-firmware.bin --addr 0x800000 --single

And I thought these three images also can be combined together.

How to combine m0/d0 lowload image:

create a file with length = 0x100000 and fill it with "FF"
dd if=/dev/zero bs=1048576 count=1| tr "\000" "\377" >whole_bin_m0d0_lowload.bin

write "m0_lowload_bl808_m0.bin" to the start of "whole_bin_m0d0_lowload.bin"
dd conv=notrunc if=m0_lowload_bl808_m0.bin of=10000.bin

append "d0_lowload_bl808_d0.bin" to  "whole_bin_m0d0_lowload.bin"
cat d0_lowload_bl808_d0.bin >> whole_bin_m0d0_lowload.bin

This 'm0d0_lowload.bin' can be programmed as:
bflb-iot-tool --chipname bl808 --interface uart --port /dev/ttyUSB1 --baudrate 2000000 --firmware whole_bin_m0d0_lowload.bin --addr 0x0 --single

Go further, combine m0/d0 lowload and bl808-firmware.bin together:

create a image of size 0x800000, fill it with "0xFF". 0x800000 is the start addr of "bl808-firmware.bin"

dd if=/dev/zero bs=8388608 count=1| tr "\000" "\377" >openbouffalo-bl808.bin

copy "m0_lowload_bl808_m0.bin" to the start.

dd conv=notrunc if=m0_lowload_bl808_m0.bin of=openbouffalo-bl808.bin

copy d0 lowload to 0x100000

dd conv=notrunc if=d0_lowload_bl808_d0.bin of=openbouffalo-bl808.bin seek=1048576 bs=1

append bl808-firmware.bin to the end

cat bl808-firmware.bin >> openbouffalo-bl808.bin

The final 'openbouffalo-bl808.bin' can be programed as:
bflb-iot-tool --chipname bl808 --interface uart --port /dev/ttyUSB1 --baudrate 2000000 --firmware openbouffalo-bl808.bin --addr 0x0 --single


TTlock handle in Mirror issue

https://github.com/ttlock/iOS_SDK_Demo/assets/98485073/c570ebb4-3c47-4584-8358-93ff4a7c8e6a
Please check this video. If we press 1 it got pressed 6, If we press 2 it got pressed 7.  We have also tried after hard resetting a lock but issue is still persist.
Please provide solution.

1 Please send the lock Name to us. Let's locate the issue.
2 Do you have WeChat? If have, please post it. We have a developer group.

Please send the lock Name to us. Let's locate the issue.

@ttlock
We have getting issue in below locks
(A)
"lockAlias": "MyTestLock2024/01/17 13:37:28"
"lockMac": "1F:2A:B3:74:C9:EC"
"lockId": 7254378
(B)
"lockAlias": "MyTestLock2024/01/18 14:29:15"
"lockMac": "EA:19:91:7A:47:A2"
"lockId": 6635540
(C)
"lockAlias": "MyTestLock2024/01/18 14:28:49"
"lockMac": "5B:6B:33:F4:CE:06"
"lockId": 6569398
also lock and unlock operation have opposite
I wanted to bring to your attention a clarification regarding the lock and unlock operations with TTLock. It has come to my notice that the system follows an opposite mechanism for these actions.
In other words, if an attempt is made to lock, the system responds with an unlock, and conversely, when attempting to unlock, the system initiates a lock. This behavior may seem counterintuitive

ok, we will get back to you as soon as possible.

Have we configured firmware upgrades for these locks ?
It's because the current firmware version doesn't match the lock.
This issue should be resolved by rolling back the firmware version.
We will check it next working day

Please try firmware upgrade again

we are getting in two locks below response
locks are:
(B) EA:19:91:7A:47:A2
(C) 5B:6B:33:F4:CE:06
so it's means no upgrade available
{
        "needUpgrade": 0,
        "modelNum": "SN373-150MS-T20-INT_PV53",
        "hardwareRevision": "1.1.1",
        "firmwareInfo": {
            "modelNum": "SN373-150MS-T20-INT_PV53",
            "hardwareRevision": "1.1.1",
            "firmwareRevision": "<IP_ADDRESS>206"
        },
        "firmwarePackage": "",
        "version": "",
        "firmwareRevision": "<IP_ADDRESS>206"
    }

and in remaining lock ttlock details API is not give any response so not able to identify which firmware version currently we have.
lock is
(A) 1F:2A:B3:74:C9:EC
So we are sharing that account which is added these 3 locks so if possible from your side then do upgrade from your side and let us know for same.
Username<EMAIL_ADDRESS>Password: Admin@123
Thanks to support team to give a quick a reply.

It is impossible from our side to upgrade your locks because it needs to connect locks.
We have updated, please try  firmware upgrade again.

@ttlock Thank you of your support Now it's working as we accepted.


loadBalancerIP instead of LoadBalancerIP, include section to grab principalId of the aks cluster

Minor correction in the sample yaml: loadBalancerIP must be used instead of LoadBalancerIP (note different capitalization of first letter).
It would be useful, IMHO, to include how to retrieve objectId of the aks cluster identity so to use it in the role assignment. Something like the following would work:
$objectId=(Get-AzAksCluster -Id subscriptions/<subid>/resourceGroups/<rgName>/providers/Microsoft.ContainerService/managedClusters/<aksName>).Identity.PrincipalId

Thanks, Simone

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

ID: 7179d4ae-db6e-7f7c-a855-db0e0475dae9
Version Independent ID: 1a6fa0e8-e175-ae4d-a9d6-d170255a598e
Content: Use static IP with load balancer - Azure Kubernetes Service
Content Source: articles/aks/static-ip.md
Service: container-service
GitHub Login: @zr-msft
Microsoft Alias: zarhoads

Hello @Banchio,
Thank you for your feedback. We will investigate and update the thread further.

@Banchio,
It is already in the correct format. Please check below

For the below second request, I will discuss with content author and make the necessary change accordingly.
$objectId=(Get-AzAksCluster -Id subscriptions//resourceGroups//providers/Microsoft.ContainerService/managedClusters/).Identity.PrincipalId

@zr-msft - Can you review this please and comment if we can add a reference to retrieve objectId of the aks cluster identity as suggested here


Workspace: Build and mount nix

Based on work in #438.

$ mkdir -p /run/current-system/sw/bin/ && ln -s $(which dbus-daemon) /run/current-system/sw/bin/dbus-daemon
$ mkdir -p /etc/dbus-1
# Remove infinite recursion line
$ cat $(dirname $(dirname $(which dbus-daemon)))/share/dbus-1/session.conf | grep -v '<include ignore_missing="yes">/etc/dbus-1/session.conf</include>' > /etc/dbus-1/session.conf
$ cp $(dirname $(dirname $(which dbus-daemon)))/share/dbus-1/system.conf /etc/dbus-1/system.conf


Expose page-level arrow reader API (#4298)

Which issue does this PR close?

Closes #4298
Rationale for this change

This makes it possible to use the arrow conversion plumbing with custom logic for fetching the sourcing the underlying data pages.
What changes are included in this PR?

Are there any user-facing changes?
The only changes are to experimental APIs, so no breaking changes

@sundy-li could you perhaps take a look and see if this would suit your use-case

Almost LGTM,  how about exposing InMemoryRowGroup ?   Otherwise, we need a similar struct to work.

What do you think of implementing RowGroups for your custom in-memory representation?

Yes, we would to have our own RowGroups implementation but we also want to access the function of RowSelector to inject the page index, so how about making scan_ranges  public.

I also suggest someone write up a tested example of using these new APIs so they don't get inadvertently broken during some future refactor

Sure, I can help later after this pr is merged.


Add Vagrantfile

I've added a Vagrantfile to help with local development & testing.

Based on Ubuntu 14.04
Installs all required and optional dependencies during provisioning.
It exposes ports 2003, 2004, 7002, and 8080.

I missed this merge before and only stumbled across it because of https://answers.launchpad.net/graphite/+question/260408. Besides the lack of documentation for this Vagrantfile, it doesn't actually install Carbon.
I would like to revert this merge unless a solid case can be made for keeping it.

@SEJeff thoughts?

@obfuscurity gah my bad. You're absolutely right. Go for it


yt_dlp.utils.DownloadError: ERROR: [youtube] TjeLJ8gKyX8: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
downloaded_file = await loop.run_in_executor(
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/root/b/YukkiMusic/platforms/Youtube.py", line 289, in audio_dl
info = x.extract_info(link, False)
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1491, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1520, in wrapper
self.report_error(str(e), e.format_traceback())
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1012, in report_error
self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 952, in trouble
raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: [youtube] AYy2HVP4cUQ: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
downloaded_file = await loop.run_in_executor(
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/root/b/YukkiMusic/platforms/Youtube.py", line 289, in audio_dl
    info = x.extract_info(link, False)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1491, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1520, in wrapper
    self.report_error(str(e), e.format_traceback())
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1012, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 952, in trouble
    raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: [youtube] AYy2HVP4cUQ: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

نفس المشكلة

☹☹

Installing from master works. But the last release came from beginning of january, and I believe many fixes for many websites were published since then. Do we know when the next stable release is supposed to be published ?

لقد غير موقع youtube شيئًا ما وكسر المستخرج. لقد تم إصلاحه في الماجستير. يمكنك التثبيت من Master with pip: https://github.com/yt-dlp/yt-dlp/wiki/Installation#with-pip
نسخة (@bashonly)

It didn't work

There will be a new release soon that will fix this. Bear with us & please do not open another duplicate issue


Slow framerate speeds up game

The time is calculated incorrectly when the framerate drops.
Observation

A planet's gravity affects ships more the slower the game runs.

Code in question
https://github.com/jaller94/line-factory/blob/4bc9f8b7a670f9ce3fe605034575c730fb9a33d5/src/index.js#L65-L66

Friction does not take delta into account.


Setting APPLICATION_EXTENSION_API_ONLY to YES

This allows Changeset to be used from within a framework, and outside of an application target,
avoiding this warning:
linking against a dylib which is not safe for use in application extensions: Changeset.framework/Changeset

Bump

Sorry for not seeing this earlier, @NachoSoto. Thanks for fixing.


Text layer slightly broken

Go to page 3 in https://dl.dropboxusercontent.com/s/i23vgfe4bdevern/Lab_el_tranzystory.pdf
It doesn't seem that the pdf is broken though.
Console messages:
12:58:21.482 "PDF fa5c2c847f6dc574f118482c939bec3f [1.3 Acrobat Distiller 5.0 (Windows) / PScript5.dll Version 5.2.2] (PDF.js: 0.8.759)" viewer.js:2601
12:58:28.574 "Warning: TT: complementing a missing function tail" pdf.js:198
Win7 64-bit, last pdf.js development version

Closing as fixed in the latest development version of PDF.js. Text selection is now equivalent to that of other PDF readers.


Smooth scrolling

Hi there! Thanks for this cool little lib! I'm adding it to one of my projects right now and thought that having the smooth scroll feature would be great.
I see that you use:
document.documentElement.scrollTop = 0

in your code, but if you switched to using:
window.scrollTo({ top: 0, behavior: 'smooth' })

then it would work out of the box for most of the browers (here's a Can I Use page for this feature). It could be implemented as a opt-in feature (just adding a bool prop smooth would do the trick).
What do you think? I could make a PR of course if you want.

Hi!
I totally agree. I'm not sure if we should have it enabled by default or as a prop, but I think adding it as a prop is a good solution for now. What do you think?
Please make a PR if you'd like!

@HermanNygaard I have created a PR #2 :)

Thank you very much! This works great


Deployment

Deployment
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser

I have deployed the website and it is now accessible from https://austinfr.github.io/prework-study-guide/


Add more examples

More shaders examples, based on: https://github.com/floooh/sokol-zig/tree/master/src/examples

Running quad [debug mode] on wasm32 get error:
Firefox:
Aborted(Assertion failed: glGetError() == 0, at: /home/kassane/sokol-d/src/sokol/c/sokol_gfx.h,9229,_sg_gl_end_pass) quad.html:11:209
onerror: RuntimeError: Aborted(Assertion failed: glGetError() == 0, at: /home/kassane/sokol-d/src/sokol/c/sokol_gfx.h,9229,_sg_gl_end_pass). Build with -sASSERTIONS for more info. quad.html:11:356
Uncaught RuntimeError: Aborted(Assertion failed: glGetError() == 0, at: /home/kassane/sokol-d/src/sokol/c/sokol_gfx.h,9229,_sg_gl_end_pass). Build with -sASSERTIONS for more info.
    abort http://localhost:6931/quad.js:481
    ___assert_fail http://localhost:6931/quad.js:1155
    tick http://localhost:6931/quad.js:1613
quad.js:481:41
WebGL warning: drawElementsInstanced: Index buffer too small.
Error: Promised response from onMessage listener went out of scope ExtensionMessagingService.js:89:34

Almost all of the sokol-zig examples have been ported to the D language.
It also shows alternative implementations of the same example, in addition to testing more generated shaders.

All examples implemented. debugtext-print & debugtext-userfont skipped! :sweat_smile:


SAS TOKEN Unable to find

Not data returned from Azure Search, check connection..
name 'content' is not defined
KeyError: 'chunk'
Traceback:
File "/tmp/8dbb8b7be883dca/antenv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/tmp/8dbb8b7be883dca/pages/1_Search.py", line 130, in
top_docs.append(Document(page_content=value["chunk"], metadata={"source": location+os.environ['BLOB_SAS_TOKEN']}))

Was not able to replicate


InfluxDBClientError: 204

The expected_response_code of write() and _write_points() should be 204 in v0.9.0-rc30.

Thanks!  I will update it.

This should be fixed!


JNSQ has wrong days after first year

JNSQ with RTB Kopernicus, KSP 1.10.1
After day 365, goes to Y2, D00
This pic showing Y2 D00, 0:00:05 day is wrong for y2
https://i.imgur.com/ka0ac9D.png

this is not necessarily a bug, in some circumstances it is expected to get day 0
I will look into it to understand if it's an issue with how JNSQ-Kronometer compatibility is setup or if it is an actual bug in kronometer itself

this is not necessarily a bug, in some circumstances it is expected to get day 0
I will look into it to understand if it's an issue with how JNSQ-Kronometer compatibility is setup or if it is an actual bug in kronometer itself

this is the file in JNSQ that handles kronometer,
https://github.com/Galileo88/JNSQ/blob/master/GameData/JNSQ/JNSQ_Configs/Kronometer.cfg
it does not change the parameter useLeapYears which in Kronometer is false by default
https://github.com/Kopernicus/Kronometer/blob/master/Distribution/Release/GameData/Kronometer/Settings.cfg#L5
this will result in years starting with day0 when the year starts halfway through a day.
to get the intended behaviour the JNSQ cfg should also have the line:
@useLeapYears = true

however I would have expected the year to end with day 366 if this was the issue, so I am a bit confused if you say the first year ends with day 365....

this is the file in JNSQ that handles kronometer,
https://github.com/Galileo88/JNSQ/blob/master/GameData/JNSQ/JNSQ_Configs/Kronometer.cfg
it does not change the parameter useLeapYears which in Kronometer is false by default
https://github.com/Kopernicus/Kronometer/blob/master/Distribution/Release/GameData/Kronometer/Settings.cfg#L5
this will result in years starting with day0 when the year starts halfway through a day.
to get the intended behaviour the JNSQ cfg should also have the line:
@useLeapYears = true

however I would have expected the year to end with day 366 if this was the issue, so I am a bit confused if you say the first year ends with day 365....

this is fixed in the new version I am about to release

this is fixed in the new version I am about to release

Thank you

Thank you

no problem
notice that there is a bug in kopernicus that affects kronometer as well.
I found the bug since I was getting inconsistent results while fixing kronometer. that bug has already been fixed and the fix should be included in the next bleeding edge release by @R-T-B

no problem
notice that there is a bug in kopernicus that affects kronometer as well.
I found the bug since I was getting inconsistent results while fixing kronometer. that bug has already been fixed and the fix should be included in the next bleeding edge release by @R-T-B


Added session persistence

Added session persistence for the whatsapp-web.js library.
I've followed the following guide: https://wwebjs.dev/guide/creating-your-bot/authentication.html
I don't know if the pupeteer dependency is fully needed, I added it because it wasn't working without it, as mentioned in #2164

In my experience working with wweb.js, it has a nice community updating the library fast but is common for it to be broken due to design changes or similar.
I didn't know about Baileys but It looks like promising alternative, migrating to that could be a nice step forward in my opinion.
I don't promise anything because I'm a bit busy but If I have some free time I will try to make it work on local an open a PR If i manage to run it.

I agree, The only problem with wweb.js is they are using Chrome even though it is headless but still takes lots of resources.
Many people are asking me for a deployment and some are earning money from this bot. Before a few days, a person reached me and he provided me a website link that was earning 100k $ per month by deploying w-bots.  I've also planned to do something similar but due to my study, I'm also busy right now. ping me when you'll be free I'm currently working on a website to get customers.


change default https port (443)

Hello,
we are trying to set nuget gallery. is there a way to change the default https port (443)  to 446?
Thank you

Hello again, I have a hardcoded answer that seems to work in RequireRemoteHttpsAttribute.cs I added the port
string url = "https://" + filterContext.HttpContext.Request.Url.Host + ":446" + filterContext.HttpContext.Request.RawUrl;
maybe this cuold be a web.config property (like sslport)

However, RequireRemoteHttpsAttribute.cs disappears since 2013.

NuGetGallery/RequireRemoteHttpsAttribute.cs was renamed to Fiters/RequireSslAttribute.cs
Fiters/RequireSslAttribute.cs was deleted since 2017

See #9331


Fix line ending doc typo

Fixes https://docs.astral.sh/ruff/settings/#format-quote-style

You might need to run cargo dev generate-all.

Thank you

(I deployed this.)


Clarify "as you would" for beginners.

fixes #1088

I think it would be more helpful to have the cmake one-liners.

Usually after doing generating cmake command, you can do cmake --build . in the build directory, and it will invoke whatever buildsystem cmake generated.

Thank you @aloucks and @gracicot -- those are nice suggestions.  However, that didn't seem to work for me with the current state of master in this repository -- SO I'm just trying to improve documentation for users of the repo as its build process stands today.

@davidvmckay Thank you for this PR. That sentence really did need usage examples. This fix led to me doing a refresh of most of the guide (3b9597048259a198f8f27db7d5eb0eab7de0d3b3). I removed the reference to installation for now. Installation and its pros and cons needs its own section.
If building the main branch with cmake --build doesn't work then please report that as a bug in a new issue.
@aloucks @gracicot CMake one-liners are great. In the update above I show both the make and CMake build lines, partly to demonstrate that people don't need to build via CMake, if that makes sense.
This is only an initial refresh and I would love feedback on it.

This fix led to me doing a refresh of most of the guide ([3b95970]
This is only an initial refresh and I would love feedback on it.

@elmindreda
Wow, that is a fantastic amount of enhancement to the build guide.  I can't wait to see it published to the main site.  Also loving the updates to the project board.


Add information on running two Zigbee radios simultaneously

requested by @NanoWireDnB
https://github.com/home-assistant/skyconnect.home-assistant.io/issues/3

I think we should mainly mention the following facts:

ZHA is single instance only, so it can't control two radio's at once
Other Zigbee solutions can run alongside ZHA (e.g. Zigbee2MQTT, deCONZ)
Do not use radios with cloned IEEE addresses (e.g. do not run the migration steps and then operate both radios)

Fixed by FAQ entry:
reference https://github.com/home-assistant/skyconnect.home-assistant.io/pull/24