text:
Problem: Nature can be a study program for beginner？

noob background:

see some scip
have base knowledge of compile Principles

You are referring to a study plan for compiler principles. I have provided my relevant learning roadmap (click here to jump to it) and you can choose to study the aspects that interest you. They are all good materials. In addition, the source code of Nature is very simple and contains many Chinese comments. If you need to practice and encounter difficulties, you can refer to the source code of Nature or communicate with me.
Another thing to consider is to clarify your learning goals. If you hope to find a related job, you can refer to the job requirements on recruitment websites and then conduct specialized learning, such as the common requirement of using and extending LLVM. The most important thing is to practice and further delve into the principles and essence in your work.
If you are studying compiler theory solely for personal interest, you can refer to the roadmap above for learning. For knowledge acquisition, I recommend documents, books, videos, etc. instead. Reading source code may not be particularly suitable for learning. Of course, even if it is for interest, applying what you learn is equally important.

just for interest. Thanks

repo: nature-lang/nature


text:
Conversion from G711 to wav produce loud ratcheting sound over good audio

DarylJones posted this same issue on CodePlex and did not get a good answer.
I am having the exact same issue. It does not matter if I convert my file using nAudio, Sox, Switch, Audacity, whatever, it comes out with the exact same sound as described by Daryl a loud ratcheting sound on top of my audio. The only way the audio comes out clean is when I play it or convert it in Wireshark or the PCAP2Wav Xplico demo online.
I really want to make nAudio work as it is a simple clean solution I can put into my app.
Wireshark shows this:
Payload type: ITU-T G.711 PCMU (0)
Sample Rate (Hz): 8000
I am using the following nAudio code from my app:
Stream tmpMemStream = new FileStream(inFileName, FileMode.Open, FileAccess.Read);
var waveFormat = WaveFormat.CreateMuLawFormat(8000, 1);
var reader = new RawSourceWaveStream(tmpMemStream, waveFormat);
using (WaveStream convertedStream = WaveFormatConversionStream.CreatePcmStream(reader))
{
WaveFileWriter.CreateWaveFile(outFileName, convertedStream);
}
tmpMemStream.Close();
Still I get that ratcheting noise over my phone call audio which is barely audible in the background.
To assist I have posted the wav file here so you can give it a listen:
https://services.streamwrite.com/images/output.wav
Any help would be greatly appreciated!
-Marco.

Probably the audio is wrapped in some kind of packet - you need to strip off any headers before decoding the audio - ulaw treats every single byte as a sample

MarkHeath that was my problem. Here are the details:
I take the network packet and pull the upd payload only and write that, without including the first 12 bytes (this was my issue), to a filestream file using WriteByte.  I save it as a .BIN file. Then run the nAudio conversion against that file. Those first 12 bytes were causing my ratcheting sound and Wireshark must have known to extract them.
Here is how I create the .bin file:
static public void WriteToFile(FileStream file, IpV4Datagram ip, UdpDatagram udp)
{
if(ip.Source.ToString() == voipSwitch)
{
for (int i = 12; i < udp.Payload.Length; i++ )
{
file.WriteByte(udp.Payload[i]);
}
}
} // WriteToFile
The nAudio code from my original post above works fine on that now.

source: gharchive/issue

authors: Pigweed markheath

repo: naudio/NAudio

license: MIT

license_type: permissive

license_source: github-api


text:
feat: use typescript, nextjs 14, tailwind 3.4.1

Update project to:

Hello @naufaldi please check this upgrade

source: gharchive/pull-request

repo: naufaldi/next-landing-vpn


text:
🛑 BarefootEdu is down

In 3f5eb0f, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in b8e6759 after 37 minutes.

repo: navadhiti/upptime


text:
🛑 BarefootEdu is down

In f08efce, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in a2f421e after 1 hour, 27 minutes.


text:
🛑 Harmony Bot Website is down

In 87c239b, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 3821f4b.


text:
🛑 Harmony Bot is down

In 43e45a8, Harmony Bot ($HARMONY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot is back up in fcb0a13.


text:
🛑 Harmony Bot Website is down

In 5c289e2, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in d056435.


text:
🛑 Harmony Bot Website is down

In 02423f2, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in c49716d.


text:
🛑 Harmony Bot Website is down

In d7ccf68, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 25510f3.


text:
🛑 Harmony Bot Website is down

In 5075c84, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in f00fe46.


text:
🛑 Harmony Bot Website is down

In f206169, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 1ae4096.


text:
🛑 Harmony Bot Website is down

In 66fbd16, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 79bbe28.


text:
Share we add link option for custom highlight?

This PR introduces the ability to link one highlight group to another within the plugin. This feature allows users to easily set up and manage complex highlight configurations.

@YuCao16 Can you add an example to the doc?

@navarasu I have added one example in section Customization. By the way, I'd recommend we link NeoTreeWinSeparator to VertSplit:
NeoTreeWinSeparator = { link = "VertSplit" }

This feature merged will make life of contributors and users a lot easier. For at least the following reasons:

Linking allows specifying only the highlight group name without the need to search in which table the similar highlight group is previously defined.
Linked highlight group can be safely defined before the group it is linked to.
Linked highlight groups means that they should be highlighted similarly. This allows users to tweak only one (original) highlight group and the others will also change how they are displayed.

authors: YuCao16 echasnovski navarasu


text:
Always appear NullPointerException!

No matter yesterday，but today ,when I call the mothed of .show  occurs NullPointerException.
code:
public void showDialog(Context context, String text) {
Dialog dialog = new Dialog(context, "Tip", text);
dialog.setCancelable(false);
dialog.setCanceledOnTouchOutside(false);
dialog.setOnAcceptButtonClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
}
});
dialog.show();
}
the error:
E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.NullPointerException
at com.gc.materialdesign.widgets.Dialog.onCreate(Dialog.java:62)
at android.app.Dialog.dispatchOnCreate(Dialog.java:355)
at android.app.Dialog.show(Dialog.java:260)
at com.gc.materialdesign.widgets.Dialog.show(Dialog.java:111)
at cn.cyapp.navyblue.base.BaseActivity.showDialog(BaseActivity.java:312)
at cn.cyapp.navyblue.ui.LoginActivity.onClick(LoginActivity.java:82)
at android.view.View.performClick(View.java:4204)
at android.view.View$PerformClick.run(View.java:17355)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)

Don't place dialog.show inside the event listener
Here example to try
Dialog dialog = new Dialog(mContext, "title","message");
dialog.show();
ButtonFlat acceptButton = dialog.getButtonAccept();
acceptButton.setText("ACCEPT");

He didn't put it inside the event listener
I have the same issue with just the following code that is placed in onStart() of a fragment.

Dialog dialog = new Dialog(v.getContext(), "Title", "Msg");
dialog.show();

authors: GreaseMonk djokobozinov merhong2012

repo: navasmdc/MaterialDesignLibrary

license_source: bigquery


text:
[DAO] Prevent duplicated insert

This is a performance fix.
Found out that remove votes are inserted even if the last vote is already a remove vote.
2020-05-19 14:31:24 ConnectBlock: Setting vote for voter 21037b9407bc0d49240cd7c7d4dc8ad3b37b182579965bdf5704df7110b864373954ac at height 32694 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:24 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32695 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:24 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32696 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:24 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32697 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:24 ConnectBlock: Setting vote for voter 21037b9407bc0d49240cd7c7d4dc8ad3b37b182579965bdf5704df7110b864373954ac at height 32698 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:24 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32699 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:24 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32700 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:24 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32701 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:25 ConnectBlock: Setting vote for voter 21037b9407bc0d49240cd7c7d4dc8ad3b37b182579965bdf5704df7110b864373954ac at height 32702 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:25 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32703 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:25 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32704 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:25 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32705 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:25 ConnectBlock: Setting vote for voter 210339137399a9a7b64eecdf8146934edc7b15303585f1f808f09412fdb30a9e85f2ac at height 32706 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:25 ConnectBlock: Setting vote for voter 21037b9407bc0d49240cd7c7d4dc8ad3b37b182579965bdf5704df7110b864373954ac at height 32707 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2
2020-05-19 14:31:25 ConnectBlock: Setting vote for voter 21037b9407bc0d49240cd7c7d4dc8ad3b37b182579965bdf5704df7110b864373954ac at height 32708 - hash: ba3d92eda47974199816132322a6231eddeffa869c3a0f3dbee0735930eddbfc vote: -2

This patch prevents that behavior. PR needs to get checked with stresser script before merging.

A new build of 5f5984785513a4b67e8365f7acc21c4f08c941eb has completed succesfully!
Binaries available at https://build.nav.community/binaries/prevent-dup-insert

Ran stress test for 100 block cycles.

@chasingkirkjufell can you give me a link to the script you used to test it?

@mxaddict yup, here you go. https://github.com/navcoin/navcoin-core/blob/master/contrib/stressor_dao.sh

authors: aguycalled chasingkirkjufell mxaddict navbuilder

repo: navcoin/navcoin-core


text:
How to change crop rect size?

Currently, crop frame will match parent, I wanna change crop rect size.
By the way, this project is awesome.
Thank you!

@belinwu
Hello :) Thank you for your interest of my project.
Answer of your question is I'm sorry.
This project don't support to change crop rect size.
Many other android image crop project change crop rect size but they can't move image.
So I make this project.
If you need to change crop rect size, I recommend aviary sdk.
That project is not complete open source. but I think that help you.
Thank you :D

@helloyako
Thank you for your reply. :)
I don't mean that change crop rect size by fingers.
I know crop rect is fixed, but I wanna config this fixed area size in xml to implement the following screenshot:

The crop rect's right and left have some transparent spaces.

@belinwu
Ah! I misunderstood your question. so sorry.
Currently,That you want can't be now.
I think it is not difficult work for your need.
But I don't have time so I can't immediately do that.
also you can fix that and pull request that It’s a good way.

@helloyako
Finally, you got me. :)
Thank you! :D

@belinwu
Thank you :)

@belinwu
Long time no see :)
Finally, I finished your request. (code change : cd174ba10c1798ec9280174060ac8cae5220c6d4)
I'm sorry to keep you waiting for long time.
I will include this spec in v1.2.0. but it's not released.
You can use 1.2.0-snapshot or develop branch source code.
snapshot version from maven
repositories {
    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
   compile 'com.naver.android.helloyako:imagecropview:1.2.0-SNAPSHOT'
}

To apply crop margin
<com.naver.android.helloyako.imagecrop.view.ImageCropView
            xmlns:imagecrop="http://schemas.android.com/apk/res-auto"
            android:id="@+id/image"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:visibility="visible"
            imagecrop:setInnerGridMode="on"
            imagecrop:gridInnerStroke="1dp"
            imagecrop:gridInnerColor="#66ffffff"
            imagecrop:setOuterGridMode="on"
            imagecrop:gridOuterStroke="1dp"
            imagecrop:gridOuterColor="#ffffff"
            imagecrop:gridLeftRightMargin="10dp"
            imagecrop:gridTopBottomMargin="10dp"/> <!-- see gridLeftRightMargin or gridTopBottomMargin -->

gridLeftRightMargin
When crop area width and crop view width is equal, use gridLeftRightMargin

gridTopBottomMargin
When crop area height and crop view height is equal, use gridTopBottomMargin

I hope it helps

@helloyako  : Would u please tell me
How to Change imagecrop:gridLeftRightMargin and imagecrop:gridTopBottomMargin in Java Code ??

@karimabdelhameed
I'm sorry I'm late answer
java code doesn't provide setGridLeftRightMagin(gridTopBottomMargin)
I will provice java code in next version

resolved v1.2.0

@helloyako Good job! Thank you!

authors: belinwu helloyako karimabdelhameed

repo: naver/android-imagecropview


text:
TimeStamp 생성 오류가 발생합니다.

Describe the bug
TimeStamp 필드를 가지고 있는 클래스를 givemeone메서드를 통해 생성시 오류가 발생합니다.
Your environment

version of Fixture Monkey: 1.0.14
version of Java/Kotlin: Java 21

Steps to reproduce
Tell us how to reproduce this issue.
Or provide us an example repository to check the bug
It would be very helpful if you could tell us the seed of the given test, which is provided in fixture-monkey-junit-jupiter module
픽스쳐 몽키는 아래와 같이 설정되어 있습니다.
FixtureMonkey.builder()
            .objectIntrospector(new FailoverIntrospector(
                    Arrays.asList(
                            FieldReflectionArbitraryIntrospector.INSTANCE,
                            BeanArbitraryIntrospector.INSTANCE,
                            BuilderArbitraryIntrospector.INSTANCE
                    )
            ))
            .defaultNotNull(true)
            .plugin(new JacksonPlugin())
            .plugin(new JakartaValidationPlugin())
            .plugin(new SimpleValueJqwikPlugin())
            .build();

문제가 되는 클래스입니다.
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class A {
    private LocalDateTime localDate;

    private Timestamp timeStamp;
}

실행 코드입니다.
fixtureMonkey.giveMeOne(A.class)

Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
아래와 같은 에러가 발생합니다.
Cannot deserialize value of type `java.sql.Timestamp` from Object value (token `JsonToken.START_OBJECT`)
 at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.hello.db.model.dto.A["timeStamp"])

.plugin(new JacksonPlugin())

에러상 JacksonPlugin의 문제인듯하여 위 코드를 지웠는데 지우면 또 다른 에러가 발생하네요.
18:15:07.793 [Test worker] WARN com.navercorp.fixturemonkey.api.type.TypeCache -- Failed to create fields in type java.sql.Timestamp.
18:15:07.880 [Test worker] WARN com.navercorp.fixturemonkey.api.introspector.FieldReflectionArbitraryIntrospector -- Given type class java.sql.Timestamp is failed to generate due to the exception. It may be null.
java.lang.IllegalArgumentException: The given type class java.sql.Timestamp has no matching constructor. parameterTypes: []
	at com.navercorp.fixturemonkey.api.type.TypeCache.lambda$getDeclaredConstructor$6(TypeCache.java:128)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
...이하생략

당연히 해당 필드를 localDateTime으로 변경시에는 오류 없이 잘 처리됩니다.
기존 TimeStamp 오류가 있다는 issue글이 동일하게 있길래 참조하였는데 ArbitraryIntrospector 를 사용하라는 가이드가 있었지만.. 해당 기능의 링크된 글이 사라져서 없고, kotlin 환경이 아닌 java환경이라 적용하는데 어려움이 있어 문의드려요.
확인부탁드립니다~

@mintheon
안녕하세요.
Timestamp를 생성하기 위해서는 말씀주신 것처럼 Timestamp를 생성해주는 ArbitraryIntrospector을 새로 정의해야 합니다.
아래와 같이 간단하게 정의할 수 있습니다.
FixtureMonkey.builder()
	.pushExactTypeArbitraryIntrospector(
		Timestamp.class,
		context -> new ArbitraryIntrospectorResult(
			CombinableArbitrary.from(() -> new Timestamp(Arbitraries.longs().sample())))
	)
	.build();

혹시 문제가 있으시면 말씀해주세요!
감사합니다

감사합니다~

authors: mintheon seongahjo

repo: naver/fixture-monkey


text:
Running controller in HTTPS instead of HTTP

Hi,
How to run the controller in the HTTPS port rather than on HTTP? If we switch to HTTPS will there be any impact?
Regards,
Ajay

I think it's possible to locate the nginx or apache enabling HTTPS... But I haven't tried yet.

I want to use https to call my api,and hope you improve it to support https, thank you very much~

authors: ajaycsse junoyoon mashuangwei

repo: naver/ngrinder


text:
v0.2.0 build fail with docker fpm:7.3-fpm-apline

g++ -I. -I/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext -DPHP_ATOM_INC -I/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/include -I/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/main -I/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/depends/json/include -DHAVE_CONFIG_H -g -O2 -c /src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/pinpoint_helper.cpp  -fPIC -DPIC -o .libs/pinpoint_helper.o
In file included from /src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/pinpoint_helper.cpp:22:
/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/pinpoint_helper.h:48:9: error: 'uint' does not name a type; did you mean 'int'?
uint block_size;
^~~~
int
/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/pinpoint_helper.h:49:9: error: 'uint' does not name a type; did you mean 'int'?
uint l_ofs; // The continuous buffer left offset in data (l_ofs)--------------(r_ofs)**
^~~~
int
/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/pinpoint_helper.h:50:9: error: 'uint' does not name a type; did you mean 'int'?
uint r_ofs; // The continuous buffer right offset in data
^~~~
int
/src/pinpoint-c-agent-0.2.0/PHP/pinpoint_php_ext/pinpoint_helper.h:63:11: error: 'uint' does not name a type; did you mean 'int'?
const uint c_resident_size;
Does it not support this? docker image 7.3-fpm-alpine

Nice catch!
I will check this version.

Pls goto https://github.com/naver/pinpoint-c-agent/tree/v0.2.0.rc

authors: eeliu tongv

repo: naver/pinpoint-c-agent


text:
WebSphere exception

help, I' ve no idea...
2020-06-01 19:33:08 INFO  Failed to servlet request event handle.
java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1150)
at com.navercorp.pinpoint.plugin.websphere.IRequestParameterExtractor.splitQuery(IRequestParameterExtractor.java:76)
at com.navercorp.pinpoint.plugin.websphere.IRequestParameterExtractor.extractParameter(IRequestParameterExtractor.java:46)
at com.navercorp.pinpoint.plugin.websphere.IRequestParameterExtractor.extractParameter(IRequestParameterExtractor.java:31)
at com.navercorp.pinpoint.plugin.websphere.MethodFilterExtractor.extractParameter(MethodFilterExtractor.java:42)
at com.navercorp.pinpoint.plugin.websphere.MethodFilterExtractor.extractParameter(MethodFilterExtractor.java:27)
at com.navercorp.pinpoint.bootstrap.plugin.request.util.HttpParameterRecorder.record(HttpParameterRecorder.java:40)
at com.navercorp.pinpoint.bootstrap.plugin.request.ServletRequestListenerInterceptorHelper.destroyed(ServletRequestListenerInterceptorHelper.java:159)
at com.navercorp.pinpoint.plugin.websphere.interceptor.WebContainerHandleRequestInterceptor.after(WebContainerHandleRequestInterceptor.java:94)
at com.navercorp.pinpoint.bootstrap.interceptor.ExceptionHandleAroundInterceptor.after(ExceptionHandleAroundInterceptor.java:49)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1876)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)

Thanks for your reporting
https://github.com/naver/pinpoint/blob/master/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/IRequestParameterExtractor.java#L75
private Map<String, String> splitQuery(String query) throws UnsupportedEncodingException {
        Map<String, String> query_pairs = new LinkedHashMap<String, String>();
        if (query != null) {
            String[] pairs = query.split("&");
            for (String pair : pairs) {
                int idx = pair.indexOf('=');
                // if (idx == -1) ~~~~  <---- The index check is missing.
                query_pairs.put(URLDecoder.decode(pair.substring(0, idx), "UTF-8"), URLDecoder.decode(pair.substring(idx + 1), "UTF-8"));
            }
        }
        return query_pairs;
    }

Thanks for your reporting
https://github.com/naver/pinpoint/blob/master/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/IRequestParameterExtractor.java#L75
private Map<String, String> splitQuery(String query) throws UnsupportedEncodingException {
        Map<String, String> query_pairs = new LinkedHashMap<String, String>();
        if (query != null) {
            String[] pairs = query.split("&");
            for (String pair : pairs) {
                int idx = pair.indexOf('=');
                // if (idx == -1) ~~~~  <---- The index check is missing.
                query_pairs.put(URLDecoder.decode(pair.substring(0, idx), "UTF-8"), URLDecoder.decode(pair.substring(idx + 1), "UTF-8"));
            }
        }
        return query_pairs;
    }

The version of pinpoint I used is 2.0.1.  Hasn't it been solved?

repo: naver/pinpoint


text:
Mongo db fix

remove Json from common
enhance performance

Codecov Report

Merging #4742 into master will decrease coverage by 0.05%.
The diff coverage is 29.54%.

@@            Coverage Diff             @@
##           master    #4742      +/-   ##
==========================================
- Coverage   40.42%   40.37%   -0.06%
==========================================
  Files        2575     2574       -1
  Lines       78371    78215     -156
  Branches    10646    10611      -35
==========================================
- Hits        31685    31581     -104
+ Misses      43799    43754      -45
+ Partials     2887     2880       -7

Impacted Files
Coverage Δ

...rofiler/context/provider/TraceContextProvider.java
100% <ø> (ø)
:arrow_up:

...pinpoint/profiler/context/DefaultTraceContext.java
56.75% <ø> (+0.91%)
:arrow_up:

...filer/context/module/ApplicationContextModule.java
100% <ø> (ø)
:arrow_up:

...avercorp/pinpoint/web/service/SpanServiceImpl.java
0% <0%> (ø)
:arrow_up:

.../interceptor/MongoDriverConnectInterceptor3_7.java
0% <0%> (ø)
:arrow_up:

...m/navercorp/pinpoint/plugin/mongo/MongoConfig.java
0% <0%> (ø)
:arrow_up:

...p/pinpoint/test/PluginVerifierExternalAdaptor.java
0% <0%> (ø)
:arrow_up:

.../mongo/interceptor/MongoCUDSessionInterceptor.java
0% <0%> (ø)
:arrow_up:

...ercorp/pinpoint/common/util/StringStringValue.java
0% <0%> (ø)
:arrow_up:

...go/interceptor/MongoReadPreferenceInterceptor.java
0% <0%> (ø)
:arrow_up:

... and 27 more

Continue to review full report at Codecov.

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

authors: RoySRose codecov-io


text:
Tooltip labeling

Description
Resolves #3067
Really liked how MUI handled this interaction:
https://mui.com/material-ui/react-tooltip/#accessibility
By default now, the child element (i.e Button that Tooltip wraps around) will get title-attrb set to the Tooltip content when closes. When open, it will remove title and use aria-describedby. By doing this the Tooltip will act as an extra description for the element, without overriding the button-content itself.
If the user sets describeChild={false} now, the child element will instead get aria-label set to the Tooltip-content. This will remain static between open-states. By doing this the Tooltip will always act as the label/name for the child-element. This is especially useful for Icon-buttons and similar elements.
After merge i will update Tooltip docs with some notes on this prop and how to use it.
Discussion
I have now set the prop describeChild to default True, closer to todays implementation to reduce breaking changes.  Issue is it still adds a small potential "breaking" change since
title attrb is added

Wrong use of tooltip today, example those who print "kopiert" or a state update in the tooltip today will incorrectly label the element by default
Might break some tests based on how they were locating elements before (low chance i recon)

aria-describedby is not merged with child-prop

If child-element has aria-describedby, it will not merge with Tooltip aria-describedby. Might argue this shouldn't have been implemented in the first place, but might break some tests

Should describeChild be default false?
Since adding this change might have some breaking changes anyways, should it just be set to default false? All current Tooltip child-elements will get an aria-label with the Tooltip contents, but might argue that would be an improvement all around except in a few cases. Some tests might break, and some teams will have to update their Tooltip. Does this change fit into one of those small major-updates we have discussed?

I'll have to check more when I get to the office, but looks good so far. Also if the choice is between breaking change anyway vs breaking change + improvements I'd go for the latter 🙌

Do i understand this correct: The question is whether describeChild should be false or true by default on Tooltip?
If describeChild is set to true by default, it's less breaking:

a button "kopier meg" with a (bad) tooltip "kopiert!" will read "kopier meg kopiert!", so you also get the text content of the button read. Should be used when the button has text content.

If describeChild is set to false by default, it potentially has more breaking changes:

a button "kopier meg" with a (bad) tooltip "kopiert!" will only read "kopiert!", so it high jacks the screen reader content.

Do i understand this correct: The question is whether describeChild should be false or true by default on Tooltip?
If describeChild is set to true by default, it's less breaking:

a button "kopier meg" with a (bad) tooltip "kopiert!" will read "kopier meg kopiert!", so you also get the text content of the button read. Should be used when the button has text content.

If describeChild is set to false by default, it potentially has more breaking changes:

a button "kopier meg" with a (bad) tooltip "kopiert!" will only read "kopiert!", so it high jacks the screen reader content.

Yep thats a perfect summary of change/issue 💯

My only "concern" about setting it to false by default, is that devs might not remember (or know) to change it to true when needed. Having it true by default will sometimes lead to repeated info for screen readers, but at least they will not miss any info? But I guess that's an edge case.
Also, what about voice control? With describeChild=false it would be very important that the text in the Tooltip starts with the name text as the button does. (Btw, how is a11y assured for voice control users when only an icon is visible?)

Having it true by default will sometimes lead to repeated info for screen readers, but at least they will not miss any info? But I guess that's an edge case.

Based on the implementations looked through, i would argue that more info is left out for the screen-readers today with the avid use of Tooltip around non-interactive elements. By setting default to false, those cases would be "fixed" to a certain degree. But i guess it's a give and take situation where both options with either default true or false each have some positives and negatives. Adding some more specific documentation with a post or two on Slack while keeping default to true might be the least intrusive tho.

Also, what about voice control? With describeChild=false it would be very important that the text in the Tooltip starts with the name text as the button does. (Btw, how is a11y assured for voice control users when only an icon is visible?)

Good question, i can do some testing and ask Morten 👍

@HalvorHaugan Did some testing with Mac voicecontrols:
Sandbox for reference
https://github.com/user-attachments/assets/db7ccf18-2a41-4311-8c54-c541079faea9

For icons using title or aria-label acts the same
For buttons with text and aria-label, aria-label takes precedence
For buttons with text and title, text takes precedence

Since its shows a tooltip with the "accessible name" that is needed to trigger button i can't see it being a problem. Unless... the text is super long. As for that case, there is a setting where instead of labels, each element gets a number to remove this problem all together.
https://github.com/user-attachments/assets/c5b4bebf-b926-4546-90e7-272497bfe171
This is ofc only based on my testing so will need to talk to someone more experienced for how this is actually done.

As long as the user follows this guideline: https://www.w3.org/TR/WCAG22/#label-in-name when combining a visual label with a tooltip (aria-label) it should pass requirements. This is not something we can control, but will need to document on the Tooltip documentation.

As long as the user follows this guideline: https://www.w3.org/TR/WCAG22/#label-in-name when combining a visual label with a tooltip (aria-label) it should pass requirements. This is not something we can control, but will need to document on the Tooltip documentation.

Yes, I think my point was that it's not intuitive that the tooltip "overrides" the content by default. But I guess it's fine since this is typically not a problem based on how it's normally used, combined with good docs 👍

authors: HalvorHaugan JulianNymark KenAJoh larseirikhansen

repo: navikt/aksel


text:
legg til mottaker for altinn reportee i produsent api

Denne PR legger altinn reportee til i produsent api både i graphql domene og database modell
Neste steg blir å implementere tilgangsstyring i bruker api for denne mottakertypen

authors: kenglxn peterbb


text:
Deploy av branch new-soknad med tag 20220408140225-6949609

6949609a7d1c47f7c8639831d9c697d9115b4046

/promote dev-gcp

repo: navikt/foreldrepengesoknad


text:
Deploy av 1.1_2022.01.27.104640-bf8be6f

bf8be6fdf3d52836c60c055d22f2c6c18680f9c9

/promote dev-fss

/promote prod-fss

authors: espenwaaga tor-nav

repo: navikt/fp-frontend


text:
clear varsling status vha poll av kontaktinfo

en polling service som har ansvar for å schedulere polling via tabell og utføre pull av kontaktinfo
varslingstatus repository tar hensyn til om kontaktinfo har blitt pollet og finnes
Gjenstår cleanup av rader, se todo i koden

kom nettopp på noe. Det er nok for virksomheter å ha kofuvi-info på hovedenhet, så det må jo ikke være på underenheten. Må kanskje ta finne fram orgnr på hovedenhet også, og så sjekke begge to i loopen 🤔

kom nettopp på noe. Det er nok for virksomheter å ha kofuvi-info på hovedenhet, så det må jo ikke være på underenheten. Må kanskje ta finne fram orgnr på hovedenhet også, og så sjekke begge to i loopen 🤔

bra du kom på dette.
fikset her d4db85d6db028fc3a8820e6be66fbfdebee83536

repo: navikt/min-side-arbeidsgiver-api


text:
(TypeScript) Endre type på staten til Knapp(er): void --> {}

Per nå fungerer det ikke å bruke Knapp uten å overstyre dette i typedeklarasjonen.

Du kunne ikke i samme pullrequest også fikset slik at man fikk tilgang til prosene til knappen i tillegg? :) Husker ikke om det er HTMLButtonProps eller HTMLInputProps du skal bruke der. Regner med dere trenger disse, siden det er måten du får tak i ting som f.eks. onClick.

La til commit på det nå. Har foreløpig kun sjekka at onClick funker med denne utvidelsen (og funka ikke tidligere) - er det noe annet som burde sjekkes?

@etse Mulighet for å merge denne også? :)

authors: etse nemanjaaks vegarsti

repo: navikt/nav-frontend-moduler


text:
Add UseShellExcute flag

The UseShellExcute is useful when launching URL which launches the default browser

done in #10

repo: naz-hage/launcher


text:
🛑 ESTAT is down

In 129b2a7, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 89790ca.

repo: nbbrd/sdmx-upptime


text:
🛑 ESTAT is down

In faca38b, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 9b4734c.


text:
🛑 ISTAT is down

In 0c6678e, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 12689df.


text:
🛑 ISTAT is down

In 7398668, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 503e1ea.


text:
🛑 ESTAT is down

In c26dfa9, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 64d1dd1.


text:
🛑 NB is down

In 6824c6c, NB (https://data.norges-bank.no/api/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NB is back up in 2777453 after 2 days, 20 hours, 46 minutes.


text:
🛑 ESTAT is down

In 5e08010, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 7ed32cb after 14 minutes.


text:
🛑 IMF is down

In 0531836, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in f29afdc after 6 minutes.


text:
🛑 ESTAT is down

In c1ae280, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 859de17 after 5 minutes.


text:
🛑 NBB is down

In 41d6de1, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 890 ms

Resolved: NBB is back up in 6f53e5c after 23 minutes.


text:
🛑 ISTAT is down

In a8f3528, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 5efcd36 after 5 minutes.


text:
🛑 IMF_SDMX_CENTRAL is down

In 647f1e7, IMF_SDMX_CENTRAL (https://sdmxcentral.imf.org/ws/public/sdmxapi/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF_SDMX_CENTRAL is back up in d5c95ec after 5 minutes.


text:
🛑 IMF is down

In a37ad02, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in 8983898 after 25 minutes.


text:
🛑 ESTAT is down

In ed69252, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 37d1d6d after 6 minutes.


text:
🛑 ISTAT is down

In 47e9b2e, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 7a28be9 after 7 minutes.


text:
🛑 ISTAT is down

In c9e4e91, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 2723295 after 17 minutes.


text:
🛑 ISTAT is down

In ebd7d71, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in e6477c6 after 4 minutes.


text:
🛑 ESTAT is down

In 03af72a, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 7be1d45.


text:
🛑 NBB is down

In 01a4c02, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 574 ms

Resolved: NBB is back up in 464d26e.


text:
Support for exit nodes

Fixes #60

Use Fixes, not Closes.
Closes is for when the commit doesn't fix the issue, but there's nothing else to do for the issue (e.g. just adding a regression test because the issue was already fixed).

Fixed.

repo: nblockchain/NOnion


text:
[] in N

I have recently been informed that the way to access a list at an index in N is
let x = list |> itemAt(int) |> default([])

This is obviously bad and terrible and bad. For reference, most languages have it like
let x = list[int] ?? []

which I believe to be much cleaner, especially for something that comes up as often as getting the index of a list.
If you want to be even cooler, you can be like kotlin and have [] be an overload for .get() similar to how + is an overload for .plus() and == for .equals(), etc. which allows it to work for maps and other data structures.
val x = mapOf("blah" to "wow")
val y: String? = x["blah"]
val z: String? = x["wow"]

You can keep the current behavior of returning a maybe[] as well.

ممكن حسابات فري فاير

For reference,

Discussion starts https://discord.com/channels/710932856251351111/710936824121655396/861079050239606834
We consider the idea starting https://discord.com/channels/710932856251351111/710936824121655396/861082889051045910

To avoid an ASI problem like what happened in JS, we should disallow a newline between the value and the square brackets:
// Not valid syntax
let item = list
  [index]

This is to avoid an ambiguity like
// Is this the same as `let item = list; print([index])` or `let item = print(list[index])`?
let item = list
[index]
  |> print

We can consider this to be a binary operator, so it could accept the following types:
[t] list[t] -> int -> maybe[t]
[k, v] map[k, v] -> k -> maybe[v]
[t] maybe[list[t]] -> int -> maybe[t]
[k, v] maybe[map[k, v]] -> k -> maybe[v]

The first two will allow it to be used on lists and maps, and the latter two are just for convenience for chaining:
// Where `grid` is of type `list[list[int]]`
let cell = grid[y][x]
// Note that `grid[y]` returns a `maybe[list[int]]` but we can still use the `...[...]` operator on it

Is there a nicer name for this operator? I think Python calls it "subscripting"

Ooh, I like the idea for [] to also chain on maybes. Would be a step up from
obj?.[heavily]?.[nested]?.[property]

Presumably, we can't allow a newline between the value and the [...] because it'd be a syntax ambiguity
let first = list
[0]
  |> print

But should we allow a newline if it's inside parentheses? Like,
let first = (
  listWithARemarkablyLongName
    [anIndexWithASimilarlyLongName]
) |> print

Oh, should we also support indexing characters from strings?

authors: SheepTester bayrongutierrez ky28059

repo: nbuilding/N-lang


text:
Korean Translation

Here's my fork: https://github.com/BENBENNBEN/covid-19
Here's the link to check the progress: https://benbennben.github.io/covid-19/
Please let me know if anyone wants to work on this together,

Done :)


text:
Update enumerated values in Publication "Data Type" field to include all assay types

Information
Proposed change:
The publication "Data Type" field doesn't seem to include an up-to-date enumerated list of assay type, which seems to be:
10x Visium
Assay
Bulk DNA
Bulk Methylation-seq
Bulk RNA-seq
CODEX
CyCIF
ExSEQ
H&E
HI-C-seq
IMC
Imaging
LC-MS3
MERFISH
MIBI
MxIF
RPPA
RareCyte Orion
SABER
Slide-seq V2
mIHC
scATAC-seq
scRNA-seq

Dicussion link:
Link to where the changes have been discussed/approved eg Closed RFC, Service desk ticket, DCC coordination/operations agenda

How important is this feature?
Select from the options below

🌋 Important - it's a blocker and can't do work without it

When will use cases depending on this become relevant?
Select from the options below

Short-term - 2-4 weeks

Additional context
Add any other context or screenshots about the feature request here
Implementation checklist

[ ] Branch created
[ ] HTAN.model.csv editied and pushed
[ ] HTAN.model.jsonld validated and created by Github action
[ ] PR opened
[ ] PR approved
[ ] PR merged into main
[ ] New Component added to ncihtan/HTAN-data-curator (if required)
[ ] DCA update requested
[ ] DCA updated

@alexeliotlash thank you for your patience as I pick this back up.... I want to make sure we are clear as to the expectations for these valid values.
Do we want

A list of components (eg scRNA-seq Level 1, scATAC-seq Level 3)
a list of top level components (eg scRNA-seq, scATAC-seq, Imaging)
or a more granular list combined from top level component and platform/imaging tech where captured (eg from Platform or Imaging Assay Type attributes.

I think a list of top-level components would be fine.  Thanks

authors: adamjtaylor alexeliotlash

repo: ncihtan/data-models


text:
Add NC RiOT logo to partner page

Logo posted in Sponsorship/Sponsor Logo folder

@zachambrose - can you share what level they should be at?

added to Gold level on Partners page per Zach, added to "Our Sponsors" on home page as well

Thanks, Jennifer!
On Thu, Jan 3, 2019 at 11:42 AM jtawes notifications@github.com wrote:

added to Gold level on Partners page per Zach, added to "Our Sponsors" on
home page as well
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ncopenpass/NCOpenPass/issues/1383#issuecomment-451201445,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ6IxvXVUSIbNLNWoRMcC_MyFddgrECaks5u_jL-gaJpZM4Zj2Tt
.

--
Zach Ambrose
zambrose@AmbroseStrategy.com
919-438-2752 (office)
919-616-9969 (cell)
www.AmbroseStrategy.com
https://www.linkedin.com/in/zambrose

authors: jcwlib jtawes zachambrose

repo: ncopenpass/NCOpenPass


text:
Deal with case no result is returned

Not necessary to check the color argument in the loop every time

Thanks !

Actually, I messed up the committed message. Sorry about it.

No problem, we can keep this commit message ;)

authors: Xuefeng-Zhu ncrocfer

repo: ncrocfer/clf

license: mit


text:
webdav: add hash support to owncloud and nextcloud

can you add hash support.
pasting from  https://github.com/ncw/rclone/issues/2373
It seems that they added file hash recently, but they forget about the documentation.
I only found that (and its others references) : https://github.com/owncloud/client/issues/6153
It is also possible to do an integrity check (file hash) on upload : https://doc.owncloud.org/desktop/2.4/architecture.html#upload
But it is another subject.
For nextcloud documentation, there is a property '{http://owncloud.org/ns}checksums':
https://docs.nextcloud.com/server/14/developer_manual/client_apis/WebDAV/index.html
maybe the requested hash

I also asked some questions on the owncloud forum and there were lots of helpful answers
https://central.owncloud.org/t/reading-hashes-md5-or-sha1-via-webdav/14348

It looks like the checksums can be read at the same time rclone is doing the directory listings which is very helpful.

repo: ncw/rclone


text:
Use overrideCracoConfig

You don't need to merge it, I wanted to show you that you could also use overrideCracoConfig to add a babel plugin

Oh awesome! I was a bit confused about how that works, but that makes a lot of sense now! Thanks!

Hi @patricklafrance, just wanted to mention that this code actually has a bug in this line:
const { babel: { plugins = [] } = {} } = cracoConfig;

This does initialize a new plugins array if it didn't already exist at cracoConfig.babel.plugins, but it doesn't actually modify the original cracoConfig variable, it just returns an empty array.
You actually need to call this:
if (!cracoConfig.babel) cracoConfig.babel = {};
if (!cracoConfig.babel.plugins) cracoConfig.babel.plugins = [];

That will modify the data in the original cracoConfig so that the changes to plugins will be saved when you call return cracoConfig.

@ndbroadbent good catch, sorry about that!

authors: ndbroadbent patricklafrance

repo: ndbroadbent/craco-antd


text:
Feature Request - 2FA Notification script

Hi,
Would it be possible to get an additional command line option to notify when 2FA has expired via an external script? e.g. --notification-script /path/to/my/script/notify.sh
I currently use Prowl for iOS push notifications so don't have e-mail configured for external relay. My script would just contain:
curl https://api.prowlapp.com/publicapi/add -F apikey=$APIKEY -F application="icloud_photos_downloader" -F event="2FA Expired" -F priority="2" -F description="Two factor authentication has expired. Please renew."
This method could also be used with other push notification services such as Pushover, PushBullet, NotifyMyAndroid etc
Thanks.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Hey, that's a great idea! I like --notification-script. Would you be able to submit a PR with this change? I think you'll just need to add a @click.argument to icloudpd/base.py, and then add a notification_script argument at the bottom of def main(. Then you'll need to add:
import subprocess

# ...

subprocess.call([notification_script])

Hope that helps!

I think you've over-estimated my Python skills, which I can sum up in two words... 'hello world!' lol
I should be able to work it out, it may take a while though. I'll see what I can come up with this afternoon and report back.

Well I've got something that's working on my system...
https://github.com/boredazfcuk/icloud_photos_downloader/blob/master/icloudpd/base.py
Does that look right to you?

Awesome thanks testing that out! I merged those changes in and added a test for it. Released version 1.3.3 that includes the --notification-script option

authors: boredazfcuk ndbroadbent


text:
In NiceCXNetwork remove get_edge_attribute_objects() since it always raises Warning (which is incorrect behavior anyways)

In NiceCXNetwork remove get_edge_attribute_objects() since it always raises Warning (which is incorrect behavior anyways)

Fixed with commit in chrisdev


text:
Feature: copy to clipboard timestamps

Closes https://github.com/near/near-explorer/issues/997
@telezhnaya Please let me know if I forgot to add a button somewhere.

From the user perspective, it looks great to me. Thank you!

authors: luixo telezhnaya

repo: near/near-explorer


text:
Tree view for topology

Having a tree view for a topology would be really helpful.

https://www.npmjs.com/package/archy

repo: nearform/nscale-client


text:
[BUG] - JupyterHub 3 failing on Digital Ocean

Describe the bug
Jupyterhub seems unreachable (Service Unavailable) but other services (except for dask-gateway) are available at their respective endpoints. Whats more, the hub pod logs don't seem to show anything wrong and I can run http://localhost:8081/hub/api successfully from within the running pod.
Expected behavior
JupyterHub should be running.
OS and architecture in which you are running Nebari
Deploy from MacOS
How to Reproduce the problem?
Deploy Nebari on Digital Ocean from the develop branch.
Command output
No response
Versions and dependencies used.
No response
Compute environment
Digital Ocean
Integrations
No response
Anything else?
No response

The network policy seems to be getting in the way. When I delete it from the cluster, I can access JupyterHub. This network policy appears to be coming from the z2jh helm chart but we have hub.networkPolicy.enabled = false and singleuser.networkPolicy.enabled = false...

repo: nebari-dev/nebari


text:
Calculated considering acceleration for SCAN

Checks

[ ] Debugging completed
[x] Please debug me

Related Issue
This PR closes #284

Codecov Report
Base: 88.96% // Head: 88.44% // Decreases project coverage by -0.52% :warning:

Coverage data is based on head (21a6f15) compared to base (dfe757c).
Patch coverage: 41.30% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #293      +/-   ##
==========================================
- Coverage   88.96%   88.44%   -0.53%
==========================================
  Files         116      116
  Lines        4504     4534      +30
==========================================
+ Hits         4007     4010       +3
- Misses        497      524      +27

Impacted Files
Coverage Δ

neclib/coordinates/optimize.py
91.17% <ø> (ø)

neclib/coordinates/path_finder.py
62.02% <25.00%> (-31.86%)
:arrow_down:

tests/coordinates/test_path_finder.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

repo: necst-telescope/neclib


text:
Support (or suggested workaround) for syntactic macros (macropy/mcpy)

Syntactic macros implemented in macropy (or a simplified version mcpy) allows code transformations after parsing the code and before compiling it.
One of the transformations allows to process code inside a with block:
with MACRO_NAME:
    code to transform

When trying to meassure the coverage of such a code the first and last line are skipped (not always both, depends on the tool, macropy or mcpy, but always at least one).
One solution for this is to just exclude these lines from coverage. I can do it and is ok.
But I was wondering if there is a better solution.
Here is the simplest example I could find:
try_mymacros.py (the script you run)
import macropy.activate
import application

mymacros.py (an empty macro, it doesn't matter what the macro does)
from macropy.core.macros import Macros

macros = Macros()

@macros.block
def document(tree, **kw):
    return tree

application.py (the important code)
from mymacros import macros, document

with document:  # <--- Not covered?
    a = 1
    """ docu b """  # <--- Not covered?

print()

Note that removing the print() statement the docstring is reported as covered.
Also note that removing both the print() and a = 1 all the code is reported as covered.
I created two examples with makefiles and more information as testbed for this issue:

Example using macropy
Example using mcpy

I would like to see this, too. I'd like to use macros more in Python (only when actually appropriate!), but tooling support is needed.
Based on my work on unpythonic, my semi-educated guess about why this could happen is that in MacroPy, the macro expander compiles the with statement away. It depends on each individual macro whether the expanded code contains any AST nodes that contain the line number of that with statement.
The default approach, which works for many (but not all) macros, is to just not care about this in the macro implementation, and let MacroPy fix up (as a postprocessing step) the missing mandatory information, particularly the line number. It's pretty good at that, but sometimes it misses, and you end up with a compile error until you (the macro author) figure out where it's going wrong, and manually ast.copy_location some line number into the offending nodes.
I haven't tried mcpy, but as of 2020, to me it seems dead?
On a side note, there is no longer strictly a need to write a wrapper script separately for each macro-enabled Python program using MacroPy. There's a generic macropy3 bootstrapper in the separate add-on imacropy, which performs this role.
(Disclaimer: I'm the author of imacropy and unpythonic, so this is 50% a shameless plug and, on the imacropy part, hopefully 50% a genuinely helpful suggestion.)

The default approach, which works for many (but not all) macros, is to just not care about this in the macro implementation, and let MacroPy fix up (as a postprocessing step) the missing mandatory information, particularly the line number. It's pretty good at that, but sometimes it misses, and you end up with a compile error until you (the macro author) figure out where it's going wrong, and manually ast.copy_location some line number into the offending nodes.

I think the problem is more complex. The same macros show different coverage according to the Python version. I was using Python 3.7.3, when switched to 3.8.5 the decoration macros started to show the decorator as not covered. I was able to fix it by adding line information to the AST. But when I tried to do the same with the with macros I found things aren't that easy. I tried various things to report AST elements that covered the with, most failed. One bizarre way that worked was:

Adding the correct line number to all the AST elements in the body of the with and
Inserting a dummy Expr (a call to id()) at the second line of the with body with the line information of the original with sentence (with +  body) to this line. Note that mcpy does it for all the AST elements in the body, but this doesn't work, the with line is reported as covered, but not the last line of the body.

I also learned that the .coverage file generated using Python 3.7 + Coverage 4.5.2 can't be analyzed on a system using Python 3.8 + Coverage 4.5.2 (Debian stable vs Debian testing). You get some bizarre things, like decorator lines reported as uncovered.
I know nothing about Coverage internals, but the problems seems to be related to it.

I haven't tried mcpy, but as of 2020, to me it seems dead?

May be, but when I tried to migrate my two macros (yes, just 2) to MacroPy I found two problems:

The way that decorator macros works on classes is different, and IMHO less interesting. On MCPY you get the AST for the class (ClassDef) parsed, but not fully "analyzed" (fuzzy term, don't know what exactly is the difference). So I can add code to be executed before the class, in particular an import needed for the rest of the macro and that contains the class parent. Using MacroPy the class gets "analyzed" and I get an error about the unknown parent. Of course it can be solved, but then the macro is less effective, the user must manually add the import.
After adapting all I found that MacroPy made my script three times slower. The performace penalty is huge. Of course MCPY is slower than doing what the macro does by hand, but is a small penalty. I was hopping it to be the other way round because with MCPY you must avoid getting CPython cache files for the files that uses macros, but MacroPy claims to support CPython.
MCPY is really small, in fact as small that I finally incorporated it to my project (so I can do the above mentioned trick to make Coverage report the real coverage)
MCPY is simpler. No need for wrapper script (thanks for the imacropy hint), you can enable and disable it any time you want and no need for "macro" in the file containing the macros.

The speed penalty made me abandon the idea of migrating to MacroPy. I prefer spending a little bit more time writing the macros.

That's interesting. Thanks for the additional details!
My two euro-cents are, naturally, just from my own experience. unpythonic is essentially a language extension that comes with a bunch of expr and block (with) macros, some of them fairly complex, but my only decorator macros are a family of "let-over-def" (cf. let-over-lambda) constructs, which are for decorating functions, not classes.
What I do know is that if you repurpose with blocks to let the user control the operation of your block macro (so that within the lexical extent of a use site of your block macro, with blocks matching some pattern are essentially commands for it) and compile those away, those lines won't get reported as covered. That's no major surprise, though. An example of this is the code splicer let_syntax (AST transformers, tests).
The only other coverage issue I've had specifically with block macros is the with line being reported as not covered, so our codebases may be doing something differently. OTOH, we also have different Python and Coverage versions - I'm running my coverage analyses on Python 3.6.9 with Coverage 5.2.1.
Another coverage oddity I've encountered, in code using MacroPy, is that the module docstring of a module that uses macros is reported as not covered. I think MacroPy might be doing something here, but I'd need to re-read the import handler in its source to be sure.
Regarding mcpy:

Sounds nice.

Hmm, interesting. I think about two years ago @azazel75 was planning something related to making MacroPy faster, but I don't know whether he found the time to do it, and if the experiment panned out or not.

Small and vendorable sounds nice. In that case its maintenance status doesn't really matter (in the local sense, that is; globally, the community would obviously benefit from centralized maintenance), as long as it's not too difficult to update yourself when something eventually breaks.

I think MacroPy's macro registry (@macros.expr et al.) is a feature. For example in unpythonic, quite a few macros come in both expr and block variants, so being able to give these the same name is very useful. This problem arises because Python makes a distinction between statements and expressions, and Python's expression sublanguage is missing some features the full language has, so at least if you're doing anything language-extension-ish, you'll often end up needing both variants.

Is there any material on mcpy, e.g. a user manual or similar? I have a ton of questions, but I don't want to derail the discussion here further. :)

Is there any material on mcpy, e.g. a user manual or similar? I have a ton of questions, but I don't want to derail the discussion here further. :)

None that I'm aware. But the code is much simpler than MacroPy, you should be able to fully understand all its functionality. I don't have much experience with Python and was able to understand how to modify it ;-)

Thanks. I actually just read through all of mcpy's source code, and... wow. That's compact and elegant.
Doing so also answered my most pressing questions. Right now I can't just drop in mcpy to compare coverage results with it vs. MacroPy, because mcpy - being minimalistic by design - is missing a couple of features my macro code depends on.
Summary of findings (as of September 2020, in case someone ends up reading this much later):

No support for the new AST node types added in Pythons 3.6 and 3.8; could likely be added in a couple of hours.

Looking at GTS, for 3.6 that's AnnAssign, Constant, FormattedValue, JoinedStr, and for 3.8, NamedExpr. Also, with 3.8, supporting Constant becomes mandatory, because the parser no longer generates instances of the old Num, Str et al. node types.

No q (quasiquote), hq (hygienic quasiquote), gen_sym (make a guaranteed-unused lexical identifier), or AST walkers. All of these are important for advanced use.

Walkers help local pattern-matching such as in let_syntax that I mentioned. This is different from just recursing with the macro expander, since the patterns are not independent macros, but rather just data - a pun on the code-data duality.

No expose_unhygienic, but maybe not a problem, it's not very pythonic anyway.
Explicit manual recursion inside macro invocations, vs. MacroPy's automatic two-pass (outside-in, then inside-out).

mcpy does feel like the core of a next-gen Python macro expander, though!

In the evenings during the last few weeks, I've been investigating this, by extending mcpy. The problem is, macro expanders for Python haven't cared about getting the corner cases of AST line numbering right - and those line numbers are what Coverage.py relies on. So it seems my hunch was right - the issue is not in Coverage.py, but in the macro expander (whichever one you pick). There's simply no AST node in the output having the line number of the source line that's being reported as not covered.
So, on that note, I'd like to introduce mcpyrate, a third-generation macro expander for Python, which should give correct coverage.
It has the features that were missing from mcpy 2.0.0, plus some more, including bytecode caching with macro-dependency analysis, to speed up loading when the source code hasn't changed. There's a REPL, plus an IPython extension, where it's possible to import, define and use macros in an interactive session. There's no need for a per-project wrapper script. The killer feature macropy.tracing.show_expanded has become mcpyrate.debug.step_expansion, showing also intermediate steps. Also, by default, quasiquotes prevent macro expansion in the quoted code, and macro names can be hygienically unquoted.
I've been running my development on 3.6 and PyPy3; support for 3.7 and 3.8 is already done, but I still need to write automated tests and set up a CI workflow to actually test on those platforms. So it's not completely release-ready yet, but getting there.
In any case, at least in my own private tests, I'm getting correct coverage with Coverage.py, with mcpyrate as the macro expander. (I hope to clean up and publish test cases soon.)
It's almost drop-in compatible with mcpy 2.0.0 (with small differences, all mentioned in the README); so if you want, maybe try it and see if you get correct coverage?

Just for the records: mcpyrate solves the problems in a clean way.
The needed extra nodes are added automatically in a consistent way. You just need to manually add line numbers for newly created nodes. The module fills line numbers in a coherent way.
Using it I got correct coverage information.
In addition it supports Python cache files. Thanks to it I'm getting almost the same performance than using mcpy (which is simpler but doesn't support cache files). This is around 3 times faster than macropy

mcpyrate is now on PyPI. Enjoy.

Just for the record, mcpyrate has been production-ready (and as mentioned above, on PyPI) for over a year now. All sorts of advanced features such as multi-phase compilation and dialects (full-module source and AST transformations) have been added in the meantime. Version 3.6.0, released today, supports Python 3.6 through 3.10.
My opinion regarding coverage reporting for macro-enabled code is still that Coverage.py itself needs no changes. Rather, it is up to the macro expander and the authors of macros to populate the source location info in the AST correctly.
That is, when doing so is possible; there is at least one unavoidable philosophical issue. I think this is just something one needs to keep in mind when working with macros.
So for me, with mcpyrate, the issue is "solved enough".
How about you, @set-soft ? @nedbat ? If you have the time, I'd like to hear your opinions on this.

Hi @Technologicat !
For my use mcpyrate is working with Coverage.py.
The only annoying thing I have is with pytest, some times I need to do a touch *.py of my sources. For normal uses I don't need it, but when running the tests something interferes. I tried deleting all the Python caches and generating them again, but pytest does something else. In my case reseting the time stamps solves the problem. Not sure what pytest is doing.

authors: Technologicat set-soft

repo: nedbat/coveragepy


text:
The system cannot find the path specified: 'C:\Users(my username in windows)/.local/share/languagepod101/'

Traceback (most recent call last):
File "D:\languagepod101-scraper-master\language101_scraper.py", line 591, in
setupLoging()
File "D:\languagepod101-scraper-master\language101_scraper.py", line 577, in setupLoging
os.mkdir(logingpath)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users(my username in windows)/.local/share/languagepod101/'
i am getting this error, can you pls check if the address to download should be this?

btw, the pdfs downloaded are corrupted, just a heads up.

Please see #12
It is probably connected to your free trial account.

Please see #12
It is probably connected to your free trial account.


text:
Add Linux C-Implementation

Hi,
due to request and me needing something todo this evening I re-implemented the Perl-Script in C for Linux. The code is almost the same and roughly follows the same structure (though not always. eg IOPORTS is not the fd to write to but a macro that gets expanded to `"/dev/port").
It works for me really well. I thought about coming back to my project of building a simple GUI that works on Linux/Windows (and doesn't depend on Perl) but I've currently simply no Windows to test on etc. We'll see.

I just read that there are specific methods for accessing io-ports in <asm/io.h>, so I'll try changing the code to use these in the next few days when I'm back home.

Experimenting with the <sys/io.h>-implementation in my branch here (https://github.com/LeonardKoenig/acer_5750G_fan_maximiser/tree/prq_asm_io). It seems to be far more reliable than using open(), write() etc. (I didn't get any timeouts).


text:
fix(deps): update time; fix build for rust 1.80

fix(deps): update time; fix build for rust 1.80

Thanks!

repo: neetly/figma-agent-linux


text:
Update play-silhouette, ... to 7.0.5

Updates

io.github.honeycomb-cheesecake:play-silhouette
io.github.honeycomb-cheesecake:play-silhouette-crypto-jca
io.github.honeycomb-cheesecake:play-silhouette-password-bcrypt
io.github.honeycomb-cheesecake:play-silhouette-persistence

from 7.0.4 to 7.0.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.honeycomb-cheesecake" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #70.

repo: nemoo/play-slick-synchronous-example


text:
Suddenly not receiving new blocks

I am running win10.
I have 10 connected peers.
I have upgraded to most recent GUI client (about says 2.5.6557.29435).
I have tried rebuilding the index.
I have tried deleting the chain folder, and also rebuilding after that.
I have gone into file properties for all files and selected "unblock."
I have tried allowing the host machine to be unfiltered through my firewall by all hosts and ports on TCP/UDP protocols.

Still, my GUI client is stopped at block 1723992.  It does not matter if I have a wallet database open or not.  How can I resolve?  This happened initially without any changes on my host.

are there any other ports I need open, other than TCP 10333? I currently have 10332-10333 and 20000-20444 open

As a work around, I've imported my private key into the NEON wallet, still, not what I want.  I wanted to do transactions last week.  Very disappointing.

ok so, even on the Neon wallet with current block, my transactions are failing... is there a malfunction in the Neo network??  Is my address frozen?

Delete the Chain folder, and then resynchronize.

I had already deleted the chain folder under GUI 2.5.2... I solved the problem by downgrading to 2.3.5, deleting the chain folder (2nd time) and rebuilding the index (3rd time)... not good.

authors: Weldopedia erikzhang

repo: neo-project/neo-gui


text:
Improve sandbox URI configuration

While sandbox.repositories is technically externalizable, defining the list in YAML is easier.
Because of that, the configuration of sandboxes to watch is versioned with the application.
It would be best to configure this list as a CI parameter (envvar), but we need to find a way to define the setting that is not cumbersome.

This could currently be done via https://github.com/spring-projects/spring-boot/wiki/Relaxed-Binding-2.0#lists-1.


text:
Update node version in tests for 2.x

Minimum version is now 18.x
All other tests changed to use lts/*

I think there should be a changeset for this

I think this is for the tests in the CI only

authors: MacondoExpress angrykoala


text:
Default Vite template not working because "moduleResolution": "bundler" is not supported

I imagine this is an issue with coc-tsserver's typescript version, since "moduleResolution": "bundler" was added in TS 5.x. I'm not sure how to update it
system tsc version
➜ tsc -v
Version 5.0.4

coc-tsserver version
- ✓ coc-tsserver Current version 2.1.3 is up to date.

Reproduction:
Create a new Vite project with react-swc-ts template
pnpm create vite . --template react-swc-ts

A workaround for me was to run :CocCommand tsserver.chooseVersion and select the local version.

It seems to be typescript package version has already been bumped up in latest master branch, but not released yet.
If they could release it, we should be able to go without creating local files for choosing version ...
When the maintainers got time, please make a new release 🙏

Fixed on coc-tsserver@2.1.4

authors: chemzqm eiji03aero hexcowboy zaach

repo: neoclide/coc-tsserver


text:
fix(log): improve logging for stdio transport

Log to stderr and disable ansi colors for the stdio transport. Most editors will print the escape codes unfiltered, so reading the log messages will be a lot simpler.

Ok. seems good for me, I will merge it

authors: Decodetalkers idealseal

repo: neocmakelsp/neocmakelsp


text:
Case sensitivity of Dockerfile file type?

Expected behavior
When using the vim-polygot plug-in which sets the filetype to Dockerfile no makers are set. Yet if the filetype is set to dockerfile I am able to use hadolint.
Steps to reproduce
Open a Dockerfile, run set filetype=Dockerfile and then NeomakeInfo and then compare with set filetype=dockerfile and then NeomakeInfo.

I've created https://github.com/ekalinin/Dockerfile.vim/issues/67 to ask for the reason of the special casing.
IIRC there have been reports/issues in this regard already.
In theory we could have a symlink or some other way to handle both, but let's wait for an answer for the above.

authors: blueyed codeinabox

repo: neomake/neomake


text:
CI workflow jobs

Test with Vite (React, React SWC)
Test with Next
Test for SSR

Closing, see #37

repo: neoncitylights/sylon


text:
storcon virtual pageserver tenant config get: doesn't include pageserver-level tenant_conf

Context
Pageserver allows specifying a default tenant_conf in pageserver.toml here.
Pageserver implenents a tenant config get management API:
https://github.com/neondatabase/neon/blob/552088ac1635f88a65914f6fc540fd343db66e57/pageserver/src/http/routes.rs#L1578-L1606
Storcon implements virtual pageserver API, emulating the API response, but NOT proxying it:
https://github.com/neondatabase/neon/blob/e589c2e5ecce03b169ef24d8639e42beeec48837/storage_controller/src/http.rs#L229-L244
Problem
If Pageserver has an override in its pageserver.toml::tenant_conf, the Storcon virtual pageserver api doesn't return that override in effective_config.
This is confusing in tests and generally it seems like Storcon would be the better authority over default tenant config. Maybe we can get rid of TenantConfOpt entirely?
Also Storcon seems to use the
https://github.com/neondatabase/neon/blob/57c21aff9f7a3074292f20efac319e3b248da484/libs/pageserver_api/src/models.rs#L288-L289
whereas Pageserver uses
https://github.com/neondatabase/neon/blob/57c21aff9f7a3074292f20efac319e3b248da484/libs/pageserver_api/src/config.rs#L184
and
https://github.com/neondatabase/neon/blob/57c21aff9f7a3074292f20efac319e3b248da484/pageserver/src/tenant/config.rs#L256

Currently only use we know right now is in the admin UI
Main gap is that one can't see the effective conf via this route, because storage controller doesn't know the pageserver's default
Eventually this API won't have to mimic pageserver any more: we will be free to define whatever API we think makes sense, and perhaps move the config defaults up into the controller.

Expect to come back to this next year when we are fully on storage controller & come back to clean up our APIs + remove the "virtual pageserver" abstraction.

authors: jcsp problame

repo: neondatabase/neon


text:
fix: log cancelled request handler errors

noticed during investigation with @problame a major point of lost error logging which would had sped up the investigation.
Cc: #5815

TODO: update allowed_errors.

There should be more allowed_errors than the first run showed, so rerunning after applying the discussed clarifications:

Failures on Postgres 14

test_create_snapshot: debug

test_forward_compatibility: debug

No test failures??


text:
Add support for other (popular) media players

e.g. VLC, others?

Uhm, this isn't even on the correct repo...

repo: neonrust/epm


text:
feat(ltexls): simplify configuration

Untested, we should use the defaults and redirect users to grammarguard if they want something more opinionated.

@David-Else want to test this?

I was away from the computer. I tried this update just now, but I am afraid ltexls is not running on my Markdown file that was working. I get this from LspInfo:
 Client: ltex (id: 2, pid: 72659, bufnr: [1])
 	filetypes:       bib, markdown, org, plaintex, rst, rnoweb, tex
 	autostart:       true
 	root directory:  /home/david/Downloads
 	cmd:             ltex-ls

I am definitely in a git repo. I have:
require('lspconfig').ltex.setup {}

to configure it. This is what I had before:
-- require('lspconfig').ltex.setup {
--   settings = {
--     ltex = {
--       language = 'en-US',
--       additionalRules = {
--         enablePickyRules = true,
--         motherTongue = 'en',
--         -- languageModel = '~/',
--       },
--     },
--   },
-- }

should be fixed now

Brilliant, all working now :) THANKS for all the work you put into getting this sorted!

authors: David-Else mjlbach

repo: neovim/nvim-lspconfig


text:
fix(solc): update root directory pattern

Added package.json to root directory pattern

I'm not familiar with solc. I skimmed through the project briefly but couldn't really find anything suggesting package.json being relevant. Maybe you can provide some context?


text:
fix(eslint): find package json function

Fixes #3503

Do we want to something more like this https://github.com/neovim/nvim-lspconfig/pull/3505/commits/14611fdfc2c6f6509e6099467975934496967b13
Just uses vim.fs.dirname to get directory of path returned

Fixed here #3505


text:
Define and add resources needed for free5GC SMF (to nephio-project/free5gc-packages)

free5gc SMF packages now have the following definitions: here
More information is definitely needed: list of UPFs, sNssai info...etc. Add them into the package

@henderiw to discuss with @s3wong

@s3wong @tliron @henderiw @n2vo @denysaleksandrov
The issue we discussed in the meeting yesterday is that the SMF configuration needs many details from the config of each connected UPF. Here are the options we discussed yesterday, please correct as needed:

Implement this in the topology controller

How: topology controller waits for UPF packages, and then inserts the details in the SMF packages
Pros:

Expediency
Demonstrates the idea of a controller with awareness of multiple functions

Cons:

Creates a free5gc-specific function in the topology controller
Creates a dependency on topology controller, which is a stretch goal and may not be met

Implement via service discovery

How:

Init container in the UPF registers with service discovery (new component, or can we use mongodb in free5gc-cp?)
SMF operator reads from there and rewrites the SMF config as needed

Pros:

Possibly more accurately reflects a real deployment
Demonstrates swimlane 3 functionality

Cons:

Requires exposing central service discovery component, and distribution of secrets, etc. to workload clustesr
Requires runtime connectivity to service discovery cluster from edge clusters (mgmt cluster or "regional" cluster)
Time to implement?

Implement a specializer

How:

New specializer in nephio-controller-manager watching package revisions
Sees a sentinel resource (ie, a specially annotated resource) in the SMF package indicating that a cross-package injection is needed
Reads label, kind, maybe name from sentinel resource, and uses those to search through package revisions
Injects UPFDeployment resources from those other package revisions

Pros:

Demonstrates resolution of a cross-package dependency
Expediency

Cons:

Another nephio-specific reconciler, may not be long term solution

Implement as part of PackageVariant

How: Like the specializer option, but do it in Porch PackageVariant controller
Pros:

Demonstrates resolution of a cross-package dependency
Putting it in Porch makes it clear it is not nephio-specific
Can leverage readiness and other infrastructure of PackageVariant
May be where it ends up eventually anyway

Cons:

May require us to ship with a private build of Porch
Constrains use of this feature to only when a PackageVariant is used (not when using manual deployment, for example).

Implementing a specializer may be the easiest option for R1.

Can we agree what the final state of the data in the SMF package looks like, and then how that is reflected in the SMF package so the operator changes can be unblocked? @s3wong @n2vo @henderiw

The service discovery creates an additional dependency on a register that need to be accessible from the various locations. From my experience many people in telco are not keen on this given this dependency. They even try to avoid basic things like DNS/DHCP. So something we have to keep in mind. Also there are very good solutions in the market for this, but our main dependency is free5gc here. Afaik we cannot do dynamic updates to it. So even service discovery in this ctxt will not work.
Here are the things that need to happen in my view:

Identify the dependency -> this can be a resource in the package

We need to know where the resource exists -> right now this seems to be in a package (which would be identified by the dependency (so would be good that the name of the package gets known so it is easier to search). Going fwd this could also be in the mgmt cluster or a service discovery centrally. The resource backend does this e.g. today for IP/VLAN and TOPOLOGY
Also important is to know the completeness and validate  whether we have all the dependent resources, could be based on package name.

So eventually a NFDeployment resource need to be created with the references to these resources. We have a configuration item in NFDeployment for this.
 ConfigRefs []corev1.ObjectReference `json:"configRefs,omitempty" yaml:"configRefs,omitempty"`

By referencing the dependent resources here we can tell the SMF operator exactly what to look for. Now one of the challenges is if we have both UPF and SMF deployed on the same cluster. The resource comes from 2 packages. We could wrap it in another resource potentially to avoid dual actuation by configsync.
Alternative we could annotate the Dependent resources but the SMF operator will not know if they are all there. So I believe the explicit reference is a better approach
Given the above we need to bring this together in the specialization flow.
Here is the proposal to do this.

the original package contains the dependent resource and the specialised ownerRef is set to NF deployment

example: how we do this for interface. We have a reference to the final SMFDeployment that is the metaObject we need to apply to the cluster.
apiVersion: req.nephio.org/v1alpha1
kind: Interface
metadata:
name: n4
annotations:
config.kubernetes.io/local-config: "true"
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.SMFDeployment.upf-empty-empty
the cond SDK ensures the conditions are set, by have the sms-deploy fn run first in the pipeline
The dependency specialised, act as we describe above and once ready completes its job.
it would act the same way as the VLAN/IPAM specialiser but here it injects new resources from outside.
Once complete the cond sdk set the condition to True
If the SMFDeploy fn conditions are all true it will aggregate it in the SMFdeployment CR which will be actuated on the cluster

Ran some test on a "more common" scenario:

nftopology has an instance of SMF and an instance of UPF
there are two clusters matching the UPF NFInstance clusterlabels, thus the expectation is there will be one instance of UPF for each cluster (i.e., total of two for the SMF)
when the first cluster showed up, the first UPF instance is deployed (I am still just simulating these)
from nftopology reconciliation loop, the task (for this instance of nftopology) is done (i.e., I only have one instance of UPF for this Topology, at this moment)
sometimes later, another cluster matches this label, and Nephio deploys another UPF onto the new cluster
nftopology controller doesn't detect this change, and therefore info isn't passed onto specializer on SMF package update

so it seems like this is more than holding off SMF until all UPFs are deployed; a new packagerevision matching the same NFTopology name in label and also connecting to the same NF (SMF in this case) will need to update the dependent packages

@henderiw
I really wonder how this works:
currently, in e2e tests (https://github.com/nephio-project/test-infra/pull/63/files#diff-11333ec2ac174948e748483206666f9217ba389984073b4d467bdc66664cce45), UPF is set up via PVS where the objectSelector is key'ed off of WorkloadCluster label --- so package is only cloned when a cluster matches that scenario. What that means is it is possible (however remotely) that the SMF would be deployed before we even have a single UPF package created, and as such there is nothing in the system that would even know if this SMF package has any dependency, so the "identify what you need" part may not be known at time of the SM package deployment.
My take (as I wrote above) is that the only logical way to deal with this is to do:

if some UPF packages are already deployed (or just created even), the package for the SMF that is connected to these UPF can include reference to them
for those UPF instances (packages) come AFTER the SMF package is deployed, then as each of them is created / deployed, the SMF package will be updated, and as such the SMF instance will be reloaded with new configmap

good point. the lime of thinking was like this. Someone schedules this deployment in harmony. Let's call this the 'UBER' package which contains PVS for UPF and SMF. The person deploying this would apply this UBER package to the cluster.
So this is somehow the link. As you said both of these PVS will result in PVC, etc. So they will specialise.
My assumption is none of this gets deployed unless a human approve this. Now with the auto-approval controller, what we could do is tie this back to the original package and only approve once all the conditions of each individual packages get their conditions to true.
So I see this as a bundled approval.

@s3wong the other thing you should be aware is specialisation is not 1 shot. it continuously runs.

here is the proposal for the reference structure.
apiVersion: ref.nephio.org/v1alpha1
kind: Config
metadata:
name: upf-cluster01
namespace: default
spec:
gvk:
apiVersion: workload.nephio.org
kind: UPFDeployment
config: ""
apiVersion: ref.nephio.org/v1alpha1
kind: Config
metadata:
name: upf-cluster01
namespace: default
spec:
gvk:
apiVersion: workload.nephio.org
kind: UPFDeployment
config: ""
apiVersion: workload.nephio.org/v1alpha1
kind: SMFDeployment
metadata:
name: smf-region
spec:
configRefs:

apiVersion: ref.nephio.org/v1alpha1
kind: Config
name: upf-cluster01
namespace: default
apiVersion: ref.nephio.org/v1alpha1
kind: Config
name: upf-cluster02
namespace: default

Here is a proposal on how to add the reference to the refrence
SMF deployment has a list of configuration references that
will be applied to the workload cluster
The SMF operator should get these reference at the beginning of
the reconcile cycle. When all refs are not all there the reconciliation
should retyr
One all reference are found we need to parse the refs.
The CRD is a generic CRD where the gvk specifies the type

apiversion and Kind
alternatively we can use the unstructured object to get the GVK
and resolve it to the type in a 2nd step

Another alternative is using a configmap iso the Config.ref.nephio.org/v1alpha1
object

@s3wong the other thing you should be aware is specialisation is not 1 shot. it continuously runs.

Yes, as an "eventually consistent" system we should expect continuous change and reconciliation. So I think it's ok if it reconfigures a few times.
For the "first" time, we auto-approve. After that it requires human approval. We can delay the first approval for an arbitrary amount of time - say 5 or 10 minutes.
If we want to have more sophisticated auto-approval for future updates, we can consider that in later releases.

@henderiw

config: ""

I am assuming this is a json string from the actual UPFDeployment.Spec? The SMF controller would simply json.Unmarshal this string?

This is done and working

authors: gvbalaji henderiw johnbelamaric s3wong

repo: nephio-project/nephio


text:
Upgrade k8s version v1.30.0

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind bug
/kind cleanup

/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Upgrade base k8s version
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Base k8s version bump to v1.30.0

/retest

/retest

/retest

@efiacor more likely you will need to upgrade the kind version as well, there is a relationship between them.

/retest

@efiacor more likely you will need to upgrade the kind version as well, there is a relationship between them.

Hi @electrocucaracha , the bootstrap test seems to be pretty unstable tbh.
I have bumped the andrewrothstein roles anyway to see if it make a diff.

/test bootstrap-integration

/test bootstrap-integration

bootstrap-integration test is failing on ssh connectivity error:
TASK [Gathering Facts] *********************************************************
fatal: [int-focal-vm-bootstrap-2011247425]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: root@35.226.126.245: Permission denied (publickey).", "unreachable": true}

/override e2e-free5gc-ubuntu-focal
failing on unrelated to this PR longstanding issue

/test bootstrap-integration

/lgtm

/test bootstrap-integration

/override e2e-free5gc-ubuntu-focal

/test bootstrap-integration

/test bootstrap-integration

authors: efiacor electrocucaracha liamfallon radoslawc

repo: nephio-project/test-infra


text:
hide camera numbers when the scene is hidden

This looked funky when rendering with a NeRF because there were numbers in the background. We should hide the numbers when we hide the three.js scene.

#1031

#1031

authors: ethanweber mcallisterdavid

repo: nerfstudio-project/nerfstudio


text:
Error when running "cargo build --release --example muta-chain"

Just following the getting started guide and ran into the following error when trying to do a "cargo build --release --example muta-chain"
I get the following error:
cargo build --release --example muta-chain
Updating crates.io index
Updating git repository http://github.com/zeroqn/p2p
Updating git repository https://github.com/graphql-rust/juniper
Updating git repository https://github.com/tikv/rust-prometheus.git
error: failed to select a version for the requirement zeroize = "^0.9.3"
candidate versions found which didn't match: 1.4.1, 1.4.0, 1.3.0, ...
location searched: crates.io index
required by package amcl_wrapper v0.2.1
... which is depended on by bls_amcl v0.7.0
... which is depended on by ophelia-bls-amcl v0.3.0
... which is depended on by common-crypto v0.2.1 (/home/xxx/muta/common/crypto)
... which is depended on by byzantine v0.2.1 (/home/xxx/muta/byzantine)
... which is depended on by cli v0.2.1 (/home/xxx/muta/core/cli)
... which is depended on by muta v0.2.1 (/home/xxx/muta)
I see the version requirements do not match, not sure if I should try changing it since its a dependency, any help appreciated thank you!

This problem is because zeroize v0.9.3 has been cleared in crate. You can manually download zeroize v0.9.3 and put it under ~ /. cargo/registry /... /zeroize-0.9.3, such as ~ /. Cargo / registry / SRC / mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize-0.9.3 ，link is here zeroize-0.9.3.

This problem is because zeroize v0.9.3 has been cleared in crate. You can manually download zeroize v0.9.3 and put it under ~/.cargo/registry/.../zeroize-0.9.3, such as ~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize-0.9.3，and zeroize_derive ~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize_derive-0.9.3,link is here zeroize-0.9.3.

Not work for me. Could you provide one docker file for build, or just the muta-chain binary file. Thanks!

This problem is because zeroize v0.9.3 has been cleared in crate. You can manually download zeroize v0.9.3 and put it under ~/.cargo/registry/.../zeroize-0.9.3, such as ~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize-0.9.3，and zeroize_derive ~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize_derive-0.9.3,link is here zeroize-0.9.3.

Not work for me. Could you provide one docker file for build, or just the muta-chain binary file. Thanks!

this is a example of muta. https://filetransfer.io/data-package/gsKoFLSs#link

I'm getting the following error while running the build command:
➜ cargo build --release --example muta-chain
    Updating crates.io index
error: failed to select a version for `tentacle-secio`.
    ... required by package `muta-keypair v0.2.1 (/home/zicklag/git/other/muta/devtools/keypair)`
versions that meet the requirements `^0.1` are: 0.1.11, 0.1.10, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0

the package `muta-keypair` depends on `tentacle-secio`, with features: `molc` but `tentacle-secio` does not have these features.

failed to select a version for `tentacle-secio` which could resolve this conflict

authors: mysugar tristech81 xcshuan zicklag

repo: nervosnetwork/muta


text:
Bump prismatic/plumbing to fix cljs compilation issues

Originating from this: https://github.com/plumatic/schema/issues/392
New version of plumbing: https://github.com/plumatic/plumbing/pull/133

pushed 0.6.11-SNAPSHOT

authors: grav moea

repo: nervous-systems/eulalie

license: unlicense


text:
Expression files text

Please enlarge or provide text size controls for expression field under General for example with If/Then statements

its there: CTRL +/-
please always check the keyboard controls: https://github.com/net-commander/windows-dist#editor
I can add it as buttons as before but i wanted to keep it small. you want anyway ?

ah, i see. that would require quite some overkill,
would be increasing the default font-size for that text-box enough?

Yes, that's fine
On May 29, 2016 10:52 AM, "gbaumgart" notifications@github.com wrote:

ah, i see. that would require quite some overkill,
would be increasing the default font-size for that text-box enough?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/net-commander/windows-dist/issues/4#issuecomment-222367729,
or mute the thread
https://github.com/notifications/unsubscribe/AJxHmLh6wKPX5Glf-NPzBGNlp8ccDKtIks5qGbZVgaJpZM4IpUG8
.

authors: MediaMerge gbaumgart

repo: net-commander/windows-dist


text:
双击GUI程序，提示需要安装 .NET Runtime，但安装之后仍无法运行。

系统：Windows 10 专业版 21H2 19044.1586
Real-ESRGAN_GUI：1.0.0.1
双击GUI程序，按照提示安装 .NET Runtime 5.0.15 之后，仍无法运行，继续弹出提示要求安装 .NET Runtime。
尝试重启系统，无效；尝试安装最新的 .NET Runtime 6.0.3，无效。

请尝试安装.NET Desktop Runtime 5.0.15，可以在这里找到
还有请确保你下载的是x64版本的Runtime，x86版本的Runtime可能不受支持

尝试安装 .NET Desktop Runtime 5.0.15 x64，仍无法运行。
继续尝试，打开Windows沙盒，在沙盒里安装 .NET Desktop Runtime 5.0.15 x64，复制 Real-ESRGAN_GUI-1.0.0.1.zip 到沙盒Desktop，解压，运行GUI程序，仍然不行。

抱歉，我搞错了。我安装的是 .NET Runtime 5.0.15 x64，而不是 .NET Desktop Runtime 5.0.15 x64，现在已经可以运行了。


text:
exempt domain to exit route

Describe the problem
Congratulations to the Netbird team on a fantastic project!
I'm planning to configure all client traffic to use a specific exit route out to the internet. However, I'd like to exclude bandwidth-intensive web applications like YouTube.com from this route. What's the best way to achieve this?

Was there any update on this? Also interested in this since YouTube has also blocked VPN unless your signed in @fr33n0rm

repo: netbirdio/netbird


text:
Netbox connot read the ssl certs that was generated by cert manager

I'm trying to run netbox in openshift, but I cannot get netbox to read my certificates even though I've had them mounted as a secret in /etc/ssl/certs.
I changed the image to run as a regular user.
Can someone help?

Thanks for filing this issue, @Teskoh27.
We have updated our issue template to help us on providing support efficiently.
Would you mind creating a new issue with that same case?
Thanks

repo: netbox-community/netbox-chart