Bot keeps changing name back...

Hi. (Sorry for posting in wrong repo last time)
My bot keeps changing it's name back from Profile name -> Steam account name every time it goes online.
Even if im using
dota.steamFriends.setPersonaName("Profile name");
it gets changed :(
If i log into account and change manually it will stay that way, but get changed back almost every time at login. (not always..dont know why)
const Discord = require("discord.js");
const DotaBot = require("dota2-bot");

const discordToken = process.env["DISCORD_TOKEN"];
let discordChannel = null;

const steamLogin = { "account_name": process.env['STEAM_USER'], "password": process.env['STEAM_PASS'] };

const debug = true;
const debugMore = true;

const discord = new Discord.Client();
const dota = new DotaBot(steamLogin, debug, debugMore);

discord.on("message", msg => { // Prevent explosion
	if (msg.author.id !== "12345678" && msg.channel.name === 'hunchat') {
		dota.schedule(() => {
			dota.Dota2.sendMessage('Budapest, Hungary', msg.author.username + ": " + msg.content, 0);
		});
	}
});

dota.Dota2.on("chatMessage", (channel, sender, txt, msg) => { // Prevent explosion
	if (sender !== steamLogin.account_name) {
    discordChannel.sendMessage(`**${sender}**: ${txt}`);
	}
});

discord.on("ready", () => { // Make sure discord part is ready before joining chat channel
  dota.schedule(() => dota.Dota2.joinChat('Budapest, Hungary', 0));
	discordChannel = discord.channels.get("12345678");
});
dota.steamClient.on('logOnResponse', function(res) {
dota.steamFriends.setPersonaName("Profile name");
});
discord.login(discordToken);
dota.connect();

Here is a screenshot of what happens when i run the bot:
https://cloud.githubusercontent.com/assets/25479451/23907362/28034a54-08d1-11e7-95b3-5103e02aaf49.png

At the moment this is "normal" behavior of the bot. Check index.js at line 46. I set the personaname to the account name. I'm going to have to add a parameter to the logindetails for that

Hey duck.
Thanks for the reply, unfortunately i got this attached code written to me, cause i know coding as much as a potato.
Would it be a huge favour to ask: if you could insert this line into the correct place into my code please?
^^

It's already updated on the master branch, I just need to push it to npm


deploy: build The set-output command is deprecated and will be disabled soon

Picture says 1000 words

Your Actions tab on this repository have the same Warnings.

Thanks for submitting this issue @Mieekaserra; one of our actions dependencies provided by GitHub used the deprecated command. I've updated the dependency in #10, and the problem should be resolved; see this build.
Appreciate your patience!

Hi Matt,
you are still getting one of these on the Ruby line


[KARAF-7317] Support spaces in boot features path

URI.create(String) throws a URISyntaxException if any of the resolved URIs from featuresRepositories contains a space.
This is common if customizing the boot features via the karaf-maven-plugin, then running the assembly from within a path containing spaces.
For example:
<plugin>
    <groupId>org.apache.karaf.tooling</groupId>
    <artifactId>karaf-maven-plugin</artifactId>
    <version>${karaf.version}</version>
    <configuration>
        <bootFeatures>
            <feature>standard</feature>
            <feature>my-feature</feature>
        </bootFeatures>
        ...
    </configuration>
</plugin>

will result in a new feature in etc as well as an entry in etc/org.apache.karaf.features.cfg:
featuresRepositories = file:${karaf.etc}/2b260482-45bc-427c-af65-8909c1f2f7a3.xml

However, if karaf.etc contains a space at runtime, Karaf fails to start because the URI cannot be parsed.
This PR simply replaces all spaces with %20 before passing the path to URI.create(String). The encodePath method can be further enhanced if other characters prove to be problematic.

I have created a companion ticket at KARAF-7317.


fixed the .gitignore scaffold bug.

Problem:

npm registry will always swap '.gitignore' for '.npmignore'
Other folks had the issue

Solution:

This is pretty much the solution
Take the "." alway from the .gitignore in the template folder then put the dot back when scaffolding.

I've tested it by deploying to my local npm registry via npm link.
fixes

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

hey @devonwesley thanks for the contribution, can you edit the commit message to follow conventional commits and sign your commit.

@shanejonas No worries, I can do that. The sign your commit link isn't working for me.

oops, fixed the link @devonwesley

@devonwesley commit message could use some help:
maybe something like:
fix(js): force npm gitignore to get copied

fixes #59

also for the unverified signed message:  i think you need to upload your public key to github to verify it, or maybe email mismatch.

Yeah I seen that. Something funky going on with my git. I take a look at it.

@devonwesley branch out of date. can you hit update branch?

Just got the message ill hit update.

Codecov Report

Merging #131 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #131   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         146    148    +2
  Branches        2      2
=====================================
+ Hits          146    148    +2

Impacted Files
Coverage Δ

src/index.ts
100% <100%> (ø)
: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 123784d...71a86cf. Read the comment docs.

Codecov Report

Merging #131 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #131   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         146    148    +2
  Branches        2      2
=====================================
+ Hits          146    148    +2

Impacted Files
Coverage Δ

src/index.ts
100% <100%> (ø)
: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 123784d...71a86cf. Read the comment docs.

Thanks again for your time and this contribution!

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


conditionally require manageiq-providers-amazon in Gemfile

when using the Gemfile inside the provider repo the dependency on manageiq-providers-amazon is already defined
using this in favor of https://github.com/ManageIQ/manageiq/pull/9507
@miq-bot refactoring
@Fryguy I think this is better?!

@durandom is there any particular reason why this provider is always taken from master branch directly and not released with regular gem versioning? thanks

@abonas because we havent released anything yet and it was still a bit in flux.
Do you find it annoying to bundle update when things break?
@Fryguy maybe we should release a version sooner than later?

@durandom it just creates more troubleshooting challenges when master at time X can have specific stuff, and 2 hours later it can have something else and potentially break.  So 2 people can for instanec rebase miq at relatively the same time and get different behavior/problems.

@abonas yes, and we already had that case :unamused:

@abonas yes, and we already had that case

I know and hence was my question...

@abonas wouldn't a released gem still have that problem though? You would still have to run bundle update on the manageiq side, because we won't update the Gemfile with every Amazon gem release

@abonas wouldn't a released gem still have that problem though? You would still have to run bundle update on the manageiq side, because we won't update the Gemfile with every Amazon gem release

@durandom the difference with released gem is that if you work against a specific version, its content is final. so if 2 people work with version X, they should have the same gem. But if you work against master, it is much more dynamic.


Reportback Caption

Important!
We'll need to update the campaigns on Mobile Commons that are actively receiving report backs before pushing this to production. We should also test on staging before pushing to prod. Trello card to remind us is here: https://trello.com/c/CC8rbPaz/168-sms-report-backs-with-captions
What's this PR do?
During the report back flow, users will be asked an additional question to provide a photo caption. The order now goes: photo -> caption -> quantity -> why -> complete.
Where should the reviewer start?

app/lib/ds-content-api/index.js: adds a caption field to be submitted with the reportback request
app/lib/reportback/reportbackConfigModel.js: adds a property for us to configure for the caption opt-in path
app/lib/reportback/index.js: The meat of everything. Works pretty much like how we receive the quantity and send the next message to ask for why. Here we're just dropping in the caption message and receiving in between the photo receiving and quantity message.
app/lib/reportback/test/reportback.test.js: tests modeled after the other tests already done

How should this be manually tested?
$ npm test and also tested by submitting to my local box with Postman.
What are the relevant tickets?
Closes #406

:+1:


Speed up environment setup in CI through local cache/environment

It seems to be quite a bit faster now that rapidwright only downloads data files on demand.

The environment setup action used to take a long time because it downloaded all of the rapidwrite data files. Now the data files are downloaded on demand so it's much faster.
I believe the new longest running setup step is fasm2bels. To make this faster, I think we would want to create a file once the fasm2bels set up completed correctly, and the file would probably contain the hash of the fasm2bels submodule, such that if that file didn't exist or was the wrong version, you would run the setup again, otherwise it could be skipped. (edited)

I've simplified the caching mechanism in #385.  Once that is merged we ought to add a similar caching mechanism for yosys.  Since much of the code will be duplicated, perhaps we can have a generic caching script for submodules in CI.


Add logic for service account management

This change adds a new type adminx.ServiceAccountManager - this will be used for allocating service accounts and service account keys for organizations and nodes that register with the autojoin API.

This change is

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

57 of 57 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 98.393%

Totals

Change from base Build<PHONE_NUMBER>2:
0.1%

Covered Lines:
796

Relevant Lines:
809

💛  - Coveralls


Docs Fix typo in property name of pipeline-execution-engine.md to enable_pipeline_engine

Proposed changes
Issue Number: close #xxx
Problem summary

Seems the existed example with set enable_vectorized_engine command is irrelevant to pipeline execution,  Fix the property name to enable_pipeline_engine.

Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run P0


[BUG] Auto complete preview doesnt trigger labels to go away from the SfInput

Describe the bug
When hovering into autocomplete options in Chrome latest

Is there an approach you can take to be aware that pre-filling is going on?
How to reproduce
Steps to reproduce the behavior:

Have address in browser autocomplete
click into one of the form inputs
observe how the clicked field has label traveling to the top right
hover (dont select just hover) over one of the autocomplete options you have
observe all other fields labels overlapping the pre-filled values

Expected behavior
No overlapping happening when previewing auto complete
Actual behavior
....it happens
Code examples
Sample code (or your configuration) to help us reproduce the bug faster or to understand your use case.
//Write code here

Or add code snippets (Code sandbox)
Screenshots
If applicable, add screenshots to help explain your problem.
Devices (please complete the following information):

Device: [e.g. iPhone6, Desktop]
OS: [e.g. iOS8.1]
Browser: [e.g chrome, safari][version]

Additional context
Anything you would like to add but was not sure which section it fits. For example: tech stack used (Nuxt, Vue, Gridsome, React, etc)

@EugeneHlushko Hi, I couldn't reproduce this error. Can you please provide me with the SFUI version you are using? And also if you use it along with VSF theme?


bicep: 0.30.3 -> 0.30.23

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for bicep is: Domain Specific Language (DSL) for deploying Azure resources declaratively
meta.homepage for bicep is: https://github.com/Azure/bicep/
meta.changelog for bicep is: https://github.com/Azure/bicep/releases/tag/v0.30.23
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.30.23 with grep in /nix/store/dxq4mm25qabpvk5imb436dkwfd2c2r8j-bicep-0.30.23
found 0.30.23 in filename of file in /nix/store/dxq4mm25qabpvk5imb436dkwfd2c2r8j-bicep-0.30.23

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

bicep

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dxq4mm25qabpvk5imb436dkwfd2c2r8j-bicep-0.30.23 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bicep https://github.com/r-ryantm/nixpkgs/archive/c12e7654578a80558f05d280c60fb2c2d32efb85.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c12e7654578a80558f05d280c60fb2c2d32efb85#bicep

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dxq4mm25qabpvk5imb436dkwfd2c2r8j-bicep-0.30.23
ls -la /nix/store/dxq4mm25qabpvk5imb436dkwfd2c2r8j-bicep-0.30.23/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bicep

Maintainer pings
cc @khaneliman @ulrikstrid for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 345377

x86_64-linux

:white_check_mark: 1 package built:

bicep

x86_64-darwin

:white_check_mark: 1 package built:

bicep

aarch64-darwin

:white_check_mark: 1 package built:

bicep

@NixOS/nixpkgs-merge-bot merge


Angular 16 zone.js:175 Uncaught TypeError: el.setAttribute is not a function

hi ive followed the introduction and i have the following error on angular 16, ive tried both 2.0.0-beta42 and 1.10.7
the error:
zone.js:175 Uncaught TypeError: el.setAttribute is not a function
at EmulatedEncapsulationDomRenderer2.setAttribute (platform-browser.mjs:591:16)
at EmulatedEncapsulationDomRenderer2.applyToHost (platform-browser.mjs:753:14)
at DomRendererFactory2.createRenderer (platform-browser.mjs:459:22)
at AnimationRendererFactory.createRenderer (animations.mjs:139:40)
at NgtRendererFactory.createRenderer (angular-three.mjs:2013:63)
at createRootComponentView (core.mjs:13132:54)
at ComponentFactory.create (core.mjs:13016:35)
at ViewContainerRef.createComponent (core.mjs:23220:47)
at angular-three.mjs:2558:40
at timer (zone.js:2355:41)

I believe you need to be on Angular 18+

I can't reproduce this anymore on latest version. Please follow the instruction (https://angularthree.org/core/getting-started/first-scene/) again and open a new issue if you still run into issues. Thanks


Outdated code

If anyone go with this tutorial, definitely the app will not give him the data what he looking for as this tutorial going with.
Just because it is outdated by getting weather data from YQL.

var dataUrl = 'https://query.yahooapis.com/v1/public/yql';

and look app crashed here.
Issue already mentioned by other user(Jan 2017) but document is still not updated.

Hi!
Thanks for the feedback. I've rewritten the codelab from scratch and believe I have fixed this issue. The code has been updated, I'm just waiting for the guide to go live. In the meantime, I've deployed the codelab at https://developers.google.com/web/fundamentals/codelabs/your-first-pwapp/.
If you find any issues with the new codelab, please let us know!
Thanks!


[Feature]: Subcription mail Announce

Describe the feature

In this project input subscription box cannot accessable .
And i want to implement to the mail  Announce to the user.
Thank you for Subscription in this maill send to the user mail address this is more efficiently.

Like this

It's more efficient user Experience .

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@mdazfar2 please assign me..

Hey @sivaprasath2004 It is working well. If you subscribe by entering your valid email, you will recieve a welcome email from official HelpOps-Hub. Why do you guys raise issues without checking anything?

@mdazfar2 I will checked i'll waiting for 5 min i'll not received the mail..

Hey @sivaprasath2004, can you do one thing for the button below? When the user clicks on this button, a pop-up message should say "Under Maintenance" because we are creating this page for this button. If you can do this, please raise an issue for it. and create PR as soon as possible. I need it


Composition of plutarch functions

I decided to add plutarch function composition as the first step of contribution.
Do we need it?

Thanks for the patch!
Unfortunately, there is an issue I'm not sure what to do about:
f (g x) is smaller than (\x -> f (g x)) $ x. Perhaps we shouldn't introduce function composition because of this inefficiency, because we want to discourage f #. g #$ x. OTOH, is there a way by which we can make it efficient? Perhaps we should nonetheless include this.
@srid @TotallyNotChase

IMO, true Plutarch level composition is only really useful (and zero cost) for higher order functions taking in Plutarch functions. There is debate to be had about when HOFs benefit from taking in Plutarch level functions already, and you could ideally micro-optimize by alternating between HOFs taking Haskell level functions and Plutarch level functions.
Outside of HOFs, such as in the case of the example- f #. g #$ x, we should rather encourage-
(#..) :: Term s (b :--> c) -> Term s (a :--> b) -> Term s a -> Term s c
(#..) bc ab x = bc #$ ab # x

-- f #.. g $ x

or something similar.
I don't know if it's possible to make true Plutarch function composition efficient without more eta reductions and inlining over Plutarch functions themselves.

I've been thinking that Plutarch-level function application shouldn't translate to a raw RApply anymore. We want to do these kinds of manipulations with Plutarch-level functions too, albeit it would require a rewrite of Plutarch.Internal.

Given how common something like f . g $ x is Haskell-side, I would say that a change making it cheaper to do the equivalent Plutarch thing is worth it.

I agree, I will look into this when I have more time. Until then, this PR won't be merged I think @sergesku , thanks for the contribution though!


Software crashes upon pressing "settings"

I followed the installation video, step by step and got the software installed. Upon launch, I press settings where the whole software crashes. I get the message "NameError: name 'wheel' is not defined.

Sorry for the late response, we were at our summer cottage and it doesn't have an internet connection.
Unfortunately you must have a controller or wheel to use the app. If you have one, then please plug it in. If you don't have a controller then I suggest looking at this application, note that I have not used it myself : https://youtu.be/_UHNavRGav4
If this fixes your issue then please close it :)

Ah right, I thought the virtual controller was a way of bypassing the need for a physical controller. Unfortunately that application does not work on windows 11 according to the Dev so guess I'm out of options for now. Thanks anyway and enjoy your holiday

Ah that's too bad, well if the problem is vjoy (I had thought about using it myself too, just found a better virtual controller) then I succesfully installed this version of vjoy (github.com) on windows 11.


route with module

after adding module and moving to it, route breaks for native application controllers by adding its module name into path even if we produce layout from application
app/
---layouts
--------myalyout.php                <---- here we define Url::toRoute(['site/index'])
modules
---abc
--------controllers
-------------DefaultController.php     <---- here we stand rendering its index view using mylayout.php
before adding module "abc"
Url::toRoute(['site/index'])  ----->  ?r=site/index
after adding module "abc" and moving to it  ( ?r=abc )
Url::toRoute(['site/index'])  ----->  ?r=abc/site/index
possible workaround
Url::toRoute(['//site/index']);
is it proper behavior and i just must add double slash?
regards

/absolute/path/ (with any module or without it)
relative/path (relative with current module)

A route may be either absolute or relative. An absolute route has a leading slash (e.g. /site/index), while a relative route has none (e.g. site/index or index). A relative route will be converted into an absolute one by the following rules:

    If the route is an empty string, the current [[\yii\web\Controller::route|route]] will be used;
    If the route contains no slashes at all (e.g. index), it is considered to be an action ID of the current controller and will be prepended with [[\yii\web\Controller::uniqueId]];
    If the route has no leading slash (e.g. site/index), it is considered to be a route relative to the current module and will be prepended with the module's [[\yii\base\Module::uniqueId|uniqueId]].

(c) https://github.com/yiisoft/yii2/blob/master/docs/guide/helper-url.md#creating-urls-

That's expected as @lynicidn pointed out.


Question about vertex count increasing after exporting

Hi
Will appreciate if someone can help me with this issue
I imported a cube model from a .fbx file into Blender, it shows cube has 56 vertices. After exporting to .gltf number of vertices becomes 80. I thought this is due to discontinuous UVs of the model.

So I snapped the separate UV vertices positions (bottom face) to the position of top face UVs (at center) and then merged them with (UV -> Weld/Align -> Merge UV by distance) and applied a triangulation modifier on the model and exported it,

but yet I see the number of vertices is 80. I am not a Blender expert and probably I am doing something wrong.
I also tried to export it to .obj file and seems to work fine for .obj and the number of vertices is 56.
Here are the blender files:
files.zip
(One of them is the original file and the other one is UV fixed and triangulated)
Using Blender v2.81 and addon v1.2.17 (installed manually from master branch).
Regards

I thought this is due to discontinuous UVs of the model.

You were right :) In glTF every vert has a unique UV, unlike Blender or .obj or .dae where it has one UV per face it's in. (This is how graphics APIs like OpenGL work.)
So open up the UV editor and turn on UV Sync Selection. If you select one vert in the 3D View and more than one vert is selected in the UV Editor, that vert will get split into multiple verts (one per distinct UV coordinate) when exporting.

Snapping the UVs from the bottom face to the UVs from the top face doesn't do anything. Separate verts in Blender are always separate in glTF. You could decrease it by one by welding the two UV-verts in the picture above together (with UV -> Weld/Align -> Weld), but some amount of splitting is always going to happen when exporting to glTF.

Ah, I see, that explains it. Thank you so much for your explanation :)


Error with Social Authentication (Facebook): NoReverseMatch: Reverse for 'socialaccount_signup'

Hello,
I enabled Facebook login following documentation but I'm getting the same error described here:
https://github.com/pennersr/django-allauth/issues/558
What am I missing? Thanks in advance.

I'm getting this error when trying to login with a facebook account that has the same email address as an already registered user.
Environment:

Request Method: POST
Request URL: http://<IP_ADDRESS>:8000/rest-auth/facebook/

Django Version: 1.7.4
Python Version: 2.7.8
Installed Applications:
('django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.sites',
 'rest_framework',
 'rest_framework.authtoken',
 'rest_auth',
 'rest_auth.registration',
 'allauth',
 'allauth.account',
 'allauth.socialaccount',
 'allauth.socialaccount.providers.facebook')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  111.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
  57.         return view_func(*args, **kwargs)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/django/views/generic/base.py" in view
  69.             return self.dispatch(request, *args, **kwargs)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
  407.             response = self.handle_exception(exc)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/rest_framework/views.py" in dispatch
  404.             response = handler(request, *args, **kwargs)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/rest_auth/views.py" in post
  51.         if not self.serializer.is_valid():
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/rest_framework/serializers.py" in is_valid
  186.                 self._validated_data = self.run_validation(self.initial_data)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/rest_framework/serializers.py" in run_validation
  367.             value = self.validate(value)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/rest_auth/registration/serializers.py" in validate
  36.             complete_social_login(request, login)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/allauth/socialaccount/helpers.py" in complete_social_login
  145.         return _complete_social_login(request, sociallogin)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/allauth/socialaccount/helpers.py" in _complete_social_login
  161.         ret = _process_signup(request, sociallogin)
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/allauth/socialaccount/helpers.py" in _process_signup
  28.         url = reverse('socialaccount_signup')
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/django/core/urlresolvers.py" in reverse
  551.     return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
File "/Users/jeppe/djangotest/restauthtest/.virtualenv/lib/python2.7/site-packages/django/core/urlresolvers.py" in _reverse_with_prefix
  468.                              (lookup_view_s, args, kwargs, len(patterns), patterns))

Exception Type: NoReverseMatch at /rest-auth/facebook/
Exception Value: Reverse for 'socialaccount_signup' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []

@vesterbaek Make sure you have 'allauth.socialaccount' added to your INSTALLED_APPS
More about social auth configuration http://django-rest-auth.readthedocs.org/en/latest/installation.html#social-authenitcation-optional

Yes, that's already added. This works fine for a facebook user with an email address that's not already registered in django/allauth. In that case, auto signup is not allowed (due to email address unique constraint), causing allauth to try to resolve the socialaccount_signup url name. See here: https://github.com/pennersr/django-allauth/blob/aeecd6caed0053554649a56c1091b549525cccca/allauth/socialaccount/helpers.py#L27

@vesterbaek see my commit, your are missing this line:
https://github.com/Tivix/django-rest-auth/commit/8182a33c6660c01dce5f32eeedf71f4d23328651#diff-1d260d423859f618e00ad92002a624acR22

I did what @eriol  did up there in settings file. But now my users are getting created without email id !!!
Here is my settings file configuration any help please???
` SOCIALACCOUNT_EMAIL_VERIFICATION = None
SOCIALACCOUNT_EMAIL_REQUIRED = False
SOCIALACCOUNT_QUERY_EMAIL = True
SOCIALACCOUNT_PROVIDERS = {
    'facebook':
        {
            'METHOD': 'oauth2',
            'SCOPE': ['email', 'public_profile', 'user_friends'],
            'AUTH_PARAMS': {'auth_type': 'reauthenticate'},
            'FIELDS': [
                'id',
                'email',
                'name',
                'first_name',
                'last_name',
                'verified',
                'locale',
                'timezone',
                'link',
                'gender',
                'updated_time'],
            'EXCHANGE_TOKEN': True,
            'LOCALE_FUNC': lambda request: 'en_US',
            'VERIFIED_EMAIL': False,
        }
}`

Same here. No idea why email isn't set on email model field.

Maybe someone already said that, but django tries to redirect to socialaccount_signup if an automatic signup could not be performed.
And this happens if email is not present in the Facebook API response. That can happen even if email scope was added. You'll be surprised to find out that email is missing from the Facebook graph response even if email is in a scope. I am still digging that, but it seems that it happens if the email on your facebook account isn't verified or something. Double check that.

Same error in my case. Any updates on this issue?

This issue doesn't seems to be resolved (I'm facing it too). Can you guys reopen it?

When the user email already exists, it disables the auto_signup and tries to redirect to socialaccount_signup url. But it's not configured (based on documentation). So, it fails with the reported error.
And disabled SOCIALACCOUNT_EMAIL_VERIFICATION doesn't seems to be right solution and it doesn't work for me either.

allauth issue url: https://github.com/pennersr/django-allauth/issues/418

If anyone is still experiencing this issue, this happens if you included allauth.urls in a urls.py that defines an app_name.
e.g. authentication/urls.py
app_name = "authentication"
urlpatterns = [
    ...
    path("social/", include("allauth.urls", namespace="")),
    ...
]

I guess the namespace gets carried over to the included URL???
one solution around this I think is to include  allauth.urls in your root urlconf instead.

If anyone is still experiencing this issue, this happens if you included allauth.urls in a urls.py that defines an app_name.
e.g. authentication/urls.py
app_name = "authentication"
urlpatterns = [
    ...
    path("social/", include("allauth.urls", namespace="")),
    ...
]

I guess the namespace gets carried over to the included URL???
one solution around this I think is to include  allauth.urls in your root urlconf instead.

@ramsrib could you please explain the solution?

The problem seems to be related to social account email verification. Relaxing configuration with
SOCIALACCOUNT_EMAIL_VERIFICATION = 'none'
SOCIALACCOUNT_EMAIL_REQUIRED = False
SOCIALACCOUNT_QUERY_EMAIL = True

make it works.

This solved my problem


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 08:42:29 on 2023.06.05
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 23380
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=23380

Problem has been resolved in 12m 0s at 08:54:29 on 2023.06.05
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 23380


How to mimic Cypress "Test-specific-Configuration" using Gherkin

Cypress feature
See https://docs.cypress.io/guides/references/configuration#Test-specific-Configuration
Using native Cypress, one can state that a test is only valid for a given configuration. For example, that a test should be run when browser is different from chrome only. While testing with chrome, the test will be skipped.
It takes the shape of:
describe(name, config, fn)
context(name, config, fn)
it(name, config, fn)
specify(name, config, fn)

Such as
it('Show warning outside Chrome', { browser: '!chrome' }, () => {
  cy.get('.browser-warning').should(
    'contain',
    'For optimal viewing, use Chrome browser'
  )
})

Desired behaviour
I would like to write a gherkin such as
Given we are not in our local environment
When ...
Then ...

With Given ... being a step that acts as the option { target: '!local' } that Cypress accepts (obviously target being a valid variable within my config object, don't worry about that).
Is it possible? If yes how would you write it? If no, could it be considered?
I want to prevent using tags if possible here.
Workaround
Tagging & calling tests using tags.
Versions
"cypress": "7.4.0",
"cypress-cucumber-preprocessor": "4.0.0",

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.
Read more about the transfer of ownership here.
The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.


fix(deps): update helm release sysdig-deploy to v1.72.0

This PR contains the following updates:

Package
Type
Update
Change

sysdig-deploy (source)
helm_release
minor
1.71.0 -> 1.72.0

Release Notes

sysdiglabs/charts (sysdig-deploy)
v1.72.0
Compare Source
What's Changed
Chores

cluster-shield,sysdig-deploy 7b050fb3: bump cluster-shield to version 1.6.0 (#2073)

Full diff: https://github.com/sysdiglabs/charts/compare/sysdig-deploy-1.71.0...sysdig-deploy-1.72.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 1.4.1 :tada:
The release is available on:

GitHub release
v1.4.1

Your semantic-release bot :package::rocket:


Updated unit testing for text extraction functions

Why not simply use docx2txt or python-docx-text? Both are open source and we do not need any deep manipulation of Word files here. They are usually pretty basic, and all formatting is gone anyway when going to a corpus management system? Please tell me what is missing in these libraries? Or maybe you haven't found them?

I tried using both of those libraries at some point, but none of them support .doc files directly. I also attempted to convert the .doc files into .docx files before extracting text, but it didn't work as intended either.

Ah, now I get it. I'll see what other options we might have.
wt., 9 lip 2024, 16:10 użytkownik DiSuVe @.***> napisał:

Why not simply use docx2txt or python-docx-text? Both are open source and
we do not need any deep manipulation of Word files here. They are usually
pretty basic, and all formatting is gone anyway when going to a corpus
management system? Please tell me what is missing in these libraries? Or
maybe you haven't found them?
I tried using both of those libraries at some point, but none of them
support .doc files directly. I also attempted to convert the .doc files
into .docx files before extracting text, but it didn't work as intended
either.
—
Reply to this email directly, view it on GitHub
https://github.com/cognitive-metascience/corpora_conversion_tools/pull/2#issuecomment-2217847724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALBERVMH5TG3UYGSOBGTCTZLPVOVAVCNFSM6AAAAABHG2RNWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJXHA2DONZSGQ
.
You are receiving this because you commented.Message ID:
@.***
com>

Oh, I remember I had to use Apache Tika instead. I have to see whether the
crawler leaves anything unprocessed, as I got zillions of duplicates when I
indexed it with Lucene.
wt., 9 lip 2024, 19:21 użytkownik Marcin Miłkowski @.***> napisał:

Ah, now I get it. I'll see what other options we might have.
wt., 9 lip 2024, 16:10 użytkownik DiSuVe @.***>
napisał:

Why not simply use docx2txt or python-docx-text? Both are open source and
we do not need any deep manipulation of Word files here. They are usually
pretty basic, and all formatting is gone anyway when going to a corpus
management system? Please tell me what is missing in these libraries? Or
maybe you haven't found them?
I tried using both of those libraries at some point, but none of them
support .doc files directly. I also attempted to convert the .doc files
into .docx files before extracting text, but it didn't work as intended
either.
—
Reply to this email directly, view it on GitHub
https://github.com/cognitive-metascience/corpora_conversion_tools/pull/2#issuecomment-2217847724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALBERVMH5TG3UYGSOBGTCTZLPVOVAVCNFSM6AAAAABHG2RNWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJXHA2DONZSGQ
.
You are receiving this because you commented.Message ID:
@.***
.com>

OK. I had a closer look on Tika and on our corpus. In fact, we have almost 294 thousand (!) files to convert. Doing this using Python seems like a bad idea (parsing docs is computationally intensive). However, we can add basic metadata to all text files by traversing the directory. This should be relatively easy. Thus, please refactor your code to do just that: assume that there are .txt files, and that they should have associated .json files (unless they are supplement files) so that we could add appropriate metadata. Just ignore all other file formats (I think html can be safely discarded as well).


Node detected as browser

I'm trying to run Bugsnag on StackPath's Serverless Scripting platform. However Bugsnag appears to be detecting the platform as a browser rather than node, and trying to load browser-specific code:
[error] ReferenceError: self is not defined
    at eval (webpack:///./node_modules/@bugsnag/browser/dist/bugsnag.js?:1261:49)
    at eval (webpack:///./node_modules/@bugsnag/browser/dist/bugsnag.js?:1:38)
    at eval (webpack:///./node_modules/@bugsnag/browser/dist/bugsnag.js?:1:59)
    at<EMAIL_ADDRESS>(<script>:5:76)
    at r (<script>:1:110)
    at eval (webpack:///./node_modules/@bugsnag/js/browser/notifier.js?:1:18)
    at<EMAIL_ADDRESS>(<script>:9:76)
    at r (<script>:1:110)
    at eval (webpack:///./src/scripts/legacy.ts?:4:14)
    at Object../src/scripts/legacy.ts (<script>:37:89)

Any way to force Bugsnag to detect the environment as Node?

You could directly install and require @bugsnag/node.
It would seem weird that a server platform would follow the browser key in package.json.
How are you installing and importing Bugsnag? I guess webpack is running with target: 'node' but I don't know why that would still load from the browser key.

Setting the webpack target to node did the trick, thanks.
StackPath uses a custom V8 engine so it still doesn't work as expected, but I'll post another issue or PR if we need to.


Consol Service Registration Fails With Post

Looks like consul now does not like POST requests to it's api and it seems PUT should now be used instead. Cluster.RegisterService now fails due to this as it's POSTing to the endpoint.
[ERR] http: Request POST /v1/agent/service/register, error: method POST not allowed

Same here, I changed to PUT and it Worked.

Same Issue with DeregisterServiceAsync (was using GETAsync), Changed to PutAsync and worked

Same here, could you please merge the pullrequest?

@robgeurden after several months and no answer I created another project to use with it, check my repo called Megaphone

@thiagoloureiro Thx will check it out!

@thiagoloureiro, just tried it, Only thing is I've got .net core web api projects. Perhaps a port to .net standard?

@robgeurden I will create a new branch today to migrate to .net standard 2.0, let's see how it goes.


Refactor the bcpc::ssh recipe. Remove 'failed to start' error.

Here's a simplification the SSH recipe.
We can fetch key items from the vault at compile rather than converge time.
If done this way, we can take advantage of the recipe DSL instead of creating resources with Chef::Resource.
Also, on our current version of chef, the init provider seems to work fine with upstart.
If we utilize the service resource :start action, the 'failed to start ssh' error on every chef run goes away.
The PR is broken up into two commits.
The first commit can be cherry picked to only fix the 'failed to start' error.
The second commit is recommended to simplify the cognitive complexity of the recipe.
It shortens the recipe by 25%, and it removes some unnecessary levels of nesting.
The diff looks a little nasty, but viewing the full recipe looks a lot nicer.
This is the typically the first recipe that cluster_assign_roles.rb runs on a newly provisioned node,
so we should start the chef-run off right.
This has been tested under the following situations:

ssh is not running

ssh is already running

host keys already exist in the vault
should save the key values in the vault over the existing host keys on the node.

host keys don't exist in the vault, but they exist on the node.
create and update the vault with the existing host key values from the node.

host keys exist in neither the vault nor on the node.
now, it logs warning messages. previously, this was unhandled in the original recipe.

If the vault item does not yet exist, and the client does not have admin privileges to create the vault item, an exception is immediately raised at compile time rather than proceeding with a improperly configured ssh service.

Using chef-vault at compile time is unsafe and will break the debugger if anything goes wrong.
We should move things out of the compile phase rather than into it.

putting this on the backburner for now...


Docs: minor modifications to homepage

Description
Minor modifications to the homepage of the documentation.

/test

Thanks Luca!

/merge


Destroy Orbit

Hi there, I'm creating tabs with different orbit in them, and I was wondering if it will be possible to pause or destroy the slide when the tab is not active?

Glad you resolved this issue, but I wish I knew how you did it :)


Q: XDawn implementation

Hi,
I have python code for XDawn algorithm, and I though it will be interesting to push it on MNE.
However, i'm not sure of the API and where to put it.
Xdawn algorithm is two part. The first one is a least square estimation of the evoked responses, taking into account the possible overlap of ERPs. It could be a standalone method, something like :
evokeds = least_square_evoked(raw, events, event_id, tmin, tmax, decim, picks)
this method would return a list of evoked objects, one for each type in event_id.
The second part is a generalized Rayleigh quotient to estimates a set of spatial filters that maximize the signal to signal + Noise ratio.
The Xdawn api could be something similar to the ICA Instance
xd = Xdawn(n_components=4,...)
with a fit method
xd.fit(raw, events, event_id, tmin, tmax, decim, picks)
then, the Xdawn instance could have some methods like plot_components(), get_sources(), plot_source_evoked(), etc.
Where is the best place to put this ? preprocessing maybe ?
What do you think ?

Xdawn algorithm is two part. The first one is a least square estimation of
the evoked responses, taking into account the possible overlap of ERPs. It
could be a standalone method, something like :
evokeds = least_square_evoked(raw, events, event_id, tmin, tmax, decim,
picks)
this method would return a list of evoked objects, one for each type in
event_id.

do you really need to start from raw? why not epochs? I am just afraid of
duplicating epochs construction params here.

The second part is a generalized Rayleigh quotient to estimates a set of
spatial filters that maximize the signal to signal + Noise ratio.
The Xdawn api could be something similar to the ICA Instance
xd = Xdawn(n_components=4,...)
with a fit method
xd.fit(raw, events, event_id, tmin, tmax, decim, picks)
then, the Xdawn instance could have some methods like plot_components(),
get_sources(), plot_source_evoked(), etc.

same rmk why not starting from epochs?

Where is the best place to put this ? preprocessing maybe ?
What do you think ?

yes preprocessing.
once you have xd what do you do with it? you get projs?
how would a full decoding or simple evoked denoising pipeline look like?

do you really need to start from raw? why not epochs? I am just afraid of
duplicating epochs construction params here.

The algorithm works with continuous signal. in the case your ERPs are not overlapped, then you could simply use epochs, because it is equivalent to the standard average.
It is technically possible to reconstruct pseudo-continuous signal from epochs and events position, and run the algorithm on it, but it is a source of bug IMO.

same rmk why not starting from epochs?

same + spatial filters are computed from the ERP covariance and the signal covariance, which mean to have access to the full signal.

once you have xd what do you do with it? you get projs?

For my specific case, i only use it to visualize spatial patterns and "sources" evoked potential.
i like this algorithm because it deal very well with overlapped responses and is very effective to reduce dimensionality.

how would a full decoding or simple evoked denoising pipeline look like?

From a decoding point of view, xd is used as a preprocessing before epoching and classification. However, since it need all the signal before epoching, it is not very compatible with the current decoding API. For this reason i made a simplified version that works with epoched signal, but which does not take into account the overlap in the responses (one of the main advantage of this method).
it could be also used for denoising, similarly to an ICA (you find the 2 components that maximize the evoked responses, nullify the others, and back-project the signal)

The algorithm works with continuous signal. in the case your ERPs are not overlapped, then you could simply use epochs, because it is equivalent to the standard average.
It is technically possible to reconstruct pseudo-continuous signal from epochs and events position, and run the algorithm on it, but it is a source of bug IMO.

I would try to make it work from epochs as the API would be much
simpler and it would avoid some code duplication with epoching
mechanism but I can be wrong... Maybe I should look at the code to get
a better opinion.

same rmk why not starting from epochs?
same + spatial filters are computed from the ERP covariance and the signal covariance, which mean to have access to the full signal.

why not providing MNE covariance objects?
I am not trying to convince you but challenging your vision :)

once you have xd what do you do with it? you get projs?
For my specific case, i only use it to visualize spatial patterns and "sources" evoked potential.
i like this algorithm because it deal very well with overlapped responses and is very effective to reduce dimensionality.
how would a full decoding or simple evoked denoising pipeline look like?
From a decoding point of view, xd is used as a preprocessing before epoching and classification. However, since it need all the signal before epoching, it is not very compatible with the current decoding API. For this reason i made a simplified version that works with epoched signal, but which does not take into account the overlap in the responses (one of the main advantage of this method).

to me it sounds like a transformer in the sklearn API sense. Making it
work with epochs would make it very similar to a CSP transformer as we
have it already.

it could be also used for denoising, similarly to an ICA (you find the 2 components that maximize the evoked responses, nullify the others, and back-project the signal)

I like that. I would vote for objects that implement fit_transform as
the CSP class.

I would try to make it work from epochs as the API would be much
simpler and it would avoid some code duplication with epoching
mechanism but I can be wrong... Maybe I should look at the code to get
a better opinion.

i also don't like code and API duplication. The least square estimation could works from epochs. To do so i would have to reconstruct the original signal using the events position and merge part of the signal that are overlapped. En the End, it would only works if the information of epochs.events is in sync with the data. My concern is that it will be misleading to the user, thinking that it will works with any Epoch instance, while such methods like concatenate_epochs, decim, resample or crop will break the sync between events posision and the data.

why not providing MNE covariance objects?

I will use mne covariance object. especially for the "noise" covariance. I made a first try for the implementation here but i got lost in the mne covariance code before being able to use it :(
However, i dont want the main method to only takes covariances as input. it will be too complicated for the user, and also require a deep understanding of the algoritm itself. My goal here is to provide an implementation as close as the description in the paper. It should be practical to use without worrying about all the small subtlety of the algorithm.

to me it sounds like a transformer in the sklearn API sense. Making it
work with epochs would make it very similar to a CSP transformer as we
have it already.

I already have a transformer in my pyriemann toolbox here. It is a simplified version to be 100% compatible with the sklearn api. It is more or less equivalent to the original algorithm, but works only for non-overllaped ERP. It is also lighter and faster. We can integrate it if you want.
As i said, my goal is to provide the full original algo, which is interesting outside the decoding perspective. I use it to extract spatial patterns and un-convolved ERP average when i use an overlapped experiment desing. In this sense, it is much more close to the ICA than the CSP. One option is to add proj objects so i would be able to use the mne object related to them.

Hi again,
I implemented the denoising part, working similarly to the ICA, but is supervised and built to increase the SSNR of the ERP.
it works pretty well.
for examples, here is the epochs image before denoising :

and after :

It works also on the raw data, where you can actually see the ERP :

and a zoom out on the same part

we can clearly see the ERP occurring at a constant pace.

From a user's standpoint, I see no other reasonable option than to work with MNE's Epochs object.
With the plain and simple Epochs procedure, the original timeline can be reconstructed, since the event onsets are properly stored.
Can we make concatenate_epochs, decim, and resample properly deal with event onsets? I see no real downside to that, since the event onset/duration columns become meaningless if we don't resample them too.
When constructing an EpochArray object, the user is free to construct the events in any way deemed appropriate, so no guarantees are given.
Can we add an correct_overlap flag to the constructor of the XDawn object? If epochs are non-overlapping, you don't want the large computational overhead of applying the correction. When the flag is set to true, a check can be performed to determine whether the event onsets/durations would actually produce overlapping Epochs, and other sanity checks, and give an error if this is not the case. In this case, the user can still use the XDawn algorithm even when the event markers have become unusable, in the full knowledge that overlap correction will not be performed.

From a user's standpoint, I see no other reasonable option than to work with MNE's Epochs object.

Then, the user would have to provide the raw covariance in case he want to apply the algorithm in the best possible condition. but it is still acceptable.

Can we make concatenate_epochs, decim, and resample properly deal with event onsets? I see no real downside to that, since the event onset/duration columns become meaningless if we don't resample them too.

Sure, it's more a bug than a true limitation. I just wanted to point this as a potential source of bug since most of the Epochs methods doesn't care about the event positions after epoching.
I can do a PR for this.

Can we add an correct_overlap flag to the constructor of the XDawn object?

yep, we can add this flag, with a 'auto' / True / False  where auto select the best approach given the event positions.
Last thing, the algorithm train a set of spatial filter for each event_id, so when you call apply, it return a denoised version of the signal for each condition. does it seems ok to you ?

@alexandrebarachant can you write a code snippet a user would write? I like to think about API issues looking at code. It does not matter if the gist is not backup by actual code.
btw your preliminary plots are great !

with the epoch API, this can look like this gist
if the signal covariance is not provided, then the aglo will use the covariance of the signal reconstructed from the epochs.
the main part of the code is done at 80%

that looks like a good API to me.

the snipet works with my xdawn branch.
you can play with it if you want.
I will improve the code and the doc and open a PR

Last thing, the algorithm train a set of spatial filter for each event_id, so when you call apply, it return a denoised version of the signal for each condition.

This should be clearly documented. It confused me in the gist.

with the epoch API, this can look like this gist
if the signal covariance is not provided, then the aglo will use the covariance of the signal reconstructed from the epochs.
the main part of the code is done at 80%

great. Looks like we have a plan !
looking forward to it.

@alexandrebarachant this is very exciting and I like the API a lot. What was the status of the Raw/Epochs discussion. I see no reason not to have both as possible inputs to fit, as is possible with our ICA class.

This should be clearly documented. It confused me in the gist.

@wmvanvliet yes this is a bit confusing. the apply method takes event_id as a param, so you can specify which class of filter to apply. If not provided, all the filters are applied. In both case, the method return a dict of epoch instance. i don't know if there is a better option.
@agramfort I will have time to finish this later this week. I also want to add some method to visualize spatial patterns and the corresponding source evoked responses.
@dengemann I removed the fit from raw. I can put it back, but there is a lot of duplicated code with the epoch class, especially all the checks. Anyway, if you provide the signal covariance from raw, the results is strictly equivalent.

@alexandrebarachant for comprehension, which data should the signal covariance include conceptually for Xdawn? Only signal of interest or noise segments too or only noise / signal of non-interest segments?

@dengemann In the original paper, it is the covariance of all the signal (including signal of interest). The algorithm optimize the signal to (signal + noise) ratio of the ERP. A natural extension would be to provide the noise cov only, so that you will optimize the SNR.

@dengemann as a side note, Xdawn can be seen as a Whitening + SVD of the evoked response.

This is interesting! I will play with it as soon as I find some time. Might also be interesting to see how it interacts with cov-estimation options and to explore the baseline cov use case.

indeed. For the MEG data provided with MNE, i don't expect a very strong difference, since the ERP is very strong and will dominates the solution. For noisier data, providing a noise cov only may lead to improvements.

@alexandrebarachant can you open a PR with your xdawn branch so we can start to look?

How similar is this to rERPs? See #2304

@jona-sassenhagen I just saw the PR. I think it is very similar, at least for the evoked response estimation. I have to read the paper, but i definitely think we could share some code.

Merged in #2296


back camera flipped detection

when using the back camera to detect the faces, the bounding box is moving opposite of the subject we are trying to detect

Yes, this issue is pending. Camera Preview for the back camera is flipped on the screen

Any solution for the flipped back camera??


Memory Leak on Linux

OS: Arch Linux (With antergos and testing repos)
GPMDP Version: 4.5.0 (Happens with Flatpak and AUR versions)
Issue Descriptions: The memory usage of the app slowly starts climbing the second the app starts, topping out at 2.1 GBs used (It doesn't seem to go any higher).

After getting so high the entire app slows down. Though music still plays, there can be larger then normal gaps between the songs. The UI becomes highly unresponsive, usually taking a couple seconds to respond. I dual boot and this issues isn't present of Windows store version.
Steps to Reproduce: Open up the app and wait a few minutes.

Aha, that was it. I don't actually use discord on linux so IDK why I had turned it on in the first place. Thanks and sorry I didn't see that previous issue.


Duplicate CSSOM-VIEW references in DOM

See https://github.com/whatwg/dom/pull/191 for details.

Just noting some details for myself:

SpecRef has both CSSOM-VIEW and CSSOM-VIEW-1, with the former an alias for the latter.
Shepherd sees the versioned shortname as CSSOM-VIEW-1, but I should be splitting that into its unversioned shortname and level.

Somewhere between these two I'm conflicting and accidentally not deduping.  Probably related to my improved handling of biblio aliasing recently.

So, there are two ways I could handle this.
The easy way is to just canonicalize all biblio refs that are aliases in the database to use the "final" form.  I can fix up the biblio ref itself to use the same key, so you don't get the mismatch between biblio ref and index entry.  Unfortunately, this can produce inconsistent display: for example, CSS specs are apparently totally random about whether "css3-foo" is the canonical form and "css-foo-3" the alias, or vice versa.
The harder way is to keep track of all aliases, so if you use one of them explicitly in a biblio ref, I can "bless" that as the canonical form and use that for the display of everything else.
Hmmmm, actually the "hard" one isn't too hard.  It will mean I'll have to throw errors if you refer to the same spec two different ways in different biblio refs, but that's probably a good thing.

And done. DOM now generates with [CSSOM-VIEW], matching your explicit biblio ref.

Really glad this is fixed (and apparently [DOM] vs. [WHATWG-DOM] is fixed too!). Just as a note:

So, there are two ways I could handle this.

Honestly I'd really prefer the easy way, so that all Bikeshed-created specs use the same reference names. I think there's a separate problem of updating the relevant databases so that the canonical names are sensible, consistent, and preferably always uppercase, but personally I'd rather live with some css3-foos and some css-bar-3s in my bibliography, than deal with switching between specs and sometimes seeing css3-foo and sometimes css-foo-3.

The "easy way" would mean that [DOM] vs [WHATWG-DOM] switches to the other spelling. ^_^
I don't think it's a big deal that specs can use different names for the same references? I mean, that's the whole point of having aliases.  The "easy" fix for this is to just drop all SpecRef aliases on the floor so you  have to use the correct "base" name.
I don't have a problem, in the ideal future where all the "base" names are the "preferred" form, with switching this over to being opinionated and canonicalizing everything to use the base name.  But I think it would be a regression today, with the current database we have, to do so.  People usually know what's what and use the "best" names already.

Would it be specref that I would have to go update to get us to that ideal future?

Could we also make a list of the cases where the base name is not the preferred form? I know WHATWG-DOM, and I guess you've cited some CSS inconsistencies; could you narrow that to specific cases?


Implement "Sidecar" debugging mode

As a bot developer, I want to be able to enter a debugging mode in the Emulator that allows me to connect to a BotDebugger enabled bot so I can focus on interactions between my bot and the user when interacting with an external channel like Skype or Teams.
Acceptance Criteria

An actionable 'view' menu item with the text: "Enter Sidecar Debug Mode" should exist.
When selected, the user enters into sidecar debug mode which closes an existing Botfile (if present) after confirming with the user first.
When sidecar debugging is enabled, The Webchat control enters into a "readonly" state by removing the message input and the services pane is hidden since no botfile is needed for this mode.
The webchat control is provided a custom message renderer that displays trace activities in a meaningful way to the user which includes the original message activity as well as any important trace data.
The state is remembered by the Emulator and is applied on subsequent startups.
The menu item is updated to use [Enter,Exit]Sidecar Debug Mode depending on the state.

Definition of Done

An actionable menu item exists that toggles the debug mode.
If a botfile is open and the user enters sidecar debug mode, a confirmation is presented that  all open conversations will be closed
The webchat control enters and exits readonly mode and the services pane hides and shows successfully when the menu item is toggled.
Trace activities are rendered with a custom renderer in the webchat control when in sidecar debug mode.
The user can connect their locally running bot to the emulator while interacting with is using any channel.
NOTE Diffing 2 bot state objects as described in #1395 will remain it's own task

Running through this morning's daily build and we're looking good.


Followups Not Working

Describe the bug
Use "more" dropdown and select "quote to new topic".
You are redirected to a new topic post page as expected but w/o the quoted message.  Go through the posting process and its not a followup as it should be.
ElkArte info

2.0

I would guess I broke it at some point, so... well, let's see how long it takes for me to find the issue. :sob:
Actually @Spuds do you remember if it was on a fresh install or an upgrade? Because I have the feeling it could just be an issue with settings not properly migrated or created in the first place during either one (or both) of the processes.

I don't recall if it was a fresh install ... I'm going to say no as I generally just overwrite the old files with new and hope for the best LOL.


VisualScriptPropertySet\GET ignores or malforms the nodepath of exported properties

v3.2.4.rc3.official
Windows 10 PRO; Radeon RX 570 8GB; Driver 20.12.1; GLES3
VisualScriptPropertySet\GET ignores or malforms the nodepath of exported properties
If you drag an exported property from the inspector to the visual script scene graph everything functions fine. If you for whatever reason need to use the ASSIGN feature to get the node it will not function properly.
If you make a built in VisualScript and look at the .tscn you will see that the paths are diffrent.
# This one works
[sub_resource type="VisualScriptPropertySet" id=1]
_default_input_values = [ "sample text" ]
set_mode = 1
base_type = "Spatial"
type_cache = {
"class_name": "",
"hint": 0,
"hint_string": "",
"name": "scripted_node_variable",
"type": 4,
"usage": 8199
}
node_path = NodePath("../scripted_node")
property = "scripted_node_variable"

# this one does not work
[sub_resource type="VisualScriptPropertySet" id=2]
set_mode = 1
type_cache = {
"class_name": "",
"hint": 0,
"hint_string": "",
"name": "",
"type": 0,
"usage": 7
}
node_path = NodePath("scripted_node")

Minimal reproduction project:
visual_script_set_nodepath_malformed.zip

Hi, Yes when using the select a node the path returned will be relative to to root not the node where the script is attached.
Using the "Visual Script Editor Extention" plugin you are now able to edit the nodepath as String


Is using test file name for inference a fair practice?

Isn't it wrong to use the name of the test image file for the inference process? Like suppose I named them img1.png, img2.png, ..., then the code would not work. Also you can't do inference with images whose class_id you don't know or even which doesn't fall into one of the class_ids.

In the depth estimation task, we think introducing the category name of the scene is not unfair. The task focuses more on the low-level details while the provided category name is a high-level concept. In our VPD, we only use the category name to better exploit the pre-trained knowledge of the text-to-image diffusion model.
We can also run our model without the category name by using another simple network to predict the category of the scene (which is not difficult to learn), and the results should stay the same.

Thanks for the reply!
Another doubt that I had was about taking the mean for the text embeddings for a given class with all the imagenet templates. What is the motivation for this? In the stable diffusion model originally we are to give a single text sentence right?


fixed the scroll up button,enhanced the colors indark mode and divs aligned

BEFORE
BEFORE22.zip
AFTER
AFTER22.zip

@PriyaGhosal  Good evening mam ,would you please consider in increasing the level ...

@Shobhit1729Aryan Can you make all button sky in dark mode and leave logo colour as it is i.e White which is according to the theme

This sky colour

@Shobhit1729Aryan Are you working on it??

@Shobhit1729Aryan Are you working on it??

Yes ,I will update till evening today

Conflicting files
about.html
chatbot.css
Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


enhance no-http-verbs-in-paths with excludedPaths option

Is your feature request related to a problem? Please describe.
https://redocly.com/docs/cli/rules/no-http-verbs-in-paths/
Invariably, there are going to be false positives. Rather than adding them to the Redocly ignore file (which I tend to use more as an API design debt log) I want to be able to list excluded paths as a rule configuration.
Describe the solution you'd like
rules:
  no-http-verbs-in-paths:
    splitIntoWords: true
    excludedPaths:
      - /foo/profile-options/

Option
Type
Description

excludedPaths
[string]
List of paths to exclude from evaluation by this rule.

Describe alternatives you've considered
Doing nothing and using the Redocly ignore file (but it feels noisy to me).
Additional context
n/a

Should the name of the option be past tense (excluded) or present tense (exclude)? I see that some options are past tense and some are present (allowedValues vs ignoreCase, allowAdditionalProperties). Does it make sense to use one naming pattern, at least for new options?

/assign i will solve this issue.

@Ayush9026 sure, please go ahead!


verbose run configs

We isolated these changes from the incremental psyclone pr to keep things smaller.
Some improvements to the example run configs, including a verbose argument which can be set in the rose config

I'm generally happy with the PR.  I've added a comment about help messages on options and maybe using an argument group for default options, but I appreciate these are largely matters of taste and style.

Thanks Sam!


fix 2 for xlink local cmake

fixes luxonis/depthai-core#272
replaces PR #298

I ran four sets of tests -- the 2x2 matrix of

build shared = yes/no
xlink local = path/nothing

And for each test, I verified:
config works
build works
install works
app build works
app works
These tests were run on Windows 10 with VS2019.
@themarpe , I now realize that the CI didn't automatically run when I opened my last PR -- so I didn't get feedback of CI failure so I could fix the issue. CI didn't run until you triggered something.
Is this your team's policy? Or a config issue that my PR was based to develop? As a contributor sample set of 1 😉 it is useful for the CI to give me feedback on my PR so I can fix issues before your team engages.

I see above... it thinks I am a first timer. 🙃

@themarpe , I now realize that the CI didn't automatically run when I opened my last PR -- so I didn't get feedback of CI failure so I could fix the issue. CI didn't run until you triggered something.
Is this your team's policy? Or a config issue that my PR was based to develop? As a contributor sample set of 1 wink it is useful for the CI to give me feedback on my PR so I can fix issues before your team engages.

Its been lately bumped to require explicit approval - because of HIL testing is being added. Not sure if possible to limit to specific workflows though (as suggested by warning message). That would be better, to still run CI for parts that can be done by public GH runners. Currently there aren't great options in this regard apart from fork solution (that has to be manually updated to keep up to date...)

Its been lately bumped to require explicit approval

I'm a gihub actions novice. Could you have a workflow yaml specifically for PRs to develop...
on:
  pull_request:
    branches:
      - develop
runs-on: [win, linux, x64, gpu] // but don't list self-hosted

because all self-hosted runners have the self-hosted label. So also put all your runners except the self-hosted?
Or you have a label lux_hardware and this specific workflow (which is only for PRs to develop) doesn't list that label.
or somehow make workflows that use self-hosted runners need write permissions? because, by default, the github permission token for PRs has only read permission?

Right now it seems like the approval is a repository wide setting so it determines behavior for all workflows.
I think what might work a bit better is to move HIL testing into a separate workflow that isn't triggered on PRs.
But still not the best option, as its nice being able to run PRs as long as code is trusted in HIL.
Maybe a combination of both and some bot to trigger the HIL testing with a command from a trusted user for PRs...
Right now the explicit approval covers both so as long as we get to PRs in time to check and run the workflow it'll do for the initial HIL testing iteration IMO.
Major problem with self hosted runner is that even GH didn't yet decide upon a good means of "security" regarding what/who can run on them, etc.. so they straight up recommend not using them in a public repository. For a repo which deals with HW, this isn't the best solution hah

Got it. I was looking around (as I might setup workflows myself). I might investigate something like the far under to trigger a specific workflow based on a specific review comment...
The auto CI can keep your team busy elsewhere while people like me submit a well-intending PR, but missed something (like I must have in my first PR) in our self-test matrix (or don't have the capability for a broad CI matrix). I get your team is evolving, no worries. 👍
# not syntatically correct...
on:
  pull_request_review_comment:
    branches:
      - develop
if: contains(event.comment, '#do-hil') && event.sender.type = 'Collaborator'
runs-on: [lux_hardware]
steps: ...


go: -mod may only be set to readonly or vendor when in workspace mode, but it is set to "mod"

my problem is:
go: -mod may only be set to readonly or vendor when in workspace mode, but it is set to "mod"
Remove the -mod flag to use the default readonly value,
or set GOWORK=off to disable workspace mode.
what is wrong?
//go:generate go run -mod=mod github.com/google/wire/cmd/wire

can not work.
edit the code to this:
//go:generate go run github.com/google/wire/cmd/wire

can work.
while after work the code is replace back to:
//go:generate go run -mod=mod github.com/google/wire/cmd/wire

then can not work.
I have to edit the code again.
may be there is some thing wrong here:
	buf.WriteString("// Code generated by Wire. DO NOT EDIT.\n\n")
	buf.WriteString("//go:generate go run -mod=mod github.com/google/wire/cmd/wire" + tags + "\n")
	buf.WriteString("//+build !wireinject\n\n")
	buf.WriteString("package ")
	buf.WriteString(g.pkg.Name)
	buf.WriteString("\n\n")

it always generete code:
//go:generate go run -mod=mod github.com/google/wire/cmd/wire

or may be there is some other wrong.
but I don't know how to fix it.

that's a duplicate of https://github.com/google/wire/issues/403

that's a duplicate of #403

OK let me close this issue. and wait for you solve that problem.


Error: Could not locate the bindings file

Hi @TooTallNate , i am trying to use lame with icecast to stream live audio using Edcast. I was unable to run my node server file "Stream.js" I was getting this error
root@Darmie:/var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream# node stream.js

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: Could not locate the bindings file. Tried:
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/build/bindings.node
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/build/Debug/bindings.node
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/build/Release/bindings.node
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/out/Debug/bindings.node
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/Debug/bindings.node
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/out/Release/bindings.node
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/Release/bindings.node
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/build/default/bindings.node
 → /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/compiled/0.6.12/linux/x64/bindings.node
    at bindings (/var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/bindings/bindings.js:88:9)
    at Object.<anonymous> (/var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/lib/bindings.js:1:99)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:32)
    at Function._load (module.js:308:12)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/lib/decoder.js:7:15)
    at Module._compile (module.js:441:26)

Hey, I'm having the same issue here. What could be causing this?

node v6 requires arm v7+ apparently, and my raspberry pi B+ is arm v6


build-panda task tells me panda's up to date, but then proceeds to build it

Haven't run rakudobrew build moar in a while. After doing so, did this:
$ rakudobrew build-panda
Already up-to-date.
==> Bootstrapping Panda
==> Fetching File::Find
==> Building File::Find
Compiling lib/File/Find.pm to mbc
==> Testing File::Find
t/01-file-find.t .. ok
{snip}

So, it gives me the impression that its panda is up to date, but then it goes on to rebuild it anyway.

Panda might be up to date, but its dependencies may not be or may need to be rebuilt for some other reason. The 'Already up-to-date' message is the result of calling the 'git' command and just means the repo is up to date.

Ah. Thanks. Would be informative if git told you the message was from git. Thanks.

Fixed, thanks :)


Check in Cloud Job Discovery quick start

CJD got Public beta launch so we would like to have our samples checked in as other projects.

Thank you for reviewing our pull request so soon.

Done

Sorry, basic-company is checked in by mistake. It should be included in another PR, not this one.


addition of material-ui library

Just including this as PR to notify you guys that I've added material-ui to the dependencies list

@seanho96 is ash not a collaborator on this project? Can't tag her.


[Fix #1327] Fix a false positive for RSpec/Capybara/SpecificMatcher

Fix: #1327

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[-] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

If you have created a new cop:

[-] Added the new cop to config/default.yml.
[-] The cop is configured as Enabled: pending in config/default.yml.
[-] The cop is configured as Enabled: true in .rubocop.yml.
[-] The cop documents examples of good and bad code.
[-] The tests assert both that bad code is reported and that good code is not reported.
[-] Set VersionAdded in default/config.yml to the next minor version.

If you have modified an existing cop's configuration options:

[-] Set VersionChanged in config/default.yml to the next major version.

I'm curious, should this be offensive or not?
expect(page).to have_css("a[href=google.com]")

Specs currently tell it's not, but that
expect(page).to have_css("a[href]")

is.
Same for e.g.
expect(page).to have_css("button[name=click-me]")

vs
expect(page).to have_css("button[name]")

Is it common to use name/href without a value in selectors?

Indeed it is. Thank you so much.
I've considered offense both of the following:
expect(page).to have_css("a[href=google.com]")
expect(page).to have_css("a[href]")

How about this?

Nice!

I've considered offense both of the following:

expect(page).to have_css("a[href=google.com]")
expect(page).to have_css("a[href]")

I could only find the first one is specs.
expect(page).to have_css("select[#{attr}=foo]")

Do you mind adding the second one, too? I can imaging e.g visible or disabled can be used without the value.
I suggest keeping them in the same examples, e.g.:
        expect(page).to have_css("table[#{attr}=foo]")
                        ^^^^^^^^^^^^^^^^^{attr}^^^^^^^ Prefer `have_table` over `have_css`.
        expect(page).to have_css("table[#{attr}]")
                        ^^^^^^^^^^^^^^^^^{attr}^^^ Prefer `have_table` over `have_css`.

It certainly looks better that way. I've added a test.

Thank you for the fix, @ydah !


MaterialPageRoute adaptive page transition on iOS is too fast on stable channel v1.5

On iOS, MaterialPageRoute, which adapts by sliding pages in from the right, is sliding the page much too fast.
I only noticed it on the latest stable build, v1.5.4-hotfix.2 so not sure when it started happening.
The transition is too fast when running:

in debug and release mode
on slow devices (iPhone 6) and fast devices (iPhone XR)

CupertinoPageRoute slides at the right speed (according to my eyes)
You can see it when you run flutter_gallery on an iOS device.
Maybe I'm doing something silly?
Hope this is helpful.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
[✓] Android Studio (version 3.4)
[✓] Connected device (2 available)

Hi @ghunter99
Are you still experiencing this issue with latest stable?
If yes,  can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.


[FLINK-31413][hive] Change scope of flink-table-planner dependency from provided to test in Hive connector

What is the purpose of the change
To make Hive connector not use flink-table-planner dependency with provided scope any more.
Brief change log

cb14f1 creates PlannerCalciteQueryOperation in flink-table-calcite-bridge to avoid hive connector using PlannerQueryOperation located in flink-table-planner.
79cae8 copies some code from OperationConvterUtils to TableSchemaUtils to avoid hive connector using OperationConvterUtils located in flink-table-planner.
6f55d0 removes usage org.apache.flink.table.planner.functions.* located in `flink-table-planner
3756ae copies HintPredicate,NodeTypeHintPredicate, LogicalDistribution,LogicalScriptTransform, ExpressionBuilder from flink-table-planner to hive connector
7d6d6f allows to HiveParser to parse some special command to avoid always delegating these commands to default flink parser.
27db16 removed the logic that always fall back to default flink parser and change the scope of flink-table-planner dependency  from provided to test. We still need flink-table-planner dependency in test since the tests for Hive dialect will use it.

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

@LadyForest Thanks for reviewing. I have addressed your comments.

@flinkbot run azure

@LadyForest Thanks for reviewing. Merging......


Fix authentication for confluence root url with context path

Fixes #80

Coverage decreased (-0.2%) to 89.327% when pulling e741da2147d01fda2b694de10da3dd876a731ab6 on bugfix/fix-authentication-for-url-with-context-path into 91a1bbd27d64ce28a0ab362bb5ff4971e00ab57a on master.


Blazor client side satellite assembly loading for localization

Hi,
I've created two .resx files (Localization and Localization.en-gb.resx). Both files have a build action set to "Embedded resource". After build I can see "en-gb" folder with sattelite assembly "MyApp.resources.dll".
When starting an app only MyApp.dll (main dll) is downloaded to the client so I can't use any of the resources defined in Localization.en-gb.resx file.
Is there any workaround for loading satellite assembly?
Is there any other (preferred) way to enable localization on blazor client side?

I use https://github.com/MarcStan/Resource.Embedder which embeds satellite assemblies inside the main assembly.
Then I use a JS interop script to get the browser language and change the current culture info.

@rborosak thanks for contacting us.
We are closing this issue as @campersau already provided a solution for this scenario.

@javiercn  is this an official solution or just a current workaround?  Should we do localization on blazor client side like this?

@rborosak No it isn't.
We haven't dive into this area as of yet. As we focus on blazor web assembly in the coming months it might be something we decide to tackle.


Fix for "find" when iterating folders without permission

When "find" is used to look for the mainline debian package, it looks in /home and /root. If there is any folder where find has no permission to look into (e.g. 'thinclient_drives' when using xrdp), the command will fail.
This is because 'find' will return with code 1 when there is any error (related or not).
This patch will first discard all errors written on stderr (send it to /dev/null) and second will always return 0 exit code to prevent the script from failing.
The exit code is not relevant in this case because the result of found mainline-kernel packages is checked (has to be exactly 1 result). If there are more (or no) matches, script will still fail.

This makes sense. I can't see any obvious problems with this. Thanks for your contribution 🙏


Artist Metadata Download

What version of Music Assistant has the issue?
2.3.3
What version of the Home Assistant Integration have you got installed?
2024.12.2
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
In music assistant server, my artist metadata (artwork) does not download.
If I manually update the metadat, it does download pictures and updates, but I would have to manually update each artist one-by-one and I have many.
How to reproduce
just look at artsit page or any artists
Music Providers
file system (local on local disk)
spotify
Player Providers
google cast
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.12.2
What type of installation are you running?
Home Assistant Core
On what type of hardware are you running?
Linux

Duplicate of https://github.com/music-assistant/hass-music-assistant/issues/3230


Unmet dependencies on cluster create (kubernetes-cni (= 0.6.0) but 0.7.5-00 is to be installed)

I just tried setting up a Kubernetes cluster with Hetzner Cloud.
I ran into a similar issue as #195.
run failed
command:apt-get install -y docker-ce kubelet=1.13.4-00 kubeadm=1.13.4-00 kubectl=1.13.4-00 kubernetes-cni wireguard linux-headers-$(uname -r) linux-headers-virtual
stdout:Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kubeadm : Depends: kubernetes-cni (= 0.6.0) but 0.7.5-00 is to be installed
 kubelet : Depends: kubernetes-cni (= 0.6.0) but 0.7.5-00 is to be installed
E: Unable to correct problems, you have held broken packages.

err:Process exited with status 100

Possible related to: https://github.com/kubernetes/kubernetes/issues/75683 &  https://github.com/kubernetes/kubernetes/issues/75701

@cwoebker Had the same issue. Quick fix is to change kubernetes-cni to kubernetes-cni=0.6.0-00 in /pkg/clustermanager/provision_node.go:238

I have the same issue here.

Any updates?

I fixed this issue on my forked repo.
If anyone interest you can get fix that repo.
https://github.com/eaydogan/hetzner-kube
Here is the commit diff:
https://github.com/eaydogan/hetzner-kube/commit/9e688d7283d1c3f209a4a7c1a0ec8b6e7211aba9

If the project owner accepts, I can send PR for these changes.

Would prefer to put version strings of packages to install in a separate config file, that could be placed somewhere, if i want to overwrite compiled version strings. use case is, that i dont have to recompile the project.


Workaround for GetCollisionCheckPts bug in VectorFieldPlanner

Each step of VectorFieldPlanner currently validates the entire trajectory, from the start, instead of only the part added since the last check. @rachelholladay noticed that this significantly slows the planner down when using a slow status callback.
This is a workaround. The correct fix is to modify GetCollisionCheckPts to correctly handle a non-zero starting time.

What is wrong with GetCollisionCheckPts() implementation of start_time?
https://github.com/personalrobotics/prpy/blob/master/src/prpy/util.py#L1532

There is a comment near our call to GetCollisionCheckPts that explains this:

This should start at t_check. Unfortunately, a bug in GetCollisionCheckPts causes this to enter an infinite loop.

I spent a significant amount of time debugging this, but was never able to completely stamp it out. I don't think it's worth doing so at this point - we're better off switching to the excellent collision checking code that @DavidB-CMU added in #228. I created issue #289 to track this.

What is the status of this PR?

I am happy to merge this once Travis is happy. Did you have any additional comments?

PlanToEndEffectorOffset is failing a constraint deviation check now. I wonder if we have an off-by-one error in our logic. 😦
======================================================================
FAIL: test_PlanToEndEffectorOffset_SatisfiesConstraint (tests.planning.test_VectorFieldPlanner.VectorFieldPlannerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/workspace/src/prpy/tests/planning/methods/PlanToEndEffectorOffset.py", line 66, in test_PlanToEndEffectorOffset_SatisfiesConstraint
    self.assertAlmostEqual(distance, 0.1, delta=0.005)
AssertionError: 0.10909466094016954 != 0.1 within 0.005 delta
-------------------- >> begin captured logging << --------------------

It might be nice to keep this function around because potentially it's a second method we can compare in our collision-checking benchmarks.
Here's a possible fix to GetCollisionCheckPts(), to correctly handle a non-zero start_time.
It works for my test cases, but there is perhaps a different situation that we're not checking for: if the step size gets very small but one of the joints is still beyond DOF resolution.
def GetCollisionCheckPts(robot, traj, include_start=True, start_time=0.0,
                         first_step=None, epsilon=1e-6):
    """
    Generate a list of (time, configuration) pairs to collision check.

    This function works by taking two joint configurations, if the delta for
    any joint is greater than DOF resolution then the straight-line joint
    path is bisected to find a new end configuration to check.

    If every generated configuration is collision free, then the trajectory is
    guaranteed to be collision free up to DOF resolution. This function only
    operates on timed trajectories. If you want to use this function on a path,
    then consider using the util.ComputeUnitTiming function to compute its
    arclength parameterization.

    @param openravepy.Trajectory traj:  The timed trajectory for which we need
                                        to generate sample points.
    @param bool include_start: True = collision-check the first point, which
                               should be the current configuration.
    @param float start_time: Generate points from start_time to duration.
    @param float first_step: The first dt step size to take.
                             None = default to trajectory duration.
    @param float epsilon: Used to determine if a sample time is close enough
                          to being the duration time.

    @returns generator of (time, configuration) pairs
    """

    if not IsTimedTrajectory(traj):
        raise ValueError('Trajectory must be timed. If you want to use this '
                         'function on a path, then consider using '
                         'util.ComputeUnitTiming() to compute its arclength '
                         'parameterization.')

    cspec = traj.GetConfigurationSpecification()
    dof_indices, _ = cspec.ExtractUsedIndices(robot)
    q_resolutions = robot.GetDOFResolutions()[dof_indices]
    duration = traj.GetDuration()

    if not (0. <= start_time < duration + epsilon):
        raise ValueError('Start time {:.6f} is out of range [0, {:.6f}].' \
                                                  .format(start_time, duration))

    start_time = min(start_time, duration)

    if first_step is None:
        first_step = duration - start_time

    if not (0. < first_step <= (duration - start_time)):
        raise ValueError('First step {:.6f} is out of range (0, {:.6f}]' \
                                     .format(first_step, duration - start_time))

    # Bisection method. Start at the begining of the trajectory and initialize
    # the stepsize to the end of the trajectory.
    t_prev = start_time

    # Error, this line causes infinite loop:
    # t_prev is a time, not a waypoint number
    #q_prev = cspec.ExtractJointValues(traj.GetWaypoint(t_prev), robot, dof_indices)
    q_prev = cspec.ExtractJointValues(traj.Sample(t_prev), robot, dof_indices)

    dt = first_step

    if include_start:
        # Collision check the first point
        yield t_prev, q_prev
    while t_prev < (duration - epsilon):
        t_curr = t_prev + dt
        q_curr = cspec.ExtractJointValues(traj.Sample(t_curr), robot, dof_indices)

        # Step violated dof resolution. Halve the step size and continue.
        if (numpy.abs(q_curr - q_prev) > q_resolutions).any():
            dt = dt / 2.0
        else:
            # Yield this configuration.
            yield t_curr, q_curr
            # Double the step size and continue.
            q_prev = q_curr
            t_prev = min(t_curr, duration)
            dt = 2.0 * dt

Replaced by #359.


Can you help to support DataType.Time for write to PostgreSQL?

Hello: @bytefish
Can you help to support DataType.Time for write to PostgreSQL? I found DataType.time in class de.bytefish.pgbulkinsert.pgsql.constants.DataType, but i cannot find method wirte LocalTime data type in class de.bytefish.pgbulkinsert.row.SimpleRow, and can you help for support it ?
Thank you very much!

Yes, I think you are right! It's missing in the SimpleRow. I will add it and release a new version to GitHub. But this may take some time, I have so many other things on my desk right now. 😵
If you can make a Pull Request I would be happy to accept.

@bytefish thanks!

@tangyibo I have added the SimpleRow#setTime method to the SimpleRow implementation. It should be available as 6.0.1 as soon as the Maven Repositories update their index. Let me know, if this fixes your problem. 👍

Thanks very much!