Enable build of Ranger plugin open source RPM

Does this fixed below issue? Apache hawq rpm name should be 'apache-hawq', not 'hawq_2_2_0_0'.
rpm -ivh hawq-ranger-plugin_2_2_0_0-<IP_ADDRESS>-1.el7.centos.noarch.rpm
error: Failed dependencies:
hawq_2_2_0_0 >= <IP_ADDRESS> is needed by hawq-ranger-plugin_2_2_0_0-<IP_ADDRESS>-1.el7.centos.noarch

No. The dependency on hawq needs to change to apache-hawq or must be excluded in branch for the open source binary build.

@ljainpivotalio So we need another jira to fix the dependence issue?

@radarwave The open source build can override these values using maven command line:
BUILD_OPTS="-Drelease.version=bin -Dbuild.suffix= -Dhawq.dep.name=apache-hawq  -Ddestination.dir=/usr/local/apache-hawq"

Now hawq ranger plugin rpm is in different directory, we should update the  tarball script 'contrib/hawq-package/make_rpm_tarball.sh' with the new copy directory:
-cp ${SRC_TOP_DIR}/ranger-plugin/target/rpm/hawq-ranger-plugin_/RPMS/noarch/hawq-ranger-plugin.rpm ${RPM_PKG_DIR}/
+cp ${SRC_TOP_DIR}/ranger-plugin/target/rpm/hawq-ranger-plugin*/RPMS/noarch/hawq-ranger-plugin*.rpm ${RPM_PKG_DIR}/

Now the rpm name is: hawq-ranger-plugin-<IP_ADDRESS>-1.el7.centos.noarch.rpm
How about we remove the string 'centos' since there is already a 'el7' string there?

mvn ${MVN_OPTS} -N ${BUILD_OPTS} install
[INFO] Creating spec file /root/ranger-plugin/target/rpm/hawq-ranger-plugin/SPECS/hawq-ranger-plugin.spec
[INFO] Building target platforms: noarch-redhat-linux
[INFO] Building for target noarch-redhat-linux
[INFO] Processing files: hawq-ranger-plugin-<IP_ADDRESS>-1.el6.noarch
[INFO] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
[INFO] Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/ranger-plugin/target/rpm/hawq-ranger-plugin/buildroot
[INFO] Wrote: /root/ranger-plugin/target/rpm/hawq-ranger-plugin/RPMS/noarch/hawq-ranger-plugin-<IP_ADDRESS>-1.el6.noarch.rpm
[INFO] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EplE5i
[WARNING] + umask 022
[WARNING] + cd /root/ranger-plugin/target/rpm/hawq-ranger-plugin/BUILD
[WARNING] + /bin/rm -rf /root/ranger-plugin/target/rpm/hawq-ranger-plugin/buildroot
[WARNING] + exit 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.102 s
[INFO] Finished at: 2017-03-31T23:37:12+00:00
[INFO] Final Memory: 14M/95M
[INFO] ------------------------------------------------------------------------

LGTM. +1

+1 for building ranger rpm for apache hawq


c dependencies not found _zmq_errno

After using brew update to python 3.6 pyzmq no longer finds its C dependencies
from zmq import backend
  File "/usr/local/lib/python3.6/site-packages/zmq/backend/__init__.py", line 40, in <module>
    reraise(*exc_info)
  File "/usr/local/lib/python3.6/site-packages/zmq/utils/sixcerpt.py", line 34, in reraise
    raise value
  File "/usr/local/lib/python3.6/site-packages/zmq/backend/__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "/usr/local/lib/python3.6/site-packages/zmq/backend/select.py", line 26, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "/usr/local/lib/python3.6/site-packages/zmq/backend/cython/__init__.py", line 6, in <module>
    from . import (constants, error, message, context,
ImportError: dlopen(/usr/local/lib/python3.6/site-packages/zmq/backend/cython/error.cpython-36m-darwin.so, 2): Symbol not found: _zmq_errno
  Referenced from: /usr/local/lib/python3.6/site-packages/zmq/backend/cython/error.cpython-36m-darwin.so
  Expected in: flat namespace
 in /usr/local/lib/python3.6/site-packages/zmq/backend/cython/error.cpython-36m

I'd guess that libzmq is updated, too. You likely need to remove and reinstall pyzmq.


Upgrade functions to v4.0

Welcome,
Are there any plans to upgrade functions from version 3 to 4?
Beginning on December 3, 2022, function apps running on versions 2.x and 3.x of the Azure Functions runtime can no longer be supported.
https://docs.microsoft.com/en-us/azure/azure-functions/functions-versions?tabs=azure-cli%2Cin-process%2Cv4&pivots=programming-language-csharp
Durring validation there is one error:
Observation: Functions 4.x removes support for the WebJobs dashboard.
Recommended Action: Your Function app has a value set for the AzureWebJobsDashboard app setting, indicating you may be using the Azure WebJobs Dashboard for monitoring function executions. The Azure Functions 3.x runtime logs data to the WebJobs dashboard as a legacy feature; Azure Functions 4.x removes support for the WebJobs dashboard entirely.
and one warning:
Description: The correct pattern for using HttpClient with dependency injection is to request an IHttpClientFactory and use it to create an HttpClient instance. In Azure Functions 3.x, HttpClient is a registered service that can be requested directly. Azure Functions 4.x removes this service registration from the runtime, which will break customer code that does not follow the correct usage pattern.
Recommended Action: Ensure your code follow best practices for using HttpClient with dependency injection.

Hi @spireob ,
Thanks for highlighting, We will discuss with our team and get back to you with proper response soon.

@spireob  we're closing this issue since this feature is already added to our backlog and will be considered in future releases of CC based on the priority.

Does the latest release include Function App update? Couldn't see in the release log.


mkpr

Applied mkpr on undefined
sed s/"model-attributes": "^.*"/"model-attributes": "^4.1.7"/

Codecov Report

Merging #840 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #840   +/-   ##
=======================================
  Coverage   28.94%   28.94%
=======================================
  Files           1        1
  Lines          76       76
  Branches        1        1
=======================================
  Hits           22       22
  Misses         54       54

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 6d27f12...4f2ad0d. Read the comment docs.


proto: implementation of (*Test).GetReps is missing from the package documentation

The package documentation (in proto/lib.go) contains am example called test.proto and the resulting file test.pb.go. (*Test).GetReps is missing from the latter file, though it has the implementation of the corresponding GetXXX methods for all the other fields in the message Test.
$ grep -F 'func (m *Test) Get' lib.go
	func (m *Test) GetUnion() isTest_Union {
	func (m *Test) GetLabel() string {
	func (m *Test) GetType() int32 {
	func (m *Test) GetOptionalgroup() *Test_OptionalGroup {
	func (m *Test) GetNumber() int32 {
	func (m *Test) GetName() string {

The package documentation on proto has been re-written. This is no longer relevant.


chore: Fixing the dependency issue

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.7%) to 44.575%

Totals

Change from base Build<PHONE_NUMBER>:
1.7%

Covered Lines:
189

Relevant Lines:
424

💛  - Coveralls

Please be sure to Squash and Merge when you merge this PR.


ERROR in com.google.fonts/check/contour_count

This code:
https://github.com/googlefonts/fontbakery/blob/1815d5a98e0d10873d8af3bc72568c1cc4f0c247/Lib/fontbakery/profiles/universal.py#L1310-L1311
will fail if there isn't a 3-1-0 cmap table.

can you provide a sample font file that triggers that ERROR?

No, but just change it to ttFont.getBestCmap().


[EN Ordinal] In cases like "last two", "first three" shouldn't be recognized as "Ordinal.Relative"

In cases like "last two", "first three", "first", "last" shouldn't be recognized as "Ordinal".

Covered in #1531.


fix: redirection to the recent circuit section

Fixes #4248
Describe the changes you have made in this PR -

For both the next and previous button the link has been changed to "/?page=#{page}#recent"
Fixed some minor syntax alignments

Screenshots of the changes (If any) -
https://github.com/CircuitVerse/CircuitVerse/assets/91966855/0f399205-1404-4594-a2db-be639aa85caf

cc @tanmoysrt


No status from inverter

Describe the bug
The integrations gets no status from inverter. It only shows "I_STATUS_MPPT".
Expected behavior
There should be a number value
Screenshots

Diagnostic File
none
Debug logs
No response
Home Assistant Version
2023.10.1
solaredge-modbus-multi Version
2.4.6
Installation Type
HAOS
Read the Instructions

[X] I have read https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki
[X] My configuration follows https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Configuration
[X] This issue is not about a template error (template errors should not be reported as an issue, read https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Template-Design-Notes)

Additional Context
No response

There is a numeric value as an attribute.
This is not an issue.


Continuous Integration (ci) argument not working

When running the exe with -ci argument it is either ignored or an exception occurs indicating that "i" is not a valid config file.
It appears that -ci and -c Web.Config are being confused.

Oh dang. Thanks for the note. I will endeavour to fix this and get a new version up shortly.

To simplify matters I am removing the '-c' option. The code has been pushed to the "3.x" branch and version <IP_ADDRESS> will be released in a few minutes. To use continuous integration use --ci (double dash).

Doh. Drafted the release against the wrong branch. Release is <IP_ADDRESS>
Also, do you use the binary from GitHub or Chocolatey? If you use the Chocolatey version it will take longer to release. If you do not then I will not draft a new Chocolatey release until more changes are ready to be pushed.

Also possibly of interest, the 3.x release uses the new 3.x OSS Index database, which has some rate limiting. If you notice you are hitting the limit please let me know. Authenticated users get a higher limit, and I am implementing authentication into DevAudit soon. Most non-authenticated users probably won't notice the limit for many use cases. It usually kicks in only in much larger projects or higher project volumes.

I used chocolatey to install it yes, but if need be I can use something else.
Ben
From: OSS Index<EMAIL_ADDRESS>Sent: Monday, November 26, 2018 11:36 PM
To: OSSIndex/DevAudit<EMAIL_ADDRESS>Cc: Ben McBride<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [OSSIndex/DevAudit] Continuous Integration (ci) argument not working (#93)
Doh. Drafted the release against the wrong branch. Release is <IP_ADDRESS>
Also, do you use the binary from GitHub or Chocolatey? If you use the Chocolatey version it will take longer to release. If you do not then I will not draft a new Chocolatey release until more changes are ready to be pushed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OSSIndex/DevAudit/issues/93#issuecomment-441925461, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWa1sqloiqeo8BwxNksxfIfzDV_2BQOZks5uzM8ugaJpZM4Yv6uI.

I'll start the process to get it on Chocolatey. There is often a delay of a few to several days due to the approval process. If you would like it sooner then I uploaded a binary to the GitHub release page: https://github.com/OSSIndex/DevAudit/releases/tag/v<IP_ADDRESS>

All good, I updated already with the compiled files on GitHub.
Thanks,
Ben
From: ken-duck<EMAIL_ADDRESS>Sent: Saturday, December 1, 2018 8:49 PM
To: OSSIndex/DevAudit<EMAIL_ADDRESS>Cc: Ben McBride<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [OSSIndex/DevAudit] Continuous Integration (ci) argument not working (#93)
I'll start the process to get it on Chocolatey. There is often a delay of a few to several days due to the approval process. If you would like it sooner then I uploaded a binary to the GitHub release page: https://github.com/OSSIndex/DevAudit/releases/tag/v<IP_ADDRESS>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OSSIndex/DevAudit/issues/93#issuecomment-443476374, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWa1sqOW_AJR7g0Flrg631pFiIn81ckSks5u0z-pgaJpZM4Yv6uI.


Include crtdbg.h for MinGW/MSYS builds

In the translation unit Testbed/Framework/Main.cpp, the function _CrtSetDbgFlag and a few other related macros are used.  When a VC++ toolchain is used, it includes the right header crtdbg.h since this is included in one of the headers explicitly included by this translation unit.
However, this isn't the case when the MinGW toolchain (or the MSYS environment) is used, one gets

error: '_CrtSetDbgFlag' was not declared in this scope

An explicit inclusion of crtdbg.h solves this.  With this change, the entire Box2D solution (including Box2D, HelloWorld, glfw3, glew and Testbed projects) gets built successfully using only the MinGW toolchain (i.e. with no Visual Studio installation).

Implemented


Commit extend fails silently

Hi 👋🏾 ,
I think since the fixes to commit amend, haven't got the commit hash to hand right now, but commit extend now seems to fail silently i.e. it doesn't extent the previous commit it just does nothing. There is no error in the log as far as I can see.

Is the git commit command in the history?

@TimUntersberger it appears as though nothing is actually happening i.e. there are no new git commands. So I think nothing is being executed.

Should be fixed in the latest version.

Yep that's sorted it 👍🏾 thanks @TimUntersberger


A different approach you might consider userful

Hi there,
Just wanted to shared a different approach I've been using, you might find some of it useful to integrate in your project.
Reset menus: dconf reset -f "/org/gnome/desktop/app-folders/folders/"
Backup: dconf dump /org/gnome/desktop/app-folders/ > menu.txt
Restore: dconf load /org/gnome/desktop/app-folders/ < menu.txt
Chrome apps have no Category, but are always named chrome* :
#!/bin/bash

applist=$(printf "'%s', " $(cd /home/bruno/.local/share/applications; ls chrome*.desktop))
applist="[$(sed -e 's/[,[:space:]]*$//' <<<${applist})]"

gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/WebApps/ name 'X-GNOME-WebApplications.directory'
gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/WebApps/ translate true
gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/WebApps/ apps "${applist}"

Menu format and translation support:

Setting the translate flag and reference the desktop directory name whenever possible
Use '@as []' or add/remove apps not matching categories, or matching more than one

[folders/Graphics]
translate=true
categories=['Graphics']
apps=['org.gnome.Photos.desktop']
excluded-apps=['evince.desktop', 'variety-slideshow.desktop']
name='Graphics.directory'

[folders/Office]
translate=true
categories=['Office']
apps=@as []
excluded-apps=@as []
name='Office.directory'

Good points. :smiley:
I'll roll most of these into the interactive.py script sometime soon.

@henriquesb2
Nice solution for chrome apps, I was looking everywhere for it 👍 .
I have already added backup and restore functionality ( as command line arguments ) on this script similar to yours, ( I use .config/ ) for personal use. @BenJetson Would you like PR on it or you have moved your focus to the python script?

@Abhinav1217
Hey! I'm in the process of rewriting the app with a basic GUI frontend, so yes -- the main focus of this project has shifted to the new python script.
However, I plan on still keeping the original basic script around and supported since it's so useful for people creating setup and login scripts. I'll be moving the simpler script out into a smaller repository of its own to live as an independent project.
I'll DM you here when the new project launches along with the other repository. A PR with this functionality included would be much appreciated in the new repository.

That would be great, Bash is really useful for people like me, who need quick fixes.  I do have backup and restore functionality added to your script but chrome app section that @henriquesb2 suggested required to be executed everytime a new chrome app is installed.
DM me when you create new repo, till them I will try to figure out better way to have chrome app folder.


Xtensa-esp32-elf-gcc weird behavior on linker process (IDFGH-1495)

Hi,
I'm now trying to build a native plugin for ESP32 Micropython. The codebase is this part https://github.com/micropython/micropython/pull/1627/files.
The plugin is quite straight forward, it defines a 16 bytes header and at the 0x10 starts with init function and all labels are other things are placed after the init function.
Currently the problem is after I did the compiling ,linker process will always failed with
l32r: literal placed after use :mpytext.literal
The Linker script is like this.
SECTIONS
{
.all :
{
. = ALIGN(4);
KEEP((.mpyheader))
KEEP((.mpytext))
(.text)
(.rodata)
. = ALIGN(4);
}
}
which I believe is missing literal label somehow, but even if I added mpytext.literal after mpytext, it still have such a problem, so I did assume maybe init function have some variables have dependencies on literal. So I did give it a try here.
After I added a like (.mpytext.literal) in before or after mpyheader(right before mpytext which is the init func), it compiles without a problem, but that didn't solve the problem, the original plugin is a fixed formatted binary which generated the 16 bytes header and at 0x10 there must be the init function. which the modified version linker script comes with the problem, is there anyway to workaround with the compiling process it make it working here?(x86/x64/arm gcc all build without any problem though).

Hi @eminarcissus ,
For future reference: as this doesn't relate to an issue with ESP-IDF, a better place to ask this question would be the esp32.com forums.
What gcc options do you use? Suggest that passing -mtext-section-literals may help with this as it will place the literals into the .text section.
Cribbing from the esptool flasher stub may help, as it's a similar purpose (although that code is not for dynamic loading as such):
https://github.com/espressif/esptool/blob/master/flasher_stub/Makefile#L69
(At minimum you'll probably also need -mlongcalls in order to call out to any functions in the MicroPython firmware. I don't suggest adding -flto, though.)

Thanks very much,
I was quite frustrating where to post this issue as well.
Does it have something to do with l32r? Looks like from the manual it can only load constants from a negative offset from the PC. So the value relevant to l32r will eventually put in before the function?

That looks correct, in Xtensa the literal values should precede the l32r instruction which uses them.
If your binary format requires a fixed entry point at the start of the program, you can arrange the program like this:
entry section:
  j _start (single instruction)
literal section:
 (literals)
text:
 _start (and the rest of the code)

The unconditional jump instruction has the range of 128kB, so it should probably be enough to jump over the literals.

Wow, didn't thought about that, that should work, will try it out :)
Thx very much


CFS:filesystem dynamic upload path (sub folder)

Is there any way to upload images to dynamic sub folder?
For example create directory for each user and upload their images in their folder.
If all the files uploaded to 1 folder, it's not a good idea, slow to load in ssh or file explorer.

1+ !!!!

+1 !

+1

+1

+1

+1

+1

Has someone a solution for this problem by now?

I switched to using https://github.com/msj121/meteor-tomi-upload-server

+1

@JensAttermeyer I've switched to https://github.com/CulturalMe/meteor-slingshot

https://github.com/CollectionFS/Meteor-CollectionFS/wiki/How-to:-Customize-the-folders-on-the-filesystem

@sunhaolin That way you have to declare file store for each folder, not a good option to upload thousands of files everyday.


Switching to GLES2

Godot version:
Godot 3.1 dev
OS/device including version:
Win 10 64bit AMD gpu
Issue description:
When switching project from GLES3 to GLES2, editor will restart but icons will be low res (see picture). This happened on a completely fresh new project.

Switching back to GLES3 solves the problem, icons go back to being rendered sharp. If I save a scene and close editor and reopen project it will look ok. If I then switch from GLES2 to GLES3 it will look ok, but switching back to GLES2 and the icons go back to low poly if I dont have any scene open.
Dont know if this is relevant, but when restart to GLES2 happens, boot image of godot will be smaller, like slightly scaled down.
This is what the console is spitting out
ERROR: RGBA float texture not supported
At: drivers/gles2/rasterizer_storage_gles2.cpp:143
ERROR: RGBA float texture not supported
At: drivers/gles2/rasterizer_storage_gles2.cpp:143

I'm getting this low-res effect randomly when starting Godot with "--video-driver GLES2" flag (i.e. don't have to switch the drivers to reproduce)


selft defined snippets in remote tunnel not work

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.87.2
OS Version: win10

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Publish/nuke

Mostly work on the build scripts.

Want to have a PR which does not create a separate commit, as the tag is tied to the tip of the feature branch.


Ordered list becomes unordered on tab

I've found that tabbing in an ordered list makes the child unordered by default, is this a deliberate design decision?

Hi @dmathijs
I don't think it really was a deliberate design decision. It just happened to be the default behaviour in our implementation :)
Would you expect it to inherit the parent list type by default? It shouldn't be difficult to modify this behavior.

@e1himself I think it would be good if the behavior were similar to Google Docs, where ordered lists indent to ordered lists and unordered lists indent to unordered lists by default.

Hi @e1himself
I want to raise this point as well! The order list should stay the order list when creating nested children.
Can we get a resolution soon, please?
And thanks for the great package! :)

I've updated types to the HTML element, and it worked for me.
enum Type {   PARAGRAPH = 'paragraph',   ORDERED_LIST = 'ol',   UNORDERED_LIST = 'ul',   LIST_ITEM = 'li',   LIST_ITEM_TEXT = 'list-item-text' }

Related/duplicate: #391


CSS passed to createGlobalStyle isn't minified

Same here. Comments aren't removed either.
Maybe a missing isPureHelper import in https://github.com/styled-components/babel-plugin-styled-components/blob/ad289a02bb22fd885dcea8f55835d99cb9346be8/src/visitors/minify.js ?
Or missing export isCreateGlobalStyleHelper with isHelper in https://github.com/styled-components/babel-plugin-styled-components/blob/ad289a02bb22fd885dcea8f55835d99cb9346be8/src/utils/detectors.js ?

I have a simple but kinda verbose and ugly workaround.
Change:
createGlobalStyle`/* Your css here */`

to:
createGlobalStyle`${css`/* Your css here */`}`

What's interesting is that tests for these exists, and they pass for some reason 🤔 https://github.com/styled-components/babel-plugin-styled-components/tree/main/test/fixtures/minify-css-in-helpers


Update Pin Field to guard against setting non numeric values

Description:
closes #125

Enhance guard of the Pin Field to stop the setting of non-numeric values.
Allow the use of keyboard shortcuts for the Pin Field.
Updates to resolve test failures for stories.

Test results

Key input test scenarios
Alpha keys

Before

After

Special characters

before (Note period character ".", "+" ,"-" used)

after

Keyboard shortcut scenarios

ctrl+c
before

after

ctrl+x
before

after

ctrl+v
before

after

All Submissions:

[x] I have followed the contribution guidelines for this project.
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change.

Changes to Core Features:

[x] I have added an explanation of what my changes do and why I would like to include them.
[x] I have written new tests for my core changes, as applicable.
[x] I have successfully ran tests with my changes locally.
[x] I have added/updated docs, as applicable.

PR will be cancelled. Pin Field implementation will require a updated approach to blocking non-numeric values


Question: Store Tokens in Secure HTTP Only Cookies?

Hi,
the current ietf draft for browser based apps (see below, 6.1) states that, atm, there is no way to store credentials securely in the browser in a way which allows Javascript to access them. Henceforth Bearer Token Auth is out for SPAs, secure httponly cookies are the only option.
We're doing stateless sessions with the tokens encrypted in a cookie which are decrypted in our API Gateway which uses OIDC Authorization Code Flow to log in the user. Now, we're thinking of switching to krakend ce and are wondering if this is possible / how we could achieve that. I would be very thankful for any Pointers.
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps#page-6
Thanks, Andi

KrakenD allows you to pass a JWT inside a cookie. Check the option cookie_key from this documentation entry: https://www.krakend.io/docs/authorization/jwt-validation/#jwt-validation-settings
The JWT should not be encrypted, just signed by the issuer
Cheers!


Crash in rasterizer_canvas_gles3 due to memory corruption

Godot version:
Godot 3.0 stable
OS/device including version:
Android 5.0, Android 7.0, different devices, different GPUs (Mali and Adreno)
Issue description:
There is an intermittent crash at https://github.com/godotengine/godot/blob/3.0-stable/drivers/gles3/rasterizer_canvas_gles3.cpp#L215. The crash is SIGSEGV 0x0000000000000097, which means the first byte of texture->render_target address was set to 0x11 by some code (used_in_frame field has 0x86 offset, 0x97 is accessed), which makes the if (texture->render_target) check pass and the crash happen.
Steps to reproduce:
Reproduces rarely after invoking change_scene on a SceneTree with a large active tree.

Right after filing the issue I realized this doesn't actually matter for 3.1, as this is GLES3-specific :/ And this is likely very hard to track down.

Right after filing the issue I realized this doesn't actually matter for 3.1, as this is GLES3-specific :/

Well GLES3 bugs should still be fixed in 3.1 too.

3D rendering in general does work on Android (with Godot 3.0 stable at least). There might be a problem specific to your project or device, so better file a separate issue with your project and other details attached.

I have fired an issue #17770

No answer, so assuming fixed. We can reopen if anyone can still reproduce it in recent builds.


Multi-platform integration tests

I'm not a CI expert by any means, so I'm not sure how difficult this is, but...
Right now we have unit tests for the multi-platform stuff, but we only do integration tests for publishing a single platform image. It would be really nice to have a "blessed" set of platforms that we actually test in our CI so that we don't accidentally break some platform-specific stuff.
Windows paths are the first thing that comes to mind, but I develop/deploy exclusively on/to linux/amd64, so I'm sure there's a lot of other failure modes I haven't considered.

Fixed by https://github.com/google/ko/pull/227


W21? Tutor f2f time slot signup epic

Add tutor-f2f-time-slot sign up (this is for signing up for face to face slots in physical rooms.)

We need to think about:

what database tables we need to store information about RoomSlots
Room Slot: string for location, quarter YYYYQ, day of week, start time, and end time (want to be consistent with day of week, time representations)

We need backend endpoints for CRUD for that roomslots table
OfficeHours entries can have a field that references the key of a roomslot entry... or be null... and if it references the room slot entry, it should be the case that the time of the office hours falls entirely within the time for the room slot...
And then.. we want backend api endpoint to allow an office hours row to be associated with a roomslot.
Then we need all kinds of front end UIs to do the crud, list the things, etc...
From another story:

Add time slots associated with Rooms
Upload CSV of all possible time slots
Details field for zoom link in case students are available both in person AND over zoom in the future.

Being addressed by issue #192


Compress older log files when rotating

I think it'd be a good idea for older log files to be gzipped when being rotated, à la logrotate's compress directive. For people that store a lot of data in the log files (and/or have a large number of history days), the uncompressed space can really add up.
Performance-wise, even with gzcompress's default compression (6), it goes very quick and saves a ton of disk space.
Useful idea? Thanks!

IMO if you want fancy features you should use logrotate. It's the right tool for the job really. The RotatingFileHandler is kind of a basic service for when you need something simple.

I would suggest this is a useful feature to have within Monolog because logrotate isn't always available. For example in shared hosting environments where we cannot add a logrotate configuration, and non-Linux environments where logrotate isn't a thing. -- These factors are not always in the developer's control due to client constraints on hosting options, so there is definitely value in having this available from Monolog.
Obviously I can write an external script to do log rotation and compression though this is platform specific. An external script would also have to manage the retention days and purging of expired logs as Monolog would not take into account the different file extensions of a compressed log.
Having this in Monolog would be a good cross-platform solution, particularly as PHP offers a range of compression options some of which as standard.

I agree it might be good to have this available, but it's not a problem I want to tackle nor have to maintain. Feel free to make it available as a package that people can install which can extend/wrap the monolog's core handler functionality.


Fix 'FATAL: kernel too old' error generating data

When attempting to generate data I started receiving a FATAL: kernel too old error.
This is coming from singularity when it attempts to run the image built from the docker image created for this repo (matthewhirschey/ddh:latest).
In #92 we upgraded rocker/tidyverse:3.6.1 to rocker/tidyverse:3.6.3 to fix an error generating the correct data. The underlying problem seems to be the version of glibc used in tidyverse:3.6.2+ images.
I think this singularity issue is related - https://github.com/hpcng/singularity/issues/1275

There is also a problem downloading data from genenames.org when using the rocker/tidyverse:3.6.3. It fails with ssl3_read_bytes:sslv3 alert handshake failure and uses openssl 1.1.1d. rocker/tidyverse:3.6.1 does not have this problem and uses openssl 1.1.0l.
I am going to switch back to rocker/tidyverse:3.6.1 and see if I can address the problem fixed in https://github.com/matthewhirschey/ddh/pull/92 via a code change.


Add contributing guide

I have added a guide on how to contribute :)
I'm not sure whether to add more information on how to contribute by writing code or mention that ESLint is used (maybe say use npm run lint before pushing a commit or creating a pull request)

The linter is run on the CI so I'll pick that up anyway when they raise a PR.
Thanks for your contribution!


Fix type signature check of clock_time_get()

Fixed the implementation of the clock_time_get() signature, which was previously failing due to the function expecting a timestamp when it should have been expecting a pointer.

AWS CodeBuild CI Report

CodeBuild project: Veracruz
Commit ID: 86259d9b1dbeadf21efee4f2fe8841730f58ec0d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

+1 reached, merging.


MacOS KBFS Error

I installed Keybase and when I arrived at the point where I was setting up KBFS, I accidentally failed to unlock my Security & Privacy pane before I granted Keybase permission. This seemed to bork my KBFS implementation. I can see the /keybase directory but I'm not able to access it. When I try to access through the Keybase GUI, I'm continually presented with the red banner stating "Your Keybase folders are currently not showing up in your Finder."

Regardless of the number of times I click "Display in Finder", nothing happens. I've performed a complete uninstall of Keybase (keybase uninstall) and reinstalled from a fresh download, but I've never been presented again with the option to grant Keybase permission to my Mac.
I feel like the issue is rooted in my computer remembering prior permissions, and those permissions aren't sufficient to allow KBFS to function.
I've shuffled the permissions on my /keybase directory to try and get in that way, but so far, nothing has worked. When I install Keybase fresh, when I initially try to access my folders I'm presented with the following screen:

After I input my username and password, nothing else happens. I'm just continually informed that Finder cannot display my folders. If I run keybase fs ls /keybase I get an error saying ERROR Invalid remote path.
my log id: 81b2c2d54b0b0ec51f849f1c

I'm running into an identical error on Version 1.0.45-20180305194145+3a1c65a05 . Is there a fix?

Never mind. Restarting the computer fixed it. Natch.


IOS How to launch application on answering call

Hi!
When application is in background mode and we displayIncomingCall, when user taps "Answer", I want to launch application(as flutter_local_notification plugin does on interacting with user).
There is solution for Android - backToForeground, how can it be implemented for IOS?
Thank you

@rekonvald facing same issue. have fix it?

same issue with me

same issue with me

Hi anh


Plan the November Meetup

[X] At https://www.netconomy.net/
[X] Mid November - 10th Nov 19:00?
[X] Location: Walcherstrasse 11A, 1020 Wien
[X] Food and drinks will be provided
[x] Set up registration with limit
[ ] Check location
[x] Talk 1: Browser Animation Performance, by Svetlozar Kalchev
[ ] Talk 2: ?

We didn't set a date yet? How about the 24th? @DDCreationStudios

@robeerob Because I wanted to have my term at university scheduled.  I will send a mail to Netconomy and ask if the date works for them.

@DDCreationStudios Updated the November overview with checkboxes for talks. @SvetlozarKalchev has committed to having a talk at this meetup.

@robeerob  lets wait till I have visited the location. i am not quite sure if it makes sense to have talks when we have separated rooms ;)

@DDCreationStudios Good point. It would be a pity if we don't have anything for Vitor and co to record, though. Could you perhaps check with Teresa the capacity of their biggest room? If it's big enough then we know whether or not to plan for talks.

@robeerob I think it depends on the actual attendees. But we can separate the crowd into 3 groups and each group discusses various things in each room. For example one room focuses on talking about CSS, another about FreeCodeCamp and the third about React.
The best way for planning would be to keep it as flexible as possible. I would suggest to have an generealized introduction and newsflash and then split into groups and at the end open up for get together.
What do you think?

@DDCreationStudios I love your idea about 3 groups and extended workshops. As mentioned above though, and via chat today, I propose to have at least 1 talk. After the talk we can do the 3 groups format.
We are blessed to have Vitor and Pusher Sessions wanting to film us for free over the coming months, so I think we should embrace that.

Was successful!


FixBug druidMetricModels No attribute get_perm

DruidMetricModels add attribute: get_perm(), fix add metric_access is null.

Codecov Report

Merging #6432 into master will decrease coverage by <.01%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #6432      +/-   ##
==========================================
- Coverage   73.37%   73.37%   -0.01%
==========================================
  Files          67       67
  Lines        9585     9587       +2
==========================================
+ Hits         7033     7034       +1
- Misses       2552     2553       +1

Impacted Files
Coverage Δ

superset/connectors/druid/models.py
82.39% <50%> (-0.08%)
:arrow_down:

Continue to review full report at Codecov.

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

Hi,where is bug?


floating point exception in fci calculation over 22 orbitals

Hi all,
I tried a relativistic fci calculation on B2 molecule and encountered a floating point exception thrown by the FCIlinkstr_index function. After digging into the problem, it is due to the improper implementation of binomial coefficients, and for orbital space less than 22, it is avoided due to the hard coded binomial coefficients.
When orbital exceeds 21 or 22, the binomial coefficients is computed by the loop starting from this line https://github.com/pyscf/pyscf/blob/e2cc8c136ed0e57f8597ce3a06e66f97630916ac/pyscf/lib/mcscf/fci_string.c#L135, it is divided by 0 at the first iteration leading to the exception. However, even this divided by 0 is fixed, I'm afraid this loop will not give correct binomial since it impose a round off at every iteration leading the roundoff error to increase.
Here are two scripts that help reproduce the issue, one for nonrelativistic Hamiltonian and one for relativistic Hamiltonian.
from functools import reduce

import numpy

from pyscf import ao2mo
from pyscf import gto
from pyscf import scf
from pyscf import fci

mol = gto.Mole()
mol.verbose = 0
mol.output = None
mol.atom = [
    ['Li', ( 1., 0.    , 1.   )],
    ['Li', (-1., 0.    , 1.   )],
]
mol.basis = 'ccpvtz'
mol.verbose=5
mol.build()
print(mol.nao)
m = scf.RHF(mol).run(conv_tol=1e-14)
ci = fci.FCI(mol, m.mo_coeff)
ci.kernel()

from functools import reduce

import numpy

from pyscf import ao2mo
from pyscf import gto
from pyscf import scf
from pyscf import fci

mol = gto.Mole()
mol.verbose = 0
mol.output = None
mol.atom = [
    ['B', ( 1., 0.    , 1.   )],
    ['B', (-1., 0.    , 1.   )],
]
mol.basis = '6-31g'
mol.verbose=5
mol.build()

m = scf.X2C(mol).run(conv_tol=1e-14)

norb = m.mo_coeff.shape[1]
h1e = reduce(numpy.dot, (m.mo_coeff.conj().T, m.get_hcore(), m.mo_coeff))
mo_a, mo_b = m.mo_coeff[:mol.nao], m.mo_coeff[mol.nao:]
print('integral transformation')
norb = 24
eri = ao2mo.full(mol, m.mo_coeff[:,:norb], intor='int2e_spinor').reshape((norb,norb,norb,norb))
nelec = mol.nelectron

print('fci iteration')
e1, c= fci.fci_dhf_slow.kernel(h1e[:norb,:norb], eri, norb, nelec, verbose=5)

closed via #2106


Adding Beets Fantom deployments

Description
Adding fantom code into the subgraph but not breaking existing functionality. If we could carry these changes, that would make updating for us a lot easier and faster.

I am waiting for the test deployment to finish before opening the PR https://thegraph.com/hosted-service/subgraph/beethovenxfi/balancer-v2-test?selected=logs

subgraph successfully synced

Spotted a few typos and apparently a missing definition. Notice reaper pools are not indexed

Thank you Markus, you saved me some headaches here :) Added the changes.

Thank you Markus, you saved me some headaches here :) Added the changes.

Would you like to redeploy for a final check before merging?

I don't see a problem, marking it as draft until then. Thanks.

Subgraph completed and it looks good. Seems our "old" subgraph has one more pool but I believe that's from a factory that is not in use. Seems good to merge 👍


⚠ Bofrost.lu has degraded performance

In f78f2bf, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1514 ms

Resolved: Bofrost.lu performance has improved in af155b7 after 27 minutes.


ROS 2 control liblely instalation

This automates installation of liblely and libgiod libraries.
Super build was used to install required libraries only during initial build of the project

I left DEPENENCIES variable to keep more uniform structure of super build file where usually multiple dependencies are installed


Docs: Added deprecation notice to Promise.longStackTraces

In response to #961 I've added a deprecation notice to the Promise.longStackTraces page for anyone who lands there in future.

Is it worth listing deprecated APIs on the api-reference page for clarity? I'd suggest something like this:
Promise.longStackTraces

Awesome, thanks!
I think it's better not to include it in the API reference .


Account hacked

I think someone are hacked my phone and google account, and someone still controlling mybphone remotely

How can i solve this issue

The best hacker who helped me with that I will advise message him on telegram
https://t.me/Blackhathacker110


Community Server Connector doesn't start

Does this issue occur when all extensions are disabled?: No

VS Code Version: 1.75.1
OS Version: Mac OS Ventura 13.2

Steps to Reproduce:

Start the Community Server Connector
Community Server Connect Stops

On the extension host output, I got this:
2023-02-10 21:11:09.168 [error] Error: Connection got disposed.
    at Object.dispose (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/node_modules/vscode-jsonrpc/lib/main.js:825:25)
    at RSPClient.disconnect (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/node_modules/rsp-client/lib/src/client.js:73:25)
    at ServerExplorer.disposeRSPProperties (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/out/src/serverExplorer.js:712:29)
    at EventEmitter.<anonymous> (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/out/src/extensionApi.js:56:31)
    at EventEmitter.emit (node:events:526:28)
    at Socket.<anonymous> (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/node_modules/rsp-client/lib/src/client.js:38:30)
    at Socket.emit (node:events:538:35)
    at TCP.<anonymous> (node:net:687:12)
2023-02-10 21:11:09.168 [error] Error: Connection got disposed.
    at Object.dispose (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/node_modules/vscode-jsonrpc/lib/main.js:825:25)
    at RSPClient.disconnect (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/node_modules/rsp-client/lib/src/client.js:73:25)
    at ServerExplorer.disposeRSPProperties (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/out/src/serverExplorer.js:712:29)
    at EventEmitter.<anonymous> (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/out/src/extensionApi.js:56:31)
    at EventEmitter.emit (node:events:526:28)
    at Socket.<anonymous> (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/node_modules/rsp-client/lib/src/client.js:38:30)
    at Socket.emit (node:events:538:35)
    at TCP.<anonymous> (node:net:687:12)
2023-02-10 21:11:16.662 [error] Error: Failed to register client capabilities in time
    at Timeout._onTimeout (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/node_modules/rsp-client/lib/src/util/common.js:18:24)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2023-02-10 21:11:16.663 [error] Error: Failed to get server handles in time
    at Timeout._onTimeout (/Users/diorgeneseugenio/.vscode/extensions/redhat.vscode-rsp-ui-0.23.13/node_modules/rsp-client/lib/src/util/common.js:18:24)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)

The shared stack traces contain to the redhat.vscode-rsp-ui extension. I suggest to create an issue there.


CMake improvements for Windows build

This PR is a followup of issue #3597 that tries to address the problem of #3483 and to add CMAKE_DEBUG_POSTFIX when compiling with MS Visual Studio and emulators (those that are recognized by CMake as MSVC generators).
The main difference lies in third-party/libtm/resources/CMakeLists.txt where multiple file(APPEND ...) commands are replaced with a single file(WRITE ...) command. This is to resolve a problem where sometimes the files where malformed.
⚠ Note that strange indentation of the file(WRITE ...) commands is necessary to have a proper indentation in the generated files. If you don't like it (I personally don't 😄) I reformat the string into a single line by adding \ns, but I think the result is even uglier than the former and much less readable 🙃.
I also added two new entries in the .gitignore file:

exclude all folders that starts with build, for example I may have a folder build for Release and a buildd folder for Debug.
exclude the doxygen-generated documentation files.

Note that in order to close #3597 we also need #3507 to be merged.
Fixes #3483.

Thanks @claudiofantacci
I tested this PR merged together with #3647 and everything seem to work.
Really like the d suffix, as it will save a rebuild when switching between Debug and Release modes.
We might have to push it to the next release, since the suffix will require changes to Windows SDK Installer on our part, but otherwise looks good to me 👍

Thanks for your feedback @dorodnic, really appreciated 🎉

Really like the d suffix, as it will save a rebuild when switching between Debug and Release modes.
We might have to push it to the next release since the suffix will require changes to Windows SDK Installer on our part, but otherwise looks good to me 👍

This. Is. Awesome!
Thanks again and looking forward to see this PR merged 👍
Let me know if you need any changes!

@claudiofantacci , the mentioned merge resulted in a merge conflicts with this PR.
Can you update/rebase it to accommodate for the changes ? Thanks

@ev-mp sure I will! I’m out of office now, I’ll do everything tomorrow 🙂

This needs rebasing, @claudiofantacci, now that #3647 has been merged.

I just rebased on top of development branch.
By my understanding, the write(FILE) CMake command of the libtm CMake code has been deleted. As a consequence, I removed the commit that was modifying that part of the code.
If you want, I will edit the first post to adjust the content to the two remaining commits.

Thanks @claudiofantacci.  Yes, the write(FILE) is gone now.  7a63691 looks like it's a fix to only use MSVC options when actually compiling with MSVC (and not say with clang) combined with the addition of the d.  Is that correct?

@radfordi exactly! Only those two points 🙂

@claudiofantacci thank you for contributing!
Your feedback, help with review, and keeping patches up to date are all very much appreciated.


Calls to eth_gasEstimate and eth_call being cached somewhere?

When investigating improvements to eth_gasEstimate as part of https://github.com/hyperledger/besu/pull/5142 I found the following strange issue.
On goerli I have deployed the following contract at address 0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da
Note!!! There are currently no other transactions to this contract at time of writing.
Submitting transactions to this contract it will affect the gas required!!!
pragma solidity >=0.7.0 <0.9.0;

contract TestDepth {
    uint256 public x;

    function depth(uint256 y) public {
        // bool result;
        if (y > 0) {
            bytes memory call = abi.encodeWithSignature("depth(uint256)", --y);
            (bool result,) = address(this).delegatecall(call);
            require(result);
        }
        else {
            // Save the remaining gas in storage so that we can access it later
            x = gasleft();
        }
    }
}

When performing an eth_estimateGas on different clients I get different results. My expectation was that besu was overestimating the required gas compared to other clients. It turns our the estimate provided can be incorrect.
Steps to Reproduce (Bug)
Using the following test code:
for (const depth of [1,2,3,4,5,10,65]) {

    const data = contract.encodeFunctionData('depth', [depth]);

    const estimate = await provider.estimateGas({
        to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
        data: data
    })

    const result = await provider.call({
	to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
	data: data,
	gasLimit: estimate.toNumber()
    })

    console.log(`Depth ${depth} has gasEstimate ${estimate.toNumber()} eth_call result ${result}`)

}

With Geth/v1.10.23-stable-13ddb046/linux-amd64/go1.18.10
Depth 1 has gasEstimate 45554 eth_call result 0x
Depth 2 has gasEstimate 47387 eth_call result 0x
Depth 3 has gasEstimate 49249 eth_call result 0x
Depth 4 has gasEstimate 51141 eth_call result 0x
Depth 5 has gasEstimate 53063 eth_call result 0x
Depth 10 has gasEstimate 63139 eth_call result 0x
Depth 65 has gasEstimate 246462 eth_call result 0x

With besu/ConsenSys/v23.1.1-dev-b0daf148/linux-x86_64/openjdk-java-17 I get some funny results. Occasionally I would get an error between the estimate and call but after a few attempts I consistently get something like:
Depth 1 has gasEstimate 48337 eth_call result 0x
Depth 2 has gasEstimate 21204 eth_call result 0x
Depth 3 has gasEstimate 21204 eth_call result 0x
Depth 4 has gasEstimate 21204 eth_call result 0x
Depth 5 has gasEstimate 21204 eth_call result 0x
Depth 10 has gasEstimate 21204 eth_call result 0x
Depth 65 has gasEstimate 21204 eth_call result 0x

Well this is really strange, the value definitely shouldn't be lower. After investigating further it would appear that there's something very funky going on with either caching on shared state between calls. If I run the script in quick succession the first result changes between 48337 and 21204! Very odd indeed.
What's also strange is that the eth_call with a gasLimit of 21204 should definitely fail but doesn't!
Because of this it means you can do things that are clearly nonsense.
const depth = 10
const data = contract.encodeFunctionData('depth', [depth]);

const estimate = await provider.estimateGas({
    to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
    data: data
})

const result = await provider.call({
  to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
  data: data,
  gasLimit: 21204
})

console.log(`Depth ${depth} has gasEstimate ${estimate.toNumber()} eth_call result ${result}`)

All of this assumes that the contract has been deployed and no transactions have occurred against it.
I do not believe this to be an issue with OPCODE pricing or gas usage calculation in the EVM. I suspect that somehow the world state from the previous eth_call or eth_estimateGas is lingering somewhere so as to reduce the amount the gas required.
If you deployed the contract, then performed a call to depth(1) then the subsequent call to that contract would indeed have a lower gas limit requirement.
To test the theory I tried the following:

const sleep = (ms) => new Promise((resolve) => {
  setTimeout(resolve, ms);
});

const nextBlockToBeMined = async () => {
  const block = await provider.getBlock('latest');

  for (let i = 0; i < 24; i += 1) {
    const nextBlock = await provider.getBlock('latest');
    if (nextBlock.number > block.number) {
      break;
    }
    await sleep(1000);
  }
};

for (const depth of [1,2,3,4,5,10,65]) {
    const data = contract.encodeFunctionData('depth', [depth]);

    await nextBlockToBeMined()

    const estimate = await provider.estimateGas({
        to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
        data: data
    })

    const result = await provider.call({
	to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
	data: data,
	gasLimit: estimate
    })

    console.log(`Depth ${depth} has gasEstimate ${estimate.toNumber()} eth_call result ${result}`)
}

Which yielded something more sensible:
Depth 1 has gasEstimate 48337 eth_call result 0x
Depth 2 has gasEstimate 50685 eth_call result 0x
Depth 3 has gasEstimate 53095 eth_call result 0x
Depth 4 has gasEstimate 55567 eth_call result 0x
Depth 5 has gasEstimate 58104 eth_call result 0x
Depth 10 has gasEstimate 71802 eth_call result 0x
Depth 65 has gasEstimate 401088 eth_call result 0x

The problem now is that there's still something funny going on between eth_estimateGas and eth_call. Which means I can do silly things like ....
for (const depth of [1,2,3,4,5,10,65]) {
    const data = contract.encodeFunctionData('depth', [depth]);

    await nextBlockToBeMined()

    const estimate = await provider.estimateGas({
        to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
        data: data
    })

    const result = await provider.call({
	to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
	data: data,
	gasLimit: estimate - 1000
    })

    console.log(`Depth ${depth} has gasEstimate ${estimate.toNumber()} eth_call result ${result}`)

}

And everything still works !!! Presumably because the eth_estimateGas is somehow committing/caching world state.
So I thought I'd write a simple binary search to get the required gas for a call using trial and error with eth_call.
let high = 45554
let low = 21204
const depth = 1
const data = contract.encodeFunctionData('depth', [depth]);

while (low + 1 < high) {
  mid = Math.ceil((high + low) / 2);
  await nextBlockToBeMined()

  try {
    const result = await provider.call({
      to: "0x9AAe0D2009a14cB6c1140a9C5715Bb345690b0da",
      data: data,
      gasLimit: mid
    })

    if (result != "0x") {
      low = mid;
    } else {
      high = mid;
    }
    console.log(`High ${high} Low ${low} Mid ${mid}`)
  } catch {
    console.log(`ERROR High ${high} Low ${low} Mid ${mid}`)
    low = mid;
  }
}

Observations:

When the gas is too low you get an internal server error rather than an rpc error.
You need to wait for a block before you can perform an eth_call again (as discussed).
You can use a lower gas limit on eth_call than you actually need.
You can use a lower gas limit than the gas used!

It would appear that eth_call is just flat out broken when it comes to respecting gas limits.
Summary
Th transaction simulator appears not be calculating gas correctly. I believe the problem to be isolated to just eth_call and eth_estimateGas I do not believe their is any issues when mining transactions.
Expected behavior:
Consistent eth_gasEstimate results based on the LATEST block
eth_call to correctly use the gasLimit provided and to behave the same as a mined transaction
Actual behavior:
Inconsistent eth_gasEstimate results
Invalid eth_gasEstimate results returned
Incorrect eth_call behaviour - calls succeeding when the should fail
Frequency:
90% of the time
Versions (Add all that apply)
besu/ConsenSys/v23.1.1-dev-b0daf148/linux-x86_64/openjdk-java-17

@shemnon - any insight on this? Or not your area of concern.

I've tested this on a synced goerli node with Besu v23.1.1-dev-b0daf148 and with 23.1.2 and I get these results when running the javascript script. Which is the same as what given in the 2nd script with the wait for the next block to be mined. So not getting the issue on the node I deployed to test this on.
Depth 1 has gasEstimate 48337 eth_call result 0x
Depth 2 has gasEstimate 50685 eth_call result 0x
Depth 3 has gasEstimate 53095 eth_call result 0x
Depth 4 has gasEstimate 55567 eth_call result 0x
Depth 5 has gasEstimate 58104 eth_call result 0x
Depth 10 has gasEstimate 71802 eth_call result 0x
Depth 65 has gasEstimate 401088 eth_call result 0x

This was with Bonsai though. Were you using Bonsai or Forest to test on?

Agreed, it appears to have sorted itself out.
https://github.com/hyperledger/besu/pull/5142
should provide some coverage to prevent it from happening again.


internationalize vue full callendar

I am searching  the way  to put vue-fullcalendar in french.
Thanks

Hi @zoat,
You will need to set the locale key in the fullcalendar config and import the corresponding fullcalendar locale library. I think something like this should work...
<template>
  <full-calendar :config="config">
</template>

<script>
import 'fullcalendar/dist/lang/fr'
export default {
  data() {
    return {
      config: {
        locale: 'fr',
      },
    }
  },
}
</script>

For more details, see their official docs

thank for your answer I try your  answer and after  npm run dev
I have :
Uncaught TypeError: Cannot read property 'datepickerLocale' of undefined
at Object.eval (webpack-internal:///202:4)
at eval (webpack-internal:///202:3)

Ok, I will have a try after lunch. It may have changed since I last looked at it.

thanks brockReece

So, it is working on my example app.
The only difference to the code above was I had to put in a comment to keep eslint happy.
/* eslint-disable import/no-extraneous-dependencies */
import 'fullcalendar/dist/locale/fr';

What version of vue-full-calendar are you using?

i am using   "vue-full-calendar": "^2.1.2",
I create my app with vu-cli  and in my  main.js
Vue.config.productionTip = false;
import FullCalendar from 'vue-full-calendar'
/* eslint-disable no-new */
Vue.config.productionTip = false;
new Vue({
el: '#app',
router,
template: '',
components: { App }
})
and in my component i have

and the error is
Uncaught TypeError: Cannot read property 'datepickerLocale' of undefined
at Object.eval (webpack-internal:///202:4)
at eval (webpack-internal:///202:3)
at eval (webpack-internal:///202:4)
at Object. (app.js:1944)
at webpack_require (app.js:660)
at fn (app.js:86)
at Object.eval (webpack-internal:///163:2)
at eval (webpack-internal:///163:78)
at Object. (app.js:1701)
at webpack_require (app.js:660)

So you are not importing the locale lib?
import 'fullcalendar/dist/locale/fr';

Unless I am missing something?

yes I import 'fullcalendar/dist/locale/fr and also moment js
but still have
[WDS] Warnings while compiling.
msgWarnings @ client?cd17:144
client?cd17:147 ./node_modules/moment/src/lib/locale/locales.js
Module not found: Error: Can't resolve './locale' in my-project\node_modules\moment\src\lib\locale'
@ ./node_modules/moment/src/lib/locale/locales.js 65:16-60
@ ./node_modules/moment/src/lib/locale/locale.js
@ ./node_modules/moment/src/moment.js
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
@ ./src/App.vue
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
msgWarnings @ client?cd17:147

This is a different error... It looks like you are trying to import a file that doesn't exist.
I think your moment locale import statement should look something like this...
import 'moment/src/locale/fr'

Actually, just found this in moment`s issues
https://github.com/moment/moment/issues/4216
Looks like its a problem with the 2.19.0 version of moment

thanks it work !!! I  fix moment version in 2.18.1

Perfect.
Glad I could help.


Unnamed add friend

When I sign in with an Unnamed I send a friend request and I can't complete that goal.
https://images.zenhubusercontent.com/660762354/2e193a25-c2bb-4648-8b7c-e6e3de981186/screen_recording_2023_08_08_at_09_46_27.mov

Is this happening with all users that you want to unfriend?

This was not when I want to unfriend is when I want to be friend.

Sorry, befriend. Is it happening with all the users that you want to befriend?


overhaul: add support for stock splits and automated awv reporting

support for stock splits
support for automated AWV reporting
use decimal.Decimal for a more robust handling of floating point numbers
round sales proceeds as Schwab seems to do so for sub-cent values
introduce new format for transactions, separating RSUs and ESPPs to e.g. allow automated reporting for AWV purposes or to allow a more generic treatment of currency conversions

When running on my current Transactions spreadsheet, I get the following error message:

ValueError: Worksheet named 'rsu' not found

I think it'd be worth to add a condition for backwards compatibility and initialise the new structures empty (along with a warning message like "RSU support won't be available - see the example Transactions.xlsx file how to initiliase the new sheet").

Thanks for the fixes, it works now!
Interestingly, in most of the logging code I had to remove the .date() except for
data_structures_fifo.py::pop()::sell_date
StockSplitEvent::date
In these cases if I remove the .date() function, then it prints the whole datetime.

Good finding, weirdly enough, things in general just worked before. What I missed. pandas uses a pandas timestamp class to denote timestamps which are more or less compatible with datetime.datetime. I now explicitly convert to datetime.date when loading from these dataframes, so any instance where now things are not a datetime.date object are unintended for sure.

DEGIRO import runs now (with the manual handling of the known unsupported buy/sell stock at the same day variation).
wait, you actually have buy and immediately sell use-cases? :D

#10 passes all tests now, let's get everything ready to merge! :)

Great news, would you mind going over the conversations to see if there is still a comment not addressed? I'll do the same :)


Added Priceline

Added one for priceline... more to follow, but next time multiple in bulk.

Hey @JeffreyShran,
Thank you for the PR, as per example in the readme, the values in the domains fields are only domains, not subdomain or URLs so I've updated the PR accordingly.

Hey @JeffreyShran,
Thank you for the PR, as per example in the readme, the values in the domains fields are only domains, not subdomain or URLs so I've updated the PR accordingly.

Understood, thanks for the reminder. I'll make sure future ones are TLD's only.


Add support for winui3

Hi,
I had trouble using this package with my winui3 app.
It looks like Microsoft.Windows.Apps.Test doesn't support winui 3 apps (but only true uwp apps).
I added a workaround which works for me.

I reimplemented by previous workaround and replaced the previous UAPApp usage with my own code.
It handels both uwp and winui apps, including support for arguments.
These will be passed as activation args.
Of course, command line activation can be done separatly (the "legacy" route) but that's a separate kind of activation.

@Gitii Your change is released to https://github.com/licanhua/YWinAppDriver/releases/tag/v<IP_ADDRESS>


Traceback (most recent call last):   File "/ofs/test/AnyText/demo.py", line 241, in      block.load(fn=None, TypeError: EventListener._setup..event_trigger() got an unexpected keyword argument '_js'

Traceback (most recent call last):
File "/ofs/test/AnyText/demo.py", line 241, in
block.load(fn=None,
TypeError: EventListener._setup..event_trigger() got an unexpected keyword argument '_js'
有人遇到这个问题吗？

Hi, check your gradio version please, 3.50.0 is recommended.


Move view variables verb to the top of the list with no category and localize it

Requires https://github.com/space-wizards/RobustToolbox/pull/4454
About the PR
Before you needed to right click, flail around trying to find the debug category while waiting for the server to come back from getting cigs, go into the debug category, and then click view variables.
Now you just click it and it doesn't move even after the server responds to the verbs request.
Media
https://github.com/space-wizards/space-station-14/assets/10968691/faef5f9c-a1b2-4f8d-9ef8-1aa0de678f29

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

thank you space jesus


Updated packages to the latest version

Removed uglify plugin with terser plugin because it was causing issues.
Updated all the packages to remove the security warnings.

I'll merge this so that we can move on with the work. Mostly it's just an update of the packages and the webpack build to accomodate them


Feature/top level project

Enhancements for the Top Level Project announcement.
Long time overdue this one: https://github.com/vieiro/incubator-netbeans-website/blob/feature/top-level-project/netbeans.apache.org/src/content/about/history.asciidoc

Awesome, merge it!

Thanks @JaroslavTulach for the corrections/enhancements. I added some more screenshots.
Let's merge this, as @geertjanw  says, and let's then edit/modify as appropriate.


fix(version): jira updated to null release

Atlassian released a new LTS version of Jira - null!
This automated PR updates code to bring new version into repository.

Incorrect PR!


Occasional error about not being connected to remote Tessel

Every once in a while, I receive an error that a process is attempting to exec before the SSH process is opened:
INFO Connected over LAN. IP ADDRESS: <IP_ADDRESS>
Unhandled rejection Error: Not connected
    at Client.exec (/Users/Jon/Work/technical/t2-cli/node_modules/ssh2/lib/client.js:544:11)
    at LANConnection.exec (/Users/Jon/Work/technical/t2-cli/lib/lan_connection.js:39:12)
    at stopRunningScript (/Users/Jon/Work/technical/t2-cli/lib/tessel/deploy.js:51:16)
    at Tessel.deployScript (/Users/Jon/Work/technical/t2-cli/lib/tessel/deploy.js:25:3)
    at /Users/Jon/Work/technical/t2-cli/lib/controller.js:173:14
    at tryCatcher (/Users/Jon/Work/technical/t2-cli/node_modules/bluebird/js/main/util.js:24:31)
    at Promise._settlePromiseFromHandler (/Users/Jon/Work/technical/t2-cli/node_modules/bluebird/js/main/promise.js:454:31)
    at Promise._settlePromiseAt (/Users/Jon/Work/technical/t2-cli/node_modules/bluebird/js/main/promise.js:530:18)
    at Promise._settlePromises (/Users/Jon/Work/technical/t2-cli/node_modules/bluebird/js/main/promise.js:646:14)
    at Async._drainQueue (/Users/Jon/Work/technical/t2-cli/node_modules/bluebird/js/main/async.js:79:16)
    at Async._drainQueues (/Users/Jon/Work/technical/t2-cli/node_modules/bluebird/js/main/async.js:89:10)
    at Async.drainQueues (/Users/Jon/Work/technical/t2-cli/node_modules/bluebird/js/main/async.js:14:14)
    at process._tickCallback (node.js:355:11)

I believe this occurs when the CLI is told to connect to a device that it is not authenticated on.


Show Markdown Preview Menu Button For any File Opened as Markdown

Issue #7638
Bug
Open a .txt file containing markdown in VSCode. Select the editor language as markdown and the highlighing kicks in, but there is no preview button for the file.
Fix
Base display of the markdown preview button on resourceScheme instead of resourceLangId.

Closes #7638

Hi @mjbvz, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Matt Bierner). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Coverage remained the same at 61.19% when pulling 9e28d5764cdac6c2b30b6b0bc3b7b7c74e8d2c8a on mjbvz:show-markdown-preview-for-any-file-type-when-viewed-as-markdown2 into 7baf009e27c8a0ce11f4a33c75150becbbac5be1 on Microsoft:master.


Change safe zone color so it doesn't clash with snap guidelines

@samitron7 can we add the new color we want to use here? If already in the specs, great, just want to make this ticket very easy to resolve.

@samitron7 - need the colour specified in time for Monday sprint start :)

closed via https://github.com/google/web-stories-wp/issues/6201


ODE does not ingest a public Google Sheets

Problem description
This is a problem reported by one of the organizations conducting the pilot. They tried to ingest this Google Sheets and the ODE displays a message saying the URL is not valid or that the data is not publicly available.

I checked the file, and data is effectively online (see file here).
Can you please check what could be going on?

Hi @roll! I'm adding more context here. I asked ACIJ to share the Datos tenencia censo 2022 (1).xlsx. I tried to ingest it and got this error:

We discussed this issue during our stand-up meeting. The problem here is that the user is adding a public Google Sheets ending in html. This is the reason why the ODE is not ingesting the file. I'll add a clarification to the ODE user guide.

@roll can you add this to the ODE documentation?
Section:  Uploading data
Link: https://opendataeditor.okfn.org/documentation/uploading-data/
Please, add this to the Note box as the second bullet point
👉🏼 For Google Sheets, please make sure you are adding the public version of your file without the HTML term at the end. For example:
✅https://docs.google.com/spreadsheets/d/1dFVoF6f9VU5pjaGhyyvQaBN0n6ae-iLCtlvsO1N2jhA/edit?gid=0#gid=0
❌https://docs.google.com/spreadsheets/d/e/2PACX-1vQ8w9yb7D-iYEbImb0WD4Kh53_Yp7H1VOi1bIMcicphWbkrrH9PobXCJhXt9frqyQ/pubhtml


Gingko/scpd backport

SCPD backport

Hrm, this closed because I deleted my branch ginkgo/wip, which this was a PR into..


[GOBBLIN-1902] Log intermittent NPE from ExecuteImpl

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[X] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1902

Description

[X] Here are some details about my PR, including screenshots (if applicable):
org.apache.gobblin.runtime.jobexception: Failed to run Spec: ... occurring at GobblinServiceJobScheduler.java line 763 but exception details are being swallowed here in caller so cannot tell where NPE is coming from to debug. Adding logging to help.

Tests

[X] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[X] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3767 (7494bbd) into master (5f021ba) will decrease coverage by 1.48%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3767      +/-   ##
============================================
- Coverage     47.18%   45.70%   -1.48%
+ Complexity    10911     2159    -8752
============================================
  Files          2149      413    -1736
  Lines         85079    17965   -67114
  Branches       9445     2187    -7258
============================================
- Hits          40144     8211   -31933
+ Misses        41288     8880   -32408
+ Partials       3647      874    -2773

see 1739 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update Ruler to Foundry VTT V9.233

New type RulerData
Docs

Nothing to do, already typed correctly


[1.2.0] Editor preview appears below instead of beside the editor text

At first, I like the section editor and it is a very useful tool 👍
After upgrading from 1.1.2 to 1.2.0 I discovered that the preview pane appears below the editor:
Section Editor 1.1.2

Section Editor 1.2.0

TW v.5.3.x on Windows 10

This is a bug with TW 5.3.3.
I will investigate!

Update 1.2.1 fixed the issue!

Update 1.2.1 fixed the issue!

Thank you for your quick response 😃
Section  Editor 1.2.1

It is working now as expected 🥳


fullName in UrlMapping is different between monorepo and regular projects

Search terms

fullName
UrlMapping

Steps to reproduce the bug
I have a simple plugin (I've omitted some error checking and property inspection):
export function load (Application) {
  Application.renderer.on(RendererEvent.BEGIN, (event) => {
    for (const urlMapping of event.urls) {
      console.info(urlMapping.model.sources[0])
    }
  })
}

For a regular project I see SourceReferences like:
SourceReference {
  fileName: 'index.js',
  fullFileName: '/Users/alex/Documents/Workspaces/ipfs/aegir/test/fixtures/projects/an-esm-project/src/index.js',
  line: 17,
  character: 13,
  url: 'https://github.com/ipfs/aegir/blob/master/test/fixtures/projects/an-esm-project/src/index.js#L17'
}

For a monorepo project I see:
SourceReference {
  fileName: 'index.js',
  fullFileName: 'index.js',
  line: 6,
  character: 21,
  url: 'https://github.com/ipfs/aegir/blob/48cc141/test/fixtures/projects/a-monorepo/packages/a-workspace-project/src/index.js#L6'
}

Expected Behavior
fullFileName should be an absolute path for monorepos and regular projects.
Actual Behavior
fullFileName is only an absolute path for regular projects.
Also, the SourceReference url property has a branch name (master) for the regular project but a commit-ish (48cc141) for the monorepo project, I'm not sure which is correct.  Perhaps the commit-ish since the object at the end of the URL won't change over time?
Environment

Typedoc version: ^0.24.8
TypeScript version: ^5.1.6
Node.js version: v18.14.0
OS: Mac OS X 13.3.1

Any ideas on this @Gerrit0? I'm having to perform all sorts of workarounds for this.

Relying on this property is a bad idea. The fact that there is a fullFileName there is an artifact of the implementation of the sources plugin, and it really shouldn't have been public to begin with. The sources object's existence is controlled by a user option, so I assert that any plugin behavior beyond rendering a link to the url which relies on it's existence is broken by definition.
What are you actually trying to do? There is almost certainly a better way to do it, and if there isn't, I'd much rather provide one than encourage the use of this property.

What are you actually trying to do?

I maintain a large group of related TS repos across different GH orgs, all of which have generated documentation using typedoc.
The modules produced by these repos use the types from other repos - for example the CID type from multiformats/js-multiformats is used as an argument type for the Bitswap.want method from ipfs/js-ipfs-bitswap
What I'm trying to do is have the CID type referenced in the TypeDocs for ipfs-bitswap link to the TypeDocs for the relevant type exported from multiformats:

This way the user doesn't have to thrash around looking for docs, they can just click through and get on with things.
I use aegir as the build tool for this, it basically just supplies tsc, typedoc etc with some shared configuration and plugins.
There are two steps to generating the cross-documentation type links:

The type-indexer-plugin

This plugin creates a typedoc-urls.json file at a known location in the module tarball
typedoc-urls.json contains a mapping of exported type names to documentation URLs
This is built during every publish of (for example) multiformats

When building the docs of (for example) ipfs-bitswap the unknown-symbol-resolver-plugin is used.

This plugin knows where to look up typedoc-urls.json from for a given module
Given a module name and a type name (e.g. "multiformats" and "CID"), it tries to resolve a documentation URL from typedoc-urls.json for that module & type name

The reason the full path to the file is needed is to locate the nearest package.json in order to know where to write the typedoc-urls.json file out (or not to if it was loaded from a dependency).
There are a few shortcomings, for example where a type is exported from two locations it's not possible to differentiate between them so you may not end up linking to the canonical source, but you will link to something.
It would be a lot simpler if the UrlMapping had more information about the type it is referencing - the module it was loaded from, the path on disk, the file name, the line in the source code, etc, and for unknown symbol resolvers, if the path that the symbol was loaded from within it's containing module could be supplied  - this would eliminate a lot of the guess work.
Or maybe this could just be a TypeDoc feature in the future somehow, it's remarkably useful to be able to click through to the documentation of another module.
Anyway if there's a better way to do this I'd love to simplify it all.

From that description, I think the right solution is to track source locations yourself, TypeDoc doesn't need it, so just doesn't track it...
At rendering time, TypeDoc generally doesn't have the TS project in memory anymore, but during conversion it is available for use, so you can get this (and much more) information from the symbol associated with a reflection. To map this properly you'll need logic to save/restore IDs, since in packages mode TypeDoc serializes each project & throws away the original to avoid holding on to any TS memory. Incidentally this will also mean that these plugins will work properly if someone runs TypeDoc to produce json output, and then runs with the unknown symbol resolver plugin in a separate run.
const td = require("typedoc");

const savedKinds =
    td.ReflectionKind.Interface |
    td.ReflectionKind.Function |
    td.ReflectionKind.TypeAlias |
    td.ReflectionKind.Variable |
    td.ReflectionKind.Class |
    td.ReflectionKind.Enum;

/** @param {td.Application} app */
exports.load = function (app) {
    app.converter.on(td.Converter.EVENT_RESOLVE, onResolve);

    app.serializer.addSerializer({
        priority: 0,
        supports(model) {
            return model instanceof td.ProjectReflection;
        },
        toObject(model, obj, _ser) {
            obj.reflectionSources = model.reflectionSources;
            return obj;
        },
    });

    app.deserializer.addDeserializer({
        priority: 0,
        supports(_model, obj) {
            return typeof obj.reflectionSources === "object";
        },
        fromObject(_model, obj) {
            app.deserializer.defer((project) => {
                project.reflectionSources ??= {};

                for (const [id, path] of Object.entries(obj.reflectionSources)) {
                    project.reflectionSources[app.deserializer.oldIdToNewId[id]] = path;
                }
            });
        },
    });

    app.renderer.on(td.Renderer.EVENT_BEGIN, onRenderBegin);
};

/**
 * @param {td.Context} context
 * @param {td.DeclarationReflection} decl
 */
function onResolve(context, decl) {
    if (!decl.kindOf(savedKinds)) return;
    const symbol = context.project.getSymbolFromReflection(decl);
    if (!symbol) return;

    const declarations = symbol.declarations;
    if (!declarations) return;

    context.project.reflectionSources ??= {};

    // Probably want to get the module name rather than just saving the full path here?
    // Might want to consider if you care about declaration merging across projects. There's no reason a reflection
    // can only be declared in one project.
    context.project.reflectionSources[decl.id] = declarations[0].getSourceFile().fileName;
}

/**
 * @param {td.RendererEvent} event
 */
function onRenderBegin(event) {
    for (const urlMapping of event.urls) {
        console.log(urlMapping.model.name, event.project.reflectionSources[urlMapping.model.id], urlMapping.url);
    }
}


Fix Elixir 1.11 warnings

There is another PR for this, but the warnings there are different from the ones I'm fixing here, which are warning like this one:
warning: :gun.request/6 defined in application :gun is used by the current application but the current application does not directly depend on :gun. To fix this, you must do one of:

  1. If :gun is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :gun is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :gun, you may optionally skip this warning by adding [xref: [exclude: :gun]] to your "def project" in mix.exs

Found at 2 locations:
  lib/tesla/adapter/gun.ex:355: Tesla.Adapter.Gun.open_stream/7
  lib/tesla/adapter/gun.ex:362: Tesla.Adapter.Gun.open_stream/7

#430 Fixes this more elegantly, I will close this one.


Download tab doesn't highlight

Clicking on the download tab doesn't make it highlight, having it skip over to the 'contact' section instead.

This is controlled by the length of the section; adding content or adjusting the padding fixes this problem.


Implement inferno firing technique

This firing technique will ignite every cell in the unit. :fire: :fire: :fire:

I was about to come post about this... Beat me to it.

@drosales95, can you test the inferno technique in QF? I used format 5 and set the start/end times to (0,0), but you can use the time offset in the exporter to bump them up. Honestly, I have no idea if it will work, so let me know what happens!


Make non-technical documentation, including tutorials

The current docs only describe CurateGPT functions.
They should also include:

Material from the paper (https://arxiv.org/pdf/2411.00046)
a "getting started" section
more examples
more detailed instructions on how to use your own ontology
more detailed instructions on how to use wrappers
more detailed instructions on how to use alternative LLMs

Should also move over some examples from docstrings and the notebooks.


Include responsive column gutters in v5

Often I want to create a grid that has gutters that shrink down for smaller screen sizes. Currently, I have to manually add each responsive gutter class to each row individually. It would be nice if these responsive gutter classes could be automatically added to columns at their respective breakpoints.

I don't think we'd go this route and add more classes for that. Using Sass mixins or extended the classes in your own sounds like it could be the best path forward.
/cc @twbs/css-review for thoughts

We actually already have that 😄
https://twbs-bootstrap.netlify.app/docs/5.0/layout/gutters/#row-columns-gutters (see g-2 g-lg-3)

@MartijnCuppens yes I have seen that, but my ask is for there to be a way for those responsive gutters to be added automatically to rows and columns, similar to the default gutter size.

It would be nice if these responsive gutter classes could be automatically added to columns at their respective breakpoints.

I think what's being asked for is to modify gutters on columns depending on breakpoints—to avoid relying on utilities—probably by using breakpoints mixins in make-row to change--bs-gutter-x for each breakpoint.
@samwilliscreative I'm not in favor of this because we don't modify spacers either depending on breakpoints: modifying gutters would result in inconsistent spacings everywhere…
Since gutters are custom properties in v5, it's pretty easy to customize even when using Bootstrap CDN. So I don"t think there's a point here.
BTW, maybe spacers could end as custom properties too?

Closing since we're passing on this change given our grid utilities.


[FLOC-4399] Only lookup the value once in the cache.

bool(key in dict) is one lookup in the dictionary, and dict[key] is another lookup.  We have already determined that looking up a large PClass in a dict is a slow operation, so we should avoid that. Using dict.get and then checking for None (or using try...except IndexError) should eliminate one of the checks.

I agree it's a good idea, but this is a trade-off in code adherence to best practices in return for performance. Therefore, we should document that in a comment, and put numbers there.
(try/except is slower because exceptions are pretty slow in Python, but using None as a sentinel is never a great idea -- but it is the best option here).

I'll add some sort of comment...
I can make a new sentinel, that's no issue.
Actually on second though ... I'm not convinced performance is critical enough here to avoid the exception path (we don't want to navigate recursively down a PClass, but unwinding a few stack frames is probably okay). The main reason I didn't do that originally is because the exception isn't really exceptional (it's guaranteed to happen the first call for instance.)
I'll just switch to an exception style. It'll be more pythonic anyway. This is not a tight loop so the exception will be fine.

Eh actually you're right we don't want to incur the exception drop on the first invocation for every pyrsistent object, we should use a sentinel. I'll just add a comment.


Referencing included aliases result in unidentified alias

Consider this file structure:
# in include1.yml
props:
  - &key
    key: value

# in main.yml
name: main

include1: !!inc/file include1.yml

properties:
  - *key

It will throw a YAMLException with: unidentified alias "key", because the key isn't even included.

This would be handy if it worked -- unfortunately, it won't at this point without some modding on js-yaml itself.
yaml-include doesn't concatenate all the included files and then process them as the final document. Instead, it processes each file and builds an object with the result. Since each file is a new yaml.load() call, and since js-yaml does not support persisting anchors between file loads, aliases in separate files are considered unidentified.
I've been thinking of ways around this. One might be a special !!inc/alias type of inclusion, which would load the anchors and then expose an object where the values could be retrieved by key in all subsequently included files.
Another would be to extend js-yaml and overwrite the loader functionality to force the exposure of found anchors across subsequent files. Sort of a stateful loader.
A third way would be simply making an aliases object part of configuration, and passing those into each loaded yaml doc. The problem with this and the !!inc/alias approach is that it forces an unnatural (from the yaml perspective) definition of anchors. YAML 1.2 as-is allows the anchor declaration anywhere for first use, so long as it appears before the second use in the stream.
The second approach I'm describing here could support that, but it feels like the hairiest approach. I'll continue kicking it around and see if some easy solution presents itself. 😄


Updating workflow API to no longer point to alpha API

Description
Editted readme and samples for workflow API to no longer reference alpha.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

We ended up including these changes in #1194, closing this PR.


Named rule support; v1.4.0

Pushed 'ready for review' too soon, looks like something got lost on the way to external - stand by..

..ready to go!


v2.2.1

Pull Request Test Coverage Report for Build 918

0 of 10 (0.0%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 12.051%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

CI2GoTodayExtension/TodayViewController.swift
0
10
0.0%

Files with Coverage Reduction
New Missed Lines
%

CI2Go/Extensions/WCSessionDelegateExtension.swift
6
0.0%

Totals

Change from base Build 913:
-0.2%

Covered Lines:
436

Relevant Lines:
3618

💛  - Coveralls


SystemChrome.getPreferredOrientations not found

Use case
I am working on a package for a video player. I had this problem: I configured it to rotate to all orientations when the user navigates to the window I created. but I need to give the previous orientations when exiting the window. I couldn't find any information on how to get the orientation of the screen to be rotated.
Proposal
I want to get the orientations that the screen can rotate to by calling the SystemChrome.getPreferredOrientations function. if there is any other solution for this can you please explain where i can find this information?

@Akramjon-koder
Can you provide us a runnable reproducible code sample that shows the current issue / limitation you are facing and elaborate on what exactly are you trying to achieve using SystemChrome.getPreferredOrientations in that implementation ?

Please review this code:
class _Page2State extends State<Page2> {
  late List<DeviceOrientation> deviceOrientations;

  @override
  void initState() {
    deviceOrientations = SystemChrome.getPreferredOrientations;

    SystemChrome.setPreferredOrientations([
      DeviceOrientation.landscapeLeft,
      DeviceOrientation.landscapeRight,
      DeviceOrientation.portraitUp,
      DeviceOrientation.portraitDown,
    ]);
    super.initState();
  }

  @override
  void dispose() {
    SystemChrome.setPreferredOrientations(deviceOrientations);
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Text('page2'),
      ),
    );
  }
}

For this code sample to work, I need SystemChrome.getPreferredOrientations to return me devoce orientations.

Are you seeing this on iOS or in Android ? Please check below issues and see if they resemble your case or not:
https://github.com/flutter/flutter/issues/147460
https://github.com/flutter/flutter/issues/111063

I have studied the resources you have thrown out. I have "SystemChrome.setPreferredOrientations()";
There was no problem with the functionality. The problem I'm having is to reset the window to its previous configuration when closing. I can't find a solution to do this. I think the code sample above would have been a solution if it was possible to get the preferred orientations via the "SystemChrome.getPreferredOrientations()" function.

The problem I'm having is to reset the window to its previous configuration when closing. I can't find a solution to do this.

Please provide us a short video showing the current issue you are facing so that we can get more idea on the issue.

https://github.com/flutter/flutter/assets/79073667/7b4eee29-b149-41d9-9c6b-ee0d80ee52a3
I need to get screen orientations to set to previous orientation when navigating back from full screen player.

If you look at the code sample I wrote above. I have already used the method you recommend. The directions an app can navigate to are stored in SystemChrome. they can be changed. but there is no way to find out. I would like to have this opportunity. I can ask the developer for directions when closing the player. But since this is an inconvenient solution, why shouldn't a better method be devised?

Please check this with underlying comments to see if they help in your case or not.

A slightly awkward solution to the problem I encountered is possible. But it still needs an optimal solution. The above resources cannot provide this solution.

Can you check if this helps in your case or not ?

The methods you suggest do not help to know the directions the device can rotate. I have already explored the documentation, stack overflow and other sources. I could not find a source about the ability to know the directions the device can rotate.

I could not find a source about the ability to know the directions the device can rotate.

I think you are hitting https://github.com/flutter/flutter/issues/74597 so please follow-up in it for further updates.
Closing this as a duplicate. If you disagree, write in comments and I'll reopen it.


[feature][datasource] Main add datasource-jdbc-snowflake

Purpose of this pull request

Check list

[X] Code changed are covered with tests, or it does not need tests for reason:
[X] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[X] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs

Can you add new datasource jdbc paimon  or sink jdbc paimon functions.
Implement the HIVE function for the paimon plugin

Please Fix CI Error.

Please add License header to file.
Fix dead links

@EricJoy2048
license header is added, the deadlink shown in the pipeline seems to be correct, could you please have a look?

@haneeshmv Could you fix ci please. Thanks

@Hisoka-X  is it possible to rerun the ci currently logs are not there, when I checked last time was not able to identify any issue with deadlink everything was looking ok.

@Hisoka-X is it possible to rerun the ci currently logs are not there, when I checked last time was not able to identify any issue with deadlink everything was looking ok.

Please try merge from dev and resolve conflict. The test case will re-trigger.

@Hisoka-X  merge is done, conflicts resolved, please have a look

Please update dependency.


fix: test out pipeline catalog changes

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

Needs approval from an approver in each of these files:

OWNERS

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

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

Test name
Commit
Details
Rerun command

pr
4ea8fbf94421916a11e2cb7f23ead2fb4c1fdaec
link
/retest

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


Add material for generated SpriteMesh

I can't find any specific reason why don't we update Mesh with Material.
It makes it easier to preview and save.

Hi! Thank you so much for taking the time. I'm not sure about this change though. In the case of an animation, every mesh shares the same material. By assigning it to each mesh, we would give the impression that the material of each mesh contains just a single frame of animation, which may cause some confusion. I would leave this open to gather more feedback.

Agreed, I did not think about animation.
I was thinking more of generating tons of SpriteMeshes that are static (not animated); hence pull request.
Do you think it'll make more sense to only use it with checkbox as a "setting"?
Something like "Add material to each mesh" (default false).
Or it does not make sense at all in this specific addon?

It would be cool if each material contained only one frame, but that would require changing the UVs of the generated meshes. I'm not planning on adding this right now.


drivers/lcd: Add GC9A01 driver and refine ST7735

Added custom resolution, offset and BGR mode for ST7735 driver
Added GC9A01 driver (based on ST7789 driver)
Summary
Impact
Testing
Tested on ESP32C3

Ignoring the macOS failing...


Support django 2.0

There's currently an open PR: https://github.com/AltSchool/dynamic-rest/pull/212

this seems fixed.

Released v1.8.0 which adds support for Django 2.0.


feat(tokens): add NFTE token icon

Add NFTEarth token icon
This token is an Omnichain Fungible Token built on the LayerZero OFTV2 standard. Token name and symbol on all chains is - name: NFTEarthOFT - and Symbol: NFTE. .svg files have been added for each DexGuru supported chain in the repo.
Contract Address
56 (BNB Chain): 0x1912A3504E59d1C1B060bf2d371DEB00b70E8796
43114 (Avalanche): 0xD47E4F1ef1AA4090bc27420BDD5cB379Ced81440
137 (Polygon): 0x492Fa53b88614923937B7197C87E0F7F8EEb7B20
42161 (Arbitrum): 0x51B902f19a56F0c8E409a34a215AD2673EDF3284
10 (Optimism): 0x8637725aDa78db0674a679CeA2A5e0A0869EF4A1

Hey @westonnelson
I see only one address is in checksum format. Others are lowercase. Could you please update them as well?

 Cheers!
The other 4 chains for reference (just in case you may add them at some point) are:
Linea: 0x2140Ea50bc3B6Ac3971F9e9Ea93A1442665670e4
Base: 0xc2106ca72996e49bBADcB836eeC52B765977fd20
Mantle: 0x3E173b825ADEeF9661920B91A8d50B075Ad51bA5
Ethereum: 0x8c223a82E07feCB49D602150d7C2B3A4c9630310

Hey @westonnelson
I see only one address is in checksum format. Others are lowercase. Could you please update them as well?

 Cheers!
The other 4 chains for reference (just in case you may add them at some point) are:
Linea: 0x2140Ea50bc3B6Ac3971F9e9Ea93A1442665670e4 Base: 0xc2106ca72996e49bBADcB836eeC52B765977fd20 Mantle: 0x3E173b825ADEeF9661920B91A8d50B075Ad51bA5 Ethereum: 0x8c223a82E07feCB49D602150d7C2B3A4c9630310

Awesome, thanks!


Column resizing is inverted in RTL

Description
When the mantine is in RTL mode, moving the mouse to right, resizes the cell from left.
Expected Behaviour
This should work like default LTR mode, so moving the mouse to right resizes the cell from right.

this is an issue with react-table RTL column resizing doesn't work
so we have to wait until react-table supports rtl layout


[Feature]Stripe Integration With Appsmith

Summary
Out of the box integration with Stripe for users of Appsmith. This should enable invoicing, refunds, and other commonly used functionality from Stripe.
Motivation
Commerce is the underlying backbone of a business, and payments are the first step towards commerce. Most businesses have a need to invoice and refund users, and based on customer interviews, a big internal app is a refunding/support/invoicing application, core to which is Stripe with their market-dominating position.
Additional Context
More user interviews will be needed to design and develop this feature.

need stripe integration

@drnareshchauhan could you tell us a bit about your usecase and the API you're looking to integrate with? You can also use our curl imported to achieve this today


Bugfix/platfowner/bugfix

Change summary:

Increase TX_POOL_SIZE_LIMIT_PER_ACCOUNT to 100. Update tests.
Update gitignore for ain_blockchain_data directory.

Thanks for the fast review! Now being merged..