Not respond to mouse selection in Tmux (WT:  v0.11.1121)

Environment
Windows build number:

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Windows Terminal version (if applicable): 0.11.1121.0

Linux server:

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic

Tmux: 2.6

Steps to reproduce
Open WT -> login linux server
tmux new -s main
ls

Then select a word or something.
Expected behavior
The word/something is selected.
Actual behavior
Nothing is selected.
I think the latest release v0.11.1121.0 made some changes about mouse events and caused the issue because everything was well a few days ago.

login linux server

It’s very important how you’re doing this.
Are you using the version of SSH that comes with Windows? If so, that is version 7.7 and it doesn’t support transmitting mouse events.

Hi, @DHowett-MSFT
I do have the same issue after last update.
I can ssh my VM and select text, but I can't in tmux anymore.
I'm using the Windows' ssh version.

As a workaround, you go back to previous version:

release page => https://github.com/microsoft/terminal/releases/tag/v0.10.761.0
download the msixbundle from the assets and reinstall
don't forget to open settings to identify the settings folder and rename or copy/paste the content of settings.json into the profiles.json as the file was renamed to settings.json after this version

FYI my settings folder was : C:\Users[MY_USER_NAME]\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState

Oh, I see what you're reporting. Okay.
This is because tmux asks for terminal to enable "mouse mode":

SSH sits in the middle, and passes on the request.
Terminal now reliably enables mouse mode.
Terminal sends mouse input to SSH
SSH ignores it.

You'll need to configure tmux to not request mouse mode, or upgrade SSH.
Alternatively, you can hold down Shift to interact with the Terminal's selection model.

Hi 👋
I didn't know that there is another ssh client available and more up to date than the Windows's additional functionnality one.

For those who falled into the same issue as me:
I picked the information from this post: https://blog.frankfu.com.au/2019/03/21/moving-from-windows-1809s-openssh-to-openssh-portable/
Since I installed the Win32 OpenSSH version from chocolatey I found back the behavior I'm used to with tmux.
The only drawback is that I had to disable mouse support (which isn't working atm) in tmux in order to be able to perform double click selects and single click de-selects.
NOTE: do the same with vim if it bother you.
.tmux.conf => set -g mouse off
.vimrc => set mouse=

Oh, I see what you're reporting. Okay.
This is because tmux asks for terminal to enable "mouse mode":

SSH sits in the middle, and passes on the request.
Terminal now reliably enables mouse mode.
Terminal sends mouse input to SSH
SSH ignores it.

You'll need to configure tmux to not request mouse mode, or upgrade SSH.
Alternatively, you can hold down Shift to interact with the Terminal's selection model.

Thanks! I upgraded SSH to OpenSSH_for_Windows_8.1p1 and the problem was solved.

Copy/Paste inside tmux: select by mouse, and paste by C-b + ]
Copy to/Paste from system clipboard: hold down Shift, select by mouse and right-click to copy; hold down shift, right-click to paste


Feat asyncapi: add commands to manage schema inheritance

Currently using schema inheritance in apicurio with asyncapi is broken. This PR adds required commands to handle it:

AddChildSchemaCommand_Aai20
ChangeSchemaTypeCommand_Aai20
ChangeSchemaInheritanceCommand_Aai20
DeleteAllChildSchemasCommand_Aai20
DeleteChildSchemaCommand_Aai20

LGTM thanks @ben-lc
FYI I wanted to let you know that I'm in the process of slowly migrating the commands in 1.x over to 2.x.  I may be trying to also simplify or at least collapse the number of commands we have where possible.
We have also begun a rewrite of the editor using React.  If you are interested, you can find the work here:
https://github.com/Apicurio/apicurio-editors


Prevent silent failures on inplace NumPy operations (3 man days' effort)

Newer versions of NumPy do not allow in-place math operations that change dtype. This affects Iris in-place math operations. Notably in some (ufunc) cases catch a TypeError, which is catching this error and causing the in-place operation to fail silently.
Ref #2522

@dkillick @pp-mo So what do we intend to do about this? Make these types of operations fail loudly, cast the resulting dtype to that of the cube's data or allow the operations to change the cube data's dtype?

I would suggest that we allow the operations to change the cube data's dtype.
My reasoning for this is that if I want to mulitply my cube's data (let's say it's integer data) by 0.5, I know damn well that 0.5 is not an integer, but I clearly want to half my data values, so I am intrinsically saying 'change my data'.
If I didn't want to change the cube's dtype, then I would not be applying a mathematical operation using a different one, and if I do then it's my own fault if the cube data's dtype changes.

Of course, having said all this, I have no idea how difficult it will be to implement this option.

@corinnebosley you hold exactly the same idealistic viewpoint to me on this. Pragmatically, however, I think we should do the opposite and follow NumPy behaviour: as NumPy no longer allows inplace operations that change type, neither should we. In fact, you can still do int_cube = int_cube * 3.0, which is near equivalent to int_cube *= 3.0 (although in both cases the name actually becomes invalid :wink:).
The problem that needs addressing here is how do we distinguish between valid failures from ufuncs and incorrect failures being caused by inplace maths, which are currently incorrectly caught and fail silently?

@dkillick I am not sure if that's the only problem that needs addressing.  A little while ago you made this change, which as far as I can see will cast the dtype of the result to a float in (almost?) every case.
This would make math ops on integer cubes very difficult to achieve because of frequent failures.  Is that right?

@dkillick I would also like you to talk me through the tests that you wrote for that PR when we are both back in the office please.   Division is an unusual mathematical case in that unless you have a numerator composed only of values that are multiples of the denominator, you have to produce a floating point result to avoid losing precision. So yes, the combination of that change and the change that's required here will mean inplace integer cube division will almost always fail. Add, subtract and multiply should be less affected, however.

I've just been reading back through this and the linked issue to get my head around the problem.  There is a lot of discussion about arithmetic, but it seems that Iris is consistent with numpy when it comes to arithmetic.  The silent failure problem appears for other ufuncs such as log, where Iris will appear to work but have no effect:
In [1]: import numpy as np

In [2]: np.__version__
Out[2]: '1.17.4'

In [3]: import iris

In [4]: iris.__version__
Out[4]: '2.4.0'

In [5]: arr = np.arange(3)

In [6]: arr += 1.3
---------------------------------------------------------------------------
UFuncTypeError                            Traceback (most recent call last)
<ipython-input-6-e239de6b8aad> in <module>
----> 1 arr += 1.3

UFuncTypeError: Cannot cast ufunc 'add' output from dtype('float64') to dtype('int64') with casting rule 'same_kind'

In [7]: cube = iris.cube.Cube(arr)

In [8]: cube += 1.3
---------------------------------------------------------------------------
ArithmeticError                           Traceback (most recent call last)
<snip>
ArithmeticError: Cannot perform inplace addition between <iris 'Cube' of unknown / (unknown) (-- : 3)> with int64 data and 1.3 with float16 data.

In [9]: np.log(arr, out=arr)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-9-b64140e0975e> in <module>
----> 1 np.log(arr, out=arr)

TypeError: ufunc 'log' output (typecode 'd') could not be coerced to provided output parameter (typecode 'l') according to the casting rule ''same_kind''

In [10]: iris.analysis.maths.log(cube, in_place=True)
[site-packages-path]/iris/analysis/maths.py:842: RuntimeWarning: divide by zero encountered in log
  operation_function(cube.data)
Out[10]: <iris 'Cube' of unknown / (unknown) (-- : 3)>

In [11]: cube.data
Out[11]: array([0, 1, 2])

If I've understood, this is because we use a try-except loop to check whether the function takes the out keyword:
https://github.com/SciTools/iris/blob/c2a834f652efab5660500098b461906cf3423388/lib/iris/analysis/maths.py#L914-L918


Add Freedom Dive bye Xi

Song Name
Freedom Dive
Artist Name
xi
Source
Youtube
Youtube Link
k-3y2LVF_SE
Direct File Link
No response
Song ID
735623
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 55274070
Downloaded: Yes

Waos


TypeError:  Cannot call method 'equals' of undefined

We've been using typedoc for a while, thank you BTW!!  I updated to the latest version to get TS 1.5 support, the update/install went perfectly but I cannot generate documentation.  I've tried node v0.12 and v0.10 and both error out.
Here is the stacktrace:
Using TypeScript 1.5.0-beta from C:\Program Files (x86)\nodejs\node_modules\typedoc\node_modules\typescript\bin

C:\Program Files (x86)\nodejs\node_modules\typedoc\bin\typedoc.js:6856
                    type.constraint.equals(this.constraint) &&
                                    ^
TypeError: Cannot call method 'equals' of undefined
    at TypeParameterType.equals (C:\Program Files (x86)\nodejs\node_modules\typedoc\bin\typedoc.js:6856:37)
    at Function.Type.isTypeListEqual (C:\Program Files (x86)\nodejs\node_modules\typedoc\bin\typedoc.js:6055:35)
    at C:\Program Files (x86)\nodejs\node_modules\typedoc\bin\typedoc.js:5185:52
    at Array.forEach (native)
    at C:\Program Files (x86)\nodejs\node_modules\typedoc\bin\typedoc.js:5184:52
    at Array.forEach (native)
    at C:\Program Files (x86)\nodejs\node_modules\typedoc\bin\typedoc.js:5182:52
    at Array.forEach (native)
    at ImplementsPlugin.analyzeClass (C:\Program Files (x86)\nodejs\node_modules\typedoc\bin\typedoc.js:5161:46)
    at C:\Program Files (x86)\nodejs\node_modules\typedoc\bin\typedoc.js:5226:35

I found the offending class in our code base but it compiles fine outside of typedoc.  I comment out the entire class, re-run typedoc and I get a host of other issues from the TS compiler that are not a problem in production.
I downgraded to typedoc v0.3.3 and everything is running fine again except I would like TS 1.5 support because that is what we are using in production.
Let me know how I can help you track this down...thanks!

Same here
Using TypeScript 1.5.0-beta from /git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/typescript/bin
/git/refactor/tools/FormEngine/node_modules/typedoc/bin/typedoc.js:6856
type.constraint.equals(this.constraint) &&
^
TypeError: Cannot call method 'equals' of undefined
at TypeParameterType.equals (/git/refactor/tools/FormEngine/node_modules/typedoc/bin/typedoc.js:6856:37)
at Function.Type.isTypeListEqual (/git/refactor/tools/FormEngine/node_modules/typedoc/bin/typedoc.js:6055:35)
at /git/refactor/tools/FormEngine/node_modules/typedoc/bin/typedoc.js:5185:52
at Array.forEach (native)
at /git/refactor/tools/FormEngine/node_modules/typedoc/bin/typedoc.js:5184:52
at Array.forEach (native)
at /git/refactor/tools/FormEngine/node_modules/typedoc/bin/typedoc.js:5182:52
at Array.forEach (native)
at ImplementsPlugin.analyzeClass (/git/refactor/tools/FormEngine/node_modules/typedoc/bin/typedoc.js:5161:46)
at /git/refactor/tools/FormEngine/node_modules/typedoc/bin/typedoc.js:5226:35
:typedoc FAILED

version 0.33 gave a different error:
Using TypeScript 1.4.1 from /git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/typescript/bin
/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/base.js:69
throw new Exception("Missing helper: '" + arguments[arguments.length-1].
^
Error: Missing helper: 'ifSignature'
at new Error (native)
at Error.Exception (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/exception.js:16:41)
at ReferenceType. (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/base.js:69:13)
at Object.eval (eval at  (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:209:23), :5:102)
at Object.prog [as fn] (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:15)
at ReferenceType. (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/base.js:181:22)
at Object.eval (eval at  (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:209:23), :5:35)
at Object.prog [as fn] (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:15)
at ReferenceType. (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/base.js:181:22)
at Object.eval (eval at  (/git/refactor/tools/FormEngine/node_modules/typedoc/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:209:23), :5:35)
:typedoc FAILED

Hi, thank you both for reporting this. I've found a potential flaw in the equality check for type parameters and I've included a quick fix.
For being able to better understand what's going wrong it would be great if you could describe the code that causes this problem. It must be a class implementing an interface with a generic type parameter. I guess that either the interface or both the interface and the class use a type parameter without a type constraint? I would like to add this as a test case.

is there any way to know what file its processing? code base it way too big to try and work it out

Thanks for fixing this by the way. I know you just put out a release, but would be awesome to get this into the NPM soon, as it's stopping us upgrading to typescript 1.5, which has so much cool new stuff!

You should be able to see where the error is thrown if you add the --verbose option. TypeDoc will print the symbol and file names while processing them.
I would be happy to publish a new version if we can ensure that this error is fixed.

Hi Sebastian, think its this file:
https://dl.dropboxusercontent.com/u/1341356/EventDispatcher.ts
Which indeed has a class implementing a generic interface (EventDispatcher)

Great, I've added you code as a test case, of course I've removed all logic so only the bare signatures are left over. The new version passes the test so I think the bugfix is sufficient.
I've just pushed version 0.3.7 to NPM so you can try it out for yourself.


Standard documentation fix and perhaps analyzer.

Generate standard document comments.
Examples:
For:

Parameter of type CancellationToken
Backing field for a WPF dependency property.
Attached property Get & Set methods
...

There is also an analyzer opportunity that checks that things that have a standard documentation are using it.

Here's the standard documentation for a CancellationToken cancellationToken parameter of an asynchronous method:
<param name="cancellationToken">The <see cref="CancellationToken"/> that the task will observe.</param>

We should probably create an issue per case that comes up. So it can be discussed and used for tracking commits. The list is probably pretty long so one thread would be messy, wrote this to check what other people think.
Where does the standard documentation for CancellationToken come from btw?

I hate to open the door for an unknown number of proposals (😆) but here's one from docs.microsoft.com:

The token to monitor for cancellation requests.


Update test_rescale_counts.py

Updated names of functions

I am going to merge this, since it is already pointing to biocore:dev and clears up the functionality needed for the tests to work.


[MM-22239] Add downloads dropdown

Summary
TBA
Ticket Link
TBA
Checklist

[x] Added or updated unit tests (required for all new features)
[x] Has UI changes
[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[ ] executed npm run lint:js for proper code formatting

Device Information
This PR was tested on:
TBA
Screenshots
TBA
Release Note
TBA

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!


how to use pconnect in my project？

reconnect()
Returns: TRUE on success, FALSE on failure
Return type: bool
if the reconnect() function has set return true.
when the project use pconnect,  do we need to determine whether the connection is valid and then call the reconnect function to reconnect the database?  Or we don't need to do this.  will  the framework do this automatically？

pdo pconnect 如何做reconnect

Support questions should be asked on our forum, thanks.


Slight event handling declaration improvement...

Hi,
I'd like to make what I consider a slight improvement to the event handling declaration for a projector.
From the documentation (https://docs.spatie.be/laravel-event-projector/v1/basic-usage/writing-your-first-projector#creating-your-first-projector):
    /*
     * Here you can specify which event should trigger which method.
     */
    protected $handlesEvents = [
        AccountCreated::class => 'onAccountCreated',
        MoneyAdded::class => 'onMoneyAdded',
        MoneySubtracted::class => 'onMoneySubtracted',
        AccountDeleted::class => 'onAccountDeleted',
    ];

I would like to allow for the following:
    /*
     * Here you can specify which event should trigger which method.
     */
    protected $handlesEvents = [
        AccountCreated::class,
        MoneyAdded::class,
        MoneySubtracted::class,
        AccountDeleted::class,
    ];

To me, this seems a bit easier/nicer and less error-prone.  That is, instead of writing handler method name in two places, one must only enter it once.  I know it's minor, but it seems like an improvement.
So, my thought is that when the array is in this structure, then it will automatically look for on{$eventName} methods.
I've just forked the project and am happy to find and submit a solution, but I'd first like to hear back to find out if it's time worth spending.
Thx....

Good idea, feel free to submit a PR, be sure to include tests to make sure that it works. Also send a PR to the docs.
Your work is much appreciated!
Closing this for now, but if you have more questions, feel free to add a new comment.

I'm a fan of this idea. If this does get implemented, might it make more sense to flip the $handlesEvents key - values? i.e. 'onAccountCreated' => AccountCreated::class, that way you can support both ways and don't need to worry about the class name being either the key or the value.

@jpnut
Thx.
Regarding flipping $handlesEvents...I have mixed feelings,  to be honest.  I think it will make implementing it a bit easier, but I'm stuck on the way it would read.  To me, it makes most sense that the event leads to the method being called.  The arrow (=>) fits this mental image perfectly for me.  Flipping them means that it's not as intuitive for me.  Does that make sense?
Whatever the case, I would happily do it, but would prefer some additional discussion and/or input form the package owners to see if they have any preferences.  @freekmurze ...?

I'm not a fan of flipping the keys. Its more natural if we keep the order:
If AccountCreated::class then onAccountCreated

@jpnut Sorry, my friend, but "The Master" has spoken.  ;-)

Haha of course! You make a convincing argument, and I have to agree that readability takes precedence over what is easiest to code.


chore: adding cjs support

Changes
This changes add cjs build format and add entrypoint for cjs. So far in my project there isn't any issue yet.
close #30

Thanks for your contribution @zanuarmirza! Very much appreciated :)


No frames recevied

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ D435i }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
I open Stereo module and RGB camera(on ubuntu20.04),but got no frames received while it is ok
very little times.But on the same PC,I  try on ubuntu18.04 and win10 ，when open relsense-viewer,the show is good and no error like ''no frames recevied"
Any help?

Hi @qingweihk   If you are experiencing frame drops or No Frames Received on Linux, the SDK release notes advise installing librealsense with a method called RSUSB backend.
https://github.com/IntelRealSense/librealsense/wiki/Release-Notes#release-2400
The RSUSB installation method requires an internet connection to perform the installation but is not dependent on inux versions or kernel versions and does not need to be patched.  An RSUSB build is enabled by building from source code with CMake and adding the flag -DFORCE_RSUSB_BACKEND=true to the CMake build instruction.
https://github.com/IntelRealSense/librealsense/issues/6368#issuecomment-636316279

Hi @qingweihk   Do you require further assistance with this case, please?   Thanks!

Case clsoed due to no further comments received.


Restore Box.framework as a dependency

Result as a struct is awkward to use and having a public Box that isn’t a separate dependency will only lead to ambiguities.
So per discussion in that PR, we’ll restore Box to Box.framework and Result will be an enum once more.

Think I’ll call the attendant release “Hi, Haters.”

:clap:


SayıSaymaWeb App

URL
https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/try
Operating system
windows
More information about your system
No response
Description
SayıSayma Kodu
dotnet --info
No response

It doesn't seem a valid feedback. Closing the issue. Let us know if you have actual questions or comments about the tutorial.


Start/end season on a Saturday

Right now the delays mean that there is demand off of normal week-ending dates, which makes the visualization weird

Start: week ending October 5, 2024 (which includes Sep 29 and 30, error of 2 days)
End: week ending March 29, 2025 (which excludes Mar 30 and 31, error of 2 days in the other direction)

We use week starting (Sunday): 29 Sep 2024 to 23 Mar 2025


The comment has been removed?

The comments can be left as is instead of being deleted.

Hi @AlongWY! Are you referring to the « format » command?
If yes, it is not implemented, see #19, #10 and #20.
Currently, only dummy formatting is performed, removing comments

Yes! Thanks for your reply.


Packager Improvement

[x] add "install" action
[x] add views welcome when the root folder doesn't yet have any package.json. Alongside with it, add "init" package.json command.
[ ] add tutorial gif into the packager docs

Add packager webview for "Install Dependencies" in #46

Fix: trim updated version https://github.com/rifandani/vscode-ecosystem/pull/48

fix: link icon not displayed
docs: add tutorial gif & adjust docs

https://github.com/rifandani/vscode-ecosystem/pull/51


Add .gitkeep file (#2902)

Pull request opened by the merge tool on behalf of #2902

Pull request rejected by merge tool. The tests for this branch did not succeed.

Merged into branches iso3 in c20926fd3b314973ca12f47b6ccd70608059db4f


Raspiblitz-Screen black

The Rapsiblitz LCD stays black after final reboot. With ssh it's possible to check out the normal view and everything else.
I tried to update it again but the same Result came out.
It worked well with the old version.
Thanks!

Same issue for me after upgrading to v1.11 (fat). For me it's a black screen with blinking cursor in top corner. I know the screen is working because if I reflash the SDcard I can see proper output to the screen until the final reboot after its setup process.
I tried reloading the driver with LCD-show, also tried from cli: lcd
This is a RaspiBlitz running since 2019 without any issues.

Please disregard my post above, I had the screen settings incorrect.

Correct, activating the Touchscreen does result in a black screen currently. Should be deactivated until fixed.


New version: VeyonSolutions.Veyon version 4.7.0

ARP entries are correct.
Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 807
Microsoft Reviewers: Open in CodeFlow

@OfficialEsco Please wait for me to commit/fix issues. I have my exams these days so I am a little less online. After 15th December, I will be more available.

Pipelines having issues again?

Forgot to mention, I have added you as a collaborator on my fork so that you can fix small changes and don't have to open a fresh PR running YamlCreate from scratch.


Can't use at all

When I try to run carball from the command line im getting a typeerror: nonetype not subscriptable and when trying to run in python i get typerror: analyze_replay_file() got an unexpected keyword argument 'output_path'. Please let me know what i am doing wrong

downgraded to 0.6.36 and it was fixed


Spinner not displayed from when invoked from AngularJS HttpInterceptors

I'm trying to display the spinner on my AngularJS application whenever an $http call is made. For this I'm calling the stop and spin from inside a http interceptor. However the spinner doesn't get displayed certain times, at least not until the response comes back from the call.
I tried setting up debug points in the intercecptors and noticed that the spinner doesn't get displayed after the spin function is called, but is displayed once the response from the call is received, and then disappears again quickly.
Is there a specific way to handle usage which http interceptor?

Hi @Sandeep-G ,
Thanks for reporting. I'll try to produce this, and if it's working I'll add to Examples folder.

Hi @Sandeep-G ,
I've done my research and found this article really useful stating the issue:
https://uithought.wordpress.com/2016/06/13/angularjs-injecting-service-into-a-http-interceptor-circular-dependency/
You should use $injector since you are trying to inject service in $compile phase

I'd "really" recommend to not link your spinner with the HttpInterceptor because that would be the worst abstraction made in the history of Client-Side programming :wink: I'm just kidding with you :sweat_smile: , but that is a really bad since all background requests will trigger that spinner unless you made some kind of implementation to bypass this behavior.

I'd "really" recommend not to link your spinner with the HttpInterceptor because that would be the worst abstraction in the client-side world since all background requests will trigger that spinner unless you made some kind of implementation to bypass this behavior


Generating the actual files

Download the autorest files, and first stab at generating the code.
This will probably change buit is a stable place and to limit the change complexytixy i'm sending this PR.
rename the option, and moved the repo paths into the macros as those don't change .... often ... for now.
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[ ] C++ Guidelines
[ ] Doxygen docs
[ ] Unit tests
[ ] No unwanted commits/changes
[ ] Descriptive title/description

[ ] PR is single purpose
[ ] Related issue listed

[ ] Comments in source
[ ] No typos
[ ] Update changelog
[ ] Not work-in-progress
[ ] External references or docs updated
[ ] Self review of PR done
[ ] Any breaking changes?

API change check
API changes are not detected in this pull request.


[SVS-75] Support vs/core/extension/used telemetry in addition to vs/command/core

Fix double entry for browse commands

LGTM
Thanks.


Runtime Environment Settings

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Versions.
@angular/cli: 1.3.2
node: 7.8.0
os: darwin x64
Repro steps.
Not a failure.
The log given by the failure.
Not a failure
Desired functionality.
With modern DevOps and infrastructure automation, it is easy to create a new environment on the fly.  To better support this new world, it would be preferred to have one build package and provide the configuration at the point of deployment.  This is a more flexible model, which fits a more dynamic environment.
Imagine you are trying to reproduce an issue, but you need to have a copy of production to duplicate the issue, as it only shows up in production.  With modern infrastructure tools, it is easy to create a replica of production in the cloud and all the other services on the Internet.  With the current design the following steps are required to create a new environment:

Build new environment services
Create a new evironment.{env}.ts file from the new settings of step 1
Create a  build to incorporate the environment file from step 2
Deploy new build to environment

In the process above, you risk creating a build that differs from the one in production, which could cause issues and loss of time.  The new environment services are first, since you may get tokens and other settings from these services, which need to go into the environment file.  This design requires knowledge of all your environments to be known and static, which is fine in a small project, but it is inflexible in this modern era.
By using a runtime environment settings, we reduce the need to create a new environment file and build, which may lead to issues.  Here is an example flow for runtime environment settings:

Build environment services
Create a new environment settings file from the new settings of step 1
Deploy a copy of production's build package along with the new environment settings file into the new environment

In this example, the new environment has an exact copy of the build package, not a new build.  Runtime environment settings, allow for easy creation of new environments to meet current project needs.
Mention any other details that might be useful.
Nothing else to add.

This can be achieved currently without any modifications to the CLI.  One method would be to create an application configuration service (e.g., AppConfig) that can be injected throughout the application as necessary.  It would use the built-in CLI environment functionality for build time settings.  But it would also, upon application startup, fetch a configuration file (JSON or otherwise) that can be deployed with your application by adding the file as an asset.  This configuration file would contain any settings which would need to be run-time configurable.  The aforementioned service can abstract away the underlying mechanics of retrieving and normalizing the settings; and in addition, can optionally use the build time settings as defaults and defer to the run-time settings only if present.  This allows for simplified deployment if desired and also run-time flexibility if needed.
An additional CLI feature that could be useful in this scenario (and potentially others), would be to expand the environment option to allow the addition of assets per environment.  Allowing, for instance, a production environment to add a different set of files to the output than a development or staging environment.  However, with the defaulting concept as explained above, this not necessarily a requirement but simply opens up an additional implementation option for the desired use case.

my 2c, I swear by 12factors Config in my apps, and I totally like having run-time control from environment variables. With a client side app you don't actually have control of the runtime environments. In practice, I've found run time setting definition difficult in for ng apps, specifically the startup delay when your app has to go look up configuration. Usually, I set environment at build time and package unique dev, qa, and prod assets.  As a developer I try to ensure the only things that charge are configuration settings and include/exclude dev instrumentation.

Agree with this 1000%. In AngularJS apps, I've usually deployed them on PHP/Python/ASP.net MVC server with just one "backend" controller that served up a JS file populating a global environmentSettings constant (those actually settings would be stored in a JSON/XML file). I'm still trying to figure out the exact steps I'd take to do this in an Angular CLI project (as it's more complex than just including <script> tags). Also, it'd be nice to find a way to set environment variables at runtime without having any sort of back-end (just edit a JSON file), so SPA's could be deployed on an extremely lightweight HTTP server.

@jongunter

(as it's more complex than just including

Also you can use Webpack's dynamic imports to achieve that. Manually put settings.json with runtime settings next to your index.html after application is compiled. Than you can load this file from your application:
import('settings.json').then((settings) => /* store settings in some common place, like a service /* );`

You can call it from APP_INITIALIZER or on demand. The advantage of this approach is that you don't have to edit index.html and can load settings from any endpoint (like from API for example).
FWIW there are many relatively simple ways to achieve runtime environment setting.

Great stuff, @devoto13 and @tytskyi . I'll give it a try. Thanks for the suggestions!

My answer above allows for runtime settings without the need for a backend service, modifying index.html, or using webpack specific features.  The key is to use an angular service to request the JSON file either on startup or on first use via the angular http service.  In my projects I also add additional logic to the service to incorporate the CLI environment options, provide option defaults and helper functions, etc.

@clydin Would you mind giving more details on how you implement that?  I'm coming fresh from an AngularJS world and I don't know Angular 4 specifics as well as I probably should.
I understand how you would request a JSON file via Http. However, there seems to be an annoying race condition that I need to have these settings available before I can use them (for example, before I make an HTTP request to our API, or redirect to a specific URL for authentication). I can make the settings an Observable and chain it into every service method (via switchMap) that returns an observable, but that seems awfully repetitive and possibly error-prone.  If I were to use a route resolve at my root route for fetching this data, would that solve this problem?

Google for examples of using APP_INITIALIZER. It allows to execute some logic and return Promise. Angular application will not be initialized before this Promise is resolved.

@devoto13 I got this working on my app and it worked great until I brought in ngrx/effects. Seems as though all of my effects classes (and their dependencies) are eagerly instantiated before the APP_INITIALIZER promise resolves, meaning that the environment settings are not available to some of my services and effects.
I'll play around some more...maybe this an issue I should file with the ngrx team.

Regarding ngrx/effects running before APP_INITIALIZER, there's an issue open here (I don't think it's solved in v4 yet): https://github.com/ngrx/effects/issues/152

I think the workaround sounds quite reasonable/usable, closing this issue/feature request.

Heya all, just want to mention that this issue was essentially a duplicate of https://github.com/angular/angular-cli/issues/3855, and there's some more discussion there.

One of the problems I'm having is not being able to change the baseHref. I have 2+ environments, one of which needs to run at http://example.com/, and the other at http://another-example.com/subfolder. Using the APP_INITIALIZER you can do about anything. Except running under another baseHref. Having the ability to support multiple environments post-build would solve a lot of my problems.


osx 10.9.5 _openssl.so

I'm on osx 10.9.5, and after installing the requirements in virtualenv, I get this:
$ python openbazaard.py start
Traceback (most recent call last):
  File "openbazaard.py", line 27, in <module>
    from net.sslcontext import ChainedOpenSSLContextFactory
  File "OpenBazaar-Server/net/sslcontext.py", line 2, in <module>
    from OpenSSL import SSL
  File "OpenBazaar-Server/env/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import rand, crypto, SSL
  File "OpenBazaar-Server/env/lib/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>
    from OpenSSL._util import (
  File "OpenBazaar-Server/env/lib/python2.7/site-packages/OpenSSL/_util.py", line 6, in <module>
    from cryptography.hazmat.bindings.openssl.binding import Binding
  File "OpenBazaar-Server/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: dlopen(OpenBazaar-Server/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so, 2): Symbol not found: _BIO_new_CMS
  Referenced from: OpenBazaar-Server/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so
  Expected in: flat namespace
 in OpenBazaar-Server/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so

try
sudo apt-get install libssl-dev
pip install crytography

Oh you're on osx. Still try to install the cryptography package. @hoffmabc might know more.

I'm not sure what fixed the issue but I played around with virtualenv and reinstalled the packages over and over again. somehow I managed to get it working outside virtualenv, it still doesnt work if I activate virtualenv that was set up by following the install instruction.

Are you sure you were using virtualenv with Python 2?


Some questions

Is there a reason the homepage on crates.io is still @withoutboats's fork rather than this official version?

Why have there been no releases in the last 6 months? If I want to use failure, should I target the Git repo?

Related: #218 .

@withoutboats Maybe you could kindly answer the second question? :-)

@alexreg i'm preparing a release but i need to wait for @withoutboats to give me crates.io access.

@mitsuhiko Thanks for the update. Look forward to it, as failure is definitely the best-architected error lib for Rust around.


Getting an exception and progress stops

Description
It throws and error and stops all progress randomly
To Reproduce
I only noticed it with this week's of rust twitch drops.
Expected behavior
Should just keep progressing
Observed behavior
No further progress is done until app is restarted
Screenshots
No response
Logs
21:22:41: !!!required_minutes for "Kai Rust Hoodie" is 0 This could be due to a subscription requirement, tracked in Issue #101!!!
21:22:51: Watching: xQc
21:23:03: Progress: 54/60 - Rust, TrainwrecksTV AR
21:23:35: ERROR: Exception in task
21:23:35: Traceback (most recent call last):
21:23:35:   File "channel.py", line 385, in send_watch
21:23:35:   File "twitch.py", line 1575, in gql_request
21:23:35: exceptions.MinerException: GQL error: [{'message': 'PersistedQueryNotFound'}]
21:23:35:
21:23:35: The above exception was the direct cause of the following exception:
21:23:35:
21:23:35: Traceback (most recent call last):
21:23:35:   File "utils.py", line 139, in wrapper
21:23:35:   File "twitch.py", line 1049, in _watch_loop
21:23:35:   File "channel.py", line 389, in send_watch
21:23:35: exceptions.MinerException: Channel: xqc
OS
Windows 11
Build
.exe
Version/Commit
v16.dev.05fd654
Additional context
No response

Hello, I tried to fix the issue
This is what I did:
Modify the gql_request method to handle PersistedQueryNotFound error by retrying the query with a different format. This should resolve the issue of the miner stopping randomly due to this error.
I also created pull request: https://github.com/Windows200000/TwitchDropsMiner-updated/pull/186

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!
The fix provided by Latta AI might not be complete and it can serve as an inspiration.

This bug was fixed for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt fixing issues on your repository, you can block this account.

Good morning, I have the same error.
The program is on a remote PC, and not to go to it every time and not to restart, I made a small bat script that would conditionally start all the programs at once, and they would work for 1200 seconds, then closed, and after 5 seconds would start again and go into the tray
`@echo off
:start
start "Название программы 1" "C:\f\1\1.exe"
start "Название программы 2" "C:\f\2\2.exe"
start "Название программы 3" "C:\f\3\3.exe"
start "Название программы 4" "C:\f\4\4.exe"
start "Название программы 5" "C:\f\5\5.exe"
start "Название программы 6" "C:\f\6\6.exe"
start "Название программы 7" "C:\f\7\7.exe"
start "Название программы 8" "C:\f\8\8.exe"
start "Название программы 9" "C:\f\9\9.exe"
start "Название программы 10" "C:\f\10\10.exe"
start "Название программы 11" "C:\f\11\11.exe"
timeout /t 900 /nobreak >nul
taskkill /im "1.exe" /f
taskkill /im "2.exe" /f
taskkill /im "3.exe" /f
taskkill /im "4.exe" /f
taskkill /im "5.exe" /f
taskkill /im "6.exe" /f
taskkill /im "7.exe" /f
taskkill /im "8.exe" /f
taskkill /im "9.exe" /f
taskkill /im "10.exe" /f
taskkill /im "11.exe" /f
timeout /t 5 >nul
goto start`
Maybe such a temporary solution will help you too, use it to your heart's content. You can add many more folders to this code. It is very convenient in my opinion, than to go every time to a folder and click to launch the program

This fixed it for me. Just adding the error 'PersistedQueryNotFound' to the list of errors that force a retry is sufficient.
            for response_json in response_list:                 if "errors" in response_json:                     for error_dict in response_json["errors"]:                         if "message" in error_dict and error_dict["message"] in (                             # "service error",                             "service unavailable",                             "service timeout",                             "context deadline exceeded",                             "PersistedQueryNotFound",                         ):                             force_retry = True                             break                     else:                         logger.error(f"GQL error: {response_json['errors']}")                         # raise MinerException(f"GQL error: {response_json['errors']}")                         force_retry = True                 if force_retry:                     break

14:47:20: Progress: 180/180 - Albion Online, Horizons Week 3 - #4/7
14:47:38: Fatal error encountered:
14:47:38:
14:47:38: Traceback (most recent call last):
14:47:38:   File "main.py", line 160, in main
14:47:38:   File "twitch.py", line 772, in run
14:47:38:   File "twitch.py", line 828, in _run
14:47:38:   File "inventory.py", line 238, in claim
14:47:38:   File "inventory.py", line 139, in claim
14:47:38:   File "inventory.py", line 155, in _claim
14:47:38:   File "twitch.py", line 1579, in gql_request
14:47:38: exceptions.MinerException: GQL error: [{'message': 'service error', 'path': ['claimDropRewards']}]
14:47:38:
14:47:38: Exiting...
14:47:39:
14:47:39: Application Terminated.
14:47:39: Close the window to exit the application.

16:49:17: ERROR: Exception in task
16:49:17: Traceback (most recent call last):
16:49:17:   File "channel.py", line 385, in send_watch
16:49:17:   File "twitch.py", line 1546, in gql_request
16:49:17:   File "contextlib.py", line 210, in aenter
16:49:17:   File "twitch.py", line 1497, in request
16:49:17: exceptions.ExitRequest: Application was requested to exit
16:49:17:
16:49:17: The above exception was the direct cause of the following exception:
16:49:17:
16:49:17: Traceback (most recent call last):
16:49:17:   File "utils.py", line 139, in wrapper
16:49:17:   File "twitch.py", line 1049, in _watch_loop
16:49:17:   File "channel.py", line 389, in send_watch
16:49:17: exceptions.MinerException: Channel: thewhelps

up

Today there are literally only such mistakes. Although just a day ago everything was fine.

This fixed it for me. Just adding the error 'PersistedQueryNotFound' to the list of errors that force a retry is sufficient.
           for response_json in response_list:
                if "errors" in response_json:
                    for error_dict in response_json["errors"]:
                        if "message" in error_dict and error_dict["message"] in (
                            # "service error",
                            "service unavailable",
                            "service timeout",
                            "context deadline exceeded",
                            "PersistedQueryNotFound",
                        ):
                            force_retry = True
                            break
                    else:
                        logger.error(f"GQL error: {response_json['errors']}")
                        # raise MinerException(f"GQL error: {response_json['errors']}")
                        force_retry = True
                if force_retry:
                    break

That's a bad idea. The error means that the PersistedQuery is invalid, a thing that is generally constant and the program treats it as such. Doing this will at best just hide the problem, at worst alert twitch that this is a bot and prevent TDM from working all together/ban your account, because no user refreshes so many times a second.
You can search for this in this or DevilXD's repo for further detail.
I'm sorry I still don't have time to attend to this, there is still a lot of work with moving and starting uni next year.


SQL Migration readme needs to get updated for the public preview release.

An update to SQL Migration extension readme is needed.

Port request merged


[Question] is this supports .NET Core or UWP platform?

If no, any plan to support them? Thanks!

So far, I didn't plan to support it for something else than .net 4.5. But when the version is stable, perhaps I will try to work on it. I don't promise.

Thanks for your reply. Closing this question


enable pylint

how about enabling pylint ?
lets see what it's says about your coding.

If you want to see what pylint says you can run it locally. This isn't an active repository that requires a build, the project is static and directly aligned with the Flask Mega-Tutorial. There is no point in having this here.


[Feature] Topology Spread Constraints via Helm Chart Values

Is your feature request related to a problem? Please describe
Currently there are no options to spread ollama pods on cluster without setting resource requests/limits. Two pods could be allocated on same node.
Describe the solution you'd like
Adding topologySpreadConstraints options on helm chart values could solve that issue.
Describe alternatives you've considered
No response
Additional context
No response

Hi @Enorshionari
Thanks you for this feature request, we will update the chart to include topologySpreadConstraints.

Added in 0.51.0


Support Open Swift version 3

Does the roadmap include plans to support Swift 3 / Open Swift?

This project is in active use. There are no plans to fade into history along with Swift 2. :)
When Swift 3 becomes what we're using to build iOS and OS X apps, then there will be a Freddy compatible with Swift 3.


Update core/contracts digest to 7797750

This PR contains the following updates:

Package
Update
Change

core/contracts
digest
8392bb2 -> 7797750

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

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

This PR has been generated by Renovate Bot.

@balena-ci I self-certify!


Better support for DuckDB extensions

It would be great to be able to install/load DuckDB extensions as simply as:
---
sql:
  install: [json, fts, icu, spatial, vss]
  tables:
    taxis: nyc-taxis.parquet
---

(This means we'll need to extend the shape of the sql front matter option, see #1054)
related: https://github.com/observablehq/framework/issues/1007; #1508
Ref.: documentation for loading extensions in duckdb-wasm.

We should also enable autoloading, I guess. And we should copy the extension files to the local cache — currently even the parquet extension is loaded directly from the  extensions.duckdb.org domain (i.e. https://extensions.duckdb.org/v1.0.0/wasm_eh/parquet.duckdb_extension.wasm.

Yes @Fil this would be amazing - we mainly use this extension: https://github.com/duckdb/duckdb_vss
do you have a sense of what it would take to support this?
I’m free the next month to help with our team @onefact because I am giving a talk at the @duckdb conference:
https://duckdb.org/2024/08/15/duckcon5.html
I would love to help on this and demo it in August!

I recently added an example here
https://observablehq.observablehq.cloud/pangea/party/duckdb-spatial
it's not very rich feature-wise, but it shows that it is technically possible


Include local "modules" to react-app-rewired

hey,
I have 3 projects(separate repositories):
project-main: using react-app-rewired (typescript version)
project-module1: different react repo (also ts)
project-module2: different react repo (also ts)
project-module1 and project-module2 are linked with yarn to project-main and creates bundle inside of main project with ts compiler.
Current solution:

What I want to achieve:

Basically I need to get rid of part where modules compiles themselves to main project and instead that connect them somehow to main repository compiler in real time. So whenever there will be local code change in folders project-module1 or project-module2, change will be automatically reflected on localhost.
There is also idea connect project-main server to modules servers but I think it would be extremely complicated.
What do you think please?

@surfer19 Have you figured out a solution for the above? I'm currently looking at trying to find a way to achieve this same setup. So far I've tried:

removing the ModuleScopePlugin from config-override.js and using relative imports from project-main to project-module1
adding resolve.alias mappings for project-module1 to project-main config-override.js file

Any thoughts or suggestions around this would be awesome! I've even given some thought to trying out babel macros to preprocess project-module* and handle transpiling there but I fear that would lose out on HMR potentially and for my use-cases here I'd really love to keep that.

Well, you can go for yarn link solution but I don’t recommend it while it’s not easy maintainable dependency approach.
Try to search for micro-front end approach, if it fits for you. You could wrap every module to web component and include it in runtime. Doesn’t matter if module is written in angular, react or whatever. Even more Easy check framework for that. https://single-spa.js.org/

Idea of this approach is to create completely separate modules that doesn’t share data between themself. Passing data  down main-project->module is allowed.


Rename Attributes to CompressedAttributes.

Istio/Api renamed Attributes to CompressedAttributes.  Needs to change Mixer to use the new name.
Release note:

None

This change is

@qiwzhang: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
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 kubernetes/test-infra repository.

@qiwzhang: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/mixer-presubmit.sh
c293d140c7ae3f602ae3f43bc5c719b9321b4bf2
link
/test mixer-presubmit

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 kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

/retest

@qiwzhang: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/mixer-presubmit.sh
c293d140c7ae3f602ae3f43bc5c719b9321b4bf2
link
/test mixer-presubmit

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 kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm


Deploy examples with Github Pages

Menu to examples:
https://tokenscript.github.io/token-negotiator/examples/
Examples:
https://tokenscript.github.io/token-negotiator/examples/hotel-bogota/build/index.html
https://tokenscript.github.io/token-negotiator/examples/ticket-issuer/build/index.html


Various TCF fixes for vendor/purpose double toggle logic

Closes https://ethyca.atlassian.net/browse/PROD-1212
Closes https://github.com/ethyca/fides/issues/4190 since we no longer have a table view going on!
Description Of Changes
https://www.loom.com/share/2b5f25c3043b43d4b74b8cdfe989040d?sid=3f9eebd6-ea1d-4ece-8633-22999914e97e
This also brings our bundle size from 42.67 KB to 39.67 KB 😌
Code Changes

[x] Refactor DoubleToggleTable to instead be a RecordsList which all the tab components can share
[x] Make everyone use RecordsList
[x] Consent/legitimate interest radio toggle
[x] Split vendors into IAB list and other list
[x] Update toggle styling
[x] Remove parent toggles + all on/off buttons
[x] Update tests

Steps to Confirm

[ ] See video!

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
[x] Issue Requirements are Met
[x] Relevant Follow-Up Issues Created https://ethyca.atlassian.net/browse/PROD-1318
[ ] Update CHANGELOG.md

This is looking really polished now @allisonking thank you. One thing I'm seeing in the loom video, so it's hard to tell what is happening, there seems to be a jump in the scroll position when toggling between Consent and Legitimate Interest in the new master toggle. Is it possible to retain the scroll position so we don't see that jump?

This is looking really polished now @allisonking thank you. One thing I'm seeing in the loom video, so it's hard to tell what is happening, there seems to be a jump in the scroll position when toggling between Consent and Legitimate Interest in the new master toggle. Is it possible to retain the scroll position so we don't see that jump?

Good eye! Extremely conveniently, this got fixed in another PR by moving the Footer out of the ConsentContent, so it's looking good now
https://github.com/ethyca/fides/assets/24641006/c87a1c09-4823-4687-a1b0-a67861598bc6

Wooot nice work on the refactor to use a single component for the records, cutting down on the LOC!
This looks great, just want to be sure we've tested for any styling issues in ?fides_embed=true mode as well?

Just took a look! I think it looks okay, but let me know what you think
https://github.com/ethyca/fides/assets/24641006/44a04b8f-0d93-467d-abdb-e9440752bb91


issue in item : under sales and purchase transactions

item created for sales showing both sales and purchase transactions
item created for purchase showing both sales and purchase transactions

[x] so  if item created using sales should should show only for sales transactions
[x] and  if item created using purchase  should should show only for purchase transactions

issue closed


[SPARK-49436][Connect][SQL] Common interface for SQLContext

What changes were proposed in this pull request?
This PR adds an abstraction for SQLContext in the spark-api package. Both sides (Classic and Connect) maintain their own implementation.
Why are the changes needed?
To unify the API interface and make SQLContext available to Spark Connect.
Does this PR introduce any user-facing change?
Yes. Connect users are now able to call sparkSession.sqlContext and the APIs it provides.
How was this patch tested?
WIP: need one test to make sure the output schema of tables() is aligned with the corresponding API in SparkSession.
Was this patch authored or co-authored using generative AI tooling?
No.

A couple of small comments.

WIP: to be done in this PR after we agree on the interface implementation.

Do you mean the interface impl in the changes at this moment or are there other decisions?

I was considering testing APIs that have a new implementation, such as tables(), but now that is no longer needed - all APIs now use the existing implementation in SparkSession.

Merged to master.


[Distributed] move test file to more logical place

Move test file as requested in https://github.com/apple/swift/pull/62210

@swift-ci please smoke test and merge


KOGITO-4430 Remove native-image mojo usage in Quarkus ITs

This is a follow-up of https://github.com/kiegroup/kogito-runtimes/pull/1067 .
I somehow missed that you also had Quarkus ITs outside of the extension repository.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

@gsmet
Thanks for the PR, @r00ta already noticed the missing usages so he created this PR
https://github.com/kiegroup/kogito-runtimes/pull/1070
Can you please have a look and close this?
Thanks

Sure, the other PR looks good, sorry about the noise!


White Screen Issue with Dark Reader Enabled

Expected Behavior
The website should be displayed normally, albeit with a darkened appearance due to the Dark Reader extension. If the website is still not displaying correctly, the extension should be disabled to restore normal visibility and usability.
Actual Behavior
After selecting the "Singleplayer" option, the website displays a completely white screen (#DDECF5), making it impossible to view or interact with the content.
Steps to Reproduce

Install the Dark Reader extension.
Configure Dark Reader settings as desired.
Click on the "Singleplayer" button on the website.

Which browser are you using?
Chrome
If you selected "Other", please specify
/ Firefox
Additional Information
To resolve this issue, you can use one of the following methods:
Add the following  tag directly to the  section of your HTML:


Romstal - The scraper UI doesn't recognize "Cluj Napoca" as a city ("CLUJ - NAPOCA is not a city in Romania")

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Run scraper for "Romstal" Company
Check the location for the jobs: "Lucrator Comercial Cluj " and "Consilier Vanzari Showroom Cluj Napoca"

EXPECTED RESULTS:
The location for the jobs "Lucrator Comercial Cluj " and "Consilier Vanzari Showroom Cluj Napoca" is Cluj Napoca
ACTUAL RESULTS:

On scrapers.peviitor.ro the message "CLUJ - NAPOCA is not a city in Romania" is displayed
The scraper UI doesn't recognize "Cluj Napoca" as a city

Fixed!

Retesting
Run scraper and refresh

Data is now correct after fixing the bug for this job: "Lucrator Comercial Cluj "
The scraper has not returned data for this job:  "Consilier Vanzari Showroom Cluj Napoca".
Job is still displayed on the company's website


In cases where the pipeline uses the run keyword, is there any way to make the pipeline run on the cluster

Dear Team
I use the run keyword in the rule to build the pipeline, because my pipeline needs to add if-else judgment in many rules.In addition, run also contains python scripts，Now I want to deploy the pipeline to the could cluster, for convenience, I wrap the R environment and python environment of the process into a docker container, but the run keyword does not support docker and conda, is there any way to make the pipeline containing run on the cluster，Looking forward to your reply，thanks!

You shuold be able to use script instead


ValueError: transformers.spec is None

🐛 Bug
When importing torchmetrics, it imports transformers which doesn't have the__spec__ attribute and raises a ValueError: transformers.__spec__ is None
The problem have been raised here https://github.com/huggingface/transformers/issues/12904 and should be fixed here https://github.com/huggingface/transformers/pull/13321
Could we update torchmetrics requirements or fix this error ?
To Reproduce

import torchmetric

Expected behavior
Being able to import the module
Environment

PyTorch Version (e.g., 1.0): 1.9.0
transformers version : 4.9.2
OS (e.g., Linux): Archlinux 5.13.13
How you installed PyTorch (conda, pip, source): pip (poetry)
Python version: 3.9.6 (same problem with 3.7)

Additional context
Adding
except ValueError:
    return True

in torchmetrics/utilities/import.py
Makes everything works as usual (quick fix)
Thanks in advance,
Have a great day.

I'm also seeing the same error. I had to manually patch the transformers package according to https://github.com/huggingface/transformers/pull/13321

I can confirm that updating transformers to  4.10.2 solve the issue.


Very low compression speed of optimal mode on repetitive data

blzpack's "optimal" mode slows down ~ 1000 times when used for compressing repetitive data.
Posted as separate issue, because:

I found how to trigger the slowdown. Just use repetitive data, e.g., a long sequence of the same byte.

This can be used to construct denial-of-service attack on a system that uses BriefLZ's "optimal" mode.

Previous issue #11 was about unpredictable slowdown, this issue is about predictable and reliable slowdown on repetitive data, which can be used to attack systems depending on BriefLZ.
This chart shows compression speed of different modes of blzpack, using repetitive (mainly single byte repeat) data of varying sizes (data size shown on the x-axis):

The one dropping to the bottom is the "optimal" mode.
The main issues is a combination of these factors:

A user using blzpack may have no idea that this slowdown is possible.
There is a tendency among compressor users to use the strongest level available, in this case "optimal".
Slowdown is an order of 1000 times compared to expected speed, which is indistinguishable from being frozen (on sufficiently large data, within realistic waiting time). Hence the potential to use it as DOS attack.
Slowdown happens on particularly constructed data, which is different from normally used data. Therefore the user may be unaware of the issue after testing blzpack on his data.

Some of the the possible solutions:

Remove the "optimal" mode entirely.
Fix the "optimal" mode to remove slowdown (though it might become not optimal anymore).
Document the potential DOS-attack in the readme. (a half-measure, because users may still miss this warning).

This is not meant in any negative way, and otherwise I enjoy blzpack, so just I want to help making it safer for potential users. Thanks!

Sorry about the delay.
I largely agree with your concerns about the worst-case behavior of the optimal level. But I feel it provides both an interesting data point and a useful option for off-line compression, so I would like to keep it available.
In retrospect I could have made it a separate function in the API to distinguish it more.

Fix the "optimal" mode to remove slowdown (though it might become not optimal anymore).

This is essentially what level 9 does; it is the same algorithm, but limited to avoid the worst-case behavior.

This is not meant in any negative way, and otherwise I enjoy blzpack, so just I want to help making it safer for potential users. Thanks!

I am happy you raised the issue and welcome the discussion!


Implement Kafka Write Schema Transform

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

r: @Abacn

Run Java PreCommit

Thanks! Looking into it

Run Java PreCommit

oops I'll look at kafka issues

Run Java_Kafka_IO_Direct PreCommit

Looks like need to add the topic kafka-schema-transform here: https://github.com/apache/beam/blob/6c24637b451d762ba39f54a56a8a335283173307/.test-infra/kubernetes/kafka-cluster/05-kafka/configmap-config.yaml#L35

Looks like need to add the topic kafka-schema-transform here:
https://github.com/apache/beam/blob/6c24637b451d762ba39f54a56a8a335283173307/.test-infra/kubernetes/kafka-cluster/05-kafka/configmap-config.yaml#L35

never mind, that line is for performance test.

tests passed : )

the same kafka instance was being used for all tests - what happened is that the JSON tests were running against the same topic, and thus they were re-reading data that previous tests had written. For some reason the data was corrupted.


fix(cd): Fix commit message on CICO

@jarifibrahim Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2559 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2559 and visit http://localhost:5000 to access it.


Added polish.js in folder JavaScript

What does the program do ?
Write Hello World in English and Polish
In what programming language it is written?
JavaScript

This pull request do not contains files in specific folders. Please fix it and reopen


Do not execute update callbacks for empty changesets by default.

As per the discussion on #733, here is another attempt at #731.

Thanks @antipax!
Actually, we don't need to execute any of this at all if there are no changes:
https://github.com/antipax/ecto/blob/no-update-callbacks-for-empty-changesets/lib/ecto/repo/model.ex#L80-L109
So we can just wrap the whole block and rename force_callbacks to force. :)

Cool, done. Thanks for feedback @josevalim


Update subtron

can i update it ??

can i contribute it ??

Sure!

can i add DNS Lookup,Reverse DNS,Shared DNS,Whois Lookup,IP  Lookup, Reverse IP, TCP Port Scan. But in python??


Migration script: Deleted PQIRs shouldn't be visible on category page

Deleted PQIRs shouldn't be visible on category page, please have a look for screenshot below. This is from process 2048.

Checked process 2048 in qa-graph-poc. Removed PQIRs are not shown in the categories page. Works as expected.


analysis.setAnalysisRoots() ignores directory with a trailing slash

If I set up the analysis server with this call, it doesn't analyze anything or report back any errors for a file in the temp directory:
{"id":"2","method":"analysis.setAnalysisRoots","params":{"included":["/tmp/analyzer_testbedIkiSE4/"],"excluded":[]}}

If I remove the trailing slash, it works.

Now it seems there is a response:
  Invalid argument(s): Only absolute normalized paths are supported: C:\test\


A USER ERROR has occurred: Traversal by intervals was requested but some input files are not indexed.

Hi GATK Team,
First of all, thank you for providing this nice pipeline for the community. I have applied this pipeline to analyze my own WES data. However, the workflow failed due to the captioned error. The complete error information is
***********************************************************************

A USER ERROR has occurred: Traversal by intervals was requested but some input files are not indexed.
Please index all input files:

samtools index /cromwell-executions/ExomeGermlineSingleSample/d39350df-8128-4007-99ed-43a3414fa185/call-UnmappedBamToAlignedBam/UnmappedBamToAlignedBam/2e1bd164-dc05-413f-a118-6c39e80cd032/call-BaseRecalibrator/shard-7/inputs/98696239/H
HH.GRCh38DH.exome.aligned.duplicate_marked.sorted.bam

***********************************************************************

and
[error] WorkflowManagerActor Workflow d39350df-8128-4007-99ed-43a3414fa185 failed (during ExecutingWorkflowState): Job UnmappedBamToAlignedBam.BaseRecalibrator:7:1 exited with return code 2 which has not been declared as a valid return code. See 'continueOnReturnCode' runtime attribute for more details.

Given that these errrors suggested there are something wrong with BaseRecalibrator, I investigated the two result folders: call-SortSampleBam and call-BaseRecalibrator. What I have found is that those index files obtained from the SortSampleBam step had not been included in the inputs folder of the BaseRecalibrator step. This explains the error.
To further understand why those index files were lost, I dug into the .wdl files of this pipeline. I quickly identified a problematic part in the BamProcessing.wdl as follows:
# Generate Base Quality Score Recalibration (BQSR) model
task BaseRecalibrator {
  input {
    File input_bam
    String recalibration_report_filename
    Array[String] sequence_group_interval
...

As a benchmark, I looked back at another best-practice workflow that I have previously applied to my data successfully: gatk4-data-processing/processing-for-variant-discovery-gatk4.wdl. The codes of the same function, however, is:
# Generate Base Quality Score Recalibration (BQSR) model
task BaseRecalibrator {
  File input_bam
  File input_bam_index
  String recalibration_report_filename
  Array[String] sequence_group_interval

Do you see the difference? I highly suspect that it is the missing of File input_bam_index that leads to the error I have come across. I will test my hypothesis by adding this statement back to the code of BamProcessing.wdl, and see whether the same errors remain. Since I am a newbie to GATK, can anyone tell me whether or why the BaseRecalibrator should be coded in this way for exome data analysis?
Thanks,
Leon

Hi @LeonMaiShi ,
This question would be best answered on the GATK or WDL/Cromwell. Also include how you are running the workflow (locally or on google cloud platform) and what version of gatk your are using.
You can view document info on BaseRecalibrator in the Tool docs can be located here.
I spoke with some colleagues and the answer yes, the code that was written is intentional. The workflow was written to work on Google Cloud Platform which would allow cromwell and gatk can assume and access the index file. Your proposed solution should work, you may also want to add a line in the parameter_meta block of that task for the input_bam_index. Also other tasks would be need to be edited (applyrecal, haplotypecaller )
  parameter_meta {
    input_bam: {
      localization_optional: true
    }

Thanks

Hi @bshifaw ,
Many thanks for your reply and suggestions! I had tested the workflow locally using the latest GATK4. I had not realized that I should modify those .wdl files either besides the .inputs.json. After including the line of input_bam_index to those tasks that require it, I had the workflow finished properly.
Thanks,
Leon


How To Use The .splice() Array Method

Proposed title of article
How To Use The .splice() Array Method
Introduction paragraph (2-3 paragraphs):
What is the splice() method? It is a built-in method for JavaScript Array objects which enables one to update the content of an array by removing or replacing current components with new ones.
This method alters the original array and returns a new array with the removed or replaced elements.
This tutorial will focus on how the splice() method is used to remove, add and replace elements within an array.
Key takeaways:
After this article the learner will be able to:

Remove array elements with splice()
Add array elements using splice()
Remove and add elements without removing any elements using splice()

References:
N/A

seems like a helpful topic - lets please be sure it add value beyond what is in the official docs and that it does not overlap with any existing EngEd articles (if you haven't already). - approved @twish-254


Modularise script.js

You could look into possibly modularising out functions from your script file, it may not be necessary in small projects like this but you could look into separating a file that deals with the dom manipulation and another dealing with the requests and other maybe for helper functions. This may also be helpful in organising/writing your tests (which I saw you written some too! nice 😎), which I feel you were on the lines of doing as I saw you requiring "./kanye.js" and "./trump.js" in your test files?

We initially did it that way, but we had trouble calling functions from other files. Is it easy to do that? (We didn't find the solution.)


add pokeapi page

🎯 PokeApi #36
Closes #36
🗒 Checklist:

[y] I have mentioned the issue number in my Pull Request.
[y]  I have gone through rules of when PR will get merged.
[y] I have commented my code, particularly in hard-to-understand areas
[y] I have created a helpful and easy to understand README.md
[y] I have followed proper file structure.
[y] I have gone through CONTRIBUTING GUIDELINES.md.

Thank you for contributing!❤
Don't forget to show some love by ⭐ the repository!

Hey @fandok, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

@fandok We're thrilled to inform you that your pull request has been successfully merged into the APIverse🚀🎁
Your hard work, dedication, and expertise have made a significant impact on our project, and we couldn't be more grateful for your contributions.😇
Your code will now be a part of our growing ecosystem, helping developers worldwide to create exceptional APIs.❣🔥
Happy Coding! ✨
Will See you soon❣


Update README.md

I enhanced the original README file for the Restaurant App project to make it more engaging and informative. I clarified the educational intent of the project in the Purpose section, emphasizing its role as a learning platform. The Features section was updated to list key technologies and methodologies used in the project, each with brief descriptions to provide context. In the Setup section, I provided clear and concise instructions for setting up the project locally. The Usage section now includes suggestions for how users can experiment and learn through the project. I explained how to contribute in the Contribution section, outlining clear steps for potential contributors. Finally, I described the MIT License in the License section and linked to the license file for more details. Overall, these improvements aim to make the README more inviting and useful for contributors.

I enhanced the original README file for the Restaurant App project to make it more engaging and informative. I clarified the educational intent of the project in the Purpose section, emphasizing its role as a learning platform. The Features section was updated to list key technologies and methodologies used in the project, each with brief descriptions to provide context. In the Setup section, I provided clear and concise instructions for setting up the project locally. The Usage section now includes suggestions for how users can experiment and learn through the project. I explained how to contribute in the Contribution section, outlining clear steps for potential contributors. Finally, I described the MIT License in the License section and linked to the license file for more details. Overall, these improvements aim to make the README more inviting and useful for contributors.

Thank you for your contribution. Could you please add Contributors sections with contributed images?

I enhanced the original README file for the Restaurant App project to make it more engaging and informative. I clarified the educational intent of the project in the Purpose section, emphasizing its role as a learning platform. The Features section was updated to list key technologies and methodologies used in the project, each with brief descriptions to provide context. In the Setup section, I provided clear and concise instructions for setting up the project locally. The Usage section now includes suggestions for how users can experiment and learn through the project. I explained how to contribute in the Contribution section, outlining clear steps for potential contributors. Finally, I described the MIT License in the License section and linked to the license file for more details. Overall, these improvements aim to make the README more inviting and useful for contributors.

Thank you for your contribution. Could you please add Contributors sections with contributed images?

yes of course i will do that too

but how can i get contributed images ?

I enhanced the original README file for the Restaurant App project to make it more engaging and informative. I clarified the educational intent of the project in the Purpose section, emphasizing its role as a learning platform. The Features section was updated to list key technologies and methodologies used in the project, each with brief descriptions to provide context. In the Setup section, I provided clear and concise instructions for setting up the project locally. The Usage section now includes suggestions for how users can experiment and learn through the project. I explained how to contribute in the Contribution section, outlining clear steps for potential contributors. Finally, I described the MIT License in the License section and linked to the license file for more details. Overall, these improvements aim to make the README more inviting and useful for contributors.

Thank you for your contribution. Could you please add Contributors sections with contributed images?

yes of course i will do that too

but how can i get contributed images ?

From GitHub profile

https://contrib.rocks/preview?repo=bruno-keiko%2FRestaurant-app

https://contrib.rocks/preview?repo=bruno-keiko%2FRestaurant-app

hey i just did it have a look over that

Thank you for your contribution! If you liked this project don't forget to put star


Rework QSTask.

This supersedes #1603 and #1265.
Major surgery on QSTask, this makes QSTask a real model-only object, kills the deadlock issues between QSTaskController and QSTaskViewer and fixes the auto-show/hide behavior once and for all (at least it seems to behave right, now ;-)) :

It will show if there's a new task and the prefs says it (it was).
It won't show if during the time the task was created and the time the viewer reacts the task is done. This should fix #1040, and stop me wanting to bash it each time I open a new tab.
It won't try to auto-close the window if you open it manually and a task finishes (this fixes a never reported issue ;-)).

Known issues/discussion:

The first time it opens (set it to automatically open, quit and restart so you get the catalog startup scan), the view is messed up because it extends all the way to the right, which looks weird.
I've setup minimal code to correctly to handle subtasks, but there's no viewer suppport, and I'm not sure it's worth it. It was mostly present, but the only thing I can think that would use that is the catalog scanning, and maybe the update system.
I'm tempted to push up the HIDE_DELAY by a few millisec, so you can see the task completed. Right now it just closes before you can even see the task has ended (which looks the same to the user, but could be nicer).
I've killed the target/action mechanism it had for task cancellation, instead relying on a cancelBlock.
Documentation. I really want to do this one, but I need some more time.
This could break plugins that used tasks (there was a -(QSObject *)result method I've killed, plus the effects of the major surgery). But I don't think that many plugins did that, and I think the API as it is is sufficient for "general user information". But if you find I broke some plugin, I'll happily revise and provide at least a private runtime equivalent.
Maybe the preferences settings should be also specified in the Extras pref pane ? I think it's pretty hidden atm, IIRC by default it won't autoshow, and you can't change those settings unless you open it first and fiddle with the gear menu. #119 talks about that a little.

All in all, eyes are welcome so I'm breaking anything, and if you stop a thing I didn't point out in the list above, the

Rebased ! I've tried to fix the visual glitches but somewhat failed, the Delayed startup still bleeds through. That said, that Delayed startup thing is bound to disappear sometime in the Near Future™, so maybe it's reasonable to merge that so we can kiss goodbye to our deadlocks ?
Just noticed the showProgress thing. I'll fix that.

I’m pretty sure 823c06a7da3dc01f18803edb9543b5d0cfbb23ec explains a crash I’ve seen several times (when using this branch).  If you can’t reproduce, I’ll try to catch it in the debugger. (It always seems to happen in the background, so I can’t reproduce it at will.)
Crashed Thread:        6  Dispatch queue: com.apple.root.utility-qos

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000248c0d31bec0

VM Regions Near 0x248c0d31bec0:
    Memory Tag<PHONE_NUMBER>118752000-0000000118b52000 [ 4096K] r--/r-- SM=COW
-->
    MALLOC_NANO<PHONE_NUMBER>000000-0000600000400000 [ 4096K] rw-/rwx SM=COW

Application Specific Information:
objc_msgSend() selector name: retain

...

Thread 6 Crashed:: Dispatch queue: com.apple.root.utility-qos
0   libobjc.A.dylib               	0x00007fff8518f0dd objc_msgSend + 29
1   com.apple.Foundation          	0x00007fff8629d9ff NSKeyValueWillChange + 465
2   com.apple.Foundation          	0x00007fff86261801 -[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:] + 216
3   com.apple.Foundation          	0x00007fff863055be _NSSetDoubleValueAndNotify + 235
4   com.blacktree.QSCore          	0x000000010539e40c __42-[QSLibrarian scanCatalogIgnoringIndexes:]_block_invoke + 473
5   libdispatch.dylib             	0x00007fff88421323 _dispatch_call_block_and_release + 12
6   libdispatch.dylib             	0x00007fff8841cc13 _dispatch_client_callout + 8
7   libdispatch.dylib             	0x00007fff8841f88f _dispatch_root_queue_drain + 935
8   libdispatch.dylib             	0x00007fff8842dfe4 _dispatch_worker_thread3 + 91
9   libsystem_pthread.dylib       	0x00007fff8b8a6a9d _pthread_wqthread + 729
10  libsystem_pthread.dylib       	0x00007fff8b8a43dd start_wqthread + 13

Another one
Crashed Thread:        13  Dispatch queue: com.apple.root.utility-qos

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000018dd1d07bec0

VM Regions Near 0x18dd1d07bec0:
    WebKit Malloc<PHONE_NUMBER>3b3000-00000001193b4000 [    4K] ---/rwx SM=NUL
-->
    JS JIT generated code  0000365e7a400000-0000365e7a401000 [    4K] ---/rwx SM=NUL

Application Specific Information:
objc_msgSend() selector name: retain

Thread 0:: Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation      	0x00007fff8c6b6d80 __CFStrHashEightBit2 + 0
1   com.apple.CoreFoundation      	0x00007fff8c6a98a7 -[NSStringROMKeySet_MacOSX indexForCString:length:key:] + 71
2   com.apple.CoreFoundation      	0x00007fff8c588266 __CFStringCreateImmutableFunnel3 + 2438
3   com.apple.CoreFoundation      	0x00007fff8c5a0dcc CFStringCreateWithSubstring + 460
4   com.apple.CoreFoundation      	0x00007fff8c628c99 -[__NSCFString _newSubstringWithRange:zone:] + 25
5   com.apple.Foundation          	0x00007fff8e5fc8ef -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 226
6   com.apple.AppKit              	0x00007fff87ca9c46 -[NSBinder valueForBinding:resolveMarkersToPlaceholders:] + 164
7   com.apple.AppKit              	0x00007fff87d5f5ed -[NSProgressIndicatorBinder _updateObject:observedController:observedKeyPath:context:] + 101
8   com.apple.AppKit              	0x00007fff87d5f56e -[NSViewStateBinder _observeValueForKeyPath:ofObject:context:] + 126
9   com.apple.AppKit              	0x00007fff87ca1711 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 758
10  com.apple.AppKit              	0x00007fff87b640b6 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1065
11  com.apple.AppKit              	0x00007fff87d3ea0e -[NSNib _instantiateNibWithExternalNameTable:options:] + 677
12  com.apple.AppKit              	0x00007fff87d3e65e -[NSNib _instantiateWithOwner:options:topLevelObjects:] + 143
13  com.apple.AppKit              	0x00007fff87d3d957 -[NSViewController loadView] + 272
14  com.apple.AppKit              	0x00007fff87cbcf03 -[NSViewController _loadViewIfRequired] + 75
15  com.apple.AppKit              	0x00007fff87cbce6d -[NSViewController view] + 30
16  com.blacktree.Quicksilver     	0x000000010b3e2f01 __30-[QSTaskViewer updateTaskView]_block_invoke + 497 (QSTaskViewer.m:188)
17  libdispatch.dylib             	0x00007fff8babe323 _dispatch_call_block_and_release + 12
18  libdispatch.dylib             	0x00007fff8bab9c13 _dispatch_client_callout + 8
19  libdispatch.dylib             	0x00007fff8bac5cbf _dispatch_main_queue_callback_4CF + 861
20  com.apple.CoreFoundation      	0x00007fff8c63a3f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
21  com.apple.CoreFoundation      	0x00007fff8c5f568f __CFRunLoopRun + 2159
22  com.apple.CoreFoundation      	0x00007fff8c5f4bd8 CFRunLoopRunSpecific + 296
23  com.apple.HIToolbox           	0x00007fff8d77156f RunCurrentEventLoopInMode + 235
24  com.apple.HIToolbox           	0x00007fff8d7712ea ReceiveNextEventCommon + 431
25  com.apple.HIToolbox           	0x00007fff8d77112b _BlockUntilNextEventMatchingListInModeWithFilter + 71
26  com.apple.AppKit              	0x00007fff87bc99bb _DPSNextEvent + 978
27  com.apple.AppKit              	0x00007fff87bc8f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
28  com.apple.AppKit              	0x00007fff87bbebf3 -[NSApplication run] + 594
29  com.apple.AppKit              	0x00007fff87b3b354 NSApplicationMain + 1832
30  com.blacktree.Quicksilver     	0x000000010b3ef606 main + 198 (main.m:21)
31  libdyld.dylib                 	0x00007fff8f8145c9 start + 1

Just rebased that, I finally got rid of the lingering task views. I'll keep running this one for a few days to make sure the crash is also gone.
Note that I've tweaked the behavior of QSDockingWindow because of craziness (7719943e1b6c82641b8cb4a260755221d7580628, e6162e95a19fbbb3aae80b53dd057bc718c03c5f).  I tested the Clipboard & Shelf windows but didn't seem to bother, so they were working around the issue already.

Bug: it messes up the focus in Spaces. Also has a tendency to not hide itself sometimes.

OK, I’m running with this once again. I know I’ve looked over the code like 3 times, so I’ll just test for real-world functionality.
If it looks good, I’ll also update the NIB deployment targets (unless you want to add that here) and I’ll finally be able to work on adding “run after delay” and “run at time” commands to the task viewer. 😃

Three years later… Never give up hope!
The change log for this might take the rest of the day. :hurtrealbad:

If I missed anything in 8636c0e4ad4c579deeb323ea7b535ed4771dad84, feel free to push change log updates straight to master.

I think that covers it all.

wow, awesome work guys!


Recommendation: page UI design

There are two sections in the recommendation page. One is for the recommendation from Pollenize. Another is for the candidate recommendation.

This feature might need to be finished at the end of this week since the component of candidate recommendation will be moved there.

The requirement is described by the point 4 in page 1 of UpdatedSurveyJuly document.
As follows:
4.	For the final information page, we need two things: (1) You said ISSUE X was your top issue. This is where each of the major parties stands on this issue [include relevant issue information from Pollenize], and (2) Based on your postal code, these are the candidates that you can vote for in the election [give info on each candidate]. We would also like to have a standard text block where we can provide general voting instructions and a link to Elections Canada resources. Copy to come once we hear back from EC on a few specifics.


Fix ixpsrv example and modernize it

The example has been broken for quite a while, originally since commit c9664b1bccd3e65497502704fede2ad26423c12f back in 2010.
This fixes the example and cleans it up slightly.

Merged. Thanks.


Specify multiple Annotator implementations

Using e.g. Maven, I would like to specify two (or more) annotators to use. I naively assumed comma-separated Annotators would be accepted, such as:
<plugins>
    <plugin>
        <groupId>org.jsonschema2pojo</groupId>
        <artifactId>jsonschema2pojo-maven-plugin</artifactId>
        ...
        <configuration>
            ...
            <customAnnotator>org.skoskav.jsonschema.annotator.DeprecatedAnnotator,org.skoskav.jsonschema.annotator.NoLogAnnotator</customAnnotator>

Unfortunately it tries to find a single class with that name. I did find org.jsonschema2pojo.CompositeAnnotator which can combine multiple annotators, but it lacks a default constructor, making it clear that it's only intended for internal use.
Our current workaround is to create a combiner class for each possible combination of Annotator implementations (e.g. DeprecatedAndNoLogAnnotator), which becomes unmanageable at three different Annotators.
So unless I'm missing something, could I suggest supporting multiple Annotators?

Hi. This is what the CompositeAnnotator is for. You should use this constructor:
    public CompositeAnnotator(Annotator... annotators) {
        this.annotators = annotators;
    }

Alright, I went with:
public class DeprecationAndNoLogAnnotator
    extends CompositeAnnotator {

    public DeprecationAndNoLogAnnotator() {
        super(new DeprecationAnnotator(), new NoLogAnnotator());
    }
}

It does reduce the boiler-plate. I still would have preferred an array of Annotators in Maven's pom.xml, but I guess this is better than nothing.
Thanks!

+1 for supporting multiple annotators from maven without having to define boilerplate CompositeAnnotator subclass


Broken "Pronouns" setting not removed in the X Android App (Leftover from the pre-X era)

Describe the bug
The "Pronouns" setting in the Android app of X, probably a leftover from the pre-X era. It's think it was forgotten to be removed.
To Reproduce
Steps to reproduce the behavior:

Go to your profile on the X Android app
Click on "Edit profile"
Scroll down to "Pronouns"
See error, it doesn't work. It's broken.

Expected behavior
This shouldn't be there anymore... It's a leftover from the pre-X era. Elon Musk didn't like that feature. (Source: https://twitter.com/elonmusk/status/1286869404874088448?lang=en)
Screenshots

Environment
X app version: 10.13.1-release.0
Android 13

Sometimes I think it's intentional, BTW my pronouns are Bat/Man