text:
Plugin Missing or incompatible

Hello,
I want to test Seurat.
I am using Unreal Engine 4.16.3. The plugin was develop against a 4.16 version.
I did the following steps:

Downloading plugin
Copying the "Plugins"-folder of the plugin in project-folder.
Starting Unreal Engine and create an empty (blank) Blueprint-Project
Enable Seurat plugin under Edit -> plugins -> Other -> Seurat,
Restart the project.

Then I get following error:

"Missing or incompatible modules in Seurat plugin - would you like to disable it? You will no longer be able to open any assets created using it."

When clicking yes, following error occurs:

"Plugin "Seurat" failed to load because module "Seurat" could not be found. Please ensure the plugin is properly installed, otherwise consider disabling the plugin for this project."

I also get the error when copying the plugin into Unreal Engine\Engine-Folder instead of project folder.
What can I do? How can I use the plugin?
Best regards
Update: ----------------------------
I already tried following tutorial to get everything working:
https://medium.com/@slonorib/how-to-use-seurat-with-unreal-engine-4-2a52fb9e52cf
I also added the following line to the "Seurat.Build.cs":
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
But I still get the error that plugin is not compatible :(
Update 2; -------------------------------------
I also tested a blank Blueprint and a blank C++ Project. For the C++ Project, Windows SDK 8.1 must be installed. But it still does not work. When enabling the plugin, following error is shown:

The following modules are missing or built with a different engine version:
UE4Editor-Seurat.dll
Would you like to rebuild them now?

If I click yes, following is shown:

Project could not be compiled. Try rebuiding from source manually.

I really want to test that aweasome plugin in Unreal Engine :(

I already tried following tutorial to get everything working:
https://medium.com/@slonorib/how-to-use-seurat-with-unreal-engine-4-2a52fb9e52cf
I also added the following line to the "Seurat.Build.cs":
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
But I still get the error that plugin is not compatible :(

This article will help you recompile the plugin.
https://github.com/ufna/VaRest/wiki/Plugin-Installation---compile-from-source
Follow the instruction but obviously use the Seurat plugin instead.
I was able to recompile the plugin for Unreal 4.18.3.
The Unreal plugin won't work with 4.21 or above as Unreal deprecated FHighResScreenshotConfig.SaveImage() function - which the plugin relies upon.  https://docs.unrealengine.com/en-US/API/Runtime/Engine/FHighResScreenshotConfig/index.html

Thanks for yout answer.
Unfortunately, I get the same error with 4.18.3. As soon as I enable the plugin in edit -> plugins, Unreal Engine wants to restart.
After restart, I get the errors as descriped above:
The following modules are missing or built with a different engine version:

UE4Editor-Seurat.dll

Would you like to rebuild them now?

and then, I get
Project could not be compiled. Try rebuiding from source manually.

It does work :)

Disable the plugin from your project and close Unreal.
Copy the Seurat plugin to the Engine plugin folder (if you haven't already).
Create a blank C++ project in Unreal as per the instructions here - https://github.com/ufna/VaRest/wiki/Plugin-Installation---compile-from-source
Do not enable the plugin. Close Unreal.
Simply copy the plugin to the projects plugin folder.
Add PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; to the Seurat.Build.cs file in the project plugin Seurat source folder
Load Unreal and the blank project, you should be prompted to recompile the plugin.

If that doesn't work, post your logs (ProjectFolder/Saved/Logs).

Hey, are Step 2 and step 5 not the same?
In Step 2, I am copying the plugin in my Unreal Engine folder, and in step 5, i am copying it in my project folder. Where is the difference?

When doing so, there is so prompt to recompile the plugin.
This is my setup:
Seurat Plugin is in:
C:\Program Files\Epic Games\UE_4.18\Engine\Plugins\Seurat
and in
C:\Projects\Unreal Engine\SeuratTest\Plugins\Seurat
(SeuratTest is the project folder)
Are my folders correct?
e.g. I have following paths to the Seurat.Build.cs
C:\Program Files\Epic Games\UE_4.18\Engine\Plugins\Seurat\Source\Seurat\Seurat.Build.cs
and
C:\Projects\Unreal Engine\SeuratTest\Plugins\Seurat\Source\Seurat\Seurat.Build.cs
I only adjusted the Seurat.Build in my Project folder (adding PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;)

Your folders are correct and yes the folder structure is correct.
You could try removing Seurat from C:\Program Files\Epic Games\UE_4.18\Engine\Plugins and try again.
Nothing in your log indicates why or if the compile failed.
Here's the compiled Seurat plugin I created for 4.18.3. Hopefully it will work for you. Copy it to your engine folder. http://www.mediafire.com/file/ecknwh0z8l6ke1f/Seurat.zip/file

@DaRockJaeger Did that work for you?

Hello vmattc,
Thank you for uploading the compiled Plugin. I am capturing my Unreal Scene at the moment :D
But it is strange that I was not able to compile the plugin by my own.

I managed to update the plugin code to work with Unreal 4.22 too.
However, I'm experiencing the same "cracks" and texture artefacts that everyone is (in capturing and importing in both Unity and Unreal). Looks fine in Butterfly, but seems that there's some fundamental issue with Seurat when using it with Unreal and Unity.
@davejrichardson & @manfred-ernst any news on Seurat development or possible help solving the crack issues?

We've managed to get the capture and rendering working in UE4 without cracks - the main issue for us has been the documentation doesn't match the requirements for UE4.
For us at least the issues were that the -skybox_radius needs to be set to 20000 for seurat to correctly build the mesh from a UE4 capture (or it effectively builds a high-res broken cube mesh with projected textures), and that the UE4 plugin docs state to make a translucent material whereas the default settings are for pre-multiplied alpha, which causes texture artifacts, as would be expected.
So either setting -premultiply_alpha=false in the seurat command line params or setting the UE4 material blend mode to be AlphaComposite (pre-multiplied) gave us a reasonable UE4 pipeline without any major cracking issues. It still doesn't look that great though it must be said.
Unity is a whole different kettle of fish however and both the capture and mesh display are basically broken for us at the moment.

@publicdomaincorp Thanks for the reply, yep I just figured out the premultiply_alpha setting too. I have it working in Unity fine now as well as UE4 v 4.22. No cracks now which is great.

I managed to update the plugin code to work with Unreal 4.22 too.

He vmattc, can you please please upload the plugin for 4.22? It would be great if am able to use the newest unreal engine with Seurat :D

@publicdomaincorp Thanks for the reply, yep I just figured out the premultiply_alpha setting too. I have it working in Unity fine now as well as UE4 v 4.22. No cracks now which is great.

I can't get this plugin detected in Unreal 4.22 - if you could please ZIP up your version of the plugin, it would be REALLY appreciated! Thanks!

Any news about UE 4.22 and Seurat?

I'll be sharing something in the next week or so.

I'll be sharing something in the next week or so.

Was about to tackle porting it to 4.22. But read this thread here. Would love if you could share your work!

As promised, details on updating and using Seurat.
https://octo.vmware.com/immersive-training-environments-virtual-reality-using-google-seurat-part-1/
https://octo.vmware.com/immersive-training-environments-virtual-reality-using-google-seurat-part-2/
Please let me know of any feedback

Ok, sorry for the delay... here are the details!
https://octo.vmware.com/immersive-training-environments-virtual-reality-using-google-seurat-part-1/
https://octo.vmware.com/immersive-training-environments-virtual-reality-using-google-seurat-part-2/

Ok, sorry for the delay... here are the details!
https://octo.vmware.com/immersive-training-environments-virtual-reality-using-google-seurat-part-1/
https://octo.vmware.com/immersive-training-environments-virtual-reality-using-google-seurat-part-2/

Amazing stuff!

authors: AndreElijah DaRockJaeger publicdomaincorp siegetech vmattc

repo: googlevr/seurat-unreal-plugin


text:
AttributeError: 'Credentials' object has no attribute 'to_json'

Expected Behavior
create 'token.json' file and then print the next 10 calendar events, from quickstart.py, https://developers.google.com/calendar/api/quickstart/python.
Actual Behavior
creates an empty 'token.json' with the following error:
Traceback (most recent call last):
  File "google_quickstart.py", line 69, in <module>
    main()
  File "google_quickstart.py", line 49, in main
    token.write(creds.to_json())
AttributeError: 'Credentials' object has no attribute 'to_json'

Then running again gives an error for an empty 'token.json'. I delete it to try again, but obviously same error as above.
Steps to Reproduce the Problem

Use quickstart.py from https://developers.google.com/calendar/api/quickstart/python.
Used my 'credentials.json' file from the Google Cloud Platform.
Downloaded required pakckages.
Run in python.

Specifications

Python version 3.9.7.
Windows 10 Pro Version 2004.

I started a fresh virtual environment. Issue solved.

source: gharchive/issue

repo: googleworkspace/python-samples

license_type: permissive

license_source: bigquery


text:
🛑 goormIDE is down

In 646a0a8, goormIDE (https://ide.goorm.io) was down:

HTTP code: 403
Response time: 722 ms

Resolved: goormIDE is back up in 4be82e4 after 12 minutes.

repo: goorm-dev/goorm-status

license: MIT

license_source: github-api


text:
🛑 goormIDE is down

In 673e30c, goormIDE (https://ide.goorm.io) was down:

HTTP code: 403
Response time: 799 ms

Resolved: goormIDE is back up in fbb878d after 8 minutes.


text:
llcppg: invalid memory address or nil pointer dereference

{
	"name": "libssl",
	"cflags": "$(pkg-config --cflags libssl)",
	"include": [
		"openssl/asn1_mac.h",
		"openssl/cmp_util.h",
		"openssl/dherr.h",
		"openssl/ui.h",
		"openssl/uierr.h",
		"openssl/md2.h",
		"openssl/stack.h",
		"openssl/bio.h",
		"openssl/cterr.h",
		"openssl/rc5.h",
		"openssl/conftypes.h",
		"openssl/core_dispatch.h",
		"openssl/dh.h",
		"openssl/dsaerr.h",
		"openssl/kdf.h",
		"openssl/sslerr.h",
		"openssl/crmferr.h",
		"openssl/cryptoerr.h",
		"openssl/params.h",
		"openssl/blowfish.h",
		"openssl/ecdsa.h",
		"openssl/opensslconf.h",
		"openssl/prov_ssl.h",
		"openssl/core_names.h",
		"openssl/e_os2.h",
		"openssl/whrlpool.h",
		"openssl/x509_vfy.h",
		"openssl/randerr.h",
		"openssl/asn1.h",
		"openssl/async.h",
		"openssl/httperr.h",
		"openssl/conferr.h",
		"openssl/dtls1.h",
		"openssl/ec.h",
		"openssl/engine.h",
		"openssl/rc2.h",
		"openssl/x509v3err.h",
		"openssl/self_test.h",
		"openssl/ssl.h",
		"openssl/store.h",
		"openssl/asyncerr.h",
		"openssl/cmserr.h",
		"openssl/cryptoerr_legacy.h",
		"openssl/engineerr.h",
		"openssl/rsaerr.h",
		"openssl/x509.h",
		"openssl/ct.h",
		"openssl/ripemd.h",
		"openssl/rsa.h",
		"openssl/srp.h",
		"openssl/configuration.h",
		"openssl/core.h",
		"openssl/decoder.h",
		"openssl/quic.h",
		"openssl/comperr.h",
		"openssl/crmf.h",
		"openssl/md4.h",
		"openssl/ossl_typ.h",
		"openssl/pemerr.h",
		"openssl/rand.h",
		"openssl/txt_db.h",
		"openssl/types.h",
		"openssl/camellia.h",
		"openssl/crypto.h",
		"openssl/lhash.h",
		"openssl/param_build.h",
		"openssl/pem2.h",
		"openssl/safestack.h",
		"openssl/sslerr_legacy.h",
		"openssl/x509v3.h",
		"openssl/aes.h",
		"openssl/asn1err.h",
		"openssl/bioerr.h",
		"openssl/idea.h",
		"openssl/e_ostime.h",
		"openssl/ebcdic.h",
		"openssl/err.h",
		"openssl/modes.h",
		"openssl/srtp.h",
		"openssl/storeerr.h",
		"openssl/rc4.h",
		"openssl/cast.h",
		"openssl/evperr.h",
		"openssl/des.h",
		"openssl/ocsperr.h",
		"openssl/provider.h",
		"openssl/seed.h",
		"openssl/ssl2.h",
		"openssl/trace.h",
		"openssl/buffererr.h",
		"openssl/conf.h",
		"openssl/dsa.h",
		"openssl/fipskey.h",
		"openssl/pkcs12.h",
		"openssl/proverr.h",
		"openssl/ssl3.h",
		"openssl/tls1.h",
		"openssl/asn1t.h",
		"openssl/bnerr.h",
		"openssl/decodererr.h",
		"openssl/hmac.h",
		"openssl/pkcs12err.h",
		"openssl/tserr.h",
		"openssl/kdferr.h",
		"openssl/mdc2.h",
		"openssl/ts.h",
		"openssl/x509err.h",
		"openssl/cmp.h",
		"openssl/comp.h",
		"openssl/core_object.h",
		"openssl/ecerr.h",
		"openssl/ess.h",
		"openssl/fips_names.h",
		"openssl/objects.h",
		"openssl/symhacks.h",
		"openssl/thread.h",
		"openssl/cmac.h",
		"openssl/ecdh.h",
		"openssl/evp.h",
		"openssl/macros.h",
		"openssl/obj_mac.h",
		"openssl/opensslv.h",
		"openssl/encodererr.h",
		"openssl/esserr.h",
		"openssl/hpke.h",
		"openssl/cmperr.h",
		"openssl/encoder.h",
		"openssl/objectserr.h",
		"openssl/sha.h",
		"openssl/bn.h",
		"openssl/buffer.h",
		"openssl/cms.h",
		"openssl/conf_api.h",
		"openssl/md5.h",
		"openssl/pem.h",
		"openssl/pkcs7.h",
		"openssl/http.h",
		"openssl/ocsp.h",
		"openssl/pkcs7err.h"
	],
	"libs": "$(pkg-config --libs libssl)",
	"trimPrefixes": [],
	"cplusplus": false
}

typedef void (OSSL_provider_init_fn)();

extern int OSSL_provider_init;

extern OSSL_provider_init_fn OSSL_provider_init2;

分析下来发现，clang 把OSSL_provider_init2出的CursorKind解释称函数声明,导致异常。正常CursorKind应该是变量声明。

typedef void (OSSL_provider_init_fn)();

extern int OSSL_provider_init;

extern OSSL_provider_init_fn OSSL_provider_init2;

分析下来发现，clang 把OSSL_provider_init2处的CursorKind解释为函数声明,导致异常。正常CursorKind应该是变量声明。

这是哪个头文件中的声明呀；对于这个OSSL_provider_init2 如果是一个FunctionDecl ，应该是能进行预期的处理的，是在获取Type的过程中导致的问题吗。

解决这个问题需要支持全局变量

typedef void (OSSL_provider_init_fn)();

extern int OSSL_provider_init;

extern OSSL_provider_init_fn OSSL_provider_init2;

分析下来发现，clang 把OSSL_provider_init2处的CursorKind解释为函数声明,导致异常。正常CursorKind应该是变量声明。

这是哪个头文件中的声明呀；
第一行是声明了一个函数类型，而不是声明函数指针，所以对于第三行extern OSSL_provider_init_fn OSSL_provider_init2;确实应该是个函数声明，不是个变量声明。 对于这个OSSL_provider_init2 如果是一个FunctionDecl ，应该是能进行预期的处理的，是在获取Type的过程中导致的空指针解引用吗。

不是

经过会议讨论，这个问题是来自于一个函数声明其类型为一个引用的时候导致的问题，即
typedef void (OSSL_provider_init_fn)();
extern OSSL_provider_init_fn OSSL_provider_init2;

可以通过访问其类型引用

authors: luoliwoshang tsingbx

repo: goplus/llcppg


text:
deepin 检测不到声卡

已执行过./command.sh -i

感谢反馈，有空会进行修复

authors: gorquan hwangzc

repo: gorquan/deepin-wine-docker


text:
feat(css): parse css selectors (type, attr, nesting)

Current State
Parser can now parse all these selectors
            /* Links that start with "https://" and end in ".org" */
            a[href^="https://"][href$=".org"] {
                color: green;
            }

            /* Links that end in ".org" */
            a[href$=".org"] {
                color: red;
            }

            /* Links with "cAsE" anywhere in the URL,
            with matching capitalization */
            a[href*="cAsE" s] {
                color: pink;
            }

            /* Links with "insensitive" anywhere in the URL,
            regardless of capitalization */
            a[href*="insensitive" i] {
                color: cyan;
            }

           /* Links with "example" anywhere in the URL */
            a[href*="example"] {
                background-color: silver;
            }

            /* Internal links, beginning with "#" */
            a[href^="#"] {
                background-color: gold;
            }

            a {
                color: blue;
            }

            ul > li {}

            ul || li {}

            ul, li {}

            ul|li {}

            ul + li {}

            ul ~ li {}

What does ul || li do? Did I miss something here?

Column Selector

Oh, thanks. So we would be the first browser to support this? 😉

source: gharchive/pull-request

repo: gosub-browser/gosub-engine


text:
feat: egin提供自定义listener方法

希望提供一个自定义net Listener的方法，支持更多选择

嗯嗯~放在option是比较合适些~

repo: gotomicro/ego


text:
Guidance on gender and sexuality terms

What do you need?
More guidance on preferred gender and sexuality terms.
Which entry/section is this related to?
Accessibility and inclusivity
Good example
http://consciousstyleguide.com/gender-sex-sexuality/

Now being tracked in Trello

authors: gazanson joolswood

repo: govau/content-guide


text:
please house I need help creating a playfair Cipher of 17 x 17

Encryption Process for 8bit Characters
Step1: Obtain the plaintext PT and ordered by the password PW from the user.
Step2:Convert the password PW into hexadecimal
Step3: Create a 16x16 matrix using the converted password PW after suppressing repeatable byte: This is accomplished by filling the matrix in a row-wise manner from top to bottom until the password PW is exhausted then continuing with the remaining alphabets of the extended ASCII in ascending order and shuffle the entire matrix once. Increase the size of the matrix to 17x17 with the first row and column keys (A-F and 0-9).
Step4: Divide the plaintext PT into pairs if the length is odd add a null character at the end
Step5: Convert the pair into their hexadecimal equivalent
Step6 a: Get the current pair of the plaintext P
b. swap the high-order nibble of the first character with the low-order nibble of the second character and vice versa
c. Is there anymore pair? If yes go to (a) else go to (d)
d. This gives a modified plaintext P1
Step7 a.  Apply substitution encryption algorithm on the current pair of character of the modified plaintext P1
b. Shift the character of the key row to the left once
c. are the row keys in their initial position? If yes go to (c) else go to (d)
d. shift the column character key upward once
e. Is there anymore pair of character? If yes go to (a) else stop this gives a hexadecimal ciphertext
f. Convert the current 2 byte of hexadecimal into its Unicode equivalent
g. Is there anymore 2 byte? If yes go to (e) else stop this gives a ciphertext C
Decryption Process 8bit Characters
Decryption process is carried out by following the steps below:
Step1: Obtain the password PW and ciphertext C from the user
Step2:Convert the password PW into hexadecimal
Step3:Create a 16x16 matrix using the converted password PW after suppressing repeatable byte: This is accomplished by filling the matrix in a row-wise manner from top to bottom until the password PW is exhausted then continuing with the remaining alphabets of the extended ASCII in ascending order and shuffle the entire matrix once. Increase the size of the matrix to 17x17 with the first row and column to be the keys(A-F and 09).
Step4a: Get the ciphertext C and convert it into its hexadecimal equivalent.
Step5. Getthe current pair and locate it in the 17x17 matrix and obtain the row and column key alphabet/number respectively that intercept the pair.
b. Is there anymore pair? If yes go to (a) else go to (c)
c. This gives a modified hexadecimal plaintext P1
Step4 a: Get the current pair of the hexadecimal plaintext P1
b. Swap the high-order nibble of the first character with the low-order nibble of the second character and vice versa.
c. Is there anymore pair? If yes go to (a) else go to (d)
d. This gives a modified hexadecimal plaintext P2
Step5 a: Convert the current pair of the modified hexadecimal plaintext P2 to give a character equivalent.
b. Is there anymore pair? If yes go to (a) else go to (c)
c. Stop this gives back the original plaintext characters.

Is this project for Nasa? :)

It's so complex i read it 3 times to understand the basics. What leason is that project for ma boi?

What this has to so with Speech Recognition? Please refer on StackOverflow

No sir it has nothing to do with speech recognition I just wanted your help.
On Fri, Nov 16, 2018 at 11:21 PM GOXR3PLUS STUDIO notifications@github.com
wrote:

What this has to so with Speech Recognition? Please refer on StackOverflow
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/goxr3plus/Java-Speech-Recognizer-Tutorial--Calculator/issues/9#issuecomment-439547022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOLBQE6alHykqnU47Y_vkCEQyPComNd_ks5uvzpWgaJpZM4Yl16y
.


text:
unknown option: focus-events

I got .tmux.conf:16: unknown option: focus-events

Hello @hulatang2018 👋
Are you sure you're using tmux >= 2.3?

Yes. The one comes along with centos 7 is v1.8.
I installed a new one v2.7. Everything comes beautiful.
So many thanks for sharing!!


text:
terminal/tmux extended keys support breaks with this config

I use iTerm 3.4.8 and tmux 3.2 on redhat linux 7.8
Problem :
If i launch tmux with this tmux config ( with or without .tmux.confi.local), the extended-keys support is lost.
even after i disconnect from tmux and try extended keys on the iTerm, its gone. Its as if somehow the extended keys was disabled in the terminal itself. I have to close that terminal and open a new tab or window to get the extended keys.
Without this config, just a simple .tmux.conf, extended keys work just fine inside Tmux and even after disconnecting from Tmux.

i have this in my .tmux.conf.local.
set -g default-terminal "xterm-256color" # colors! iTerm recommended
to be set when CSI u keyboard mode is on. Works with iTerm.
set -s extended-keys on
set -as terminal-features 'xterm*:extkeys'

Inside tmux, $TERM and as such default-terminal should be screen-256color or tmux-256color. Never xterm-256color. See https://github.com/tmux/tmux/wiki/FAQ

Oh my tmux! does nothing about extended keys. As such, I don't know why you're facing what you're reporting:

It's as if somehow the extended keys were disabled in the terminal itself. I have to close that terminal and open a new tab or window to get the extended keys.

Hello @rameshsanth 👋
Inside tmux, $TERM and as such default-terminal should be screen-256color or tmux-256color. Never xterm-256color. See https://github.com/tmux/tmux/wiki/FAQ

Oh my tmux! does nothing about extended keys. As such, I don't know why you're facing what you're reporting:

It's as if somehow the extended keys were disabled in the terminal itself. I have to close that terminal and open a new tab or window to get the extended keys.

I will try with TERM set to screen-256color. However I don't think the issue I reported is related to it.
If you have this setup, please try it out..
I'll attach some console log and screenshots describing the issue.
I understand this issue sounds like it is not related to the config file.. However, the fact is extended keys work properly inside tmux without this repo's tmux config file and just the ones i provided above which includes xterm-256color.
THe minute i launch TMUX with this config, the extended keys stop working altogether even after i detach from Tmux..

If you have this setup, please try it out..

You're mentioning iTerm 3.4.8 which is AFAIK a macOS terminal emulator and RedHat 7.8.
What gives?

iTerm runs on my macbook. I ssh to a linux server running RHEL and launch tmux there. I have iterm hotkey to launch the ssh & attach tmux session.
Tmux is acting very weird.. I just can't pinpoint the reason for this issue. I'll try to narrow down this issue further and reopen.

Thanks for your time. Really appreciate your time and effort.

authors: gpakosz rameshsanth


text:
Issue installing plugin

Upon adding a line to install a plugin, I get this:
'cut -c3- ~/.tmux.conf | sh -s __apply_plugins "1" "true" "true" "true"' returned 1

The plugin I am trying to install is tmux-menus with the line:
set -g @plugin 'jaclu/tmux-menus'

I've tried killing the tmux server and multiple times runnning <prefix> + r to no avail. I have no other plugins installed but can confirm that trying to use set -g @plugin 'tmux-plugins/tmux-cpu' did seem to work as intended, no message pop up.

Hey @mattboy9921 👋
What version of tmux are you using?
Does the plugin work when you use TPM without Oh my tmux?

Hi @gpakosz
I was using version 2.6 on Ubuntu Server 18.04. I just upgraded to Ubuntu Server 20.04 and am now on tmux version 3.0a. It is still giving me the same issue with the plugin.
Starting with a fresh install of tmux, I can install TPM and get tmux-menus working as normal.

Starting with a fresh install of tmux, I can install TPM and get tmux-menus working as normal

Well it looks like it does but when I try with Ubuntu 18.04 which has tmux 2.6, then running
$ /home/vagrant/.tmux/plugins/tmux-menus/menus.tmux
tmux: unknown option -- N
usage: bind-key [-cnr] [-T key-table] key command [arguments]

Shows tmux-menus is not compatible with old versions of tmux.
I didn't try with Ubuntu 20.04 and tmux 3.0a because bind-key -N was introduced in tmux 3.1. Please reach out to the plugin author(s)

I pushed the gh-533 branch that display which tmux plugin failed to run.
In any case, it looks like you need to use a least tmux 3.1 is you want to use that plugin

I uninstalled the package manager tmux 3.0a and installed via tarball straight from Github to get tmux 3.2a. It looks like that plugin is working. I'll switch to gh-533 to see if any other plugin I might try fails to load.

@mattboy9921 Ok will merge soon

@mattboy9921 Any hiccup using the gh-533 branch?

@gpakosz So right now when I do <prefix> + r, it reloads but then says "One or mroe TPM plugin(s) failed". I only have that one plugin and it seems to work (besides not centering the menu that pops up). I'm not sure how to see any more details.

It's because onf or more tpm plugin(s) failed 🙃
You can use tmux show-messages to see latest messages. There should be a message that tells which plugin failed

This is everything it gives me:

You're right I pushed a buggy error detection test 😅
This should be fixed now


text:
InvalidURL error with default values

Hello,
I tried the code getHorizon as is with the default values, and I think I am using a valid MapQuest key. However, the code exists with the following error:
http.client.InvalidURL: URL can't contain control characters. '/elevation/v1/profile?key=xtiAnYRiTRqAqfKIjzi4c1AZi6V6fZdv\n&shapeFormat=cmp6&latLngCollection=sulgxA_edwQ' (found at least '\n')
Any ideas what the problem is, and how this can be fixed?

It seems there was a newline in the API key file. Now it worked

repo: gperonato/getHorizon


text:
UI- Instruction Type and code for tools gets reset to Prompt and Instrutions in edit view.

gptscript version v0.0.0-dev+160a7334
Steps to reproduce the problem:

Launch UI -  DISABLE_CACHE=true GATEWAY_URL=https://gateway-api.gptscript.ai gptscript --ui --disable-cache
While creating a script ,add a tool with Instruction Type set to “code” and code set to type “shell”.
Edit this script and edit the tool.
Notice that the Instruction Type and code for tools gets reset to “Prompt” and “Instructions” in edit view.

Edit view for a tool that was created Instruction Type set to “code” and code set to type “shell”.

This is fixed by this commit.
https://github.com/gptscript-ai/ui/commit/11f69ab8386c42cfa15fc52c1fa840cadbf34f11

This issue is not seen anymore when testing with  commit id 6e2f8ed99

repo: gptscript-ai/gptscript


text:
fix: windows absolute path logic

this fixes an issue seen at least in clio, with the ability to load external agents.

This change was originally suggested by Darren, but I'm not sure he intended it to be the actual fix since it changes the behavior mentioned in the comment. Does anyone have an alternate suggestion?

The comment is correct, but in the wrong place.  We want to use path.Join and not filepath.Join. As some point the IsAbs check was added and the comment should have gone inside the if.  We want the comment because it still holds true. IsAbs does not mutate the path but just checks for both cases.

authors: drpebcak ibuildthecloud


text:
Replace ReturnChecker and UnreachableCodeChecker with the Behavior machinery from the spec

Replace ReturnChecker and UnreachableCodeChecker with the Behavior machinery from the spec
(Port https://bugs.webkit.org/show_bug.cgi?id=193487 to JavaScript)

Done a long time ago now.

authors: RobinMorisset litherum

repo: gpuweb/WHLSL


text:
add test, update pubspec in example, add idea to gitignor

made a test for writing to the cache
added to .gitignor idea folder
updated dependencies in the example

I've deleted the previous PR and made this with branch and current updates.

repo: gql-dart/ferry


text:
🐛 [Bug] Password validation on password change missing

🐛 Bugreport

On the user profile the password change fields do not valide the password requirements (8 chars, big small letter, number, special char). Please reuse the other validations for this

fixed

authors: ogerly ulfgebhardt

repo: gradido/gradido


text:
Directories are not able to be included in a FileTree

Expected Behavior
Given:
/
|_dir_1
  |_ foo.bar
  |_ dir_2
    |_ bar.baz

When:
tasks.register<Delete>("remove") {
    delete (
        fileTree("/dir_1").matching {
            include("dir*")
        }
    )
}

and
./gradlew remove

Then:
/
|_dir_1
  |_ foo.bar

Current Behavior

The directory structure specified in the prior section remains unchanged, unless there are one or more files with the "dir" prefix in the base directory, in which case said files would be removed.
Context

Discovered during the creation of a task to delete subdirectories matching a given pattern.  Verified to not be a bug with in deletion logic with the following code, given the directory structure specified in the Expected Behavior section:
tasks.register("testFileTree") {
    val fileSet = fileTree("/dir_1").matching {
        include("dir*")
    }.files

    println("The size of this file tree is: ${fileSet.size}")
}

When the task is executed, the output is: The size of this file tree is: 0.
This issue appears to have been discovered before and has a ticket created for it in the old issue tracker, but it seems it wasn't ported over.
Here are some other reports of this issue, or other issues which have this one as the root cause:

https://stackoverflow.com/questions/24274966/deleting-directories-via-gradle-filetree-include
https://stackoverflow.com/questions/19299455/how-to-delete-an-empty-directory-or-the-directory-with-all-contents-recursively

This issue, combined with fact that pattern arguments in commands executed with Exec#commandLine are processed as literal strings, makes the creation of pattern-based tasks which target directories a lot harder than it should be, and the resultant task a lot more verbose and imperative than it should be.
Steps to Reproduce

Replicate the Given and When parts of the scenario specified in the Expected Behavior section, and confirm the behavior is that described in the Current Behavior section.
Your Environment

Build scan URL: N/A

Same problem here, I don't know how to solve that issue nicely :).
I have a directory containing files and directories. I want to delete all the directories but keep the file. For me the natural solution is:
task deleteFileFromDirectory(type: Delete) {
    delete fileTree('myDir').filter {
        !it.isFile()
    }
}

This does not work.

@wolfs so is my understanding correct that this is still the case, and the only way to achieve what this code intuitively asks to delete:
project.tasks.register<Delete>("cleanDebug") {
    delete(fileTree(rootProject.file("docs/debug")) {
        include("*/.gradle")
        include("*/build")
        include("*/buildSrc/.gradle")
        include("*/buildSrc/build")
    })
}

is something like:
project.tasks.register<Delete>("cleanDebug") {
    fileTree(rootProject.file("docs/debug")) {
    	include("*/.gradle")
    	include("*/buildSrc/.gradle")
    }.visit { if (name == ".gradle") delete(file) }
    fileTree(rootProject.file("docs/debug")) {
    	include("*/build")
    	include("*/buildSrc/build")
    }.visit { if (name == "build") delete(file) }
}

with a huge caveat, that if this is participating in a chain of tasks with dependencies and such, where the fileTree would be lazily deleting things, the actual viable solution won't remove those files and folders, because at the time of fileTree visiting those folders don't exist.

Nope, @wolfs, it keeps the whole hierarchy of directories because of how fileTree iterates only on files, hence the comment on this issue.

https://github.com/gradle/gradle/issues/14152#issuecomment-1243896708 (/**)
2nd code in https://github.com/gradle/gradle/issues/14152#issuecomment-1236398023 (visit)

Note 1st code in https://github.com/gradle/gradle/issues/14152#issuecomment-1236398023 doesn't do anything, it's just illustrative, adding a trailing / to the dirs yields the same as /** (as documented).

authors: TWiStErRob ghilainm klawson88

repo: gradle/gradle


text:
Compile avoidance should respect public constant changes

The API extractor used by the new @CompileClasspath snapshotter drops public constants, making incremental builds incorrect. This affects the following use case:
class A {
  public static final int FOO = 1;
}

class B {
  public void bar() {
    System.out.println(A.FOO);
  }
}

When A.Foo is changed, B should be recompiled, but isn't, resulting in wrong results.

To be clear, this happens independently of incremental compilation and only if the 2 classes are in different projects.

The only workarounds are calling clean or --rerun-tasks or making a dummy change to B.

Here's the tentative fix. It coincidentally fixes #1474 when used with JDK 8 (but not JDK 7).

authors: melix oehme


text:
In a multi variant kotlin library, all the variants get compiled for jdk8

As titled, I'm trying to produce multiple variants out of the same (kotlin) library: specifically jdk8 and jdk11. But when I publish to a local folder repository, both are compiled for jdk8, no matter what kotlinOption.jvmTarget or .jdkHome specify
build.gradle.kts here
If I print jvmTarget and jdkHome for the two tasks, I do get:
1.8
/usr/lib/jvm/java-8-openjdk-amd64
11
/home/elect/.gradle/jdks/jdk-11.0.10+9

which theoretically looks fine and expected, but the produced jars tell a different story
Expected Behavior
library-1.1.jar should be compiled with jdk11, while library-1.1-jdk8.jar with jdk8
Current Behavior
Both are compiled against jdk8
elect@5800x:~/IdeaProjects/kotlin-unsigned/repo/org/gradle/sample/library/1.1$ file library-1.1/unsigned/ArraysKt.class
library-1.1/unsigned/ArraysKt.class: compiled Java class data, version 52.0 (Java 1.8)
elect@5800x:~/IdeaProjects/kotlin-unsigned/repo/org/gradle/sample/library/1.1$ file library-1.1-jdk8/unsigned/ArraysKt.class
library-1.1-jdk8/unsigned/ArraysKt.class: compiled Java class data, version 52.0 (Java 1.8)

Context
I'm trying to have multiple variants produced out of the same kotlin library
MCVE is this branch
Steps to Reproduce

clone the project (at the given branch: jdk9variant)
run publishMavenPublicationToProvaRepository

Your Environment
Gradle 7.1.1
Build scan URL

Thank you for your interest in Gradle!
This is an issue with the Kotlin Gradle Plugin which is developed by Jetbrains and cannot be addressed in the core of the Gradle Build Tool.
Please open such Kotlin-related issues on the Kotlin Issue Tracker at https://youtrack.jetbrains.com/issues/KT

Done
Thanks for pointing me that

Just as reference here too, it is not a Kotlin plugin issue, just a bad build script.
I've had a quick look, what did you expect?
You have the main source set, and create additionally the jdk8 and jdk11 source sets.
You configure jdk8 and jdk11 source sets to your likings.
Then you only create a feature variant for jdk8.
So when you publish, the main variant and the jdk8 variant are published which are both compiled with Java 8 which is the default for Kotlin.
If you e. g. replace val jdk11 = sourceSets.create("jpms") ... by val jdk11 = sourceSets["main"], then you get the result you expected as fas as I understood what you want.
$ find repo -type f -name '*.jar' -not -name '*-sources.jar' -not -name '*-javadoc.jar*' -exec sh -c 'echo; echo {}; unzip -p {} $(zipinfo -1 {} | grep "\.c
lass$" | head -n 1) | file -k -' \;
repo/org/gradle/sample/library/1.1/library-1.1-jdk8.jar
/dev/stdin: compiled Java class data, version 52.0 (Java 1.8)\012- data
repo/org/gradle/sample/library/1.1/library-1.1.jar
/dev/stdin: compiled Java class data, version 55.0 (Java SE 11)\012- data

authors: Vampire elect86 mlopatkin


text:
InputChanges doesn't report changed directories for incremental builds

When an incremental build is run, if a file changes/is added/is removed, its parent directory isn't reported as changed even it's reported as added when a clean build is run.

For a clean build, the parent directory is reported as changed, since it was not there before. For an intcemental build, a directory (parent or not) will be reported if it changed (i.e. if it has been removed or added). If the parent directory keeps existing, then it is not reported as changed, as expected.

authors: SUPERCILEX wolfs


text:
Lint Asciidoc to prevent adding anchor refs instead of page refs

In an Asciidoc page foo.adoc, adding a reference like <<bar.adoc,to bar page>> will generate a href that points to foo.html#bar.adoc instead of bar.html. It creates broken links that can't be caught by a broken link finder check as no 404 pages are generated. The UX is simply sitting still on the same page.
We can easily lint that issue by disallowing any .adoc, string. Instead, the developer should change the disallowed string for .adoc#, which will correctly generate a link to the page. I'm not aware of any place where .adoc, is valid in our documentation so we could start by just triggering on that.

I fixed all that I could find on release branch using the simple check explained above.


text:
Let instant execution serialize generated task properties

By using the generated task class schema instead of the unwrapped task class one.
Fixes #10001

Thanks, @adammurdoch. I'll explore using a signal that is closer to the contract in a separate PR.


text:
Clean up generated Probe class

Fixes gradle/gradle-private#3324
Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes
After probing JVMs for metadata, we can safely remove the
Probe class. No other processes should be trying to reuse
this class concurrently.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

authors: big-guy bot-gradle


text:
Remove the incubating message for dependency accessors

Fixes #19853
I also altered the docs for type-safe project accessors to have correct wording.

@bot-gradle test QF

OK, I've already triggered the following builds for you:

QuickFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.

authors: bot-gradle octylFractal


text:
Enable PTS for remaining "normal" tests

We don't remember why we disabled PTS for the kotlin-dsl and configuration-cache subprojects. Let's enable it there and see what happens.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

authors: blindpirate bot-gradle wolfs


text:
Relax requirement for safe maven credentials in CC

Currently, there is no reliable way to determine whether credentials are safe (using a provider is not the only means). This change disables that check.
Issue: #22618

@bot-gradle test RFR

OK, I've already triggered the following builds for you:

ReadyForRelease build

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

authors: abstratt bot-gradle


text:
Use Java BiFunction instead of custom type

Remove a legacy type that has no use anymore.

@bot-gradle test and merge please.

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

authors: bot-gradle lptr


text:
Cherry pick AutoAppliedBuildScanPlugin changes

In preparation for new Gradle Kotlin DSL release fixing gradle/kotlin-dsl#1083.

Superseded.


text:
Tooling API: Support jdkName from idea module model

The information specified by
idea {
    module {
	    jdkName = "My JDK"
	}
}

is not made available by the tooling API. In order to fix
https://youtrack.jetbrains.com/issue/IDEA-138526
this change is required first. The language level is already handled automatically in recent versions of IDEA. However, if modules have different language levels, the project JDK is not suitable for them and you have to be able to set a module-specific JDK.

[ x] Reviewed the Contribution Guidelines.
[x ] Signed the Gradle CLA.
[ x] Ensured that basic checks pass: ./gradlew quickCheck

The problem is that DefaultIdeaProject already has a jdkName property, so
putting it into IdeaJavaLanguageSettings would duplicate this information.
Is that OK or should the related top-level properties in DefaultIdeaProject
be deprecated?
2016-12-09 23:26 GMT+01:00 Stefan Oehme notifications@github.com:

@oehme commented on this pull request.
In subprojects/ide/src/main/java/org/gradle/plugins/ide/
internal/tooling/idea/DefaultIdeaModule.java
https://github.com/gradle/gradle/pull/989#pullrequestreview-12321417:

@@ -39,6 +39,7 @@
private IdeaCompilerOutput compilerOutput;

 private DefaultIdeaJavaLanguageSettings javaLanguageSettings;

private String jdkName;

Shouldn't this be on the Java language settings?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/pull/989#pullrequestreview-12321417,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJNc3BY_DnrOl1FrXl5KzuDc64bcFwwks5rGdWPgaJpZM4LHvYH
.

Sorry you are right, nevermind my last comment :)

The change looks good, would you mind adding a cross-version test to make sure it doesn't get broken in the future? See ToolingApiIdeaModelCrossVersionSpec for examples.

OK, I have added it. If I understand correctly, this would now go into 3.4.

Excellent, thank you Ingo! I'm out this week, but will merge this early next week.

@ingokegel Yes, it'll go in the next version of Gradle once merged. 3.3 is locked down for everything except critical bug fixes.

@ingokegel This was rebased and applied with 8e02bc268f6478773ca6daf49bea9aed14c5d1eb — thank you for contributing!

authors: eriwen ingokegel oehme


text:
SNMP exporter: Label targets block as deprecated

Since the target block is deprecated, it'd be nice to mention this in the docs #979.
In general, it's not ideal how there are so many ways to do the same thing in this components:

target block and targets argument
config_file argument and configargument

I wish we didn't have the config_file argument at all. I really don't see the benefit in it.

@clayton-cornell @wildum I edited the page to put less emphasis on the deprecated options. I do think it looks better now! Thank you for the feedback.

repo: grafana/alloy


text:
update_mod_go_version

What this PR does:
This PR upgrades the Go version used by the dskit module from 1.16 to 1.17. This allows developers to take advantage of new features introduced in 1.17. In particular, this PR is a prerequisite for PR #126
Which issue(s) this PR fixes:
Fixes #134
Checklist

[ ] Tests updated
[X] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Can we delete the branch?

repo: grafana/dskit


text:
[Bug] 5.7.0 auto upgrade image-pull-backoff

Describe the bug
My grafana operator was auto-upgraded. The operator said it was successful, but the grafana pod is in image-pull-backoff.
Looking at my operator yaml, the images listed in relatedImages do not match what I see in this repo (attached screenshot)
https://github.com/grafana/grafana-operator/blob/ffccae108cdadf8ed8dc0db3b7574392c319dadd/bundle/manifests/grafana-operator.clusterserviceversion.yaml#L555-L561
Should my operator yaml have been migrated automatically?
Version
5.7.0
Screenshots

Runtime (please complete the following information):
Openshift

Hey @seanlaff Is this still an issue? Trying out locally i'm able to pull all of these images with podman.
Can you share your grafana resource spec? this might give us a better idea as to what might be going wrong in the deployment pod itself.
Also, The grafana-operator "manager" pod is healthy right?

Hi @HubertStefanski it looks like I can pull the image with podman too, so it must be a networking issue inside the cluster. I was just concerned that the images listed in my operator yaml did not match what is present in this repo.

authors: HubertStefanski seanlaff

repo: grafana/grafana-operator


text:
Host Variable type

Hi @alexanderzobnin , i had an observation not sure if its proper behaviour or not.  I am using grafana 9.5.6 and i created a variable for host. And in dashboard will it show visible name or technical name from zabbix? I suppose it shows visible name. Is there a possiblilty to change it to technical name ?
Thank you, waiting for your response.

Hi! This is a visible name, because filtering is performed by visible name.

authors: alexanderzobnin vanimesh

repo: grafana/grafana-zabbix


text:
Allow query by property alias

Fixes #98
This adds propertyAlias to the UI and query model for anything that accept it

Still totally untested since I don't know any real alias values to try :)

We have currently hardcoded the AssetProperty for this case that is used to form the frames in the backend. Will only work for floats as of now:
https://github.com/grafana/iot-sitewise-datasource/blob/8bbc4ee05e297b22ee8181247a0cfee87735ac2c/pkg/resource/sitewise.go#L31

this is one ad-hoc way to infer the dataType:
https://github.com/grafana/iot-sitewise-datasource/blob/8751cee79e667207977bb622c779e39e9adcd75d/pkg/framer/property_value_history.go#L29
not ideal but works for now - will be nice to have the DescribeAssetProperty end-point working with propertyAlias only, and that way we could actually have all the other descriptions too - see: https://github.com/grafana/iot-sitewise-datasource/issues/98#issuecomment-892947756

@atifali -- looks good!   Since I created the issue, I can not approve it :)

authors: atifali ryantxu

repo: grafana/iot-sitewise-datasource


text:
[Python:0.8.6] Package installation on ARM MacOS results in x86_64 native .so file

Describe the bug you encountered:
With pyroscope-io version 0.8.6 installed through poetry, the library fails at runtime with the error:
  File "/.../.venv/lib/python3.12/site-packages/nms_service_commons/profiling/setup.py", line 5, in <module>
    import pyroscope
  File "/.../.venv/lib/python3.12/site-packages/pyroscope/__init__.py", line 6, in <module>
    from pyroscope._native import ffi, lib
  File "/.../.venv/lib/python3.12/site-packages/pyroscope/_native.py", line 7, in <module>
    lib = ffi.dlopen(os.path.join(os.path.dirname(__file__), '_native__lib.cpython-311-darwin.so'), 130)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: cannot load library '/.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-311-darwin.so': dlopen(/.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-311-darwin.so, 0x0082): tried: '/.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-311-darwin.so' (no such file), '/.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

After further investigation it turns out version 0.8.6 produces a .so file with the wrong architecture for my machine.
I am running on a MacOS M2 (ie. arm64) whereas it seems the pyroscope library is x86_64:
$ lipo -info /.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-311-darwin.so
Non-fat file: /.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-311-darwin.so is architecture: x86_64

What did you expect to happen instead?
I do not get this error with version 0.8.5, and can confirm its SO library is compiled for arm64:
$ lipo -info /.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-39-darwin.so
Non-fat file: /.../.venv/lib/python3.12/site-packages/pyroscope/_native__lib.cpython-39-darwin.so is architecture: arm64

How did you install pyroscope-rs?
poetry add pyroscope

pyroscope-rs version and environment
MacOS 14.4.1 (M2 Pro chip).
pyroscope-io (python) version 0.8.6
Python 3.12.2
Poetry 1.8.2

ugh, I messed something up.
I will take a look

should be fixed in 0.8.7

Can confirm this is now fixed - thanks!

authors: carlzogh korniltsev

repo: grafana/pyroscope-rs


text:
Update formatRegistry.ts

new Text to uppercase FormatRegistryItem
belongs to https://github.com/grafana/grafana/pull/88281

 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.

done (PR 747 merged into 746)

@hoobtron 👋🏾 , can you update your branch with the latest main, the CI is failing 😕

Hey @hoobtron 👋🏾 , friendly reminder about this: 😄

can you update your branch with the latest main, the CI is failing 😕

this would be a super helpful feature!

authors: CLAassistant axelavargas hoobtron robhamnett

repo: grafana/scenes


text:
Completions don't work in ZSH

Here is my ZSH completion config:
# {{{ ZSH completion config

fpath=(~/Dropbox/Config/zsh-completions $fpath)

zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
zstyle ':completion:*' max-errors 2
zstyle :compinstall filename '/home/tomas/.zshrc'

autoload -Uz compinit
compinit

autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/bin/tk tk

# }}}

Completions for tk don't work, if I type tk  and press tab, I only get filename completions, just as I get with commands with no completion support.
Is my existing completion configuration incompatible with "bashcompinit" or something like that?

➜ tk --version
tk version 0.22.0

The completions work as expected in bash:
complete -C /usr/bin/tk tk

@Hubro pretty sure ZSH completion is not available due to the project's choice of completion library.

I tried loading the completion with this
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /opt/homebrew/bin/tk tk

and as far as I can tell the completion works. I'm not sure what changed since then, though, as cli-x and posener/complete have still the same version since back then.

authors: Hubro Volatus zerok

repo: grafana/tanka


text:
Error when running server.js on localhost:3000 "Cannot GET /"

When I try running node server.js from the Terminal in the folder the extension is unzipped to, I get the following error:

Transcribed messages:
Error. Make sure you're running the server by following the
instructions on https://github.com/gragland/chatgpt-chrome-
extension. Also make sure you don't have an adblocker preventing
requests to localhost:3000.

Cannot GET /

same issue. Have you found any solution? @oakif

Not yet unfortunately, hoping someone will have a solution

same issue here

same error: Error. Make sure you're running the server by following the instructions on https://github.com/gragland/chatgpt-chrome-extension. Also make sure you don't have an adblocker preventing requests to localhost:3000.   also getting this when running - chatgpt-chrome-extension-main % node server.js
/Users/milevin/Downloads/ChatGPT/chatgpt-chrome-extension-main/node_modules/dotenv-safe/index.js:31
throw new MissingEnvVarsError(allowEmptyValues, options.path || '.env', example, missing, dotenvResult.error);
^
MissingEnvVarsError: The following variables were defined in .env.example but are not present in the environment:
OPENAI_API_KEY
Make sure to add them to .env or directly to the environment.
If you expect any of these variables to be empty, you can use the allowEmptyValues option:
require('dotenv-safe').config({
allowEmptyValues: true
});
at Object.config (/Users/milevin/Downloads/ChatGPT/chatgpt-chrome-extension-main/node_modules/dotenv-safe/index.js:31:19)
at file:///Users/milevin/Downloads/ChatGPT/chatgpt-chrome-extension-main/server.js:2:8
at ModuleJob.run (node:internal/modules/esm/module_job:194:25) {
missing: [ 'OPENAI_API_KEY' ],
sample: '.env.example',
example: '.env.example'

How did you get past the current issue with the localhost? other people also have that issue.
As for your issue, npm install chatgpt should fix. But i still want to know how to fix the server.

В мене така ж проблема. Як local host:3000 як її подолати?

repo: gragland/chatgpt-chrome-extension


text:
Default to no userOrg in bintray config

With the current default (userOrg = 'grails') all user contributed plugins will need to reset userOrg back to empty string or get an error when running bintrayUpload due to missing permission ("Could not create version '1.0.0.RC3': HTTP/1.1 403 Forbidden [message:forbidden]")

I reverted this because it created a problem with all our existing builds, I'm not sure what the issue is to be honest, how does having a blank userOrg help?

If you add userOrg=grails to gradle.properties it should work

@burtbeckwith yeah I get that, I'm just not seeing the value of it being blank? Ultimately it always has to be set to something

Yep, since the defaults for issueTrackerUrl and vcsUrl are unlikely to be correct, most users will have to override defaults anyway, so the userOrg default value isn't significant

Most plugin authors will probably publish plugins as normal Bintray users, not an organization. So userOrg needs to be blank. Now that it defaults to 'grails' you'll get the error message stated above if you're not member of the grails user organization.
If you're about to publish as a normal Bintray user, it's not obvious that you need to reset userOrg back to blank. You only have to override defaults for properties that you need to change. It is fair to assume that if you're not publishing to an organization, you can leave this property out. The current unexpected default was an unnecessary bump in the road for me to get my plugin published.
See my config at https://github.com/rlovtangen/grails-wkhtmltopdf/blob/master/build.gradle where I had to reset userOrg back to blank to be able to publish.
The consequence of having blank userOrg is that all plugins that is to be published to the grails user organization need to specify userOrg = 'grails' and don't rely on the default.

@graemerocher can you reconsider this, given the information above?

@rlovtangen Yeah I think I understand the problem, the shame is it breaks all of our current Travis builds, which is a bit of a pain

I understand. It should be easy to fix, though, by setting userOrg='grails' for all plugins that should publish to the grails user organization. When all plugins are updated, the default can be switched to blank userOrg.

authors: burtbeckwith graemerocher rlovtangen

repo: grails/grails-profile-repository


text:
Rename 'target' to 'stage'

What feature are you missing?
The term 'target' used throughout the CLI is confusing. I propose changing the name to 'stage'. It aligns better with DevOps, with other tools (like AWS, Serverless etc.), and you solve the '-t = target vs -t = tail' issue.
How could this feature look like in detail? Tradeoffs?
Rename all occurences of target to stage.

A target is a neutral, unopinionated entity the CLI can deploy a service too.
We're speccing out a different concept that more closely resembles stages, which we'll introduce further down the road.
Definitely still up for discussion.

Closed in favour of #1329

authors: kbrandwijk marktani sorenbs

repo: graphcool/graphcool


text:
make it possible to translate strings aka i18n

fixes #41

umpf I invested so many minutes to convert the tsv into a json but all I needed is to use the already fetched json from /i18n ... will rewrite.

Fetching the i18n via endpoint is nice but the async nature especially when initializing is very ugly. But the biggest problem is that it unnecessarily couples the UI to the server (server side string updates take much longer for a new UI components). I.e. I will revert to the local tr.json file.

I just found out about the Intl browser API and this project https://projectfluent.org/

Fetching the i18n via endpoint is nice but the async nature especially when initializing is very ugly. But the biggest problem is that it unnecessarily couples the UI to the server (server side string updates take much longer for a new UI components). I.e. I will revert to the local tr.json file.

I agree that this should be served together with the main bundle. I can't stand websites where the text is loaded separately. And, since the app is already quite heavy weight and the map takes long to load, I think we should try to keep a speedy impression on other things at least

The other stores are not real singletons though.

Can you explain what you mean is the difference to Stores where a similar pattern is used
"let mapOptionsStore: MapOptionsStore"

I didn't make the singletons because they are a little easier to unit test if dependency injection still works

:+1:

Can you explain what you mean? In Stores a similar pattern is used

The store modules export their class. Then in the Stores module they are instantiated and stored in a global variable. So, they are not Singletons in the sense that one can still instantiate those classes from outside. In the application they are used as if they were Singletons. Again, did this for easier testing.
I think the Translation is different though and can be a singleton.

And you mean we should prevent instantiation of Translation from outside? (because it can be a singleton)

Maybe change some translation in the actual app's code, to see wehther it works well like this?

Have used it for the profile names and input hints.

And you mean we should prevent instantiation of Translation from outside? (because it can be a singleton)

I don't have an oppinion on that. I just meant that the translation is somewhat self contained. Since it will take the language parameter from somewhere and build a translation instance based on that, I don't really see a need for outside access. You may go ahead as you like :-)

Ok, will merge then. Also feel free to change this aspect in the future :)

authors: Janekdererste karussell

repo: graphhopper/graphhopper-maps


text:
Adding init.d scripts for Debian

Conversion of the Redhat based init.d scripts to the Debian way.

Looks good. I think we can also :bomb: the old postinstall script at https://github.com/graphite-project/carbon/blob/master/debian/carbon.postinst. /cc @bmhatfield

authors: gfaivre obfuscurity

repo: graphite-project/carbon


text:
CARBONLINK_HOSTS + REPLICATION_FACTOR issue

I'm trying to wrap my head around CARBONLINK_HOSTS and REPLICATION_FACTOR as something doesn't appear to be correct in either the code or the documentation. Say I have 3x hosts with 2x carbon caches each and I wanted a replication factor of 3 I'd have these example DESTINATIONS in carbon relay:
['10.0.0.1:2003:a', '10.0.0.1:2103:b',
'10.0.0.2:2003:a', '10.0.0.2:2103:b',
'10.0.0.3:2003:a', '10.0.0.3:2103:b']
According to the documentation each graphite-web server would have CLUSTER_SERVERS set to the other servers that are not itself, so 10.0.0.1 would have ['10.0.0.2:80', '10.0.0.3:80'] which makes sense. But graphite-web will not start on 10.0.0.1 if REPLICATION_FACTOR=3 and CARBONLINK_HOSTS=['10.0.0.1:7002:a', '10.0.0.1:7102:b'] because of an exception in CarbonLinkPool that len(CARBONLINK_HOSTS) cannot be < REPLICATION_FACTOR.
Everything would make sense if CARBONLINK_HOSTS were meant to be == DESTINATIONS. Am I missing something? Is the documentation wrong? Is the code with the exception incorrect?
I'm trying this out with the latest carbon and graphite-web, 1.0.0. I'm using django 1.9.13.

I understand the code to need to know all of the cache instances in order to properly perform the consistent hashing that carbon relays does.  So, set the value of CARBONLINK_HOSTS to include the same set of cache hosts as the relay but with the ports changed to match the cache configs.  Based on your example, if I didn't mess it up, it would be CARBONLINK_HOSTS=['10.0.0.1:7002:a', '10.0.0.1:7102:b', '10.0.0.2:7002:a', '10.0.0.2:7102:b', '10.0.0.3:7002:a', '10.0.0.3:7102:b']
If I'm wrong, I'm sure it will be pointed out quickly.

That's why I raised the question because the documentation around CARBONLINK_HOSTS says "If multiple carbon-caches are running on this machine, each should be listed here so that the Graphite webapp may query the caches for data that has not yet been persisted. Remote carbon-cache instances in a multi-host clustered setup should not be listed here." If the documentation is to be believed then CARBONLINK_HOSTS should not contain 10.0.0.2 and 10.0.0.3 in 10.0.0.1's local_settings.

Graphite is not designed to use remote CARBONLINK connections, it's an anti-pattern. You should install carbon-caches only on localhost, and include 'em in local_settings.py, and then include remote graphite-web in CLUSTER_SERVERS (and not remote carbon daemons).
So, include only local CARBONLINK_HOSTS to each local_settings.py (in same order as in relay), and include all other graphite-web servers (except local) to CLUSTER_SERVERS (in any order).

Okay, so the exception on line 40 of carbonlink.py is erroneous. This is what I was thinking. There's no other way that CARBONLINK_HOSTS can be local and have a RF > 1 with more than 1 host.

Sorry, @blafrisch, but I'm not getting your way of thinking or your setup. Could you please elaborate it a little bit more?

REPLICATION_FACTOR should be defined for picking a right instance of carbon-cache.

3x hosts: 10.0.0.1, 10.0.0.2, and 10.0.0.3 for simplicity.
2x carbon caches per host: instance 'a' bound to port 2003 for LINE_RECEIVER_PORT and port 7002 for CACHE_QUERY_PORT; instance 'b' bound to port 2103 for LINE_RECEIVER_PORT and port 7102 for CACHE_QUERY_PORT
Carbon relay configured with the following
DESTINATIONS = ['10.0.0.1:2003:a', '10.0.0.1:2103:b', '10.0.0.2:2003:a', '10.0.0.2:2103:b', '10.0.0.3:2003:a', '10.0.0.3:2103:b']
REPLICATION_FACTOR = 3
DISTINCT_REPLICAS = True
Example graphite-web config on 10.0.0.1:
CLUSTER_SERVERS = ['10.0.0.2:80', '10.0.0.3:80']
CARBONLINK_HOSTS = ['10.0.0.1:7002:a', '10.0.0.1:7102:b']
REPLICATION_FACTOR = 3
A graphite-web server cannot start with this configuration due to len(CARBONLINK_HOSTS) < REPLICATION_FACTOR.

I got your idea, but Graphite just not designed to work that way, unfortunately.
Even if you remove line 40 your graphite-web will not able to match caches properly, effectively disabling them. Your DESTINATIONS should match with CARBONLINK_HOSTS for all servers (port should be different, ofc). You can try that, but then you need to comment out CLUSTER_SERVERS. If your ping between nodes is low - that could work.

Or you can use reference implementation:

Two tier relay - one relay (tier0) send data to 3 hosts, with e.g. RF=2. Second relay (tier1) just taking metrics from tier0 relay and spreading them across 2-4 local caches per host (for scalability).
Graphite-web installed on each host, having in CARBONLINK_HOSTS only local caches (from tier1) and 2 other graphite-web in  CLUSTER_SERVERS.

Thank you for helping me understand the system a bit better. I was trying to avoid the 2-tier relay setup because I was having trouble grasping how I'd rebalance the cluster in that situation using tools like carbonate. It looks like if I did want to do something like that then I'd have to write new tooling to rebalance.

Just use teir0 relay info to config carbonate - it will work, no need to write anything.

Does that statement remain true if the 2x instances of carbon-cache on each host are writing to unique data directories? i.e. instance 'a' is writing to LOCAL_DATA_DIR=/data1 and instance 'b' is writing to LOCAL_DATA_DIR=/data2?

No, and there's no need to having separate data directories for different instances - hashing should care for that, but you can use locking for whisper files to be sure.

I was more concerned about having each carbon-relay on a given having its own dedicated drives for performance since I've read that carbon-relay is I/O bound rather than CPU bound. Would it be preferable to RAID 0 the disks and have the carbon caches write to the same directories?

Indeed. You're using multiple hosts for redundancy, right?

Yep, multiple hosts for redundancy hence the REPLICATION_FACTOR > 1 and the proposed relay setup. I have a lot to look into now including carbonzipper and all of those related components but this has certainly helped get my mind set straight about how to architect the layout.

Or you can use reference implementation:

Two tier relay - one relay (tier0) send data to 3 hosts, with e.g. RF=2. Second relay (tier1) just taking metrics from tier0 relay and spreading them across 2-4 local caches per host (for scalability).
Graphite-web installed on each host, having in CARBONLINK_HOSTS only local caches (from tier1) and 2 other graphite-web in  CLUSTER_SERVERS.

According to the reference architecture , tier0 relay may cause single point of failure. Actually I am trying to setup an HA architecture. For that I have added another relay on tier0 and add a LB on top of it. Does it makes sense ? or is there any alternate approach to achieve HA on tier0 ?

repo: graphite-project/graphite-web


text:
fix shifting of moving* datapoints by one step into the future

This is the quick fix from the discussion in #2632
fixes #2632

Hi @zivillian ,
I'm afraid that's quick and incorrect fix, though... As you can see many function tests are broken now, because of extra 'None' inserted.

If I'm correct, there is no extra None introduced, but it's missing and still present in the expectedData lists.
Is my assumption correct, that the original and moved series schould contain the same number of datapoints? If so, I would update the test data to reflect this.

Ah, mea culpa, you're rightm @zivillian
E.g. https://github.com/graphite-project/graphite-web/blob/97f4d85750b3bff2c478c2d3b98cf4368ca84756/webapp/tests/test_functions.py#L4687
Then tests need to be correcred, indeed

I'll take a look into this, and also add an assertion that the number of datapoints in both series is equal

Codecov Report

Merging #2682 (1805baa) into master (528d197) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2682   +/-   ##
=======================================
  Coverage   80.11%   80.11%
=======================================
  Files          88       88
  Lines        9403     9403
  Branches     2002     2002
=======================================
  Hits         7533     7533
  Misses       1582     1582
  Partials      288      288

Impacted Files
Coverage Δ

webapp/graphite/render/functions.py
95.37% <100.00%> (ø)

Continue to review full report at Codecov.

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

I'm still bit hesitating to merge this TBH. Opinions? /cc @ploxiln

Thanks, @ploxiln for reviewing this! That's indeed quite tricky. Merging.
And thanks to @zivillian for issue and PR too, of course!

💔 Some backports could not be created

Status
Branch
Result

❌
1.1.x
Cherrypick failed because the selected commit was a merge commit. Please try again by specifying the parent with the mainline argument:

backport --mainline

or:

backport --mainline

Or refer to the git documentation for more information: https://git-scm.com/docs/git-cherry-pick#Documentation/git-cherry-pick.txt---mainlineparent-number|
To backport manually run: node scripts/backport --pr 2682.
For more info read the Backport documentation

💔 Some backports could not be created

Status
Branch
Result

❌
1.1.x
Cherrypick failed because the selected commit was a merge commit. Please try again by specifying the parent with the mainline argument:

backport --mainline

or:

backport --mainline

Or refer to the git documentation for more information: https://git-scm.com/docs/git-cherry-pick#Documentation/git-cherry-pick.txt---mainlineparent-number|
To backport manually run: node scripts/backport --pr 2682.
For more info read the Backport documentation

💔 Some backports could not be created

Status
Branch
Result

❌
1.1.x
Cherrypick failed because the selected commit was a merge commit. Please try again by specifying the parent with the mainline argument:

backport --mainline

or:

backport --mainline

Or refer to the git documentation for more information: https://git-scm.com/docs/git-cherry-pick#Documentation/git-cherry-pick.txt---mainlineparent-number|
To backport manually run: node scripts/backport --pr 2682.
For more info read the Backport documentation

authors: codecov-io deniszh zivillian


text:
Draft for Filter support

Try to support prefilter and postfilter. I am not sure of that ExecutionContext and ServiceExecutionResult are what I need for these functions.

no longer needed

repo: graphql-java/nadel


text:
Update README.md

The primary maintainer @acao is back from the hiatus I guess? Or the information is outdated, December 2020.
Changes proposed in this pull request:

Information update

There are many recently added active maintainers ready to help now! See: „seeking maintainers“ in graphiql monorepo. I have been focusing on monaco-graphql and the lsp server/vscode-graphql for the past few months. Only one person, only so much free time!

That's wonderful, you're doing amazing things up there! I would like to contribute too, but I'm not sure I have the right skillset. I'm willing to be guided if possible. My email is public.

repo: graphql/graphql-playground


text:
Fix mem leak when failure is set

Fix for https://github.com/graphql/libgraphqlparser/issues/62

Looks good to me! Can you fold the second commit into the first one to keep the history clean, please? Happy to merge after that's done.

authors: monikasoni swolchok

repo: graphql/libgraphqlparser

license: mit


text:
record legal names

@seanlinsley on #3088:

We really need to be recording people's legal names, even if we don't publicly display them.

Related to #987.

Yes, I think this is a good idea.

+1
On January 12, 2015, at 3:39 PM, Ben Holden-Crowther notifications@github.com wrote:
Yes, I think this is a good idea.
—
Reply to this email directly or view it on GitHub.￼

What is the cause for that +1's? The less private information we scavenge, the more resistant we are to what happened to Sony etc.

@techtonik, I think comparing this to Sony is wrong.

@techtonik We already ask for it on credit card forms.  Unfortunately, it may also be a necessary evil to have it, along with some other info, privately for tax reasons.  It shouldn't ever be displayed publicly though, since there's no good reason to do so.

Closing in favor of #2449.


text:
Use a larger DH parameter

We need to change the current Diffie-Hellman parameter we are using, in order to get a "A" grade on SSSLabs and close H1-117458 + H1-131065.
To generate a now group with the recommended size, just run openssl dhparam -out dhparams.pem 2048 in /etc/nginx/. It will take some time.
(I don't really know how we should handle these kind of security reports, since nothing is specified on the how-to and the related configuration file don't have to be in this repository. I guess that making one issue and mentioning @whit537 is not the worst way.)
Tell me when it's done, so I can PR the related nginx configuration directive :-)

Like this?
root@grtp:~# cd /etc/nginx/
root@grtp:/etc/nginx# l
certs/   fastcgi.conf    koi-utf  mime.types  nginx.conf.dpkg-old  scgi_params       sites-enabled/  uwsgi_params
conf.d/  fastcgi_params  koi-win  nginx.conf  proxy_params         sites-available/  snippets/       win-utf
root@grtp:/etc/nginx# openssl dhparam -out dhparams.pem 2048
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
............................................................+........................................................................................................................................................................................+.......................................................................................................+..........................................................................................

Yep 👍

Tell me when it's done, so I can PR the related nginx configuration directive :-)

It's not done yet, but you can start the PR whenever, and we'll simply wait to deploy. :)

Erp ... it's done! 💃

FTR, everything is working as expected and ssllabs is still giving us a B but for one other issue. I'm taking a look at it.


text:
🛑 GrauNeko.com is down

In fd3518b, GrauNeko.com (https://graueneko.com) was down:

HTTP code: 403
Response time: 1763 ms

Resolved: GrauNeko.com is back up in 9f4b354 after 31 minutes.

repo: graueneko/status-page


text:
feat: AM-3525: support device lookup by users' externalId + source

:id: Reference related issue.
AM-3525
:pencil2: A description of the changes proposed in the pull request
This PR introduces a UserId record to wrap the internal and/or external id together to use for entities that can be linked to a user by any of these ids.

Do we really need to have these two more fields ?
I wonder if we can stick to only the userId which might have a new format for the resilience mode.
Happy to discuss this internally.

It would be painful to have to manage 3 fields all over the place, that's why I've introduced the UserId value object. All the domain/business logic code uses the UserId abstraction. Whether it stored as 3 fields or magically formatted string is an implementation detail of the repository layer.
I'm strongly opposed to using "just a formatted String" as a field/param/return value in the business logic. The AM code uses Strings way too much for non-interchangeable values, making it hell to actually track usages or any more complex logic.
On the DB side, my opinion is that 3 fields are easier to work with than a custom-formatted string (e.g. for some future queries). It also makes it obvious that there are multiple parts and what these parts are.

repo: gravitee-io/gravitee-access-management


text:
Added linting to demo which prevents imports from libs

PR Checklist
Please check if your PR fulfills the following requirements:

[ x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

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

What is the current behavior?

In the Demo app, it allows imports directly from the daffodil source
Fixes:
Added linting rule to not allow importing from the source
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ x] No

Other information

References issue #286
Did not use a regex because of lack of support/documentation

@Nolan-Arnold I don't think this works as intended, this should be failing:
see: https://github.com/graycoreio/daffodil/blob/develop/libs/cart/src/facades/cart/cart.facade.ts

This is too static to be maintainable. I'm going to defer #286  to until ESlint support in Angular core.

authors: Nolan-Arnold damienwebdev

repo: graycoreio/daffodil


text:
fix bug where refreshing a product page would result in a 404

fix bug where refreshing a product page would result in a 404
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

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

What is the current behavior?

Issue Number: #24
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@lderrickable lgtm. We should consider refactoring this factory in another PR. It'd be nice to be able to:
productFactory.create(type, {props})

as opposed to just passing an id

@lderrickable this also needs a rebase.

@lderrickable I've opened an issue to follow up on my comments here #88

authors: damienwebdev lderrickable


text:
The empty record type can be declared but not instantiated

This works:
type t = { };

This doesn't
let t = { };

Right, it's ambiguous with the empty block. We should probably disallow the type as well, then.

authors: brson marijnh

repo: graydon/rust


text:
🛑 API is down

In 6007f4d, API (https://api.greencent.io) was down:

HTTP code: 404
Response time: 584 ms

Resolved: API is back up in b83ce7b after 1 hour, 57 minutes.

repo: greencent/upptime


text:
Ignored dependency is getting updated

This pull request was just created by greenkeeper, although karma is in ignore list. Am I missing something or it is a bug?

Hi there, thanks for the report. You’ve configured Greenkeeper in a way we didn’t anticipate, sorry you ran in to this problem. Our original idea was that groups are only for monorepos, but there’s no proper reason to not respect group ignore rules even if there’s only a single root-level package.json in there.
So now there’s a fix PR in the works that supports this way of doing it as well. 🎉

authors: espy meltedspark

repo: greenkeeperio/greenkeeper


text:
Replace images in the tweets with scoreboard images

After we make the scoreboard look amazing, do some React component to image thing. Host as a cloud function that the Twitter bot could call to get the image?

Replace Twitter stuff with web site url

Remove "15 minutes ago" part

https://github.com/greg-finley/mlb-alphabet-game/pull/46

repo: greg-finley/alphabet-game-app


text:
TMS based tiles are wrong

As TMS standard force y value to be caculated in negative, this plugin is producing wrong tile number for y axis.

Good catch. This was not tested with tms: true L.TileLayers, so I missed that.
I'll see what I can do...

On getY, following code can convert to TMS based tile number:
y = Math.pow(2, z) - y - 1;
Than swap t1_y & t2_y as the values are going to be inverse.

@karigarweb  Could you please check out the issue25-tms branch and give it a try? It looks good to me, but I'm away from my work computer for a few days so can't test it thoroughly.
The patch specifically is here:  https://github.com/gregallensworth/L.TileLayer.Cordova/blob/a87c01ea160ebd34c6ecd12bf1d88ee5aa70cd5e/src/leaflet-tilelayer-cordova.js#L175-L184

@karigarweb Did you get to check out the issue25-tms version, to confirm that it's working?

Yes, everything is working like a charm! Thank you

authors: gregallensworth karigarweb


text:
Couple of suggestions

Would suggest reducing the space between next line characters
adding caps on top and bottom would be another suggestion.

Multi line formatting needs work, I'm not sure how useful it really is to implement.
A simple workflow is to produce separate labels for each line, and then format them on the PCB?
Can you draw a quick sketch with how you'd like top/bottom caps to look? I can't picture what they would look like.

Some thing like this
Regards,
George

On 13 Jan 2022, at 4:14 AM, Gregory Davill @.***> wrote:

Multi line formatting needs work, I'm not sure how useful it really is to implement.
A simple workflow is to produce separate labels for each line, and then format them on the PCB?
Can you draw a quick sketch with how you'd like top/bottom caps to look? I can't picture what they would look like.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.

Hi @anishkgt I don't see an image here.

This seems like the thread for suggestions - I'd love it if there were an ability to tweak labels after they're already placed on the board. Otherwise, on every change, I have to recreate the label from scratch. I know this might be a challenge given that each label is created as its own footprint, but if there's a straightforward way, I could try and implement it myself.

This seems like the thread for suggestions - I'd love it if there were an ability to tweak labels after they're already placed on the board. Otherwise, on every change, I have to recreate the label from scratch. I know this might be a challenge given that each label is created as its own footprint, but if there's a straightforward way, I could try and implement it myself.

Hi @Jkillelea, the feature as you've described is already implemented.
You can find a demo video here: https://github.com/gregdavill/KiBuzzard/pull/65
It's available in the KiCad PCM as a "testing release". Create a new label (Needs to have been created with the newest KiBuzzard). Once placed, with it selected open up KiBuzzard, it should now be editing that label, instead of creating a new one.

authors: Jkillelea anishkgt gregdavill

repo: gregdavill/KiBuzzard


text:
Why does selected row index changed when do sorting

Expected Behavior

All data is from browser side, Assuming  there are 3 rows data.
Example:
Row 1: Aaron   20
Row 2: Bob      25
Row 3: Danny  30

For example, If I tick only one checkbox(e.g. row 1) and then sort the rows in a different way, the selected checkbox should be bind with row (Aaron 20).

I‘m confused, the demo [https://codesandbox.io/s/wy2rl1nyzl](url) works fine, my code was the same with that, but doesn't work the same.

Current Behavior

The only one checked checkbox was bind with different row data each time

Steps to Reproduce (for bugs)

Your Environment

Tech
Version

Material-UI
3.1.0

MUI-datatables
^2.0.0-beta-39

React
16.5.2

browser
Chrome Version 70.0.3538.102

etc

const options = {             filterType: 'dropdown',             download: false,             print: false,             rowsPerPageOptions: [10, 20, 30],         };  return (             <MUIDataTable                 data={data}                 columns={columns}                 options={options}             />         )

@gregnb

Try the latest version let me know if this issue is still ongoing

Try the latest version let me know if this issue is still ongoing

Tried with ^2.0.0-beta-43 still doesn't work... Looks like the last version without this issue is ^2.0.0-beta-35.

Same issue with version "2.12.0"

repo: gregnb/mui-datatables


text:
Allow users to opt-out of changing instance name tags

I was very surprised when my instance names changed after adding this. I much prefer their original names, so I added a way to opt-out of of them being change. 😄

@greptileai

repo: grepdemos/terraform-aws-asg-dns-handler


text:
Using a different storage type per module

From what I can tell, due to this module being a service, you can only set one storage type for entire application, not per module. Is this correct?
Use case
I have an application made up of 2 modules, where both are using the localStorageService. One is trying to use sessionStorage and the other localStorage, but they are overriding each other.

+1 .... was investigating angular-local-storage and noticed this issue was a potential issue for me to just use it at the moment.

+1

+1

+1

+1

Could you make the call interface like these:
get(key, storageType)
set(key, value, storageType)
and won't affect subsequent calls.
And since 'Allow creating multiple instances' and 'Use both sessionStorage and localStorage' redirect here, should issue title be updated to reflect that. Thank you.

+1

+1

+1

I think is done with #320, isn't it ?

hi @JR-Utily, it solves the problem partially. From what I can see it doesn't just use the specified storage type for that transaction, but actually changes it for all future transactions. Is this correct?
An example:
Lets say that my default storage type is localStorage, I believe this will happen:
// Sets the status to be true in sessionStorage
localStorageService.set('status', true, 'sessionStorage');
// Sets the status to be false in sessionStorage
// I would expect this to inherit the default storage type
localStorageService.set('status', false);

I'll create an isolated test case to make sure this is/isn't happening, but from the PR you reference, it appears this is the case

authors: JR-Utily StanleyGoldman ajorquera alinearielo coreycochran89 fvelosa hollandben kmaida ronnyle thmarti zerowang

repo: grevory/angular-local-storage


text:
Single Page Query Returning Null

Description
Describe the issue that you're seeing.
Querying
  page(_id: "1") {
    slug
  }

with 3 pages existing returns
    "page": {
      "slug": null
    }

where a query for allPages returns the slug correctly.
Steps to reproduce
gridsome create new-app
Then head to GraphQL playground and query for
  page(_id: "1") {
    slug
  }

Expected result
What should happen?
Should return object with slug equal to about or index.
Actual result
What happened.
See above.
Environment

Libs:
- gridsome version: 0.5.5
- @gridsome/cli version: 0.0.8

The page and allPage root fields are very outdated compared to the fields which are generated by the data store API. But we are working on that part of the schema so it will most likely change and give better information in one of the upcoming versions :)

I'm not sure what you mean. This is querying for a single page. That single page query is not returning the correct data ie. null instead of the slug. The allPage  query returns the slug correctly. Why would the page query and the allPage query not have access to the same data?

I meant that page and allPage should probably be removed from until we have a good schema for them. Each page has a unique generated id, so it can be hard to query for a single page. You will see the id's if you include an id field when you query for allPage.

Gotcha. I'm currently recording a tutorial series and am showing page and allPage. We aren't using them for anything other than graphql basic concepts, but would be a bummer if they are removed entirely now. Not trying to query on pages for any practical reason (although it would be good for the main nav). I did see the id on the field, just thought that slug existing on the listing but not the individual query was odd.

Cool :) You could show the metaData field instead. It doesn't have much data out of the box, but does work and will not be removed.

I actually did, but I also showed allPage (already recorded). I can record an insert clip that mentions that they are for demonstration and might not exist in the future.
Thanks!

Great! Looking forward to watching the tutorial :)

So how can I query data for single page now? I have page content in content/pages, but I can't query contents of .vue files inside it, because every time I have title: null.

This worked for me-
I was attempting something different, which was to return children of an ID and the page of the ID also.
I'm sure you can customise for your needs.
Write your query or mutation here
query Pages {
parentpage: allPages (filter: { id: { regex: "12" } }) {
totalCount
pageInfo {
currentPage
}
edges {
node {
    id
    title {
      rendered
    }
    link
  }
}

}
pages: allPages (filter: { parentid: { eq: 12 } }) {
edges {
node {
id
title {
rendered
}
link
}
}
}
}

authors: Defite Kainkainkain hjvedvik stolinski

repo: gridsome/gridsome


text:
Unclear on where to add websockets password

I had to do a reinstall of my OS. I'm trying to remember where to input the websockets password.
I know it's a file named obs-cmd.toml and its contents are:
OBS_WS_PASSWORD="trCYeMhv9k50e01s"
but i don't know where to leave the file. So far I've tried in the home folder and ~/.config
typing in the password in terminal allows for a connection, but otherwise I'm getting a handshake error.

Now it doesn't use the toml file anymore
you can use it like this
obs-cmd --websocket obsws://localhost:4455/yourpassword info

but if your password is secret it is implicit so you can do
obs-cmd info

I see. I'll just change my password.
Thanks

Maybe in future I'll add the configuration file, but for now i close it

repo: grigio/obs-cmd


text:
Why does a slower tempo create a little rest between NoteEvents?

I have a track with 4 chords having:
time signature: (4/4)
bpm (tempo): 120
duration of the NoteEvent : "T512"
When I change the bpm to 60, a little rest appears between chords. How can I make the chords play cursively as when I have a bpm of 120?
@grimmdude

This is happening to us as well for the same configuration.
Any help? @grimmdude

Hi @AndaRebeca & @marian-simonca, I can't seem to replicate this issue.  When I create a MIDI file using those parameters I end up with each chord being held for a whole note as I would expect, given that each beat consists of 128 ticks.
Here's the code I'm using, can you post your code?
const MidiWriter = require('midi-writer-js');

const track = new MidiWriter.Track();

track.setTempo(60);
track.setTimeSignature(4, 4);

track.addEvent([
	new MidiWriter.NoteEvent({pitch: ['C4', 'E4','G4'], duration: 'T512'}),
	new MidiWriter.NoteEvent({pitch: ['C4', 'E4','G4'], duration: 'T512'}),
	new MidiWriter.NoteEvent({pitch: ['C4', 'E4','G4'], duration: 'T512'}),
	new MidiWriter.NoteEvent({pitch: ['C4', 'E4','G4'], duration: 'T512'}),
]);

const write = new MidiWriter.Writer(track);
console.log(write.dataUri());

authors: AndaRebeca grimmdude marian-simonca

repo: grimmdude/MidiWriterJS


text:
Agent unable to correct "subtask" action and execute it

Describe the bug
I've created a custom tool for LLM to call, and when it comes to a calling a method, it doesn't execute the actual subtask (and just exits).
It looks like the returned Action param has the json md template mark and fails to create the sub-task. See below

Raw output
Task 29114d55776f4aa4891eaf08c32dd63f
                             Input: For the calendar <gcal>@group.calendar.google.com and
                             event
                             NjUyMGx0NzA0bDgwNDg3aWJscjkxdjFzcHQgZTNkZjI1Y2RkNmI1YmVjNGYxMzc3NmYzNzE2ODk1Nzg4ZmFhNTk1Mzg4NThlZDA3Nzk3YmFiN2M1MjY1OT
                             RjNkBn, how many guests have we sent invitations out to?
[07/05/23 13:54:05] INFO     Task 29114d55776f4aa4891eaf08c32dd63f
                             Output: Thought: To find out how many guests we have sent invitations out to for a specific event, I can use the
                             "get_event_details" activity of the GoogleCalendarManager tool.

                             Action:
                             ```json
                             {"type": "tool", "name": "GoogleCalendarManager", "activity": "get_event_details", "input": {"values": {"calendar_id":
                             "e3df25cdd6b5bec4f13776f3716895788faa59538858ed07797bab7c526594c6@group.calendar.google.com", "event_id":
                             "NjUyMGx0NzA0bDgwNDg3aWJscjkxdjFzcHQgZTNkZjI1Y2RkNmI1YmVjNGYxMzc3NmYzNzE2ODk1Nzg4ZmFhNTk1Mzg4NThlZDA3Nzk3YmFiN2M1MjY1O
                             TRjNkBn"}}}
                             ```

@starascendin thanks for reporting this! The latest version includes several improvements to the base prompt that should address this issue. Let me know if it still comes up for you.

authors: starascendin vasinov

repo: griptape-ai/griptape


text:
Referencing the previous record/row's value

There needs to be a function or way to reference a record's previous value in the previous row, optionally provide a default or initial value.
Going through the community forum(s) there's a few "solutions" but are honestly a lot of effort for something that in typical spreadsheet-like apps is pretty trivial since you can just reference the first row (with manually inserted data).

Been a year, but maybe still relevant... Does it need to be a function?  What about a .prev member of the Record class (so, rec.prev in a formula)?  That could give access to the previous record(s) in the current record set (i.e. in the current widget) using for all formulas, including triggers and conditional formatting, and would be consistent across sorting and filtering.

I feel like it's complicated by design, not especially due to technical limitation: the notion of precedence here is linked to sorting.
From a user prospective I don't know whether it's intuitive to have record values updated when sorting is changed.

True, I can see cases for using the visible values (i.e. in the current filtered view), or the raw data.  Even something simple like cumulative value can apply in both cases.  Maybe a .prevVisible and a .prevRaw so the programmer can decide?  I'm sure there's more to it, just some ideas.

Let me share a proposed design.
Firstly, keep in mind that @fflorent is right: the notion of precedence is linked to sorting, but sorting is a property of a view, while formulas work on the data level. There may be different views showing different subsets of data in different order. Access rules may limit visible records too. But formulas are only aware of the underlying data, not who is looking at it, or in which view.
The proposal is to add the following functions:

PREVIOUS(rec) (with no other arguments) finds the previous record in the full table, sorted by the internal column used to rearrange records manually (manualSort column). It would match the order you'd see when a table is shown without sorting by any column. (Note that rec in Grist formulas refers to the current record.)
PREVIOUS(rec, group_by=..., sort_by=...) finds the previous record to rec, according to group_by / sort_by. For example, PREVIOUS(rec, group_by="Account", sort_by="Date")
NEXT(...) is just like PREVIOUS(...) but finds the next record.
RANK(rec, group_by=..., sort_by=..., order="asc") returns the rank of the record within the group, starting with 1. Order can be "asc" (default) or "desc".
All the new functions work in amortized O(log N) time per cell (which is a big reason for this effort, since working with sorted data efficiently is very hard to achieve today).

The sort_by argument will support tuples, e.g. ("Category", "Date") and any column ID may be prefixed with - to reverse the order, e.g. ("Category", "-Date"). This allows matching more complex sort orders that can be set in the UI.
All the new functions are based on an enhancement of lookupRecords. When lookupRecords() is used with the sort_by parameter, it will now allow efficient search in sorted results, with the following syntax:
Table.lookupRecords(..., sort_by="Date").find.le($Date)

This will find the record with the nearest date that's <= $Date. The find.* methods are le, lt, ge, gt, and eq, all having O(log N) performance.
Here is an example to show the usefulness of the find.* methods.  In the Payroll template, each person has a history of pay rates, in the Rates table. To find a rate applicable on a certain date (for the Per Hour column), here is how it is done today:
# Get all the rates for the Person and Role in this row.
rates = Rates.lookupRecords(Person=$Person, Role=$Role)

# Pick out only those rates whose Rate_Start is on or before this row's Date.
past_rates = [r for r in rates if r.Rate_Start <= $Date]

# Select the latest of past_rates, i.e. maximum by Rate_Start.
rate = max(past_rates, key=lambda r: r.Rate_Start)

# Return the Hourly_Rate from the relevant Rates record.
return rate.Hourly_Rate

With the new methods, it would be much simpler (and also much faster, when there are many rates for the same person):
rate = Rates.lookupRecords(Person=$Person, Role=$Role, sort_by="Rate_Start").find.le($Date)
return rate.Hourly_Rate

Thanks for the detailed explanation! I'm new to Grist and still learning the details - I didn't realize formulas only operated on underlying data and didn't have a way to use the current view. This all then makes more sense. I figured you'd all had time to think more deeply about it!  That current view record set must exist somewhere?  If so, it's too bad not to have access to it.  But this sounds great, looking forward to future versions.

@dsagal Looks like this issue is solved, doesn't it? :)
https://support.getgrist.com/newsletters/2024-07/#cumulative-functions-previous-next-and-rank
Thanks for that! :tada:

Yes! To conclude, here is the new function that addresses the question: PREVIOUS.
To use it to get a value from the previous row with an optional default, you can do this:
previous_record = PREVIOUS(rec, order_by=None)
previous_value = previous_record.FieldOfInterest if previous_record else default_value_to_use

For a common example, like calculating a cumulative amount, it could be a one-line formula. E.g. in a column named Cumulative of type Numeric (type matters to ensure that the default value of this column is 0 rather than None):
PREVIOUS(rec, order_by=None).Cumulative + $Amount

As for matching the view, order_by and group_by can be used to match the view's sorting and filtering.

Just discovered this today, and it's fantastic for trigger formulas! Thanks a lot :100:

authors: BillMarklyn dsagal fflorent prologic yohanboniface

repo: gristlabs/grist-core