Update fileTypes.ts

Did you actually test your changes? I can tell at a glance that this isn't going to work correctly.
Also, what's CNAME..?

Did you actually test your changes? I can tell at a glance that this isn't going to work correctly.
Also, what's CNAME..?

Sorry I Wrong Wrote
I Was Trying to Write This Bug Fix : Parse Error
There has been an issue with the parsing of the file /data/map/tou_03/data_Mobj.elf.zst. Please report this to the developer (Darxoon)
(reason: Field 'field_0x108' should be string or pointer, not 'int' (at offset 0x1d90, Mobj))

Did you actually test your changes? I can tell at a glance that this isn't going to work correctly.
Also, what's CNAME..?

Sorry I Wrong Wrote I Was Trying to Write This Bug Fix : Parse Error There has been an issue with the parsing of the file /data/map/tou_03/data_Mobj.elf.zst. Please report this to the developer (Darxoon)
(reason: Field 'field_0x108' should be string or pointer, not 'int' (at offset 0x1d90, Mobj))

I Don't Know When It Will Be Fixed But
My Mod Is Causing It To Crash My Modding Is Left Unfinished


Add CMake script

CMake is a cross-platform build system generator that is "not too bad". It is used by projects like libpng, mozjpeg, and zlib.
This CMake script works similar to the Makefile included, and was tested with GCC and Clang on Linux, and with mingw-w64 and Visual C++ 2013 on Windows.
Typical use:
mkdir build
cd build
cmake ..
cmake --build .

Building shared libraries with MSVC does not work. Unlike GCC, MSVC does not export global symbols, so when building shared libraries with MSVC, the resulting dll files have no exports.
One solution would be to add a conditional macro to add __declspec(dllexport) to all symbols that need to be exported in the header files.

Yes please. Zopfli is the last library in my particular project that still requires a ./bootstrap step before I build with CMake.

+1

@jibsen why close this? It's perfectly valid, and Google should be pushing for more interoperable building since native build systems have been a mess for decades.

I was cleaning up my open pull requests, and this one had been open for three years, so I figured there was no interest from the maintainers. Also, I think it would need an update to work with the current Zopfli version, plus it should have an install option added. Today, I might have gone with Meson instead, or at least a more modern CMake version.
I agree it would be nice if more Google projects supported a cross platform build generator (which isn't Bazel).

Better late than never, merged it in. Thank you for making this script!

Oh, thanks!


🐛 Trigger of swaylock is delayed upon opening laptop lid

branch
stable
Architecture
x86_64
Description
When opening the laptop lid, the screen is fully visible and unblurred for a second or two before swaylock locks the screen. If swaylock was already triggered by inactivity prior to closing the lid, this does not occur.
This Reddit post, suggests the problem is a race between swaylock and the laptop's suspend. Since swaylock daemonizes immediately, the call to it returns immediately. This allows the laptop to suspend before swaylock has a chance to blur the screen. It does so as soon as it is able, which is after the laptop resumes.
The suggested work around involves adding a sleep instruction to the before-sleep argument of swayidle used to call $locking. I tried a one second sleep, but that wasn't enough for me. Five seconds wound up being enough. The author of the post uses systemctl suspend instead, but that doesn't work for me.
set $swayidle swayidle -w \
    timeout $idle_timeout 'light -G > /tmp/brightness && light -S 10' resume 'light -S $([ -f /tmp/brightness ] && cat /tmp/brightness || echo 100%)' \
    timeout $locking_timeout 'exec $locking' \
    timeout $screen_timeout 'swaymsg "output * dpms off"' \
    resume 'swaymsg "output * dpms on"' \
    before-sleep 'playerctl pause' \
    before-sleep 'exec $locking & sleep 5'

Would this be a reasonable change to make to this repository?
Reproduction steps
Boot into Manjaro Sway on a laptop and close the lid.
Wait a few seconds (or longer) for the laptop to fully go to sleep.
Open the laptop lid.
Observe the contents of your unblurred screen for a few seconds before `swaylock` blurs it.

Screenshots
No response
Logs
No response

I sadly can absolutely reproduce this and we have to do something about it.


Add toChildKey to resolve willBlur events

This resolves an issue with blur/focus events, solution lifted from this thread

LMK anything else I can do to help push this along =)

Thanks, @elzii, and I'm really sorry for the delay.

Ты сука так решил
сб, 9 февр. 2019 г., 14:02 Christian Falch<EMAIL_ADDRESS>
Thanks, @elzii https://github.com/elzii, and I'm really sorry for the
delay.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fram-x/FluidTransitions/pull/161#issuecomment-462038598,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArfwB2TMVGi4iYLp2HFe4g24pnIcSBDxks5vLri-gaJpZM4aXHSU
.


ConnectionResetError: [Errno 104] Connection reset by peer

Hello,
I use your library for a community project but I have an issue with a hkivision AX PRO alarm.
Everything works perfectly fine for all incoming lines except for the following line :
DEBUG:pysiaalarm.sia_server:Incoming line: CA2F0038"NULL"0000L0#7890[#0000|0000 00 000]_22:13:29,12-29-2022
DEBUG:pysiaalarm.base_sia_server:Parsed event: Content: #0000|0000 00 000]_22:13:29,12-29-2022, Zone: 0, Code: RP, Message:  00 000, Concerns: Unused, Type: Automatic Test, Description: Automatic communication test report, Account: 7890, Receiver: None, Prefix: L0, Timestamp: 2022-12-29 22:13:29, Length: 0038, Sequence: 0000, CRC: CA2F, Calc CRC: CA2F, Message type: Automatic Test, Encrypted Content: None, Full Message: "NULL"0000L0#7890[#0000|0000 00 000]_22:13:29,12-29-2022..
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 52770)
Traceback (most recent call last):
  File "/usr/lib/python3.7/socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.7/socketserver.py", line 720, in __init__
    self.handle()
  File "/usr/local/lib/python3.7/dist-packages/pysiaalarm/sia_server.py", line 49, in handle
    raw = self.request.recv(1024)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------

I use the default test program run.py.
Any idea ?
Thanks a lot ;-)

Thanks for trying it out and reporting, my own alarm doesn't use this so I had to implement based on specs, I'll add this to the tests and see what's going wrong!


Promo/offer codes  - presentCodeRedemptionSheet

Hi James,
thanks for the great work on this plugin, it's really nice and easy to use.
I was looking through the code/interface and I did not find any way to redeem promo codes in the app. It should be possible with the standard in app purchase library to redeem a code. On iOS it seems that you need to make a special call. On android you can redeem a code during payment. It is also possible in iOS and Android to redeem a full version of the app from the store but then its not very clear to me how we would check that and unlock the purchased item in the app, for eg. premium content.
Would it be possible to implement this kind of feature?
Thanks in advance! Cheers.
P.S: attached a link to the ios and android documentation of the redeem code stuff.
iOS
https://developer.apple.com/documentation/storekit/in-app_purchase/subscriptions_and_offers/implementing_offer_codes_in_your_app
Android
https://developer.android.com/google/play/billing/promo

#268 dup

I don't think there is anything special for Android.
On iOS 14+ i can expose presentCodeRedemptionSheet
I think in both cases you should get receipts... is my thinking

Yeah, you get a receipt and it contains a field that its a offer code. From Apple's Docs:

Identify Subscriptions Purchased With Offer Codes
When a customer successfully redeems a subscription offer code, the receipt contains a transaction with the field: offer_code_ref_name. This field’s value is the offer reference name that you configured in App Store Connect. The field is found in the responseBody.Latest_receipt_info and responseBody.Pending_renewal_info objects for receipts, and in the unified_receipt.Latest_receipt_info and unified_receipt.Pending_renewal_info objects for server notifications.

This feature would be awesome :-)

@yonkahlon  all of that should be via a backend server so I wont add that in there as that really is part of receipt validation.

@jamesmontemagno Yeah 100% :-)
Can I access presentCodeRedemptionSheet from this lib or from Xamarin StoreKit?

Hi, any news about promocode? With iOS 14+ there is a problem too. When the user redeem promo code nothing happen.


gomake does not exist with a non 0 code when help is displayed

If for example you execute an invalid command or provide an invalid option, gomake will show the help text but exits with a 0 error code, when it should probably exit with a non 0 code.

:tada: This issue has been resolved in version 1.6.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Offpunk 1.9

Description of changes
https://git.sr.ht/~lioploum/offpunk/refs/v1.9
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

offpunk


vNet with RouteTables

It looks like Service Fabric Mesh is going down the Service Endpoint Delegation route that Azure Containers Instances (Groups) has went down in order to bring your own vNet.
One of the problems we are currently facing is that you cannot use a Route Table with Service Endpoint Delegation. So when services make requests outbound they don't go through your vNet gateway but instead go through Azures load balancers.
This is a problem as the IP addresses change and we have no control over them. We have use cases where we need to whitelist IPs that are connecting to our Mongo Atlas Cluster from SF Mesh. I'm sure others will have similar issues.
When Service Fabric Mesh is released along with the bring your own vNet functionality, will we be able to configure route tables?

:+1:


Switch from travis to gh-actions

I'm using the rust-ci workflow in another project so that should work, but I haven't tested the publish-docs workflow yet.

This is pretty neat: https://github.com/borntyping/rust-psutil/runs/289501881


Have CyVerse Canopy Cover write to single CSV files instead of into each plot folder

Task to do
Have a CSV files contain all plots values
Reason
Scattered CSV files makes it hard to bring them into one place when not using automation
Result
For any run of CanopyCover all plot data is contained within one top-level plot file and not in each plot folder

Is this CyVerse specific or can this be a general functionality that also works in CyVerse? Having all of the results will also be useful for those using the command line and other workflow systems.

This is for CyVerse always, and is available as an app to the rest of the SciF docker image users. The CyVerse solution runs this app to do the work

PR: https://github.com/AgPipeline/drone-makeflow/pull/10


Resolve unintentional MIT License omission

Hi Paul,
It appears that the subs in this repo are either:

copies of the stubs in https://github.com/Josverl/micropython-stubs
generated by the use of the micropython-stubber tool : https://github.com/Josverl/micropython-stubbber

That in itself is not a problem at all, happy that you have been able to use them for the exact purpose that I have built these for.
However both are released under MIT licence which requires that that license is respected.
The relevant parts:
MIT License

Copyright (c) 2020-2023 Jos Verlinde

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software and stubs.

So it is no problem that you place this under a different license, however you cannot remove the earlier license and notice.
in the development and publication of the micropython-stubs that have used as the base, I have taken specific effort to respect , and where relevant copy over relevant licenses with the stubs.
I kindly ask you to do the same.
Regards,
Jos Verlinde

@Josverl I'm sorry that I missed that one and of course I'll add the license header to the stubber which seems to be missing in the minified copy I got from your repo some months ago.
The repo does not contain copies of your stubs repo but it contains the auto-generated ones from the stubber and were than each one hand modified.
I also thought about in the past to maybe close this repo and contact you if it would be possible to incorporate your stubs into the MicroPico extension. In return I would to my contributions back to your stubs repo instead of this one.
My only problem was that your repo is quite big and contains many different stubs for the pico-w. Also most of them don't contain the parameters for functions and doc-strings for classes and methods or maybe I haven't found them.

Paul,
thanks for resolving this.
really appreciated.
Regards,
Jos Verlinde

Jos,
sounds great. I thought about making the extension more suitable for different boards so giving the user the option to chose between pico, pico-w and other stubs would be a great step towards the right direction.

If you agree, then I'll let him know and see how we can work together on this.

Sure

OK I'll ping Jim on discord. Do you have a discord handle?

OK I'll ping Jim on discord. Do you have a discord handle?

Yes: paulober

I've let him know, but he has not responded so far


See if there’s a more efficient way of dealing with HttpClient

See https://stackoverflow.com/questions/15705092/do-httpclient-and-httpclienthandler-have-to-be-disposed-between-requests for more information.

First step would be to see if HttpClientFactory provides a solution to this.

I'm closing this for now, I've done a bit of research and running the tests and monitoring using netstat -a didn't show any obvious problems here.
Will reopen when new information emerges or when a problem is reported by a user.


Migrate some go builds from buildGoPackage to buildGoModule

Motivation for this change
Now that everything is on go 1.14, go modules are officially suported + the suggested packaging solution.
https://github.com/golang/go/wiki/Modules#go-modules
Most of the go ecosystem is migrating over, and a number of nix packages already have module support but are still being built in the legacy buildGoPackage mode.
Things done

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

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

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

Could you format your commit messages please?
https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#submitting-changes

Please see https://github.com/NixOS/nixpkgs/issues/84826 for a discussion about this kind of change;)

Please see #84826 for a discussion about this kind of change;)

Please see https://github.com/NixOS/nixpkgs/pull/86282#discussion_r417057171 for previous mention in the is PR :) I think I also dropped 50% of the comments on that issue because I got excited a few hours ago.

@c00w reading your comment in #84826 I got the impression that you primarily argued about the traits of dependency-management in Go, but the original motivation why buildGoModule is discouraged isn't related to the Go-ecosystem itself. The problem is that we're actually "abusing" the concept of fixed-output derivations here: NixOS/nix#2270

This discussion sounds like it belongs in nix#2270 or #84826. However citing nix#2270 as a justification for getting rid of buildGoModules doesn't seem to track logically. The core message in nix#2270 is that doing complicated downloading isn't reproducible. However with buildGoModule it is (and in fact it's a little more reproducible than normal nix downloads since it's validated across the universe of downloads). Additionally, citing a 2 year old discussion that hasn't seemed to have progressed or been accepted as a plan seems to be moving before concensus has been reached. If we can get #84826 merged, then I'll just nuke buildGoModule everywhere. I expect instead we'll end up in a state where we are still using buildGoModule, but may have an alternate strategy for specifying inputs.

I acknowledge that Go is moving towards the module-based approach, but as long as packages have e.g. a vendor/-directory, I don't see a reason to switch and if we want to, we should rather consider adding at least an alternative implementation for modules first.

So there are two bits - you can have modules enabled or disabled, and you can have a vendor folder (enabled or disabled).
with buildGoPackage, my understanding is that modules are disabled.
with buildGoModule, my understanding is that modules are enabled.
If you have no vendor folder this discussion is irrelevent so well ignore that case.
If you have a vendor folder, then buildGoPackage will use the vendor folder (even if you put other dependencies in your go deps, since vendor always wins). So the deps files are a lie for anything vendored :)
https://github.com/NixOS/nix/issues/2270
If you have a vendor folder, then buildGoModule will also use the vendor folder automatically for builds. Just like deps, it's ignored completely if there is a vendor override. I just played with it, and it looks like we're downloading the modules, then ignoring the results - likely a patch to go send to go for the go mod download command. In fact, there is a maybe an argument that we should use go mod vendor instead of go mod download instead of buildGoModule + skip it if the vendor folder already exists.
https://golang.org/cmd/go/#hdr-Modules_and_vendoring
So the conclusion is that we're still building from the vendor folder in buildGoModule, we're just building in the modern mode, rather than the legacy go mode.

We can also add an option to ignore modSha256 in case we want to build solely from vendor/ for buildGoModule.  Than I don't see any reason in this case why we would not want to use buildGoModule.

We can also add an option to ignore modSha256 in case we want to build solely from vendor/ for buildGoModule. Than I don't see any reason in this case why we would not want to use buildGoModule.

I fully agree, this would be a totally reasonable solution. In case it wasn't clear: my concerns are not about Go's module system, but about the way we implemented this.

This discussion sounds like it belongs in nix#2270 or #84826.

I disagree: when we switch to the buildGoModule-approach in its current state, we should discuss about this first.

However citing nix#2270 as a justification for getting rid of buildGoModules doesn't seem to track logically.

It's not about getting rid of it, but about the fact that it's currently rather discouraged because of its current implementation. If we can go-modules without the fixed-output derivation for the download for the majority of packages, I'd be fine with this.


Calling an VB.Net String-functions (like Left(string),Right(string),Space(string),Trim(string)) in a .NET Core project throwing Runtime exceptions

Calling an VB.Net String-functions (like Left(string),Right(string),Space(string),Trim(string)) in a .NET Core project throwing Runtime exceptions
General
We have a .Net core 2.0 webapi project and want to call a old vb.net method. The method have some string functions like Left,right,space and trim . We added the DLL as a reference . But in runtime we are getting method not found exception.
like

Method not found: 'System.String Microsoft.VisualBasic.Strings.Left(System.String)'.'
Method not found: 'System.String Microsoft.VisualBasic.Strings.Space(System.String)'.'
Method not found: 'System.String Microsoft.VisualBasic.Strings.Right(System.String)'.'

Any help\advice is most appreciated .
We might not changes the old custom dll code which have dependencies with other systems.
If we want to do the modification in old dll if possible what would be the better approach with minimum impact

refer the following git repo where we have one console app on dotnet core . From this we are making a call to vb.net classlibrary which has string functions.
https://github.com/csreehari/FxReferenceConsoleAppCore.git

@jaredpar

Issue moved to dotnet/corefx #30963 via ZenHub

You can use a custom made port of the library named Ported.VisualBasic:
No any warranties on code correctness after porting, just use on your own risk.
Imports Ported.VisualBasic
Strings.Left(S), etc.
More details:
https://github.com/dotnet/corefx/issues/31181#issuecomment-436422404
You can find a compiled assembly here:
https://github.com/bimonsubio1984/CommonCore/releases/download/First/Ported.VisualBasic.dll
Or build it from source by yourself.


Add optionfor animations

Is it possible to add an option for configuring the animation.
I would like to disable it, for resource saving purposes.

Unfortunately this option is not supported by justgage: https://github.com/toorshia/justgage#pointer-options

Can be closed


Flask Streaming Contents Generator won’t close when clients disconnects.

Description
I'm using the FlaskApp and a Flask Streaming Contents Generator to stream a video (image/jpeg) to a client as long as the client is connected. When the client disconnects the Generator won't exit but continue to stream data. Using just Flask without Connexion this works fine.
Uvicorn does send out a message = {"type": "http.disconnect"}. Do I miss something in the configuration or is this an issue with the ASGI stack?
Thank you!
Expected behaviour
The Generator should exit when the client disconnects.
Actual behaviour
The Generator will continue to generate Data. If the API is called again it will start another Generator and so on.
Steps to reproduce

Start a Response Generator using the FlaskApp.
Connect with a client and disconnect.
The Generator will still continue to run.

Additional info:
Output of the commands:

python --version
Python 3.10.13

pip show connexion | grep "^Version\:"
Version: 3.0.3

Hi @tobiaswer. Please provide a minimal reproducible example.

Were you able to take a look at it @RobbeSneyders ?


pytest

Rather than a bug, this is more of a hint from dev to dev (and I'll immediately close this as well). A while ago, I switched from python-unittest to pytest and I'm not looking back. Definitely worth checking out if you haven't yet. It's way more popular too, at least according to stackoverflow.

Yes, although not in the standard library, I believe it is already the de facto standard.


Can't run test as describe in documentation

Describe the bug
The command ./tools/tests/symphony_like.sh return this issue
rm -rf /home/esteban/.nuget/packages//armonik.api /home/esteban/.nuget/packages//armonik.developmentkit.common /home/esteban/.nuget/packages//armonik.developmentkit.symphonyapi /home/esteban/.nuget/packages//armonik.developmentkit.symphonyapi.client /home/esteban/.nuget/packages//armonik.developmentkit.workerapi.common /home/esteban/.nuget/packages//armonik.extensions.common.streamwrapper
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

git clone https://github.com/aneoconsulting/ArmoniK.Samples.git  Determining projects to restore...
  Restored /home/esteban/ArmoniK/source/ArmoniK.Samples/Samples/SymphonyLike/ArmoniK.Samples.Symphony.Common/ArmoniK.Samples.Symphony.Common.csproj (in 523 ms).
  Restored /home/esteban/ArmoniK/source/ArmoniK.Samples/Samples/SymphonyLike/ArmoniK.Samples.SymphonyClient/ArmoniK.Samples.SymphonyClient.csproj (in 1.32 sec).
  Restored /home/esteban/ArmoniK/source/ArmoniK.Samples/Samples/SymphonyLike/ArmoniK.Samples.SymphonyPackage/ArmoniK.Samples.SymphonyPackage.csproj (in 1.32 sec).
/usr/share/dotnet/sdk/6.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.CrossTargeting.targets(27,5): error NETSDK1129: The 'Publish' target is not supported without specifying a target framework. The current project targets multiple frameworks, you must specify the framework for the published application. [/home/esteban/ArmoniK/source/ArmoniK.Samples/Samples/SymphonyLike/ArmoniK.Samples.SymphonyClient/ArmoniK.Samples.SymphonyClient.csproj]
/usr/share/dotnet/sdk/6.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.CrossTargeting.targets(27,5): error NETSDK1129: The 'Publish' target is not supported without specifying a target framework. The current project targets multiple frameworks, you must specify the framework for the published application. [/home/esteban/ArmoniK/source/ArmoniK.Samples/Samples/SymphonyLike/ArmoniK.Samples.Symphony.Common/ArmoniK.Samples.Symphony.Common.csproj]
/usr/share/dotnet/sdk/6.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.CrossTargeting.targets(27,5): error NETSDK1129: The 'Publish' target is not supported without specifying a target framework. The current project targets multiple frameworks, you must specify the framework for the published application. [/home/esteban/ArmoniK/source/ArmoniK.Samples/Samples/SymphonyLike/ArmoniK.Samples.SymphonyPackage/ArmoniK.Samples.SymphonyPackage.csproj]

To Reproduce
Steps to reproduce the behavior:

Follow the deployment on localhost guide
Clone Sample repo as indicated in the README.md
Run ./tools/tests/symphony_like.sh

Expected behavior
I expected tests to run.
Screenshots
Not applicable
Infra
main,
core=0.5.9
worker=0.5.7
samples=2.7.1

Changing the file ./tools/tests/symphony_like.sh to this allow me to run tests (thx @aneojgurhem)
#!/bin/bash
set -xe

BASEDIR=$(dirname "$0")

cd $BASEDIR/../../source/ArmoniK.Samples

export CPIP=$(kubectl get svc ingress -n armonik -o custom-columns="IP:.spec.clusterIP" --no-headers=true)
export CPPort=$(kubectl get svc ingress -n armonik -o custom-columns="PORT:.spec.ports[1].port" --no-headers=true)
export Grpc__Endpoint=http://$CPIP:$CPPort
nuget_cache=$(dotnet nuget locals global-packages --list | awk '{ print $2 }')

cd Samples/SymphonyLike/
echo rm -rf ${nuget_cache}/armonik.*
rm -rf $(dotnet nuget locals global-packages --list | awk '{ print $2 }')/armonik.*
dotnet publish -f net6.0 -c Debug --self-contained -r linux-x64 SymphonyLike.sln

echo "Need to create Data folder for application"
mkdir -p ${HOME}/data

cp packages/ArmoniK.Samples.SymphonyPackage-v2.0.0.zip ${HOME}/data
kubectl delete -n armonik $(kubectl get pods -n armonik -l service=compute-plane --no-headers=true -o name) || true

cd ArmoniK.Samples.SymphonyClient/
dotnet run -f net6.0


Roll Flutter Engine from a8fb9daae8d0 to 8eba63f29b8b (2 revisions)

https://github.com/flutter/engine/compare/a8fb9daae8d0...8eba63f29b8b
2024-05-20<EMAIL_ADDRESS>[Impeller] leave glyph atlas in transfer dst to improve vulkan throughput. (flutter/engine#52908)
2024-05-20<EMAIL_ADDRESS>Roll Dart SDK from 54c384453207 to 08f4324c988b (1 revision) (flutter/engine#52931)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Publish constraints, scheduler-driver and scheduler-worker

Tickets addressed: AERIE-000
Review: By commit
Merge strategy: Merge (no squash)

Description

Just added a publishing block to the gradle of these three components.
Verification

None
Documentation

None
Future work

None

I think we also need to add the 'maven-publish' plugin, for example:
plugins {
  id 'java-library'
  id 'maven-publish'
  id 'jacoco'
}


Make Requests an Optional Dependency

I am willing to make a pull request.

Having thought about this: I have come to the conclusion that this is not worth the additional usage steps.


Update Dockerfile

fix gmod steam cmd GCCLIB
Please make sure to read the CONTRIBUTING.md file before submitting your pull request.
Please remove these two lines before submitting your Pull Request.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Please document how plugins should be included

I find it very frustrating that the plugins page does not contain any information on how plugins should be included in Raven.
@see:
https://docs.getsentry.com/hosted/clients/javascript/plugins/

Our documentation here should be sufficient after glancing over it: https://docs.getsentry.com/hosted/clients/javascript/integrations/
Not sure if this is still confusing, but the changes also done in #392 make it less of an issue since plugins are now installed lazily.

I disagree, here's a stab at a paragraph:
Installation
To install a plugin just include the plugin after Raven has been loaded and the Raven global variable is registered.

The text above is sufficient. Not stating this explicitly makes users (at least me) wonder if a plugin installation worked or not and when the plugin should be loaded.

That's fair.
Question: how were you attempting to use Raven to where this was confusing? If it's pulled from our CDN, this shouldn't matter since we already bundle it correctly and in the right order.
And at the moment, it's pretty counter intuitive to load plugins by themselves outside of our bundled CDN versions.
So just curious what you were attempting to do so I have the full context. :)

No problem :)
I'm bundling raven using webpack and commonjs (i.e. Raven = require('raven')). I also added some extra plugins at a point.
One thing that hit me later was that if you require raven twice then it looses the initial configuration. If possible, the CommonJS(i.e. NPM) version of Raven should have a check so that multiple requires do not overwrite the initial instance.

A paragraph realting to usage with CommonJS is probably also a good idea :)
Suggestion:
CommonJS
If you load and install Raven using commonJS you should be aware that multiple require's will overwrite the window.Raven instance and thus give you a Raven instance that is not configured.

Hmmmmm, that's a good point about the CommonJS case. That seems like a separate bug though. Would you mind opening another ticket to address that?

I created PRs for both issues.

PR was merged.


docs: technical documentation and handover notes

Technical Documentation and handover notes for the testing team
Description
Documentation for the testing team handover and final submission
Type of change

[ ] Documentation (new)

Run fernandrone/linelint@master
/usr/bin/docker run --name ed866e7b6629aaa1ad4269b372d3ebdf238f14_33c19a --label ed866e --workdir /github/workspace --rm -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/documentation/documentation":"/github/workspace" ed866e:7b6629aaa1ad4269b372d3ebdf238f14
No configuration file found at ./.linelint.yml (will use default configuration)
[EOF Rule] File "docs/ArtGallery/Testing Project/Art gallery back-end testing Xunit.md" has lint errors
[EOF Rule] File "docs/ArtGallery/Testing Project/Art gallery front-end E2E teststing Cypress.md" has lint errors
[EOF Rule] File "docs/ArtGallery/Testing Project/Handover notes T1 2023.md" has lint errors


Update intellij-java-google-style.xml

Default intellij make simple line comment on first position like this:
|//   some code
Accoding google styleguide same ident level must be using for comments too (https://google.github.io/styleguide/javaguide.html#s4.2-block-indentation)
This option disable  commenting on first column, so comment will look like:
|    //some code

I signed it!
2017-10-27 15:01 GMT+06:00 googlebot<EMAIL_ADDRESS>
Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If your company signed a CLA, they designated a Point of Contact who
decides which employees are authorized to participate. You may need to
contact the Point of Contact for your company and ask to be added to the
group of authorized contributors. If you don't know who your Point of
Contact is, direct the project maintainer to go/cla#troubleshoot.
In order to pass this check, please resolve this problem and have
the pull request author add another comment and the bot will run again.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/styleguide/pull/287#issuecomment-339915467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDF-b1xpP0Vf2zECUKFGEUG7U20uoeQks5swZvWgaJpZM4QIv7T
.


Spelling error in SqlServerTransientExceptionDetector

The comment on line 114 contains a spelling mistake

// This exception can be thrown even if the operation completed succesfully, so it's safer to let the application fail.

it should read

// This exception can be thrown even if the operation completed successfully, so it's safer to let the application fail.

@tomecho Thanks!


[FeatureRequest] Ability to extend snippet definitions NOT on filetype

Hello, thanks for your plugin! I was migrating from ultisnips as I had performance issues on my wsl machine - with luasnip everything works lightning fast! However, I haven't found one particular mechanism that I was using earlier: ability to load specific snippets without relying on particular filetype.
Problem description
For example, I have a plugins.lua with packer startup function. Here I want to access autoexpanded snippets like:
use ->  use({ 'L3MON4D3/LuaSnip', config = ... })
Unfortunately, I have found only one way - define it in snippets for lua filetype. But it's too obtrusive in other lua files, I need it only in my plugins.lua. I suspect that I can manually load and unload snippets by using autocommands and provided api but it seems as a dirty solution to me. To understand what I mean, look at my use case.
Solution in UltiSnips
local utils = require('utils');
local create_augroup = utils.create_augroup;
local create_autocmd = utils.create_autocmd;

-- NOTE: clear - clears previously created autocommands in augroup.

local snippets = create_augroup('CustomSnippets', { clear = true });

local BufEarlyEnter = { 'BufNewFile', 'BufReadPost' }
-- Encapsulating some options that are commonly used by snippet autocmds.
local snippets_create_autocmd = function(options)
  -- Will raise an error if you try to overwrite some value in the left table.
  create_autocmd(BufEarlyEnter, vim.tbl_deep_extend('error', { group = snippets }, options));
end

snippets_create_autocmd({
  desc = 'Added packer.snippets as a main snippet definition source while editing plugins file',

  pattern = 'plugins.lua',
  command = 'UltiSnipsAddFiletypes packer.lua',
});

As you can see, in the autocommand I have a special command that builds up a hierarchy: UltiSnipsAddFiletypes packer.lua means that packer snippets take priority over lua snippets. Later on, while editing plugins.lua packer is interpreted like one of the sources for snippet definitions and on issuing the command UltiSnipEdit the packer snippets are opened automagically.
In LuaSnip I expect to see something like this:

Possible solutions

Change filetype on plugins.lua to packer. For me it seems like a hack that may also break something in other plugins along the road.
I have found methods that extend / overwrite snippets definitions:

-- in a lua file: search lua-, then c-, then all-snippets.
ls.filetype_extend("lua", { "c" })
-- in a cpp file: search c-snippets, then all-snippets only (no cpp-snippets!!).
ls.filetype_set("cpp", { "c" })

I think that it's a good way to build hierarchy mentioned earlier but it's only applied to filetypes. I would love to see functions that make it possible to create connections between definitions by custom autocommands / functions rather than only filetypes. In my mind it would look like this:
snippets_create_autocmd({
  desc = 'Added packer.snippets as a main snippet definition source while editing plugins file',

  pattern = 'plugins.lua',
  callback = function()
     ls.definitions_extend('lua', { 'packer' });
  end
});

I think this feature deserves attention as it helps with dealing with specific files making your snippet management easier!
Hope you will help me solve this issue!

Hey, glad to hear that :D
Thank you for the detailed issue, your second solution is actually already possible: Luasnip supports a callback for determining the filetype(s) effective at any position (ft_func in setup, the default is to just check &filetype), it could check the buffername and add filetypes:
local default_filetype_load_function = require("luasnip.extras.filetype_functions").from_filetype_load

-- map filename (:t) to custom filetypes.
file_extends = {
	"packer.lua" = {"packer"}
}

function resolve_filetypes(bufnr)
	return vim.list_extend(
		-- file_extends has higher priority than default.
		file_extends[vim.fn.fnamemodify(vim.api.nvim_buf_get_name(bufnr), ":t")],
		default_filetype_load_function(bufnr) )
end

ls.setup({
	-- for regular expansion and nvim-cmp.
	ft_func = function()
		return resolve_filetypes(vim.api.nvim_get_current_buf())
	end,
	-- also override load_ft_func so `packer`-snippets are lazy_loaded.
	load_ft_func = resolve_filetypes
})

(I didn't test that, but it should at least almost work :D)

Oh, thanks for the code, I will try it out tomorrow!
But doesn't it have essentially the same issue as my first solution: does it polute the global scope of filetypes by this custom filetype?

Oh, no worries, this won't affect any global state, ft_func is only used for determining the filetypes that should be searched for snippets.

Oh, no worries, this won't affect any global state, ft_func is only used for determining the filetypes that should be searched for snippets.

Oh, nice to hear. I tried your solution, had to change a few things and now it works, big thanks! However, it seems that something is causing a loop as I get this much results in snippet definitions list:

I printed out results of a extended_filetype_load_function, and got following results:

in *.lua:

in packer.lua:

My code:
local luasnip = require("luasnip");
local default_filetype_load_function = require("luasnip.extras.filetype_functions").from_filetype_load;

-- map filename (:t) to custom filetypes.
local file_extends = {
	['plugins.lua'] = { 'packer' },
}

local function extended_filetype_load_function(bufnr)
  return file_extends[
    vim.fn.fnamemodify(vim.api.nvim_buf_get_name(bufnr), ":t")
  ] or {}; -- if we haven't found anything, return {}.
end

local function resolve_filetypes(bufnr)
  return vim.list_extend(
     -- file_extends has higher priority than default.
     extended_filetype_load_function(bufnr),
     default_filetype_load_function(bufnr)
  );
end

---@see <https://github.com/L3MON4D3/LuaSnip#config> 'Config section in LuaSnip
--docs'.
luasnip.config.set_config({
  -- If true, Snippets that were exited can still be jumped back into.
  history = true,

	-- for regular expansion and nvim-cmp.
  ft_func = function()
    return resolve_filetypes(vim.api.nvim_get_current_buf())
  end,
	-- also override load_ft_func so `packer`-snippets are lazy_loaded.
  load_ft_func = resolve_filetypes
});

Can you please help, what's causing this loop and how can I fix it?

Is it no simpler just to have a custom filetype (let's say  packer_ft) and set the filetype of that file to lua.packer_ft and then add the custom snippets to the packer_ft filetype?

True, that would be much simpler, but I get not wanting to modify the filetype just for snippets if it's possible in a way that is only seen by luasnip.
Just saw that there are issues besides the duplicated filetype, not quite sure where the empty strings are coming from..

Ahh of course, vim.list_extend modifies file_extends xD I think vim.list_extend also works with more than two lists, so extend({}, file_extends, default) should do ot

I think I figured it out, thanks for the hint!

Code:
local luasnip = require("luasnip");
local default_filetype_load_function = require("luasnip.extras.filetype_functions").from_filetype_load;

-- map filename (:t) to custom filetypes.
local file_extends = {
	['plugins.lua'] = { 'packer' },
}

local function extended_filetype_load_function(bufnr)
  return file_extends[
    vim.fn.fnamemodify(vim.api.nvim_buf_get_name(bufnr), ":t")
  ] or {}; -- if we haven't found anything, return {}.
end

-- Doesn't modify the initial_list and accepts variable number of parameters.
local function list_deep_extend(initial_list, ...)
  local args = {...}
  local result = vim.deepcopy(initial_list);

  for _, values in ipairs(args) do
    vim.list_extend(result, values);
  end

  return result;
end

local function resolve_filetypes(bufnr)
  return list_deep_extend(
    {},
		-- file_extends has higher priority than default.
    extended_filetype_load_function(bufnr),
		default_filetype_load_function(bufnr)
  );
end

---@see <https://github.com/L3MON4D3/LuaSnip#config> 'Config section in LuaSnip
--docs'.
luasnip.config.set_config({
  -- If true, Snippets that were exited can still be jumped back into.
  history = true,

	-- for regular expansion and nvim-cmp.
  ft_func = function()
    return resolve_filetypes(vim.api.nvim_get_current_buf())
  end,
	-- also override load_ft_func so `packer`-snippets are lazy_loaded.
  load_ft_func = resolve_filetypes
});

The only thing that still bothers me: how to extend this algorithm to match glob patterns like '*.sync.py' = 'jupyter_ascending' (I used this pattern to load my snippets for jupyter_ascending only in files ending on .sync.py). I would be grateful If you show me direction to search.

You could store lua-patterns in file_extends, iterate over those and get the filetypes from the one (if any) that matches (basically filename:match(file_extends_pattern))

However, as for me, it's a bit too low level. Most people won't be able to dig this out so I still think that it's better to implement it in plugin they same way as filetype_extend is implemented.

Mhmm, maybe not the same way as file_extends, but we could add it to extras.filetype_functions, all one would have to do as a user is provide the table mapping pattern -> filetypes, and that would be it.
It might be low level, but these (interfaces? configuration-points?) are much more flexible than lots of single function that do some specific thing, I think we should keep it mostly this way.

It might be low level, but these (interfaces? configuration-points?) are much more flexible than lots of single function that do some specific thing, I think we should keep it mostly this way.

Yes, I feel the same, it's always nice to have low level api for advanced usage / integrations. After all, I think it's a primary reason to use neovim over other editors for most people.


[Fix] Users can share Profiles and Campaigns on social media

PT-link:
https://www.pivotaltracker.com/story/show/160369990
User story:
As a system owner
In order to gain more traffic to my site
I would like my users to be able to share content on social media

Tasks

revert from gem social-share-button to other solution.

Note
The href is pointing to venue-show.herokuapp.com/#{campaign_path}. This will have to be changed once we go to production.
Chore setup: https://www.pivotaltracker.com/story/show/161035987
View

Pull Request Test Coverage Report for Build 1

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

Totals

Change from base Build 85:
0.0%

Covered Lines:
360

Relevant Lines:
375

💛  - Coveralls


MySQL time zone settings is broken in 0.4

What type of bug is this?
Incorrect result
What subsystems are affected?
Frontend
What happened?
Cannot set timezone in mysql any more
MySQL [public]> SET time_zone = 'UTC';
Query OK, 0 rows affected (0.001 sec)

MySQL [public]> SELECT @@time_zone;
+-------------+
| @@time_zone |
+-------------+
|             |
+-------------+
1 row in set (0.000 sec)

MySQL [public]> SET time_zone = '+08:00';
Query OK, 0 rows affected (0.000 sec)

MySQL [public]> SELECT @@time_zone;
+-------------+
| @@time_zone |
+-------------+
|             |
+-------------+
1 row in set (0.000 sec)

MySQL [public]> SET time_zone = 'Europe/Berlin';
Query OK, 0 rows affected (0.000 sec)

MySQL [public]> SELECT @@time_zone;
+-------------+
| @@time_zone |
+-------------+
|             |
+-------------+
1 row in set (0.000 sec)

What operating system did you use?
any
Relevant log output and stack trace
No response
How can we reproduce the bug?
Open a mysql client console and follow docs: https://docs.greptime.com/user-guide/clients/mysql#time-zone
Execute SELECT @@time_zone returns empty result

Broken by https://github.com/GreptimeTeam/greptimedb/commit/e0aecc920925328cff6315efd5fc1921f46617d0
Always new a QueryContext for every request. Must use session.context() instead.


Program type already present: androidx.versionedparcelable.NonParcelField

Bug
During gradlew assembleRelease I get the following error:

Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: androidx.versionedparcelable.NonParcelField

Using RN 0.59.10 and<EMAIL_ADDRESS>I was able to fix by adding those two lines to gradle.properties in react-native-image-picker:
android.useAndroidX=false
android.enableJetifier=false

Any recommendations moving forward?

same issue here!

Same issue, nobody found a solution ?

same issue is here

Same issue is here, i dont want to migrate AndroidX, How i can solve this

Same issue here. Anyway found a solution for this part?

Same issue here for  "version": "2.3.1" :(((
Only for Android.


Enhancements

I haven't gotten it to work yet (due to the othe issue)
But I think it would be useful to allow a filter. Ie airenamer IMG*jpg so pictures that are already named don't get rennamed.
Second enhancement, is get encoding of family pictures, with names. Then use the names as part of the new filename if the encodings match. (ie train on existing pictures, with names).

ohh, that would be nice


[SVE2][TC-CC-6.3] Step-color-temperature does not reach ColorTemperaturePhysicalMaxMIreds

Problem

Reading ColorTemperaturePhysicalMaxMireds gives 65729.
Step 2b, after running command ./chip-tool colorcontrol step-color-temperature 1 32639 200 0 65279 0 0 1 1 and waiting more than 25 seconds, reading the color-temperature gives 65278 instead of the ColorTemperaturePhysicalMaxMireds (65279).

@pankore - what is the DUT you are testing with? Can it be reproduced for developers in one of the standard apps (e.g. light on linux or all-clusters or linux or something like that)?
What is the SHA you are using to run this test?

@pankore  @andy31415
I tried reproducing this issue but I do not think this is a bug. This devices behavior is correct.
In the test verification steps, TC-CC-6.3 2A is ./chip-tool colorcontrol move-to-color-temperature 32639 0 0 0 1 1
This command moves the color-temperature to 32639 which represents a step from 0 to floor(65279 / 2).
The next test step, 2B, is ./chip-tool colorcontrol step-color-temperature 1 32639 200 0 65279 0 0 1 1 which does a step of 32639 over 20s. This represents a move of floor(65279 / 2) from 32639.
After both steps, the device will have moved it's color temperature two times of 32639 which represents a total of 65278.
The misunderstanding is coming from the fact that the device cannot move of 32639.5 = 65279 / 2 The test verification formula in step 2a, ColorTemperatureMireds=(ColorTempPhysicalMinMireds + ColorTempPhysicalMaxMireds)/2, is slightly misleading because of the rounding that happens when the sum of min / max is an odd number.

@cjandhyala - looks like a test script error from the description of @mkardous-silabs

Based on the description of the test :

StepColorTemperature (up) starting midway between min/max; use a step size that will take (about) 20s to get to max

The steps should be :
2a : ./chip-tool colorcontrol move-to-color-temperature 32639 0 0 0 1 1
2b: ./chip-tool colorcontrol step-color-temperature 1 32640 200 0 65279 0 0 1 1
so yes, this is a test plan / script issue.

I opened at test plan issue so this issue can be closed
https://github.com/CHIP-Specifications/chip-test-plans/issues/2175

@pankore  and @mkardous-silabs , I commented in the test plan ticket. This is not a SDK issue.
Also VS command has been given as per the test plan. We can add additional clarification in the testplan to reduce any confusion which, I have already commented in the test plan issue https://github.com/CHIP-Specifications/chip-test-plans/issues/2175

@andy31415 This issue can be closed.

closing the issue based the comments

@raju-apple @manjunath-grl @yinyihu-silabs @ukatira @mkardous-silabs
Two comments

all these tests are governed by the "allow 15% tolerance (of the total step)" so a difference of 1 on a step of (about 32768) is perfectly fine. If the test script does not allow for a tolerance, it needs to be added. test plan does not need to be updated
I am seriously wondering what DUT you are testing. No realistic product will have such a huge range of CT values.


Failed to download node container

Network timed out message.

Seems like a DNS problem. Can you try again?
Thanks,
Michael Chiang

Working already. Thank you.
Sent from my iPad

On Mar 20, 2016, at 6:11 PM, Michael Chiang<EMAIL_ADDRESS>wrote:
Seems like a DNS problem. Can you try again?
Thanks,
Michael Chiang
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


feat: add .zsh extension on editer mode

for syntax highlighting

Hi @shun-shobon
Could you explain what does this change for?
Thanks and regards

@jeffreytse
I noticed that the text editor that can be started with vv in normal mode does not have syntax highlighting for zsh.
So, I added a .zsh extension to the temp file used by the editor so that it can recognize the file type.

Because mktemp cannot specify a suffix.(mktemp can also dry-run with the -u option, but this is unsafe.)
So I used the process ID instead of mktemp.

Thanks for the patch, I prefer to follow the file style of built-in widget edit-command-line (i.e. /tmp/zshXXXXXX). You can try it as below instructions.
autoload -Uz edit-command-line
zle -N edit-command-line
bindkey -M vicmd '!' edit-command-line

I did not know about edit-command-line.
Thank you for giving me a better solution!

Now this PR has been adjusted and merged, thank you for your contribution to syntax highlighting to make this plugin better. : )


"Application download did not succeed"

When trying to run setup.exe or EventAI.Creator.application, I get the following error.
I am running Win8.1.
"Application download did not succeed. Check your network connection, or contact your system administrator or network service provider."
PLATFORM VERSION INFO
    Windows             : 6.2.9200.0 (Win32NT)
    Common Language Runtime     : 4.0.30319.42000
    System.Deployment.dll       : 4.6.1055.0 built by: NETFXREL2
    clr.dll             : 4.6.1055.0 built by: NETFXREL2
    dfdll.dll           : 4.6.1055.0 built by: NETFXREL2
    dfshim.dll          : 6.3.9600.16384 (winblue_rtm.130821-1623)

SOURCES
    Deployment url          : file:///C:/Users/Eric/Desktop/eventAI_tool-master/EventAI_creator/EventAI%20Creator.application
    Deployment Provider url     : http://radu-pc/EventAI%20Creator/EventAI%20Creator.application

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\Eric\Desktop\eventAI_tool-master\EventAI_creator\EventAI Creator.application resulted in exception. Following failure messages were detected:
        + Downloading http://radu-pc/EventAI Creator/EventAI Creator.application did not succeed.
        + The remote name could not be resolved: 'radu-pc'

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    * The manifest for this application does not have a signature. Signature validation will be ignored.

OPERATION PROGRESS STATUS
    * [5/8/2016 8:38:10 PM] : Activation of C:\Users\Eric\Desktop\eventAI_tool-master\EventAI_creator\EventAI Creator.application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [5/8/2016 8:38:12 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading http://radu-pc/EventAI Creator/EventAI Creator.application did not succeed.
        - Source: System.Deployment
        - Stack trace:
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
            at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
            at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
            at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
            at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
        --- Inner Exception ---
        System.Net.WebException
        - The remote name could not be resolved: 'radu-pc'
        - Source: System
        - Stack trace:
            at System.Net.HttpWebRequest.GetResponse()
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

Ok...
Well this will be difficult for me to debug, because I don't have Win 8.
Anyway I will try to apply some updates and then you will be able to try again.

Hey, I ran into the same issue today. I didn't the error, but it was the exact same for both setup.exe and EventAI.Creator.application.
The issue is that the program fails if the windows name of your computer has a dash. In the above issue (and in my own), we see Ghost has the windows pc name of 'radu-pc'
...
Deployment Provider url     : http://radu-pc/...
...

Renaming your pc to something without a dash will resolve the issue. I did so by pressing Windows key (to bring up search) , typing "name", clicking "View your pc name" and following the prompts from there. Be sure to re-extract the installation direction -- the program seems to cache your old pc name causing it to fail.

Hey, I ran into the same issue today. I didn't the error, but it was the exact same for both setup.exe and EventAI.Creator.application.
The issue is that the program fails if the windows name of your computer has a dash. In the above issue (and in my own), we see Ghost has the windows pc name of 'radu-pc'
...
Deployment Provider url     : http://radu-pc/...
...

Renaming your pc to something without a dash will resolve the issue. I did so by pressing Windows key (to bring up search) , typing "name", clicking "View your pc name" and following the prompts from there. Be sure to re-extract the installation direction -- the program seems to cache your old pc name causing it to fail.


 Ggf. wird sowas hier also stattdessen benötigt?

Beispiel aus dem RegistryOffice s.u.
  /v1/notify-approvals:
    parameters:
      - $ref: '#/components/parameters/user'
      - $ref: '#/components/parameters/originator'
      - $ref: '#/components/parameters/x-correlator'
      - $ref: '#/components/parameters/trace-indicator'
      - $ref: '#/components/parameters/customer-journey'
    post:
      operationId: notifyApprovals
      summary: 'Offers subscribing to notifications about new approvals'
      tags:
        - IndividualServices
      security:
        - apiKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - subscriber-application
                - subscriber-release-number
                - subscriber-operation
                - subscriber-protocol
                - subscriber-address
                - subscriber-port
              properties:
                subscriber-application:
                  type: string
                  description: >
                    'Name of application that wants to receive notifications about new approvals
                    find or create [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]'
                subscriber-release-number:
                  type: string
                  pattern: '^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{1,2})$'
                  description: >
                    'Release of application that wants to receive notifications about new approvals
                    find or create [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]'
                subscriber-operation:
                  type: string
                  minLength: 6
                  description: >
                    'Names of the operation that shall be addressed by notifications about new approvals
                    update or create [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-op-c-im-*-*-*-*-003/layer-protocol=0/operation-client-interface-1-0:operation-client-interface-pac/operation-client-interface-configuration/operation-name]'
                subscriber-protocol:
                  type: string
                  enum:
                    - 'HTTP'
                    - 'HTTPS'
                  description: >
                    'Protocol to be used for addressing the application that wants to receive notifications about new approvals
                    update or create [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-protocol]'
                subscriber-address:
                  type: object
                  minProperties: 1
                  maxProperties: 1
                  additionalProperties: false
                  properties:
                    ip-address:
                      type: object
                      minProperties: 1
                      additionalProperties: false
                      properties:
                        ipv-4-address:
                          type: string
                          pattern: '^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'
                          description: >
                            'IPv4 address of application that wants to receive notifications about new approvals
                            update or create [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-address/ip-address/ipv-4-address]'
                    domain-name:
                      type: string
                      pattern: '^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$'
                      description: >
                        'Domain name of application that wants to receive notifications about new approvals
                        update or create [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-address/domain-name]'
                subscriber-port:
                  type: integer
                  minimum: 0
                  maximum: 65535
                  description: >
                    'TCP port of application that wants to receive notifications about new approvals
                    update or create [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-port]'
              example:
                subscriber-application: 'ExecutionAndTraceLog'
                subscriber-release-number: '1.0.0'
                subscriber-operation: '/v1/regard-application'
                subscriber-protocol: 'HTTP'
                subscriber-address:
                  ip-address:
                    ipv-4-address: '<IP_ADDRESS>'
                subscriber-port: 3003
      responses:
        '204':
          description: 'Subscribed for notifications about new approvals'
          headers:
            x-correlator:
              schema:
                type: string
                example: '550e8400-e29b-11d4-a716-446655440000'
              description: 'UUID for the service execution flow that allows to correlate requests and responses. Its value must be identical at the response compared with its corresponding request'
            exec-time:
              schema:
                type: integer
                example: 1100
              description: 'Value written by the service provider, reporting the total elapsed time for the execution, including all the additional processing needed to retrieve the data from the backend service. Expressed in milliseconds'
            backend-time:
              schema:
                type: integer
                example: 850
              description: 'Value written by the service provider, reporting the elapsed time for data retrieval from the backend (service invocation, database access…). Expressed in milliseconds'
            life-cycle-state:
              schema:
                type: string
                enum:
                  - 'EXPERIMENTAL'
                  - 'OPERATIONAL'
                  - 'DEPRECATED'
                  - 'OBSOLETE'
                  - 'UNKNOWN'
                  - 'NOT_YET_DEFINED'
                example: 'EXPERIMENTAL'
              description: >
                  'Life cycle state of the consumed service
                  find in [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-op-s-is-008/layer-protocol=0/operation-server-interface-1-0:operation-server-interface-pac/operation-server-interface-configuration/life-cycle-state]'
        '400':
          $ref: '#/components/responses/responseForErroredServiceRequests'
        '401':
          $ref: '#/components/responses/responseForErroredServiceRequests'
        '403':
          $ref: '#/components/responses/responseForErroredServiceRequests'
        '404':
          $ref: '#/components/responses/responseForErroredServiceRequests'
        '500':
          $ref: '#/components/responses/responseForErroredServiceRequests'
        default:
          $ref: '#/components/responses/responseForErroredServiceRequests'
      callbacks:
        ApprovalNotification:
          url: #[/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-protocol]://[/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-address/domain-name or /core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-address/ip-address/ipv-4-address]:[/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-port][/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-op-c-im-*-*-*-*-003/layer-protocol=0/operation-client-interface-1-0:operation-client-interface-pac/operation-client-interface-configuration/operation-name]
            description: 'To be activated, if received /v1/regard-updated-approval-status::requestBody::approval-status == APPROVED'
            post:
              parameters:
                - $ref: '#/components/parameters/user'
                - $ref: '#/components/parameters/originator'
                - $ref: '#/components/parameters/x-correlator'
                - $ref: '#/components/parameters/trace-indicator'
                - $ref: '#/components/parameters/customer-journey'
              requestBody:
                required: true
                content:
                  application/json:
                    schema:
                      type: object
                      required:
                        - application-name
                        - release-number
                        - protocol
                        - address
                        - port
                      properties:
                        application-name:
                          type: string
                          description: >
                            'Name of application that is approved
                            from [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]'
                        release-number:
                          type: string
                          description: >
                            'Release of application that is approved
                            from [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]'
                        protocol:
                          type: string
                          description: >
                            'Protocol to be used for addressing the application that is approved
                            from [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-protocol]'
                        address:
                          type: object
                          properties:
                            ip-address:
                              type: object
                              properties:
                                ipv-4-address:
                                  type: string
                                  description: >
                                    'IPv4 address of application that is approved
                                    from [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-address/ip-address/ipv-4-address]'
                            domain-name:
                              type: string
                              description: >
                                'Domain name of application that is approved
                                from [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-address/domain-name]'
                        port:
                          type: integer
                          description: >
                            'TCP port of application that is approved
                            from [/core-model-1-4:control-construct/logical-termination-point=ro-2-0-1-tcp-c-*/layer-protocol=0/tcp-client-interface-1-0:tcp-client-interface-pac/tcp-client-interface-configuration/remote-port]'
                      example:
                        application-name: 'CurrentController'
                        release-number: '1.0.0'
                        protocol: 'HTTP'
                        address:
                          ip-address:
                            ipv-4-address: '<IP_ADDRESS>'
                        port: 4001
              responses:
                '204':
                  description: 'Application will be regarded'
                  headers:
                    x-correlator:
                      schema:
                        type: string
                        example: '550e8400-e29b-11d4-a716-446655440000'
                      description: 'UUID for the service execution flow that allows to correlate requests and responses. Its value must be identical at the response compared with its corresponding request'
                    exec-time:
                      schema:
                        type: integer
                        example: 1100
                      description: 'Value written by the service provider, reporting the total elapsed time for the execution, including all the additional processing needed to retrieve the data from the backend service. Expressed in milliseconds'
                    backend-time:
                      schema:
                        type: integer
                        example: 850
                      description: 'Value written by the service provider, reporting the elapsed time for data retrieval from the backend (service invocation, database access…). Expressed in milliseconds'
                    life-cycle-state:
                      schema:
                        type: string
                        enum:
                          - 'EXPERIMENTAL'
                          - 'OPERATIONAL'
                          - 'DEPRECATED'
                          - 'OBSOLETE'
                          - 'UNKNOWN'
                          - 'NOT_YET_DEFINED'
                        example: 'EXPERIMENTAL'
                      description: 'Life cycle state of the consumed service'
                '400':
                  $ref: '#/components/responses/responseForErroredServiceRequests'
                '401':
                  $ref: '#/components/responses/responseForErroredServiceRequests'
                '403':
                  $ref: '#/components/responses/responseForErroredServiceRequests'
                '404':
                  $ref: '#/components/responses/responseForErroredServiceRequests'
                '500':
                  $ref: '#/components/responses/responseForErroredServiceRequests'
                default:
                  $ref: '#/components/responses/responseForErroredServiceRequests'

Notify-Approvals ist das Management-Request:
  - forwarding-name: ApprovalNotification
    uuid: ro-2-0-1-op-fc-is-007
    forwarding-type: Subscription
    management-requests:
      operation-client-update:
        - server-name: /v1/notify-approvals
          uuid: ro-2-0-1-op-s-is-008
      fc-port-update:
        - server-name: /v1/notify-approvals
          uuid: ro-2-0-1-op-s-is-008
      fc-port-deletion:
        - server-name: /v1/end-subscription
          uuid: ro-2-0-1-op-s-bm-004
      operation-client-deletion:
    initiating-requests:
      - service-name: /v1/regard-updated-approval-status
        uuid: ro-2-0-1-op-s-is-003
    consequent-requests:
      - client-name: ExecutionAndTraceLog:://v1/regard-application
        uuid: ro-2-0-1-op-c-im-eatl-1-0-0-003
      - client-name: OamLog:://v1/regard-application
        uuid: ro-2-0-1-op-c-im-ol-1-0-0-003
      - client-name: AdministratorAdministration:://v1/regard-application
        uuid: ro-2-0-1-op-c-im-aa-1-0-0-003
      - client-name: ApplicationLayerTopology:://v1/regard-application
        uuid: ro-2-0-1-op-c-im-alt-1-0-0-003
      - client-name: OperationKeyManagement:://v1/regard-application
        uuid: ro-2-0-1-op-c-im-okm-1-0-0-003

Die beiden notify-Services müssen dementsprechend stattdessen als management-Services definiert werden, d.h. sie speichern die Informationen über die Subscriber
Die tatsächliche Information über ein neues Device oder ein neues ControlConstruct wären dann eigene Services

2 neue Services in ServiceList:
        - operation-name: /v1/notify-new-device-available
          uuid: mwdi-1-0-0-op-s-is-001
        - operation-name: /v1/notify-new-control-construct-available
          uuid: mwdi-1-0-0-op-s-is-002
        - operation-name: /v1/inform-about-new-device
          uuid: mwdi-1-0-0-op-s-is-003
        - operation-name: /v1/inform-about-new-control-construct
          uuid: mwdi-1-0-0-op-s-is-004


XSSFWorkbook pivot table : Write to fileStream impossible after adding VBA

After adding VBA project to a existing XLSX file with Pivot table. I cannot write it .
Code exemple :
           XSSFWorkbook xlWorkbook; // workbook ( with pivot table)  without VBA for now
            XSSFWorkbook xlWorkbookVBA; // workbook with VBA only ( 1 empty sheet )
            using (var fileVBA = new FileStream(@"C:\TestApp\Files\VBA\VBA.xlsm", FileMode.Open, FileAccess.ReadWrite))
            {
                xlWorkbookVBA = new XSSFWorkbook(fileVBA);
            }

            using (var file = new FileStream(excelName, FileMode.Open, FileAccess.ReadWrite))
            {
                xlWorkbook = new XSSFWorkbook(file);
            }

            xlWorkbook.SetVBAProject(xlWorkbookVBA); // adding vba to the wookbook

            using( var fs = new FileStream(@"C:\TestApp\Files\VBA\test.xlsm", FileMode.Create, FileAccess.ReadWrite))
            {
                xlWorkbook.Write(fs); // saving the workbook with vba  added
                fs.Close();
            }

Here is the stackStrace :
   at NPOI.OpenXml4Net.Util.XmlHelper.WriteAttribute(StreamWriter sw, String attributeName, Nullable`1 value)
   at NPOI.OpenXmlFormats.Spreadsheet.CT_SharedItems.Write(StreamWriter sw, String nodeName)
   at NPOI.OpenXmlFormats.Spreadsheet.CT_CacheField.Write(StreamWriter sw, String nodeName)
   at NPOI.OpenXmlFormats.Spreadsheet.CT_CacheFields.Write(StreamWriter sw, String nodeName)
   at NPOI.OpenXmlFormats.Spreadsheet.CT_PivotCacheDefinition.Write(StreamWriter sw)
   at NPOI.OpenXmlFormats.Spreadsheet.CT_PivotCacheDefinition.Save(Stream stream)
   at NPOI.XSSF.UserModel.XSSFPivotCacheDefinition.Commit()

Someone have a workaround ?

xlsm is not fully supported by NPOI.  VBA module may get lost after saving with NPOI. Please check if EPPlus can solve your issue.


[Bug] [Python] Python-gate can't support setting the same task name in the same project for different process

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When I set tasks with the same name in different process of the same project through python-gate.
The system treats these two tasks as one.
Instead of inserting a new piece of data to table t_ds_task_definition, the system adds one to the original version of the data.
Although the correct task was found in the t_ds_task_definition_log table by version when the task was executed, this still has implications.
So when a task is created, it should be treated as a new task.
What you expected to happen
When I set tasks with the same name in different process of the same project through python-gate,it should be treated as a new task.
How to reproduce
Set tasks with the same name in different process of the same project through python-gate
Anything else
No response
Version
2.0.3
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

good catch


Handle TimestampType separately when convert to pandas' dtype.

When the initialization of pandas in pyarrow is not done yet, it can't convert pa.TimestampType to pandas' dtype. In that case, the following example raises an error:
from datetime import datetime
import databricks.koalas as ks

kdf = ks.DataFrame({'t': [datetime(2019, 1, 1, 0, 0, 0), datetime(2019, 1, 2, 0, 0, 0), datetime(2019, 1, 3, 0, 0, 0)]})
kdf[kdf['t'] != kdf['t']]

>>> kdf[kdf['t'] != kdf['t']]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/ueshin/workspace/databricks-koalas/master/databricks/koalas/frame.py", line 6646, in __repr__
    pdf = self.head(max_display_count + 1)._to_internal_pandas()
  File "/Users/ueshin/workspace/databricks-koalas/master/databricks/koalas/frame.py", line 6639, in _to_internal_pandas
    return self._internal.pandas_df
  File "/Users/ueshin/workspace/databricks-koalas/master/databricks/koalas/utils.py", line 338, in _lazy_property
    setattr(self, attr_name, fn(self))
  File "/Users/ueshin/workspace/databricks-koalas/master/databricks/koalas/internal.py", line 638, in pandas_df
    for field in sdf.schema})
  File "/Users/ueshin/workspace/databricks-koalas/master/databricks/koalas/internal.py", line 638, in <dictcomp>
    for field in sdf.schema})
  File "pyarrow/types.pxi", line 404, in pyarrow.lib.TimestampType.to_pandas_dtype
  File "/Users/ueshin/workspace/databricks-koalas/miniconda/envs/databricks-koalas_3.6/lib/python3.6/site-packages/pyarrow/pandas_compat.py", line 625, in make_datetimetz
    return _pandas_api.datetimetz_type('ns', tz=tz)
TypeError: 'NoneType' object is not callable

We know the dtype should be np.dtype('datetime64[ns]'), so we don't need to rely on pyarrow's implementation.
>>> kdf[kdf['t'] != kdf['t']]
Empty DataFrame
Columns: [t]
Index: []

Resolves #772.

FYI: Seems like here is a bug:
https://github.com/apache/arrow/blob/master/python/pyarrow/pandas-shim.pxi#L150-L151
Maybe we need to add self._check_import().

also cc @harupy

Codecov Report

Merging #798 into master will decrease coverage by 2.3%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #798      +/-   ##
==========================================
- Coverage   94.28%   91.98%   -2.31%
==========================================
  Files          32       32
  Lines        5773     5775       +2
==========================================
- Hits         5443     5312     -131
- Misses        330      463     +133

Impacted Files
Coverage Δ

databricks/koalas/base.py
94.8% <100%> (-0.07%)
:arrow_down:

databricks/koalas/typedef.py
83.12% <100%> (+0.43%)
:arrow_up:

databricks/koalas/internal.py
95.85% <100%> (ø)
:arrow_up:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
77.5% <0%> (-7.5%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/frame.py
95.19% <0%> (-1.7%)
:arrow_down:

databricks/koalas/namespace.py
84.81% <0%> (-1.33%)
:arrow_down:

databricks/koalas/plot.py
93.34% <0%> (-0.96%)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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


Can   i set  custom  field with  deafult value?

can you provide an example of what you'd like to do, please?


Upstream LibreELEC patch

Hello,
librespot for LibreELEC is patched to notify Kodi of playback start/stop.
I have updated the patch for librespot 0.1.6 to work for librespot of the dev branch.
Would it be possible to upstream this patch to librespot?
This commit is the best I can do with my limited knowledge of librespot and Rust.
I expect that this commit needs to be adapted to suit librespot coding conventions.

Sure, upstream patches are welcome. They'll have to be somewhat generic though, we don't want --notify-kodi and in the future --notify-foo and --notify-bar.
Principally I think the behavior you are looking before should go with one of the existing event handlers here: https://github.com/librespot-org/librespot/blob/39fcbb83260d38c078f4e07c44b0fcf4e15e94cc/src/player_event_handler.rs.

Thank you for your reply @roderickvd.
Using the existing event handlers would add a shell layer between librespot and its Python wrapper.
Would it be possible to add an event handler to log events to the standard error (--log-events), as the libreelec patch does?

We're already printing lots of stuff to stdout with the --verbose flag.

Would it be possible to add an event handler to log events to the standard error

That sounds like an abuse of standard error to me.

Using the existing event handlers would add a shell layer between librespot and its Python wrapper.
Would it be possible to add an event handler to log events to the standard error (--log-events), as the libreelec patch does?

Don't abuse Standard Error. That's not what it's for. If someone were to use that flag and librespot were running as a service any and all things that handle services would rightfully interpret the output as an error.

If you want to handle events use the event handler.

Otherwise if that's not to your liking add what you need to the existing debug level messages in spirc.rs for state changes, use the verbose logging mode and parse stdout. (Still not a great idea our logs are already noisy enough IMHO)

IMHO --onevent is the best and most downstream agnostic solution. As soon as we accept notify-kodi we'll have 75 other non-compatible app specific flags and options.

Is anyone interested in implementing a more general solution or should I move to close this PR?

Closing for now but feel to reopen for a generic solution.


update the url for the latest release wheel

the new examples seem to be working in jupyterlite: https://output.circle-artifacts.com/output/job/0ab49e34-f418-4e76-960f-44a2d9f22be2/artifacts/0/doc/lite/lab/index.html


Limit size of the documentation hover?

Sometimes it takes the whole screen: https://i.imgur.com/4JJqHGB.png
BTW. It looks like it won't display if it can't fit.

You can limit message size by overriding lsp-show-hover, I don't think it could be done in the way which fits everyone, so better to not do it by default but allow user to choose.
Also ref #75

I think some sensible defaults shipped by default wouldn't hurt.
Any instructions how exactly I should override lsp-show-hover?

Something like this should do the job:
def -override -hidden lsp-show-hover -params 2 -docstring "Render hover info" %{ evaluate-commands %sh{
    # update 40 with your preference of how many lines to cut
    content=$(printf %s "$2" | head -n 40 | sed s/\'/\'\'/g)
    case $kak_opt_lsp_hover_anchor in
        true) printf "info -anchor %%arg{1} '%s'" $content;;
        *)      printf "info '%s'" $content;;
    esac
}}

This command is hidden for the only purpose not to litter autocompletion as it's not supposed to be used from the prompt. But it's not private in any mean and exists solely for the possibility to override it.
But you are totally right, it worth to be documented. Care to add a wiki page?

Why can't it be an option?  lsp-show-hover would check if the option is set, and if it is, it would run the content through a function that was defined in this option. This way it's not hidden, it doesn't pollute autocompletion, and is fully plugable.

I've created a wiki page here: https://github.com/ul/kak-lsp/wiki/Customize-hover-documentation-size-content , but I still think that and option is the idiomatic way to do it.

Yes, I tend to agree now that option worth adding. I'll work on it next week, now going offline for few days. PR is welcome as well, of course.


Copy OFL.txt or LICENSE.txt if it exists

When fontbakery.py runs, it should copy files named OFL.txt or LICENSE.txt if they exist.

@felipesanches Seems not working at the moment

No longer building


Support pandas 1.0.0

I currently get the following warning:
ERROR: awswrangler 0.2.6 has requirement pandas~=0.25.3, but you'll have pandas 1.0.0 which is incompatible.

Thanks @impredicative!
Now we support Pandas 1.0.0 starting from AWS Data Wrangler 0.3.0!

@igorborgest I see it on PyPI but not at https://anaconda.org/conda-forge/awswrangler
Assuming the above conda-forge repo is managed by awslabs, can awswrangler please also be released there whenever it is published to PyPI? Until then I'll have a hard time installing it.
Or is the conda-forge repo unofficial and maintained by someone else? In this case, maybe awslabs should petition to take over it and publish there themselves.

I now see it on conda-forge.

Yeah, I'm trying to understand this workflow to accelerate it.
https://github.com/conda-forge/awswrangler-feedstock/issues/38


Invariant with version 7.4.3

Describe the bug
While trying to update to the latest patch version we started seeing
Invariant Violation: In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()

in our specs.
We are not using the new hooks API. What further info would you need? We are using a DragSource and a DropTarget in the same component.
I do suspect that this change: https://github.com/react-dnd/react-dnd/commit/6440c548a72f4076d4c9de4b9e91d14fdf99caf4 has something to do with it.
I, also, do suspect this is somewhat related to #1307 since only the specs in which we're testing sort functionality are failing.

Are you using a function component?

This should be fixed with v7.4.4

Yes, we're using a function component. 7.4.4 seems to have fixed the issue. Pipeline is green again 👍


Allow use of a personal client id for Spotify

Use a personal clientid for spotify to overcome the heavy rate limit limitation of our global clientid

Should the process for getting the client id be documented on the spotify page here?


Added working of incompatibility with swarm-mode

Services/stacks/configs are not yet welcome into the interlock world and naming is confusing
so i figured the best place to advise people is in the example

Thanks!  How about instead of the individual compose files we put a notice in the README?


Proposal: Ducky

Description

A on-chain art creator. Users can create on-chain art and mint it as an NFT

Bounty track

NFT

Approved. Can you paste deployment links, github repos and so on into here? You can use one of those free platform like vercel or cloudflare pages to deploy your app.

Github repo - https://github.com/lyledavids/duckykaia
Dorahacks - https://dorahacks.io/buidl/15797

In future, when adding new features and improvements, do I need to notify you on github as well?

In future, when adding new features and improvements, do I need to notify you on github as well?

i will close this issue soon for payout. So when you make updates, just open a new issue. I probably need to add an update template.

Github repo - https://github.com/lyledavids/duckykaia

Can you deploy this so i can use and assign a bounty amount? Don't have to buy a domain or anything. Cloudflare pages or vercel allows you to connect your github repo to their platform and deploy to their domain for free.
Also, i see the smart contract address 0x05d0aca3ba12f010f6a26104da5cb83419723842, can you share the contract code as well?

Current nft contract and future contracts can be found here - https://github.com/lyledavids/duckykaia/tree/main/contracts
Will move from using Remix to Hardhat soon so there will be changes in the repo
Deployment - https://duckykaia.netlify.app/

Cool. Give me a day or 2 to sort out the payment.

Ok interesting. I think your URI metadata is mis-configured that's why it's not rendering on explorer. My tx has the correct input (https://kairos.kaiascan.io/tx/0x72042d38d806855774d17413db315629589f082f377c398ae42c8eaf7d043a99?tabId=inputData&page=1).
Double check your token URI, or override it if needed. Check out a tutorial for onchain nft here:
https://docs.base.org/tutorials/complex-onchain-nfts/
Be mindful of svg image size, maybe do a check for that.
I will approve for 900 KLAY payout for this. It's very promising but need a lot more work.
Also, I recommend using Vite (instead of Create React App because your hot-reload will get significantly longer as your project gets bigger) and adopt Wagmi + RainbowKit for managing wallet interactions rather than writing everything manually yourself (it would work but it would take a lot longer for you to handle tx life cycle). I am ok with "raw UI" but I want great UX.

Closing this issue ready for payout

Also, please create a PR and add yourself to the hall-of-fame.md file here:
https://github.com/kaiachain/kaia-dapp-mono/blob/main/bounty/hall-of-fame.md

Ok interesting. I think your URI metadata is mis-configured that's why it's not rendering on explorer. My tx has the correct input (https://kairos.kaiascan.io/tx/0x72042d38d806855774d17413db315629589f082f377c398ae42c8eaf7d043a99?tabId=inputData&page=1).

Also, I recommend using Vite (instead of Create React App because your hot-reload will get significantly longer as your project gets bigger) and adopt Wagmi + RainbowKit for managing wallet interactions rather than writing everything manually yourself (it would work but it would take a lot longer for you to handle tx life cycle). I am ok with "raw UI" but I want great UX.

I noticed the issue with token URI, have sorted it out
I'm moving things over into Scaffold-ETH2, they have everything pre-configured

Are there any other alternatives for data besides Subquery?

it depends on your use case but check here: https://github.com/kaiachain/awesome-kaia
and here: https://www.kaia.io/ecosystem
make a new issue when you are ready to submit again


Add transformers version to base config

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Cancel pending request like google map

Hello so far I funded on options ImageLoaderLimit (number of concurrent image requests) but I want resolve my problem like google team - by  cancel any unnecessary request (when I change zoom or position). How can I do that?

Once a tile request has started communicating with the server, there's currently no way for you to abort it. To make that happen, we'd need to add the functionality somehow to the ImageLoader. What sort of API would be good? Would you want to abort all of the in flight requests, or would you want to look through them and pick and choose?
Would you be up for working on a patch for this new feature?
Meanwhile, the imageLoaderLimit is your best bet... for instance, if you keep it to 1, then there will only be one load in flight at any time. Once it completes, it'll load whatever is the most important tile at that moment, so you know you're always getting the best tiles for the view.

Would you want to abort all of the in flight requests, or would you want to look through them and pick and choose?

I would like to cancel all that are still saving (pending) retaining images that have already downloaded

Would you be up for working on a patch for this new feature?

sure, we just need to clarify what we want to achieve so that two sides can benefit from it :)

I believe if it was an XHR request, then there is an abort method.
Digging a little into the code, it seems the relevant part of the code in OSD https://github.com/openseadragon/openseadragon/blob/c01887f/src/openseadragon.js#L2158-L2191, the xhr request object can either be an xhr request, or an activexobject, if the user tried to access file://.
AFAIK, activexobject https://developer.mozilla.org/en-US/docs/Archive/Web/JavaScript/Microsoft_Extensions/ActiveXObject does not seem to support abort functionality.
I am actually interested to implement a patch, if it is a feature that you would like in OSD.

Yes, this functionality would be welcome! I'm still not really sure exactly what API would be best, but I suppose the first step is having it available at a low level.
Note that most tile loads happen via the browser's image loading mechanism, not through XHR (though XHR is an option). It would be good to provide a way to abort those as well. Looks like it's possible, according to this post:
https://stackoverflow.com/a/5278475/306351
… simply by replacing the src attribute.
Anyway, @xgui3783, @jaroslawwroblewski please confer here on the proposed patch so we are all on the same page, and everyone knows who is doing what :-)

@iangilman aww, I had not noticed that most of the images load via img.src.
my concern of setting src to an empty string is that since it is a non standard behaviour, it could potentially break in the future, should the browser decide to patch it.
Am I correct in assuming that the reason XHR requests are not used in all circumstances is

backwards compat or
circumvent cors

?

Well, OpenSeadragon has been around for quite a while; CORS wasn't really a thing back when OSD got started. So the answer to "why doesn't it default to XHR" is partially just historical. We even have a JSONP loading option for tile sources, if that tells you anything!
That said, I don't know what the implications of switching over to XHR are at this point. I don't think I'd want to make it the default, because it would likely break at least some existing OpenSeadragon uses, and at any rate it adds one more layer of complication to people getting set up in the first place (having to make sure their server is properly configured). Images have the advantage of working without extra configuration in most scenarios.
Anyway, I think the cancellation feature would still be useful, even if it's only for the XHR path… People who want cancellation can go the extra mile to make sure they're set up for XHR.
But also, it doesn't necessarily seem too risky to use the empty string solution for image loading… If the browsers stop supporting it, I would think it just wouldn't abort, but there wouldn't necessarily be other negative side effects. Are there possible effects I'm not considering?


django_recaptcha namespace for django-recaptcha 4.x

Address #52.
I did not run make install or whatever (do people still do thsi?). No tests have been updated but I am using this fork on other projects

Ah no PR #50 is better. Should have checked first!


Add fromStream to ServiceAccountCredentials and ServiceAccountJwtAccessCredentials

While integrating this library with google-cloud-java I realized there is no easy way to create ServiceAccountCredentials and ServiceAccountJwtAccessCredentials from a JSON credentials file.
It's important to have such methods for users that are willing to create an implementation of ServiceAccountSigner. The factory method fromStream in GoogleCredentials is not a good fit as it would require casting to get a ServiceAccountCredentials instance.
This should probably trigger a new release, I wish I had identified this earlier.
/cc @garrettjonesgoogle @anthmgoogle @lesv

LGTM from me, but I'd rather Anthony or Garrett gave the formal approval.

LGTM