Add run_process

Proposal for solving https://github.com/Open-EO/openeo-api/issues/413 in a non-breaking way.
Similar functions in other programming languages:

PHP: https://www.php.net/manual/de/function.call-user-func-array.php
Many other languages simply allow using a variable as a function name, e.g. in JS: let func = 'max'; Math[func](123, 321)
Some languages use a "reflection" API for similar purposes, e.g. https://docs.oracle.com/javase/tutorial/reflect/index.html

See comment on other issue: currently not in favor of this as a solution to avoid allowing parameters for process_id.

a devil's advocate argument against this process: I think you lose the ability to statically check/validate  your process graph because the output schema of run_process is only known at run time.
This might be annoying in several places:  visualization of process graph (e.g. in web editor), in clients that use output schemas to help building a process graph , the /validation end point,  the dry-run procedure in the geopyspark driver, ...

This might be annoying in several places: visualization of process graph (e.g. in web editor), in clients that use output schemas to help building a process graph , the /validation end point, the dry-run procedure in the geopyspark driver, ...

Yes, but checking it in the JS tooling shows that this is equally annoying as allowing variable for process_id. It is basically the same implementation-wise, just a different encoding.


Can I use jpeg pictured instead of dicom files?

I want to use jpeg files instead of Dicom files. The reason for it is I converted Dicom to jpeg and edited using photoshop. Then converted jpeg to Dicom. But Dicom file did not change when I uploaded it to orthanc server again it did not recognized changes. For the reason of that I want to use jpeg reader instead of dicom servers. Is it possible? Please I need help. If you can please help me

This is not really an OHIF viewer issue or even an Orthanac server issue.
But did you replace the pixel data in the original DICOM file with your edited copy? If so, your server probably saw it as the same image and rejected it due to the same DICOM UIDs in the file. You should create a new DICOM file that has different UIDs so the server sees it as a different image object. There are plenty of JPEG to DICOM on the web that can do this for you.

There is a cornerstoneWebImageLoader in the cornerstonejs organization for exact that, loading png/jpg images.  You can read up on its documentation.
As of  how to get it to work in OHIF, you can search the usage of cornerstoneWADOImageLoader and probably replicate some of the initialization/configuration.

Hi everyone!
Did you managed to make it working?
I'm interessed by doing the same thing for the viewer
Thanks for any response :smile:

Cornerstone3D has webImageLoader but OHIF does not support that right now


[New Port Request] glade

I am surprised that glade is not found in vcpkg search.
When gtk and gtkmm are already in the packages list, there is little reason to omit the much needed glade UI designer since much of the gtk UI development is done through glade.
Kindly add glade to the vcpkg libraries.
Library name: glade
Library description:
Source repository URL:
Project homepage (if different from the source repository):
Anything else that is useful to know when adding (such as optional features the library may have that should be included):

@sjsam, glade not found in vcpkg search that means vcpkg doesn't  support glade now, I edit the title and please fill above information, BTW, you can reference 'Request a new port' template to ask to support a new port.

Thank you for the prompt response.
Library name         : glade
Library description :  Glade is a RAD tool to enable quick & easy development of user interfaces for the GTK+ toolkit and the GNOME desktop environment.
Source repository URL : https://glade.gnome.org/sources.html
Project homepage (if different from the source repository) : https://glade.gnome.org/
Anything else that is useful to know when adding (such as optional features the library may have that should be included) : Glade is extensively used these days to simplify the process of application development with Gtk. Since the vcpkg already support Gtk and Gtkmm, it is desired that glade is also made available through vcpkg. Kindly add a new port for the same.

Hello, It has been a month since I put the port request. Please, could you give an update on this?

@sjsam Since GTK cannot build in Linux, we need to fix GTK first.

Since GTK cannot build in Linux, we need to fix GTK first.

@JackBoosY :  On Windows, you mean?
BTW, recent GTK+ 3 versions can build using the meson build system, avoiding the autotools complexity. That build system only has a dependency on Python 3 and Ninja, so building on Windows should be much simpler, and you won't have to maintain an alternative build system by yourself.

@liberforce Thanks for advice, I'll try it later.

Eh!

Since GTK cannot build in Linux, we need to fix GTK first.

@JackBoosY : On Windows, you mean?
BTW, recent GTK+ 3 versions can build using the meson build system, avoiding the autotools complexity. That build system only has a dependency on Python 3 and Ninja, so building on Windows should be much simpler, and you won't have to maintain an alternative build system by yourself.
More info in the README of GTK+ 3.24.12:
https://gitlab.gnome.org/GNOME/gtk/blob/075dcc142aa525778268165095de019b736f3efa/README.win32#L184
Ehh!  I have built gtk on Windows before using a - more or less - official tutorial found at
gnome.org
But since, the vcpkg already have stable ports to gtk and gtkmm, why is so much delay in adding
glade which is a must have for gtk(mm) developers?

It would be awesome to see glade in vcpkg. Without it, distributing the gtk is not complate IMHO. Keep up the good work please.

I am eagerly waiting for an update on this dear VCPKG team !

This PR seems to need Meson or pkg-config support improving. Our plan is to wait for #9861 and #10395 to merge before we work on this PR. In the meantime, if anyone is able to get glade working somehow, it would be great if you could submit a PR.

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now, consider making a pull request instead.

Any updates?


problem in build

Using code blocks instead of images is a much better option. They are more readable.
```
like this
```


How to access location_area_encounters

In the documentation I'd have to make a request to "https://pokeapi.co/api/v2/pokemon/ID/encounters"
If I use the client:
c = client.get_pokemon(10)
c.location_area_encounters
Shows me the url for the request ('https://pokeapi.co/api/v2/pokemon/10/encounters') but there's no method to access it. I didn't find other methods in the client related to that. I just wanted to be sure that the library doesn't do this before writing a method myself. Thanks!

Yeah, currently most of the wrappers lack this method. This is because the /encounters endpoint was added at a later stage. I guess the only way for you is to make an HTTP call to the endpoint returned by location_area_encounters

Thank you! I was afraid I would have to do that (I didn't want to have to do my own cache for the results of this method).

No need to cache it, do it only if you need a boost in speed.

There are many pokepy methods that return URLs for some properties.
Last year I began working on a feature to make those properties return actual data.
I haven't had much time to work on it lately, though...


hide gutter on edit

because I'm not reseting gutter on crash

fixed another minor bug where the crash message is not shown if program is buggy


New Feature: "Never" Expiration Date

This pull request adds a new feature: the "never" expiration date, and closes #8
What changed

Added some missing dependencies to package.json (it wouldn't run without)
Updated rx.js
Without updating rx,js, an error was thrown when trying to access the database. (TypeError: (0 , rxjs_1.lastValueFrom) is not a function)
Added the "Never" expiration option to the create share modal
Updated text (in the completed upload modal and shares page) to match the "never" expiration (text like "this share never "expires")
Updated backend to not automatically remove "never expires" shares
Fixed some various linting errors (mostly related to unused imports)

How was this implemented
The "never" expiration date was implemented by using unix timestamp 0. Some manual exceptions were added to the backend to support the timestamp of 0. For example, backend/src/auth/jobs/jobs.service.ts line 20 (AND: [{expiration: {lt: new Date()}}, {expiration: {not: moment(0).toDate()}}]) now has a hardcoded exception to shares that have a expiration date of 0. There are several other changes very similar to this scattered around the backend.

Thank you so much! I will look into it tomorrow.

Closing this because of a following PR. See here:  #12


Export Error

On macOS Mojave 10.14.2, while attempting to export a theme for Terminal, Atom Syntax & Atom UI, I am stymied by the error:

themer-terminal: Error: /var/vf/......../.com/mjswensen.themer.PMPDEz:16:26: warning: 'archivedData(withRootObject:)' was deprecated in OS X 10.14: Use +archiveDataWithRootObject:requiringSecureCoding:error: instead return NSKeyedArchiver.archivedData( ^

Hi @SainteCelery , This Electron-based app has been deprecated in favor of a Progressive Web App (themer.mjswensen.com). Since themer-terminal runs a snippet of Swift code that needs access to Apple-proprietary APIs, themer-terminal can't be supported in the Web app and will therefore be CLI-only. Here are the docs on how to use themer-terminal with themer CLI.


Add re-connect always feature to Kafka connector

Description:
Reconnection is there but limited number of retries can be done by that. Therefore, we have to add re-connect always feature to the Kafka connector.
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):
https://github.com/wso2/ballerina-integrator/issues/92
Suggested Labels (optional):

Suggested Assignees (optional):

Can you explain what does this feature actually requires?
Currently, we have reconnectBackoffTimeInMillis and reconnectBackoffMaxTimeInMillis configurations alongside the retryCount configurations.
Do you need something more than that?


Add documentation and code examples.

Add documentation and examples (#2). The Cake website should pick this up for the DSL section.

@reicheltp Have you had a chance to review?

@robertcoltheart Thanks for this PR.
I have totally missed this work item. Sorry!!! I've merged the stuff and it should be on NuGet in the next couple of minutes.


Verify phone number

Why
We need to let users verify their phone numbers
How

Added a modal to verify a phone number
Added a screen in the Settings to manage the phone number
Added a check when claiming failed to verify the phone number to unlock more claims

Test Plan
Run the apps and check if you can verify your phone number

nit: design gap between button and text

would be cool to initialise phone country using this! (can be done is separate issue)
https://docs.expo.dev/versions/latest/sdk/localization/


Support lazy-translatable title strings

Currently trying to use a translated lazy string as a "title", produces an error in v2.6.0:
TypeError: Object of type __proxy__ is not JSON serializable
Example schema:
    from django.utils.translation import gettext_lazy as _
    {
        'type': 'object',
        'keys': {
            'show': {
                'type': 'boolean',
                'title': _('Show')
            },
        },
    }

If you use a callable schema with regular (non-lazy) translation function, then you can get a similar functionality:
from django.utils.translation import gettext as _

def get_schema():
    # This function is called on every request
    schema = {
        'type': 'object',
        'keys': {
            'show': {
                'type': 'boolean',
                'title': _('Show') # non-lazy translation will process immediately as per current request locale
            },
        },
    }
    return schema

field = JSONField(schema=get_schema)

Hi, I've added support for lazy strings. You can now use lazy strings anywhere in the schema, not just for titles such as choices, default values, etc.
Example:
{
    'type': 'string',
    'choices': [_('Teacher'), _('Doctor'), _('Engineer')]
    ...
}


chore(main): release 0.6.0

:robot: I have created a release beep boop
0.6.0 (2024-10-03)
Features

implement airtable, dropbox, harvest and toggl connectors (589617c)
implement easyship and shippo connectors (5b3d84a)
implement stripe connector (99cedb1)
implement trackingmore connector (e66d5c7)

Bug Fixes

code refactor (f092e93)
code refactoring (3d49834)
updated sdk to 0.6.0 (d86dff3)
updated sdk to 0.6.0 (c7b595a)
updated sdk to 0.6.0 (7678ba9)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.6.0
:sunflower:


Pasting into Python Interactive inserts 2 times

Issue Type: Bug
When I paste code into the Python Interactive, the code is getting inserted two times. Pressing CTRL + Z removes the second insertion. Using right click also doesn't work.
The problem has been occurring for the past ~2 days. It happens every time I paste into interactive. Pasting elsewhere never caused this issue.
Extension version: 2020.7.94776
VS Code version: Code 1.47.1 (485c41f9460bdb830c4da12c102daff275415b53, 2020-07-13T22:42:53.386Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz (8 x 2304)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.87GB (4.35GB free)

Process Argv

Screen Reader
no

VM
0%

I used to have the same issue.
Version: 1.47.1 (user setup)
Commit: 485c41f9460bdb830c4da12c102daff275415b53
OS: Windows_NT x64 10.0.18363
Python Extension Version: 2020.7.94776
Also, I have Pylance installed: Version: 2020.7.2
So I tried deactivating Pylance to see whether that might be the issue. So after deactivating Pylance and restarting VSCode, I no longer had the double-paste problem. However, after re-enabling Pylance and restarting VSCode, I still don't have the double-paste problem. So currently I can't reproduce the problem. But maybe there is some relation to Pylance?

Thanks for the bug report! This is a known issue with VS Code webviews that has been fixed as of 1.48-insiders: https://github.com/microsoft/vscode/issues/101946


Builder should support application-specific JSON MIME specifiers

It seems like currently only application/json is supported as MIME specifier. Instead the builder should also accept specifiers with the pattern application/myapp+json as is the case for e.g. GitHub (application/vnd.github.mercy-preview+json)
Additionally when using an OpenAPI document like below the kiota builder throws a NullReferenceException instead of a diagnostic error.
swagger: '2.0'
info:
  version: 1.0.0
  title: Sample
  description: ''
host: hostname
schemes:
  - https
paths:
  /something:
    get:
      description: ''
      produces:
        - application/myapp+json
      responses:
        '400':
          description: Indicates failure.
          schema:
            type: string

Hi @hermann-noll
Thanks for trying kiota and thanks for reporting this issue.
There are multiple aspects to this issue, here is the detailed explanation:
While the generator aims to support multiple content types for the payload (request/response), it's currently hard-coded to only look for the application/json and application/octect-stream content types.
https://github.com/microsoft/kiota/blob/6e6f379099224622c90eaf542e6511b986bb16cc/src/Kiota.Builder/Extensions/OpenApiOperationExtensions.cs#L14
https://github.com/microsoft/kiota/blob/6e6f379099224622c90eaf542e6511b986bb16cc/src/Kiota.Builder/KiotaBuilder.cs#L550
This aspect dates from the POC era of Kiota and we have multiple issues logged to unlock additional content types/scenarios

[ ] #219
[ ] #220
[ ] #221
[ ] #546
[ ] #878

Once the generation goes through, for the client to work properly, it needs registered ParseNode factories and SerializationWriter factories to handle the payloads correctly. They are also locked to a very specific content type
https://github.com/microsoft/kiota/blob/6e6f379099224622c90eaf542e6511b986bb16cc/serialization/dotnet/json/src/JsonParseNodeFactory.cs#L20
https://github.com/microsoft/kiota/blob/6e6f379099224622c90eaf542e6511b986bb16cc/serialization/dotnet/json/src/JsonSerializationWriterFactory.cs#L18
In theory, the reason why the API returns to your request a vendor specific mime type is because your application should be a different parser than "just JSON" to parse the response. It is not always the case in practice and parsing with the default implementations we provide might work just fine.
In any case, I believe that as the very least a new set of libraries should be introduced for that vendor type so even if they only inherit from the default to override the mime type, they can evolve separately should the need arise in the future.
Does all of that make sense?
In which case here is what I suggest should be done:

[ ] update the code in the kiota generator to use a regex instead of hard-coded constant, during the generation process
[ ] standup a new repo for those vendor specific JSON libs

@baywet We can safely assume that any media type that ends in +json can be parsed with our standard JSON parsing. https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.8
We should figure out what the model is for adding support for standard JSON based media types like application/problem+json  and application/collection+json.

thanks for jumping in @darrelmiller. So effectively parsing a application/vnd+json response with our current implementations should also work because the body "is just JSON"?

Hi @hermann-noll ,
Thanks for your patience on this one.
I've just authored #1461 that addresses this. I yet have to author PRs for dotnet and typescript as we moved those libraries to other repos.
generation change
Imagining we get the following content type in the description for the response content application/vnd.github.mercy-preview+json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8.

;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 will be ignored (considered as application/vnd.github.mercy-preview+json
vnd.github.mercy-preview+ will be ignored (considered application/json
The described types will get generated

runtime changes
Imagining we get the following content type (runtime application/vnd.github.mercy-preview+json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8

;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 will be ignored (considered as application/vnd.github.mercy-preview+json
The registry will look for a serialization writer/parse node factory for application/vnd.github.mercy-preview+json, use that if it finds it.
If it doesn't find it, it'll look for application/json instead.

Hello @baywet ,
Great to hear, I am looking forward to using these changes 👍


Use latest tag as default if no tag is specified

An alternative would be to throw an error since I don't see a case, where setting the versioning to null makes sense?
Fixes #676

I just found the DockerImageNameTest class. Should I move the test from ImagePullTest (integration test like) to DockerImageNameTest?


Some keymap ("shift" character) does not work on Windows Terminal

~ or ? in keymap config file does not work on Windows Terminal, instead we have to use <S-~> or <S-?>.
I have tracked down the issue: on Windows Terminal when I press ~, crossterm returns key event with code Char(~) and SHIFT modifier, but with current implementation (https://github.com/sxyazi/yazi/blob/902c0942244f2e1753899ed0aa1d4faf5b01c7eb/config/src/keymap/key.rs#L58C7-L58C7), SHIFT is only enabled for uppercase characters.
Since I don't use linux or mac, I don't know how it behaves there. I'm not sure how to fix it.

Thanks for the report, I'll look into it!


The plugin keyboard_visibility uses a deprecated version of the Android embedding.

Got this error:
The plugin `keyboard_visibility` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.62.3)
[✓] Connected device (2 available)

• No issues found!

Related to https://github.com/adee42/flutter_keyboard_visibility/issues/75

No support


Create presence device for larger area - Not working

First, Great add-on for Hubitat. Everything works perfectly, except the "Create presence device for larger area" seletion.
When I select this in the Teslamate MQTT settings, it creates a child device with my car's name, followed by "nearby".
The problem isn't the creation of the device, but the fact it never changes state. When I leave my home (geo-fence), the presence state changes on the vehicle's presence will show "not present", but the "Nearby" device still shows "present". I drive away from the house > 20 miles, and still no change. When I get back to the house and my Teslamate system changes back to "Home", the vehicle device will change to "present" in hubitat, and the "Nearby" device still doesn't change at all.
I tried to turn off the feature and allow it to remove the device, then turn the feature back on so it can re-create it (it does), but it still doesn't change state when I leave the area.
I don't know how far away the "nearby" device needs to be before it changes to "not present", but it appears to be more than 40 miles.
I was hoping it would trigger outside of the "Home" geo-fence by a set distance (say 1/2 mile) so it could be used to turn the A/C setting when getting close to home to allow time to cool/heat before getting there. Since my geo-fence for "Home" is set for a 460 feet radius, I'm literally in the driveway when the geo-fence is triggered. I don't want to increase the radius of the geo-fence because I sometimes pass by the the house travelling from one town to the next, and the main road is only 800 feet from the house, and I don't want to trigger "coming home" routines when I'm only passing by. It would be great if the size of "Nearby" was selectable.
Please let me know if I'm doing something wrong, or expecting something that isn't going to happen. If you need more info, don't be afraid to ask, I'm more than happy to help.

No worries!  The radius is 80 miles (130 km, actually), so it's expected that a 40-mile distance would still show as nearby.  I selected that as the furthest that someone might reasonably travel in an hour, e.g. the house can assume someone will not be returning home in the near future and "go idle" to a greater degree than it might while briefly unoccupied.
Making that radius configurable seems like a simple enough feature request, though. I'll take a look.

#4 adds this as an option. I think I covered the cases where it affects re-check frequency as well. Give it a try, and if we're both happy after a few days, I'll merge it.


Optimisation des Github Actions

:tada: This issue has been resolved in version 1.42.1-rc.3 :tada:
The release is available on:

v1.42.1-rc.3
GitHub release

Your semantic-release bot :package::rocket:


-webkit-box-flex only should only take one parameter

As per https://developer.mozilla.org/en-US/docs/Web/CSS/box-flex, -webkit-box-flex only takes one parameter, though it is currently passed what would normally be used for the flex property.

PR welcome, I won't have much time for this for a few more weeks, but I'm going to do a patch release tomorrow so if you can squeeze it in before then :D


64-bit integer use of MUMPS always meet INFO(1)=-3

Hi, I am trying to using 64 bit integer of MUMPS. I add -i8 to the compiler as below,
_mpiifort -O2 -xHost -nofor-main -DBLR_MT -qopenmp -c -i8 $filename.f90 -o $filename.o
mpiifort -o $filename -O2 -xHost -nofor-main -qopenmp $filename.o -lzmumps -lmumps_common -lmpi -lpord -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lparmetis -lmetis -lptesmumps -lptscotch -lptscotcherr -lscotch_
But it doesn't help. always meet errors like this, I really need your help.  Do  the others like Metis, SCOTCH shoule be installed with 64-bit integer? Could you give some details? thanks very much.
** ERROR RETURN ** FROM ZMUMPS INFO(1)=   -3
** INFO(2)=               0
** ERROR RETURN ** FROM ZMUMPS INFO(1)=   -3
** INFO(2)=               0
** ERROR RETURN ** FROM ZMUMPS INFO(1)=   -3
** INFO(2)=               0
** ERROR RETURN ** FROM ZMUMPS INFO(1)=   -3
** INFO(2)=               0
** ERROR RETURN ** FROM ZMUMPS INFO(1)=   -3
** INFO(2)=               0
Abort(67706631) on node 2 (rank 2 in comm 0): Fatal error in PMPI_Bcast: Invalid root, error stack:
PMPI_Bcast(451): MPI_Bcast(buf=0x7fffdd81fd88, count=1, MPI_INTEGER, root=-1073741822, comm=comm=0x84000002) failed
PMPI_Bcast(412): Invalid root (value given was -1073741822)
Abort(134815495) on node 3 (rank 3 in comm 0): Fatal error in PMPI_Bcast: Invalid root, error stack:
PMPI_Bcast(451): MPI_Bcast(buf=0x7ffc093ad608, count=1, MPI_INTEGER, root=-1073741822, comm=comm=0x84000002) failed
PMPI_Bcast(412): Invalid root (value given was -1073741822)
Abort(671686407) on node 4 (rank 4 in comm 0): Fatal error in PMPI_Bcast: Invalid root, error stack:
PMPI_Bcast(451): MPI_Bcast(buf=0x7ffcf61d6808, count=1, MPI_INTEGER, root=-1073741822, comm=comm=0x84000002) failed
PMPI_Bcast(412): Invalid root (value given was -1073741822)
Abort(1007230727) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Bcast: Invalid root, error stack:
PMPI_Bcast(451): MPI_Bcast(buf=0x7ffe446fe808, count=1, MPI_INTEGER, root=-1073741822, comm=comm=0x84000003) failed
PMPI_Bcast(412): Invalid root (value given was -1073741822)
Abort(738795271) on node 1 (rank 1 in comm 0): Fatal error in PMPI_Bcast: Invalid root, error stack:
PMPI_Bcast(451): MPI_Bcast(buf=0x7ffe6bbeb588, count=1, MPI_INTEGER, root=-1073741822, comm=comm=0x84000002) failed
PMPI_Bcast(412): Invalid root (value given was -1073741822)

I think Scotch and MUMPS have to both be built with 64-bit or 32-bit. I updated the build script for Scotch to have this option.
So pick a new install test directory, say ~/mumps64 and do like the following from the mumps/ Git source directory:
cmake -Dintsize64=on -Dprefix=~/mumps64 -P scripts/build_scotch.cmake

cmake -Bbuild -DCMAKE_PREFIX_PATH=~/mumps64 -Dintsize64=on -Dscotch=on
cmake --build build

Then link your project as you did above.


Is it possible to stop external 40MHz crystal oscillator from running?  (IDFGH-11793)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[x] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
The chip I am using is esp32s3.
I've checked the idf-framework and technical reference, and I found a register named SYSTEM_SOC_CLK_SEL. SYSTEM_SOC_CLK_SEL is XTAL_CLK by default. So would external 40MHz crystal oscillator stop running if I change this register to RC_FAST_CLK or PLL_CLK?

Hi @F1RST1, the external XTAL won't stop running even if SYSTEM_SOC_CLK_SEL is set to PLL or RC_FAST. May I ask what are you trying to achieve, and then maybe we can provide some ideas.

Hi @F1RST1, the external XTAL won't stop running even if SYSTEM_SOC_CLK_SEL is set to PLL or RC_FAST. May I ask what are you trying to achieve, and then maybe we can provide some ideas.

Sure. The project is RGB lcd display driven by esp32s3. The hardware enginner is trying to pass the EMC test.
Some critical reports are shown below. Any extra information could I provide to you?


File Not Found Error

FileNotFoundError: [Errno 2] No such file or directory: './models/train2/snapshots/losses.pkl'
How should we place the downloaded folder models, I have placed it anywhere possible buy still get this error.
Any help is appreciated.

You'd have to put the models folder inside lsc-cnn as mentioned here (https://github.com/val-iisc/lsc-cnn#usage).

You'd have to put the models folder inside lsc-cnn as mentioned here (https://github.com/val-iisc/lsc-cnn#usage).

Hi, thank you for your quick reply.
When I cloned the project I found another folder named lsc-cnn in the project folder which is also called lsc-cnn, so I am a little confused.
So should I just put the models folder in the project lsc-cnn along with network.py main.py or outside the folder along with dataset folder? Hope my expression is not confusing.
Thanks in advance.

You'd have to put it along with other .py files. Thanks for pointing this out. I'll remove the other folder.

Closing this for now. Feel free to re-open if the problem continues to exist.


Support connecting multiple nodes of the cluster

Support connecting multiple nodes of the cluster

Hi, why is the CI not working?

Hi, why is the CI not working?

Maybe jihang's permission is not enough?

Hi, why is the CI not working?

Maybe jihang's permission is not enough?

Hi, why is the CI not working?

Maybe jihang's permission is not enough?

I don't think so, Eugene-Song should have same permission, his PR was running CI however...
https://github.com/apache/iotdb-client-go/pull/21
Can you plz try closing and reopening the PR again to see if the CI working?

as it submit PR to the "main" branch, rather than "master"...

as the PR submits codes to the "main" branch, rather than "master"...

https://github.com/apache/iotdb-client-go/pull/26 could trigger ci work. And the repo only has main branch.


long time to resume "play Joe Rogan Experience on TuneIn"

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
The SDK needs long time to play Joe Rogan Experience on TuneIn
same issue: https://github.com/alexa/avs-device-sdk/issues/1050
What is the expected behavior?
Resume in short time
What behavior are you observing?
The time to resume depend on offset to resume. If the offset is more than 10 minutes, it needs about 20/30 seconds or more (depend on net speed) to resume.
Provide the steps to reproduce the issue, if applicable:

"Alexa play Joe Rogan Experience on TuneIn"
wait 6 minutes
"Alexa stop"
wait 2 minutes
"Alexa resume"
wait 16 minutes
"Alexa play <podcast_name> on TuneIn"
wait 16 minutes
"Alexa play Joe Rogan Experience on TuneIn"
"Alexa stop"

Tell us about your environment:

  <1.14>
  <1.16>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[x] Other - tell us more: imx7

Tell us about your OS (Type & version):

[x] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[x] Other - tell us more: yocto thud with linux kernel

Hello @dpinarello ,
Thank you for bringing this to our attention.  As you mentioned in your description, this is a known issue.  We still hope to address it in a future release.
Best regards,
-SWH

Hello @scotthea-amazon ,
thanks for your reply, the future release is 1.17 just released, or another future ones?
This mean that, at this moment, the behavior is this?
Best Regards,
Damiano

It was not fixed in 1.17 or 1.18, unfortunately.

Hello @dpinarello,
We have a task in our backlog to fix this, so I am closing out the issue.  We will announce a fix in our release notes when the fix is released.
Thank you again for bringing this to our attention!
Best regards,
-SWH


Retail - added documentation for Intelligent Recommendation deployment

Summary of the Pull Request

PR Checklist

[x] Closes Issue #xxx
[x] Code of Conduct signed. If not, go to Code of Conduct.

Validation Steps Performed

This PR is in Draft state. Please do not change state. Thanks!

I'll address linting errors at the end before this PR is ready. Thanks!

Added more details in relation to security and networking aspects of IR. Will fix up linting issues once draft is complete. Aiming for Sunday 03-04-2022

@sasever  - this is ready for review. Thanks!


FormatNumericToString - isNegative first value clarification

Hi guys,
I'm looking at the FormatNumericToString function, and I'm here to ask why in line 1a we set isNegativeValue to true.
At line 3 we are going to replace it anyway.
IMO we should avoid the check on line 3 if x is negative-zero and also we could move the assert on line 2 as first action.
What do you think about it?
cc: @micheleriva

Yes, good catch 👍

Duplicate of https://github.com/tc39/proposal-intl-numberformat-v3/issues/67


Variable being renamed unnecessarily is breaking code

Describe the bug
Running the function f() from the input code, causes the console to log "original string", whereas running the one outputted by the compiler results in "new string" being logged.
Input code
function f() {
  var value$2 = 'original string';
  if (true) {
    var value$21 = 'new string'
    console.log(value$2)
  }
  [].map(function x(_) {
    var value$2; // this causes the previous value$2 to become value$21
    return value$2
  })
}

Config
{
  "jsc": {
    "parser": {
      "syntax": "ecmascript",
      "jsx": false
    },
    "target": "es5",
    "loose": true,
    "minify": {
      "compress": false,
      "mangle": false
    },
    "keepClassNames": true
  },
  "module": {
    "type": "es6"
  },
  "minify": false,
  "isModule": true
}

Playground link
https://play.swc.rs/?version=1.2.124&code=H4sIAAAAAAAAA21OzQqCQBC%2B%2BxRzCFwvSl2lJ4mIbZm1gXVG9keD8N1bLYWgwwfDfL82sYkkDFZV8CoARu0zXMLDCc5QiqeOWDsI0RN3ZZslZEFFn%2FBj%2BLEcFw%2FjtMlX3ggHcVg76dRXV2Vizrhc614Pym4rnur2J7WFpoH4oABGp4Ah3wiDx5EkhX1tFLijkR73MWuOx5g8b7%2Bltyrm4g21Prmx%2BAAAAA%3D%3D&config=H4sIAAAAAAAAA0WNOw7DIBBE77I1bVLQpk7usCJrC4efGCwFId894CC5W828edtogyHdKHGG5HGhhsJf0iTGM0y2qZDqWI8WdpBDUeG8ShkIbr1zMUJIl7yLIm%2BDXeoQmehTFmDuesVhdXJpPiLp4Rh4sRf8BT328b0PrFGpSc4vdzou87RZPCd47n5%2FjK7bygAAAA%3D%3D
Expected behavior
I think that there are two problems:

The compiler shouldn't have renamed the first value$2 to value$21 in the first place. It does that because of the second declaration inside function x(_), but it's not necessary since variables are scoped to its closures, so the shadowing is valid.
The compiler should notice that the var value$21 declaration inside the if block clashes with the compiler's renaming of value$2 to value$21, so it should probably rename it to something else (or not at all, as mentioned in the previous point.). Notice that the bug is gone if the code is taken out off the if block.

Actual behavior
No response
Version
1.2.124
Additional context
This might seem like an unrealistic example, but it actually broke our application written in Rescript, whose compiler outputs a lot of variables suffixed with numbers.
Update: Looks like this only started happening on v1.2.102

Another case
var h = destination.$$hashKey;
forEach(destination, function (value, key) {
    key;
});
for (var key in source) key = copy(key);

transforms to
var h = destination.$$hashKey;
forEach(destination, function(value, key1) {
    key1;
});
for(var key in source)key = copy(key);

Yet another case


Move Hover Card to RBUI

I took the opportunity to change "popover controller" to "hover card controller".

this looks great! @cirdes do you things its ok to move the popver controller into the hover popover or just keep things in the popover controller?

yeah i think this looks good overall. I am curious whats a good way to parse out all stimulus controllers from the phlex component to find what stimulus controllers are needed for that specific component that way we do not have to have duplicated code for all the components that need the same controller if that makes sense. maybe marco roth would have a good idea.


Cannot find module '@storyblok/react/rsc' or its corresponding type declarations.ts(2307)

Describe the issue you're facing
In my Typescript Next.js app I am unable to
import from @storyblok/react/rsc like below:
import { storyblokInit, apiPlugin } from '@storyblok/react/rsc';
and am getting
Cannot find module '@storyblok/react/rsc' or its corresponding type declarations.ts(2307)
If I in my tsconfig.json switch and go from:
    "module": "esnext",     "moduleResolution": "node",
to
    "module": "bundler",     "moduleResolution": "node",
or to
    "module": "NodeNext",     "moduleResolution": "NodeNext",
I can import it without errors but will then get multiple other typescript problems in my project due to components not being imported correctly.
I even tried the full-server-side branch in https://github.com/storyblok/next.js-13-boilerplate/tree/full-server-side and as soon as I go over to using Typescript I am getting the same problems in this project.

Reproduction
https://github.com/storyblok/next.js-13-boilerplate/tree/full-server-side
Steps to reproduce
Clone down https://github.com/storyblok/next.js-13-boilerplate/tree/full-server-side and rename layout.js to layout.tsx and page.js to page.tsx and run yarn dev or npm run dev.
System Info
System:
    OS: macOS 13.2.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 66.63 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.17.1 - ~/.volta/tools/image/node/18.17.1/bin/node
    Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
    npm: 9.6.7 - ~/.volta/tools/image/node/18.17.1/bin/npm
    pnpm: 8.6.12 - ~/.nvm/versions/node/v16.17.0/bin/pnpm
  Browsers:
    Chrome: 120.0.6099.216
    Safari: 16.3

Used Package Manager
npm
Error logs (Optional)
No response
Validations

[X] Follow our Code of Conduct

This is working for me with Typescript 5.0+.
tsconfig.json:
"module": "esnext",
"moduleResolution": "Bundler",

This is working for me with Typescript 5.0+.
tsconfig.json:
"module": "esnext",
"moduleResolution": "Bundler",

Yes that's what I said in the issue.

Yes that's what I said in the issue.

Are you sure? I see these combinations but not esnext + Bundler:

If I in my tsconfig.json switch and go from:
"module": "esnext", "moduleResolution": "node",
to
"module": "bundler", "moduleResolution": "node",
or to
"module": "NodeNext", "moduleResolution": "NodeNext",

That is really the only combination that worked for me.
I had to fix a few other typescript errors in my projects but it's all working now on multiple projects.

Yes that's what I said in the issue.

Are you sure? I see these combinations but not esnext + Bundler:

If I in my tsconfig.json switch and go from:
"module": "esnext", "moduleResolution": "node",
to
"module": "bundler", "moduleResolution": "node",
or to
"module": "NodeNext", "moduleResolution": "NodeNext",

That is really the only combination that worked for me. I had to fix a few other typescript errors in my projects but it's all working now on multiple projects.

I realise now when I wrote the issue I put "bundler" in the wrong place. I've edited the issue now.
Anyways it would be nice if @storyblok/react/rsc could work with
"module": "esnext", "moduleResolution": "node",
If I import @storyblok/react it works without problems, but when adding /rsc is when the issue appears.

Hey @duddelito ! I am glad it is working for you now.
To use our RSC version of React SDK you need a typescript version with support for multi-libs. That’s why we suggest module resolution set to bundler (or nodenext).
FYI, node refers to Node 14 which is been largely unsupported and deprecated for a while.
I see that it is already solved for you, so I will close the issue but feel free to open another one if there is anything else :)


Add support for secure boot

Signed-off-by: Yang, Kai<EMAIL_ADDRESS>

@yang-kaix thanks for the contribution, it's merged.


ESP32 will not start (IDFGH-1309)

I cannot get the ESP32 board to run using ESP home no matter what config i try. I have removed all information regarding the camera from the Yaml file and it still doesnt load.
I have used 4 different boardtypes in my yaml file. I have tried just a standard ESP intstall with no other components. Any help would be appreciated
If i install the standard esp32 camera webserver using arduino then the camera works perfectly. I have a esp32-s Ai-thinker board with a camera attached.
I am using NodeMCU to upload the .bin file.
My yaml file looks like:
esphome:
  name: cam2
  platform: ESP32
  board: nodemcu-32s

wifi:
  ssid: "redacted"
  password: "redacted"

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "redacted"

ota:
  password: "redacted"
# Author by airijia.com
# ESP32-CAM
# Lovelace camera card https://github.com/custom-cards/camera-card
# Video tutorial https://youtu.be/-towjof_ixU

#wifi:
#  ssid: $ssid
#  password: $password
#  fast_connect: True
#api:
#  reboot_timeout: 0s
#ota:
#logger:

# ESP32-CAM

# Example configuration entry
esp32_camera:
  external_clock:
    pin: GPIO21
    frequency: 20MHz
  i2c_pins:
    sda: GPIO26
    scl: GPIO27
  data_pins: [GPIO4, GPIO5, GPIO18, GPIO19, GPIO36, GPIO39, GPIO34, GPIO35]
  vsync_pin: GPIO25
  href_pin: GPIO23
  pixel_clock_pin: GPIO22
  power_down_pin: GPIO32
  reset_pin: GPIO15
  resolution: 640x480
  jpeg_quality: 10
  # Image settings
  name: My Camera
# ... Frame Settings

# Flashlight
#output:
#  - platform: gpio
#    pin: GPIO4
#    id: gpio_4
#light:
#  - platform: binary
#    output: gpio_4
#    name: "light"

I think this issue belongs here https://github.com/esphome/issues/issues ??

moved to correct area


Simple exemple

Hi,
I would like to use brevis on my cell cultures and tissue sections. But I don't know where to start...
Is there a notebook or something like that for reproduce the methodology and figures from your paper?
Several errors stop the code.
Thank you
Nicolas

Hi,
"Hi, we didn't use notebooks for the model training. As we had different methodologies for the different fluorescence channels and compared several architecture choices, it was easier to run things more directly through python, modifying the config files accordingly for each case. However, the code we provide here in BREVIS is quite modular, so it should be possible to modify the various parts as needed for different use cases. The first thing to do is to make sure your data is structured in the way specified in the README file. After that, you should change the config files to specify the data location, models, and architecture specifications you want to explore".

Hi,
Yes, of course, it works on our computers!
Please make sure that you have done everything in the checklist provided below:

Do you have the necessary libraries installed? Unfortunately, we didn't provide the list of necessary libraries in the README, so here they are:

albumentations
matplotlib
numpy
opencv-python
pandas
pillow
torch
torchvision
scikit-image
scikit-learn
scipy
seaborn
tqdm

Did you change the data structure of the dataset to match ours?
Did you make the CSV files in exp_stats similar to what we have provided?
Did you change the config files so that all the information is correct according to the experiment that you want to run?

Please go through this checklist, and if you still face any errors, let us know via email.

Hi,
Sorry but I can't get the code to work.
I got the example file from the Adipocyte Cell Imaging Challenge, I have in input 7 images. (The 7 images are in the file adipocyte_data/60x images and the file names are the same as the origin).
In the nuclei train json i put the "run_mode" to "test" and the path to the model "test": {
"tester": "LUPITester",
"model_path": "C:\Users\goff0007\Desktop\brevis-master\pre-trained_models\C3_60x.pth"}
what am I supposed to do next ?
Thank you
Nicolas


Upgrade to Django 3.1.14 for security fixes

This bumps Django from 3.1.13 to 3.1.14, which fixes  CVE-2021-44420.

we should consider upgrading to django 3.2

we should consider upgrading to django 3.2

Not by any means within this. Just a reminder for us


Question: What's the purpose of tags-projection?

Hi @christianbuck,
Could you please describe what is the purpose and future implementation of tags-projection?
I can only speculate few possibilities with matecat.
Thank you!
Have a nice day

Hi, the goal would be to keep tag management outside the decoder, and handle this part entirely via pre-/post-processing: 1. remove tag MT input, 2. word align input and MT output, 3. transfer tag from input to MT output.

Thank you for your answer!
Have a nice day


In integration with rake unable to output html report file with html formatter

In CI of ROR using jenkins when I integrate rubocop with rake I also want to publish html report file with html formatter.
Existing rakefile:
RuboCop::RakeTask.new(:rubocop) do |task|
task.patterns = ['lib/**/*.rb']
only show the files with failures
task.formatters = ['files']
don't abort rake on failure
task.fail_on_error = false
end
Please suggest the changes required in it
Expected behavior: Auto generated HTML report for every rubocop task run
Actual behavior: Output shown on Console only no HTML report
RuboCop version
$ rubocop -v
0.37.2

please reply @bbatsov

@sudhanshusr it doesn't look like you're setting the HTML formatter in your Makefile.

@segiddins when i set the task.formatters = ['html'] in mt rake file then it prints the html file on console itself. I want a separate output file for the rubocop report.

It's not elegant, but you can pass command line options in the rake task itself like this:
task.formatters = ['html']
task.options = ['--out', 'rubocop-report.html']

thanks @iconoclast it works for me


include median confidence interval in estimates?

Hello,
Would it make sense to include median confidence intervals in the estimates? For example, in the object returned from KaplanMeierFitter(), after fitting, one could do:
# get the confidence interval of the median
# start by finding the median on the timeline
median_ci_idx = kmf.confidence_interval_.index.get_loc(median_lifespan,
                                                       method='nearest')
# then get the confidence interval at the point of the median
median_ci = kmf.confidence_interval_.iloc[median_ci_idx]
# to find the confidence interval for the value of the median
# we will get a horizontal line passing through the value of the
# median; note that the greater value comes earlier, and the smaller later
lcl = (kmf.survival_function_['KM_estimate']
       <= median_ci.loc['KM_estimate_upper_0.95']).idxmax(0)
ucl = (kmf.survival_function_['KM_estimate']
       <= median_ci.loc['KM_estimate_lower_0.95']).idxmax(0)

This is what is essentially done by R, as explained in print.survfit.

There is a util function in lifelines to make this easy:
from lifelines.utils import median_survival_times
print median_survival_times(kmf.confidence_interval_)
# dataframe
"""
                          0.5
KM_estimate_upper_0.95  530.0
KM_estimate_lower_0.95  468.0
"""

What's I think more interesting is add a __repr__ function to a fitted KaplanMeierFitter that this could be expressed in.

Thanks!
In fact this is a different interpretation of the median confidence interval than the one used in print.survfit. In lifelines we get the the median of the lower and the upper confidence interval functions; in print.survfit we get the median of the KM function and then find the intersection of the horizontal like with the two confidence interval functions.
I am not a statistician so I do not know which of the two most people would mean when they talk about confidence intervals of the median.

@robertcv what's not working? Can you provide an example or code snippet?

In the previous comment you point to median_survival_times as a method of getting the 95% confidence interval for the median survival time. In the current version of the package, this function only returns the median survival time and does not include the interval.

I'm not sure I'm seeing the same thing as you:
from lifelines.utils import median_survival_times
kmf = KaplanMeierFitter().fit(np.random.exponential(2, size=50000))
print(median_survival_times(kmf.confidence_interval_))

returns two values, 1.383272 & 1.418151

I am sorry, now I see why it didn't work for me. The function behaves differently depending on what you have on the input. I used median_survival_times(kmf) instead of median_survival_times(kmf.confidence_interval_) and only got the median time. I would suggest updating the documentation on this function. The parameters description uses "or" and I thought that it makes no difference if I use the model class or the confidence interval DataFrame.


Update kubeadm join for windows documentation for hostprocess containers support

This is a Feature Request

What would you like to be added

The documentation for add using kubeadm to join Windows nodes to a cluster should be updated to take into account running CNI pods as HostProcessContainers.
content/en/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes.md
Why is this needed
When using containerd CNIs needed to either be installed as a windows service or run as a HostProcessContainer to function properly.
The currently installation steps only work when running CNIs as a Windows server OR running CNI pods with Docker (which uses a docker network to work around host-networking limitations on Windows)
Comments

/sig windows

/triage accepted

/sig cluster-lifecycle
too


[CELEBORN-767][DOC] Update the docs of celeborn.client.spark.push.sort.memory.threshold

What changes were proposed in this pull request?
As title
Why are the changes needed?
clearly the usage of conf celeborn.client.spark.push.sort.memory.threshold
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GA

@waitinfuture


Inaccuracies with "assert" return typing

Currently the assert function type is defined as
function assert(value: a, errorMessage: string?): a

when in actuality assert returns a tuple, thus it should be some variant of
function assert(value: a, errorMessage: string?): (a, ...)

Under most circumstances this is fine, however recently it caused some headaches when I tried asserting a value directly into a table, leading to the second return variable, the error message itself, being added to the table.

Makes sense! I didn't really understand the underlying mechanism, so I didn't want to assume too much hence the (a, ...), your type definition is certainly better and should be used.

The problem is that assert only returns an error message if one is provided, so the most accurate return type would have to have either a constrained generic (which we don't have in luau yet) or an overloaded function, which would look something like this:
type assert = (<a>(value: a) -> (a)) & (<a>(value: a, errorMessage: string) -> (a, string))

Actually, assert has a rather weird, and undocumented, behaviour.  errorMessage can be any object (in fact, it is variadic) as long as value is truthy, but same argument can only be string or number otherwise (for some reason), and it only prints the first value passed to errorMessage .
Therefore, the more accurate type annotation would be like this:
type assert = ((value: false?, errorMessage: (string | number)?) -> never)
	    & (<V, A...>(value: V, A...) -> (V, A...))

Interesting, is it possible that the usage of non-strings is deprecated? If not then a second variadic type would certainly be the best way to type it.

Interesting, is it possible that the usage of non-strings is deprecated?

This implies that this behaviour was documented at some point, but a quick check of the official documentation for different versions of Lua reveals that it was never documented in the first place ever since the function was added back in Lua 2.4

Therefore, the more accurate type annotation would be like this:
type assert = ((value: false?, errorMessage: (string | number)?) -> never)
	    & (<V, A...>(value: V, A...) -> (V, A...))

I think it would be best to use the first annotation since this would just be confusing to newcomers. I doubt anyone in the history of Lua has actually used this behavior, and it would be best to keep it that way.


Use servo/fontconfig instead of silverknife bindings

As discussed here](https://github.com/abonander/fontconfig-rs/pull/5#issuecomment-265029252).

https://github.com/servo/rust-fontconfig/pull/35


Please submit to supermarket.chef.io

Using directly from the repository is a bit clunky and it would be great if the maintainers could create a release and push to supermarket.chef.io

:+1: on this. I've got contributor rights here, but do not have the ability to push a release to the Supermarket.
The current state of this cookbook is “good enough” to use. Additional improvements can be incremental.

:bow:

@jeffbyrnes, oh? That is a bug I think. I'll see if I can fix that today ...
To be honest I still have not figured out how personally to push a cookbook to the Supermarket :/

@jakedavis simplest way I've found is to just use Stove. Failing that, check out the knife cookbook site docs.

Okay, so ... Stove doesn't work for me:
{"error_code"=>"INVALID_DATA", "error_messages"=>["The metadata is formatted incorrectly.", "Multipart POST part 'tarball' must contain a non-empty README."]}

The README is non-empty so I have no clue on this. knife cookbook site share claims I do not have a cookbook called exhibitor even though my cookbook path points to the right directory and the directory and metadata both say exhibitor.
At this point, I really do not care whose account it's under if someone else wants to upload it (the cookbook does not presently exist on the supermarket). This is probably for the best anyway as we (at Simple, that is) do not use the supermarket at all and thus are probably not the best equipped here.

@jakedavis man, that is frustrating. I'll see about publishing it and granting you access.

And published: https://supermarket.chef.io/cookbooks/exhibitor
@jakedavis my copy of Stove worked w/o any issues. Here's the commands I used:
$ git checkout v0.4.0
$ stove --no-git --username jeffbyrnes --key ~/.chef/jeffbyrnes.pem

Thanks @jeffbyrnes, I appreciate it. I'm guessing in that case then that it is my knife.rb that is not comprehensive enough or something. I'll see soon here about generating a new one or reading some docs on it. I can try --no-git too.

@jakedavis mm, very possible. We have a heavily populated knife.rb that we use; it's based on what the starter Chef repo used to contain. Might be handy to use Chef DK to generate a fresh Chef repo, and see what that knife.rb looks like (if it creates one at all).


firebase notifications when app is closed

I know there where reports before, but are marked as closed and I'm still experiencing the same issue
when my app is in the background and receives a notification it shows properly and i get this log
[DEBUG] D/ti.goosh.IntentService: Push notification received from:<PHONE_NUMBER>93
[DEBUG] D/ti.goosh.IntentService: Notification key : google.sent_time =><PHONE_NUMBER>641 (java.lang.Long)
[DEBUG] D/ti.goosh.IntentService: Notification key : data => {"alert":"Qwer","sound":"default","chatRoomId":"db08cfbe-ec47-4d31-8bd4-f4e308180a6b","force_show_in_foreground":true,"vibrate":true,"chatRoomName":"Ivan Sarpi","title":"Ivan Sarpi"} (java.lang.String)
[DEBUG] D/ti.goosh.IntentService: Notification key : title => Ivan Sarpi (java.lang.String)
[DEBUG] D/ti.goosh.IntentService: Notification key : google.message_id => 0:1490879315646921%%bbb352d4f9fd7ecd (java.lang.String)
[DEBUG] D/ti.goosh.IntentService: Notification key : message => Qwer (java.lang.String)
when i click that notification i get this
[DEBUG] D/ti.goosh.TiGooshPushHandlerActivity: started
[DEBUG] [TiPush]: {"inBackground":true,"data":"{\"alert\":\"Qwer\",\"sound\":\"default\",\"chatRoomId\":\"db08cfbe-ec47-4d31-8bd4-f4e308180a6b\",\"force_show_in_foreground\":true,\"vibrate\":true,\"chatRoomName\":\"Ivan Sarpi\",\"title\":\"Ivan Sarpi\"}"}
[INFO]  {"alert":"Qwer","sound":"default","chatRoomId":"db08cfbe-ec47-4d31-8bd4-f4e308180a6b","force_show_in_foreground":true,"vibrate":true,"chatRoomName":"Ivan Sarpi","title":"Ivan Sarpi"}
and it does what it's suppose to do (open a new window)
now, when the app is closed, i get this log when the notification arrives (it shows properly)
[DEBUG] D/ti.goosh.IntentService: Push notification received from:<PHONE_NUMBER>93
[DEBUG] D/ti.goosh.IntentService: Notification key : google.sent_time =><PHONE_NUMBER>307 (java.lang.Long)
[DEBUG] D/ti.goosh.IntentService: Notification key : data => {"alert":"Sfdac","sound":"default","chatRoomId":"db08cfbe-ec47-4d31-8bd4-f4e308180a6b","force_show_in_foreground":true,"vibrate":true,"chatRoomName":"Ivan Sarpi","title":"Ivan Sarpi"} (java.lang.String)
[DEBUG] D/ti.goosh.IntentService: Notification key : title => Ivan Sarpi (java.lang.String)
[DEBUG] D/ti.goosh.IntentService: Notification key : google.message_id => 0:1490879747312886%%bbb352d4f9fd7ecd (java.lang.String)
[DEBUG] D/ti.goosh.IntentService: Notification key : message => Sfdac (java.lang.String)
but when i click it, it only opens the app and doesn't open the new window, it says this in the logs
[DEBUG] D/ti.goosh.TiGooshPushHandlerActivity: started
[ERROR] TiApplication: (main) [45015,45015] No valid root or current activity found for application instance
[INFO]  TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
[INFO]  TiApplication: (main) [1,1] Analytics have been disabled
[WARN]  V8Object: (KrollRuntimeThread) [235,236] Runtime disposed, cannot set property 'userAgent'
[WARN]  TiApplication: (KrollRuntimeThread) [5,241] Registering module with name already in use.
[INFO]  TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.ubqti.mega.UbqtiMegaActivity@7aeb756
[DEBUG] Window: Checkpoint: postWindowCreated()
[WARN]  TiApplication: (KrollRuntimeThread) [115,115] Registering module with name already in use.
[DEBUG] D/ti.goosh.TiGooshModule: No notification in Intent
I'm using titanium 6.0.3.GA
and ti.goosh 2.0.5
thanks!
edit:
also, could it be related to this i have in my manifest?
<android xmlns:android="http://schemas.android.com/apk/res/android">
    <manifest android:versionCode="1" android:versionName="1.00">
        <uses-permission android:name="android.permission.INTERNET"/>
        <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
        <uses-permission android:name="android.permission.CAMERA"/>
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
        <uses-permission android:name="android.permission.READ_CONTACTS"/>
        <application android:hardwareAccelerated="true" android:theme="@style/Light">
            <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
            <activity
                android:configChanges="keyboardHidden|orientation|screenSize"
                android:label="@string/app_name"
                android:name=".UbqtiMegaActivity"
<EMAIL_ADDRESS>                <intent-filter>
                    <action android:name="android.intent.action.MAIN"/>
                    <category android:name="android.intent.category.LAUNCHER"/>
                </intent-filter>
                <intent-filter>
                    <action android:name="android.intent.action.VIEW"/>
                    <category android:name="android.intent.category.DEFAULT"/>
                    <category android:name="android.intent.category.BROWSABLE"/>
                    <data android:scheme="ubqtimega"/>
                </intent-filter>
            </activity>
        </application>
    </manifest>
</android>

Same problem here. Did you find a solution?

might be related to https://jira.appcelerator.org/browse/TIMOB-24316
i know there's some titanium issues regarding intents in general. Hopefully those will be fixed in 6.0.4

Issue is with the Modules parseBootIntent method if should be setting:
notification = intent.getExtras().getString(INTENT_EXTRA)

can you test and create a pull request for this?

The issue @Bertuzb mentioned seems related. The pull request for the fix includes this commit https://github.com/appcelerator/titanium_mobile/pull/8910/commits/dddb6a3a2f1803abd60451e3600564943c3d08b4
The condition should be correct instead

im running 6.0.4 now though but I still cant seem to receive notification data  in-app (after clicking notification) while having the app in background

I'll make some tests shortly

https://gist.github.com/Bertuzb/217b080b935aab362c72b213c3625368
its the testcase I used. Basically, the focus event on the main window is called when resuming from background. It should contain some data but it currently doesnt. Hope it helps

SDK: 6.0.4 https://github.com/caffeinalab/titanium_mobile/tree/6_0_X_CAFFEINA fork from the -
official 6.0.4 release with some new features.
ti.goosh: 2.0.5
device: Samsung Galaxy S5 G900F

[x] App closed: Notification is received and callback is fired when tapped on it
[x] App in background: Notification is received and callback is fired
[x] App in foreground: Callback is fired
Tested with SDK 6.0.0.GA and all cases still work.

You should always call registerForPushNotifications because it initialises the module with the callback functions.
$.index.open();

var TiGoosh = require('ti.goosh');
TiGoosh.registerForPushNotifications({
    // The callback to invoke when a notification arrives.
    callback: function(e) {
        alert(e.data);
        /*var data = JSON.parse(e.data || '');
        Ti.API.debug("Callback", data);*/
    },

    // The callback invoked when you have the device token.
    success: function(e) {

        // Send the e.deviceToken variable to your PUSH server
        Ti.API.debug('Notifications: device token is ' + e.deviceToken);

    },

    // The callback invoked on some errors.
    error: function(err) {
        Ti.API.error('Notifications: Retrieve device token failed', err);
    }
});

can you test the additional data attribute? I am also receiving the notification when the app is in background but when clicking it, the app does not receive any data.
If you could provide your testcase that would be awesome too

Also that first comment confused me, a fork of 6_0_X with "some new features" but last line says you tested with 6.0.0.GA

I tested the module with both our fork of the sdk 6.0.4.GA and the official sdk 6.0.0.GA and it works every time. The code I'm using is the one I provided in the comment above.
alert(e.data) is correctly displayed every time

what do you do exactly with the google play services? I notice i get an error stating
[ERROR] GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

but i am not sure how to install these and how to make it work with various android devices. Until now I was under the assumption this did not affect this issue, but perhaps it does?

The message is obsolete. It's a bug in google play services but doesn't impact on the module. It works nonetheless

last thing i can find is this error im getting:
05-04 13:05:38.802: E/Notification(2383): setLatestEventInfo() is deprecated and you should feel deprecated.
05-04 13:05:38.802: E/Notification(2383): java.lang.Throwable
05-04 13:05:38.802: E/Notification(2383): 	at android.app.Notification.setLatestEventInfo(Notification.java:2083)
05-04 13:05:38.802: E/Notification(2383): 	at com.android.server.am.ActivityManagerService$MainHandler.handleMessage(ActivityManagerService.java:2352)
05-04 13:05:38.802: E/Notification(2383): 	at android.os.Handler.dispatchMessage(Handler.java:102)
05-04 13:05:38.802: E/Notification(2383): 	at android.os.Looper.loop(Looper.java:154)
05-04 13:05:38.802: E/Notification(2383): 	at android.os.HandlerThread.run(HandlerThread.java:61)
05-04 13:05:38.802: E/Notification(2383): 	at com.android.server.ServiceThread.run(ServiceThread.java:46)

Im using a Samsung Galaxy S3 but its running Android 7.1 (LineageOS). I have also tried on an Android 6.0.1 device but it does not throw the above error. Both devices will not call the callback even though its registered on startup.
Can you post the tiapp manifest?

hold on im experiencing some differences between the api endpoints
https://android.googleapis.com/gcm/send (old one which this module implies)
and
https://fcm.googleapis.com/fcm/send (new one which i use)
I am getting correct callback events indeed on the gcm variant

well this seems to have something to do with https://firebase.google.com/docs/cloud-messaging/concept-options#notifications_and_data_messages .
The payload im sending to POST https://fcm.googleapis.com/fcm/send is:
$data = json_encode(
      [
        $sendKey => $to,
        'notification' => ..., // title and body as seen in https://firebase.google.com/docs/cloud-messaging/http-server-ref#notification-payload-support
        'data' => [
          'data' => $data // some custom data
        ]
      ]
    );

Removing the notification key causes the use of data key to form a notification. The data key must then contain alert (and preferabbly also title). Defining notification takes precedence though.
The notification object behaves like (quote): "FCM automatically displays the message to end-user devices on behalf of the client app. Notification messages have a predefined set of user-visible keys and an optional data payload of custom key-value pairs."
I will try some tests with the data object, but I have to make it work for iOS devices as well (they use the same firebase service).

Yeah that's true. I remember, I answered this in a previous issue. notification and data don't work well together. Check out https://github.com/caffeinalab/ti.goosh/blob/master/test-fcm to see a simple implementation

ok thanks for the effort you put into this. I will try to convert my api call to use the data-setup, but i might receive conflicts on the iOS side.
It might be a good idea as well to put a notice somewhere in the readme, that points the difference out vs notification and data. The TiGoosh module states GCM/FCM support after all but it has some gotcha's

Yeah true. We'll update the documentation. Thanks for the feedback

hallo , I have problem
I use SDK: 6.0.4 , Appcelerator Studio build: 4.8.1
ti.goosh: 2.0.6
device: Lenovo k4 note a7010
[x] App closed: Notification is received and callback is fired when tapped on it
[x] App in foreground: Callback is fired
My problem is :
[x] App in background: Notification is received and callback not fired

@zulfiandri still encountering this problem?


publishing v1.1.2 required

Issue custom template:
[Describe your issue here]
publishing required v1.1.2

publishing v1.1.2 soon


Error while creating report

I have installed the reporter on CentOS 7 and Grafana 7.4.3. Grafana has restricted access. The installation and testing with MyFirstReport went well.
I created the following template:
= First Grafana report template
: grafana_default_dashboard: hiaysXEGk
grafana_panel_image: 3 [dashboard = "hiaysXEGk"]
and created the link in the Grafana dashboard.
I always get the following error:
GrafanaError: The specified dashboard 'hiaysXEGk' does not exist. (Grafana :: DashboardDoesNotExistError)
/usr/lib64/ruby/gems/2.7.0/gems/ruby-grafana-reporter-0.3.0/lib/grafana/grafana.rb:71:in dashboard ' /usr/lib64/ruby/gems/2.7.0/gems/ruby-grafana-reporter-0.3.0/lib/grafana_reporter/asciidoctor/extensions/panel_image_inline_macro.rb:48:in process'
/usr/lib64/ruby/gems/2.7.0/gems/asciidoctor-2.0.12/lib/asciidoctor/substitutors.rb:333:in [] ' /usr/lib64/ruby/gems/2.7.0/gems/asciidoctor-2.0.12/lib/asciidoctor/substitutors.rb:333:in block (2 levels) in sub_macros'
Note that the dashboard exists.
I think the problem is due to the API key. I don't know where to configure it, I tried in the grafana_reporter.config file like:
grafana:
default:
host: http://api_key:@:3000
Note that  has admin rights
Thanks.

First of all: thanks for using the ruby-grafana-reporter.

You are using the panel image inline macro. Please try using the panel image block macro instead:
grafana_panel_image::3[]
I had some issues a while ago, and maybe they still do persist (I have to check another day)

Your configuration seems weird:
a) Try to create your configuration file with the configuration option -w, to ensure a proper file including connection tests to your grafana instance.
b) Manual way: Try your configuration like this:

grafana:
  default:
    host:  http://<<your_host>>:3000
    api_key: <<your_api_key>>

Hint: the specification of the dashboard [dashboard="hiaysXEGk"] is not necessary, when configured previously with :grafana_default_dashboard: hiaysXEGk

Info: Unfortunately, the reporter demo does not yet properly test against your grafana instance, but rather the proper setup of asciidoctor... This is on the roadmap for a next release.

Let me know, if this helps.

I made the changes you suggested, but the problem persists.
After some testing I found the problem.
The problem is due to the fact that Grafana is configured to not allow anonymous access. In this case ruby-grafana-reporter uses orgId = 0 to access the dashboard:
t=2021-03-23T08:02:50+0100 lvl=info msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/api/dashboards/uid/hiaysXEGk status=401 remote_addr=x.x.x.x time_ms=10 size=26 referer=
If I enable anonymous access in Grafana everything works, in this case ruby-grafana-reporter uses orgId = 1
I don't want to enable anonymous access, is there any way to fix this?
Thanks.

Thanks for your investigation.
The reporter never uses the orgIds, as they are not relevant for the api_key connectivity. Instead, please ensure that the api_key you created is created in the correct organization. api_keys are organization-specific.
This also would explain, why enabling anonymous access is working. In that case the reporter does not use the provided api_key, but rather the read access available as an anonymous person.
Please reevaluate again and kindly come back with your feedback.
PS: If you want to access several grafana instances or several organizations within one grafana instance, you may simply configure additional grafana hosts in the configuration file. Then it's possible to put a query to the individual grafana instance by specifying instance=<<your_configured_grafana_instance_name>> as a property for individual requests, or by setting :grafana_default_instance: <<your_configured_grafana_instance_name>> which then applies as a default to the whole ADOC template.

Can you kindly report if the issue is solved? Otherwise I will close the issue within the next days without further feedback, because of lacking information.

Can you kindly report if the issue is solved? Otherwise I will close the issue within the next days without further feedback, because of lacking information.

Thanks for your support.
I will try and update soon.

I haven't solved the problem.
With this grafana configuration:

when I configure have:

and reporter go wrong

With this Grafana configuration:

I have:

and reporter go fine.

Looks like we're getting closer :-)
To use the reporter in a non-anonymous environment, you have to create an API key first in your grafana organization. Please follow these steps:

Login to your grafana instance

Go to the API key section and create a new key

Create a new API key for the reporter with Viewer permissions. Set the Time to live to an appropriate time.

Copy the shown key - it will never be visible later again!

Add the API key to your reporter configuration file:

grafana:
  default:
    host: <<your grafana host ip>>
    api_key: <<paste the API key here>>

Afterwards test your configuration again.
Please keep me informed, if that solves your issue.
PS: I will add this to the documentation.
PPS: The next reporter version will contain an improved configuration wizard, which asks for the API key, if the connection to grafana is otherwise not working.

Resolved. Thanks.


added decodeURI in 2 places

Commited code from npm with my changes
Hello. I added decodeURI in your package that paths contain utf-8 non-ascii symbols work correctly.

@phpcoder2022 Odd addition but I see no issue with it. Published as 2.0.2. Thanks.


Add functions for max, min and peak-to-peak values of memoryviews

The Python built-in min() and max() functions are very slow on memoryviews, and Numpy's min and max are also slow when called many times on small memoryviews. I found this to be a significant bottleneck in Cherab when creating arrays of many voxels where each voxel contains small arrays of vertex coordinates. I couldn't find any built-in function to quickly calculate these values without going into Python space, so I added some myself.
I could have put these somewhere in cherab-core, but they seem sufficiently general that they could live with the other miscellaneous Cython functions in Raysect. What do you think? Is this the right place for them?
Also, I went with restricting the functions to working on arrays of double only, and named them similar to the builtins but with a trailing underscore to distinguish them. I know ptp isn't a builtin but I kept the underscore for consistency. Do you think these are suitable decisions?

Thanks Jack, they would fit well in the math.cython.utility module. I'll probably rename them though to fit the pattern in that module to: minimum(), maximum() and peak_to_peak().

As I'm about to make a release I'll merge these in with the relevant changes. You'll find them under raysect.core.math.cython when merged.


Advanced sections in Rendering Settings dialog now collapsible.

Fixes issue #2044. Created new class for collapsible sections with animation named "Spoiler". Advanced sections in Rendering Settings dialog now collapsible.
Short demonstration:

Thanks for the comments. That's my first time working with open-source. Been trying to keep the style, but totally missed those. Also changed class as you were asking.


⚠ Bofrost.fr has degraded performance

In ba366c4, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1387 ms

Resolved: Bofrost.fr performance has improved in 96baa48 after 6 minutes.


Add missing entry for Wall Cam 81A0 battery

Problem
The battery percentage sensor for my Wall Cam 81A0 does not show up in the Eufy Security integration, even though the battery percentage for this camera is visible in the official Eufy app.
Investigation
I compared this camera's configuration with the configuration of other cameras for which I do have access to their battery percentage, and everything was in the right place, except for one missing entry: the DeviceBatteryProperty in the DeviceType.WALL_LIGHT_CAM_81A0 array in types.ts.
Fix
Add the missing entry
Testing
Unable to test, but I did try, without any success. I wish there were instructions to quickly and easily test changes from eufy-security-client in my own Home Assistant. @bropat - It would be of great help for potential contributors, and for the growth of this rep, to have a small guide for local testing.

Kind ping @bropat. This is a one line change. Would you mind reviewing?

@bropat I was able to successfully test in my local machine. I don't know if there was an easier way to do this, but I did the following:

I ran npm pack to generate a tgz of eufy-security-client including my changes.
I cloned eufy-security-ws and changed the package.json to force it to consume my generated tgz instead of the latest published npm package of eufy-security-client.
I ran npm pack to generate a a tgz of eufy-security-ws including the consumed local dependency of eufy-security-client.
Then I cloned hassio-eufy-security-client, updated the package.json, and forced it to consume my two locally generated tgz.
I modified the Dockerfile to make it build hassio-eufy-security-client consuming the two tgz.
I built my modified Dockerfile in an aarch64 machine.
I created my own local docker registry and linked it to my personal public domain to make it accessible to HA.
I pushed my built docker image to my own registry, tagged as 1.9.1 to match the latest official dependency version.
I installed samba in my HA, then mounted the addons folder in my local machine.
I copied all the contents of hassio-eufy-security-ws/eufy-security-ws/ into a new folder under addons/.
In my HA, I went to Settings -> Addons -> Add-on store -> Add registry, and I added a link to my own public personal docker registry.
I restarted HA so that the contents of the Addons folder shows up in Settings -> Addons.
Finally, I went to Settings -> Addons, and I can see my copied version of hassio-eufy-security-ws. I am able to install because it uses my docker image.

Here are a couple of screenshots of my 81A0 device:

This screenshot shows the model 81A0 on the left.

This screenshot shows that the battery percentage entity working as expected. It's disabled by default, so I enabled it from the Diagnostics section.

@ChayoteJarocho , these instructions fall into add-on setup, not integration, so no reason to capture it on it. When bropat releases a new version, we will all eventually get it from his repository.


Is there a way to automatically generate literature notes for all, or a selection of, references in the Zotero database?

This is a fantastic plugin, thank you! I'm wondering if the following is possible.
I've been highlighting and/or annotating PDF articles for years using Adobe and more recently Okular. Is there a way to automatically sweep through my Zotero library and create Obsidian literature notes for all of my articles at once? (Or is there a way to create literature notes other than one at a time through Quick Switcher that I haven't discovered?) Ideally, it would also be great to have the option to automatically create notes just for all the articles that had highlights/annotations.
Thank you so much for your work on this!

If I understand right, the Zotero plugin does this - it gives me a command in Zotero, for Export selected to Obsidian. It doesn't seem to work for me - perhaps it does for you? (Issue #99 )

You can try it in latest 1.0.0 plugins, the function is implemented properly (make sure to update both zotero and obsidian plugin!)


ENOENT error with xsd files referenced in lib/axlsx/util/constants.rb and repair warning

I'm not sure if this is a bug or if it's just me. I required axlsx in my rails 3 project, and Package::validate method did not work giving me the enoent error saying lib/schema/#{somefile}.xsd was not a file or directory. I went into the gem in .rvm and manually added the absolute dir path to each of these xsd constants. That fixed my error and validate worked.
So I think there is a bug when setting the xsd constants to relative paths.
Also, I'm using Mac excel 2011 and the latest axlsx gem 1.0.15. Everytime I create an xls file, it needs to be repaired. I looked into an earlier bug submission #1 about this. At least for me, the bug is still persisting.

Hi Phong
Thank you very much for your message.
You are quite right that the gem should not assume that the current directory is the gem's directory.
I've made some changes for release in .16
Ill need a bit more time to test the excel repair. Would it be possible to get a copy of an un-repaired xlsx file for testing?

patched with green specs

Hi Phong
If you have a few minutes, would you please get back to me on excel 2011 repairs? I'd really like to get that sorted out.


Refactor codegen middleware prior to providing interface for pluggable middleware

Describe the Feature
Our smithy-swift package has a couple of ways of code generating calls to middleware.  This needs to be refactored before we provide an interface for pluggable middleware
Is your Feature Request related to a problem?
This hinders our ability to expose a interface for customers to provide their own middleware
Proposed Solution
Not sure yet.
Success criteria

Eliminate duplication of middleware generated for a client operation w/ protocol codegen tests
Clear way to model the order in which middlewares are rendered for an operation
Easy to add/remove/swap pieces of middleware for a specific operation (this might be too large, and could be done in a subsequent ticket)

[x] I may be able to implement this feature request

https://github.com/awslabs/aws-sdk-swift/commit/0c6e65617c06596dbeb88d051072c74273eea880


 Using PHP, how do I:

Put any other object besides a text file, such as an image or tar file, etc
How would I delete an object?

Thanks and again sorry for the silly question and feel free to delete if it doesn't belong here.

Here is the doc to get you started @yebo29  - https://docs.minio.io/docs/how-to-use-aws-sdk-for-php-with-minio-server

Thank you @harshavardhana. That is the documentation I was reading however that shows how to put a text object, which I've done successfully. Now I need to try to upload images and others, which this documentation doesn't show.
I'm currently going through the AWS docs at https://docs.aws.amazon.com/aws-sdk-php/v3/guide/getting-started/installation.html. Am I in the right place? Thanks once again for your help and stop me if this the wrong place.

Is it something like this? 'Body'   => fopen($filename, 'r')

It works! Figured it out. Guess I needed to just verbalize it. Thanks again. Closing.


No permissions to create backup directory

The task Create backup directory fails:
"msg": "There was an issue creating /srv/www/example.com/backup as requested: [Errno 13] Permission denied: '/srv/www/example.com/backup'", "path": "/srv/www/example.com/backup", "state": "absent"
Solution is adding become: yes to server.yml as follows:
- name: Set up backups
  hosts: web:&{{ env }}
  become: yes
  roles:
    - { role: backup, tags: [backup] }
    - { role: Stouts.backup, tags: [backup] }

README should be update to reflect this required change.


ENH: Add sign flipping for BiHemiLabel

This is useful e.g. when concatenating labels in the medial wall.

+1 for MRG when green
thx @larsoner

Codecov Report

Merging #4645 into master will increase coverage by <.01%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master    #4645      +/-   ##
==========================================
+ Coverage   87.69%   87.69%   +<.01%
==========================================
  Files         351      351
  Lines       66583    66593      +10
  Branches    10348    10347       -1
==========================================
+ Hits        58387    58401      +14
+ Misses       5237     5235       -2
+ Partials     2959     2957       -2

thx @larsoner


Better URL shortening

I'm getting 403s now due to usage:
error: {errors: [{domain: "usageLimits", reason: "dailyLimitExceededUnreg",…}], code: 403,…}
code: 403
errors: [{domain: "usageLimits", reason: "dailyLimitExceededUnreg",…}]
0: {domain: "usageLimits", reason: "dailyLimitExceededUnreg",…}
domain: "usageLimits"
extendedHelp: "https://code.google.com/apis/console"
message: "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
reason: "dailyLimitExceededUnreg"
message: "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
@malcolmr any ideas how best to handle this?

I can't confirm, but it looks like the unauthenticated requests to the shortener API either now have a lower quota or (possibly more likely) are hitting that quota limit sooner due to higher usage.
I wrote up a big wall of text here, but it looks like you've done exactly what I was going to suggest in 787a863, so I'll delete it :-)

Thanks - good spot. I'm having teething trouble with it, but I'm basically
there! Sorry to disturb your evening pal :)
On Wed, Mar 18, 2015 at 1:09 PM, Malcolm Rowe<EMAIL_ADDRESS>wrote:

I can't confirm, but it looks like the unauthenticated requests to the
shortener API either now have a lower quota or (possibly more likely) are
hitting that quota limit sooner due to higher usage.
I wrote up a big wall of text here, but it looks like you've done exactly
what I was going to suggest in 787a863
https://github.com/mattgodbolt/gcc-explorer/commit/787a863ffa8f61c4496e1053d30b717e05de327b,
so I'll delete it :-)
—
Reply to this email directly or view it on GitHub
https://github.com/mattgodbolt/gcc-explorer/issues/73#issuecomment-83104983
.

--
Matt

Fixed by 6a2d2a31183fe61c07b8434489bdeb0bfeb82ecb


Retry/Redo the last N actions for a server(s)

Lower priority, originally this would retry to add the last N activities for a server (such as ban/unban) in the event something's going wrong on the discord side.

This could be good for bans that suddenly fail instead of trying to force reactivate the entire server.
It would also mean we don’t override any unbans the server may have as is the case when we have to forceactivate the server again.

Apparently other bots have been striking our ban permission due to how quickly our bot bans scammers. Because of this, we should prioritize this implementation.


Error

--- Start processing account 1 | proxy: null ---
Authorization successful! Token received for Ayanriya1.                       Farming...                                                                    Farming is not ready yet.                                                     Remaining: 5 hours, 28 minutes, 14 seconds.                                   Processing Tasks...                                                            ✅ COMPLETED: Follow PitchTalk on YouTube                                     🟡 VERIFYING: Share X Post                                                    🔴 NOT DONE: Subscribe to PitchTalk chanel
🔴 NOT DONE: Join PitchTalk Chat
✅ COMPLETED: Follow PitchTalk on X
--- Executing task share-tiktok ---
API Error: {                                                                    message: 'Failed to create daily taskInternalServerErrorException: User does not have enough coins',                                                        error: 'Internal Server Error',                                               statusCode: 500                                                             }                                                                             Error processing account: AxiosError: Request failed with status code 500
at settle (/data/data/com.termux/files/home/PitchTalkBot/node_modules/axios/dist/node/axios.cjs:2019:12)                                                    at IncomingMessage.handleStreamEnd (/data/data/com.termux/files/home/PitchTalkBot/node_modules/axios/dist/node/axios.cjs:3135:11)

Did you do it, buddy?


add font id and encoding in font and add cid in LTChar

Pull request
Thanks for improving pdfminer.six! Please include the following information to
help us discuss and merge this PR:

A description of why this PR is needed. What does it fix? What does it
improve?
add font id in Font: Because the font name can be the same on a page, so add fontid attribute.
add cid in LTChar: Because some PDFTrueTypeFont are not correct，so can get cid from LTChar to fix.
add encoding in Font: Same thing as above.

A summary of the things that this PR changes.
add font id at pdfinterp.py when get fonts.
add cid at converter.py when create LTChar object and add cid in LTChar class init.
add encoding at pdffont.py when PDFSimpleFont class init.

Reference the issues that this PR fixes (use the fixes #(issue nr) syntax).
If this PR does not fix any issue, create the issue first and mention that
you are willing to work on it.
not need.

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Include an example pdf if you have one.
Checklist

[ ] I have added tests that prove my fix is effective or that my feature
works
[ ] I have added docstrings to newly created methods and classes
[ ] I have optimized the code at least one time after creating the initial
version
[ ] I have updated the README.md or I am verified that this
is not necessary
[ ] I have updated the readthedocs documentation or I
verified that this is not necessary
[ ] I have added a consice human-readable description of the change to
CHANGELOG.md

@one-leaf Create an issue first to discuss the need of this change.


Example MRI datasets to test/debug the module

Can anyone provide test files for segmentation? NIIFTI compressed preferably.

Sure! this spine-generic database is public and includes a bunch of derivatives. See also the collection of BIDS example datasets, and many many other examples on OpenNeuro.
P.S. I've renamed this issue so it is easier/more intuitive to find in the future

Related to #78

https://github.com/spinalcordtoolbox/sct_tutorial_data :)


error: resource style/LyTheme (aka myapp:style/LyTheme) not found.

Title says it all!
Otherwise really cool library! looking forward in using it.
This happens right after pasting the dependency

Weird, idk man, seems like a argument name conflict or something, can't help you without knowing more about the issue

Sorry about this, just my android studio acting up, cause logic!


While replaying, nodeos tries to remove state/ and blocks/ directory, even if it's a block device.

In Tokenika, we use high-performance ZFS datasets that are mounted in place of state/ and blocks/ directories. ZFS provides high IOPS possibilities and great snapshots, and we would like to use it with our EOSIO infrastructure nodes. EOS node has generally no problems with that running run-time, and snapshots make state backups easy and damn fast.
Unfortunately when executing --replay or --hard-replay nodeos attempts to remove/move whole dictionaries, instead of removing content of those which fails with our setup because you can't simply remove ZFS dataset (mounted in Linux like block device) with simple rm -rf.
Failure on removing state/ directory:
nodeos@api1:/pool/nodeos$ /pool/nodeos/nodeos --data-dir /pool/nodeos/ --config-dir /pool/nodeos/ --replay
2018-09-20T11:37:21.718 thread-0   chain_plugin.cpp:317          plugin_initialize    ] initializing chain plugin
2018-09-20T11:37:21.719 thread-0   chain_plugin.cpp:482          plugin_initialize    ] Replay requested: deleting state database
2018-09-20T11:37:21.719 thread-0   chain_plugin.cpp:632          plugin_initialize    ] 13 N5boost10filesystem16filesystem_errorE: boost::filesystem::remove: Device or resource busy: "/pool/nodeos/state"
rethrow boost::filesystem::remove: Device or resource busy: "/pool/nodeos/state":
    {"what":"boost::filesystem::remove: Device or resource busy: \"/pool/nodeos/state\""}
    thread-0  chain_plugin.cpp:632 plugin_initialize
2018-09-20T11:37:21.719 thread-0   main.cpp:125                  main                 ] 13 N5boost10filesystem16filesystem_errorE: boost::filesystem::remove: Device or resource busy: "/pool/nodeos/state"
rethrow boost::filesystem::remove: Device or resource busy: "/pool/nodeos/state":
    {"what":"boost::filesystem::remove: Device or resource busy: \"/pool/nodeos/state\""}

Failure on moving blocks/ directory:
nodeos@api1:/pool/nodeos$ /pool/nodeos/nodeos --data-dir /pool/nodeos/ --config-dir /pool/nodeos/ --hard-replay
2018-09-20T11:40:18.556 thread-0   chain_plugin.cpp:317          plugin_initialize    ] initializing chain plugin
2018-09-20T11:40:18.556 thread-0   chain_plugin.cpp:462          plugin_initialize    ] Hard replay requested: deleting state database
2018-09-20T11:40:18.735 thread-0   block_log.cpp:325             repair_log           ] Recovering Block Log...
2018-09-20T11:40:18.738 thread-0   chain_plugin.cpp:632          plugin_initialize    ] 0 exception: unspecified
Rename from /pool/nodeos/blocks to /pool/nodeos/blocks-2018-09-20T11:40:18.735 failed because boost::filesystem::remove: Device or resource busy: "/pool/nodeos/blocks"
    {"srcfile":"/pool/nodeos/blocks","dstfile":"/pool/nodeos/blocks-2018-09-20T11:40:18.735","reason":"boost::filesystem::remove: Device or resource busy: \"/pool/nodeos/blocks\""}
    thread-0  filesystem.cpp:314 rename
2018-09-20T11:40:18.738 thread-0   main.cpp:125                  main                 ] 0 exception: unspecified
Rename from /pool/nodeos/blocks to /pool/nodeos/blocks-2018-09-20T11:40:18.735 failed because boost::filesystem::remove: Device or resource busy: "/pool/nodeos/blocks"
    {"srcfile":"/pool/nodeos/blocks","dstfile":"/pool/nodeos/blocks-2018-09-20T11:40:18.735","reason":"boost::filesystem::remove: Device or resource busy: \"/pool/nodeos/blocks\""}
    thread-0  filesystem.cpp:314 rename
rethrow
    {}
    thread-0  chain_plugin.cpp:632 plugin_initialize

Proposed solution:
Change --replay and --hard-replay behavior to remove/move content of directory instead of whole directory.

This feature is available in release v1.3.0 for the state directory.  To solve the problem with the block directory, you should be mounting the data/ directory as your dataset, rather than the blocks/ directory.  (This also allows normal manipulation of the state/ directory.)  That way subdirectories can behave normally, and your block log and state can be automatically kept in sync.

Thank you, I somehow missed that's solved in v1.3.0. Closing.

This feature is available in release v1.3.0 for the state directory. To solve the problem with the block directory, you should be mounting the data/ directory as your dataset, rather than the blocks/ directory. (This also allows normal manipulation of the state/ directory.) That way subdirectories can behave normally, and your block log and state can be automatically kept in sync.

no, totally wrong. Blocks are written linearly and they can reside on HDD easily. State is accessed totally randomly in small 4kb chunks, so it has to reside on SDD, or even a RAID array of SSD. They must not be forced to be on the same partition.

@perduta please reopen the issue if you have the permission.

Reopening to enable further discussion on this topic.

In order to focus our efforts on issues that are currently creating difficulty for the community we are closing tickets that were created prior to the EOSIO 2.0 release.  If you believe this issue is still relevant please feel free to reopen it or create a new one.  Thank you for your continued support of EOSIO!


[BitSail][Runtime] Support native K8S submission

Is your feature request related to a problem? Please describe

Support BitSail on K8S environment.

Define a new communication mechanism between BitSail client and Job Manager.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Currently only supports local and yarn, not k8s yet

Could you assign this to me?

of course，welcome @MonsterChenzhuo

Reminder, is there any problem encountered in this task, we can discuss it together @MonsterChenzhuo


Move ringpop setup to common/membership

What changed?
Ringpop creation is moved to common/membership

Why?
This is part of refactoring needed to introduce selectable membership providers

How did you test it?
Unit tests/local test

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 360ba1f9-0a33-420f-9c2b-74b4611ef219

69 of 120 (57.5%)  changed or added relevant lines in 5 files are covered.
37 unchanged lines in 7 files lost coverage.
Overall coverage increased (+0.04%) to 56.908%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/membership/ringpop_config.go
10
11
90.91%

cmd/server/cadence/server.go
0
3
0.0%

common/membership/rpMonitor.go
0
11
0.0%

common/membership/monitor.go
55
91
60.44%

Files with Coverage Reduction
New Missed Lines
%

common/task/weightedRoundRobinTaskScheduler.go
2
88.6%

common/types/mapper/thrift/shared.go
2
63.49%

service/history/queue/timer_queue_processor.go
2
58.8%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
55.49%

common/membership/rpMonitor.go
6
0%

common/persistence/nosql/nosqlplugin/cassandra/workflowUtils.go
8
78.08%

common/persistence/nosql/nosqlplugin/cassandra/workflowParsingUtils.go
14
87.9%

Totals

Change from base Build 4c92817b-dc2e-45bb-9577-207f98da0720:
0.04%

Covered Lines:
82378

Relevant Lines:
144756

💛  - Coveralls


Implement clear tasks function

Implements clear-t command
Includes relevant test classes
Closes #77

Codecov Report

Merging #78 (d601eab) into master (3859d78) will increase coverage by 0.45%.
The diff coverage is 90.24%.

@@             Coverage Diff              @@
##             master      #78      +/-   ##
============================================
+ Coverage     73.80%   74.26%   +0.45%
- Complexity      605      628      +23
============================================
  Files           101      103       +2
  Lines          1890     1931      +41
  Branches        205      212       +7
============================================
+ Hits           1395     1434      +39
+ Misses          434      433       -1
- Partials         61       64       +3

Impacted Files
Coverage Δ

...seedu/address/logic/commands/ClearTaskCommand.java
88.88% <88.88%> (ø)

...u/address/logic/parser/ClearTaskCommandParser.java
92.30% <92.30%> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
75.00% <100.00%> (+1.08%)
:arrow_up:

...rc/main/java/seedu/address/model/ModelManager.java
95.83% <0.00%> (+2.77%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Existing tests pass with the inclusion of keystone

Adding keystone and related components to integration tests bundle:
keystone
keystone-mysql-router
mysql-innodb-cluster
updated tests to use the juju-context from the generated kubeconfig

Will need the following to be merged first:
https://github.com/canonical/kubernetes-rapper/pull/5
https://github.com/charmed-kubernetes/charm-kubernetes-master/pull/186