Description of the bug/crash
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0) CustomGameSettings.GetCurrentQualitySetting (System.String setting_id) (at <1f4c5a7d658c4522888fade7e74323ad>:0) CustomGameSettings.GetCurrentQualitySetting (Klei.CustomSettings.SettingConfig setting) (at <1f4c5a7d658c4522888fade7e74323ad>:0) CustomGameSettingsModifier.CustomSettingsController.LoadGameSettings () (at <2865be3a595b40158acd09676dd9beef>:0) CustomGameSettingsModifier.CustomSettingsController.ShowWindow () (at <2865be3a595b40158acd09676dd9beef>:0) CustomGameSettingsModifier.Patches.OnCustomMenuButtonPressed () (at <2865be3a595b40158acd09676dd9beef>:0) KButtonMenu+<>c__DisplayClass11_1.<RefreshButtons>b__1 () (at <1f4c5a7d658c4522888fade7e74323ad>:0) KButton.SignalClick (KKeyCode btn) (at <d35824e72985464e85149179dd14d71e>:0) KButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <d35824e72985464e85149179dd14d71e>:0) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <e9635660f69b4d9d84c085aeda3be353>:0) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) (at :0)
UnityEngine.EventSystems.EventSystem:Update()
Build: U46-552078-V
Steps To Reproduce
I just downloaded this mod and opened the game menu in my archive. When I clicked on "Change difficulty", the game crashed
Player.log
D:\w4play\steamapps\common\OxygenNotIncluded

not a log.
fixed in 1.0.1


avoid strerror_r failure on unknown errnum

This is an informative function anyway, so as fallback just return a string with the raw errnum. Avoids panics / interpreter aborts in std on unknown errnum in from_raw_os_error.

@bors r+

:pushpin: Commit fa8164c1d1f4f5abd31237ab29d76fa7d37e1364 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit fa8164c1d1f4f5abd31237ab29d76fa7d37e1364 with merge 47f1eea327d1b2a8097bf7d4b91f1d4c6dd076a0...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit 6d14a5e2a7c17f1fec43c319cc9317ded44701ea has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 6d14a5e2a7c17f1fec43c319cc9317ded44701ea with merge 74c5f1b468f000a9a94c6f72d08006f71d5d661e...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 74c5f1b468f000a9a94c6f72d08006f71d5d661e to master...


mid level

https://rejection-torwzprasl.now.sh
https://github.com/ryanbas21/rejection
updated links. loads data on login 👍

Finish up! =)

Tip:

Keep sagas smaller -- avoid run-on sentences because the flow can be too confusing.


remove unused store test

Signed-off-by: Victor Vieux<EMAIL_ADDRESS>

LGTM

since the libnetwork PR was merged in the engine, tests should be green.

:+1:


task1 complete

please exclude qml_task1.qmlproject.user as this is user config
add it to .gitignore


get_fstar_z3: Use x64 version for 4.8.5 in Apple silicon

Suggested by @msprotz. cc @gebner too.
Wondering if the message about Rosetta is prominent enough, and whether we want a keypress to continue.. any thoughts?

FWIW, this needs more work to run on macos (due to bash 3).  We got started at the same time. 😄  Here's where I am currently at: /

Ah thanks! Just realized I missed that bit. Mind if I apply that patch here? Seems to work fine

Ah, closing in favor of your PR.


I'm not able to save the file

Hello! Followed the documentation, but the file is not being saved to the directory. My code:
return RaisedButton(
      onPressed: ()async{
        final Directory appDocDir = await getApplicationDocumentsDirectory();
        final String finalDocDir = appDocDir.path;

        final Excel excel = Excel.createExcel();
        try {
          excel.encode().then((onValue){
            File(join("$finalDocDir/form.xlsx"))..createSync(recursive: true)
            ..writeAsBytesSync(onValue as List<int>);
          });
        } catch (e) {
          debugPrint(e.toString());
        }
      },
    );

I had to convert to List  because the method does not accept List ,
no console error is displayed

Try to remove onValue as List
And also make sure that you had sufficient permission to write to the desired storage area !!
return RaisedButton(
      onPressed: ()async{
        final Directory appDocDir = await getApplicationDocumentsDirectory();
        final String finalDocDir = appDocDir.path;

        final Excel excel = Excel.createExcel();
        try {
          excel.encode().then((onValue){
            File(join("$finalDocDir/form.xlsx"))..createSync(recursive: true)
            ..writeAsBytesSync(onValue);
          });
        } catch (e) {
          debugPrint(e.toString());
        }
      },
    );

If you find that the issue still persists then be happy to reopen the issue.


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2023-08-19T06:06:32+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
515c1fd96e195aee5bcc6e2159a94f28fa53ba57
link
true
/test unit-tests-arm64

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

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
515c1fd96e195aee5bcc6e2159a94f28fa53ba57
link
true
/test unit-tests-arm64

integ-basic-arm64_istio
515c1fd96e195aee5bcc6e2159a94f28fa53ba57
link
true
/test integ-basic-arm64

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

/retest


[qwik-pod] Fix Back Arrow Issue On Browser Bar When Going Through Profile Page Repo

Issue resolved in PR https://github.com/thisdot/starter.dev-github-showcases/pull/924


Feature/contract update

Looks good to me note an issue created here that we need to deploy SoulBoundGreen to base at some point @miquelcabot @H34D


Update the query_hash for post downloads

It's necessary because for the old query_hash IG isn't returning the full structure any more.
So the old query_hash is replaced with the current one.

Urls are from https://www.instagram.com/cats_of_instagram/.
This one is currently used in Instaloader:
https://www.instagram.com/graphql/query/?query_hash=472f257a40c653c64c666ce877d59d2b&variables=%7B%22id%22%3A%227013409%22%2C%22first%22%3A50%2C%22after%22%3A%22QVFBNmlPTlE4YU15U0R1X1otUVNuSFVxY3M2QWVqbWlfcFBVVGNyY0NQeFR4Nkp6RVR3Vl9TV016T3UyY3kyTm1Ib2h2NGw5aDBXc3dMUmFiVWY5M0J3Vg%3D%3D%22%7D
Now look here at the current one from the website:
https://www.instagram.com/graphql/query/?query_hash=003056d32c2554def87228bc3fd9668a&variables=%7B%22id%22%3A%227013409%22%2C%22first%22%3A50%2C%22after%22%3A%22QVFBNmlPTlE4YU15U0R1X1otUVNuSFVxY3M2QWVqbWlfcFBVVGNyY0NQeFR4Nkp6RVR3Vl9TV016T3UyY3kyTm1Ib2h2NGw5aDBXc3dMUmFiVWY5M0J3Vg%3D%3D%22%7D
Especially look on node indexes 3 (GraphSidecar, CLAIIh5lwWa) and 4 (GraphVideo, CK_znJ_nxYa).

Looks good, thanks!


Write a Java program to print reverse of a number

Description
Write a Java program to print reverse of a number
Reverse of a number is the number obtained by reversing the digits of the original number. For example, the reverse of 123 is 321. The reverse of 100 is 1. The reverse of 1000 is 1.
Input  : 123
Output : 321

How to contribute

Save the solution in program/PrintReverseOfANumber.java file
Add PrintReverseOfANumber.java file in print-reverse-of-a-number folder

!assign


Remove jqueryui shim

Requires jupyter/notebook#770 and therefore notebook 4.1.

This is ready too.

Sweet! :D Thanks.  It's nice to see all of this clean up~!

Yes, I would love to be able to remove the last transform regarding css, i.e. have the same syntax for node-[css/less]ify and require-[css/less].


Incompatibility with Coomfy Dungeons

Desync occurs due to overriding mapSizeMultiplier

I'll look at it after my break
Thanks you for report


Add checks to prevent Github Actions error

Adds a check to prevent Github Actions from failing due to a git error inside the release file. the error occurs when it attempts to git rev-parse in a directory with no tree as GHA doesn't seem to create one for the build repository.
Also adds comments to provide status reports in the console during release file generation.
Signed-off-by: Austin Bailey<EMAIL_ADDRESS>

Seems to be all good, error is gone from GHA logs and jenkins artifacts appear the same.
Example of new console logs:
=JAVA VERSION OUTPUT=
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_272-202009171930-b07)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.272-b07, mixed mode)
=/JAVA VERSION OUTPUT=
===GENERATING RELEASE FILE===
ADDING IMPLEMENTOR
ADDING BUILD SHA
ADDING FULL VER
ADDING SEM VER
ADDING BUILD OS
ADDING VARIANT
ADDING JVM VERSION
MIRRORING TO JRE
ADDING IMAGE TYPE
===RELEASE FILE GENERATED===


MAINT: stats: change some instances of special to sc

In gh-6294 references to special were shortened to sc, but before
it was merged some further references to special were added. This
changes the new references to also be sc.

Travis is green now, so hopefully this fixes the recent build failures.

merged, thanks @person142


fix: migration v12

Related to:

#525

Should also solve:

#526

Can you test all migrations on testnet now?

Can you test all migrations on testnet now?

[x] devnet
[ ] testnet

Looks good! We might want to move the deprecated Node definition structs to a shared file in the future, no? Because we will have to do this again in the future.

Looking for something to centralize structs versions See last commit

Looks great!

@renauter can you fix CI ?


Improvement OpenAI generated name: translation support

It would be very nice if the OpenAI prompt also included translation language.
You are also passing the UserData object so the information should already be available.
I did a small test in the free prompt and it seemed to work.

Also tried language codes:

Initial prompt is ready: https://github.com/strautomator/core/commit/ee7db74334bf4735cf28bd56e20f09af5b8c94f6

Btw, not sure if you know, there's a beta environment available to PRO users so they can test upcoming features. It's updated automatically with every new commit / push. It takes around 10min for the whole build and test to complete, so if you want to try some of these new features in a few minutes: beta.strautomator.com.

Nice I tested it out on beta and seems to work 🎉

Released: https://github.com/strautomator/web/releases/tag/v23.276.11230


Don't get typings for projects with disabled language services

As far as I can tell, the side-effects of the skipped methods only modify caches that they themselves consume.

@amcasey,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Please port this to release-2.5

Sure


"Record not found" on GetObjects after UpdateObject

Describe the bug
After updating an object in a collection a GetObjectsRequest on the collection fails with "Record not found".
To Reproduce
Steps to reproduce the behavior:

Create a new collection
Add a new object to the collection (initialize and finish it)
Update the object, but don't finish the updated object (a finish at this point actually fails with the same error)
Request all objects within the collection, this fails

Expected behavior
After the update the request to get all objects within the collection does not fail, but return an empty list of objects (the old object is removed, the updated version not yet finished).

Hi,
Thanks for your report unfortunately we were unable to reproduce this issue:
Can you please share the version you used and a short minimal (code) example which reproduces this issue on your side ?
You can omit any real IDs mockups like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx are enough.
Thanks in advance!

Hi, here you go: https://github.com/dbrandenstein/aos_example/tree/update-object-issue
I first thought it might be a version incompatability since I was not sure which version of the server is currently deployed on your side, but it seems to behave in the same way no matter which client version I use.
I first encountered the issue with version 0.5.0-beta.7, but the example is now using 0.5.0 and I also tried others.

Hey,
Thanks a lot for this in-depth example. With this we could finally reproduce the issue, turns out the missing HashSum was a problem (even though staging objects should not be queried in the GetObjects request). The issue will be fixed when 6f6fc99 is pushed to upstream.
I will leave this open till this has happend.

This should be fixed by #43
Feel free to reopen this issue if any related problems still occur.


Spring cleaning

Just removing old code - all tests still pass, but could everyone @hrshdhgd @caufieldjh @iQuxLE have a look and make sure I'm not throwing out anything useful?

Are we deleting all these files? Where is all the code then?

Yep, definitely let me know if I've deleted anything we need!

Do we have a function for getting MRCAs other than the one in similarity.rs?

I just added back _mrca_and_score() - it's not used now and is pretty simple, but for sure we'll need something like this eventually


Paint factory for paint instances used through out the engine.

Problem to solve
There is no way to globally customize the default paints used though out the engine. I can't for example, change the default white color paint used on Sprites to a different one without having to explicit pass a custom paint to all the instances.
Proposal
We could provide global factories, which allows the user to specify their own factories, so the paints could be globally customized.
Example:
PaintFactories.sprite = () => Paint()..color = Colors.white;
PaintFactories.debugShapes = () => Paint()..color = Colors.magenta;
// ..etc

The user could then modify those attributes with new closures to customize to the behaviour they want.

I have seen people ask about such on Discord before, I think this is indeed a good problem to solve. But I would like to suggest a slightly different API.
Lets define a PaintFactory, which will still be a global entity, that you can register paint factories on for different types:
PaintFactory.use<SpriteComponent>(() => Pain()..color = Colors.white);`

This would allow people to register paint objects for their own components as well without having to overwrite anything in their own component
And then internally these can be resolved through an api that just checks if the given value (this) is of type generic:
// This internal API is just a concept to show how it could work, it would obv need more love 💙

class PaintFactory<T> {
  PaintFactory._(this.paint);

  final Paint Function() paint;

  bool check(dynamic value) => value is T;

  static final List<PaintFactory<T>> _factories = [];

  static void use<V>(Paint Function() paint) {
    _factories.add(PaintFactory<V>._(paint));
  }

  static Paint get(dynamic value) {
     return _factories.firstWhere((factory) => factory.check(value), () => Paint());
  }
}

// in `has_paint.dart`
mixin HasPaint on Component {
	late final Paint _paint = PaintFactory.get(this);

	Paint get paint => _paint;
}

The generic for PaintFactory.use could even be T extends Object so that the factories can be used for anything, and not only components. If there is a valid use case for it.
The only downside is the order of registration, as it depends on generics but if we dont provide any defaults we can just document that and then it is up to the user to ensure that.


Docker Build Fails Either on Mac or on Ubuntu

Description
We are trying to build the docker image but it fails.
sudo docker build --build-arg vscodeVersion=1.39.2 --build-arg githubToken=3231321312
On Mac
[build] Installing VS Code dependencies...failed
Command failed: yarn
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>error /src/source/vscode-1.39.2-source/node_modules/vscode-ripgrep: Command failed.
Exit code: 1
Command: node ./lib/postinstall.js
Arguments:
Directory: /src/source/vscode-1.39.2-source/node_modules/vscode-ripgrep
Output:
Finding release for v11.0.1-2
GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v11.0.1-2
Deleting invalid download cache
Downloading ripgrep failed: Error: Request failed: 401
at ClientRequest.https.get.response (/src/source/vscode-1.39.2-source/node_modules/vscode-ripgrep/lib/download.js:106:24)
at Object.onceWrapper (events.js:286:20)
at ClientRequest.emit (events.js:198:13)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
at TLSSocket.socketOnData (_http_client.js:442:20)
at TLSSocket.emit (events.js:198:13)
at addChunk (_stream_readable.js:288:12)
at readableAddChunk (_stream_readable.js:269:11)
at TLSSocket.Readable.push (_stream_readable.js:224:10)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command '/bin/sh -c yarn    && MINIFY=true GITHUB_TOKEN="${githubToken}" yarn build "${vscodeVersion}" "${codeServerVersion}"   && yarn binary "${vscodeVersion}" "${codeServerVersion}"        && mv "/src/binaries/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64" /src/binaries/code-server    && rm -r /src/build     && rm -r /src/source' returned a non-zero code: 1
On Ubuntu
[build] Building default extensions...failed
Command failed: yarn gulp compile-extensions-build --max-old-space-size=32384
(node:106) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
error Command failed with exit code 1.
error Command failed with exit code 1.

Your GitHub token is invalid, please grab a GitHub token via settings. You're getting ratelimited by GitHub so provision yourself a token.


Approach to handle setting up license mapping in different resources

The current dbtcloud_license_map resource can only be set once for an entire dbt Cloud account
This is because the identifier of a resource map is unique for an account rather than each resource map having its own ID
This works fine when the resource is set only once (e.g. a centralised Terraform project for managing multiple dbt Cloud projects), but doesn't allow splitting the configuration of multiple projects into multiple Terraform projects/states.
There are a few different approaches to handle this use case but I would be keen to get feedback from the provider:
Approach 1: Keep the provider as-is and provide examples of how to manage having a state per project
My initial thinking is that I could update the repo https://github.com/b-per/dbt-avoid-chaos to show an example of how we could have:

1 folder/state per dbt Cloud project
and 1 folder/state for the global configuration (e.g. license mapping)

Creating a new project might require creating a new folder and updating another one, but there is no change required on the Terraform side and we stick to the Terraform concept of unique identifier
Approach 2: Create a variation of the resource to allow "non-global" configuration of license mapping
e.g. something like
resource "dbtcloud_license_map" "test_license_map" {
  license_type = "developer"
  sso_license_mapping_groups = ["TEST-GROUP"]
  global_config = false
}

we would check if some license mapping is already in place on the account

if it is not in place, we create a resource mapping and add the group "TEST-GROUP"
if it is in place, we add "TEST-GROUP" to the existing license type

The problems with that approach is that:

If "TEST-GROUP" is removed from the config at some point, I don't know if there will be a way to remove it from the license type mapping (maybe using CustomizeDiff but I am not sure). If it is possible, the logic will be more complex than for other components.
this shifts quite a bit away from the way the dbt Cloud API works

I am currently thinking of Approach 1 as the way to go but would be keen to get some feedback from the the current provider users.

Being that I brought this up I will provide som more information on our usecase, and how and why.
Usecase
We are a central Platform team for a data platform that has several projects running. As the number of projects increase it becomes increasingly difficult to orchestrate the upgrades of the different teams as we roll out changes to the DBT module we use to define a project. Thus we splitt out the state files for the separate teams into separate folders/state-files.
We currently run a singel dbt cloud terraform module that gets invoked by the team. The creation of a new team is copy paste of a folder, and setting of a new state name, and a new project name. The aim is for the creation of new projects to be as self scervice as possible, freeing us to work on other asspects of the platform not configuring new projects.
If we choose to go with Approach 1, we have two options. Either create a second dbt-cloud terraform module that only maintains these account level settings. In order to maintain our goal of self scervice, everyone who can create a new project, will need accesses to these account level settings. This is quite the security risk, and will need to be supported with a robust deployment pipeline to avoid accidental configuration changes. Such a pipeline would likely involve one of us, checking every PR that is run to see that noon e is changing account level stuff. Thus introducing time delay (form pr to one of us has time to check) and it limits self service. We would also have two DBT-cloud modules to maintain and keep up with changes, to avoid the setup breaking.
One solution to the two module issue, could be to implement the account level settings in the single dbt-cloud module and add some kind of logic to only run these setting in one "account level project" typically the central project (our current approach). This would however not solve the access issue, to the contrary, it would now mean that we needed to check that the account project settings weren't changed either. It would also introduce logic to the module that only is requiered for a single invocation of the module, making the project level code unnecessarily complex (to a small extent). And the time bottleneck would still remain. As I said we are currently trialing this, as the number of truly self service developers are low. and we are still required to do considerable amounts of configurations for them regardless.
Approach 2: would allow us to create a truly self contained DBT-cloud module, where all settings required for a new project could be handled by the team itself. We could be removed form the approval loop. Time to create teams goes down. accsess to otter code could be controlled with code ownership. It would increase the modularity approach to multi project terraform code. While I definitely see the challenges with the deletion aspect. And I wonder if it be worth taking this as an improvement request for the DBT-Cloud API as well as the DBT-Cloud provider. And as such I probbably se this more as a long term solution rather than a short term one.

Experiencing same issues as @svenkerud (forresten, hei Sigve).
+1 to approach 2.

I am trying approach 2 not for licenses yet, but for group permissions, via a new resource called dbtcloud_group_partial_permissions.
If anyone watching this issue has the same problem with group, please try the new resource from 0.3.3, add feedback here or in the other issue.
Based on the feedback I will think of creating partial resources for license mapping and for notifications as well.

dbtcloud_partial_license_map is added to 0.3.6 which should be in the registry in a few minutes


kitti_eval can't handle no annotation file

Describe the bug
I'm trying to convert nuscenes data to KITTI format and run mono3d training
when the code running  kitti_eval in   mmdet3d/core/evaluation/kitti_utils/eval.py, it seems the function cannot handle an image with 0 GT annotations
https://github.com/open-mmlab/mmdetection3d/blob/76e351a7a6b0b83d7dc729bdfee5f17743c72f76/mmdet3d/core/evaluation/kitti_utils/eval.py#L717
but there are some frames in nuscenes without annotation so the code reports some error during validation
Is this situation within expectation?

We didn't try to convert nuScenes to KITTI before. I can provide some hints to you and hope they can help you understand this situation:

Typically we prefer to filter those images without GT annotations in mmdet3d.
This line is designed to avoid evaluating AOS when using KITTI metrics on Waymo because Waymo is a multi-camera setting. The computation of alpha is related to which image the bbox is located in.

hello, thanks for detailed situation description about error.
I'm in completely same situation with you.. I guess this error is from my dataset which don't include image and calib.
If you have solved this problem, may I know how you solved it?

hello, thanks for detailed situation description about error. I'm in completely same situation with you.. I guess this error is from my dataset which don't include image and calib. If you have solved this problem, may I know how you solved it? thanks

Same issue encountered for waymo dataset. I added one line of code and seems to work:


Add format! macro to create a termcolor::Buffer

The slight "problem" is that in order to create a Buffer, we probably want to go through BufferWriter. And there again we have to specify a color preference, where we would also default to Auto, I guess.

So the bigger problem is that a Buffer has a specific format (ansi, Windows console, ...) already. That format depends on the platform, but also on runtime values: on Windows, it is checked at runtime whether there is a Windows console. In format! I would have to arbitrarily chose between stdout and stderr to get that information. And of course, in rare situations, the answer for both of these streams might be different!
Most users would probably interpret a bunt::format! API such that it's fine to print the returned buffer on both, stderr and stdout. But that's not necessarily true. So I actually think I'd rather not add format!. It is always possible to write! into an existing buffer.

Yeah, this is the fundamental thing that differentiates termcolor from more ergonomic libraries that only work with ANSI escapes.

It should be possible to implement this by using a platform-independent encoding/format in Buffer and then converting it to the target encoding only when printing it. But that's probably a lot of work and also slower in many cases. Though I don't even know how you store the Windows console API calls in Buffer. I should take a look at that.

Right. Another approach is to write an ANSI interpreter that runs on Windows only. That is, it translates ANSI escape codes on the fly. That way, it's zero cost when using actual ANSI escapes.
To be honest, that's probably the best approach. What I did was just simpler, but I think termcolor could evolve to have an ANSI interpreter without breaking backcompat (since Buffer is so limited).

That's an interesting idea. Looking at your WindowsBuffer::print, interpreting ANSI escapes is probably not even that much slower. And of course, having slowdown on only one platform is better than having it on all platforms.
I'd be somewhat interested in trying that out (also for the sake of having a bunt::format), but I don't have lots of free time to spare. Also, regarding backwards compatibility: there exists Buffer::console which would then not make a lot of sense.


New iconset for Liqo Agent

Description
This PR adds a new iconset for the Liqo Agent according to Liqo official logo and style.

The files of the github.com/liqotech/liqo/internal/tray-agent/icon package are no longer part of the repository.

They are generated automatically in the golint and integration pipelines when they are needed during testing and building.

They can be generated manually by executing locally the provided script make_icon.sh from the project root directory. The iconset is ignored by Git.

Minor changes to code and test are made to maintain consistency with the new icons.

Pull Request Test Coverage Report for Build 317163642

14 of 29 (48.28%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 47.755%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/tray-agent/app-indicator/notify.go
10
13
76.92%

internal/tray-agent/app-indicator/indicator.go
3
15
20.0%

Totals

Change from base Build 315544452:
-0.03%

Covered Lines:
6253

Relevant Lines:
13094

💛  - Coveralls

/rebase


Missing tests

Hi,
I'm confused. From the setup.py I see that it will install pytest for dev/test, but I can't find any tests. Any idea?
https://github.com/gglanzani/hmsclient/blob/master/setup.py#L44-L45
Cheers, Fokko

You are correct, no tests are here (yet). I have to wrap my head around on how to efficiently do it with Docker.
However the functionality of the package is extensively tested within Apache Airflow, a project you might have heard (Incubating!).
The biggest difficulty is finding a suitable Docker image for Hive that I can then use to interface with the metastore.


Error when attempting to import existing namespace

Describe what happened
I'm trying to import an existing namespace, but I'm getting an error "Cluster Client: cluster ID is nil". That doesn't make sense to me, there's nowehre either in the resource or on the provider to set a cluster ID as far as I can see.
Sample program
var testNamespace = new Rancher2.Namespace($"testNamespace-{managedCluster}", new Rancher2.NamespaceArgs
                {
                    Name = "testnamespace",
                    ProjectId = myprojectId,
                },
                new CustomResourceOptions
                {
                    Provider = rancherProvider,
                    ImportId = $"testnamespace-{managedCluster}"
                }
            );

Log output
"diagnostics": [
        {
            "urn": "urn:pulumi:prod::infrastructure-rancher::rancher2:index/namespace:Namespace::testNamespace-mycluster",
            "message": "error: Preview failed: importing testNamespace-mycluster: [ERROR] Rancher Cluster Client: cluster ID is nil\n",
            "severity": "error"
        },
        {
            "message": "error: preview failed\n",
            "severity": "error"
        }
    ],

Affected Resource(s)
No response
Output of pulumi about
Plugins
KIND      NAME          VERSION
resource  azure-native  2.67.0
resource  azuread       6.0.1
resource  command       1.0.1
language  dotnet        unknown
resource  kubernetes    4.18.1
resource  rancher2      7.1.2
resource  random        4.16.7

Dependencies:
NAME             VERSION
Pulumi.Rancher2  7.1.2

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @trondhindenes. Thanks for reporting an issue.
I think you need to import as
var testNamespace = new Rancher2.Namespace($"testNamespace-{managedCluster}", new Rancher2.NamespaceArgs
                {
                    Name = "testnamespace",
                    ProjectId = myprojectId,
                },
                new CustomResourceOptions
                {
                    Provider = rancherProvider,
                    ImportId = $"{myprojectId}.testNamespace" // Maybe $"{myprojectId}.testNamespace-{managedCluster}"
                }
            );

The format for import is <project_id>.<namespaces_id>.

I looked the import section here: https://www.pulumi.com/registry/packages/rancher2/api-docs/namespace/#import. I agree that the error message wasn't great.

Thanks!


In order to save your changes, all s must be a .jpeg

Getting these errors but when I manually upload screenshots they all work fine with no issues from Itunes.  Also is it possible to handle the error if its just for one language and display error after completing?  This would be handy when dealing with 20 + languages.
[!] In order to save your changes, all s must be a .jpeg, .jpg, or .png file that is @@DIMENSION_VALUE@@ pixels, at least 72 DPI, and in the RGB color space. In order to save your changes, all s must be a .jpeg, .jpg, or .png file that is @@DIMENSION_VALUE@@ pixels, at least 72 DPI, and in the RGB color space. In order to save your changes, all s must be a .jpeg, .jpg, or .png file that is @@DIMENSION_VALUE@@ pixels, at least 72 DPI, and in the RGB color space. In order to save your changes, all s must be a .jpeg, .jpg, or .png file that is @@DIMENSION_VALUE@@ pixels, at least 72 DPI, and in the RGB color space. In order to save your changes, all s must be a .jpeg, .jpg, or .png file that is @@DIMENSION_VALUE@@ pixels, at least 72 DPI, and in the RGB color space. In order to save your changes, all s must be a .jpeg, .jpg, or .png file that is @@DIMENSION_VALUE@@ pixels, at least 72 DPI, and in the RGB color space. There is an error for 1 of your localizations.

using ruby 2.1.2

I'm having the same issue when trying to upload a production version to iTunesConnect with deliver.
Currently, snapshot creates one screenshot per language for four devices (iPhone4S, iPhone5, iPhone6, iPhone6+). However, when running deliver, I get the following error:
[14:31:27]: Starting with the upload of screenshots...
[14:31:27]: Uploading 4 screenshots for language en-US
[14:31:27]: Uploading '/Users/brunoscheele/Projects/feedme/fastlane/screenshots/en-US/iPhone4s-1Main.png'...
[14:31:43]: Uploading '/Users/brunoscheele/Projects/feedme/fastlane/screenshots/en-US/iPhone5-1Main.png'...
[14:31:58]: Uploading '/Users/brunoscheele/Projects/feedme/fastlane/screenshots/en-US/iPhone6-1Main.png'...
[14:32:08]: Uploading '/Users/brunoscheele/Projects/feedme/fastlane/screenshots/en-US/iPhone6Plus-1Main.png'...
[14:32:11]: Saving changes
[14:32:14]: Uploading 4 screenshots for language nl-NL
[14:32:14]: Uploading '/Users/brunoscheele/Projects/feedme/fastlane/screenshots/nl-NL/iPhone4s-1Main.png'...
[14:32:15]: Uploading '/Users/brunoscheele/Projects/feedme/fastlane/screenshots/nl-NL/iPhone5-1Main.png'...
[14:34:17]: Uploading '/Users/brunoscheele/Projects/feedme/fastlane/screenshots/nl-NL/iPhone6-1Main.png'...
[14:34:32]: Uploading '/Users/brunoscheele/Projects/feedme/fastlane/screenshots/nl-NL/iPhone6Plus-1Main.png'...
[14:34:41]: Saving changes
[14:34:42]: Variable Dump:
[14:34:42]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios appstore", :BUILD_NUMBER=>"9", :SIGH_PROFILE_TYPE=>"app-store", :SNAPSHOT_SCREENSHOTS_PATH=>"/Users/brunoscheele/Projects/feedme/fastlane/screenshots", :IPA_OUTPUT_PATH=>"/Users/brunoscheele/Projects/feedme/feed me β.ipa", :DSYM_OUTPUT_PATH=>"/Users/brunoscheele/Projects/feedme/feed me β.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/brunoscheele/Library/Developer/Xcode/Archives/2016-03-10/feed me β 2016-03-10 14.30.14.xcarchive"}
[14:34:42]: In order to save your changes, all s must be a .jpeg, .jpg, or .png file that is @@DIMENSION_VALUE@@ pixels, at least 72 DPI, and in the RGB color space. There is an error for 1 of your localizations.

Currently, it's hard to tell what exactly went wrong. But, after checking on iTunesConnect, the screenshots themselves seem to have been uploaded successfully.
Afterwards, I used deliver -i feed\ me\ β.ipa --skip_screenshots --skip_metadata which works without issues. Seems like something is going wrong in confirming the save after uploading all the screenshots.

This appears to be a duplicate of #1590.


Support Lualine bubbles

Expected behavior:

Actual behavior:

This is a problem that has occurred with the recent version update. The strange thing is that if I use PackerCompile, it shows up fine again.

Found solution from Lualine Issues #645. I add hi! link StatusLine Normal after github-nvim-theme setup.


Add Profile:

Profile Submission
Please paste a screenshot of your GitHub profile here.
Profile Category
Please select one or more categories for your profile:

[ ] Badge 🎖
[ ] Backgrounds 😎
[ ] GIFS 🖼
[ ] Code 👨💻

Next Steps
Once you've filled out the information, please comment below:
@all-contributors please add @AnkitMourya12 for review


Switching "It's" backtick to apostrophe

This was causing an unintentional code section.

Thanks!


[Affected functionality] Footer

Browser: Microsoft Edge
Device: HP ProBook 440 G7
Actual behavior: footer re-groups in the screen's size 14''

Expected behavior: icons' and text's placement shouldn't change

Reported issue: Мова об'єднує, Є-мова icons are blurred when monitor is small. Should be checked additionally

skipping text in text to help project


Gain buckets calculation changes

Hi there,
Referencing this issue
Feel free to change the title, had no idea what to put for it as I'm not exactly sure of the exactly issue.
General gist is that even though I earned XP on 2024/03/01, the XP was going to 2024/02/01 due to timezone issues.
Screenshot examples:

@psikoi

For context, the bucketing per day is calculated on the server, on the UTC timezone. And then as these buckets get sent to the client, the daily cutoffs are shown in local date, so gains users think happened on day X, actually were bucketed into day X-1 or X+1.
To fix this, we need to make those bucketing calcs run on the client (browser) to utilize the user's local timezone instead.


Display name of a drive

Thanks for the nice module!
Would it be possible to display a device name?
For example, my usb drive has this name PHY_RH_252.
But I don't see it in the list of options
On mac:
description:"AT90USB128 M S"
device:"/dev/disk3"
mountpoints: {
    path:"/Volumes/PHY_RH_252"
    raw:"/dev/rdisk3"
size:3980394496
system:false

On windows:
description:"ATMEL AT90USB128 M S USB DEVICE"
device:"\\.\PHYSICALDRIVE1"
mountpoints:
    path:"D:"
    raw:"\\.\PHYSICALDRIVE1"
size:3980394496
system:false

Hi @vohtaski,
Drivelist lists the top level drives, and therefore includes the top level drive name in the description property, which is usually slightly different across platforms (depends on what the OS interprets the name), which in your example is "AT90USB128 M S" and "ATMEL AT90USB128 M S USB DEVICE".
"PHY_RH_252", in the other hand, is the name of one of the partitions. I'd love to have this functionality as name or description properties included in the mount-points array.
How do you feel about trying a PR yourself? I can help with any OS you don't have access to.

PR should be good. We definitely need it for the project at my work.
I just can't say for now if it's next week or couple weeks into the future :)

@jviotti
I finally managed to find some time to work on this issue.
My changes for windows and darwin are here.
Should be similar to linux but I dont have linux machine to test.
https://github.com/vohtaski/drivelist/commit/f9a8195df959821e901710a19e426529dd6b915f
I introduced a name volumeName next to path in mountpoints array.
Should I submit a PR?

Hi @vohtaski ,
Sorry for the delay! A PR would be very welcomed! When you create it, can you tick the option to allow the project maintainers to make changes to the PR? I can jump in and push Linux support there.


Add option to specify openssl cipher suite used by ab

Apachebench has a useful -Z option for specifying the cipher suites to use during TLS negotiation.  If BWMG would expose this, the tool can then be used to verify the key exchange and cipher performance of webservers, reverse proxies, and load balancer hardware (for example verifying a vendor's datasheet spec for ECDHE key generation+exchange rate versus RSA2048, etc).
Suggestion/proposal -- provide a -Z option for BWMG to allow specification of the openssl cipher suites, akin to ab's -Z option (just pass it through to ab on the remote instances)

Closing - resolved by PR #192  merge.


Option to dupcheck multi files

Hi, will there be an option to dupcheck multi files at once?
Thanks.

It's pretty simple. Instead of scanning one file, scan all the solution in the vs code.
You can see the logic working, for example, in the "format-files" extension:
https://marketplace.visualstudio.com/items?itemName=jbockle.jbockle-format-files
(Try it and you will understand how it works and what i'm talking about).
It's just scan all the files and format them. You can do the same logic, and in the output window, display each file - the duplicate lines.
Add option to select all the files in the solution in the ctrl+shift+p ("Check Duplicates (Entire solution)").

I see. One thing to confirm, the checking logic is separated in each individual file, not to check the duplicates across all files right?

The checking process will be on each file separately, but in the end of the entire process you will see in the output window, for example:
------------------ Prepare ------------------
📄utils\file1.js
🔍checking duplicates... done (0.002s)
------------------ Results ------------------
⚙[trimStart] [trimEnd]
✅4 duplicate values found in 98 lines:
}
},
/***************************************************************************************/
};
------------------ Prepare ------------------
📄utils\file2.js
🔍checking duplicates... done (0.002s)
------------------ Results ------------------
⚙[trimStart] [trimEnd]
✅4 duplicate values found in 98 lines:
}
},
/***************************************************************************************/
};
and so on...

Got it! I'll spare some time for this feature this weekend.

Thanks a lot :)

Yeah, sure.

Without asking "need to remove the duplicates?"

Ho, yeah, sure.

Good, I have just published v0.1.2, which should be visible to you later.
Feel free to give me your feedback.

Ok, I'v installed your update, and the result looks nice, but there is still a major bug: It's not recursive.
It only scan first level of the directory.

Interesting. But it's late night here, I'll take a look tomorrow.

Ok, thanks.

I found it's caused by GlobPattern "*", which is the default value of checkAllFilesInclude I set in v0.1.2.
I have change it to "**" in v0.1.3, so it's able to scan all files recursively. You can change it by yourself in vscode settings for other scenarios (see more details in home page).

Updated the DupCheck:

When it asks me to check 100 files and I press "yes", it's stuck, as you can see in the image.
When I press yes, It also pop up error message with the text "Cannot read property 'selections' of undefined" as you can see in the image.

Also, a few questions:

Can you add option to modify the type of files to scan? I don't want to scan images, for example, or other extensions that is not code files.
Can you add options to ignore some folders? I don't want to scan the "node_modules" folder, for example.

Thanks!

Actually there does 2 config named checkAllFilesInclude and checkAllFilesExclude, please see the updated README:
  "checkAllFilesInclude": "**"   // GlobPattern for files to include in [Check Duplicates (For All Files)] mode, default: "**"
  "checkAllFilesExclude": ""    // GlobPattern for files to exclude in [Check Duplicates (For All Files)] mode, default: ""
  "checkAllFilesNumLimit": 100  // Maximum number of files to include in [Check Duplicates (For All Files)] mode, default: 100

When I look on the settings of
https://marketplace.visualstudio.com/items?itemName=jbockle.jbockle-format-files
(It also has exclude and include options):

And it's works good.
I tried to copy the same settings, and it's not working :(

It definitely won't work if you use the same config of format-files.
Format-files wrappers a simpler self-defined file match syntax beyond GlobPattern , while DupChecker uses GlobPattern directly, so your Exclude Patterns in DupChecker should be:
"**/{node_modules,dist,.vscode,.chrome}/**", which is the standard GlobPattern syntax.
I strongly suggest you take some time to learn GlobPattern first, it's quite easy!
About the error message of "Cannot read property 'selections' of undefined", I need more details, can you find a way to let me reproduce it?

OK, a few things:

I changed the settings to your recommendations for the Exclude Patterns and now I get some results, so it's a good start.
When I did this configuration, also, the error of "Cannot read property 'selections' of undefined" Is gone. I strongly recommend that "/{node_modules,dist,.vscode,.chrome}/" will be the default value for this option.
When the bottom message tell me to scan 100 files, and I press "Yes", It's start to scan and I see the results. However, when it enter a file it cannot scan, it throw exception and stop the scan, as you can see in the image below:

It's recommended to ignore files that you cannot open and move to the next file, don't stop the process. Notify in the output window about the problematic file.

I changed the settings to your recommendations for the Exclude Patterns and now I get some results, so it's a good start (I need to do restart to vscode in order it to work).

No necessary to restart/reload vscode after changing settings, 100% verified by myself.

When I did this configuration, also, the error of "Cannot read property 'selections' of undefined" Is gone. I strongly recommend that "/{node_modules,dist,.vscode,.chrome}/" will be the default value for this option.

I can't agree with you. DupChecker is a general tool, it doesn't make sense to have any domain specified default values. It's your own responsibility to make sure the settings is good for your scenario.

When the bottom message tell me to scan 100 files, and I press "Yes", It's start to scan and I see the results. However, when it enter a file it cannot scan, it throw exception and stop the scan, as you can see in the image below:

That's the real problem, I'll fix it to skip problematic file and output the error message.

It's recommended to ignore files that you cannot open and move to the next file, don't stop the process. Notify in the output window about the problematic file.

I have fix the problem in pre-release v0.1.4.
You can download the .vsix file from here and install it locally (how to install from VSIX).
I'll publish this version after your check.

OK, I'v installed the pre-release version and it's working good!
A few notes:
1.

I can't agree with you. DupChecker is a general tool, it doesn't make sense to have any domain specified default values. It's your own responsibility to make sure the settings is good for your scenario.

I can't agree. Not everyone knows or need to know about GlobPattern in order to use this tool. I didn't know it until now, and I have 10 years of programming experience :)
In the end, most of the projects has "node_modules" and use npm, I think that the 1% of users that wish to scan the "node_modules" folder can change the default settings. This is what they for - default settings, for the use of 99% of the users.
But in the end, it's your tool and you call the shot :)

As you can see in the image below, I placed the "/*.{js,jsx}" in the include files, and it works fine :)
But I had some mistakes until I got the right pattern, and I think the error message "DupChecker: no file found in workspace :(", I think It will be wise to write something like "Try change the GlobPattern", or maybe in the error message validate the GlobPattern and if it's not valid, write a message about it (for example, "/*.js, *.jsx" is valid, but it's clearly want I want, 2 type of files).

What is the order of the files that the tool scan? I can't seem to find any logical pattern. For exmaple:

------------------ Prepare 133/174 ------------------
📄c:\Or_OSREnterprisesAG\Web\VisualizationTool\VisualizationTool\manager\src\shared\enums\stream.enum.js
🔍checking duplicates... done (0.001s)
------------------ Results 133/174 ------------------
⚙[trimStart] [trimEnd]
✅1 duplicate value found in 33 lines:
]));
------------------ Prepare 134/174 ------------------
📄c:\Or_OSREnterprisesAG\Web\VisualizationTool\VisualizationTool\client\src\components\ErrorView\ErrorView\ErrorView.jsx
🔍checking duplicates... done (0.001s)
------------------ Results 134/174 ------------------
It scan first inside "manager" folder, and then on the "client" folder, and back to the "manager" folder, and then back again to the "client" folder, can you control the order of the scanning? and if not, maybe to sort the results by the path order.

 It's much more clearer, look:
------------------ Results 134/174 ------------------
📄c:\Or_OSREnterprisesAG\Web\VisualizationTool\VisualizationTool\manager\src\shared\enums\stream.enum.js
🔍checking duplicates... done (0.001s)
⚙[trimStart] [trimEnd]
✅1 duplicate value found in 33 lines:
]));
------------------ Results 135/174 ------------------
📄c:\Or_OSREnterprisesAG\Web\VisualizationTool\VisualizationTool\manager\src\shared\enums\stream.enum.js
🔍checking duplicates... done (0.001s)
⚙[trimStart] [trimEnd]
✅1 duplicate value found in 33 lines:
]));

Sorry, I still stick to my opinion. Yes, the "node_modules" folder is quite a special case, even though, vscode's SEARCH doesn't make it a default exclude. By the way I don't think 99% users of vscode are Node.js developer :)

As you can see in the image below, I placed the '"/.{js,jsx}"/' in the include files, and it works fine :)

But I had some mistakes until I got the right pattern, and I think the error message "DupChecker: no file found in workspace :(", I think It will be wise to write something like "Try change the GlobPattern", or maybe in the error message validate the GlobPattern and if it's not valid, write a message about it (for example, "/*.js, *.jsx" is valid, but it's clearly want I want, 2 type of files).
Yes, I'll try improve the hint message later to give you more useful info.

What is the order of the files that the tool scan? I can't seem to find any logical pattern. For exmaple:

The order is determined by vscode.workspace.findFiles API, I'm not able to control the order, and I don't know its scanning rule neither :(
If you have no other problems I'll close this issue and publish v0.1.4 after the hint message improvement.

No, looks good enough :) Great job & thanks!

v0.1.4 published.


Fixing segfault for phi node replacement

This PR fixes a segfault that occurs during phi node replacement.
This PR depends on #1138 and #1134.

The updates for instruction removal look good. I'd like to re-review once the examples PR is merged, and I think it's worth considering simplifying the block removal to match the pattern you use for instruction removal if possible.

I've updated the PR and we are - please re-review.


Remove TypeScript config and build info files from npm

🐛 Bug Report
Currently, the tsconfig.json and tsconfig.tsbuildinfo files are being distributed in some (maybe all) jest packages in npm. If my bash command isn't wrong, this files are summing up to 6.5M after installing jest. Since this files aren't used when running jest, they can be removed without side effects.
To Reproduce
Steps to reproduce the behavior:

Install jest

Run the command in bash to show all config and build info files:

find . -type f -name "*tsconfig*" -path "*jest*" -print0 | xargs -r0 du -csh

Expected behavior
No unnecessary TypeScript files when downloading jest packages.
Run npx envinfo --preset jest
Paste the results here:
  System:
    OS: Linux 4.15 Linux Mint 19.1 (Tessa)
    CPU: (4) x64 Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz
  Binaries:
    Node: 10.15.3 - ~/.local/lib/asdf/installs/nodejs/10.15.3/bin/node
    Yarn: 1.16.0 - /usr/bin/yarn
    npm: 6.4.1 - ~/.local/lib/asdf/installs/nodejs/10.15.3/bin/npm
  npmPackages:
    jest: 24.8.0 => 24.8.0

PR welcome!


CI: Use latest 2.3 release

This PR updates the CI matrix.

Also: Removes an old setting from Travis. See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

PS: 2.3 is going out of support, soon, consider using 2.6.2.
Also: Edited the Makefile to make it work better. This made the build pass.

@exAspArk Look! I found and fixed a typo, and the build is OK again

This is now terribly out of date. Enough not to be relevant to merge.


Feature request: add bulk operations

It would be great to add the following operations:

update many (up to 10 - either expect callers to batch, or do batching internally)

optionally - add support for performUpsert. It is not supported by the airtable library, but works at runtime: https://github.com/Airtable/airtable.js/issues/348#issuecomment-1438873734

insert many (similarly, up to 10)
delete many (up to 10)

I think we'd be excited for this. We'd prefer to do the batching internally (if the Airtable.js library doesn't already do this? I haven't had a poke around).


Task Scheduling monitoring?

This would be a super awesome feature.

Thanks for the suggestion. What sort of metrics would you be thinking? I guess slow scheduled tasks?
Not sure if/when we'll get to this, but in the meantime it's possible to create a custom card and recorder for this. I'll be updating the docs with more instructions next week.

Hi @jessarcher! I would love this feature too!
I have created a Pulse card to monitor the size of the tables in a database, but I don't need to do it on every global check, doing it once every hour would be enough: https://github.com/eusonlito/LaravelPulseDatabaseTablesSize
How do you think I should deal with this? Maybe applying check logic on the last stored record and compare the timestamp with the current time?
Thanks!

Currently I'm using this control:
    /**
     * @param \Laravel\Pulse\Events\SharedBeat $event
     *
     * @return void
     */
    public function record(SharedBeat $event): void
    {
        if ($this->enabled()) {
            $this->set();
        }
    }

    /**
     * @return bool
     */
    protected function enabled(): bool
    {
        return $this->enabledConfig()
            && $this->enabledSchedule();
    }

    /**
     * @return bool
     */
    protected function enabledConfig(): bool
    {
        return $this->config('enabled');
    }

    /**
     * @return bool
     */
    protected function enabledSchedule(): bool
    {
        $timestamp = $this->pulse->values('database-tables-size', ['result'])->value('timestamp');

        if (empty($timestamp)) {
            return true;
        }

        $time = match ($this->config('schedule')) {
            'halfhour' => strtotime('-30 minutes'),
            'hour' => strtotime('-1 hour'),
            'quarterday' => strtotime('-4 hours'),
            'halfday' => strtotime('-12 hours'),
            'day' => strtotime('-1 day'),
            default => 0,
        };

        return $timestamp <= $time;
    }


GUID missing in website

Thank you for making product name, and GUID information available. I copied the licensing and service plan reference website to a CSV and then imported it into my database. I ran it across all my clients and discovered everything matched except for 3 GUIDs.
Please update website for the following GUIDs:
74fbf1bb-47c6-4796-9623-77dc7371723b
439ac253-bfbc-49c7-acc0-6b951407b5ef
55c9eb4e-c746-45b4-b255-9ab6b19d5c62
Thank you!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7c245452-161d-89a1-c026-99a0721cf071
Version Independent ID: 16dec59a-eb83-1837-4efd-4645e7aeaed2
Content: Product names and service plan identifiers for licensing - Azure AD
Content Source: articles/active-directory/enterprise-users/licensing-service-plan-reference.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @Nicholak-MS
Microsoft Alias: nicholak

@ChadEllis8
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hi @ChadEllis8 the three GUIDS mentioned above have been added to the table. And we are getting closer to having a downloadable CSV. Coming soon.
Thanks
Nick


Visual artifacts in circular progress

For some values of the params, the circular progress bar blinks a full circle when the circumference is almost complete and just going to draw a new color.

Thanks, I'll fix it asap


Fix dataset preprocessing

fix boolean cli options (False/True instead of false/true) in README
generate over-segments for ScanNet test scenes in place

Thanks for the PR, it fixed my problems! 🙂

nb


Where is last_provisional_slice and/or last_permanent_slice stored in the gridMET Zarr file?

I love the example notebooks, but for the gridMet example, notes 3 and 4 mention last_permanent_slice and last_provisional_slice, but where are those values stored in the Zarr?  I've looked through the various attrs, but don't see where that is stored so that a user knows where the provisional or permanent data ends.  Thanks in advance for an answer.

I'm not actually sure what that's referring to. I wonder if it's to a note in the paper? I don't have a copy to check.


Add cruft

Summary

Relevant Issue(s)

Closes https://github.com/PrefectHQ/prefect-sqlalchemy/issues/31
Checklist

[ ] Summarized PR's changes in CHANGELOG.md

Tests were failing earlier due to the new async results; fixed them


views goes under tabbar

views goes under tabbar

sample code? Video? any more details?

i fix it. but don't know how to make commit
public var viewControllers: [UIViewController] = []  {
didSet {
var i = Int(viewControllers.count) - 1
while i >= 0 {
let vc = viewControllers[i]
if let vcView = vc.view, let tabBar = tabBar {
self.view.insertSubview(vcView, belowSubview: tabBar)
vcView.snp.makeConstraints { (make) in
make.top.equalToSuperview()
make.leading.equalToSuperview()
make.trailing.equalToSuperview()
make.bottom.equalTo(tabBar.snp.top)
}
}
i -= 1
}
}
}
need to add constraints to view

Create pull request #64

As I say. views goes under tabbar. This is your example project

Same issue - when using a VC with content, nothing displays.  The debug hierarchy shows nothing for the view.

It appears that the view lifecycle is not complete by the time the tab bar controller gets the view, so it has nothing to render yet.  If the VC bg color is set in viewDidLoad, you do see that color, but none of the components from the IB ... something is not handled in the correct order.


getting error for the debug

I have error for the debugging, may anyone can help pls
Thank you

What went wrong:
A problem occurred configuring project ':shared'.

Cannot read packageName from C:\Users\UCTS\eclipse-workspace\androidthings-googleassistant-master\shared\src\main\AndroidManifest.xml

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 1s

Are you trying to build this in Eclipse instead of Android Studio?


Named chunk identifiers are more flexible than alphanumeric

In the manual https://www.haskell.org/haddock/doc/html/ch03s05.html it is claimed that only alphanumeric $foo identifiers are supported. In fact, the GHC parser is considerably more flexible with regards to identifiers: in fact, it seems anything that's not a space is accepted:
module Foo (
   -- * A section heading

   -- $$$$
   foo
 ) where

foo = 2

-- $$$$
-- Here is a large chunk of documentation which may be referred to by
-- the name $doc.

Maybe this was not intended? In any case hyphens/underscores in these identifiers are very convenient, and so the docs should be updated to reflect it.

A solution for Issue #179 might involve restricting this more, to exclude . at the definition site.


🐛 BUG: wrangler dev listens only on ipv4 localhost, not ipv6

What version of Wrangler are you using?
2.6.2
What operating system are you using?
Linux
Describe the Bug
wrangler dev (with --experimental-local in my case, not sure if that matters) says that it listens on localhost:8787, but when it says this, it is actually listening specifically on <IP_ADDRESS>:8787. On systems that support ipv6, the hostname localhost resolves to two different addresses, ::1 and <IP_ADDRESS>. wrangler dev does not appear to listen on [::1]:8787.
This is usually not a problem, as "correct" programs (e.g. web browsers, curl, or workerd) will try all addresses returned by the DNS query until one of them works. However, Node 18's fetch() function only attempts the first address, throwing an exception if that fails. The first address is always ::1, therefore fetch("localhost:8787") always fails in Node.
Arguably both Node and Wrangler are buggy here. Node should be trying all matching addresses, but Wrangler should also be binding to all matching addresses. Fixing the bug on either side solves the specific problem.
(In my case, I am developing a SvelteKit app with a separate Workers-based backend. Although the SvelteKit app is intended to run on Workers itself, it's easiest to develop using the SvelteKit development workflow on Vite, which uses Node. I wanted it to talk to my local wrangler dev instance and ran into this issue.)

(In my case, I am developing a SvelteKit app with a separate Workers-based backend. Although the SvelteKit app is intended to run on Workers itself, it's easiest to develop using the SvelteKit development workflow on Vite, which uses Node. I wanted it to talk to my local wrangler dev instance and ran into this issue.)

Interesting! Can definitely take a look at this, thanks for the report Kenton 😃

Hey!
Wanted to add our experience with this:
We have a CLI that (among other functionality) simulates our production generated user API by running a few of our workers locally in miniflare.
We normally start a server at <IP_ADDRESS>:PORT (normally 4000)  but we’ve been seeing some issues when people try to use localhost from an IPv6 based application, since localhost translates to ::1 rather than <IP_ADDRESS>.
We'd love to be able to listen on both IPv4 and IPv6 to avoid these cases.
Thanks!

This fix for this is in miniflare so I will be transferring the issue there


Added support for XLIFF files

@umpirsky

Thanks @fabienwarniez! :+1:

@umpirsky Would you mind cutting a new release that includes this PR?

@fabienwarniez Sure, done. :+1:

Thank you :)
On Tue, Mar 1, 2016 at 9:07 PM Saša Stamenković<EMAIL_ADDRESS>wrote:

@fabienwarniez https://github.com/fabienwarniez Sure, done. [image:
:+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/umpirsky/country-list/pull/49#issuecomment-191064432.


Problem with elevation (not accurate at all)

Hi,
I know it's been some time since this project was publish, but I'm trying to read elevations for these coordinates : 46.75303,-71.40358 and it doesn't work at all.
Any coordinates for Quebec, Qc, CA, return values not even close.
Hoping to find a solution.

See if you get better results with snippets posted in Issues "Handle Negative Latitude and Longitude Correctly" bug.
Using below snippet, (46.75303, -71.40358) gives an elevation of 55 m (from tile N46W072.hgt). Same result using gdallocationinfo.
I checked the snippet at calibration points at Parc naturel du mont Bélair (46.822845, -71.507354) = 483 m and Mont Roland-J.-Auger (46.845798, -71.472764) = 330 m. OpenStreetMap indicates these 2 calibration points are 484 m and 335 m.
def read_elevation_from_file(hgt_file, lon, lat):
    with open(hgt_file, 'rb') as hgt_data:
        # Each data point is a 16bit signed integer(i2) big endian(>)
        height = np.fromfile(hgt_data, np.dtype('>i2'), 1201*1201).reshape((1201, 1201))
        x = int(abs(round((lat - int(lat)) * 1200, 0)))
        y = int(abs(round((lon - int(lon)) * 1200, 0)))
        if ( lat >= 0.0 and lon >= 0.0 ):
            return height[ 1200-x, y ].astype(int)
        elif ( lat >= 0.0 and lon < 0.0 ):
            return height[ 1200-x, 1200-y ].astype(int)
        elif ( lat < 0.0 and lon < 0.0 ):
            return height[ x, 1200-y ].astype(int)
        elif ( lat < 0.0 and lon >= 0.0 ):
            return height[ x,y ].astype(int)

USGS has a new delivery method, using EarthExplorer to select and download GeoTIFF files (.hgt is no longer available). This python function works with SRTM GeoTIFF downloaded from USGS EarthExplorer.
https://github.com/nicholas-fong/SRTM-GeoTIFF


Add Apache configuration to README

For easier configuration, we should add a list of settings that have to be changed to run the application.

Yes, we should. I'll do that before I go to bed.

Leave a comment. Trailing lines starting with '#' (like these) will be ignored,
and empty messages will not be submitted. Comments are formatted with GitHub
Flavored Markdown (GFM):

http://github.github.com/github-flavored-markdown

On hystio/web issue #2
Done - see #b5dd210.


Run tests in parallel

[x] The pull request is targeting the dev branch.
[x] The code has been validated to compile successfully by running go vet ./....
[x] The code has been formatted properly using go fmt ./....
[x] All static analysis checks passed.
[x] All tests have passed. If this feature is not already covered by the tests, new tests have been added.
[x] All changes are detailed at the description. if not already covered at JFrog Documentation, new documentation have been added.

TODO:

Update actions and use cache
Re structure test data to better places (also move npm folder... move artifactory configs to others...)

Try move integration tests to its own new dir integrationtests in tests

Running Tests in Parallel, Splitting Based on Types

This approach reduces run time from approximately 30 minutes to about 15 minutes.
Adding -race missing flag for tests
It enables running partial tests locally by types or executing all of them using simple flags.

Confirmation: All Tests Are Passing (Note: This will only pass after the merge)

Implemented at:

https://github.com/jfrog/jfrog-cli-security/pull/162


Automatically rebuild node-sass

After npm install, test that node-sass --version exits cleanly. If it doesn't, assume that this is because node-sass needs rebuilding, so run npm rebuild node-sass.

thanks, out of interest what issue does this fix?

➜ npm start

><EMAIL_ADDRESS>start /Users/oliverbyford/Code/govuk-prototype-kit
> node start.js

/Users/oliverbyford/Code/govuk-prototype-kit/node_modules/node-sass/lib/binding.js:15
      throw new Error(errors.missingBinary());
      ^

Error: Missing binding /Users/oliverbyford/Code/govuk-prototype-kit/node_modules/node-sass/vendor/darwin-x64-64/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x

Found bindings for the following environments:
  - OS X 64-bit with Node.js 10.x
  - OS X 64-bit with Node.js 14.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (/Users/oliverbyford/Code/govuk-prototype-kit/node_modules/node-sass/lib/binding.js:15:13)
    at Object.<anonymous> (/Users/oliverbyford/Code/govuk-prototype-kit/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/Users/oliverbyford/Code/govuk-prototype-kit/node_modules/gulp-sass/index.js:166:21)
gulp exited with code 1

I seem to have to do this semi-regularly. Unsure at this point how much it affects others, which is one of the reasons this is a draft PR.


Fix water boundaries

Fix a couple of water boundaries issues. Well, one fix, one dirty hack-around.
Snapping to grid
We get our water / river polygons through osm2pgsql, but our ocean polygons via the osmcoastline shapefile download. The different processing done by each pipeline means that the numeric precision of the coordinates can be very, very slightly off (by about 1cm in this case). There's nothing we can really do about this - that level of precision is pretty good, given how the data is being processed and projected in the different pipelines.
The fix for this is to snap to grid before doing anything with the polygons. PostGIS has a ST_SnapToGrid function, but this isn't coming from GEOS, it's implemented by PostGIS. Likewise, Shapely doesn't have a snapping function, so this PR adds one.
Dirty hack around duplicate polygons
When a way is a member of a multipolygon relation, the relation usually "supersedes" the way and suppresses its output. This doesn't happen when the way has tags which aren't present on the relation for the very good reason that those tags might be important (e.g: for inner courtyards tagged as a different type of object).
Since performing a union on all the polygons is a very expensive operation, instead this PR introduces a method which appears to be effective and cheap: it compares the area of the geometry and any intersecting geometry and if they match exactly then it treats that as a proxy for the object's identity and doesn't intersect with it. This appears to fix the Lake Merced case.

@rmarianski could you review, please?

Connects to mapzen/vector-datasource#303.

I put in a couple of minor comments, and it looks good to me. :+1:


pyarrow 3.9 wheels?

Thanks for your work on pyarrow.
Are there plans to release Python 3.9 wheels for pyarrow? The lack of wheels makes installing software that relies on pyarrow difficult; here's an example that bit me:
https://discuss.streamlit.io/t/note-installation-issues-with-python-3-9-and-streamlit/6946

Ah, just saw #8610, sorry for the noise.


Issue on page /api/magic-sql.html

Many thanks for the work putting this together, suggestion on tutorials with alias (coming from ipython-sql).
%%sql some_alias
df_result <<
SELECT a_thing
FROM a_place
LIMIT 100;

I'd been trying to figure out how did the old ipython-sql of the below and it took a bit of trial and error to understand  why it wasn't working
%%sql $connection << df_result
SELECT a_thing
FROM a_place
LIMIT 100;

thanks for your feedback!
just to ensure I understood this, the first snippet is the one that works and the second one is what you tried first and didn't work?
sounds like adding more sample queries to the --alias documentation will fix this

Updated the docs, added a few more details here: https://jupysql.ploomber.io/en/latest/api/magic-sql.html#connect-to-database
and linked from there to a longer tutorials that better explains how to manage connections

Thanks, why are both the following discouraged? - is this just on the platform

Switching and querying in one cell
Switching, querying and storing result

we discourage switching the connection and querying in the same cell because it might lead to errors like the one you found (we inherited this parsing behavior from ipython-sql and want to keep backward compatibility, so we haven't changed it). Splitting the switching and querying is more understandable.


Unable to execute contract function (write) on Android 4.x Webview

First of all, thank you for this amazing effort.
I'm developing an android app which has an embedded webview (javascript enabled).
The following behavior is valid only for Android 4.x. On Android 5.x and 6.x everything works great.
The API works well, except calling contract functions which write to the chain. Calling contract functions that are reading from the blockchain works perfectly. The error which is returned by the blockchain is "Account is locked" in case of writing functions. The same app on Android 5 and 6 returns the transaction hash.
The javascript console is silent in thecase of "Account is locked".
Since I wanted to check what's the difference on data-transport level, I've sniffed the HTTP traffic with tcpdump. The results are following bellow.
It seems the lightwallet is failing to compose the JSON payload in case of Android 4. Any hint what might be the cause of the problem? Or any viable workaround?
Thank you in advance!
Android 4.x
12:37:20.356885 IP <IP_ADDRESS>.38119 > project-quick.novalocal.8545: Flags [P.], seq 590239126:590239645, ack<PHONE_NUMBER>, win 229, options [nop,nop,TS val 30052151 ecr 345970401], length 519
..!a#.U................
...7....POST / HTTP/1.1
Host: <IP_ADDRESS>:8545
Connection: keep-alive
Content-Length: 137
Pragma: no-cache
Cache-Control: no-cache
Origin: file://
Content-Type: application/json
x-wap-profile: http://wap.samsungmobile.com/uaprof/GT-I9300.xml
User-Agent: Mozilla/5.0 (Linux; U; Android 4.3; en-us; GT-I9300 Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Accept-Encoding: gzip,deflate
Accept-Language: en-US
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7
Accept: /
12:37:33.346953 IP <IP_ADDRESS>.38120 > project-quick.novalocal.8545: Flags [P.], seq 178127857:178128376, ack<PHONE_NUMBER>, win 229, options [nop,nop,TS val 30054749 ecr 345973649], length 519
..!a<EMAIL_ADDRESS>...X........&.....
...]..#.POST / HTTP/1.1
Host: <IP_ADDRESS>:8545
Connection: keep-alive
Content-Length: 330
Pragma: no-cache
Cache-Control: no-cache
Origin: file://
Content-Type: application/json
x-wap-profile: http://wap.samsungmobile.com/uaprof/GT-I9300.xml
User-Agent: Mozilla/5.0 (Linux; U; Android 4.3; en-us; GT-I9300 Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Accept-Encoding: gzip,deflate
Accept-Language: en-US
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7
Accept: /
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel
Android 5.x and 6.x
12:38:19.784264 IP <IP_ADDRESS>.54504 > project-quick.novalocal.8545: Flags [P.], seq 201199717:201200326, ack 460347641, win 1369, options [nop,nop,TS val 31987218 ecr 345985258], length 609
..!a...e.pX....Yq......
......P.POST / HTTP/1.1
Host: <IP_ADDRESS>:8545
Connection: keep-alive
Content-Length: 137
Pragma: no-cache
Cache-Control: no-cache
Origin: file://
User-Agent: Mozilla/5.0 (Linux; Android 6.0; HTC One_M8 Build/MRA58K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/51.0.2704.81 Mobile Safari/537.36
Content-Type: application/json
Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: bg-BG,en-US;q=0.8
X-Requested-With: io.smartstamp.android
{"jsonrpc":"2.0","method":"eth_getTransactionCount","params":["0x2ce95f014088d650f592b627527072dfb1e657af","pending"],"id":1470400703826}
12:38:21.197481 IP <IP_ADDRESS>.54504 > project-quick.novalocal.8545: Flags [P.], seq 609:1439, ack 218, win 1386, options [nop,nop,TS val 31987359 ecr 345985260], length 830
..!a.....pY....j.V.....
......P.POST / HTTP/1.1
Host: <IP_ADDRESS>:8545
Connection: keep-alive
Content-Length: 358
Pragma: no-cache
Cache-Control: no-cache
Origin: file://
User-Agent: Mozilla/5.0 (Linux; Android 6.0; HTC One_M8 Build/MRA58K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/51.0.2704.81 Mobile Safari/537.36
Content-Type: application/json
Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: bg-BG,en-US;q=0.8
X-Requested-With: io.smartstamp.android
{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xf88c83100004850ba43b7400832fefd8946d166f55a4955aa183ce19f11b40fdc208e7c6d680a420baf3d6b2d323f323c21885dbce7ddb1cea62a39b7c1831329282a7c7ceb330abe17b771ca0994b122fdef24274ff89127c8cc98612fe5d3131924868d119bb31752988d5b3a018fc9723849c4a3f0285418a7e7a7e04a09994294c6c20630d7b6fa8b9b15ee3"],"id":1}
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel

OK. Found the issue. It turns out the Android 4.x version of Webview and JS interpreter support ES 5. The lightwallet uses Object.assign() and Symbol, which play with ES6 on Android 5 and 6.
A workaround for Android 4 is to provide Object.assign implementation for ES5:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
And replace Symbol iteration as described here:
https://github.com/ConsenSys/hooked-web3-provider/issues/8
I hope this is helpful for other hitting the same issue.


Boot hang after "random: crng init done"

I did try creating a backup image using dd command, hoping to shrink it a custom image that is bootable ready.
I follow this link: https://medium.com/platformer-blog/creating-a-custom-raspbian-os-image-for-production-3fcb43ff3630
Steps I took:

RPI is boot via usb (16gb) with raspbian stretch.
Insert my working sdcard (4gb with custom raspbian OS and packages).
Create a back up image of my 4gb sdcard using dd command save it to "/home/pi/" dir
execute the PiShrink.sh (was successful).
burn the shrunk image via Etcher.
It boots but failed to proceed after 5 seconds stops with an error message "random: crng init done".

Please advice.

Can you post a console log of taking the image? Thats might help

Hi there,
having the same issue right now.
While I can restore the original image to a different SD card and that boots just fine, restoring the smaller image created by PiShrink fails to boot.
Boot process is stuck at "random: crng init done".
Here's the console log of creating the image and running PiShrink:
`christian@debian:~$ sudo dd bs=4M if=/dev/sdc of=skyvpn-client-orig.img
[sudo] password for christian:
3798+1 records in
3798+1 records out
15931539456 bytes (16 GB, 15 GiB) copied, 282.374 s, 56.4 MB/s
christian@debian:~$ sudo pishrink.sh skyvpn-client-orig.img skyvpn-client.img
pishrink.sh v0.1.2
pishrink.sh: Copying skyvpn-client-orig.img to skyvpn-client.img......
pishrink.sh: Gatherin data...
Creating new /etc/rc.local
pishrink.sh: Checking filesystem...
rootfs: 41296/489472 files (0.1% non-contiguous), 315464/2097152 blocks
resize2fs 1.43.4 (31-Jan-2017)
pishrink.sh: Shrinking filesystem...
resize2fs 1.43.4 (31-Jan-2017)
Resizing the filesystem on /dev/loop0 to 369418 (4k) blocks.
Begin pass 2 (max = 1476)
Relocating blocks             XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 3 (max = 64)
Scanning inode table          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 4 (max = 4325)
Updating inode references     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/loop0 is now 369418 (4k) blocks long.
pishrink.sh: Shrinking image...
pishrink.sh: Shrunk skyvpn-client.img from 15G to 1.5G...
`
Tried different SD cards, same behavior.
Any ideas?

It looks like its a known problem. See more info here https://www.raspberrypi.org/forums/viewtopic.php?t=209093


Add more information about event data to 'hook add' API function documentation.

This PR is dependent on https://github.com/apache/trafficserver/pull/4576 .

[approve ci autest]

[approve ci autest]

[approve ci autest]

[approve ci autest]


⚠ SceneTime has degraded performance

In 87d0efd, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2994 ms

Resolved: SceneTime performance has improved in 0fa7488.


Array items property should not be required in all array schemas

What version of Ajv are you using? Does the issue happen if you use the latest version?
<EMAIL_ADDRESS>Your typescript code

const schema: JSONSchemaType<any[]> = { type: 'array' }

OR
const schema: JSONSchemaType<any[]> = { type: 'array', contains: { type: 'number' } }

Typescript compiler error messages
TS2322: Type '{ type: "array"; }' is not assignable to type 'UncheckedJSONSchemaType<any[], false>'.   Type '{ type: "array"; }' is not assignable to type '{ type: "array"; items: UncheckedJSONSchemaType<any, false>; contains?: UncheckedPartialSchema<any> | undefined; minItems?: number | undefined; ... 4 more ...; additionalItems?: undefined; } & { ...; } & { ...; }'.     Property 'items' is missing in type '{ type: "array"; }' but required in type '{ type: "array"; items: UncheckedJSONSchemaType<any, false>; contains?: UncheckedPartialSchema<any> | undefined; minItems?: number | undefined; ... 4 more ...; additionalItems?: undefined; }'.

Describe the change that should be made to address the issue?
When using the contains keyword, the items property should not be defined.
Json Schema Docs: https://json-schema.org/understanding-json-schema/reference/array.html#contains
type UncheckedJSONSchemaType<T, IsPartial extends boolean> = (
...
: T extends readonly any[]
      ? {
          type: JSONType<"array", IsPartial>
          items: UncheckedJSONSchemaType<T[0], false>
//        ^^^^ Should be made optional
          contains?: UncheckedPartialSchema<T[0]>
          minItems?: number
          maxItems?: number
          minContains?: number
          maxContains?: number
          uniqueItems?: true
          additionalItems?: never
        }
...
)

Are you going to resolve the issue?
This could be as simple as making the items property optional. This is the simplest and probably the most accurate solution.
PR https://github.com/ajv-validator/ajv/pull/1888

Possibly... It might be a breaking change, need to think.
Did you test if above examples compile with this change? I don't think any is adequately supported, but I might be wrong here...

I've made the change in my node_modules/ajv/dist/types/json-schema.d.ts and it the error goes away for both the examples above.

I also tried it with the type as JSONSchemaType<any[]> and JSONSchemaType<number[]> and didn't have any compile errors.


[neo][vllm] FP8 Quantization support for partition & Neo

https://huggingface.co/collections/neuralmagic/fp8-llms-for-vllm-666742ed2b78b7ac8df13127

Upstream PR: https://github.com/deepjavalibrary/djl-serving/pull/2272


Pi Weather Station Problem

In running pi_weather_station I receive the following debug note:
Python 3.7.3 (/usr/bin/python3)

%cd /home/pi/pi_weather_station
%Run weather_station.py
Traceback (most recent call last):
File "/home/pi/pi_weather_station/weather_station.py", line 17, in
from urllib import urlencode
ImportError: cannot import name 'urlencode' from 'urllib' (/usr/lib/python3.7/urllib/init.py)

Using an RPi 4, RPi AstroPi Sense hat, current upgrade of Raspbian Buster and Python 3.7.
Any ideas where "urlencode" resides so it can be imported?

Installed a new Raspbian image and pi_weather_station.  Works fine.  Have no idea why not working before but problem now solved.

@n6egy glad it worked out for you. I've had three or four people reach out to me with weird errors and I think it's mostly because of installation issues. Enjoy the weather station.


JsonFX and Unity3d + iOS

We are in the process of trying to figure out which json parser to use
for our unity project that will work on the web, iOS and Android. We
need something lightweight and fast and that doesn't use reflection (iOS
issue).
I have several custom web services that send json formatted data to the
client, but we are having a big of a hard time getting up and running
with your system since we tested litjson and things get turned easily
into a dictionary. Right now based upon our data coming from the server
we need to write a method to make sure an int is coming though, a string
etc..
Do you have any example code or maybe example code with Unity that we
could look at and what is the best method for us to deal with various
json methods of data we send to the client. Currently we have 15 call
types that return various types of data.
any help would be appreciated.
thanks
we are seeing this issue quite often with some test..
Failed processing communications response:
System.ExecutionEngineException: Attempting to JIT compile method 'JsonFx.Serialization.DataReader1<JsonFx.Model.ModelTokenType>:Read<System.Collections.Generic.Dictionary2<string, object>> (string)' while running with --aot-only

This Issues have almost grown a beard, but still want to report that it's working. For any user maybe comming allong here.
I had an almost 5 year old version of JsonFX 1.x that has been working with Unity but as mentioned It was pretty outdated. Now I wanted to give it a try with a current version of JsonFX.
My project is using Unity with il2cpp to build for iOS. When using the DynamicMethodGenerator_NoEmit as recomended by mckamey the current version from JsonFX from here works.
If working with compatibility level .net2.0 everything works out of the box
with compatibility level .net2.0Subset it is working if all RegexOptions.Compiled References are kicked out.
Did not run a lot of tests but my app that was running on the old json parser is uf and running with the current version from here, so looks ok.


HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules…

… used in OGM and fixed classes having more than a newline at the end of file

applied


concourse bpm conflict

related issue: https://github.com/cloudfoundry-incubator/bpm-release/issues/67

https://github.com/cloudfoundry/bosh-deployment/issues/290

bosh-deployment is now using 0.11.0 which we are using: https://github.com/starkandwayne/bucc/blob/develop/src/bosh-deployment/bosh.yml#L9-L12. CI is green so this issue has been resolved.


remove variables from artifacts in pom.xml

this fixes the artifactId with value xxx does not match a valid id pattern issue.

LGTM


Figure out how to embed a player

I just spent an hour and a half playing with shortcodes trying to figure out how to embed the Zencastr player.  It doesn't help that I can't seem to find the embed option and links in Zencastr, either.
No luck so far, the one time I got it to embed, the viewport was 100% for that block.  Whoops.

Oops, I did have some luck.  I should have documented the code.  The other option is just to link to the Zencastr player page per episode like I currently have it in the template.

I created a homepage branch:

Changed the hero background to use the background from the podcast artwork.  Could go either way.  I put a bunch of files in the backgrounds directory of the home page directory, you can swap them around to try stuff out, but it seems like only one can be in the main directory.
The embed from Zencastr seems to be working fine now.  I embedded a 480px player right in the hero area (interesting but probably too big) and in its own section towards the bottom, where I reduced the size to 320px (better).

I don't know how many people actually listen from the homepage, so I think we don't need to include it.  We should embed it on the episode page though, imo.

Embeds seem to work fine now.  Closing.


How to delete entire index with its documents

How to do this : https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html
with go-elasticsearch

You can use the es.Indices.Delete for which you can find an example usage here for esapi and here for typedclient.


zsdcc: init at unstable-2018-02-24

Motivation for this change
This provides only zsdcc   and  zsdcpp for z88dk. Not conflict with sdcc.
@bjornfor : can you have a look please since you are sdcc derivation maintainer ?
Things done
tested with z88dk example.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Oh, and please squash the commits. (It looks like only one logical change to me.)

@bignaux are you able to address the comments above?

This PR seems abandoned. @bignaux would you mind closing?

Easy enough to reopen PR if there is interest again.


The idea get set code hint is very slow when the entity class has a large number of fields

Short description
The idea get set code hint is very slow when the entity class has a large number of fields
Version information

IDEA Version:  2021.1
JDK Version: openJDK1.8_251
OS Type & Version:  Windows10 1909
Lombok Plugin Version:  idea Latest Binding Version
Lombok Dependency Version: 1.18.20

Steps to reproduce
The project has some entity class fields with about 100, just use the annotation @Data, type get in the idea, the code prompt speed is about 6s, the experience is very poor. The current version used is 2021.1, before using the version before 2020.3 without this problem.

same problem

+1

Seems related to this issue
https://youtrack.jetbrains.com/issue/IDEA-264579
Says it's fixed in 2021.1 but i'm still seeing the issue in 2021.2 Intellij Ultimate.

@apartensky Thank you for your reply. I still have the same problem. In the latest version

I have the same problem
2021.3

I have the same problem.
2020.2
2021.3
It has been good before, I cleaned ~/.m2/repository one day, the plugin doesn't work anymore.
Reinstalled  the plugin and restarted IntelliJ,  getXxx setXxx is no longer marked red, but automatic prompt becomes very slow (seems to be related to the count of the class field),  class without @data  works good.
Changing the IntelliJ version has no effect either.


Raspberry PI (arm) Docker image

Any change you could push a Raspberry Pi (arm) compatible docker image?  The base image could probably use one of the following:

https://registry.hub.docker.com/repos/hypriot/

rpi-python

https://registry.hub.docker.com/repos/resin/

raspberypi2-python
raspberypi2-debian
raspberrypi2-buildpack-deps
armv7hf-debian

https://registry.hub.docker.com/u/mazzolino/armhf-debian/
https://registry.hub.docker.com/repos/armv7/

I'm not sure which of the python based images includes python 3 vs 2, so might be best to start with an OS base and add it as part of the Dockerfile.

I'm willing to setup a webhook to auto build a new image whenever the repo updates. I do not however have the resources to create and maintain one. Contributions are welcome.

I'll try to create an image soon. Sadly, I've not found a way to setup Docker Hub to build arm-based images.  I typically setup a vagrant VM with qemu-arm-static to allow building arm images on a 64bit machine, so my workflow becomes:

vagrant up
vagrant ssh
docker build -t some-tag .
docker push some-tag

It would be nice to have this setup in a webhook, but it would require a hosted VM running somewhere.  I don't know if something like wercker could do that for us.  I've not experimented with it yet.

There are now some Python 3 images available - https://github.com/resin-io-library/base-images/issues/7#event-467540456
Hopefully I can get some time over my vacation to get an image built

I'm currently trying to get it running in docker on my beagle bone black, look here. It's in it's early stages, though, but it's automatically built on docker hub.

@sesceu Nice work.
I have a Docker container running on a Raspberry Pi now but went the "pragmatic / quick and dirty" way and just had the RPi do the build.  I was considering doing exactly what you did with the resin.io cross build toolchain, although I thought it would be best to first create a Python 3 base image from resin/armv7hf-debian-qemu and then create the homeassistant image from that, that way you don't have to wait for the entire Python install process to run in case the docker cache were to get invalidated (or you build it on another machine), although that's kind of a moot point if you have the docker hub do the build.

We have a community mainteind RPi compatible image here https://hub.docker.com/r/homeassistant/rpi2-home-assistant/

👍


Cache matchstick latest version

closes https://github.com/LimeChain/matchstick/issues/328
Some users mentioned that every time graph test is executed a request to https://api.github.com/repos/LimeChain/matchstick/releases/latest is made to fetch the latest matchstick version tag, which is an overkill. This PR adds something like a in-file cache, where the latest version tag and a timestamp are saved to <tests_folder>/.latest.json
Now this request will be executed only if no version is passed with -v/--version option and no cache file is found or the cached version is older than 1 day.
This PR also adds support for linux v22 binaries (will be available when matchstick v0.5.0 is released in the coming days)
This PR also includes slight code refactoring

can we declare this in the subgraph.yaml instead? would be easier to manage

can we declare this in the subgraph.yaml instead? would be easier to manage

I don't think subgraph.yaml is the appropriate place for this, as it doesn't relate to the subgraph itself

is there a different config file for the graph-cli I could use that sets this so I don't need to pass in the variable every time?

If you mean to set the matchstick version in a config, currently there's not such option. There is a matchstick config, but it doesn't allow to set the version there. What you can do is add a script in your package.json, for example: "test": "graph test -v <version>" and run it with yarn test or npm run test


[Key Vault] Move the public test utilities into the public folder

Turns out that having test utilities outside of the public folder bypasses the min-max testing logic. We should move them to the public folder to ensure that min-max tests are always using the right version.

Thanks @sadasant - can you add more information here?

Which KeyVault libraries are impacted - all 4?
what are the symptoms - how do you know things aren't working as expected?
how can I validate that I fixed the issue.

Thanks in advance!

The libraries impacted are - keyvault-admin, keys, secrets and certificates
The symptoms are just that the test files may be getting replaced by empty files if it's not able to find the references within public folder, it will treat a reference outside the public folder as code's internal references. As a result we might be getting fewer test coverage than expected for min-max. Even if it doesn't get replaced by empty files, in the future you might accidentally put internal references in the utils and then we might risk this.
When you run the min-max dependency script, the files under test/public folder shouldn't be replaced by empty file. You can verify this by running the instructions here - https://github.com/Azure/azure-sdk-for-js/tree/main/eng/tools/dependency-testing#setup-your-local-dev-environment-to-simulate-minmax-testing


proxy: split root and http contexts

Split contexts into their own root and http modules to prepare for future context-specific changes.

bors r+

bors retry


fix: avoid revoke token when appSecret is empty

Not sure if i need to submit build files

for #117

Not sure if i need to submit build files
Which ones?

@kirill-konshin files in v3 branch build folder

V3 has integration with Bower, which is discontinued. As well as V3 branch itself ))) you should do the PR for V4. For V3 you have to push build too.

Create a new PR for build files for V3 #121 . In V4, we have done this to check secret before request


Fixes #944

What kind of change does this PR introduce? (check one with "x")

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
see issue #944
What is the new behavior?
fixes #944
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

closing as already fixed