WinUI 3 Xaml crashes occasionaly when calling IObservableVector::Clear method

Describe the bug
I have 2 observable collections each bound via x:Bind to ListView and GridView controls
Windows::Foundation::Collections::IObservableVectorWindows::Foundation::IInspectable _folders = single_threaded_observable_vectorWindows::Foundation::IInspectable();
Windows::Foundation::Collections::IObservableVectorWindows::Foundation::IInspectable _folderNavStack = single_threaded_observable_vectorWindows::Foundation::IInspectable();
Clearing the items via Clear occasionally causes crash ( 1 in 10 to 15 tries). See attached stack trace.
As a workaround I am replacing the entire collection with a new vector and then rasing corresponding property changed event.
Stack Trace.txt
Steps to reproduce the bug
x:Bind observable collection to ListView and GridView items
Populate the controls with Items
Clear to empty the entire collection
Repeat
Expected behavior
Clear method should work as expected and empty the controls without causing crash
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.2.1: 1.2.221116.1
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

Update: I ported my code over to C#' and ObservableCollection .Clear method does not crash.   This is a problem with C++/WinRT's winrt::single_threaded_observable_vector implementation. Please see stack trace provided earlier


send() isn't working anymore

I tried using both chatgpt.send() and creating my own logic, but none of them worked. it was working before, but the ChatGPT website got a UI update in which somehow it won't send the message automatically anymore (you have to manually modify the text first)
my own logic:
const sendButton = document.querySelector('form button[class*="bottom"]');
const chatInput = document.querySelector("form textarea");

if (chatInput) chatInput.value = "some text";
if (sendButton) {
  sendButton.removeAttribute("disabled");
  sendButton.click();
}

@madkarmaa thank you for reporting this, it is fixed! Can you replace your import w/
<EMAIL_ADDRESS>or
https://code.chatgptjs.org/chatgpt-latest.min.js

@adamlui could you explain what changed?

@madkarmaa could I check out the project you made?

@adamlui nice, I think there could be an addition to the send() method. you could add a parameter to the function where you can choose between using the keyboard event or clicking the send button.
the project I'm creating is the following: https://github.com/madkarmaa/automatic-chatgpt-dan
but in the currently published version I'm not using your library. if you want to see the pre-release version I'm working on, here it is: https://dl.dropboxusercontent.com/s/rb9xz1icekshfev/test.user.js

nice, I think there could be an addition to the send() method. you could add a parameter to the function where you can choose between using the keyboard event or clicking the send button

@madkarmaa What are some situations where one would be preferred over the other?

the project I'm creating is the following: https://github.com/madkarmaa/automatic-chatgpt-dan
but in the currently published version I'm not using your library

Looks cool, what's a DAN prompt and its relation to jailbreaking? (Incidentally, my next script was going to remove moderation)

if you want to see the pre-release version I'm working on (with your library), here it is: https://dl.dropboxusercontent.com/s/rb9xz1icekshfev/test.user.js

When you finish, I'd like to add it to the 'Made w/ chatgpt.js' section if you want

@adamlui

What are some situations where one would be preferred over the other?

mobile devices maybe? I'm unsure keyboard events work the same way they do on PCs

When you finish, I'd like to add it to the showcase projects section of docs/website (if you want)

sure why not, I'm also adding attributions to your library in the README.md file of my project

@madkarmaa Good point, I added an optional 2nd arg for method: 'click' clicks, while any other value uses the keyboard event
The new jsDelivr url is<EMAIL_ADDRESS>

@adamlui v4 of my script is officially published

@madkarmaa what's a short sentence to describe the script?

"Browser userscript to automatically send DAN messages to ChatGPT"

@madkarmaa it's added, check it out


let's improve it and expand the audience

And rename laravel-json to json, so your audience is userland, rather than just artisans.

did you just re-write the whole package in order to improve the overall quality? :laughing: :+1:

@johannesschobel yup

@jarektkaczyk that is just awesome! you're a beast ^^

It looks good to me 🙃💁🏻♂

Solid, looks great 🥇

@jarektkaczyk Good work!

As an aside, this will need to be re-submitted to Packagist, as well as (probably) have v2.0.0 tagged as it changes some naming/namspaces around.

@svenluijten Thanks for the reminder. (Finally got the auto-update on to work). Version 3.0.1 is now released on Packagist


Running knex migrations on AWS ElasticBeanStalk

Hi All,
Just wonder if anyone has solved this one. Challenges faced include access to global knex & node modules among others.
Any suggestions/snippets appreciated.

Closing this because it's not knex specific. Stack Overflow may be a better place to get an answer. If you or someone else figures out a solution certain post it or link to it here.

@gmcdowell Ever make any progress on this? We are currently evaluation Elastic Beanstalk.

Yup. You need to install knex globally e.g.
sudo /opt/elasticbeanstalk/node-install/node-v0.10.31-linux-x64/bin/npm install -g knex

Thanks. If anyone else comes across this you can probably accomplish this with container commands. Disclaimer I haven't actually tried the script below but it should work:
{
	"container_commands":{
		"01_enable_rootaccess":{
			"command": "echo Defaults:root \!requiretty >> /etc/sudoers",
		},
		"02_install_knex":{
			"command": "sudo /opt/elasticbeanstalk/node-install/node-v0.12.0-linux-x64/bin/npm install -g knex",
			"leader_only": true
		}
		"03_database_migrations":{
			"command": "knex migrate:latest",
			"leader_only": true
		}
	}
}

I got it working with local knex package install

Since this is the top hit on google, posting my working setup:
.ebextensions/01-migrate-db.config
container_commands:
  01_node_binary:
    command: "ln -sf `ls -td /opt/elasticbeanstalk/node-install/node-* | head -1`/bin/node /bin/node"
    leader_only: true
  02_npm_binary:
    command: "ln -sf `ls -td /opt/elasticbeanstalk/node-install/node-* | head -1`/bin/npm /bin/npm"
    leader_only: true
  03_migrate_db:
    command: "sudo DB_HOST=${DB_HOST} DB_PORT=${DB_PORT} DB_NAME=${DB_NAME} DB_USER=${DB_USER} DB_PASSWORD=${DB_PASSWORD} npm run db:migration:run"
    leader_only: true

package.json
{
   scripts: {
     "db:migration:run": "knex migrate:latest"
   }
}

http://stackoverflow.com/questions/32082115/running-knex-migrations-on-elastic-beanstalk


[opencv4] build failure

Operating system
Windows 11 22621
Compiler
MSVC 19.16.27050 w/ NVCC 11.1.74
Steps to reproduce the behavior
$ vcpkg install opencv[eigen,ffmpeg,webp,contrib,nonfree,cuda]
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/src/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j21
    Working Directory: C:/src/vcpkg/buildtrees/opencv4/x64-windows-dbg
    See logs for more information:
      C:\src\vcpkg\buildtrees\opencv4\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/opencv4/portfile.cmake:451 (vcpkg_cmake_install)
  scripts/ports.cmake:147 (include)

error: building opencv4:x64-windows failed with: BUILD_FAILED

Failure logs
c:\src\vcpkg\installed\x64-windows\include\eigen\src/Core/GenericPacketMath.h(796): error C2665: 'log': none of the 3 overloads could convert all the argument types
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(483): note: could be 'long double log(long double) noexcept'
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath(182): note: or       'float log(float) noexcept'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_math.h(480): note: or       'double log(double)'
c:\src\vcpkg\installed\x64-windows\include\eigen\src/Core/GenericPacketMath.h(796): note: while trying to match the argument list '(const Packet)'
        with
        [
            Packet=Eigen::internal::Packet16f
        ]
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/BesselFunctionsImpl.h(667): note: see reference to function template instantiation 'Packet Eigen::internal::plog<Eigen::internal::Packet16f>(const Packet &)' being compiled
        with
        [
            Packet=Eigen::internal::Packet16f
        ]
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/BesselFunctionsImpl.h(611): note: while compiling class template member function 'T Eigen::internal::generic_k0<T,Eigen::internal::unpacket_traits<Eigen::internal::Packet16f>::type>::run(const T &)'
        with
        [
            T=__m512
        ]
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/BesselFunctionsImpl.h(761): note: see reference to function template instantiation 'T Eigen::internal::generic_k0<T,Eigen::internal::unpacket_traits<Eigen::internal::Packet16f>::type>::run(const T &)' being compiled
        with
        [
            T=__m512
        ]
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/BesselFunctionsImpl.h(761): note: see reference to class template instantiation 'Eigen::internal::generic_k0<T,Eigen::internal::unpacket_traits<Eigen::internal::Packet16f>::type>' being compiled
        with
        [
            T=__m512
        ]
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/BesselFunctionsImpl.h(760): note: while compiling class template member function 'T Eigen::internal::bessel_k0_impl<T>::run(const T)'
        with
        [
            T=__m512
        ]
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/BesselFunctionsImpl.h(1910): note: see reference to function template instantiation 'T Eigen::internal::bessel_k0_impl<T>::run(const T)' being compiled
        with
        [
            T=__m512
        ]
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/BesselFunctionsImpl.h(1910): note: see reference to class template instantiation 'Eigen::internal::bessel_k0_impl<__m512>' being compiled
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/BesselFunctionsPacketMath.h(86): note: see reference to function template instantiation '__m512 Eigen::numext::bessel_k0<Packet>(const Scalar &)' being compiled
        with
        [
            Packet=Eigen::internal::Packet16f,
            Scalar=Eigen::internal::Packet16f
        ]
c:\src\vcpkg\installed\x64-windows\include\unsupported\eigen\src/SpecialFunctions/arch/AVX512/BesselFunctions.h(25): note: see reference to function template instantiation 'Packet Eigen::internal::pbessel_k0<Eigen::internal::Packet16f>(const Packet &)' being compiled
        with
        [
            Packet=Eigen::internal::Packet16f
        ]

Additional context
No response

I can't reproduce this issue in my side with latest vcpkg 2023-08-09-9990a4c9026811a312cb2af78bf77f3d9d288416 and VS2022 17.6.6. If possible, please use a newer version of Visual Studio.

Build succeeded after switching to VS 2022.
Just curious about this, AFAIC OpenCV supports VS >= 2012 and vckpg VS >= 2015. Since VS 2017 is still in its support lifecycle, a build failure on VS 2017 should also be considered a bug, shouldn't it?

I believe this issue should be addressed by the upstream, right?

Reported upstream, closing for now.


Updated index.html

Simply made code more organized.

This PR fixes an issue where the code wasn't aligned properly in the head and body sections. I simply fixed that problem.

Sorry, but we do not accept changes to test files.

@bpasero is there any open source repos from Microsoft that I could review code in?

I'm trying to get better at reviewing code.

https://github.com/microsoft/vscode/wiki/How-to-Contribute


fix(seed): Fix Jquery Passing to next step without error

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #16470
Description

Added a new test for verifying the code is not written outside $(document).ready(); function

@Bouncey Thank you, I will do the changes

@ninadingole Has there been any progress on this?

@Bouncey I will do the changes today, a bit busy with my work.

Oh wow, you have been busy re-writing the entire code base 😃
I think there has been an issue with your branch locally, some how you have picked up a whole bunch of commits that are already merged.
There are ways in which to resolve this through git, but for the changes you are making it might just be easier to start a-fresh with a clean, up to date branch off of staging. Do you need help with this? I don't know what your git-game is like

@Bouncey I will start with a fresh branch from staging, reject this pull request. 😄


before CRAN

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.84%. Comparing base (41c6317) to head (0751d7d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   96.84%   96.84%
=======================================
  Files           2        2
  Lines          95       95
=======================================
  Hits           92       92
  Misses          3        3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Create Cybersixgill Views

💡 Summary
Limit data manipulation in the python scripts by creating views in the Postgres database.

Social Media Mentions
Dark Web Mentions
Asset Alerts
Executive Alerts
Threat Actors
Potential Threats
Invite-only markets
Most Active Sites

[X] Social Media Mentions, "vw_darkweb_socmedia_mostactposts"
[X] Dark Web Mentions, "vw_darkweb_mentionsbydate"
[X] Asset Alerts, "vw_assetalerts"
[X] Executive Alerts, "vw_darkweb_execalerts"
[X] Threat Actors, "vw_darkweb_threatactors"
[X]  Potential Threats, "vw_darkweb_potentialthreats"
[X] Invite-Only Markets, "vw_darkweb_inviteonlymarkets"
[X] Most Active Sites, "vw_darkweb_sites"
[X] All views accounted for, no remaining tasks

Need status and identify remaining tasks.

@stewartl97 All the views mentioned in this issue have been created and are functioning in the PE staging DB

All CyberSixGill views mentioned have been created and are accounted for in the database


[Impeller] Add support for buffer to texture blits in the Vulkan & OpenGL ES backends.

A followup to https://github.com/flutter/flutter/issues/122914 in which @jonahwilliams added support to decompress directly into the staging buffer.

Sure. That would still require a draw right?

I don't know 😄

@jonahwilliams completed this for Vulkan in https://github.com/flutter/flutter/issues/123468. Rewording just for OpenGL.

Completed in here: https://github.com/flutter/engine/blob/main/impeller/renderer/backend/gles/blit_command_gles.cc#L201


location catch stats not up to date

When clicking Mice, Location catch stats, the window that appears is old data

When it should be this

It's actually correct, you have some catches of Bonbon Gummy that were from before the event location changed. 👍


Adding tags to language and infra agents.

Migrated from #27.

 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.


Muted clips/tracks

Feature Request
Many audio and video editing applications and formats have a toggle to "muted" or enable/disable individual clips, tracks, effects or other elements. OTIO is missing this feature, which has led some of the adapters to include work-arounds involving metadata, gaps, or other mechanisms to fill this need. We should introduce a new property which represents this concept as a first class feature.
Description
If we add this as a property on the Item class, then Clip, Track, and all of the other Item subclasses will inherit it, allowing code to treat them all uniformly. We should consider whether the visible() accessor should return True or False based on the muted status of an item (I could see this argued either way).
Each adapter can then be modified to handle muted items as appropriate. For formats which support the muted concept, support should be straight forward. For formats which do not support muted items, the adapter should make a clearly documented choice to include all muted items, or to ignore them, treating them as gaps.
Context
Issues related to this: #483 #827 #1064
This should be an uncontroversial, and relatively straight forward schema enhancement. We would love to have a new contributor step up and give this a try. If you're interested and want some guidance, just ask :)

DAWs (Digital Audio Workstations) have the complementary features Mute and Solo. (Mute silences a track, Solo silences all but a track.) If you have multiple alternate clips for editorial to select amongst, Solo would mean "pick this one"; the alternative would be to mute each individually, and unmute one.
The question on visible() is important, and the fact that there is a question highlights that a design question shouldn't be "what's the interpretation of visible?" but three questions: "how do I ask for items that exist at this time", and "how do I ask for items that exist at this time and muted/not muted".
Note also that USD implements a rule over muting. For example, a nested composition
(a relationship (b! relationship c))
where b! indicates that b is muted would transitively mute c, depending on relationship. So, c may or may not be muted depending on the relationship, in other words. We should explore/describe what muting means in a composition.
I can imagine that there might be title tracks in different languages, the title tracks might have children (such as a gray box for contrast), and that soloing might be used to select French, and that the other title tracks, and their boxes, would be muted. On the other hand, a picture in picture might have an optional frame element, where muting the frame does not mute the in-picture.
~ two cents.

I'd be interested in having a go at this. I assume a start would be to:

Writing  set and get methods for enabled
Add these to the Python bindings
Add unit tests
Update the FCPXML and EDL adapters

Yes, that would be great. Other schema enhancements have started with a brief markdown document describing the new schema and API so that others can provide comments & discuss. This has been very helpful to provoke some research on how other formats and programs handle the same concept so we can make sure the schema covers any challenges that might be lurking later when support is added to the adapters.

I've created a first raft proposal here, is this this a reasonable start? I'm very new to the code base so there are undoubtedly things I've missed or not thought about.  ALso I wassnlt sure where there best place to host the proposal was so let me know if there's somewhere better


[CanvasCast] ...Only display two courses

Extension – CanvasCast
Author: @YodaLightsabr

Description
No all courses are displayed, I have four courses enrolled but only two of them are displayed in the extension.

Steps To Reproduce
It can display 3 courses at the beginning, but one of them is an expired course, so I unselected it as favorite. Then it can only show 2 of all my 4 courses. So I suppose that there aren't any limitation that show only two courses.

The current behavior
shown in the description part.
The expected behavior

Raycast version
Version: 1.39.1

Ahh sorry I've been quite busy, there's another issue open for this. #2504. If this is different you can leave it open, but otherwise you can close this and add to the other one.


Clarify resolving implicit connections (3.1.1 - ALTERNATIVE to #3823)

This clarifies how to handle resolving implicit (non-URI-based) connections in multi-document OpenAPI Descriptions.
While the behavior is implementation-defined overall, this RECOMMENDS a single approach based on how things behaved going back to the 2.0 referencing model.  This allows Security Schemes and Tags to (like the top-level Server Objects) define a deployment-specific interface for referenced documents to access.
This entry document interface approach makes less sense for the Discriminator Object, but it can use the URI syntax of mapping to keep things within the local document.
This also aligns the search for matching operationIds with 3.1's full-document parsing requirements.
Note that the term "complete OpenAPI document" has been defined in another change pending approval on the 3.0.4 branch.

Oh hey it turns out hitting enter while renaming the title posts the PR.
CLOSING as this was not ready.


Please include some reference or link how we can configure different gateways in multi-tenanted setup

Description:

I was going through the [1] in order to configure different gateways including publisher and other component  in multi tenant environment.
Document contains information saying we can do this. But it doesn't contain any reference or link which we can refer.
Please include those information.

[1] https://docs.wso2.com/display/AM2xx/Maintaining+Separate+Production+and+Sandbox+Gateways
Suggested Labels:
Type/Docs
Type/Bug
Severity/Critical
Priority/High

The only difference in configuring the gateways in a multi-tenanted environment is, sharing the User DB and Registry DB in gateway nodes. This has been mentioned in https://docs.wso2.com/display/AM260/Understanding+the+Distributed+Deployment+of+WSO2+API-M


Created DBHelper class

Looks good, just in the app.config please just aligned the other constring properly so it looks neater


Fix closure compiler build failure, update gnuplot, add license file

Hello, I've made the following updates:

Fix closure compiler build failure (removed --closure 1 from LDFLAGS)
Fix to an issue with the latest version of emscripten (add arguments to INCOMING_MODULE_JS_API)
Update to latest gnuplot version (5.4.10)
Add license file (MIT License)
Update changelog
Switch apply_template.sh to use /bin/bash for consistency (Note: macos symlinks /bin/sh to /bin/bash, which can cause behavior discrepancies in shell scripts that use /bin/sh between macos and linux)

Notes:

Test passes, running plots in the browser from the dist folder works
Do you want to add the MIT license? I think that's the simplest OSS license to use. Let me know if you want to use something else, I'd be glad to change it.

thank!


Improve UI

The UI is completely minimal right now. It'd be a good chance to learn a React UI framework for example. Try Bumbag.

Using @react-bootstrap/react-bootstrap instead.

Using @react-bootstrap/react-bootstrap instead.

Still to do:

Add loading indicators upon connecting
Add "Clear" buttons to data views

Still to do:

Add loading indicators upon connecting
Add "Clear" buttons to data views


ACM-5035 Fix mis-match hooks crash

https://issues.redhat.com/browse/ACM-5035

Revert the change to fix the crash. It's not obvious where the hooks mis-match is coming from.

/test unit-tests-sonarcloud


Improve the text at the top of the home page

Received the latest home page text from the product team

 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.:x: okpanachi09 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


chore!: prep cleanup for enabling clang-tidy in headers

BREAKING CHANGE: The enumerators in SessionPoolOptions::ActionOnExhaustion have changed from BLOCK and FAIL to kBlock and kFail respectively. Also, some of the single-argument constructors in transaction.h were marked explicit.

This change is

Related to #355


Add caveat section to README.md, flatpak issues

Proposed caveat section with text for flatpak users.
Pull request details

[ ] This PR is a bug fix
[ ] This PR implements a new feature or introduces new behavior.

Description of the change

Add caveat section, added flatpak issue to caveat section
Notes

Just an addition to readme for users of atom flatpak who encounter an error when trying to use platformio-ide-terminal.

@jon2kx Thank you for for reaching out with your contribution. =)
I think this information should be part of the readme, The projects userbase benefits by this information becoming readily available, my thumbs up :+1:
@ivankravets to review + consider merging.


feat: custom descriptions to SqlDatabase

This PR adds implementation and test for custom descriptions for tables in SqlDatabase ( already existing in python version) those descriptions are added to the db class and then used in the get tables info command.
@polpuigdemont

Looks good, thanks!


Prefab softlock

When trying to change the housetype in prefab minecraft softlocks.

logs.zip
logs

Mind uploading that on mclo.gs

https://mclo.gs/BoQmb4p
https://mclo.gs/igVqqgD

reported those to prefab github, will see how it goes

https://github.com/Brian-Wuest/MC-Prefab/issues/299
are u using java 21?

cuz it looks like ur not, use java 21 for the server

Closing the issue due to inactivity and probably ur own issue,caused by mismatched Java version


Script fixes, Init UE Tau Fix

Added support in the c++ class generation script to support counter types as data members.
Fixed a bug in state class template file to add unique headers for "next state" classes, in case the same next-state entry exists for multiple events.
Removed the duplicate action handler in TAU state machine to process the TAU. The default action handler is invoked in this case, which consumes the tau request message.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Closing this, as new commits are not showing up in the PR.


LoopSound is enabled and no sound keeps vibrating

RN : 0.70.1
notifee : 7.7.1
Platform : Android
On background notification I kept no sound when creating the channel and enabled loopSound property to true. Now its keep vibrating with no sound. its like vibrating in loop

could this be due to https://github.com/invertase/notifee/issues/752 where the channel hasn't updated correctly to enable sound?

no its separate issue. I tested this case on different channel


Separate computation of tax liability

This PR renames the tax.total_taxes() function to the more appropriate net_taxes().  The PR also creates functions to compute each component of these individual level taxes.  Having separate functions, especially one for payroll and income tax liabilities, will be helpful in more easily comparing changes in tax liability between the microsimulation model and OG-USA.

Codecov Report

Merging #575 into master will increase coverage by 0.11%.
The diff coverage is 96.05%.

@@            Coverage Diff             @@
##           master     #575      +/-   ##
==========================================
+ Coverage   84.24%   84.35%   +0.11%
==========================================
  Files          47       47
  Lines        6709     6758      +49
==========================================
+ Hits         5652     5701      +49
  Misses       1057     1057

Impacted Files
Coverage Δ

ogusa/constants.py
100.00% <ø> (ø)

ogusa/output_plots.py
97.47% <ø> (ø)

ogusa/utils.py
100.00% <ø> (ø)

ogusa/tests/test_TPI.py
59.81% <25.00%> (ø)

ogusa/SS.py
88.15% <100.00%> (ø)

ogusa/TPI.py
76.34% <100.00%> (ø)

ogusa/aggregates.py
96.09% <100.00%> (-0.21%)
:arrow_down:

ogusa/fiscal.py
100.00% <100.00%> (ø)

ogusa/household.py
100.00% <100.00%> (ø)

ogusa/output_tables.py
88.94% <100.00%> (+0.05%)
:arrow_up:

... and 4 more

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 78e1b87...c8e91ca. Read the comment docs.

@rickecon This is ready for review.  Note that the data files in tests/test_io_data changed only because f the change in key names in the SS and TPI output dictionaries.  I first conducted all tests with old data and verified that they passed.


Refactor notebooks to be able to run completely in Google's Colaboratory

It could be beneficial to allow notebooks to  run completely in Colab. Sometimes the notebooks would have to be updated to be able to run in Colab. For example, here is an updated version of Transfer Learning that runs on Colab:
https://colab.research.google.com/github/thomasjpfan/skorch/blob/colab-basic-usage/notebooks/Transfer_Learning.ipynb
To run on a GPU, a user would need to navigate: Runtime -> Change runtime type -> Hardware accelerator -> GPU -> Save.

Speaking of skorch tutorials/notebooks, I wanted o propose moving them to Sphinx-Gallery, the same as PyTorch. What do you think?

In general, we should put more effort into facilitating learning and discovering more advanced features, so these ideas sound great.

Sometimes the notebooks would have to be updated to be able to run in Colab

Speaking of skorch tutorials/notebooks, I wanted o propose moving them to Sphinx-Gallery

Could you both quickly summarize the changes required for that?

For colab to work we need an additional cell to:

Install pytorch, skorch, and other dependencies.
Download data if needed.

In my example above, I needed to add the following cell at the top:
!pip install torch torchvision skorch pillow==4.1.1
!mkdir -p datasets
!wget -nc --no-check-certificate https://download.pytorch.org/tutorial/hymenoptera_data.zip -P datasets
!unzip -u datasets/hymenoptera_data.zip -d datasets

Tutorials that do not need to download data, just needs to pip install dependencies.

Regarding Sphinx-Gallery, the tutorial code will need to be converted from Notebook format to normal Python scripts with prose written as rst markup in comments.
For example, here is the source code for one of PyTorch tutorials: code, and this is how it appears on their website: html.
The advantage of the Sphinx-Gallery approach is that the code gets re-executed during documentation generation, meaning that the outputs (both textual and images) are always up-to-date. Also you may note that at the bottom of the tutorial page there is a link to download the tutorial either as a Python script, or as a Notebook. Finally, using Sphinx-Gallery allows deeper integration (cross-linking) between tutorials and documentation.

For colab to work we need an additional cell to:

This looks like a minor change, especially if it is possible to detect colab from an environment variable and only execute the commands if this environment is set.

Regarding Sphinx-Gallery, the tutorial code will need to be converted from Notebook format to normal Python scripts with prose written as rst markup in comments.

Okay, this looks like more work, since we don't want to maintain the notebook and the .py code separately. If we want to convert automatically, we will encounter some issues (OTOH):

Things like magic commands are not automatically removed, breaking Python code.
There are stray comments, like ln[0] for cell delimiters.
Having to write the prose as commented rst clashes with the rendering in the notebook.

All those are issues that can be overcome but I wonder at what price. If there are finished solutions, though, we could use those (maybe this?).
Regarding the advantages of using Sphinx-Gallery

the code gets re-executed during documentation generation

This can also be a liability because it restricts notebooks to run in a reasonable time (including data download etc.).

the outputs (both textual and images) are always up-to-date

This is certainly nice to have.

at the bottom of the tutorial page there is a link to download the tutorial either as a Python script, or as a Notebook

I think that more linking between docs and examples/notebooks could be beneficial but it does not necessarily need Sphinx-Gallery.

we don't want to maintain the notebook and the .py code separately

Sure. If we do this, the Sphinx-Gallery code would be the one and only original source, and corresponding Notebooks will be generated automatically together with the rest of the documentation.

All those are issues that can be overcome but I wonder at what price. If there are finished solutions, though, we could use those

An automated solution like that one can be a great starting point. But most likely will require additional manual round of editing.

This can also be a liability because it restricts notebooks to run in a reasonable time (including data download etc.).

Apparently this works for PyTorch, but I suppose they run documentation generation on their own servers. We most likely won't be able to execute all tutorials within 900s timeslot of Readthedocs. So this is a very valid concern indeed.

I think that more linking between docs and examples/notebooks could be beneficial but it does not necessarily need Sphinx-Gallery

Sphinx-Gallery can automatically link functions inside code blocks to their documentation. I think this is pretty cool and not possible to achieve with Notebooks.
To sum up, it would require some effort to convert to Sphinx-Gallery. Right now I don't want to commit to doing this. But that said, I suppose at some point when I have free time and mood I can do this.
So yes, it's going to require some effort. I'm not committing to do it (yet)

the Sphinx-Gallery code would be the one and only original source, and corresponding Notebooks will be generated automatically

An automated solution like that one can be a great starting point. But most likely will require additional manual round of editing.

I believe this is crucial, if there isn't a fully automatic solution, the two documents will likely diverge more and more. It is already quite difficult to keep code, docstrings, docs, and notebooks/examples in sync.

Apparently this works for PyTorch, but I suppose they run documentation generation on their own servers.

I believe they do, same with sklearn.

Sphinx-Gallery can automatically link functions inside code blocks to their documentation

Yes, this is nice. Another big advantage over notebooks is version control.

We most likely won't be able to execute all tutorials within 900s timeslot of Readthedocs

This is also my biggest concern from a technical side, especially since their servers won't be GPU-powered ;)

To sum up, it would require some effort to convert to Sphinx-Gallery

From my perspective, jupyter notebooks cover 90% of the utility of Sphinx-Gallery and become increasingly more popular (rendered on github, Kaggle kernels and many cloud solutions). My guess is that Sphinx-Gallery will lose appeal over time, so the issue will be even less pressing in 6 months.
If we put the effort that would be required for this into improving the notebooks (keeping them up-to-date, adding more links to docs, etc.), skorch users will probably benefit more. But of course I can't tell for sure what users really want.


Support private Repositories

As a follow-up to the https://github.com/madpah/requirements-parser/pull/63 it would be awesome if you could add support for private repositories (currently they are not (https://github.com/madpah/requirements-parser/blob/master/requirements/parser.py#L72-L76)).
This came out of the detective work for https://github.com/ansible/ansible-builder/issues/319 where I'd love to see these supported.
Thanks in advance!

I wanted to open a PR for it but I noticed that requirements-parser represents actual requirements as the class Requirement and drops everything else (now gracefully, good job :) ). I am wondering how this could be implemented:

Allow Requirement to hold an option or a requirement line. I am unsure how to implement that without breaking the API
Extra class for options, so a set of Requirement instances would be returned with a set of Option ... but that would also break the current API.

Any thoughts?

+1 for supporting private PIP repositories.
We have the same situation. We want to install python packages from our internal JFrog PIP repo. I didn't found a way to get that working.
$ cat requirements.txt
-i https://repo.xxx/artifactory/api/pypi/python/simple/
jmespath
netaddr
...

Throws the following warning when building the EE image in STEP 9:
Creating parent directory for /tmp/src/requirements.txt
/usr/local/lib/python3.8/site-packages/requirements/parser.py:76: UserWarning: Private repos not supported. Skipping.
  warnings.warn('Private repos not supported. Skipping.')

Any news?


exp/services/recoverysigner: decrypt signer and sign transaction

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Decrypt the account's signing key when it is selected in the URL path of the POST /accounts/{address}/sign/{signing-address} endpoint.
Why
When a client select a signing key that is not a shared signing key we need to get the key out of the database, decrypt it, and then sign the transaction with it.
Known limitations
There are other changes in this branch from PR #2766. The diff will get smaller when that PRs is merged. This PR will remain a draft until it has been merged.

👀


Layers Icon not showing on Build

I'm using gulp to build my project, and serving locally the path to the image works fine, but after the build the path becomes different.  I've tried to trace it down, but can't seem to get anything going.
If you'd like to witness it yourself, go to
https://fowl-landing.firebaseapp.com/#/geo
And open the console to see that 404 error on the layers image that should be in the top-right.
I'd appreciate any insight.

Hello Adam,
leaflet's css is looking for the layers icon at: https://fowl-landing.firebaseapp.com/styles/images/layers.png. So you either have to make sure the layers.png is available there or you have to change the css declaration to point to a different location.
Best regards,
Simon

If you use something like webpack it will fix the css urls for you if you import leaflet via require.

@subliminalvoice I don't know how to change the declaration because it is coming all from the external https link request.  What could I do in my own css to fix this?


Research if the computation speed up is possible for calculating transaction dates via constant block ranges

For now, most charts whose calculations are based on transactions require us to join the transactions and blocks tables to get a date the transaction has been submitted. That is a very costly operation considering the number of transactions stored in the database and is one of the main reasons the calculation of such charts requires many hours.
One of the suggestions we need to review is to use a block_number index existing on the transactions table to retrieve all transactions for the hardcoded days.
E.g.,
SELECT *
FROM "transactions"
WHERE $min_day_block_number <= "block_number" AND "block_number" <= $max_day_block_number
    AND "block_hash" NOT IN (
        SELECT "hash" FROM "blocks" WHERE $min_day_block_number <= "number" AND "number" <= $max_day_block_number AND "consensus" = false
    )

The approach has shown some performance benefits in comparison to one big query used for now. One of the main improvements is related to the fact that we may calculate several days concurrently and that one particular day is calculated pretty quickly. It seems that this approach may work especially well if we store intermediate results (e.g., inside materialized views).
But for now, we decided to wait until the blockscout database would be de-normalized, so that requests for the transactions table could be calculated without joining it with blocks. We will see how it will work then, and maybe be back to that approach later


doc: code relocate: Function position note is invalid

On https://docs.zephyrproject.org/latest/kernel/code-relocation.html it states the following:

function zephyr_code_relocate() can be called as many times as required. This step has to be performed before calling find_package(Zephyr …) in the application’s CMakeLists.txt.

However this is incorrect, in fact the in-tree sample does not follow this rule: https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/application_development/code_relocation_nocopy/CMakeLists.txt

@nordicjm do you mind opening a PR for this?


Timezones...

The test suite takes about 16 minutes because it tests on a bajllion hhvm versions.
You could knock out every two out of three to speed it up. Keep the ones clustered around 4.26 alive.

True... I'll do it in the next PR.


make events to open new sql query window

#2672

with these changes, double clicking on the editor group tab area and on the watermark page will both open the new SQL query editor.


Open short position has incorrect market_value, unrealized and realized pnl

When short position is open, the calculation of market_value does not look correct.  That affects the calculation of unrealized and realized pnl and subsequently portfolio equity.  I created a test to show the issue.

@nwillemse could I argue that realised_pnl should be 0 - commission when a position is opened?
https://github.com/mhallsmoore/qstrader/pull/137/files#diff-486eebb24e5b61967fc2f258c52152c1R157

OK this fixes, except the realised_pnl tests fail. If I comment them out, rest of the test suite runs perfectly.
@nwillemse could you change the def of update_market_value to the following, inside position.py ? I can't be bothered going through the PR dance with your tests not yet merged in :)
    def update_market_value(self, bid, ask):
        """
        The market value is tricky to calculate as we only have
        access to the top of the order book through Interactive
        Brokers, which means that the true redemption price is
        unknown until executed.

        However, it can be estimated via the mid-price of the
        bid-ask spread. Once the market value is calculated it
        allows calculation of the unrealised and realised profit
        and loss of any transactions.
        """
        midpoint = (bid + ask) // 2
        self.market_value = self.quantity * midpoint
        if self.net < 0:
            self.market_value = self.market_value * -1
        self.unrealised_pnl = self.market_value - self.cost_basis
        self.realised_pnl = self.market_value + self.net_incl_comm

@mhallsmoore could you have a look at realised_pnl ? I am unsure if this is only meant to be calculated after transactions have taken place. Also I am unsure if the above behaviour is desired (negative market value on opening a short). Best a question for Mike, but the above code is a simple fix.

Hi @ryankennedyio yes I can update it.  I did a test yesterday in IB paper account:

Created a short STK position (-100 shares of SPY)
The realised pnl is zero and the unrealized pnl gets updated with market events
Buy back 50 shares of SPY
Realised pnl is now updated
Close the trade and unrealised is zero and realised pnl is updated

Of course this is different when we are dealing with futures which is mark-to-market every day

Coverage increased (+0.02%) to 72.893% when pulling 1ab50c93408496dd735c2d211642c0645b884d6e on nwillemse:short-position-issue into 828272359e063bbc4ebfef5d9890bbc029788b8c on mhallsmoore:master.

Actually I think realised_pnl should not be updated on every update_market_value event. It only changes when a long position has a sell transaction and a short position has a buy transaction...

I think I agree with you @nwillemse  -- realised_pnl should only be updated within the transact_shares() method?
Might modify some tests and ensure that behaviour happens. Sounds OK @mhallsmoore ?

Hi guys, I'm just on vacation at the moment, but will be back the week of Sep 1st/2nd.
This looks fine to me, so I'll merge it in now, but I'll have a proper check when I'm back home!


can this work with cuda toolkit 11.2 + for nvidia 3090 ?

(torch) ➜  CCNet git:(master) ✗ ./run_local.sh
Linux pop-os 5.8.0-7630-generic #32~1609193707~20.10~781bb80-Ubuntu SMP Tue Jan 5 21:29:56 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Fri 05 Feb 2021 21:04:13 AEDT
Traceback (most recent call last):
File "train.py", line 16, in
from networks.ccnet import Res_Deeplab
File "/home/jp/Documents/gitWorkspace/CCNet/networks/ccnet.py", line 15, in
from libs import InPlaceABN, InPlaceABNSync
File "/home/jp/Documents/gitWorkspace/CCNet/libs/init.py", line 1, in
from .bn import ABN, InPlaceABN, InPlaceABNWrappe
r, InPlaceABNSync, InPlaceABNSyncWrapper
File "/home/jp/Documents/gitWorkspace/CCNet/libs/bn.py", line 15, in
from .functions import inplace_abn, inplace_abn_sync
File "/home/jp/Documents/gitWorkspace/CCNet/libs/functions.py", line 5, in
from . import _ext
File "/home/jp/Documents/gitWorkspace/CCNet/libs/_ext/init.py", line 2, in
from torch.utils.ffi import _wrap_function
File "/home/jp/miniconda3/envs/torch/lib/python3.8/site-packages/torch/utils/ffi/init.py", line 1, in
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
Traceback (most recent call last):
File "evaluate.py", line 14, in
from networks.ccnet import Res_Deeplab
File "/home/jp/Documents/gitWorkspace/CCNet/networks/ccnet.py", line 15, in
from libs import InPlaceABN, InPlaceABNSync
File "/home/jp/Documents/gitWorkspace/CCNet/libs/init.py", line 1, in
from .bn import ABN, InPlaceABN, InPlaceABNWrapper, InPlaceABNSync, InPlaceABNSyncWrapper
File "/home/jp/Documents/gitWorkspace/CCNet/libs/bn.py", line 15, in
from .functions import inplace_abn, inplace_abn_sync
File "/home/jp/Documents/gitWorkspace/CCNet/libs/functions.py", line 5, in
from . import _ext
File "/home/jp/Documents/gitWorkspace/CCNet/libs/_ext/init.py", line 2, in
from torch.utils.ffi import _wrap_function
File "/home/jp/miniconda3/envs/torch/lib/python3.8/site-packages/torch/utils/ffi/init.py", line 1, in
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

you can remove
from inplace_abn import InPlaceABN, InPlaceABNSync, because it is not used below

seems intertwined -
from inplace_abn import InPlaceABN, InPlaceABNSync
BatchNorm2d = functools.partial(InPlaceABNSync, activation='identity')

@johndpope https://github.com/Serge-weihao/CCNet-Pure-Pytorch/blob/bb502bb32f1d8eadbd7fb06152be570c23e9fbd1/networks/ccnet.py#L19

There's some progress on branches from the original repo - going to try those
https://github.com/speedinghzl/CCNet/tree/pytorch-1.5
https://github.com/speedinghzl/CCNet/tree/pure-python


Consider adding argnames and keyword-only parameters to custom JVP

Keyword-only parameters are useful to prevent accidental transposition of parameters.  It would be great if the custom derivatives supported them!
For example,
import jax.numpy as jnp
from functools import partial
from jax import custom_jvp, grad

@partial(custom_jvp, nondiff_argnames=('block_cotangent',))
def f(z, *, block_cotangent=False):
    return z

def g(primals, tangents, *, block_cotangent=False):
    z, = primals
    z_dot, = primals
    return z, z_dot if block_cotangent else jnp.zeros_like(z_dot)

f.defjvp(g)

grad(f)(1.0, x=False)

I liked the look of this, so FWIW I've added support to this for equinox.filter_custom_jvp. Currently on the dev branch, will be merged next release.
Example:
@equinox.filter_custom_jvp
def call(x, y, *, fn):
    return fn(x, y)

@call.defjvp
def call_jvp(primals, tangents, *, fn):
    x, y = primals
    tx, ty = tangents
    primal_out = call(x, y, fn=fn)
    tangent_out = tx**2 + ty
    return primal_out, tangent_out


Implement dynamic code dispatch for ISA extensions

Currently a single code path (instruction set extension) is supported and determined at build time of the library. This is true for the statically requested kernels but also for the JITted code, both of which can support selecting the architecture at runtime (initialization time of the library). To actually implement this feature, we can check feature bits our self, or rely on certain attributes available for both the Intel and the GNU based tool chain. The solution based on attributes might preferred with respect to maintenance. However, the level of ISA-dispatch will be ultimately driven by an anticipated performance impact (we do not want a performance impact due to supporting this feature). Fixing this issue is to at least enable JITted code matching the platform at runtime.

Duplicate of issue #24


Dedicated Development Environment

We are currently running both staging and production environments, but we recently encountered a setback with Tasking Manager, which was running in staging and was difficult to move from staging to production. This is why we had to roll back the changes link to proceed with other pending tasks.
To prevent similar issues in the future, it would be beneficial to set up a dedicated development environment, allowing us to test services in development before promoting them to staging for further testing. Right now, we’re using staging for development as well, which isn’t ideal. In a recent conversation with @erictheise, he needs a Tasking Manager API to continue work on tasking-manager iD. Therefore, I plan to spin up a new environment within staging cluster, dedicated to development.
cc. @erictheise @danrademacher

@erictheise, as we discussed last time, here is the latest version of the TM deployed in the development environment.

TM API: https://tm-api.development.staging.openhistoricalmap.org
TM Web: https://tasks.development.staging.openhistoricalmap.org This is still in progress, as CloudFront is taking time to serve the page.


npm WARN EPEERINVALID<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

When I run npm install, I get the following warning:
npm WARN EPEERINVALID<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

I am using latest Git with NodeJS 5.0.0 and following patch:
diff --git a/core/client/package.json b/core/client/package.json
index 2f3013c..c403362 100644
--- a/core/client/package.json
+++ b/core/client/package.json
@@ -20,7 +20,7 @@
   "license": "MIT",
   "devDependencies": {
     "broccoli-asset-rev": "^2.1.2",
-    "ember-cli": "1.13.8",
+    "ember-cli": "^1.13.12",
     "ember-cli-app-version": "0.5.0",
     "ember-cli-babel": "^5.1.3",
     "ember-cli-content-security-policy": "0.4.0",
diff --git a/package.json b/package.json
index d899e08..8207866 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
     "test": "grunt validate --verbose"
   },
   "engines": {
-    "node": "~0.10.0 || ~0.12.0",
+    "node": "~0.10.0 || ~0.12.0 || ~5.x",
     "iojs": "~1.2.0"
   },
   "dependencies": {

The former is required, because certain dependencies of Emberg 1.13.8 do not compile against the V8 version included in NodeJS 5.0.0. The latter simply adds NodeJS 5.0.0 as an allowed NodeJS version.

npm install istanbul -g should make it go away. See https://docs.npmjs.com/files/package.json#peerdependencies

So this is not an issue of Ghost, but an unnecessarily alarming message by NPM?

Yep it's just a warning, you can ignore it if you don't want to generate the coverage report.

Ok. I've added the patch to #5821 and will close this.


Apply search.exclude patterns to workspace symbol search as well

There is a feature request to exclude certain folders from workspace symbol search in the Go extension.
Creating this issue here to discuss if it makes sense to use the search.exclude setting (or a new setting similar to it) and apply the same to workspace symbol search feature in the core product, so that individual extensions do not need to implement it.
Or one can argue that performance wise, it would be better if individual extensions do this exclusion rather than the core product filtering out given pattern.
cc @Microsoft/vscode

Makes sense. What I sometimes miss in QuickOpen or global search is a quick way to turn the filters from settings off so I can search the entire folder. Might be similar here, but can be addressed later/separately.
Not sure if passing these filters around is something we would want the language server protocol to support or it maybe already supports. @mjbvz ?

https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#workspace_symbol
The workspace symbol request could take additional param "exclude" for folder patterns to exclude.
cc @dbaeumer

If we change this we need to adopt the extension API and the language server protocol. Also I like letting the language server doing the filtering this might not be available in all servers and needs to be a dynamic capability. If the language server doesn't do the filtering could the workbench filter them out in a post processing step.

We have he same request for things like reference search, goto def. You might want to close this as dupe of #5749

Closing as dupe of #5749


Fan ramping up but then also down ...

Hello,
tried benchy on my anet a8 with octoprint and slicer.
Fan activated from 0% to 100% at 2mm.
Ramp up was ok but then fan changed always while printing.
As you can see the whole file is filled with M106 code ...
Not ok for me
3DBenchy.gco.txt

Hi @cotecmania thank you for submitting an issue.
I suspect the problem is caused by some settings in the slicing profile. Can you slice the same model with Cura version 15.04 and make sure the resulted gcode is correct. Then export that slicing profile from Cura and import into OctoPrint. Then you can slice the model again in OctoPrint to see if you still experience the same problem.


Update ServerInitOptions typing to accept process.env in adapter written in typescript

Describe the problem
While trying to write a custom adapter in typescript, I realised that the type ServerInitOptions might be incorrectly typed.
In adapter-node, we are initialising the server with process.env,
const server = new Server(manifest);
await server.init({ env: process.env });

but the typing of ServerInitOptions is,
export interface ServerInitOptions {
  env: Record<string, string>;
}

Describe the proposed solution
Update the ServerInitOptions['env'] to accept undefined,
export interface ServerInitOptions {
  env: Record<string, string | undefined>;
}

Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

This isn't actually incorrect. The server init function expects a Record<string, string>. A Record<string, string | undefined> is incorrect --  no value in the env passed to server.init should be undefined.
The fix for this just to cast process.env to Record<string, string>. Why? Because process.env is actually a Record<string, string>. For every key in process.env, the associated value is a string -- even if it's an empty string. The only way you'd get undefined back is if you accessed a key that doesn't exist at all -- which isn't possible in this context.


DHCP Unable to receive response - timeout to request the IP from DHCP server for service

Describe the bug
I am using kube vip in BGP mode with HA and LoadBalancer enabled. I'm using the vip cloud provider on prem which sets all the service ips <IP_ADDRESS>. That seems to be working, and kube-vip daemonset sees that and logs an attempt to get an address via dhcp but it never resolves. I'm using rke2 with canal. I'm wondering if I need to setup multis w/macvlan spec or the dhcp spec? I don't see that in the docs or anything though.
To Reproduce
Steps to reproduce the behavior:
Use kube-vip v.0.6 with dhcp mode (ip = <IP_ADDRESS>) with kube-vip cloud provider with a "range-global" = "<IP_ADDRESS>/32" configmap.
Expected behavior
☑ Load balancer service to be needed
☑ kube-vip cloud provider assign <IP_ADDRESS> ip to signal dhcp workflow
☑ kube-vip to create or attach to a macvlan according to docs/code.
☒ kube-vip use this macvlan to request dhcp from dhcp server
Screenshots
time="2023-05-22T23:17:41Z" level=info msg="prometheus HTTP server started"
time="2023-05-22T23:17:41Z" level=info msg="Starting Kube-vip Manager with the BGP engine"
time="2023-05-22T23:17:41Z" level=info msg="Starting the BGP server to advertise VIP routes to BGP peers"
time="2023-05-22T23:17:41Z" level=info msg="Add a peer configuration" Key=<IP_ADDRESS> Topic=Peer
time="2023-05-22T23:17:41Z" level=info msg="starting services watcher for all namespaces"
time="2023-05-22T23:17:41Z" level=info msg="Starting IPVS LoadBalancer"
time="2023-05-22T23:17:41Z" level=info msg="IPVS Loadbalancer enabled for 1.2.1"
time="2023-05-22T23:17:41Z" level=warning msg="file exists"
time="2023-05-22T23:17:41Z" level=info msg="Kube-Vip is watching nodes for control-plane labels"
2023/05/22 23:17:41 type:STATE peer:{conf:{local_asn:65001 neighbor_address:"<IP_ADDRESS>" peer_asn:65000} state:{local_asn:65001 neighbor_address:"<IP_ADDRESS>" peer_asn:65000 session_state:IDLE router_id:"<nil>"} transport:{local_address:"<nil>"}}
2023/05/22 23:17:41 type:STATE peer:{conf:{local_asn:65001 neighbor_address:"<IP_ADDRESS>" peer_asn:65000} state:{local_asn:65001 neighbor_address:"<IP_ADDRESS>" peer_asn:65000 session_state:ACTIVE router_id:"<nil>"} transport:{local_address:"<nil>"}}
time="2023-05-22T23:17:41Z" level=info msg="Using existing macvlan interface for DHCP [vip-840fba4e]"
time="2023-05-22T23:17:41Z" level=error msg="Error querying backends file does not exist"
time="2023-05-22T23:17:41Z" level=info msg="Created Load-Balancer services on [<IP_ADDRESS>:6443]"
time="2023-05-22T23:17:41Z" level=info msg="Added backend for [<IP_ADDRESS>:6443] on [<IP_ADDRESS>:6443]"
time="2023-05-22T23:17:41Z" level=info msg="Added backend for [<IP_ADDRESS>:6443] on [<IP_ADDRESS>:6443]"
2023/05/22 23:17:50 type:STATE peer:{conf:{local_asn:65001 neighbor_address:"<IP_ADDRESS>" peer_asn:65000} state:
time="2023-05-22T23:17:51Z" level=error msg="timeout to request the IP from DHCP server for service kube-system/lab-ingress-controller-ingress-nginx-controller"
2023/05/22 23:17:55 type:STATE peer:{conf:{local_asn:65001 neighbor_address:"<IP_ADDRESS>" peer_asn:65000} state:{local_asn:65001 neighbor_address:"<IP_ADDRESS>" peer_asn:65000 session_state:ACTIVE router_id:"<nil>"} transport:{local_address:"<IP_ADDRESS>" local_port:55179 remote_port:179}}
time="2023-05-22T23:18:16Z" level=error msg="request failed, error: unable to receive an offer: got an error while the discovery request: no matching response packet received (waiting 10s)"

ip addr on one of the hosts running vip
ashtonian@rke-s-0:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:50:56:b1:47:1d brd ff:ff:ff:ff:ff:ff
    altname enp11s0
    inet <IP_ADDRESS>/24 metric 100 brd <IP_ADDRESS> scope global dynamic ens192
       valid_lft 4791sec preferred_lft 4791sec
    inet <IP_ADDRESS>/32 scope global ens192
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:feb1:471d/64 scope link
       valid_lft forever preferred_lft forever
5: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN group default
    link/ether 52:12:f7:e6:6f:d8 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/32 scope global flannel.1
       valid_lft forever preferred_lft forever
7: vip-89ad3d98@ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 00:00:6c:0a:6e:e3 brd ff:ff:ff:ff:ff:ff
8: vip-840fba4e@ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 00:00:6c:1d:d8:ae brd ff:ff:ff:ff:ff:ff

Environment (please complete the following information):

OS/Distro: ubuntu 22.04
Kubernetes Version: 1.27
Kube-vip Version: 0.6

Kube-vip.yaml:
https://github.com/Ashtonian/lab/blob/main/modules/vm_cluster/templates/first_run.yml#L7-L23
Additional context
rke2 on prem 3 esxi hosts and 3 esxi guests.

@Ashtonian did you setup your kube-vip-cloud IP ranges or CIDRs for the pod to pull IPs from? The doc would be here. The link to the configMap definition is here.

Just to keep this somewhat in sync with slack chat - Kube-vip cloud ip config map is set to <IP_ADDRESS>/32 which assigns <IP_ADDRESS> to the load balancer service but its never changed after that. The kube-vip logs:
time="2023-05-22T23:17:41Z" level=info msg="Using existing macvlan interface for DHCP [vip-840fba4e]"
time="2023-05-22T23:17:51Z" level=error msg="timeout to request the IP from DHCP server for service kube-system/lab-ingress-controller-ingress-nginx-controller"

It seems like vip-89ad3d98@ens192 doesn't have access to the dhcp server but I'm not sure how to debug further. UFW is inactive.  Here is relative docs/code.

I'm running into this very same issue as well.
@Ashtonian, did you ever end up figuring this out?

I was unable to unfortunately.

Similar issues here - no response from DHCP
`time="2023-12-17T22:49:47Z" level=info msg="Using existing macvlan interface for DHCP [vip-6ba52837]"                                                                          │
│ time="2023-12-17T22:50:22Z" level=error msg="request failed, error: unable to receive an offer: got an error while the discovery request: no matching response packet received │
│ time="2023-12-17T22:51:07Z" level=error msg="request failed, error: unable to receive an offer: got an error while the discovery request: no matching response packet received

19: vip-23225d8c@enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 00:00:6c:c6:9f:dd brd ff:ff:ff:ff:ff:ff
    inet6 fe80::200:6cff:fec6:9fdd/64 scope link
       valid_lft forever preferred_lft forever`

k3s on Ubuntu 22.04 using docker runtime

I am facing the same issue here on K8s running on NixOS. When running tcpdump on the host running the node, I capture the DHCP discover request, but nothing back. The DHCP request is well received by the server, and emits a correct  offer. It seems this offer is not received back to the host.
I don't know if we should blame our DHCP server settings, or if there's something to change on the kube-vip side (for instance, adjusting the configuration of the insomniacslk/dhcp client).
Any thoughts, @thebsdbox and friends?
kubectl logs --namespace kube-system kube-vip-ds-jr4jb
time="2024-02-15T07:47:17Z" level=info msg="Starting kube-vip.io [v0.7.0]"
time="2024-02-15T07:47:17Z" level=debug msg="Build kube-vip.io [8ccfdeca05825c85dff694e4df8927c89c4ca694]"
time="2024-02-15T07:47:17Z" level=info msg="namespace [kube-system], Mode: [ARP], Features(s): Control Plane:[true], Services:[true]"
time="2024-02-15T07:47:17Z" level=info msg="prometheus HTTP server started"
time="2024-02-15T07:47:17Z" level=debug msg="Using external Kubernetes configuration from incluster config."
time="2024-02-15T07:47:17Z" level=info msg="Starting Kube-vip Manager with the ARP engine"
time="2024-02-15T07:47:17Z" level=debug msg="init enable service security: false"
time="2024-02-15T07:47:17Z" level=info msg="beginning watching services, leaderelection will happen for every service"
time="2024-02-15T07:47:17Z" level=info msg="(svcs) starting services watcher for all namespaces"
time="2024-02-15T07:47:17Z" level=info msg="Beginning cluster membership, namespace [kube-system], lock name [plndr-cp-lock], id [fennec]"
I0215 07:47:17.748750       1 leaderelection.go:250] attempting to acquire leader lease kube-system/plndr-cp-lock...
time="2024-02-15T07:47:17Z" level=debug msg="(svcs) [local-local-apache] has been added/modified with addresses [[<IP_ADDRESS>]]"
time="2024-02-15T07:47:17Z" level=info msg="(svc election) service [local-local-apache], namespace [web], lock name [kubevip-local-local-apache], host id [fennec]"
I0215 07:47:17.764554       1 leaderelection.go:250] attempting to acquire leader lease web/kubevip-local-local-apache...
I0215 07:47:17.766111       1 leaderelection.go:260] successfully acquired lease kube-system/plndr-cp-lock
time="2024-02-15T07:47:17Z" level=info msg="Node [fennec] is assuming leadership of the cluster"
time="2024-02-15T07:47:17Z" level=info msg="Gratuitous Arp broadcast will repeat every 3 seconds for [<IP_ADDRESS>]"
I0215 07:47:17.771917       1 leaderelection.go:260] successfully acquired lease web/kubevip-local-local-apache
time="2024-02-15T07:47:17Z" level=debug msg="[STARTING] Service Sync"
time="2024-02-15T07:47:17Z" level=info msg="Using existing macvlan interface for DHCP [vip-8431152a]"
time="2024-02-15T07:47:17Z" level=debug msg="trying to get a new IP, attempt 0.000000"
time="2024-02-15T07:47:52Z" level=error msg="request failed, error: unable to receive an offer: got an error while the discovery request: no matching response packet received (waiting 10s)"
time="2024-02-15T07:48:02Z" level=debug msg="trying to get a new IP, attempt 1.000000"
time="2024-02-15T07:48:37Z" level=error msg="request failed, error: unable to receive an offer: got an error while the discovery request: no matching response packet received (waiting 15.580979554s)"
time="2024-02-15T07:48:53Z" level=debug msg="trying to get a new IP, attempt 2.000000"
time="2024-02-15T07:49:28Z" level=error msg="failed to get an IP address after 3 attempts, error unable to receive an offer: got an error while the discovery request: no matching response packet received, giving up"
time="2024-02-15T07:49:28Z" level=error msg="error starting DHCP for web/local-local-apache: error: failed to get an IP address after 3 attempts, error unable to receive an offer: got an error while the discovery request: no matching response packet received, giving up"

tcpdump -i wlo1 port 67 or port 68 -e -n -v
tcpdump: listening on wlo1, link-type EN10MB (Ethernet), snapshot length 262144 bytes
08:47:17.773612 00:00:6c:fe:6d:54 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 328)
    <IP_ADDRESS>.68 > <IP_ADDRESS>.67: BOOTP/DHCP, Request from 00:00:6c:fe:6d:54, length 300, xid 0x6b0d6dd5, Flags [none]
	  Client-Ethernet-Address 00:00:6c:fe:6d:54
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message (53), length 1: Discover
	    Parameter-Request (55), length 4:
	      Subnet-Mask (1), Default-Gateway (3), Domain-Name (15), Domain-Name-Server (6)
	    MSZ (57), length 2: 1500
08:47:22.774424 00:00:6c:fe:6d:54 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 328)
    <IP_ADDRESS>.68 > <IP_ADDRESS>.67: BOOTP/DHCP, Request from 00:00:6c:fe:6d:54, length 300, xid 0x6b0d6dd5, Flags [none]
	  Client-Ethernet-Address 00:00:6c:fe:6d:54
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message (53), length 1: Discover
	    Parameter-Request (55), length 4:
	      Subnet-Mask (1), Default-Gateway (3), Domain-Name (15), Domain-Name-Server (6)
	    MSZ (57), length 2: 1500
08:47:32.775081 00:00:6c:fe:6d:54 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 328)
    <IP_ADDRESS>.68 > <IP_ADDRESS>.67: BOOTP/DHCP, Request from 00:00:6c:fe:6d:54, length 300, xid 0x6b0d6dd5, Flags [none]
	  Client-Ethernet-Address 00:00:6c:fe:6d:54
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message (53), length 1: Discover
	    Parameter-Request (55), length 4:
	      Subnet-Mask (1), Default-Gateway (3), Domain-Name (15), Domain-Name-Server (6)
	    MSZ (57), length 2: 1500
08:47:37.012487 00:00:6c:fe:6d:54 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 368: (tos 0x0, ttl 64, id 14754, offset 0, flags [none], proto UDP (17), length 354)
    <IP_ADDRESS>.68 > <IP_ADDRESS>.67: BOOTP/DHCP, Request from 00:00:6c:fe:6d:54, length 326, xid 0xc9617ff6, secs 252, Flags [none]
	  Client-Ethernet-Address 00:00:6c:fe:6d:54
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message (53), length 1: Discover
	    Parameter-Request (55), length 14:
	      Subnet-Mask (1), Classless-Static-Route (121), Default-Gateway (3), Domain-Name-Server (6)
	      Hostname (12), Domain-Name (15), MTU (26), BR (28)
	      Static-Route (33), NTP (42), Lease-Time (51), RN (58)
	      RB (59), Unknown (119)
	    MSZ (57), length 2: 1472
	    Vendor-Class (60), length 46: "dhcpcd-10.0.3:Linux-6.1.69:x86_64:GenuineIntel"
	    Hostname (12), length 6: "fennec"
	    NOAUTO (116), length 1: Y
	    Unknown (145), length 1: 1


Manifest download link always points to latest tag

I was trying to downgrade to older version since 3.3.3 is broken with Foundry 0.8 but installing the old manifest didn't work.
The cause is that the manifest for all downloads points to the latest tag, which obviously becomes invalid the moment new version
For example:
https://github.com/Lavaeolous/PF1-StatBlock-Converter-Module/releases/latest/download/3.3.1_statblock-converter.zip

@mkahvi Should be fixed now, for releases 3.3.0 upward. Let me know if anything went wrong!

Thanks!
3.3.3 wasn't actually broken in 0.8 btw, there was a misunderstanding with my GM. It's still nice to be able to downgrade smoothly.


Avoid shadow parameter naming in lambda functions

the lambda function has the same variable names as the function it is encapsulated by, for some compilers this is being caught as an error in the default settings for no shadow parameters.
Example:
  BroadcastSubCommon<T>(
      **params**, input1_shape, input1_data, input2_shape, input2_data,
      output_shape, output_data,
      [](T input1_val, T input2_val, const ArithmeticParams& params)

suggest changing to  lambda_params or input_params
  BroadcastSubCommon<T>(
      params, input1_shape, input1_data, input2_shape, input2_data,
      output_shape, output_data,
      [](T input1_val, T input2_val, const ArithmeticParams& input_params)

Thanks for the PR @cdknorow. Unfortunately, the source of truth for these files is in the upstream tensorflow repository.  Would you mind re-submitting there?
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/kernels/internal/reference/sub.h
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/kernels/internal/reference/mul.h


Fork of neurodesk.github.io not loading css

@stebo85

I added how to preview build the fork, but it's not yet quite working:
https://stebo85.github.io/neurodesk.github.io/ - do you see what I am doing wrong?

This is because the baseUrl below is set to https://neurodesk.github.io/. So the css and relative paths aren't loading properly
https://github.com/NeuroDesk/neurodesk.github.io/blob/4facc3cf2436b3eb68f53138fe2872c8ddb4772e/config.toml#L1
Might need to figure out a solution for this

ideas:

variable? github action to intercept and change base URL?

Fixed. bcec4535d8ed097b39ee46e9059d8f10c312e66a

Thank you :)


test: re-fetch segment

Codecov Report

Merging #17 (f1a425b) into main (b619a85) will increase coverage by 3.36%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   68.63%   72.00%   +3.36%
==========================================
  Files           6        6
  Lines         271      275       +4
==========================================
+ Hits          186      198      +12
+ Misses         62       51      -11
- Partials       23       26       +3

Impacted Files
Coverage Δ

rows.go
70.79% <60.00%> (+8.41%)
: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 da237f4...f1a425b. Read the comment docs.


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.2.12

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.2.11 -> v1.2.12

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper
v1.2.12
Compare Source
Bug Fixes

added verbose change detail for consistency check errors (#213) (5a38204)

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 becomes conflicted, 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, click this checkbox.

This PR has been generated by Renovate Bot.

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

GitHub release
v3.1.1

Your semantic-release bot :package::rocket:


Copying from one input to another

Is it possible to copy selected choices from one input to another?

If yes, how can I do this?
If no, can you add this feature?

i think you can't, the ops maybe add event on click label to remove item in B element and add new item to new A element


Bad 'Save As' dialog behaviour in atom version 1.15.0

Prerequisites

[X ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Wrong direction in Save As dialog.
Steps to Reproduce

Run in command line 'atom hello.txt'.
Try to 'Save As' (from menu or Ctrl + Shift + S).

Expected behavior: In dialog should be path to hello.txt.
Actual behavior: I am requested to specify file path manually.
Reproduces how often: Always.
Versions
Atom    : 1.15.0
OS: Ubuntu 16.04
Additional Information
I solved it downgrading to atom version 1.14.4.

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/13978. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Don't write debug log unless the command starts running

Don't write the debug log to a temp file when a validation error or
keyboard interrupt.  The temp debug log is only useful when diagnosing
unexpected errors during long-running operations.

👍


[Tests] Improve server coverage for Various Services

Checklist

[x] I tested all changes and all related features with different users (student, tutor, editor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.
[x] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)

Description

This PR improves the code coverage of various services to >= 90%.
Test Coverage

CourseExamExportService.java 93%
ResultService.java 94%
RepositoryService.java 93%
AuthorizationCheckService.java 90%

overall seems good except the codacy issue mentioned above


[UI]: update wording on STAX

requires #18

@tdejoigny-ledger Updated based on your comments, please take a look

yes it is better now. I think there is an issue with the test test_sign_certificate_cancel, you should call sign_certificate instead of sign_message

yes it is better now. I think there is an issue with the test test_sign_certificate_cancel, you should call sign_certificate instead of sign_message

I have another PR for this


MAHOUT-1938: Switch to Intel AVX 2 instruction set

A question that we may need to consider- do we want to release the binaries for AVX2?  There does not seem to be a fall-back to AMD arch.

@andrewmusselman could you test this patch out so that wee can ensure that It works on Haswell?

Could someone with an Intel chipset pre-Haswell (most i-7s) test this to ensure that it does have a fallback to non-avx2 instruction sets?

build line:
mvn clean install -Pviennacl -Phadoop2 -DskipTests && cd viennacl && mvn test


(need help) why there is a duplicated and invalid python interpreter  choice ?

how to configure python interpreter and auto activate (no problem)
After installed my local virtualenv, I need to activate it.
Of course, I can activate it manually and each time I created a new terminal:
source .pyenv/bin/activate

However, it's inflexible anyway.
After a little search, I found the solution: Using Python Environments in Visual Studio Code

The following first two choices are in fact the same, the second of which is right the interpreter I created manually, and the first one is listed here since I configure it in the settings.

Also, as we can see, there are two many python interpreters, one of which seems unnecessary: the one of /usr/local/bin/python3.
And then I use rm -rf /usr/local/python to delete all the unwanted python directories, as well as any other pytyon3*.
Then reload the window, the unwanted python3 disappeared.
why there is a duplication choice (need help)
But there is still a question, about the duplication of /usr/bin/python.
I found only the first one is valid, because after I clicked the second one, the bottom left of my vscode shows no interpreter.
I couldn't know where the duplication arises from, and searched a bit only to find that the official vscode developers responded the duplication of jupyter kernels have been repaired, which is not certainly what I happened.
Then I opened devtools of vscode and find that when I switch to the last interpreter, error messages arise up, telling me there is no $mark/usr/bin/python which indicated that it joins the /usr/bin/python with the current working directory $mark.

OK, I might reload to see what would happen.
However, I noticed there is a choice of reload without extensions, then I chose that but to find the menu of selecting interpreters has gone, which means it's just an extension instead of built one.
So the problem is about the extension.
Then I found the feature of selecting python interpreter is provided by python extension officially.

So why would I have a duplicated and invalid option of interpreter and how can I repair this?
Maybe it's my fault since there are possible projects created an interpreter but dropped, maybe not.
ref:

How Can I Properly Uninstall Python from Mac (Solved)

python - VS Code - Cleanup list of interpreters - Stack Overflow

Fixes for listing of duplicate kernels in kernel picker by DonJayamanne · Pull Request microsoft/vscode#4066 · microsoft/vscode-jupyter

Hi Mark, please provide the logs as mentioned in the issue template.
Logs
Make sure to set python.logging.level to debug in User settings before loading the extension.

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.


Web HTML renderer reports rounded text height & alphabetic baseline location

https://github.com/flutter/flutter/pull/121306 was reverted because the web HTML renderer is reporting rounded text height / alphabetic baseline metrics.
failures:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8787337181803429201/+/u/run_test.dart_for_web_tests_shard_and_subshard_7_last/test_stdout
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8787337181024748465/+/u/run_test.dart_for_web_tests_shard_and_subshard_3/test_stdout
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8787337181024748497/+/u/run_test.dart_for_web_tests_shard_and_subshard_1/test_stdout
When fontSize = 14 and textScaleFactor = 1.0, with the "FlutterTest" font the text height should be exactly 14.0, and the baseline location should be 14 / 1024 * 768 = 10.5. But the HTML renderer is reporting a text height of 15.0 and a baseline offset of 11.0.
For now I'm going to change the font size used in the failing tests to multiples of 4 to avoid the rounding.

Did a quick test and it seems what CanvasRenderingContext2D.measureText() reports is consistent with height and getBoundingClientRect (which the TextHeightRuler class uses to get the height of the text). And from the looks of it, the problem with  CanvasRenderingContext2D.measureText() is that when the font size is a multiple of 2 but not a multiple of 4, the ascent value and the descent value both get rounded up. E.g. when fontSize = 14, ascent = 10.5, descent = 3.5, so rounded ascent = 11, rounded descent = 4, and the reported line height becomes 15 instead of 14.


Create a tutorial for display Iframe into PlayCanvas in 3D

Hello,
Sorry to bother you but I would like to suggest that you do a tutorial for a feature that is very close to my heart and that I think would be of interest to many PlayCanvas users like me.
Here I write a post for asking help about a hack @willeastcott talked about, this hack result to displaying an Iframe and with CSS transform scale it into a plane.
I tried to do it but I don't success to do the code necessary for get the plane position on the screen and transform my iframe for scale it into the plane. It's really complicated for me.
But for genius like you, maybe it's easier, It's possible do a tutorial for doing this ? For me this feature is really useful, if we can display webpage into PlayCanvas with some tricks I see a lot of possibilities for events for example.
Thanks in advance.

This tutorial project is now available:
https://developer.playcanvas.com/en/tutorials/youtube-in-3d-scenes/
This originated from this forum thread:
https://forum.playcanvas.com/t/how-to-mix-div-and-canvas-together/15525
@yaustar is your point of contact here.
Is there anything else required here or can we close this issue?

This tutorial project is now available:
https://developer.playcanvas.com/en/tutorials/youtube-in-3d-scenes/
This originated from this forum thread:
https://forum.playcanvas.com/t/how-to-mix-div-and-canvas-together/15525
@yaustar is your point of contact here.
Is there anything else required here or can we close this issue?

I see this now, wow thanks you so much, you're just AWESOME wooow !!

I see this now, wow thanks you so much, you're just AWESOME wooow !!

Would I be able to create a character that could walk around this? I have seen a few of these examples and am curious how to create a sort of character controller for this as this uses CSS. Please tell me it is possible lol

As long as it's not in VR, it should be possible


[Feature] [Table function] support explode_split_non_empty

Proposed changes
Issue Number: close #8997
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

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...

Now it is easy to add UT cases for table function in file table_function_test.cpp, please add some cases.

Now it is easy to add UT cases for table function in file table_function_test.cpp, please add some cases.

done.