Impossible to make Squirrel for Win32 on Linux

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.0.0-beta.75
Electron version
21.2.1
Operating system
Ubuntu 22.04 x86_64
Last known working Electron Forge version
No response
Expected behavior
According to the documentation, with a properly configured forge.config.js, it should be possible to call
npm run make --platform win32 --targets @electron-forge/maker-squirrel

on a Linux machine to create a Windows Installer provided Mono and Wine are installed on the Linux Machine.
Actual behavior
Upon running the command
npm run make --platform win32 --targets @electron-forge/maker-squirrel

I get the following output:
$ npm run make --platform win32 --targets @electron-forge/maker-squirrel
><EMAIL_ADDRESS>make
> electron-forge make win32 @electron-forge/maker-squirrel
[STARTED] Checking your system
[STARTED] Checking git exists
[STARTED] Checking node version
[STARTED] Checking packageManager version
[TITLE] Found<EMAIL_ADDRESS>[SUCCESS] Found<EMAIL_ADDRESS>[TITLE] Found<EMAIL_ADDRESS>[SUCCESS] Found<EMAIL_ADDRESS>[TITLE] Found<EMAIL_ADDRESS>[SUCCESS] Found<EMAIL_ADDRESS>[SUCCESS] Checking your system
- Resolving Forge Config
✔ Resolving Forge Config
We need to package your application before we can make it
- Preparing to Package Application
✔ Preparing to Package Application
- Packaging for linux:x64
- Preparing native dependencies
✔ Preparing native dependencies
✔ Packaging for x64 complete
- Packaging complete
✔ Packaging complete
Making for the following targets: deb
- Making for target: deb - On platform: linux - For arch: x64
✔ Making for target: deb - On platform: linux - For arch: x64

Steps to reproduce
Bash commands (including mono and wine installations). I take the assumption that electron and electron-forge are properly installed. Follow the Electron and Electron-Forge documentation if necessary.
sudo apt update
npm install
sudo apt-get install dpkg -y
sudo apt-get install fakeroot -y

# Requires `mono` and `wine
# Mono: https://www.mono-project.com/download/stable/#download-lin
sudo apt-get install -y apt-transport-https dirmngr gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/debian stable-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list

sudo apt update
sudo apt-get install libgdiplus -fy
sudo apt-get install mono-devel -y

# Wine:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt-get install wine64 wine32 -y

npm run make --platform win32 --targets @electron-forge/maker-squirrel

forge.config.js
module.exports = {
  packagerConfig: {
    icon: './src/dist/icon/icon'
  },
  rebuildConfig: {},
  makers: [
    {
      name: '@electron-forge/maker-squirrel',
      config: {
        name: 'myapp',
        setupIcon: './src/dist/icon/icon.ico',
      },
    },
    {
      name: '@electron-forge/maker-deb',
      config: {
        setupIcon: './src/dist/icon/icon.png',
        options: {
          maintainer: 'Nootaku',
          homepage: 'https://myapp.site',
          icon: './src/dist/icon/icon.png'
        }
      },
    },
  ],
  buildIdentifier: "v1.1.0"
};

Additional information
I know that the configuration for the squirrel maker might be wrong or problematic but since forge doesn't try to build it I have no output as to how I can improve it.
I also tried the procedure on a new VM to see if something in my environment might have affected the build but I come out with the same result.

Sorry I did not understand the documentation properly. The bash command was missing a --
npm run make -- --platform win32 --targets @electron-forge/maker-squirrel

adding it makes my script work properly


[Bug]: Geometry Matchers do Not Check for BBox

What happened?
The seven geometry matchers do not check for valid Bounding Boxes. Per the spec:

A GeoJSON object MAY have a member named "bbox" to include information on the coordinate range for its Geometries, Features, or FeatureCollections.
~ https://datatracker.ietf.org/doc/html/rfc7946#section-5

Both 2D and 3D bounding boxes should pass, and non-valid bounding boxes should throw an error.
The tests, code, and issues need to be revised for:

[x] toBePointGeometry
[x] toBeMultiPointGeometry
[x] toBeLineStringGeometry
[x] toBeMultiLineStringGeometry
[x] toBePolygonGeometry
[x] toBeMultiPolygonGeometry
[x] toBeGeometryCollection

Version
v1.0.0-beta.13
What operating system are you seeing the problem on?
Windows
What version of Node are you seeing the problem on?
16
Relevant log output
None

Are you able/willing to make the change? (It's ok if you're not!)
Yes
Code of Conduct

[X] I agree to follow this project's Code of Conduct

:tada: This issue has been resolved in version 1.0.0-beta.14 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Altered CurrencyPair to use a Money object rather than a currency+float

This needs some fixes but I was hoping it could serve as a suggestion/starting-point.
I Changed CurrencyPair to use a Money object rather than a currency/ratio pair. This way the ratio is treated as a big integer rather than a float.
So for instance, a CurrencyPair would be created as
$baseCurrency = new Currency('USD');
$counterCurrency = new Currency('CAD');
$conversionRatio = new Money(12943, $counterCurrency);

$pair = new CurrencyPair($baseCurrency, $conversionRatio);

I think this makes sense since the ratio really is Money (the amount of a currency for 1.0 units of another currency) and the value is most likely going to be multiplied against Money objects.
To get it working, several of the static values I changed would have to be changed to ints/strings rather than floats. Some code would need to be added to handle conversion from iso X.XXXX values to integers/strings.

"the ratio really is Money" -- sorry, but that is IMHO not a good way to look at things: The conversion ratio from CUR1 to CUR2 is a number and its unit is CUR2/CUR1. Basically, a big aspect of this library is to couple a value with a unit, and the conversion ratio is nothing different, only that the unit is a ratio of currencies and not a single currency here.
Notes:

Try to look at it from the other side and switch the argument that combines currency and value. That way, you could as well say that it should take a base amount, which is the cost of a single unit of the target currency.
Combined, you could supply both currencies and the conversion ratio using two Money objects. That approach would at least preserve some symmetry.
And yes, you can construct a conversion ratio from different parameters. However, I'd leave the current way as it is and use a static factory function instead, like the createFromIso() function there.

Thanks for the contribution, but I'm not really in favor of this change.

the ratio really is Money

This is just incorrect. As @UlrichEckhardt pointed out the ratio is just a number.

This PR, while not correct in the solution, is pointing at a weak point of the library itself. This is also noticed in #516. We should use strings or an object like Number everywhere to prevent float usage. I am closing this. Discussion should take place in #465.


Code example bug in the readme

The Readme contains a code error that should be fixed, the list does not have an attribute .value, removing this should solve the problem
(Python 3.10.11)

Thank you for pointing out the issue in the Readme. You're right; in Python, lists do not have an attribute named .value.
Your proposed solution correctly iterates through the get_projects_response list, and by using project.name, it accesses the name attribute of each TeamProjectReference object in the list.
Here's the corrected code for clarity:
get_projects_response: List[TeamProjectReference] = core_client.get_projects() index = 0  # Note: 'index' is declared but not used in the loop. for project in get_projects_response:     print(project.name)

In python 3.7.3 this code also fails further on
Line 23 tries to find the continuation_token attribute of that same list and that does not work either.

In python 3.7.3 this code also fails further on
Line 23 tries to find the continuation_token attribute of that same list and that does not work either.

can you provide more details?

In python 3.7.3 this code also fails further on
Line 23 tries to find the continuation_token attribute of that same list and that does not work either.

can you provide more details?

The object created with
get_projects_response = core_client.get_projects()
does not have a "continuation_token" property. Simply does not exist - it has been discussed elsewhere that this was probably quietly discontinued when the api switched from 6.x to 7.x, but I don't really know. I don't know what details I should provide - the sample code simply does not run as is and the documentation also gives no alternative way to achieve this, I don't personally need the functionality at the moment so I can't test anything further.

It appears that the issue you're encountering is related to changes in the Azure DevOps Services REST API, particularly the transition from version 6.x to 7.x. The continuation_token property, which was previously available in version 6.x, seems to have been deprecated or removed in the newer version.
As of now, the Azure DevOps Python API documentation might not have been updated to reflect this change, leading to the confusion you're experiencing. Unfortunately, without this continuation_token, it's not straightforward to implement pagination or fetch projects beyond the initial response limit set by the API.


SELECT @@IDENTITY ->SELECT @IDENTITY

===code
string sqlStr = "INSERT INTO TK_ContextQuestions(ContextContent,ContextTitle,PaperId,CreateDate,OrderNum) VALUES(@ContextContent,@ContextTitle,@PaperId,@CreateDate,@OrderNum) SELECT @@IDENTITY";
return DB.ExecuteScalar(sqlStr, tKContextQuestionsEntity);
===code
"SELECT @@IDENTITY"  was replaced "SELECT @IDENTITY" when runing code.why has words "sql=sql.Replace('@@','@')"  in the method 'CreateCommand' of the file 'Database.cs'

You need to encode @ symbols so use select @@@identity

@schotime thanks,but why replaced,if so,i will modify all exists sql  ,because  i use Npoco instead of sqlHelper。

Otherwise it assumes they are parameters.


Prism plugins

I cannot see how I can use your rehype-prism solution to pass in a prism config. Is this supported at this time?

It's not currently supported, but it may be possible to add an option to mdx-loader that allows prism configuration to be passed in! Would you like to do this as a PR?

I've just switched mdx-loader to use Prism (it was previously using the "refractor" package). This should make it easier to pass in prism-specific config.
What kind of config in particular do you want to pass in? Do you have an example of another project that allows you to pass config to prism?

I do not. Particularly I just wanted to use prism plugins

I've taken a look, but am not really sure how to approach this as the ones I've seen appear to assume that prism is loaded as a <script> tag.
Closing this for the moment, but happy to re-open it if you can provide more details on a possible solution.


Command output repr

I was using pymapdl and was annoyed at the printout from commands.  I would see things like this:
>>> mapdl.prep7()
'*** ANSYS - ENGINEERING ANALYSIS SYSTEM  RELEASE 2022 R1          22.1BETA ***\n DISTRIBUTED Ansys Mechanical Enterprise                       \n\n 00000000  VERSION=WINDOWS x64   09:29:10  APR 20, 2022 CP=      0.391\n\n                                                                               \n\n\n\n ** WARNING: PRE-RELEASE VERSION OF ANSYS 22.1BETA\n  ANSYS,INC TESTING IS NOT COMPLETE - CHECK RESULTS CAREFULLY **\n\n          ***** ANSYS ANALYSIS DEFINITION (PREP7) *****'
>

with this change, the printout now looks like this:
>>> mapdl.post1()
***** ROUTINE COMPLETED *****  CP =         0.469

 *** ANSYS - ENGINEERING ANALYSIS SYSTEM  RELEASE 2022 R1          22.1BETA ***
 DISTRIBUTED Ansys Mechanical Enterprise

 00000000  VERSION=WINDOWS x64   09:45:32  APR 20, 2022 CP=      0.484

 ** WARNING: PRE-RELEASE VERSION OF ANSYS 22.1BETA
  ANSYS,INC TESTING IS NOT COMPLETE - CHECK RESULTS CAREFULLY **

          ***** ANSYS RESULTS INTERPRETATION (POST1) *****

 *** NOTE ***                            CP =       0.484   TIME= 09:45:32
 Reading results into the database (SET command) will update the current
 displacement and force boundary conditions in the database with the
 values from the results file for that load set.  Note that any
 subsequent solutions will use these values unless action is taken to
 either SAVE the current values or not overwrite them (/EXIT,NOSAVE).
>>>

I also took the liberty to make some minor changes to the readme


SCLSTM

fix bugs in SCLSTM

@truthless11  It is a little bit strange to make USE_CUDA as a global variable. What about changing other function interfaces to parse it as an argument?


Merge master branch back into v0.12 branch

Unrelated isort problem. Awaiting upstream fix (they seem to be working on it).


RHOARDOC-1472: Separated Launcher and Portal attribute definitions into separate files

The attribute definitions are now in two separate files with no redefinitions taking place. This means that if an attribute is to be different in the Launcher and on the Portal, it should be defined in the document-attributes-launcher.adoc and document-attributes-portal.adoc files as opposed to the main document-attributes.adoc file. In that file, only truly common attributes go.
Which of the specific files shall be included is determined by the content of the environment.adoc file that only contains :launcher-docs-only: in this repository, and :portal-docs-only: downstream.
The specific files are included in the middle of the document-attributes.adoc file to make it possible to both derive specific attributes from common ones or vice versa (this is why #1208 didn't work).
I have updated the Contribution Guide section about the repository layout accordingly.
This is a rework of #1208, resolves RHOARDOC-1472.

This is a very good solution, nicely done!

Thank you, @Ladicek :)


missing libquickjsbn.dll in last  prebuilt binary releases

missing libquickjsbn.dll in last  prebuilt binary releases

@btx638 Sorry!
Because of the following change, there is no difference between libquickjs.dll and libquickjsbn.dll

always compile the bignum code. Added '--bignum' option to qjs.

More reference [quickjs-devel] Re: New release
I've modified the latest release dexcription.

thanks


[FLINK-20840][table-planner] Properly transpose projection to join

What is the purpose of the change

Currently the rule FlinkProjectJoinTransposeRule was added in logical optimize phase which uses volcano optimizer, the optimized plan is uncertain because it uses CBO model.

Brief change log

Add a PROJECT_REWRITE phase in hep optimizer which uses RBO model.

Verifying this change

The tests in TemporalJoinTest/LookupJoinTest cover this change

Does this pull request potentially affect one of the following parts:

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

Documentation

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

cc： @godfreyhe could you help review this PR?

cc： @godfreyhe could you help review this PR?

@flinkbot run azure

@flinkbot run azure


Probs About Time for a Slerp

It's been about a year since the database was updated and there are fun new vulkan things, probably worth a slerp.

@toji I think you did one recently, could you upload it?

Hm... I thought I already did? I'll look into that today.

Oh, you did! I tried to check here but I think I misread the date. It's just this repo needs a submodule update.

Done, and I'll run another slurp too.


python312Packages.brother: 4.1.0 -> 4.2.0

https://github.com/bieniu/brother/releases/tag/4.2.0
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 318234 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.brother
python311Packages.brother
python311Packages.brother.dist
python312Packages.brother
python312Packages.brother.dist


Why Object.isArray over native Array.isArray?

Object.isArray() implements a buggy version of "the same behaviour" as native Array.isArray().
Edit.
Originally I had stated: "Using instanceof cannot be trusted across contexts." with the assumption that the internal instanceOf() function was somehow a wrapper for foo instanceOf bar, my mistake.
Note that instanceof and the internall [[Class]] property are very different:
function Foo() {}
> undefined
new Foo()
> Foo
new Foo() instanceof Foo
> true
Object.prototype.toString.call( Foo )
> "[object Function]"

You're right of course... maybe that internal method name is a bit confusing... I can change it... :)
Object.isArray is simply an alias to Array.isArray... I just want it there for completeness as Sugar adds all the other is + type methods... you're of course free to use Array.isArray if you wish, and you would also be more correct to do so as it's in the ES5 spec... also Sugar will add Array.isArray if it is not available.

I just renamed instanceOf to isClass... that should be a bit clearer... thanks

Good call!

Going to close this issue out for now. Re-open if other issues arise.


Add Publishable.isGranted annotation option

Fixes #41

Looks good, thank you for this! I'll write up some tests before merging.


Symlinking into a directory does not work

Node version:
9.10.1
ShellJS version:
0.7.8
Operating system:
Tested on macOS 10.13.2 and Ubuntu 14.04.5 LTS
Description of the bug:
If the destination of the ln command is an existing directory, shelljs will fail stating that the Destination file exists.
However, according to tests in the mentioned environments, the correct behaviour would be to put a symlink with the source's name into that destination directory.
Example ShellJS command to reproduce the error:
The following commands fail, they should instead create a symlink to /some/source/path as ./path.
shelljs.ln('-s', '/some/source/path', '.')

or
shx ln -s /some/source/path .

Hmm, it works if I use:
shelljs.ln('-s', '/some/source/path', 'nameForLink');

It looks like ln should behave like cp: if the last argument is an existing-directory, then the link should be created inside that directory and the link name should default to the name of the thing it points to.
Concretely, it should look like this:
$ ln -s path/to/file.txt thisFolderExists
# there's a link named thisFolderExists/file.txt

$ ln -s path/to/file.txt thisDoesNotExist
# there's a link named 'thisDoesNotExist', which points to 'path/to/file.txt'

$ ln -s path/to/file.txt thisRegularFileExists
ln: failed to create symbolic link 'thisRegularFileExists': File exists

Yep, that's pretty much what I described.
One thing to mention though (which I figured out while implementing the attached pull request): The name in fact does not default to the source pointed to, but the basename you provided.
By Example:
Assume the following directory tree:
a/
└── b/
    └── c/

If we are in c/ and run ln -s . ../.., we'd expect to get a symlink named c, located inside a, pointing to c.
This is, in fact, not the case. The command will fail with ln: failed to create symbolic link '../../.': File exists.
That leads me to assume that the default name is actually the basename from the user-provided source path.

is actually the basename from the user-provided source path.

Seems reasonable. ln -s is kind of funky in that respect.


tls loader implementation

There is an implementation of LdrpHandleTlsData here :
http://www.nynaeve.net/Code/VistaImplicitTls.cpp
he said that he got it from reversing ntdll tls loader
It depends on some kernel routines but I don't have any knowledge in kernel programming
can you make a user mode copy of this code to be easy to use

No. There is already minimalistic alternative to LdrpHandleTlsData and I'm not going to rewrite 1400 LOC.

What do you mean with minimalistic  alternative ?
do you mean using LdrpHandleTlsData with its rva offest in ntdll ?

I mean this https://github.com/DarthTon/Blackbone/blob/master/src/BlackBone/ManualMap/Native/NtLoader.cpp#L183-L206

simpler and works in user mode !!
I have another question
someone said me that static tls doesn't initialize tls callbacks and I saw that blackbone supports tls callbacks with PROCESS_ATTACH/DETACH only
if this is true then my idea is to hook CreateThread and use THREAD_ATTACH reason on creating threads then wait for them and use THREAD_DETACH reason in thread termination
I know tls callbacks aren't so important but it's an idea

Yes that should work

now I'm trying to use this alternative , as I read it works only for DllMain and I'm responsible for the other threads so I had two ideas to make it work for all threads
the problem now is it doesn't work even for the DllMain
this is what I wrote :
`// tlsdir points to a valid IMAGE_TLS_DIRECTORY
uintptr_t sizeOfTlData = tlsdir->EndAddressOfRawData - tlsdir->StartAddressOfRawData;
unsigned char *tls_buffer = new unsigned char[sizeOfTlData];
memcpy(tls_buffer,&tlsdir->StartAddressOfRawData, sizeOfTlData);
cout << "copied tls buffer with size : 0x" << hex << sizeOfTlData << endl; // I get 0x8 , this is ok
	tlsdir->AddressOfIndex = 0; // in blackbone it's 0 so the data will be written in the start of  ThreadLocalStoragePointer however I can create and use another index which seems to be better

	_THREAD_BASIC_INFORMATION_T<DWORD64> tbi;
	NtQueryInformationThread(GetCurrentThread(), (THREADINFOCLASS)0, &tbi, sizeof(tbi), 0);
	uintptr_t offest = tbi.TebBaseAddress + 0x58; // ThreadLocalStoragePointer offest
	BOOL ress = WriteProcessMemory(GetCurrentProcess(), &offest, tls_buffer, sizeOfTlData, 0); // write the tls data into index 0 of ThreadLocalStoragePointer (start of it)
	if (!ress) cout << "failed with " << GetLastError() << endl;

	// executing tls callbacks , currently no callbacks

	PIMAGE_TLS_CALLBACK* callbacks = (PIMAGE_TLS_CALLBACK*)tlsdir->AddressOfCallBacks;
	if (*callbacks) {
		while (*callbacks)
		{
			(*callbacks)((void*)image, DLL_PROCESS_ATTACH, 0);
			callbacks++;
		}
	}`

this is the tls info from dumpbin :
Section contains the following TLS directory:
000000018004F000 Start of raw data
000000018004F008 End of raw data
0000000180049250 Address of index
0000000180033400 Address of callbacks
               0 Size of zero fill
        00300000 Characteristics
                   4 byte align

TLS Callbacks

      Address
      ----------------
<PHONE_NUMBER>000000

my first idea is to use TlsAlloc to create an index and TlsSetValue to set value (tls raw data) for the index
the assign IMAGE_TLS_DIRECTORY.AddressOfIndex to the address of new index
thus the module will receive the data was set in the index


tmux: fix cross-compilation

Motivation for this change
Fixes cross-compilation using a patch that has been applied to master upstream.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @tobias-hammerschmidt @fpletz @marsam

Result of nixpkgs-review pr 120448 at 41d646f7 run on aarch64-linux 1

6 packages built successfully:

byobu
germinal
overmind
tmux
tmux-cssh
wemux

@ofborg build pkgsCross.ppc64.tmux
Tested building pkgsCross.ppc64.tmux locally, before:
checking for setenv... yes
checking for setproctitle... no
checking for strcasestr... yes
checking for strlcat... no
checking for strlcpy... no
checking for strndup... yes
checking for strsep... yes
checking for strtonum... no
checking for working strnlen... yes
checking for working reallocarray... configure: error: in `/build/source':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
builder for '/nix/store/y9crqb3vij8sk2x4fji4z4l2d045w9ki-tmux-3.2-powerpc64-unknown-linux-gnu.drv' failed with exit code 1
error: build of '/nix/store/y9crqb3vij8sk2x4fji4z4l2d045w9ki-tmux-3.2-powerpc64-unknown-linux-gnu.drv' on 'ssh://whitby' failed: builder for '/nix/store/y9crqb3vij8sk2x4fji4z4l2d045w9ki-tmux-3.2-powerpc64-unknown-linux-gnu.drv' failed with exit code 1
builder for '/nix/store/y9crqb3vij8sk2x4fji4z4l2d045w9ki-tmux-3.2-powerpc64-unknown-linux-gnu.drv' failed with exit code 1
error: build of '/nix/store/y9crqb3vij8sk2x4fji4z4l2d045w9ki-tmux-3.2-powerpc64-unknown-linux-gnu.drv' failed

After:
/nix/store/zn7adyb98w5slcpfrr3gdazsb15l331c-tmux-3.2-powerpc64-unknown-linux-gnu

LG!


refactor(electric): Refactor event processing in Replication.Postgres.MigrationConsumer

In trying to understand the logic in the code, I found it helpful to refactor it to use a more functional programming style. There's no change in behaviour.
I recommend reviewing this PR one commit at a time.

@alco agreed - my version was hard to follow. would disagree with the assertion that your version is more "functional" but it's definitely more readable! thanks

It's more functional in the sense that state updates are more obvious in the new version. Whereas before you had to track both migrations and state arguments down every clause of the process_events() function to see if any of them is updated there, in the new version there's less confusion about that.


Tracking exceptions which are suppressed by middleware(process_exception)

Environment
Q: How do you use Sentry?
A: Sentry SaaS
Q: Which SDK and version?
A: Python SDK v.1.5.0
How we setup Sentry:
if SENTRY_DSN:
    import sentry_sdk
    from sentry_sdk.integrations.celery import CeleryIntegration
    from sentry_sdk.integrations.django import DjangoIntegration
    from sentry_sdk.integrations.redis import RedisIntegration

    sentry_sdk.init(
        dsn=SENTRY_DSN,
        integrations=[DjangoIntegration(), CeleryIntegration(), RedisIntegration()],
        traces_sample_rate=0.0,
        send_default_pii=True,
    )

Hi there,
We are using Django 3.2 and package django-concurrency and the package has raising an error and there is the middleware ConcurrencyMiddleware which has process_exception method and handle it accordingly.
From my point of it should not be tracked into the system because there is a process_exception that returns actually view. But I can be wrong I would like to hear the correct answer about it.
I assumed that I might have the wrong opinion about middleware and I tried to find how to suppress it but there is only documentation "Error Handling Middleware" for legacy library raven and no information for supported library.

Hey @DmytroLitvinov, not sure I understand fully. Do you want the error to be suppressed in sentry or be visible?

Hi @sl0thentr0py ,
I suppose it should be suppressed because ConcurrencyMiddleware  handles exception and return HttpResponse. But I am not sure so I opened issue here.

We cannot assume across all middlewares if this is desirable behavior, so we just react to the django signal if the middleware sends it. This is the decision of the middleware and we respect it.
If you still want to suppress the exception as an end-user, you can always use the ignore_errors config parameter.
sentry_sdk.init(
        dsn=SENTRY_DSN,
        integrations=[DjangoIntegration(), CeleryIntegration(), RedisIntegration()],
        traces_sample_rate=0.0,
        send_default_pii=True,
        ignore_errors=[RecordModifiedError]
    )

Ohh..
Thank you for your answer, @sl0thentr0py .
I already answered my question where there is a mention about got_request_exception with comment about it:
# Make sure the exception signal is fired for Sentry
got_request_exception.send(sender=self, request=request)


Rename the First Document Name in Grid View (Medium) Cause Another Files to shift

Description
Rename the first document's name in Grid View (Medium) will cause another documents to get minimized.
Steps To Reproduce

Surf to a folder which consists more than 1 document
Change Layout to Grid View
Click on rename (F2) on the very first document
See error

Expected behavior
Another document(s) should not get minimized.
Files Version
v<IP_ADDRESS>
Windows Version
Windows 10 21H1 19043.1151
Relevant Assets
https://user-images.githubusercontent.com/69080584/127991805-1f05117d-fee5-432f-a18b-1d9f070eb5b9.mp4

This issue should be resolved with #5674.


Fix CSV/TSV saving to use temp directory

Codecov Report

Merging #117 (f6ee0c3) into dev (5e3ddbc) will increase coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##              dev     #117      +/-   ##
==========================================
+ Coverage   79.52%   79.64%   +0.12%
==========================================
  Files          25       25
  Lines        1309     1307       -2
  Branches      261      257       -4
==========================================
  Hits         1041     1041
+ Misses        235      234       -1
+ Partials       33       32       -1

Impacted Files
Coverage Δ

api/resources/summarization_gene_expression.py
41.94% <0.00%> (+0.27%)
:arrow_up:

Continue to review full report at Codecov.

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


Images are corrupt?

Hi, When downloading PI 3A the image and then trying to write it, I get errors. I've downloaded it multiple time with the same issue.

I've tried Etcher, Rufus etc. Using Zzip for Extracting the img shows an corruption error too.
Cheers,
Andy

same here with raspberrypi0w-sdcard.img.xz

You have to extract the file with 7-zip its still compress as the Xz extension are ind the end.
When its extracted and only.img you can flash this

Looks like an issue with Balena Etcher. See https://github.com/balena-io/etcher/issues/4064, https://github.com/balena-io/etcher/issues/4258. Seems like after uncompressing, it might work.
You can also use alternate softwares such as Raspberry Pi Imager also in the meantime.

Yes, you're correct. Raspberry Pi manager works! THank you.
Should the pi3A+ image work with a pi3B+?

RPi 3 B+ is not supported. See #140


show-demo-components.sh is missing

In this article there is a step to run show-demo-components.sh, however, I see no trace of this file anywhere here. Expectation is that the file should be present or documentation updated with other steps.

Hi @iotarchitect , taking a look at the above issue

Removed command. Docs should be updated by tomorrow. Closing the issue as resolved.


feat(DATAHUB-283): Docs with new ci styles

This PR applies the new ci styles to the documentation page

Thx!

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


NullBar ?

It would be useful to have a bar that does nothing at all.
Rational - I have a bunch of functions that can take a bar, and it would be nice to not have to check for None -
def myfunc(bar=Nullbar()):
    with bar:
         bar.update()

or
def myfunc(bar=None):
    bar = bar or Nullbar()
    with bar:
         bar.update()

I see how this could be useful indeed, I've just added it to the current development release :)

Awesome, cheers :)


Provide a "Run current line" feature

From<EMAIL_ADDRESS>on 2013-12-07T07:32:28Z
Hello Spyder Devs
I often want to simply run the current line (i.e. the line under my cursor), and its a little cumbersome to first highlight it and then execute "Run Selection"
Thanks for your hardwork.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1670

From<EMAIL_ADDRESS>on 2014-01-30T09:41:51Z
agreed it would be very useful
thks

From ccordoba12 on 2013-12-11T17:37:05Z
I also need this sometimes. Maybe we could make F9 to do this by default.
Status: Accepted
Labels: Cat-Editor MS-v2.3.1

From<EMAIL_ADDRESS>on 2014-03-11T06:26:44Z
I couldn't concur more. Simple things like this really improve UX.

From<EMAIL_ADDRESS>on 2014-03-11T21:34:28Z
It might be easy... Spyder already has a method to get the current line.
See: https://bitbucket.org/spyder-ide/spyderlib/pull-request/28/issue-1670-run-current-line-if-no/diff

From<EMAIL_ADDRESS>on 2014-03-20T03:37:44Z
Definitely +1. To avoid being a totally useless comment, I'd vote not to change the behavior for F9 (run selection), but rather add a new hotkey (F10 or whatever) for the functionality. Or F9 handler could check if a global option was set to change F9 from default behavior i.e. :
# If no selection, get the text at the line where the text cursor is
if (OPTIONS.F9_RUN_CURRENT_LINE):
text = self.get_current_line()
else:
# do whatever you currently do

From<EMAIL_ADDRESS>on 2014-03-12T09:16:35Z
Hmm after some sleep, I realized that I'm just not completely comfortable with modifying get_selection_as_executable_code to let it return code that's not actually from a selection.
What would you suggest?

From contrebasse on 2014-03-13T17:33:56Z
Blind suggestion: have the function select the line before execution.

From<EMAIL_ADDRESS>on 2014-04-20T04:57:32Z
Hi there,
The amended source code works good. Thank you so much. May I suggest something ?
When we press F9, the cursor place changes and go in the console window, which forces us to click again in the editor to use F9 again.
Maybe it would be good if the cursor stay in the editor and go in the next line, after the one executed.
Thank you

From ccordoba12 on 2014-08-06T11:00:06Z
There are two things here:

Ctrl+Enter is used to evaluate cells (similar Matlab cells; they are created with comments of the form #%%), so this won't work.

We can extend F9 behavior to evaluate the current line (when nothing is selected) but only that. Before Spyder 2.2 F9 evaluated all lines above and below the current cursor, until a blank line was found. That behavior is not going to come back (because for that we introduced cells).

I'll try to solve this for 2.3.1

From<EMAIL_ADDRESS>on 2014-08-06T08:13:42Z
Hi all,
Is the feature already built in Spyder? How can I get the run-line-without-selection to work?
Totally agree with the #9 comment. Please implement it in such a way that after completion the cursor remains in the editor.
Alternative suggestion- Ctrl+Enter can be used to run a line when nothing is selected. And this wouldn't interfere with the current behavior of F9. Ctrl+Enter is the hotkey in most editors that have this feature.
Thanks.

From ccordoba12 on 2014-08-17T09:46:55Z
Ok, now F9 runs the current line if nothing is selected. Besides, focus remains on the Editor when running lines, selections or cells.

From ccordoba12 on 2014-08-17T09:44:26Z
This issue was closed by revision 5f4e47ead5cc .
Status: Fixed

From ccordoba12 on 2014-08-06T11:02:33Z
I forgot to mention that staying in the Editor is part of a pull request I hope to merge soon.

Why can I not associate CTRL + ENTER for this feature?

Ctrl+Enter is reserved to run cells, as in the Jupyter notebook.

That is hard coded? Why not allow it to be bound to other things if it is not a cell. Seems to me this would make ctrl+enter more consistent, no?

For consistency with similar platforms, F9 must skip to the next line if no text is selected.
An option to overload the ctrl+enter would be nice too. That way Jupyter users keep their consistency and RStudio users get their way.

F9 will moves to the next line in our next release (Spyder 3.0). About Ctrl+Enter, please open a new issue about it, this one is closed :-)

New issue is thus made: https://github.com/spyder-ide/spyder/issues/3395

ctrl+Enter shortcut wouldbe better for this.

ctrl+Enter is better for this .. much much better than F9.

It's better for Rstudio people because they are accustomed to it :-)
But we're going to provide an Rstudio shortcut set in Spyder 3.1.


Add Endpoint resource

Add Endpoint resource
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/retest

/lgtm

AWESOME! Made my week!


if there is keyfile , plz support<EMAIL_ADDRESS>with out -credential

i want use it write ps script
is there any way ,if i have  keyfile ,Just  not use -credential, uesr name is enough .

If you want to use a username and keyfile, you still need to use -credential , but you leave your password variable empty. Here are the commands.
$username="root"
$nopasswd = new-object System.Security.SecureString
$credential = New-Object System.Management.Automation.PSCredential ($username,$nopasswd)
New-SSHSession -computername <IP/Hostname> -credential $credential -Keyfile

That is a very very bad practice to have keys without a passphrase to protect them
Sent from my iPhone

On May 1, 2020, at 10:12 AM, barky11<EMAIL_ADDRESS>wrote:

If you want to use a username and keyfile, you still need to use -credential , but you leave your password variable empty. Here are the commands.
$username="root"
$nopasswd = new-object System.Security.SecureString
$credential = New-Object System.Management.Automation.PSCredential ($username,$nopasswd)
New-SSHSession -computername <IP/Hostname> -credential $credential -Keyfile
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@darkoperator 100% agree with you, but I think it should be up to the user to enforce this.
We don't always create/control the key unfortunately and it would be useful if this use case would be supported, perhaps with a notice in the documentation that says "this is not advised".

Yep should document it better, the bad practice of no passphrase is used a lot for keys, even for root. Seen it abused a lot in recent ransomware attacks and some crypto miner malware campaigns, did not thought it was so widespread.


Update spec.md

updated Typescript Version and Release date

Fixes #

This is a generated file, and the spec hasn't actually changed since 1.8. @DanielRosenwasser started an update but I don't believe it's done yet.

ok @sandersn


Port the application to mobile platforms

There are almost no universal applications for working with remote servers on iOS/Android, and those that do exist operate exclusively on a subscription basis, without the option of a one-time purchase, such as Termius.

I can see some challenges for a mobile application implementation. Mainly the dependency on other command-line programs as xpipe doesn't ship with any libraries for ssh or others. And apps tend to be sandboxed, which would prevent calling any other apps/executables
The sandboxing is even a problem with some package managers like flatpak, it's impossible to create an xpipe flatpak as that can't interact with other commandline tools.
I also think that it's pretty difficult to create a mobile application if it was not originally envisioned as one. You would have to change so many things, at that point it is basically an unrelated application to the original. In theory, the UI framework JavaFX supports mobile applications though.
I can leave this issue open for the future, but don't expect things to happen very soon as that will take a lot of work. First I have to evaluate how restrictive the sandboxing actually is and whether there are solutions to it.

I'll just note that with iOS, it is against the App Store guidelines for apps to retrieve code on-demand, so any loading of libraries must be done through them being included in the app package.
That said, I am very interested in any competitive, paid or no, alternative to Termius as they are overpriced and do not take customer feedback seriously at all, and other apps such as Royal TS or Devolutions are too bulky.

I'm aware of the many mobile limitations, that is why there were no updates to this issue. As of right now I don't have the capabilities to implement a mobile build. I also have never done mobile development. Maybe in the future if operations are expanded there might be resources for that.

Yeah, honestly I think their prices should be cut in half. $5 for pro, $10 for team. Or $10 for pro and $10 for team under a certain number. Or a package like 1pass has for small teams. $20/user/mo is hard to justify, even in a several hundred million dollar company, especially when I can get the entire Microsoft 365 suite with Business Premium including Intune, Defender, Entra P1 and more for $18.50/user/mo…

When people talk about mobile support, do you really mean like smartphones or more like various larger tablets? Maybe that's just me, but I couldn't imagine using any kind of SSH client on a small smartphone screen with a touchscreen.

I see. The issue is that a mobile lap is a big challenge to implement. The only thing that I can remotely offer to mobile users is to try out https://github.com/xpipe-io/xpipe-webtop from the browser. But that requires setup on your own servers and a proper authentication setup to reach it remotely from where you host it.


No recoil and No viewmodel bobbing

No recoil
No viewmodel bobbing
No spread
Im new cs go cheater guys. If i wrote wrong sorry.

？
？
？

This sounds like:
Feature Request:

Player teleport
Instant kill
Respawn
Noclip
Crash the server

@thomas0aotian i meant 3 suggestions for cheat:
No recoil
No viewmodel bobbing
No spread

no recoil is already implemented, just only for the aimbot, you probably mean an RCS (recoil control script).
no spread is not possible because the server uses a cryptographically secure seed when calculating spread so we cannot calculate and compensate for it.


Can't Download geoffd/hhvm-nginx-mongo-base from Kitematci

Hi,
I am trying to use geoffd/hhvm-nginx-mongo-base, but I get this error:
Tag latest not found in repository geoffd/hhvm-nginx-mongo-base
Any idea how to fix?

@pcruse3 it seems like it's a problem with the repo ( wasn't tagged with latest (https://hub.docker.com/r/geoffd/hhvm-nginx-mongo-base/tags/ ) )
You can try to select the particular tag through kitematic (latest being 1.0.1)
Hope this helps.
Thanks


Add token and cluster_ca_cert

Output for token and cluster_ca_cert so it can be used in kubernetes-related providers

Hi @ulm0 you can already get the token with another provider in kubeconfig:
kubeconfig[0]["token"]
Here is an example of how we do it:
https://github.com/particuleio/tkap/blob/36ad7bd2a4db0c697e735f5a6f3b2d5f0761e5f7/terraform/live/demo-s3/fr-par/clusters/full/kapsule-addons/main.tf#L11

@ulm0 doesn't this solve your issue ?

/close


SchemaComparison failure in Liquibase

When using version 2.0.0 of the plugin and running it, I get the following:
Command execution error: liquibase.diff.output.DiffOutputControl.(ZZZ[Lliquibase/diff/compare/CompareControl$SchemaComparison;)V
When using version 2.0.0.RC4 of the plugin, it works.
I can see that there has been changes made in the Liquibase dependencies. I am having little luck coaxing any relevant info out of gradle.

You're using an old version of liquibase: http://grails-plugins.github.io/grails-database-migration/2.0.x/index.html#gettingStarted
compile 'org.liquibase:liquibase-core:3.5.3'


May the bot send message by listening updates of other website?

Hi, I want to implement when a website homepage article is updated, the bot can send information to a room by it self. But I have no idea about how to let the bot send message without a event listener, so what should I do?

I have the same problem, could you explain to me how to do it?
Thanks!


Test blade view without script tags, etc.

Using 0.6.4:
Documentation states: @include('genealabs-laravel-mixpanel::partials.mixpanel') - putting this in echos out the script file found in public/genealabs-laravel-mixpanel/mixpanel.js.  Previously this included script tags so was all that was needed on the page.  Now these need to be wrapped in tags and the documentation updated to reflect that.
It looks like this change was the culprit and also removed the script file using the proper init command.

Yea, 0.6.6 is a temp. patch until I can thoroughly test this. Working on it now.

This should now be fixed again in 0.6.7. Let me know if you still have issues. Tested auto-tracking and confirmed it working. :)


Better color vision deficiency simulation

We have an implementation of what seems to be the most popular dichromat simulation, but I've come to think that it's a pretty bad simulation. Basically, it increases the distance between some colors, sometimes by quite a lot, which can cause distinguishable_colors to do a sub-optimal job. Here's a demonstration:
http://nbviewer.ipython.org/gist/dcjones/a81401479be97230d1e7
If someone knows of a better approach, please let me know!

I'd be interested to hear what you think about Machado, Oliveira, & Fernandes (2009), available here. Their model is incredibly simple to implement (they provide precomputed 3x3 matrices that send RGB -> simulated anomalous RGB), and they model both dichromats and anomalous trichromats. (Brettel only models the former, even though the latter make up ~70% of the CVD population.)
Two things I wonder about: (1) to compute the matrices they provide, they needed some estimate of the spectral distribution of their RGB primaries, and I have no idea what they used for this (colorimetric XYZ coordinates aren't enough, you actually need the full spectrum... which of course will vary even between calibrated sRGB monitors...), and (2) as far as I can tell from their math, these matrices should be applied in a linear-light space (so gamma-corrected RGB), but they're also pretty explicit in the paper that they just apply them directly in regular sRGB space ("The simulation operator...only requires one matrix operation per pixel"). Not sure what's up with that.

@njsmith, this is the method I mentioned above. They provide spectra for both CRT and LED monitors in one of their papers. Their method would be “perfect” if you had the spectra of the display models you are simulating the color vision deficiency on, but apparently it’s exact enough to use the exemplary spectra they provide in one of their papers.
See APPENDIX C  SIMULATION OF CVD USING SPD OF AN LCD in their paper
I started working on that algorithm but was busy with something else...
As far as I remember I drew the conclusion that the whole thing would completely work in linear-light space, just because they project the (linear) RGB primaries into the linear Ingling-Tsou opponent color space, which is derived from the linear LMS cone space.
Here is a more complete version of the paper, including the primary spectra:
http://www.lume.ufrgs.br/bitstream/handle/10183/26950/000761444.pdf?sequence=1
I found a paper (Neitz & Neitz) on the spectral shift of the cones and the corresponding genetic variations. So you could even combine this simulation model with actual values for natural shifts of the peak wavelength of the cone receptors.
Personalized Simulation of Color Vision Deficiency seems to be an interesting idea, too:
http://hci.usask.ca/uploads/311-GRAND_Simulation.2.pdf

Hi,
I'm currently working on Machado (2010) CVD model (https://github.com/colour-science/colour/tree/feature/cvd/colour/blindness) and have successfully managed to compute the Protanomaly and Deuteranomaly pre-computed matrices.
I have however issues with the Tritanomaly ones, it seems like ∆λS is not in domain [0-20]nm but more something like [5-59]nm.
Here are the matrices I compute:
Shift: 5nm
[[ 0.92667567  0.09249219 -0.01916786]
 [ 0.02118844  0.96450879  0.01430277]
 [ 0.00843841  0.05481969  0.93674191]]

Shift: 59nm
[[ 1.25474504 -0.07619839 -0.17854666]
 [-0.0781726   0.93065023  0.14752237]
 [ 0.00473967  0.69127251  0.30398782]]

and the ones from the paper:
0.1: np.array(
    [[0.926670, 0.092514, -0.019184],
     [0.021191, 0.964503, 0.014306],
     [0.008437, 0.054813, 0.936750]]),
1.0: np.array(
    [[1.255528, -0.076749, -0.178779],
     [-0.078411, 0.930809, 0.147602],
     [0.004733, 0.691367, 0.303900]])

I think the issue comes from the fact that the Smith & Pokorny (1975) Normal Trichromats CMFS have 5nm bins and thus ∆λS doesn't represent 1nm step but 5nm steps.
I sent a mail to Gustavo Machado about it and also to confirm if the matrices are meant to be applied on linear values (I'm assuming it is the case).
I'll keep you posted :)

Use the CIE 2006 CMFs instead. They are partly based on Smith/Pokorny, but they are available in 1nm steps.

I originally used 2006 Cone Fundamentals and will use them in the future. I wanted to validate my computations hence the use of Smith & Pokorny (1975) CMFS.


sklearn.model_selection.StratifiedKFold using Dask arrays produces confusing number of dimensions

I would like to use a stratified cross-validation approach to evaluate the performance of a Dask XGBoost Classifier I am trying with a large dataset and a very high imbalanced dataset (20 different classes):
<class 'pandas.core.frame.DataFrame'>
Int64Index: 194881 entries, 0 to 194880
Columns: 76664 entries, actual_label to previous_word_€TZS09
dtypes: float32(7), int64(1), uint8(76656)
memory usage: 13.9 GB

class #instances
5     52477
14    26087
8     17000
12    15632
15    12908
4     11637
11    10650
18     9644
17     8149
1      5849
9      5811
13     5330
2      4551
7      2680
19     2578
0      1118
10      921
16      897
6       586
3       376

For that reason, I am using Dask structures:
dfp = pd.read_parquet(filename)

X = dfp[dfp.columns[1:]].values
y = dfp['actual_label'].values

print('Starting chunking')
dX = da.from_array(X, chunks=(4000, 4000))
dy = da.from_array(y, chunks=(4000))

Then
splits = 3
cv = StratifiedKFold(n_splits=splits)
for i, (train_index, test_index) in enumerate(cv.split(dX, dy)):

    print('[Fold %d/%d]' % (i + 1, splits))
    print('type:{} , shape {}'.format(str(type(train_index)),str(train_index.shape)))
    print('type:{} , shape: {}'.format(str(type(test_index)),str(test_index.shape)))

However if I print the shapes and types of dX, dy, train_index, and test_index, it outputs different dimensions:
print('type:{} , shape: {}'.format(str(type(dX)),str(dX.shape)))

type: class 'dask.array.core.Array'  , shape: (194881, 76663)

print('type:{} , shape: {}'.format(str(type(dy)),str(dy.shape)))

type: class 'dask.array.core.Array'  , shape: (194881,)

print('type:{} , shape: {}'.format(str(type(train_index)),str(train_index.shape)))

type: class 'numpy.ndarray' , shape: (129914,)

print('type:{} , shape: {}'.format(str(type(test_index)),str(test_index.shape)))

type: class 'numpy.ndarray' , shape: (64967,)

Therefore I cannot run the following as it is different dimensions.
train_X = dX[train_index,:]
train_y = dy[train_index]
test_X = dX[test_index,:]
test_y = dy[test_index]

Anyone knows how to use StratifiedKFold from sklearn and Dask arrays?

Just to clarify, you're using sklearn.model_selection.StratifiedKFold?
Can you provide a minimal example? http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports
Is dask.dataframe relevant? Is the parquet IO relevant?

@TomAugspurger yes, exactly it is sklearn.model_selection.StratifiedKFold
Is relevant in the way that I want to show where dX and dy comes from. Perhaps, the problem is the dimensions of the input (dX, dy) of sklearn.model_selection.StratifiedKFold  as I formed Dask arrays in chunks=(4000, 4000)

It is relevant in the way that I want to show where dX and dy come from.

So you don't see any issue when you just use dask arrays with those dimensions?

@TomAugspurge There is no errors. But dimensions does not make sense to me when I  do this:
train_X = dX[train_index,:]
where:
dX -> shape: (194881, 76663)
train_index -> type:<class 'numpy.ndarray'> , shape: (129914,)
train_X -> type:<class 'dask.array.core.Array'> , shape: (129914, 76663)

A minimal example would be helpful: http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports

@javierfs, would you be able to supply and MRE as requested? 🙂

I'm going to close this issue for the time being. @javierfs please feel free to re-open if you're able to produce an reproducible example


Is it possible to upgrade this vue-pwa template to the latest version easily?

As per the subject line, I'm not sure what version of the template I'm using, but is it easy, and even possible, to simply update the template to the latest version?
Or do I need to generate a instance of the template to get the latest version? I suppose I would then copy my src folder over, I guess...
Anyway, not clear on that aspect of the template 🤔
R

It's up to the developer to keep their template code up to date. I suspect every developer modifies the template quite a bit so it would be hard to provide a standard way to upgrade.
A easier way to keep it up to date is to periodically run vue init pwa diffmeyo to create a new dummy project and diff against your current project. Another, more difficult way, is to follow this repos commits and then update your code along the same lines as the commits.

i guess i'll try the first option, then...🤔


make node class static

https://github.com/Anuj-Kumar-Sharma/DS-Algo/blob/0f60cf205f998bdfcac444c066c3dd1285fd7255/trees/Tree.java#L63
this exception is thrown by java compiler:
No enclosing instance of type Tree is accessible. Must qualify the allocation with an enclosing instance of type Tree (e.g. x.new A() where x is an instance of Tree).

Hey, as far as I remember the concepts of OOPs, we are not allowed to use a constructor inside a class. With respect to that, in order to satisfy the OOPs concepts, we need to change our code entirely.


⚠ LPDM Handbook (hosted on Divio) has degraded performance

In 803426f, LPDM Handbook (hosted on Divio) (https://repohubdev.tk) experienced degraded performance:

HTTP code: 500
Response time: 5368 ms

Resolved: LPDM Handbook (hosted on Divio) performance has improved in 3ecca98.


rqt_reconfigure: 1.0.6-1 in 'eloquent/distribution.yaml' [bloom]

Increasing version of package(s) in repository rqt_reconfigure to 1.0.6-1:

upstream repository: https://github.com/ros-visualization/rqt_reconfigure.git
release repository: https://github.com/ros2-gbp/rqt_reconfigure-release.git
distro file: eloquent/distribution.yaml
bloom version: 0.9.7
previous version for package: 1.0.4-1

rqt_reconfigure
* Save instance state in rqt settings (#90 <https://github.com/ros-visualization/rqt_reconfigure/issues/90>)
* Use safe YAML loader (#89 <https://github.com/ros-visualization/rqt_reconfigure/issues/89>)
* Don't process scroll events unless specifically focused (#88 <https://github.com/ros-visualization/rqt_reconfigure/issues/88>)
* Fix node selection from command line (#87 <https://github.com/ros-visualization/rqt_reconfigure/issues/87>)
* Add pytest.ini so local tests don't display warning (#91 <https://github.com/ros-visualization/rqt_reconfigure/issues/91>)
* Support PEP 338 invocation of rqt_reconfigure (#85 <https://github.com/ros-visualization/rqt_reconfigure/issues/85>)
* Fixed package to run with ros2 run (#81 <https://github.com/ros-visualization/rqt_reconfigure/issues/81>)
* Contributors: Alejandro Hernández Cordero, Chris Lalancette, Scott K Logan

Holding for the upcoming Eloquent sync.


Multilingual support

Addition of multilingual support to the Provision Assist frontend. This will work as follows:

User browser language/locale automatically picked up when the Power App is embedded in Teams. All text in the app will display in the users' language.
If the app is open outside of Teams, a configurable setting in the 'Settings' list will allow an admin to set a default language.
A Power Apps component will be used for the translation.
Translations will be based on a JSON file/template so you can easily amend/translate to your desired language.

Initial language support will be French and Dutch.

Released in v1.1.0


Logging prevents GLTF from lazy loading modules (27x load time for the add-on)

Blender has a convention of lazy loading modules for faster startup times,
GLTF mostly follows this however importing GLTF logging pulls in many other modules, since GLTF is enabled by default, it should not be imposing a startup cost, even if its a small one since it impacts startup for automation, render farms, tests, etc.
This can be avoided by having the logging levels in the file, or even making this a developer only feature since very few users would be interested in this - you could use bpy.app.debug_value or some other method to set the levels.

This is a list of modules loaded with times, using:
PYTHONPROFILEIMPORTTIME=1 ./blender.bin --factory-startup

import time: self [us] | cumulative | imported package
--- snip ---
import time:       664 |       1140 |   io_scene_3ds
import time:      1344 |       1344 |   io_scene_fbx
import time:       395 |        395 |   io_anim_bvh
import time:       348 |        348 |   io_mesh_ply
import time:       388 |        388 |   io_scene_obj
import time:       349 |        349 |   io_scene_x3d
import time:       386 |        386 |   io_mesh_stl
import time:       435 |        435 |   io_mesh_uv_layout
import time:       257 |        257 |   io_curve_svg
import time:       205 |        205 |           io_scene_gltf2.io.imp
import time:       231 |        435 |         io_scene_gltf2.io
import time:       176 |        610 |       io_scene_gltf2.io.com
import time:       152 |        152 |       time
import time:      1172 |       1172 |                 enum
import time:        98 |         98 |                   _sre
import time:       536 |        536 |                     sre_constants
import time:       727 |       1263 |                   sre_parse
import time:       534 |       1893 |                 sre_compile
import time:       306 |        306 |                 copyreg
import time:       854 |       4224 |               re
import time:       323 |        323 |               token
import time:      1471 |       6017 |             tokenize
import time:       321 |       6338 |           linecache
import time:       590 |       6928 |         traceback
import time:       346 |        346 |           _weakrefset
import time:       668 |       1014 |         weakref
import time:       209 |        209 |         collections.abc
import time:        52 |         52 |           _string
import time:      1241 |       1293 |         string
import time:       895 |        895 |         threading
import time:        50 |         50 |         atexit
import time:      1505 |      11891 |       logging
import time:       271 |      12923 |     io_scene_gltf2.io.com.gltf2_io_debug
import time:       515 |      13437 |   io_scene_gltf2

With the import removed: from .io.com.gltf2_io_debug import Log.
import time: self [us] | cumulative | imported package
--- snip ---
import time:       664 |       1145 |   io_scene_3ds
import time:      1372 |       1372 |   io_scene_fbx
import time:       390 |        390 |   io_anim_bvh
import time:       351 |        351 |   io_mesh_ply
import time:       389 |        389 |   io_scene_obj
import time:       353 |        353 |   io_scene_x3d
import time:       390 |        390 |   io_mesh_stl
import time:       432 |        432 |   io_mesh_uv_layout
import time:       258 |        258 |   io_curve_svg
import time:       486 |        486 |   io_scene_gltf2

Patch to test:
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 20afb1d9..d9d2e6e1 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -22,7 +22,7 @@ import bpy
 from bpy_extras.io_utils import ImportHelper, ExportHelper
 from bpy.types import Operator, AddonPreferences

-from .io.com.gltf2_io_debug import Log
+# from .io.com.gltf2_io_debug import Log

 from bpy.props import (CollectionProperty,
                        StringProperty,
@@ -442,11 +442,11 @@ class ImportGLTF2(Operator, ImportHelper):

     filter_glob: StringProperty(default="*.glb;*.gltf", options={'HIDDEN'})

-    loglevel: EnumProperty(
-        items=Log.get_levels(),
-        name="Log Level",
-        description="Set level of log to display",
-        default=Log.default())
+    # loglevel: EnumProperty(
+    #     items=Log.get_levels(),
+    #     name="Log Level",
+    #     description="Set level of log to display",
+    #     default=Log.default())

     import_pack_images: BoolProperty(
         name='Pack images',
@@ -525,4 +525,3 @@ def unregister():
     # remove from the export / import menu
     bpy.types.TOPBAR_MT_file_export.remove(menu_func_export)
     bpy.types.TOPBAR_MT_file_import.remove(menu_func_import)
-

@ideasman42 : Thanks Campbell.
Is there any convention and/or list of already used values for bpy.app.debug_value? Or we can choose any wanted values?
I will manage it ASAP

Hey Julien, there is a log-level, see help for --log-level, we could expose this via bpy.app.log_level,
see https://developer.blender.org/diffusion/B/browse/master/intern/clog/CLG_log.h$55 for log level usage.
What do you think?

Hey Campbell,
Yes, if this data can be exposed via bpy.app.log_level, it can be helpfull to use it instead of logging level from logging package.
But if is's not done yet in bpy, it's maybe because other addon developers don't find it usefull, so we can adapt this addon to fit other addon best practices.
Let's me know what is your preferences.

I just committed a first fix for loading modules.
Using bpy.app.debug_value for now. We may find a better solution if log_level become expose to bpy
Note that we still have to refactor logging to use same way for import and export ( #89  )

Because the initial problem is now solved (lazy loading time), I propose to close this issue, and continue discussion on #89 when bpy.app.log_level will be available


FEAT: v2: Overrides having to pay in SMTP if the owners admin key is present

new pr of https://github.com/lnbits/lnbits/pull/1337

Codecov Report

Merging #1353 (bb57831) into main (a813a37) will increase coverage by 0.00%.
The diff coverage is 26.41%.

@@           Coverage Diff           @@
##             main    #1353   +/-   ##
=======================================
  Coverage   48.05%   48.05%
=======================================
  Files         296      296
  Lines       16769    16800   +31
=======================================
+ Hits         8058     8074   +16
- Misses       8711     8726   +15

Impacted Files
Coverage Δ

lnbits/extensions/smtp/smtp.py
23.61% <13.11%> (+2.55%)
:arrow_up:

lnbits/extensions/smtp/views_api.py
26.00% <26.66%> (-1.28%)
:arrow_down:

lnbits/extensions/smtp/crud.py
28.57% <45.83%> (-0.94%)
:arrow_down:

lnbits/extensions/smtp/tasks.py
44.00% <50.00%> (ø)

lnbits/extensions/smtp/migrations.py
100.00% <100.00%> (ø)

lnbits/extensions/smtp/models.py
100.00% <100.00%> (ø)

lnbits/extensions/lnurlp/migrations.py
81.48% <0.00%> (-11.12%)
:arrow_down:

lnbits/commands.py
73.61% <0.00%> (+1.38%)
:arrow_up:

lnbits/db.py
81.20% <0.00%> (+4.02%)
:arrow_up:

lnbits/extensions/copilot/migrations.py
100.00% <0.00%> (+12.50%)
:arrow_up:

... and 1 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Active image not getting 100% opacity

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: v3.4.1

Platform/Target and Browser Versions: macOS 10.12.2, Chrome 56.0.2924.87 (64-bit), Firefox 53.0a2 (2017-02-27) (64-bit), Safari 10.0.2 (126<IP_ADDRESS>.1), Opera 43.0.2442.806

What you did
Simply inited Swiper as usual. Included vendor CSS & JS, added a few minor custom styles, and inited the script with the following parameters:
var swiper = new Swiper (".swiper-container", {
    autoplay: 3000,
    effect: "fade",
    fade: { crossFade: false },
    speed: 500,
    loop: true,
});

Expected Behavior
Each slide transitions to 100% opacity as it becomes active.
Actual Behavior
Each slide seems to be progressively transitioning to less and less opacity as it becomes active.

This is visible here: http://www.bearrivercasino.com/
I'll continue trying to debug it, will report back if I figure out why this is happening.

I've tried setting crossFade to both true and false, doesn't seem to make a difference.

Wow, figured it out actually. Turns it out having padding: 0 20px; on .swiper-slide was causing the issue. No idea why.

@nolimits4web since that seems like a legitimate bug, do you have any plans to look in to correcting it?


Response error fix

Fixed Some errors #5 from Issue queue.

@ydave-reisys Have you finished maybe cleaning up tis pull request?

I still haven't got around cleaning code up.

This is out of date and several aspects are not explained enough, so closing


Create GitHub Structure

We need help, we can make this in our own local repository but we are unable to push it. Can somebody help us figure this out ? @rprudzajs , @timophilipse  and @lindavdboogaart

I believe we figured this out last Tuesday. So I am closing this issue :)


sqsh_inode_map_get - zero is a valid return, and the indicator for errors

Inode numbers are always non-zero, but inode references aren't, I believe? It appears that sqsh_inode_map_get(inode_map, 1) == 0, and so is sqsh_inode_map_get(inode_map, 9999999) == 0, but for different reasons

Originally posted by @Dr-Emann in https://github.com/Gottox/libsqsh/issues/107#issuecomment-1705914702

Another function to deprecate... ☺ thank you @Dr-Emann for discovering these issues!

You're welcome, but also sorry ☺
FYI, I'm working on making rust bindings for libsqsh.

I started too, but it's currently non-functional: github.com/Gottox/sqsh-rs

My bindings are still WIP, but are here: https://github.com/Dr-Emann/sqsh-rs/tree/main.


Menu opens in wrong position in rtl mode

Bug, feature request, or proposal:
Menu does not open in right position
What is the expected behavior?
menu should open where the trigger is clicked
What is the current behavior?
it will open far from the trigger button always sticking to left side of screen
What are the steps to reproduce?
any project in rtl direction
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
this happened after upgrading to angular 6

It's hard to tell based on the description, but assuming it's a duplicate of https://github.com/angular/material2/issues/11387.


No icons

Hi there !
I've just installed the latest version of Vendetta and I have Xposed too.
It seems that I've lost completely all icons related to Discord.
Cheers !
Alex

it this is still relevant, can you show more info?
Revenge -> General -> Versions/Platform (please show both)


Gh 855 serialisation migration mitigation

Codecov Report

Merging #1017 into develop will increase coverage by 0.84%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             develop   #1017      +/-   ##
============================================
+ Coverage      62.96%   63.8%   +0.84%
- Complexity      1067    1134      +67
============================================
  Files            509     509
  Lines          15100   15100
  Branches        1717    1717
============================================
+ Hits            9508    9635     +127
+ Misses          4867    4731     -136
- Partials         725     734       +9

Impacted Files
Coverage Δ
Complexity Δ

...lementation/tostring/StringToStringSerialiser.java
60% <100%> (ø)
3 <1> (?)

...gaffer/serialisation/IntegerFreqMapSerialiser.java
75.67% <0%> (+2.7%)
10% <0%> (+1%)
:arrow_up:

...a/uk/gov/gchq/gaffer/cache/CacheServiceLoader.java
75% <0%> (+7.14%)
6% <0%> (ø)
:arrow_down:

.../gov/gchq/gaffer/serialisation/DateSerialiser.java
58.33% <0%> (+8.33%)
5% <0%> (+1%)
:arrow_up:

...ov/gchq/gaffer/serialisation/DoubleSerialiser.java
50% <0%> (+10%)
5% <0%> (+1%)
:arrow_up:

...gov/gchq/gaffer/serialisation/FloatSerialiser.java
50% <0%> (+10%)
5% <0%> (+1%)
:arrow_up:

...v/gchq/gaffer/serialisation/IntegerSerialiser.java
50% <0%> (+10%)
5% <0%> (+1%)
:arrow_up:

.../gov/gchq/gaffer/serialisation/LongSerialiser.java
50% <0%> (+10%)
5% <0%> (+1%)
:arrow_up:

...asketches/theta/serialisation/UnionSerialiser.java
87.5% <0%> (+12.5%)
5% <0%> (+1%)
:arrow_up:

...uantiles/serialisation/DoublesUnionSerialiser.java
87.5% <0%> (+12.5%)
5% <0%> (+1%)
:arrow_up:

... and 9 more

Continue to review full report at Codecov.

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


Android crash with java.lang.SecurityException

Hi,
We are using the latest version of the push plugin and we noticed we had one crash reported in the
play console which looks like this:
java.lang.RuntimeException:
  at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:3897)
  at android.app.ActivityThread.performPauseActivity (ActivityThread.java:3856)
  at android.app.ActivityThread.performPauseActivity (ActivityThread.java:3830)
  at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:3804)
  at android.app.ActivityThread.-wrap16 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1601)
  at android.os.Handler.dispatchMessage (Handler.java:110)
  at android.os.Looper.loop (Looper.java:203)
  at android.app.ActivityThread.main (ActivityThread.java:6309)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1063)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:924)

Caused by: java.lang.SecurityException:
  at android.os.Parcel.readException (Parcel.java:1683)
  at android.os.Parcel.readException (Parcel.java:1636)
  at android.app.INotificationManager$Stub$Proxy.cancelAllNotifications (INotificationManager.java:794)
  at android.app.NotificationManager.cancelAll (NotificationManager.java:374)

  at com.adobe.phonegap.push.PushPlugin.clearAllNotifications (PushPlugin.java:489)
  at com.adobe.phonegap.push.PushPlugin.onPause (PushPlugin.java:469)

  at org.apache.cordova.PluginManager.onPause (PluginManager.java:211)
  at org.apache.cordova.CordovaWebViewImpl.handlePause (CordovaWebViewImpl.java:433)
  at org.apache.cordova.CordovaActivity.onPause (CordovaActivity.java:245)
  at android.app.Activity.performPause (Activity.java:6873)
  at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1322)
  at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:3879)

This is for TCT (Alcatel) 5049W (Mickey6TTMO) with an Android 7.0.  There seems to be some security violated when the app is paused and notifications are being cleared.

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md

Excuse me??
This is the live app (crash reported in the play console )  - so no way to replicate, no way to know what the behavior is. The stack-trace is all there is.

I can't believe you would even try an pull that with me when there are other issues reported which don't follow the template either.

You did not inform any of the following information, which is very important to even begin to investigate anything, and are explicit on the issue template:

cordova version associated
cordova-android version associated
phonegap-plugin-push version associated
a single line of code showing your usage of this plugin

If it's in your interest to solve whatever issue your users are having, I'd suggest you try to be friendlier and partially follow as many sections as possible from the issue template.

Its not always needed. And I did say I am using the latest version of the
plugin. You can assume I am using the latest of cordova and the
cordova-android.
As for code, there is no code to provide when this is happening at the
native level, automatically. If you check the stacktrace it fails right
here:
SharedPreferences prefs = getApplicationContext().getSharedPreferences(
COM_ADOBE_PHONEGAP_PUSH,
Context.MODE_PRIVATE);
if (prefs.getBoolean(CLEAR_NOTIFICATIONS, true)) {
clearAllNotifications(); // < - here
} In PushPlugin.java line 469.
What code sample is to provide in this situation?
Anyway, I've already taken care of it on my side. I suggest you add a try
catch code there, it seems to be some system issue and not something
related to the push code. It makes sense considering it happened only once
so far.

No, we can't assume anything, there are a ton of people using latest version of the plugin on previous versions of cordova or cordova-android, and people saying they are using latest, but not really using latest, or if somebody looks into your issue in a few days latest might not be your current version because of an update and we can't go and check which version was latest today.
We also can't know if you are calling init with clearBadge option or if you are callingclearAllNotifications method yourself or if it's automatically called just by a stacktrace.
So please, provide all the information required and be nicer.


farrah/fix: path

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.691%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
6391

Relevant Lines:
6952

💛  - Coveralls


vkGetPipelineCacheData does not set pDataSize when private data size is 0

vkGetPipelineCacheData documentation says that the implementation should write the size of the data written in pDataSize. AMDVLK implementation only does it when privateDataSize is 0.

@samikhawaja  will you work on the issue?

The fix for this is already in: https://github.com/GPUOpen-Drivers/xgl/pull/119
Sorry couldn't link the issue with PR.


hello

Developer Checklist

[x] Adhered to the guidelines outlined in the README & Contributing file.
[x] Maintained the correct directory structure (e.g., ProjectName/...yourfiles).
[x] Please ensure to include a README file for enhanced project clarity.
[ ] Starred ⭐ the repository (optional).

Summary
Please provide a brief summary here.
Screenshot
Attach any relevant screenshots or GIFs here.
Live Project Link
Include a link to the live project here.

its a todo app

commit


CONFIG : Update .NET Version

Closes #59

@imjane5 Please take a look at this video - https://www.youtube.com/watch?v=V7fCqKjN4zA

@imjane5 Please resolve the conflicts

Closing due to inactivity


Cody plugin "Stop generating" button remains visible indefinitely

VSCode version: 1.80.1 (Universal)
Operating System: macOS 13.5
Cody version: 0.6.0
We received a report of an issue with Cody's "Stop generating" button. The issue is that the button remains visible indefinitely after any query. The user needs to reload the VSCode window to return to a state where they can query Cody again. This problem is reproducible for the user for any query they make.
https://sourcegraph.slack.com/archives/C04MSD3DP5L/p1689810902501119

@gabtorre i think this is resolved in https://github.com/sourcegraph/cody/pull/598
Feel free to reopen the case if you run into this again, thanks!


feat(operator): add LastTransitionTime to status

Fixes #765

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
490d7d5696a63ce2f7fbf85f224367261acdb922
link
/test openshift

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.

/test openshift


Node Visualization

I think it would be cool if we could show nodes (And potentially their transitions) in a graphical manner.
Potentially using a force directed graph.
This could be inbuilt into Babble, or as a separate module. Either one works. I just think it would be cool.

I believe a separate module would be nicer, even an app where you drop your dialogues or something like that haha.
The first step would be to expose enough info from each node. And the most problematic part would be to know what links and scripts will resolve to


Generate docs for orphan instances in the module where they are defined

Original reporter: mail+haddock-trac@<hidden>
It often happens that orphan instances are declared in an .Instances module of a package, e.g. http://hackage.haskell.org/package/vect-0.4.7/docs/Data-Vect-Double-Instances.html.
It is very impractical that Haddock generates empty pages for this.
It would be great if haddock could always generate instance documentation for orphan instances in modules are defined.

This really would be very handy.

What happened with this?  Is hackage using too old of a haddock?
Store has many instances, I'd expect to see them here https://hackage.haskell.org/package/store-<IP_ADDRESS>/docs/Data-Store-Internal.html
Pinging @phadej since he implemented the fix in https://github.com/haskell/haddock/pull/449

@mgsloan seems to be in haddock bundled with ghc8: http://docs.futurice.com/haskell-mega-repo/futurice-prelude-<IP_ADDRESS>/Futurice-Prelude-Internal-Orphans.html

Oleg Grenrus<EMAIL_ADDRESS>writes:

@mgsloan seems to be in haddock bundled with ghc8:
http://docs.futurice.com/haskell-mega-repo/futurice-prelude-<IP_ADDRESS>/Futurice-Prelude-Internal-Orphans.html

Indeed, we'll need to update the Haddock version used by the Hackage
documentation builder. @davean, how can we make this happen?

I can take care of that, what has to happen?
On Thu, May 26, 2016 at 5:48 AM, Ben Gamari<EMAIL_ADDRESS>wrote:

Oleg Grenrus<EMAIL_ADDRESS>writes:

@mgsloan seems to be in haddock bundled with ghc8:

http://docs.futurice.com/haskell-mega-repo/futurice-prelude-<IP_ADDRESS>/Futurice-Prelude-Internal-Orphans.html

Indeed, we'll need to update the Haddock version used by the Hackage
documentation builder. @davean, how can we make this happen?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/haskell/haddock/issues/297#issuecomment-221826982

davean<EMAIL_ADDRESS>writes:

I can take care of that, what has to happen?

You will need to update on the builder to GHC to 8.0.1 and ensure that
the haddock shipped with this release is used by the builder.
Cheers,

Ben

Ben Gamari<EMAIL_ADDRESS>writes:

[ Unknown signature status ]
davean<EMAIL_ADDRESS>writes:

I can take care of that, what has to happen?

You will need to update on the builder to GHC to 8.0.1 and ensure that
the haddock shipped with this release is used by the builder.

Any news on this?

This (?) is hiding instances for Text from Text, because its instances are somehow technically orphans (?) (instances in Data.Text, datatype definition in Data.Text.Internal):
http://hackage.haskell.org/package/text-<IP_ADDRESS>/docs/Data-Text.html#g:4

It's not this. IIRC the bug was present in haddock shipped with GHC7.10 already. Seems there aren't an issue for that though. There are similar bugs reports already

https://github.com/haskell/haddock/issues/469
https://github.com/haskell/haddock/issues/372


Having issue while downloading textract dependency

Issue: When I try to download textract dependency. It is giving me warning and blocking my work.
Steps to reproduce:
pip install textract
upon entering above command, it gives me below error:
Collecting textract Using cached textract-1.6.5-py3-none-any.whl.metadata (2.5 kB)
WARNING: Ignoring version 1.6.5 of textract since it has invalid metadata:
Requested textract from https://files.pythonhosted.org/packages/6b/3e/ac16b6bf28edf78296aea7d0cb416b49ed30282ac8c711662541015ee6f3/textract-1.6.5-py3-none-any.whl has invalid metadata: .* suffix can only be used with == or != operators
extract-msg (<=0.29.*)
Please use pip<24.1 if you need to use this version.
Using cached textract-1.6.4.tar.gz (17 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
error in textract setup command: 'install_requires' must be a string or iterable of strings containing valid project/version requirement specifiers; .* suffix can only be used with == or != operators
extract-msg<=0.29.*
~~~~~~~^
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Having the same trouble here trying to install textract in Colab.

Duplicate of #476 #489 and  #525 (at least).
The simplest work-around is to downgrade pip: pip install --upgrade pip<24.1.


Add-text-shadows

Add drop text and glows.
Dropped text is a text style that means that you have the original text and a coloured version behind it, ofset down to the left, to create, almost, a crips shadow.
Text glow is just glowing text.

Thanks, this looks good.


Set up Circleci workflow

Description:
Set up advanced use of Circleci
Use workflow, executor, and command
Tests on different version of python
Parallelize tests

I probably need add Python version to the cache key. I am afk-ing. Help is welcome

If possible we should use Python 3.5.3 for linting. At least a Python 3.5 version above 3.5.3 would be good, since we have to support that syntax until we upgrade minimum version.

I have problem run lint on 3.5 last night. Will look at it again

Hit by a flaky test, oh well. Let's merge this.


Dev/rdmmpa api update

This PR adds some features to MMPA that allow it to better search MMP's.
Developers can now fragment on a given bond (not just all) and specify the desired number of cuts.  I.e. just give me two cut fragments.  This enables usage in a web-based UI for instance.
bool fragmentMol(const ROMol& mol,
                 std::vector<std::pair<ROMOL_SPTR, ROMOL_SPTR> >& result,
                 const std::vector<unsigned int>& bondsToCut,
                 unsigned int minCuts = 1,
                 unsigned int maxCuts = 3);

Overall I think this is a useful addition and the API is good.

@greglandrum Think I touched all your points.
There is a troubling spot in a test though, I've marked it.

Apparently I can't.  This line in the test:
FIX: this needs to be investigated, it's not currently passing
#self.assertTrue('O=C(N[*:3])C([*:1])[*:2]' in cores)

Looks suspicious!


2.x升级3.x说明遗漏部分

New Issue Checklist

[ ] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
flutter

Platform Version
1.17.4

Dio Version
3.0.x

Repro rate
100%

Repro with our demo prj
2.x to 3.x
2.x升级3.x说明遗漏部分

Issue Description and Steps
Content-Type field, 2.x is a separate field, 3.x has been merged into headers before call interceptor, if you use options.headers = (} in the interceptor will clear all request header information, including content-type
Content-Type 字段, 2.x是单独字段, 3.x在拦截器调用前已经合并到 headers, 如果在拦截器内使用 options.headers = {} 会清空全部请求头信息,包括content-type

mark


Deleted package detected

I'm a Cyber Security researcher and developer of PackjGuard [1] to address open-source software supply chain attacks.
Issue
During my research, I detected a deleted package in this repository.
Details
Specifically, the package py3blox mentioned in file README at line 39 does not exist on the public PyPI registry. A bad actor can hijack this package to propagate malicious code.
Impact
Not only your apps/services using https://github.com/InvalidKaro/pyblox repo code are vulnerable to this attack, but the users of your open-source Github repo could also fall victim.
You could read more about such attacks here<EMAIL_ADDRESS>Remediation
Please highlight this in file README and register a placeholder package for py3blox on public PyPI soon to remediate.
To automatically fix such issues in future, please install PackjGuard Github app [1].
Thanks!

PackjGuard is a Github app that monitors your repos 24x7, detects vulnerable/malicious/risky open-source dependencies, and creates pull requests for auto remediation: https://github.com/marketplace/packjguard

Looks like you renamed the PyPI package already. Closing this issue.


schemas: remove remaining "PersistentValue"s

Summary
Remove "PersistentValue" instructions from the OpenPulse example schemas/QObj tests
Details and comments
Follow-up to #4671. I think I got all the references using a search.

I am not certain we should remove keys from the schema as this is a breaking change and would technically require a major version bump to the schema. The one caveat is that the schemas are permissive so if this instruction is removed it will continue to work with the backend. What are your thoughts @mtreinish.

The main thing that prompted this was the removal of the "pv" instruction bind/handler in https://github.com/Qiskit/qiskit-terra/blob/f132cf7fc69920f393bc2055e98f20e8e7d6bce0/qiskit/qobj/converters/pulse_instruction.py#L387 (commit a9b68a5f6b108fcc981e64d2d822c556bdcdd0ab)

The main thing that prompted this was the removal of the "pv" instruction bind/handler in
https://github.com/Qiskit/qiskit-terra/blob/f132cf7fc69920f393bc2055e98f20e8e7d6bce0/qiskit/qobj/converters/pulse_instruction.py#L387
(commit a9b68a5)

I suppose this will cause an error if a qobj with a PV instruction is supplied? If so I think the removal in a9b68a5 might qualify as a bug.

I suppose this will cause an error if a qobj with a PV instruction is supplied?

Exactly right. I'm agnostic about whether it's a bug or not. I assumed it was correct behavior, so I thought the schemas/examples should be updated to reflect that "pv" instruction is no longer handled by stock qiskit-terra

I think either solution is probably ok as the schemas are permissive, even if pv is removed a backend that supports it will be fine. I'll leave @mtreinish to weigh in with a final decision.

My feeling here is that we shouldn't remove it from the schema (for now) if pv is still a valid instruction on the backend side in IBMQ (and anybody else who happens to be using qobj). I agree it's backwards compatible in the sense validation won't fail because it'll just get passed in as a standard pulse and the parameter validity checking there now won't happen. We should have the schema reflect the validation we want the backend to use when it receives a random payload (because that's how it gets used by IBMQ for right now). If someone is using an older version of terra and submits a pv instruction we would want the schema validation to catch structural issues with the pv instruction instead of blindly accepting it. Once we split the schema out of terra it's usage as the backend's validation specification and that it's not strictly a client side testing thing will become clear.

Given @mtreinish's comments, this PR should have the schema changes removed and then it will be good to go.

@taalexander ack, pushed


fix druntime dependencies

Hmm, deja vu, is this split off from #907?

Yes, Andrei asked me to split #907.


hostMonitoring and csiDriver samples

Hi - according to Dynatrace documentation, hostMonitoring also supports the use of csiDriver.
https://www.dynatrace.com/support/help/shortlink/dto-deploy-options-k8s#storage
Can the default value be added to the samples as an indication that this possibility exists ?
And as for the remark about oneagent versions on that page : when mutliple dynakubes are deployed, which 'version' will take precedence, or can the csiDriver support multiple versions for multiple dynakubes at once ? (e.g. mix of production/acceptance workloads reporting to separate monitoring environments ?)

CSI driver is used by default for hostMonitoring and is already documented in the table you linked.
For additional help please reach out to Dynatrace ONE support.
Thanks!


Fix positional argument of print_settings

Fixes:
usage: ./manage.py print_settings [-h] [--version] [-v {0,1,2,3}]
                                  [--settings SETTINGS] [--pythonpath PYTHONPATH]
                                  [--traceback] [--no-color] [--format FORMAT]
                                  [--indent INDENT]
./manage.py print_settings: error: unrecognized arguments: DATABASES

See https://docs.djangoproject.com/en/1.9/howto/custom-management-commands/#django.core.management.BaseCommand.args

Coverage increased (+0.01%) to 32.223% when pulling 41cbc24b7aa6744132c3d148974ed54e282e9fbc on bersace:print_settings_args into 8b0c8095cb1a65a9d4258427a30a613777cb9b81 on django-extensions:master.

:up:

:up: anyone ?

thanks


Added oAuth to Jira loader

Work done-
1- Added Oauth process to Jira loader and updated the readme accordingly
2- Fixed a bug where I moved the issues.append outside of the if condition of  "if "parent" in (issue.raw["fields"])". This was causing empty documents to be returned if there was no .raw was found.
All the changes are tested in my local.

@subhrajit2564 seems like there's a merge conflict, can land after this is resolved

@subhrajit2564 quick bump on this

bump @subhrajit2564


Media resizing in projection

I would like to display a grid of content items that include a picture. I created a layout and then a query to get the content items I needed. I then edited the property to rewrite results so as to customize the image that was displayed, something like
  src={Content.Fields.PacotePart.Foto.Url}?w=150&h=150&mode=crop&scale=both  class="img-rounded img-responsive">
However, this is not working. How can I use the Media Processing features in this case?
Thanks

The url token seems to be correct, and will get your a link to the actual original image. But the modifiers are not working on the link directly, they are processed on the server side using the specific Shape.
I can't find any token however to do that, so I filed a new issue. A work around is to create a layout based on a Shape, then create this shape template in your theme and use the ResizeMediaUrl shape to render the image.

Closing as there is a workaround and I filed an issue to create a new token for your purpose.


Update API language on auto-render script

I noticed that the docs said there were "two auto-render-specific keys" and then proceeded to list 5 extra keys that could be passed. :) I updated the language in all of the versions of docs because they were all incorrect.
I changed them all to say "several" so that this doesn't accidentally get out of date again when another key is added in the future, but I'm happy to change it to say "five"/"four" in the different versions if that seems better.
Also 👋

Sadly I don't have write access, but I can at least respond to your commit message:

Also wave

We miss you!

It looks like the CircleCI tests aren't running, perhaps because only Markdown files changed, but Github won't let the PR merge without them (it says "Expected — Waiting for status to be reported"). @ylemkimon any ideas?

It looks like the CircleCI tests aren't running, perhaps because only Markdown files changed, but Github won't let the PR merge without them (it says "Expected — Waiting for status to be reported").

Seems to have just been transient -- merging master in caused the tests to actually run. Yay!

@xymostech I just want to add my appreciation for the work you did during the creation of KaTeX. It's an awesome library.

@xymostech 👋 🙂


configparser not found

File "/bin/protonmail-cli", line 3, in  import configparser ImportError: No module named configparser
what do i need to install?

@Banemus  You should use python3

@Banemus  You should use python3

@dimkouv
python3 --version
gives me
python 3.6.9
Just trying to use command line to do protonmail-cli --help and then I get that error.
So not sure how I should say the system to use python3

@dimkouv
python3 --version
gives me
python 3.6.9
Just trying to use command line to do protonmail-cli --help and then I get that error.
So not sure how I should say the system to use python3


Make graph-node resilient to a shard failure within the database

What is the current behavior?
Graph Node supports database sharding as a means of scaling the number of subgraphs that are indexed / queried. Currently if one shard fails or is restarted, the rest of the shards are also halted, and the node needs to be restarted
What is the expected behavior?
Graph-node should continue to work for the remaining shards in the event of a shard failure, and should resume normal operations if the shard starts up again.

Here's some notes on what that entails:
Failure of non-primary shard
Allow graph-node to start
The goal for this is to allow graph-node to start as long as there are no
database changes that need to be applied (like migrations) When there are
pending migrations, we'll still require that all shards are up.

[ ] Defer running migrations until database is back up
[ ] Avoid rebuilding fdw mappings if there are no changes

Serve queries for shards that are up
Needs to be tested again, but seems to work already
Resume indexing in the failed shard when it comes back up
Needs more testing
Failure of primary shard
Allow graph-node to start
This is hairy because the primary stores the mapping of chains and
subgraphs to shards. We can address that by doing application-side
replication of the chains and deployment_schemas tables in the other
shards.

[ ] Add a background job that syncs the per-shard copies of these tables
with the ones in the primary peridocially
[ ] After writing to these tables in the primary, kick off the same kind
of reconciliation in the background, tolerating failure in that step
[ ] When looking up data from these tables, fall back to copies in other
shards when the primary is down

Continue serving queries against other shards
The store_event notification listener should reconnect transparently when
it loses connection. While the primary is down, GraphQL subscriptions won't
get an update.
Continue indexing in other shards
Currently, the chain head notification listener will crash the node when it
loses connection. Instead, it should just wait and reconnect; the next
chain head update should cause subgraphs to resume indexing
Handling of subgraph assignments
While the primary is down, subgraph assignment notifications won't be sent
out. It's not clear what the right solution for that is
Failure of a shard that contains a block cache
The block cache is needed for two purposes:

During indexing to access some block data. For that, we can either pause
indexing or fall back to fetching blocks from the network client.
During queries to translate block hashes to block numbers.


Wrong import for license in README file

The import in the example is incorrect: import de.heikoseeberger.sbtfresh.license.License
It should be import de.heikoseeberger.sbtfresh.License

Fixed in https://github.com/sbt/sbt-fresh/pull/328.


Fonts, headings, paragraph styles

See https://designsystem.zeiss.com/document/9#/base/headline

fixed by https://github.com/hlxsites/zeiss/pull/16