Current state and development of Iris moving forward

Will add other information later if necessary. Not 100% proofread.
Intro
Reiterating and copying what I said in #89:

There will be a change in direction of the app. This is directed toward the editors, more specifically the WYSIWYG editor (ProseMirror). It will be removed and will only focus on CodeMirror based editor.

Incremental rewrite of every critical part. By only having a single editor to deal with, I can initially move it aside and work on the messy parts of the app for rigidness. Think file directory, events, file operations, etc. When I first worked on the components outside of the editors, I had to workaround the abstractions of them and whatnot so I did not focus on quality, but rather if I could get things to work. This will push my ability and thinking of how I can improve Iris with what is given. I am hoping to see source code, app fluidity, and design improvement at the very least.

Use both Node and Rust for back-end. Mixing might defeat the purpose, but I am trying to avoid redundant implementations if possible. For example, if Node already works well for fs, rewriting the same thing in Rust might not introduce benefits.

Quality over quantity in terms of features. Less features that are well written will serve way better than multiple features that are poorly written. It might be a little tricky due to what is given right now, but I am hopeful of the outcome in the future.
Since I will be only using CodeMirror as the base of the editor, I still want to replicate that WYSIWYG feel to some extent. Combining CodeMirror with Lezer seems like a probable solution. The combination should be less intrusive because integration between the two are a bit better compared to ProseMirror + CodeMirror. Although it will be an entirely different approach to the editor, the outcome should be more realistic in terms of what I want to achieve.

Other information

Iris will only support macOS for now. Other desktop platforms are not a priority because getting a good native feel on all of them are difficult to perfect.

Plan
Here is the plan that I want to rigorously follow to get Iris back on development track for the current foreseeable subsequent releases. I don't have much free time to work on Iris, however when I do, it would be best to utilize it to the maximum when I get the chance.
Starting from v0.3.0-dev.1 I will begin the process.
Here are all the critical parts as of now:

Editor.
File directory.
File operations (i.e., create folder, create file, delete file, delete folder, rename file, rename folder, search folder, search file).
Events (i.e., what makes the app alive and working).
Settings.
UI.

Now to begin any of these, we have to analyze the current state of the source code and the app itself. There needs to be some preparation and cleanup to get a base, then we can start working on the critical parts.
As stated earlier, the critical parts will be an incremental rewrite. That doesn't mean I'm starting from scratch, but rather work on top and around of what I currently have. At this stage, an entire rewrite is not viable nor realistic right now due to my limited free time.
With an incremental rewrite, it is expected that old features may be removed and replaced. This is what I want to do so I can avoid further headaches.
The plan does not have to be worked on in order but this is what I recommend:

Prepare the editor with a bit of boilerplate.
Work on the file directory and file operations. These go hand in hand.
Work on the events.
Work on the UI. Need to make things a bit nicer this time around but also more fluid.
Settings. This should be the last thing worked on.
Any other features.

Since I'm aiming for rigidness and better quality this time around, I won't try to rush things. Making sure the app is viable for daily use is the goal.
Some things to note for each:

For the editor, I am switching to CodeMirror + Lezer. Being able to replicate WYSIWYG to an extent will help the plain-text Markdown editing experience. It's going to be familiar but different at the same time. Think of it as a hybrid between plain-text and WYSIWYG Markdown.
For the file directory and file operations, they are important to get right since we are dealing with local file/folder data.
Events. Self explanatory but making sure this isn't filled with hack-y code will be nice.
UI. I want to add a nicer design to the app, so I'll most likely prototype it in Figma first to get the layouts. Not only the design itself but the code supporting it should be improved. That means instead of text-based buttons, adding an icon would look more professional.
Settings. Just add typical editor and app customizations for now. Building on top of the current implementation should be sufficient.

See #92 for some discussions of v0.3.0-dev.1

Will draft up another plan when time permits.
As of now, this plan is null.
Closing.


synchronous profile subscribe removed from v8.0.0

In v7.0.0, I was able to pass in async_req=False to subscribe_profiles to synchronously subscribe a profile.
Currently, to subscribe a profile I need to make the following API calls:

get_profiles by email to determine whether the profile is already subscribed to our main list
subscribe_profiles to subscribe the profile, including below if they aren't already subscribed to the main list:

data["data"]["relationships"] = {
                "list": {
                    "data": {
                        "type": "list",
                        "id": list_id
                    }
                }
            }

get_profiles call again to ensure I have a profile ID
update_profile call to set the users first name, last name, and custom properties

With V8.0.0 I would also need to take into account that subscribe_profiles is async and would need to move 3 + 4 into a background job which executes once the profile is available.
All of this seems like a lot of overhead to subscribe a user and set their first name, last name, and a city. For now I'm going to keep our app at V7.0.0 but please let me know if there's a better approach which would be possible.

Ah, I can see how this could be confusing. The API itself is actually implemented asynchronously, meaning we take your request and perform it as a background task. Therefore its not guaranteed that your subscription has been created at the time of you receive the 202 Accepted response from the subscribe_profiles API call.  This async_req parameter used in the prior revisions of this SDK controlled whether or not the request was submitted to a thread pool or executed on the main thread of your program. It does not change how we execute your request on the backend. See here: https://github.com/klaviyo/klaviyo-api-python/blob/v7.0.0/src/openapi_client/api_client.py#L415 . The API has always been asynchronous. In general, a 202 status code means that the API itself is asynchronous.

Ah I see. That makes sense because I did implement some retry logic with step 3. It does generally seem to process quickly but I don't fully want to rely on that. Is there any way to subscribe a profile synchronously or is there another workflow you would recommend? I supposed we could do a create or update on the profile first and then follow up with the async subscribe call and perhaps that simplifies this a bit? If it'd be possible to have a single profile subscription endpoint which was synchronous, or the ability to set custom parameters while subscribing / creating the profile that would also be really helpful.

I supposed we could do a create or update on the profile first and then follow up with the async subscribe call and perhaps that simplifies this a bit?

This is our recconmended approach.

If it'd be possible to have a single profile subscription endpoint which was synchronous, or the ability to set custom parameters while subscribing / creating the profile that would also be really helpful.

We don't support synchronous APIs for subscribing, nor do we have a combination endpoint for creating/updating/subscribing. We are planning some work to add a new endpoint that will allow you to query the status of your subscribe request, but do not yet have a planned release date for that.

Got it, thank you!


Currently used font is missing Polish letters

Is it possible to change the font to anything else which has those letters? (ąśćłęó)
It could be either globally or only for Polish language.
example fonts: Consolas, Times New Roman

It is a known issue. I'm working on setting the font based on translation
language. The fix is coming soon
Em dom, 10 de out de 2021 12:08, Barley194 @.***>
escreveu:

[image: 2021-10-10 17_01_43-ZeffUI]
https://user-images.githubusercontent.com/20290894/136701509-6196c2b1-8c52-4a76-8d80-6ff25afc96af.png
[image: 2021-10-10 17_01_11-2021-10-10_16-51-58-621_OMGEorzea Gameplay png
- Zdjęcia]
https://user-images.githubusercontent.com/20290894/136701510-7953c4e3-9212-4a5e-91b2-3441d9787e8f.png
Is it possible to change the font to anything else which has those
letters? (ąśćłęó)
It could be either globally or only for Polish language.
example fonts: Consolas, Times New Roman
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lokinmodar/Echoglossian/issues/13, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADXF6IPHPMUCECG4CE32JELUGGT7RANCNFSM5FWSBL5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[MINOR][Testing] Test hudi-cli module

Change Logs
As above
Impact
none
Risk level
none
Documentation Update
N/A
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

This is for testing #9998 only and no longer needed.


[HUDI-1484] Escape the partition value in HiveSyncTool

What is the purpose of the pull request
Decode the partition value in HiveSyncTool if the URL_ENCODE_PARTITIONING_OPT_KEY set true. Because Hive itself will do escape processing on partition Value. Without this Decoding, the partition value will be encoded twice which lead to incorrect query result in hive or spark sql.
Brief change log
Decode the partition value in HiveSyncTool if the URL_ENCODE_PARTITIONING_OPT_KEY set true.
Verify this pull request

Added integration tests for in sparksql-incremental.commands

Committer checklist

[x ] Has a corresponding JIRA in PR title & commit

[x ] Commit message is descriptive of the change

[x ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2363 (7c5f9a0) into master (e4e2fbc) will decrease coverage by 42.42%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #2363       +/-   ##
=============================================
- Coverage     52.46%   10.04%   -42.43%
+ Complexity     2654       48     -2606
=============================================
  Files           332       52      -280
  Lines         14892     1852    -13040
  Branches       1496      223     -1273
=============================================
- Hits           7813      186     -7627
+ Misses         6454     1653     -4801
+ Partials        625       13      -612

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
100.00% <ø> (ø)
0.00 <ø> (ø)

hudicommon
?
?

hudihadoopmr
?
?

huditimelineservice
?
?

hudiutilities
10.04% <ø> (-59.62%)
0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

...va/org/apache/hudi/utilities/IdentitySplitter.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...va/org/apache/hudi/utilities/schema/SchemaSet.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-3.00%)

...a/org/apache/hudi/utilities/sources/RowSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

.../org/apache/hudi/utilities/sources/AvroSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

.../org/apache/hudi/utilities/sources/JsonSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

...rg/apache/hudi/utilities/sources/CsvDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-10.00%)

...g/apache/hudi/utilities/sources/JsonDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

...apache/hudi/utilities/sources/JsonKafkaSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-6.00%)

...pache/hudi/utilities/sources/ParquetDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-5.00%)

...lities/schema/SchemaProviderWithPostProcessor.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

... and 309 more

@wangxianghu @liujinhui1994 Would you please review this PR when you are free?

@wangxianghu @liujinhui1994 Would you please review this PR when you are free?

@wangxianghu @liujinhui1994 Would you please review this PR when you are free?

ack, will review after understanding it

@pengzhiwei2018 thanks for addressing my concern
LGTM now

That is all right. Thanks @wangxianghu for the review!

LGTM. merging.


How to change rainbow to 'day mode'?

Hi,
First of all, thank you for your wonderful project!
I've set up rainbow theme with custom JSON. For night theme, it looks great. But the 'day' theme looks like this:

My code now looks like
{
  "type": "rainbow",
  "fileName": "3d-contrib-profile-day.svg",
  "backgroundColor": "#ffffff",
  "foregroundColor": "#00000f",
  "strongColor": "rgb(255,200,55)",
  "weakColor": "#aaaaaa",
  "radarColor": "#40bcd8",
  "growingAnimation": true,
  "saturation": "80%",
  "contribLightness": [
	  "50%",
	  "40%",
	  "35%",
	  "30%",
	  "20%"
  ],
  "duration": "5s",
  "hueRatio": 7
}

(tried to play with hueRatio, saturation and contribLightness, but without any effect.
Is it possible somehow to make the isometric timeline look 'more appropriate' for day mode (a bit lighter/brighter)?

Hi again,
I figured it myself, sorry for inconvenience :)
	{
		"type": "rainbow",
		"fileName": "3d-contrib-profile-day.svg",
		"backgroundColor": "#ffffff",
		"foregroundColor": "#00000f",
		"strongColor": "#40bcd8",
		"weakColor": "#aaaaaa",
		"radarColor": "#40bcd8",
		"growingAnimation": true,
		"saturation": "25%",
		"contribLightness": [
			"90%",
			"80%",
			"70%",
			"60%",
			"50%"
		],
		"duration": "7s",
		"hueRatio": -2
	},

Could you please explain what does hueRatio mean?

Hello, tushev.
Thanks for looking at my repository.
In the HLS color space, three values are used: hue, saturation, and luminance.
"hueRatio" indicates the amount of hue change (degrees) for each week.
If hueRatio is 7 or -7, it will change 360 degrees in 360 days.
For example, if hueRatio is 14, it will change 360 degrees in 180 days. In other words, the color changes twice in about a year.
The sign changes the direction of the color change.

Got it! Thank you very much!


Adde queuetype to LeaguePosition

As it stands, users would need to do unnecessary api calls to GetLeagueByID just to find out the queue type for the leagues returned from GetAllLeaguePositionsForSummoner. This should alleviate that issue.

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


Fix / update storage methods

Error messages are the same for put, get and delete.
onError("Error storing value", event);

https://github.com/pwFoo/simplecrypto/blob/master/src/simplecrypto.js#L1208
Empty result returned if get is executed on an empty database! Should be an 'empty storage / not found' error?

Fixed with:
https://github.com/pwFoo/simplecrypto/compare/b65d6a327a96f20f19126b7654768d835d18e339...master


Clean up NestJS providers for dependency injection

Summary

NestJS expects to manage the instantiation of providers (eg any classes marked @Injectable() as well as some less common provider definitions). Instead they should be provided by a single module. That way NestJS creates a singleton instance available across the app.
SciCat should remove cases where providers are instantiated and replace these with dependency injection (DI).
Steps to Reproduce

The effect can be seen by putting a logging statement in a provider constructor. For instance, the CaslAbilityFactory is instantiated 13 times; configure() gets called several places directly rather than via ConfigService, AuthService is provided twice, etc.
Current Behaviour

Multiple instances are harmless as long as the provider doesn't have dependencies or side effects. However it might decrease performance and it doesn't follow best practices
Expected Behaviour

Providers are provided in a single module and exported
Other providers that need access to the singleton should do so via dependency injection
Tests may need to construct a TestModule to ensure DI gets called.

Details

#1539 removes many of the CaslAbilityFactory instances and includes some examples of how to construct the TestModules. In many cases the entire module can just be mocked, avoiding dependency injection.

I propose putting this on hold until after #1539 (and the rest of release-jobs) gets merged into main.

How about renaming CaslAbilityFactory to CaslAbilityProvider?

How about renaming CaslAbilityFactory to CaslAbilityProvider?

Unless there's a valid reason I'd against to change the class name


missing scala-library on windows

in this build https://ci.appveyor.com/project/fommil/ensime-server-circ6/build/1.0.82 for our PR into ensime-server, something bad happened. Windows specific?
Feel free to raise a PR against ensime-server to use our CI and get a reproduction, or I can get you a Windows 7 virtualbox image if that would help.

Should be fixed since https://github.com/alexarchambault/coursier/issues/223 in particular.


Strange behavior with naming

Bug report
Description / Observed Behavior
Not working
What kind of issues did you encounter with SWR?
Not working in some condition
Repro Steps / Code Example
https://codesandbox.io/s/nostalgic-andras-uyrlqx?file=/src/App.vue
if i rename "cock" to "data" its all working.
Additional Context
SWR version.
1.0.0.  8beta

wrong repo sorry.


Uncaught Error: Option 'ajax' is not allowed for Select2 when attached to a <select> element.

Are the examples incorrect or am I doing something wrong? When copying the "Loading remote data" example it's not working for me with the latest release.
<select class="js-data-example-ajax">
  <option value="3620194" selected="selected">select2/select2</option>
</select>

$(".js-data-example-ajax").select2({
  ajax: {
    url: "https://api.github.com/search/repositories",
    dataType: 'json',
    delay: 250,
    data: function (params) {
      return {
        q: params.term, // search term
        page: params.page
      };
    },
    processResults: function (data, page) {
      // parse the results into the format expected by Select2.
      // since we are using custom formatting functions we do not need to
      // alter the remote JSON data
      return {
        results: data.items
      };
    },
    cache: true
  },
  escapeMarkup: function (markup) { return markup; }, // let our custom formatter work
  minimumInputLength: 1,
  templateResult: formatRepo, // omitted for brevity, see the source of this page
  templateSelection: formatRepoSelection // omitted for brevity, see the source of this page
});

Nevermind, probably a 3.5 versus 4 issue


zipkin trace MQ asyn

I'm very interested in zipkin,but our project use rabbitmq syn and asyn.How to trace MQ and asyn call using zipkin?Thank you very much!

Discussion moved to gitter.


Performance issue pylance VSCode Version: 1.96.2 (Universal) Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f

 Environment data

Language Server version: 2024.12.1
OS and version: linux x64
Python version (and distribution if applicable, e.g. Anaconda):
python.analysis.indexing: true
python.analysis.typeCheckingMode: off

 Code Snippet

XXX

 Repro Steps

XXX

 Expected behavior
XXX
 Actual behavior
XXX
 Logs

XXX

This was an automatically generated issue from VSCode. The issue can be closed since it might be non informative.


Build and Deploy Docker Based Project from GitHub to Server

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Build and Deploy Docker Based Project from GitHub to Server
Introduction paragraph (2-3 paragraphs):
Continuous Deployment is a fantastic concept.  And in this article, I'll describe to you how to achieve it quickly and easily in your project.

You'll learn how to create a Dockerfile.
How to Publish a GitHub Project
Building the Docker image on Docker Hub automatically
Fetch the updated image and use it on the server

We'll make a GitHub pipeline to create, and automatically deploy a created Docker container image on a remote server based on code changed on GitHub.
Key takeaways:

Continuous Integration with Docker
Build Docker image via GitHub Actions
Transfer secret to Docker for building and deploy in public repo by using GitHub secrets
Fetch and run the image from container registry to server

References:

I would be using one of the earlier projects I worked on as a reference to base this article. It is an original work. Link: https://github.com/dscnitrourkela/project-dates

Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

seems like a very helpful topic - approved.
Be sure to link to any relevant recent container articles 🚀
@DesignrKnight

Thanks @hectorkambow
I will link the relevant article from official docs and engineering education in my article

Just wanted to give an update that the article draft is under process and I would be ready with first draft by month-end in 2 days

@DesignrKnight
No rush if you're still working on this one - if you need more time we can always re-open at a later date.


Use nodiscard in abstract interfaces to make them more secure

Channel
"C++Weekly"
Topics
I was wondering why nodiscard is not transitive when defining an abstract interface. Example.
Am I doing something wrong or is there another way to make sure that users of the interface will have nodiscard even if they do not write it explicitly?
Length
5-10 minutes

I was wondering why nodiscard is not transitive when defining an abstract interface. Example.

Because that's how it's specified: https://eel.is/c++draft/dcl.attr.nodiscard.
You can use it through the base function instead: https://cpp1.godbolt.org/z/9K4q9Er73.

Because that's how it's specified: https://eel.is/c++draft/dcl.attr.nodiscard.

But then it is specified a bit wired because the note to the declaration says:

[Note 1: Thus, an entity initially declared without the attribute can be marked as nodiscard by a subsequent redeclaration. However, after an entity is marked as nodiscard, later redeclarations do not remove the nodiscard from the entity. — end note]

For me, it sounds like it should be transitive.

An override is a different declaration from the declaration it overrides.
So an overriding function isn't a redeclaration of the overridden function.

Abstract interfaces are more less obsolete, using concepts allow to do compile time checks and optimizations. check this https://godbolt.org/z/ve535Ebr3

An override is a different declaration from the declaration it overrides. So an overriding function isn't a redeclaration of the overridden function.

Thanks for the explanation.

Abstract interfaces are more less obsolete, using concepts allow to do compile time checks and optimizations. check this https://godbolt.org/z/ve535Ebr3

Thanks to this introduction to concepts. I have not used them yet since my compiler and the standard used in the projects are not support those. I will have a look on your example.


tunneling socket could not be established, cause=connect ECONNREFUSED <IP_ADDRESS>:8080

Problem Summary

How to reproduce

Environment

leetcode-cli version:

OS version:
Node version:
Npm version:

a problem

seems a networking issue ...


Investigate what is the actual bottleneck in hash agg processing for dirty groups

It doesn't seem to be heap or cpu bottleneck. So what is the actual bottleneck, is it IO cost, due to lookups? If so we need a metric for it.
Or is it skew? because in some scenarios, the workload peaks at 1600%. But we have 32 cores.
Needs further investigation.

Some workloads to test:

What happens when a large number of existing agg groups get updated.
What happens when a large number of new agg groups are created.
Make sure to use minio rate limit configuration, to simulate latency when fetching from aws s3.

RC optimized group top n. This was the issue.


[WFLY-8892] Added test case for Elytron Security Domain

https://issues.jboss.org/browse/WFLY-8892

From discussions elsewhere, this needs https://github.com/wildfly/wildfly/pull/10125 before it can be moved to core

Retest this please


Contents of folder not shown in file tree

Prerequisites

[x] Can you reproduce the problem with Debug -> Reload Without Extensions?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?
[x] Did you read the Troubleshooting guide?

For more information on how to write a good bug report read here
For more information on how to contribute read here
Description
File tree is not visible on the left pane.
Even though there are files inside the opened folder, they will not be shown under the folder name on the file tree. Only the folder name is shown.

Steps to Reproduce

Open up any folder containing files.

Expected behavior:
Expected the contents of the active folder be shown on the file tree.
Actual behavior:
Nothing is displayed under the folder name on the file tree.
Versions
OS: Ubuntu 18.04.1 LTS
Brackets: Release 1.13 build 1.13.0-17696 (release 49d29a8bc)

Have you tried this with a different project?

Hi,
I am new to GitHub and I am computer science student. I would like to contribute in something. Please can some one help me  or guide me to contribute?
Thanks

I have tried it with several projects the results are the same. The
folder/file tree is never shown
On Sat, Nov 10, 2018, 11:02 PM Kenzo<EMAIL_ADDRESS>wrote:

Have you tried this with a different project?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adobe/brackets/issues/14581#issuecomment-437648337,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APvvZ9cHO49Idcxm7So-Tm7_U0a-CvaXks5ut8uRgaJpZM4X-Mrm
.

Hi,
I'm also experiencing this issue on all projects. In my case the issue occurs when adding/removing files/directories via the sidebar. When I add a directory/file outside of brackets then refresh it seems to repopulate.
When I look at the brackets debug console:
ErrorNotification.js:122 Exception in 'projectOpen' listener on Object RangeError: Invalid language tag: c RangeError: Invalid language tag: c
at new Collator (native)
at String.localeCompare (native)
at eval (/file/FileUtils.js:450:30)
at cmpNames (/file/FileUtils.js:475:20)
at Object.compareFilenames (/file/FileUtils.js:478:55)
at _dirsFirstCompare (/project/FileTreeView.js:675:34)
at eval (/thirdparty/immutable.js:3479:42)
at Array.sort (native)
at sortFactory (/thirdparty/immutable.js:3479:13)
at ToIndexedSequence.sort (/thirdparty/immutable.js:4442:26)window.console.error @ ErrorNotification.js:122
EventDispatcher.js:232 Assertion failed:trigger @ EventDispatcher.js:232
ErrorNotification.js:122 Exception in 'change' listener on Preference RangeError: Invalid language tag: c RangeError: Invalid language tag: c
at new Collator (native)
at String.localeCompare (native)
at eval (/file/FileUtils.js:450:30)
at cmpNames (/file/FileUtils.js:475:20)
at Object.compareFilenames (/file/FileUtils.js:478:55)
at _dirsFirstCompare (/project/FileTreeView.js:675:34)
at eval (/thirdparty/immutable.js:3479:42)
at Array.sort (native)
at sortFactory (/thirdparty/immutable.js:3479:13)
at ToIndexedSequence.sort (/thirdparty/immutable.js:4442:26)window.console.error @ ErrorNotification.js:122
EventDispatcher.js:232 Assertion failed:trigger @ EventDispatcher.js:232
KeyBindingManager.js:578 Failed to normalize Cmd-Shift-]
KeyBindingManager.js:578 Failed to normalize Cmd-Shift-[
NodeSocketTransport.js:84 NodeSocketTransport - start
ErrorNotification.js:122 Cannot assign Ctrl-R to refactoring.renamereference. It is already assigned to refactoring.renamereferencewindow.console.error @ ErrorNotification.js:122
FileUtils.js:450 Uncaught RangeError: Invalid language tag: c
FileSystem.js:967 Failed to watch root:  /home/lkpridgeon/Documents/foldhill/laughingdog/subscriptions/ Max connection attempts reached
ErrorNotification.js:122 Error watching project root:  /home/lkpridgeon/Documents/foldhill/laughingdog/subscriptions/ Max connection attempts reached
This was with extensions disabled.
Ubuntu 18.04.1 LTS
Brackets 1.13 build 1.13.0-17696 (Thu Jun 14 2018)

This could be to do with ubuntu 18.04.1 LTS using libcurl 4 instead of 3.

I have the same problem on Ubuntu Budgie 18.10
santi@metabook:~/zResponsive$ uname -a
Linux metabook 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

with Brackets version:
Release 1.13 build 1.13.0-17696 (release 49d29a8bc)
build timestamp: Thu Jun 14 2018 07:06:30 GMT+0000

Just open Brackets, installed as snap, and nothing in selected folder.
On the console the folllowing errors.

If i try to launch Brackets from the command line:
santi@metabook:~/Desktop/Plaiaundi/LEN MAR/zResponsive$ brackets
[1203/184342:ERROR:browser_main_loop.cc(261)] Gtk: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: Failed to load module "atk-bridge"
Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig error: line 6: invalid attribute 'translate'
Fontconfig error: line 6: invalid attribute 'selector'
Fontconfig error: line 7: invalid attribute 'xmlns:its'
Fontconfig error: line 7: invalid attribute 'version'
Fontconfig warning: line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
... lots of Fontconfig warning and errors
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load default config file
[1203/184359:ERROR:browser_main_loop.cc(261)] Gtk: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
[1203/184359:ERROR:browser_main_loop.cc(261)] Gtk: Loading IM context type 'ibus' failed
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so: undefined symbol: g_log_structured_standard
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[1203/184401:ERROR:browser_main_loop.cc(261)] Gtk: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
[1203/184401:ERROR:browser_main_loop.cc(261)] Gtk: Loading IM context type 'ibus' failed

Having the exact same issue
Ubuntu 18.04.1 LTS
brackets Release 1.13 build 1.13.0-17696 (release 49d29a8bc)

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.

@mackomando
your solution helped me solve the same issue, thank you!!

I am glad I could help

global.require.s.contexts._.config.locale = "en"
results in
VM812:1 Uncaught ReferenceError: global is not defined(…)(anonymous function) @ VM812:1
ls

@srlopez @mackomando @birozz
I see the following error listed in the CLI logs pasted above:

Gtk: Locale not supported by C library

Seems like an issue with locales, where Strings.localeCompare fails on execution.
A cursory glance on google yields this result: https://askubuntu.com/questions/359753/gtk-warning-locale-not-supported-by-c-library-when-starting-apps-from-th
Can somebody try the solution to fix the locales shown in the link above and see if it solves the issue?
Thanks.

@shubhsnov

Can somebody try the solution to fix the locales shown in the link above and see if it solves the issue?

I had the exactly same issue with files tree and tried following some steps in the link you gave. It worked.
First:
sudo apt-get purge locales
Then:
sudo aptitude install locales
Last:
sudo dpkg-reconfigure locales

This rids the system of locales, then re-installs locales and downgrades libc6 from 2.19 to 2.13 which is the issue. Then configures locales again.

Just have in mind that some applications can be affected by downgrading this lib. Hope it could help.

debug > switch language > any language

@mackomando
Thanks i had same issue but your solution was the answer ...

Thanks, Mackomando - That fixed it for me!

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.

This Thing Works

thank you so much @JJ-ind ... I had the same issue and your solution worked for me...!!

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.

Works like magic!

I fixed it a while back and I can't remember what I did - your answer sounds familiar.   Whatever the case, it's working ok now.
Thanks for the tip -
Susan
On Wednesday, October 21, 2020, 4:37:24 AM EDT, JakubJanda<EMAIL_ADDRESS>wrote:

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.
I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.
Works like magic!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I am on Linux Mint 20.1 Cinnamon with 5.4.0-64-generic #72-Ubuntu SMP Fri Jan 15 10:27:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
brackets:
Release 1.14 build 1.14.1-17752 (release-1.14.1 959fed135)
build timestamp: Thu Nov 28 2019 08:58:11 GMT+0000
which installed with snap. which is not the lastest strangely enough!!
on GitHub and the official blog, it should be 1.14.2.
I think #2794 is similar to this, but I am just guessing.
@JJ-ind yeah but it's not the point, it would come when you annoyed because you face another problem when you trying to develop an app (which theoretically solving a problem).
@chypmonk Are you the dev? I mean someone with maintainer authority?
@CodePint Thanks for digging deeper :smile: It very useful when someone wants to submit a PR. Also, your 'naive fix' is far better than no fix at all. But let's hear from the maintainer. I hope a PR is merged before future release :)

HI Adi -
I am not a dev, just a programmer, who asked a question a while back.  My file  tree was not showing up because of a setting in the 'navigate' tool bar, I think - I got it to work by checking something in settings.
Good luck -
Chypmonk
On Monday, February 15, 2021, 12:01:33 AM EST, Adi Prasetyo<EMAIL_ADDRESS>wrote:
I am on Linux Mint 20.1 Cinnamon with 5.4.0-64-generic #72-Ubuntu SMP Fri Jan 15 10:27:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
brackets:
Release 1.14 build 1.14.1-17752 (release-1.14.1 959fed1)
build timestamp: Thu Nov 28 2019 08:58:11 GMT+0000
which installed with snap. which is not the lastest strangely enough!!
on GitHub and the official blog, it should be 1.14.2.
I think #2794 is similar to this, but I am just guessing.
@JJ-ind yeah but it's not the point, it would come when you annoyed because you face another problem when you trying to develop an app (which theoretically solving a problem).
@chypmonk Are you the dev? I mean someone with maintainer authority?
@CodePint Thanks for digging deeper 😄 It very useful when someone wants to submit a PR. Also, your 'naive fix' is far better than no fix at all. But let's hear from the maintainer. I hope a PR is merged before future release :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update docs 303

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/kohirens/version-release?version=dev:a4d0f7bd95b2b0462a444a5f38553d52cdac4a68

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/kohirens/version-release?version=dev:4074f1fbbd57551a6da8ba1c0a738372898cb04e


Inquiry About Project Recovery in Bolt Pro Mode

Describe the bug
Hello, Bolt Support Team,
I’ve been using Bolt in Pro mode for a few days and created a project in the platform. However, when I recently logged back into my account, it says there are no previous conversations, and I can’t find the project I previously created.
Could you please guide me on how to recover my project and regain access to previous conversations? I appreciate your assistance in resolving this issue.
Thank you in advance for your attention.
Link to the Bolt URL that caused the error
https://bolt.new/
Steps to reproduce
Your Chats
Expected behavior
Could you please guide me on how to recover my project and regain access to previous conversations?
Screen Recording / Screenshot
No response
Platform

OS:  Windows
Browser: Chrome
Version: 130.0.6723.117 (Build oficial) (64 bits)

Additional context
No response

Hi @machavarro,
Appreciate the feedback! We are aware of this issue with chat persistence. Temporary workarounds and updates can be found here: #39. (Go to stackblitz.com, login (same credentials as Bolt), click Collections on the left-hand side, click Bolt Collection). Appreciate your patience as improvements continue to be made.


Any way to declare and use a T-SQL variable between to db calls?

I'm trying to achieve the following:

I want to declare a Table Type variable that I can insert values into by using the following syntax:

DECLARE @table dbo.my_table_type;
INSERT @table VALUES ("test1"), ("test2");

This is easy to do with go-mssqldb:
tsql := fmt.Sprintf("DECLARE @table dbo.my_table_type; INSERT @table VALUES ("test1"), ("test2");"
_, err := db.Exec(tsql)

Then afterwards, I'd like to use that declared variable to send it to a stored procedure.

EXEC table_storedproc @table;

I tried using the following:
stmt, err := db.Prepare("EXEC table_storedproc @table, ?, ?;")
if err != nil {
	fmt.Println("Error preparing the procedure: " + err.Error())
	return -1, err
}
rows, err := stmt.Query(modelName, fraudProbability)
[...]

But then I get an error saying that the scalar variable @table isn't declared. Is a new session started when I call the Prepare statement? How can I ensure that I can see the variable I declared between calls?
Thanks,
Luis

There are a few issues here. One is that "@" vars are batch scoped. That means that they are limited to the scope of your current SQL text, within the bounds of "GO" statements. The second is that until go1.9 (next release) there is no way to pull a single connection from the driver and use it to preserve session. This was just merged this morning into the go1.9 tree, but that won't be available for another 4 months.
You want a global temp table ##varname I think.

Thanks @kardianos


Use njk as the default extension

As per nunjucks recomendation https://github.com/mozilla/nunjucks/blob/master/CHANGELOG.md + upgrade nunjucks.

I've changed the default extension on the v3.x branch to .njk. I'll keep this issue open as a reminder to update Nunjucks since their v3 is still in development. Thanks!

Updated to v3 a while ago and forgot to close this...


Clean start-up logging

Removed test code related to logging and instead used Testing repo's logging helpers.

Removed Logging related ILogValues types and cleaned up tests.

Removed direct dependency on Framework.Logging and instead used Framework.Logging.Interfaces.
Fixed breaking code which additionally cleans up start-up logging which we wanted to do.

/cc: @rynowak @Eilon

@kichalla can we swap our dependency to ...Logging.Interfaces now?

:shipit:

Commits:
ede64dcc8aa9393771f057a5a41bc29b59818f60
e4de86ee5ca5c4e689230e419810e57b70f853f0
9843aea816dfa3d3d738711e6434ea95add1f808


move all the prints to using stderr by default?

its as simple as changing
print(s) to print(s,file=sys.stderr)
at least,. i think that is a pretty reasonable change that is good engineering to do

import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
Now you can use eprint just like print, but it goes to stderr
eprint("An error has occurred")

use this instead:
import sys
def stderr_decorator(func):
def wrapper(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
return wrapper
@stderr_decorator
def print_to_stderr(s):
return s
print_to_stderr("An error has occurred")

I’m totally a newb at modern python, what are the benefits of this approach? Also should the body function be func rather than print?

I guess I mean I’d love to understand the reasoning for this style!

I usually just use like mprint and then its less characters

I’m failing to google mprint. What do you mean?

I just mean name your helper print function which defaults to stderr mprint or smth

Logging would be another good name.  Or at least eventually this will turn
into adhoc logging :)
On Tue, Jul 4, 2023 at 11:27 AM Dr. sc. Matthew Mirman <
@.***> wrote:

I just mean name your helper print function which defaults to stderr
mprint or smth
—
Reply to this email directly, view it on GitHub
https://github.com/anarchy-ai/LLM-VM/issues/31#issuecomment-1620445084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABBQQI7YGP4LS5PFB46ZDXOQY4XANCNFSM6AAAAAAZ3VRPBM
.
You are receiving this because you authored the thread.Message ID:
@.***>

interesting idea! maybe after we have a solid configuration subsystem.


Make 'referenceable' a parameter attribute in plugins

Summary
Add a referenceable attribute to plugin parameters that will render the referenceable help text rather than manually adding it to the description
Reason
Fixes a broken link, and helps with maintenance
Testing
Check any referenceable fields in plugins

Build failures are vale related


Redirect after logging in did not pass POST

https://github.com/minaton-ru/django-catalog-votes/pull/6


NavMenu dropdown icon positioning issue

Hi Creators,
I hope you all are doing great. I am having issue with NavMenu. I recently started using Matblazor and copy exact code from your website. Here is the issue I am facing:

As you can see the dropdown arrow positioning is not correct. I am also pasting my code for your reference. My NavMenu is in MatDrawer:
<MatDrawer @bind-Opened="@DrawerOpened" Style="background-color:#eceff1;">
    <MatNavMenu>
        <MatNavSubMenu>
            <MatNavItem><MatIcon Icon="dashboard"></MatIcon>  Dashboard</MatNavItem>
            <MatNavSubMenuHeader>
                <MatNavItem AllowSelection="false"><MatIcon Icon="location_city"></MatIcon>  City Management</MatNavItem>
            </MatNavSubMenuHeader>
            <MatNavSubMenuList>
                <MatNavItem Href="#"><MatIcon Icon="list"></MatIcon>  Cites</MatNavItem>
                <MatNavItem Href="#"><MatIcon Icon="add"></MatIcon>  Add New</MatNavItem>
            </MatNavSubMenuList>
        </MatNavSubMenu>
    </MatNavMenu>
</MatDrawer>

I hope someone can help me with this issue.
Thank you
Best Regards
J

I had this in my code
<MatDrawerContainer Style="width: 100vw; height: 100vh;">
and when I removed width, it's working properly now.

Closed issue by mistake.

@DrXSsive  have a look at the menu on https://blazorboilerplate.com/
I added this css to my css to adjust the margin to center it better vertically.
.mdc-drawer .mdc-list-item {
    margin: 8px 0 !important;
}

It was just the issue of line-height. I added "line-height: 1;" in body element, and everything just works fine.
Cheers


fix: authentication provider should fire proper event

Summary
Fix #235
AuthenticationProvider should fire change event for VS Code Accounts menu to update.
Testing
Test case in #235

Switch between different profiles and sign in with different users. All users were recorded on Account list instead of single one.


Navigate back to previous page: 'require' is not defined

Reproducible on Windows Atom-Shell 0.19.1 and 0.20.0
To reproduce:
Using the quick-start app as a starting point, replace index.html with

  <title>First page</title>

    Click on the link

  Link

and add a second file next.html containing

  <title>Second page</title>

    Now press backspace to go back to the previous page

Run the app and follow the instructions on the pages. When going back to the first page, the following error appears on the console:

Uncaught ReferenceError: require is not defined

I expected require to be defined, as it was on the first visit to the page.
I added some tracing to resources/atom/renderer/lib/init.js and it appears that process.argv contains --node-integration=true on the first visit to each page. However, it doesn't contain that argument when going back to the first page. This means that nodeIntegration is then false and so the code which sets global.require (later in the same file) is skipped.

I have noticed this behaviour on Windows as well, using Atom Shell 0.20.6.

We've been hitting a lot of weird issues with require not working as well, every time our app starts for the first time we fail to require a module that is definitely there, refreshing the page makes it work again

Have tested the new release 0.20.7 and this is still an issue on Windows. Is it by design... is there something my app should do when a window navigates to a URL?

Still a problem on 0.21.0 on Windows.

Still an issue in 0.21.3 on Windows.

Here's a repro showing that require() stops working when the browser goes back in history (via backspace key) https://github.com/jimmcslim/atomtest

Still an issue in 0.22.2 on Windows.

Still an issue in 0.25.1 on Windows.

Great! A release with these fixes would be awesome!

Yesssss :gem:

Tested on 0.25.2 and backspace no longer goes back triggering the error. Great, Thanks!


Uninstall the script

How can i uninstall the script because normal purge command not working.
I try to use it but after installation when i run it, the error "No module named 'PTN'" pup up no mather what i do.
Please help me with a solution for one of this problems.

What pip installs is called parse-torrent-name, which provides the PTN package - but this isn't the name pip recognises. To remove:
pip uninstall parse-torrent-name


Manageability Considerations

Please clarify in the Manageability Considerations section if restarting the vm via the portal is okay to do. Many people are confused including myself if it is just shutdown via the portal that is dangerous or shutdowns and restarts.
Also, will Windows Server 2012 and higher "self heal"  if the vm is deallocated? What actions need to be taken in the event of vm deallocation with respect to the domain /AD DS?

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

ID: 65f26361-0def-4ae9-e28a-8a8d4f97b87f
Version Independent ID: ef55eb02-6543-88ad-4f89-5a553848bc67
Content: Deploy AD DS in an Azure virtual network - Azure Architecture Center
Content Source: docs/reference-architectures/identity/adds-extend-domain.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @telmosampaio
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#280157

@colin-small it's fine to restart the VM from the Azure portal. This uses guest services within the VM to shut it down similar to the method of doing it within the VM - assuming you don't have any open user files (notepad, etc). As for the deallocation, from the VM's perspective its just being shut down. You can simply turn it back on.

This seems to be addressed in the current version of the article. there are 3 side effects mentioned, none of which are significant in most environments.

Closing issue after @Mike-Crowley reply.


Ash.Type.generator/1 should return DataStream

While using Ash.Generator.seed/1 I got the following error:
** (ArgumentError) expected a generator, which can be a %StreamData{} struct, an atom, or a tuple with generators in it, but got:

  "col_02wsdmCe7p61fA5nVLcFYJ"

If you want to use a term as a "constant" generator, wrap it in a call to StreamData.constant/1 instead.

I noticed that the callback Ash.Type.generator/1 should actually return an Enumerable instead of a single value:
@callback generator(constraints) :: Enumerable.t()

To fix the issue, I renamed the existing generator/1 to generate/1 and implemented the generator as expected (using Ash.Type.UUID as reference).
Heads-up: I also tried to add a test for the generator function by using Ash.Generator.seed!/1 in the existing tests (which failed, possibly because of an unrelated Ash bug). When I updated all the dependencies, I noticed that ash_postgres v2.0.10 will break your tests (v2.0.9 is fine):
  6) test AshUUID.PrefixedV4 testing oranges (AshUUIDTest)
     test/ash_uuid_test.exs:140
     ** (Ash.Error.Unknown) Unknown Error

     * ** (Postgrex.Error) ERROR 22P02 (invalid_text_representation) invalid input syntax for type uuid: "orange-smoothie_3ZhwNimx2NuodIDMu2xmwo". If you are trying to query a JSON field, the parameter may need to be interpolated. Instead of

         p.json["field"] != "value"

     do

         p.json["field"] != ^"value"

         query: SELECT o0."id", o0."inserted_at", o0."orange_smoothie_id" FROM "oranges" AS o0 WHERE (o0."orange_smoothie_id"::uuid IN ('orange-smoothie_3ZhwNimx2NuodIDMu2xmwo'))
         at oranges
       (ecto_sql 3.11.3) lib/ecto/adapters/sql.ex:1054: Ecto.Adapters.SQL.raise_sql_call_error/1
       (ecto_sql 3.11.3) lib/ecto/adapters/sql.ex:952: Ecto.Adapters.SQL.execute/6
       (ecto 3.11.2) lib/ecto/repo/queryable.ex:232: Ecto.Repo.Queryable.execute/4
       (ecto 3.11.2) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
       (ash_postgres 2.0.10) lib/data_layer.ex:758: anonymous fn/3 in AshPostgres.DataLayer.run_query/2
       (ash_postgres 2.0.10) lib/data_layer.ex:756: AshPostgres.DataLayer.run_query/2
       (ash 3.0.15) lib/ash/actions/read/read.ex:2423: Ash.Actions.Read.run_query/4
       (ash 3.0.15) lib/ash/actions/read/read.ex:447: anonymous fn/5 in Ash.Actions.Read.do_read/4
       (ash 3.0.15) lib/ash/actions/read/read.ex:777: Ash.Actions.Read.maybe_in_transaction/3
       (ash 3.0.15) lib/ash/actions/read/read.ex:248: Ash.Actions.Read.do_run/3
       (ash 3.0.15) lib/ash/actions/read/read.ex:66: anonymous fn/3 in Ash.Actions.Read.run/3

Hi @hwuethrich
I'll merge this as soon as #9 is resolved.
The current generator was clearly wrong until now 🙈
Thank you for notice this bug, opening the PR and your contribution!

@moissela It looks like the other issue was caused by a bug in ash_postgres 2.0.9

Thanks @hwuethrich for your contribution 🚀
I'll release new AshUUID version to hex shortly!

Released!


Cannot add right segment for 'tmux-prefix-highlight'

Hi, the theme is simple and elegant with versatile customization capability. Nevertheless encounter one issue when applying one 3rd tmux plugin.
Setup in .tmux.conf

Use TPM for tmux plugin management/installation and configure nova theme as
set -g @plugin 'o0th/tmux-nova'

set -g @nova-segment-novatime "%Y-%m-%d %H:%M"
set -g @nova-segments-0-right "novatime whoami"

And the result shown as:

Then install 'tmux-prefix-highlight' and add to right segment
set -g @plugin 'o0th/tmux-nova'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'

set -g @nova-segment-novatime "%Y-%m-%d %H:%M"
set -g @nova-segment-actionprefix "#{prefix_highlight}"
set -g @nova-segments-0-right "actionprefix novatime whoami"

Symptom

Click prefix + I to install the pluging/configuration via TPM, the segment shows:

Click prefix + U to update the plugin/reload configuration via TPM, the segment restores to original presentation:

Type tmux source ~/.tmux.conf in the session, the segment doesn't change.

Click prefix, the expected 'prefix-highlight' segment doesn't show up

Quit tmux session, kill tmux server and restart a new session, the right segment shows as original one and no 'prefix-highlight' segment shows up when clicking prefix

Please let me know if futher test/info required, and thanks for your assistance.

@louis-hsu - I think the issue may be with the 'tmux-prefix-highlight' plugin, I tried another official plugin 'tmux-plugins/tmux-cpu' and this worked fine when I added it to @nova-segments-0-right with "cpu whoami"
Sadly, the prefix plugin is no longer maintained.

Perhaps @o0th you could add this feature into tmux-nova directly using the newer syntax. I'm not comfortable enough on the changes required to make this work for a PR sorry. Best left to the experts 😄

Hi @louis-hsu, thank you for opening this issue! Apparently, tmux-prefix-highlight is incompatible with tmux-nova. I could make it work by changing a few lines in the plugin source code, but I was not too fond of the general behavior.
@arrrgi: I think it is possible to have a similar implementation without touching the source code tmux-nova and without writing a plugin
set -g @nova-segment-action-prefix "#{?client_prefix,^B,}#{?#{==:#{pane_mode},copy-mode}, ^C,}#{?#{==:#{pane_mode},view-mode}, ^V,}"

Let me know what you think about it!

Thanks @o0th
set -g @nova-segment-action-prefix "#{?client_prefix,^B,}#{?#{==:#{pane_mode},copy-mode}, ^C,}#{?#{==:#{pane_mode},view-mode}, ^V,}" worked.
I wonder if you also know how I get the status to show if the panes are in sync mode with this? (currently I have this bound as Prefix + Ctrl X)

Adding #{?synchronize-panes,^S,} to the @nova-segment-action-prefix will do :)

Thanks, worked great!

Hi @o0th and @arrrgi , thanks for the help and it works!
Nevertheless, found anothe symptom after following suggestion to set new right segment for prefix (with minor tweaks):

Pressing prefix

Pressing bound key (mine is Esc) to enter Copy mode

Then pressing prefix again

The similar symptom for synchronization mode
I tried to trace tmux-prefix-highlight source code to see how to reload the segment correctly but no clue yet...

Hi @louis-hsu, sorry for the waiting time; I could not dedicate time to this till now. You could try this:
set -g @nova-segment-action-prefix "#{?client_prefix,^B,#{?#{==:#{pane_mode},copy-mode},^C,}#{?#{==:#{pane_mode},view-mode},^V,}#{?synchronize-panes,^S,}}"

Hi @o0th, it works! Thanks a lot!


Timeline Logic

Make new commands

Show events in next N days
Show events on XX-XX-XXXX Day

Implemented in #84


XIVY-14003 beautify empty detail view

Target:

Result:

Correct icon is not available yet, need to ask Anaïs.

Maybe this empty view could also be something for the ui-components, as we may could use it also for the other editors :)


Update ArkOS error 500

Hi!
I tried to update ArkOS on my RG351M and got an error 500. A screenshot (well, photo) is attached. Seems like the update location (http://gitcdn.link/...) ist down..? Can't reach it on my PC either.
Maybe there is another way to update without completely wiping the data on the device?
Thank you

!

gitcdn seems like it’s back up now..  You can also follow the instructions in the pinned issue here to use another method as well but I no longer update the 351p/m so the final update from May is all that’s available for that unit.

Thank you for your reply! I still can't reach the site (not on the device and neither on my PC). I will just try again and maybe try your suggested alternative method.

For continued updates on this unit for ArkOS, checkout Wummle's fork.
https://www.youtube.com/watch?v=Y9wxFIOhn4g

Thank you, will do!


CLI: Add Blocked Reasons

Feature Request
Description:
In v0.4 we introduced Blocked Cookies insights on the Cookies' landing page, the same needs to be made available in the CLI results to ensure parity between the extension and CLI

Addressed and released as a part of v0.5


Have the types reflect when a callback is optional

If one is using strict typings for each sequence of the database creation then an error comes up for some database methods when leaving out the callbacks.
Environment details

OS: macOS Mojave version 10.14.1
Node.js version: v10.10.0
npm version: 6.4.1
@google-cloud/spanner version: 2.2.1

Steps to reproduce

first the env variables are imported

import { Database, Instance, Spanner } from '@google-cloud/spanner';

import {
  DATABASE,
  INSTANCE,
  PROJECT,
} from '../env';

const [databaseId, instanceId, projectId] = [
  DATABASE,
  INSTANCE,
  PROJECT,
];

function isCloudSpannerInstance(x: any): x is Instance {
  return !!x.database;
}

export const setUpDb = async () => {
  const spanner = new Spanner({ projectId });  // this is a Spanner type
  const spannerInstance = isCloudSpannerInstance(instance); // this is an Instance type or undefined
    ? instance
    : undefined;

  if (spannerInstance === undefined) {
    console.error('That instance does not exist');
    return;
  }
  const database: Database = spannerInstance.database(databaseId);
  const sampleSchema = `
    CREATE TABLE sample (
      sample_id  INT64
    ) PRIMARY KEY (sample_id)
  `;
  // this step causes TypeScript compile errors as the typings on database.d.ts on line 304
  // don't allow for an omission of a callback which is different than what the same file says
  // on line 291 concerning omitting a callback for the createTable method
  await database.createTable(sampleSchema);

  // this is different from the instance.d.ts file on lines 103 and 119 for the createDatabase
  // where it says a callback can be omitted and the types reflect that
};

setUpDb();

Greetings!  We're still actively working on the TypeScript types here.  We're tracking the work to get this all prettied up in #223, so I'm closing this as a dup.  Thanks!


.Net: FunctionCallingStepwisePlanner doesn't work with OpenAI versioned models

Describe the bug
The current version of GeneratePlan.yaml has execution_settings with specific modelIds of gpt-4 and gpt-3.5-turbo. If the kernel used to create the planner has IChatCompletionService or ITextGenerationService registered with a modelId of gpt-4-1106-preview or gpt-3.5-turbo-1106, it throws the following error:
Unhandled exception. Microsoft.SemanticKernel.KernelException: Required service of type Microsoft.SemanticKernel.AI.TextGeneration.ITextGenerationService not registered. Expected serviceIds: |. Expected modelIds: gpt-4|gpt-3.5-turbo.
   at Microsoft.SemanticKernel.Services.OrderedAIServiceSelector.SelectAIService[T](Kernel kernel, KernelFunction function, KernelArguments arguments)...

I haven't tried this with Azure OpenAI. I assume gpt-4 would work fine there as the model version isn't included in the modelId, however, I would expect to see the same error using gpt-35-turbo as the modelId is slightly different.
To Reproduce
Steps to reproduce the behavior:

Set up KernelSyntaxExamples with any OpenAI chat model other than gpt-4 or gpt-3.5-turbo.
Execute Example66_FunctionCallingStepwisePlanner
See error

Expected behavior
Ability to run planner with any available chat completion model.
I'm not sure why the two modelIds are included in the execution_settings as they are otherwise identical. Removing one of the settings and leaving out the modelId should resolve this issue.
execution_settings:
  - temperature:       0.0
    top_p:             0.0
    presence_penalty:  0.0
    frequency_penalty: 0.0
    max_tokens:        256
    stop_sequences:    []

Platform

OS: Windows
IDE: Visual Studio
Language: C#
Source: NuGet package version 1.0.0-rc3 or main branch of repository

Additional context
Add any other context about the problem here.

@gitri-ms, to make sure there is fallback logic, we need to add a third execution setting that doesn't have a model ID or service ID.

Fixed by #4170


Expose the threadpool

This adds a new threadpool struct that tasks can be spawned on, and which allows running some code before setup. Implements #10. Thanks!

Dang, rustfmt also just ran on my latest run. Hope it's not a problem; happy to split the commits if needed.

Also just fixed a final concurrency bug we had. This should be good to merge now!


In Programmer calculator pane, text is not getting resized for "Hex,Dec,OCT,Bin" value text

In Programmer calculator pane, text is not getting resized for "Hex,Dec,OCT,Bin" value text
Repro steps
1.Launch the calculator application from start menu.
2.Navigate to  menu navigation button present in left corner if the app and invoke it.
3.Now select the Programmer calculator  and invoke it.
4.Give some input value and observed the resulted Hex,Dec,OCT,Bin value text  size in Textscaling 200%. mode.
Actual Results
In programmer calculator pane "Hex, Dec, OCT, Bin value text size is  not enlarged after applying 200 % textscaling.
Expected Results
Text size should be increased when Text scaling is applied
User Impact
Users with low vision will face difficulty if the text is not getting increased.

This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member.

I think the problem is that the fixed value CaptionFontSize is assigned to ProgModeRadioButtonStyle ThemeResource.

Hmm, even when specifying a font style like this, the font should scale with the system. I suspect that IsTextScaleFactorEnabled might be set to false somewhere inappropriately (it is intended to be used for non-text, like icons).


Update burstiness.md -- Formatting Issues

Signed-off-by: Matt Germonprez<EMAIL_ADDRESS>Fixing formatting Issues in the metric

Relate to issue #99


关于运行npm run dev时报错的问题

报错内容如下
$ npm run dev

<EMAIL_ADDRESS>dev
vite --port 3333 --open --host

failed to load config from D:\code\code\explosions\vite.config.ts
error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'D:\code\code\explosions\node_modules\jiti' imported from<EMAIL_ADDRESS>at new NodeError (node:internal/errors:387:5)
at legacyMainResolve (node:internal/modules/esm/resolve:242:9)
at packageResolve (node:internal/modules/esm/resolve:839:14)
at moduleResolve (node:internal/modules/esm/resolve:901:20)
at defaultResolve (node:internal/modules/esm/resolve:1115:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:837:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36)

抱歉才看到这个 Issue，可以正常运行了（


Update the django app for Content so that admins can add a description in a Text Field along with that particular week's content file

FIxed in
f8c5e0a

Similar to #101 #103


Clean up CONTRIBUTING.md

This commit makes minor structural changes to the CONTRIBUTING.md file.
These changes aim to make this file more readable for new contributors, improving accessibility.

Hi @peripheralist 👋 , this is my first contribution. There'll be more to come!
Would you mind reviewing this PR when you have a chance? 🙇

thanks for you help @aeolianeth! good improvements. let's fix that little typo and we can merge

@peripheralist thanks for the review and good catch on the typo 🙈 . Back to you 🏓


#1547 - Updated Report Runner's ReportCSVExportServlet to support ext…

…ra-ACS Commons ReportCellCSVExporter

Pull Request Test Coverage Report for Build 4802

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.697%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/reports/internal/ReportCSVExportServlet.java
0
2
0.0%

Totals

Change from base Build 4791:
0.0%

Covered Lines:
13937

Relevant Lines:
25955

💛  - Coveralls


Scrolling page when using Guide tour

Expected behavior
As a follower, when scroll on items they are going behind the breadcrumb. See below picture please.

Actual behavior
Steps to reproduce the issue
APEX version (4.2.6 / 5.0.3)
Used web server / version and platform (ORDS 3.0.3 / Tomcat 7 / Apache 2.4 / Linux x64)
Used web browser / version and platform (Chrome 48 Mac / Firefox 44 Windows)

Hi @iranapex
isnt´t that expected behavior? Guided tour should stay on top shouldn´t it?
If you would like to have the guided tour region lower you could try to add some css to alter the z-index:
.shepherd-element.shepherd-theme-dark {
    z-index: 1;
}

Set z-index to a value that´s lower than that of breadcrumb bar...

I haven't heared something from you, so I will close the issue now...If you have something to that topic just post, I will open it again...


Fix full stemcell create flow

This fix solves the vm unbootable error that happen when you try to upload a full stemcell version from bosh.io

Fixed part size too small issue when uploading a 3.5GB image
Fixed - Extract stemcell image to get raw image

I have added missing imports !:)


Cannot dismiss an alert if it overflows

Describe the bug
If the alert message is too long, the dismiss button is not displayed, so it's not possible to dismiss that particular alert.
Expected behaviour
The dismiss button should be visible.
Additional context

General Information
Are you running a fork of renterd?
Are you on the mainnet or on the testnet?
Renterd Config
Please provide us the following information:
Autopilot Config
curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/autopilot/config

Bus Config
curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/setting/redundancy

curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/setting/gouging

Contract Set Contracts
curl -u ":[YOUR_PASSWORD]" http://localhost:9980/api/bus/contracts/set/autopilot | grep '"id"' | wc -l

Renterd Logs
If applicable, upload your renterd.log file or part of the file you think is relevant to the issue.

Fixed


Double Feeding Slab Error w/ Productive Bees

Minecraft v1.16.4
Forge v35.1.13
Productive Bees v<IP_ADDRESS>
Double Slabs v3.4.10
When a Feeding Slab is made into a double slab with the Productive Bees mod installed, the gui won't open and instead prints an error.
Error Log

Sorry for the delayed response... I've finally fixed this in the latest version!

Thanks! No worries.


Add group property to user model

The group value will be limited to values from group module

Added.


Cycle detector is slow. Profile it.

Significantly improved the runtime complexity of cycle detector in f85a71c3c9d7608a7dbbbadf9b7c978c4f12dd93. There might be more stuff to do, but closing for now.


fix: #1862 - safer product history refresh

What

Recently many async methods in DaoProductList were transformed into sync methods - after all, we're using hive and preload the data so it's possible
This change created a possible concurrency between notifyListeners and setState, which is what the issue is all about
The chosen solution was to refresh the product history (= "this is the most recent product I've seen") when we leave the product page, which makes as much sense as refreshing the history ASAP, and is less prone to setStates

Fixes bug(s)

Fixes: #1862

What happens when you open a product and then directly close the app without poping first? Maybe pushing to hive without notifying would avoid this case.

@M123-dev That would mean putting back the "update" without notifying at page start, and notifying always at pop time, right?

@M123-dev Your theory sounded tempting but I've just tested and the same crash happened: it looks like that initState is a part of the build, even if it's out of the build method and run sync.
Feel free to comment again or to approve.


Containers are intermittently failing to start for parametric tests

It looks like parametric tests have been particularly flaky since this week. They were already flaky before but at this point most CI runs are failing. It looks like containers fail to start because the port cannot be allocated. I'm not sure where to look and I don't know the port allocation logic, but I figured I would at least open an issue so that the problem is known.

Well, here is a very good suspect : https://github.com/DataDog/system-tests/blob/5bbe189e07f2f8def444e7bef7fff5d37d784e70/tests/parametric/conftest.py#L74, race condition, with 16 runners, it's very probable to have issues

I don't know Python, but if this requests the port directly from the kernel, it should be impossible for a race condition to occur.

it open the socket, get the port, close the socket. At this point, the port is free to be reused, no ?

Yes that's my point, instead of trying to figure out a port to use, it should just open the socket, get its port, and use that same socket. We had the same issue in dd-trace-js for a long time with our use of get-port, and we never figured out a proper way to fix it without a ton of complexity, so we ended up just refactoring everything to just use the socket that was opened in the first place.

It's also worth noting that we were having the issue with a single thread, so doing this is definitely prone to weird errors regardless of concurrency.

It looks like the port eventually makes it to the docker_run function that then passes it to Docker. Could the code instead always pass 0 to Docker to let it get a socket on a random port and then grab the port from Docker directly instead?

It looks like the port eventually makes it to the docker_run function that then passes it to Docker. Could the code instead always pass 0 to Docker to let it get a socket on a random port and then grab the port from Docker directly instead?

Trying that right now.

Feedback after few days of tears and blood

let docker allocate the host port

works like a dream locally on macOS
fails miserably on github action, randomly sending payloads to the wrong agent container. No idea why

trying to use some filelock trick, and keep the hack socket.open

fails miserably

I went threw the mindstate where I disable xdist.
back to the bench, currently trying to use predetermined ports


Allow using activation keys for RH subscriptions

This method allows using subscription-manager with organization-level
credentials. It's mainly useful for automation, as it divorces
subscription credentials from personal Red Hat accounts.
See https://access.redhat.com/solutions/3341191 for more information.
Signed-off-by: Zack Cerza<EMAIL_ADDRESS>

Thanks @zmc for the PR. This is a good addition. Just added one question on the PR.

@bpradipt @yussufsh    Are there are issues to be resolved here?

The key questions are addressed.. And the addition of unregistering during destroy should be in new PR since we don't have it as well

@zmc are you ok to raise a PR for adding activation key support in https://github.com/ocp-power-automation/ocp4-upi-powervm and https://github.com/ocp-power-automation/ocp4-upi-powervs ?
This is a useful addition.


Review headings and address font size discrepancies

As surfaced in #887, some headings have mismatched font sizes. We should review headings and adjust appropriately.
Example:

fixed in https://github.com/linode/manager/pull/1128


improve python function packaging

Motivation
Current python function package of a zip file requires a requirements.txt to be present. It also requires all your dependencies to be explicitly mentioned in requirements.txt.  This is cumbersome and unwieldy especially if the user built a wheel file locally and want to include it as a dependency.
Going forward, python instance should just install all wheel files in the deps folder and not rely on requirements.txt for a list of dependencies.  Users can just drop their wheel files in the deps folder and then their are good to go.  I think this is what AWS lambda also does for their python packaging

@merlimat there is already a smoke test for this:
https://github.com/apache/pulsar/blob/master/tests/integration/src/test/java/org/apache/pulsar/tests/integration/functions/PulsarFunctionsTest.java#L626

rerun java8 tests

there is already a smoke test for this:
@jerrypeng I meant to add a test with the zip without requirements.txt file

run integration tests

run integration tests


chore: fix changelog-pr workflow

fix path to script
make script executable

Thanks for working on this stuff. I did not get the time to review, but I'll be back when I can crave out a bit of time. Some other unnamed issue is keeping me busy.


feat(quickopen): Add binds to open in splits to Quick Open

Fix #564
Fix #2232
A rough first pass, but adds default bindings for selecting items from the quick open to open in current/vertical/horizontal/new tab.
Binds aren't finalised, so some input there would be nice (Ctrl-s and Ctrl-v are the defaults in Fzf in vim which is why I went with them).

Did a quick survey of some common binds for this sort of thing and updated them accordingly, but with Shift-enter as vertical open by default since we use c-v as copy.
That said, obviously if a user wanted to swap they could just do something like:
  { "key": "<C-s>", "command": "list.selectHorizontal", "when": "listFocus" }

The only other thing I wanted to check here is if the command names are okay. VSCode has no equivalent, so wasn't sure if they should be prefaced with oni or something.

Did a quick survey of some common binds for this sort of thing and updated them accordingly, but with Shift-enter as vertical open by default since we use c-v as copy.

Awesome! Thanks for looking into this @CrossR . Looks good to me.

The only other thing I wanted to check here is if the command names are okay. VSCode has no equivalent, so wasn't sure if they should be prefaced with oni or something.

Hmm, good point - VSCode does have a list.* set of commands, so prefixing it with oni. will make it clear these are Onivim-specific, and keep us safe if VSCode does introduce keybindings with the same name.

Swapped the names, added some basic docs, just waiting for the CI to be happy then I'll squash/merge.

/azp run

Sorry about the build issues; the CentOS build failure looks unrelated. I'll override and merge.
Thanks for the awesome contribution @CrossR !


New [IntegrationEvent] in page 353 'Item Availability Lines', function 'Set'

Hi,
We need a new [IntegrationEvent], 'OnAfterSet' with parameters 'VAR NewItem : Record Item;NewPeriodType : Integer;NewAmountType : 'Net Change,Balance at Date'', this [IntegrationEvent] should be accessed after the code from function 'Set' is executed.
We need this [IntegrationEvent] because  we have to show on the page 'Item Availability Lines' two fields that where added by us in table 'Item' and also those fields have some formula on trigger OnDrillDown that is using the filters from global variable 'Item'.

LOCAL [IntegrationEvent] OnAfterSet(VAR Newtem : Record Item;NewPeriodType : Integer;NewAmountType : 'Net Change,Balance at Date')
[External] Set(VAR NewItem : Record Item;NewPeriodType : Integer;NewAmountType : 'Net Change,Balance at Date')
Item.COPY(NewItem);
PeriodType := NewPeriodType;
AmountType := NewAmountType;
CurrPage.UPDATE(FALSE);
OnAfterSet(Item,PeriodType,AmountType);-> new [IntegrationEvent]
Can this [IntegrationEvent] be made?
Thanks,
Cosmina

Hi,
I just realized that this Event doesn't help me. How can I show on 'Item Availability Lines' two fields that where added by us in table 'Item' ,those fields have some formula on trigger OnDrillDown and that formula  is using the filters from global variable 'Item'.
Thanks,
Cosmina


Adds enhancements for bash files in bin and make-distributions.sh

This will:

add enhancements for bash scripts in bin
add colors to important messages in bash scripts

Thanks for the contribution! Regarding the colors that you have added, could you strip away the leading space, and return to the default color after the color is used? This could be merged once fixed.

Should be good - pls review. Thanks.

Looking good. Manually merging.

By the way, could you associate your e-mail address to your GitHub account? By doing so your name could be cited properly on GitHub's contributor's graph. Thanks!


cxxrtl backend uses unsigned shift for signed shift cell

As far as I can tell, this should use value::sshr or set the Signed template parameter to true.
https://github.com/YosysHQ/yosys/blob/352731df4e0bf344cd20533a5561bc8ba3e07853/backends/cxxrtl/cxxrtl.h#L922-L925

@programmerjake #2113 looks good?


[TRIVIAL] Implicitly add localhost to RPC allow list

It should not be necessary to explicitly add <IP_ADDRESS> to the list of IPs that are allowed administrative access.

I believe <IP_ADDRESS> was intentionally excluded in the last change

Now that you mention it, I think that's right. I'll close this.


Integrate the component in REP

Depends on #5

Added prettier config and ran it on all files from #83

Is this issue now complete? If so can you please close this issue @HavardNJ

We were just missing some triggers to close this, but yes, this one is done


[fix] no-unused-modules: make import { name as otherName } work

Fixes #1339

Coverage remained the same at 97.983% when pulling 174afbbffa9127db1728dae544fc26afb94eaf28 on rfermann:1339 into 12bbfca747be9d88db32ff6d1659701cd8ed7fe8 on benmosher:master.

Thanks for this PR! However I think this might solve the original issue. See this.


(#47) Wrote some unit tests for RtContainers

This PR:

solves #47
Uses as reference the Docker ContainerCreate API Docs
Adds some tests for RtContainers
Adds new test support classes Response and PayloadOf
Fixes typo in 'ContainerCreate' API endpoint in RtContainers
Leaves puzzle due to impediment on #45
Leaves puzzle to finish implementing the rest of test cases on RtContainers

Pull Request Test Coverage Report for Build 71

1 of 2 (50.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+22.5%) to 76.25%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/com/amihaiemil/docker/RtContainers.java
1
2
50.0%

Totals

Change from base Build 70:
22.5%

Covered Lines:
61

Relevant Lines:
80

💛  - Coveralls

@amihaiemil/z please, pay attention to this pull request

Job #49 is now in scope, role is REV

@amihaiemil please check now

@rultor good to merge

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor good to merge

@amihaiemil Done! FYI, the full log is here (took me 2min)

The job #49 is now out of scope


Adding support for externalIP Services

Since hostPort is broken on CNI (https://github.com/kubernetes/kubernetes/issues/31307) and I don't want to expose the nginx controller to my host network, I created a service with an external IP configuration. I tried to run it like the AWS LoadBalancer Example (https://github.com/kubernetes/ingress/tree/master/examples/aws/nginx), but it failed since the service's status didn't advertise any ingress IPs. I fixed that to check for external IPs in the service to and tracked down the usage of the services ingress IP (core/pkg/ingress/status/status.go) and added the external IPs there to.
My configuration now looks like this:
kind: Service
apiVersion: v1
metadata:
  name: nginx-default-backend
  namespace: kube-system
  labels:
    k8s-addon: ingress-nginx.addons.k8s.io
spec:
  ports:
  - port: 80
    targetPort: http
  selector:
    app: nginx-default-backend

---

kind: Deployment
apiVersion: extensions/v1beta1
metadata:
  name: nginx-default-backend
  namespace: kube-system
  labels:
    k8s-addon: ingress-nginx.addons.k8s.io
spec:
  replicas: 1
  template:
    metadata:
      labels:
        k8s-addon: ingress-nginx.addons.k8s.io
        app: nginx-default-backend
    spec:
      terminationGracePeriodSeconds: 60
      containers:
      - name: default-http-backend
        image: gcr.io/google_containers/defaultbackend:1.0
        livenessProbe:
          httpGet:
            path: /healthz
            port: 8080
            scheme: HTTP
          initialDelaySeconds: 30
          timeoutSeconds: 5
        resources:
          limits:
            cpu: 10m
            memory: 20Mi
          requests:
            cpu: 10m
            memory: 20Mi
        ports:
        - name: http
          containerPort: 8080
          protocol: TCP

---

kind: Service
apiVersion: v1
metadata:
  name: nginx-ingress-controller
  namespace: kube-system
spec:
  selector:
    k8s-app: nginx-ingress-controller
  ports:
    - name: http
      port: 80
      targetPort: 80
    - name: https
      port: 443
      targetPort: 443
  externalIPs:
    - yourIPComesHere

---

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: nginx-ingress-controller
  labels:
    k8s-app: nginx-ingress-controller
  namespace: kube-system
spec:
  replicas: 1
  template:
    metadata:
      labels:
        k8s-app: nginx-ingress-controller
    spec:
      terminationGracePeriodSeconds: 60
      containers:
      - image: lead4good/nginx-ingress-controller
        name: nginx-ingress-controller
        imagePullPolicy: Always
        readinessProbe:
          httpGet:
            path: /healthz
            port: 10254
            scheme: HTTP
        livenessProbe:
          httpGet:
            path: /healthz
            port: 10254
            scheme: HTTP
          initialDelaySeconds: 10
          timeoutSeconds: 1
        ports:
        - containerPort: 80
        - containerPort: 443
        env:
          - name: POD_NAME
            valueFrom:
              fieldRef:
                fieldPath: metadata.name
          - name: POD_NAMESPACE
            valueFrom:
              fieldRef:
                fieldPath: metadata.namespace
        args:
        - /nginx-ingress-controller
        - --default-backend-service=$(POD_NAMESPACE)/default-http-backend
        - --publish-service=$(POD_NAMESPACE)/nginx-ingress-controller

Once this pull request is accepted, I will add an usage example, too.

This change is

Signed CLA

Reference to #31307

Linked commit to user

/lgtm

@lead4good thank you and apologies for the delay


Ability to disable the auto-reconnect feature

Added the ability to disable the auto-reconnect feature and the ability to add a disconnect listener to the client.

@dimitark Can you tell us a little more about the use case for this feature? When would you want to control client reconnection manually?

You don't always want to keep the connection alive indefinitely. At least not for all clients.
If you have a big number of clients and half of them are sending notifications frequently, but half of them are not (a few notifications every couple of days). You want to have the connections open all the time for the first half but you don't want to reconnect the second half after the service terminates the connection due to a timeout.

That makes sense, but I think we should pass on adding this feature all the same. Apple has announced an upstream change where we'll be moving away from connection-level authentication and toward per-notification authentication (see #314). When that's done, we'll be able to reuse one client for all topics, and that should eliminate the need for this feature.
If token authentication weren't on the horizon, I'd definitely think this was a good idea. Seem legit?

@jchambers I wasn't aware of the Token authentication feature. Nevertheless I think this feature is needed because we will definitely need to maintain both authentication methods in the foreseeable future, because I'm sure not all clients will jump to Token authentication right away and we will be stuck with the connection-level authentication for some time, which will cause unwanted open connections.

@dimitark With sincere apologies for the outrageously long delay, I think this is a ball better left in the caller's court. Callers ought to know how much traffic they're sending to various topics (especially when armed with metrics listeners), and it seems like resource management needs are likely to be sufficiently diverse that we're unlikely to be able to do a thing that makes everybody happy within Pushy.
With great respect and sincere thanks for the contribution, I think we're going to pass on this one for now.


Proposal: more space between links in deepcase

Right now:

Cytoscape place all links in one screen.
Expected behavior:
Cytoscape should to freely arrange links, and not in one heap. Better to scroll window, that see all links on screen.

I forgot to turn off debug. Without debug image became better, but cytoscape also try to place all links on screen window.

@FreePhoenix888 assign it to me


[W05H03] Remove optional tests

Under https://zulip.in.tum.de/#narrow/stream/1467-PGdP-W05H03/topic/UserArray.20addUser you can find the answer that these test cases are not tested. Not tested test case should not be committed.
cc: @tdphucvn
Closes #92

lgtm


AWS imported alb shows changes on terraform plan

Using:
terraform 0.11.14
provider.aws 2.18.0
terraformer 0.7.5
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ aws_lb_target_group.origin-1
lambda_multi_value_headers_enabled: "" => "false"
proxy_protocol_v2:                  "" => "false"
~ aws_lb_target_group.origin-2
lambda_multi_value_headers_enabled: "" => "false"
proxy_protocol_v2:                  "" => "false"
Plan: 0 to add, 2 to change, 0 to destroy.

https://github.com/terraform-providers/terraform-provider-aws/issues/7960
https://github.com/terraform-providers/terraform-provider-aws/issues/5051


Add Keploy to organisations list

Hi! Thanks for your interest in Season of Docs. Would you please add your organization in alphabetical order?

Hi @emckean ! I have added Keploy in the alphabetical order! Thanks for letting me know✨


Grid horizontal scrollbar missing when browser width reduced

My grid horizontal scrollbar shows fine in full screen via latest Chrome. If I make the browser half width of the screen, the grid horizontal scrollbar disappears. My grid is standard out-of-box code.

HI @VR-Architect ,
I have quickly tested this here on my Win10 Workstation and this Problem does not occur:

Serene 3.3.12
Chrome updated 10 minutes ago.

Maybe this is something specific to your Environment / configuration?
With Kind regards,
John


Use private_tables_enabled for setting imported dataset privacy

https://github.com/CartoDB/support/issues/1564
CR @antoniocarlon

I also copied the privacy from previous migrations for affected users, so migrations prior to this patch should be fixed as well.


Error when type "pip install py-near", my Python version is 3.12.1

C:\Users\Admin>pip install py-near
Collecting py-near
Using cached py_near-1.1.30-py3-none-any.whl.metadata (4.7 kB)
Requirement already satisfied: aiohttp<4.0.0,>=3.7.4 in c:\users\admin\appdata\local\programs\python\python312\lib\site-packages (from py-near) (3.9.3)
Collecting ed25519<2.0,>=1.5 (from py-near)
Using cached ed25519-1.5.tar.gz (868 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
C:\Users\Admin\AppData\Local\Temp\pip-install-x35th7se\ed25519_c378159047794ef0bc923945ed0239fe\versioneer.py:467: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-4jer5g7j\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-4jer5g7j\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-4jer5g7j\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-4jer5g7j\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 115, in
File "C:\Users\Admin\AppData\Local\Temp\pip-install-x35th7se\ed25519_c378159047794ef0bc923945ed0239fe\versioneer.py", line 1405, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-install-x35th7se\ed25519_c378159047794ef0bc923945ed0239fe\versioneer.py", line 1339, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-install-x35th7se\ed25519_c378159047794ef0bc923945ed0239fe\versioneer.py", line 399, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

I have the same problem. Looks like ed25519 is deprecated, maintainer recommends switching to pynacl

I have the same issue, is it fixed?

I have the same issue, is it fixed?

It's not fixed here, but you can use my fork where I've patched

I have the same issue, is it fixed?

It's not fixed here, but you can use my fork where I've patched

Thanks, it worked


group windows with same class

Description
there are some dispatchers about start merge dismiss tabbed window, But I want a quick arrangement with all windows by their class name, I assume it's workable, but how ?
any try is welcome.

Bring up other enhancements about group function
1.selecting several windows to make up a group will be intuitive.
2.grouped window encounter non-grouped window can swallow it instead of dismissing current window in group


Add eslint-plugin-import

Either when https://github.com/import-js/eslint-plugin-import/issues/2948 is fixed or switch to https://github.com/un-ts/eslint-plugin-import-x

If the goal is to support both JS and TS code base:

https://github.com/import-js/eslint-plugin-import or https://github.com/un-ts/eslint-plugin-import-x integration
https://github.com/import-js/eslint-import-resolver-typescript integration

AFAIK, the three of them still do not support ESLint flat configuration.

Yeah, should support both JS and TS 👍

Doesn't tsc provide a similar check these days? (in ts as well as js files).

Doesn't tsc provide a similar check these days? (in ts as well as js files).

Integrating them in an eslint based tool is more or less redoing an eslint plugin using tsc behind the scene, which will be some supplemental maintenance work without guarantee that this tsc specific usage will scale.

I don't mean wrap tsc with eslint, I mean when one is using tsc in parallel with eslint, the tsc lsp will mark unresolved imports, which may duplicate eslint-plugin-import's checks.

Maybe use one of the eslint-plugin-import forks, which removed the bloatware?

Maybe use one of the eslint-plugin-import forks, which removed the bloatware?

Yeah, just need to wait for https://github.com/un-ts/eslint-plugin-import-x/pull/122 to be finished first

Could potentially also re-evaluate the import rules and for each one see if there's an alternative plugin, if we could/should skip the rule, or if we could build a plugin of our own:

import/export
import/first
import/no-absolute-path
import/no-duplicates
import/no-named-default
import/no-webpack-loader-syntax

I don't mean wrap tsc with eslint, I mean when one is using tsc in parallel with eslint, the tsc lsp will mark unresolved imports, which may duplicate eslint-plugin-import's checks.

The import related rules could be disabled with a tunable. But it start to make quite a lot of boolean tunables.
Using named configuration as tunable can reduce the ones exposed publicly, but the namespace and its content need to be thoroughly consistent:

Orthogonality

Flat config is now supported by<EMAIL_ADDRESS>https://github.com/un-ts/eslint-plugin-import-x/pull/131

Hello,
eslint-plugin-import 2.31.0 with flat config and eslint 9 support has been released

If someone would like to contribute a solution that sets up eslint-import-resolver-typescript and eslint-plugin-import-x that would be appreciated 🙏
I'm a bit on the fence on this as eslint-plugin-import historically is one of those plugins that can truly hurt the performance of ESLint, especially on large projects and especially when combined with TypeScript

Would also love to hear from people which of the import/ rules from standard that they are feeling that they miss in neostandard right now:

import/export
import/first
import/no-absolute-path
import/no-duplicates
import/no-named-default
import/no-webpack-loader-syntax

Eg. https://github.com/standard/standard/issues/1535 mentions that they think import/no-absolute-path is bad and should not be added.
Are there any reverse opinions on any of the rules? That we are really missing out on something useful?

import/export
Ensures there are no duplicate named or default exports – kind of useful, especially if one does not run TS one ones files (TS will report the same)
import/first
This one enforces all imports to be placed in the top of the file – I really like this one actually
import/no-absolute-path
See https://github.com/standard/standard/issues/1535 – I have no strong opinion in either direction – it can be useful to catch cases where one meant to write ./foo but instead accidentally wrote /foo, but the cases where that will not be apparent through other means would be slim, and if anyone is actually intentionally adds a full absolute path, then they surely intend to add it in 95% of the cases? Or is there a worry that eg. junior develops could be confused to add this?
import/no-duplicates
Slightly helpful to catch where one has added the same import multiple times. I'm neutral to positive on it.
import/no-named-default
This one I actually have no opinion on, it bans doing import { default as foo} and enforces import foo. Its a nice to have, nothing else
import/no-webpack-loader-syntax
This one I feel is a bit odd in this context – its webpack specific and webpack is not at all as prevalent.

I'm a bit on the fence on this as eslint-plugin-import historically is one of those plugins that can truly hurt the performance of ESLint, especially on large projects and especially when combined with TypeScript

This is probably mostly when one adds rules like import/no-unresolved and such though, as it needs to do additional lookups and can't rely on purely the AST

Since no stable release is here, you can divide into steps:

reach the functional equivalence with standard: same plugins (if relevant for eslint 9), same rules
see how it goes with eslint-plugin-import with user feedback on subsequent releases
optimize with eventual replacement plugins triggering negative feedback

There are a few reports of brokenness in the v9 support (example: https://github.com/import-js/eslint-plugin-import/issues/3079), so it might not be possible to re-add all of it quite yet.

@voxpelli I believe those rules in particular should be usable. Can't find anything to suggest otherwise.


pager has no data

question：
I added a pager but it has no data . I checked the document and found no solution
Source code：

debugging：

How to solve it? thanks you

You don't need pagination.el parameter

@AKclown see example:
https://stackblitz.com/edit/react-s5f6wz?file=src/App.js

@AKclown see example:
https://stackblitz.com/edit/react-s5f6wz?file=src/App.js

Thanks for your answers. This is useful for me


Azure Governance WhatTheHack

Submitting the Azure Governance to WhatTheHack

Thanks for your submission Farida! Great job! - Peter


SSL performance analysis

I started on a simple SSL-enabled benchmarking exercise a couple of months ago, but was blocked by #983 and #991.
Now that these are resolved, I'd like to look at how we perform with SSL - the cost of the initial handshake vs. cost of encryption (eg. for keepalive connections), how we perform on Mac vs Linux,  and how Kitura compares to other frameworks (eg. Express/js).

Closing as our performance work is currently focussed towards NIO.