After play one first video, the player lock screen in portrait ( not auto lanscape anymore with other images or videos )

After play one first video, the player lock screen in portrait ( not auto lanscape anymore with other images or videos ), I am still able to auto lanscape if i dont play any videos first.

see orientationActivity, it show you how to control the screen direction

dost not work in viewpager ( in my case ). thanks btw

This has nothing to do with viewpager. viewpager is just a control like button. The real screen change is activity.

@Override
protected void onPause() {
super.onPause();
Jzvd.releaseAllVideos();
Jzvd.FULLSCREEN_ORIENTATION = ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE;
Jzvd.NORMAL_ORIENTATION = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;
}
  @Override
protected void onResume() {
    super.onResume();
    Jzvd.FULLSCREEN_ORIENTATION = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;
    Jzvd.NORMAL_ORIENTATION = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;
}

=> this a the code i put into my activity.

What do you need?   fullscreen is LANDSCAP, and normal is PORTRAIT?

I have a viewpager, it contains both images and videos. I have been using your player to play video ( btw , your player is very good). The main problem is that when I play first video -it works well. But when I swipe to other videos or images. the screen orientation dost not auto landscape any more. I dont know why. can you help me. thanks

I didn't know what the sliding viewpager has to do with the screen orientation. Can you record a small video to show me?

tomorow i will send you a video. now is almost 11 pm

this is the video. hope this help
Vào Th 6, 1 thg 3, 2019 vào lúc 22:02 Nathen<EMAIL_ADDRESS>đã viết:

I didn't know what the sliding viewpager has to do with the screen
orientation. Can you record a small video to show me?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lipangit/JiaoZiVideoPlayer/issues/2318#issuecomment-468694009,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgNVY6t6uvMxX8-x_r-gffLW6bgd-qSyks5vSUEdgaJpZM4bWhw5
.

where is the video

Github dose not allow to attach video. I send it via email. Please take a look

if you can not see my video, please tell me. thanks

I can not see your video  in<EMAIL_ADDRESS>

I will send it again

did you receive my video.

by the way, how to continuously play video without waitting to load from cache.thanks

Your demand is to switch between horizontal and vertical screens under normal window？
The video screen is normal?

Your operation in video will not perform Activity's onPause and onResume.
In manifest you should set the activity screenOrientation.

What am I suppose to do ?
this is my code:
 videoView.setUp(link_media,"",Jzvd.SCREEN_WINDOW_NORMAL);

            Glide.with(context.getApplicationContext())
                   .load(link_thumb_media)
                    .apply(new RequestOptions().placeholder(circularProgressDrawable))
                    .into(videoView.thumbImageView);

@Override
protected void onPause() {
           mSensorManager.unregisterListener(mSensorEventListener);
          Jzvd.clearSavedProgress(this, null);
          Jzvd.goOnPlayOnPause();
   Jzvd.FULLSCREEN_ORIENTATION = ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE;       Jzvd.NORMAL_ORIENTATION = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;       super.onPause();

}

@Override
  protected void onResume() {
      if (!arrayList_media.isEmpty()){

          Sensor accelerometerSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
          mSensorManager.registerListener(mSensorEventListener, accelerometerSensor, SensorManager.SENSOR_DELAY_NORMAL);

              Jzvd.goOnPlayOnResume();

      }
      Jzvd.FULLSCREEN_ORIENTATION = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;
      Jzvd.NORMAL_ORIENTATION = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;
      super.onResume();
  }

thanks for all of these problem. I will close this issue.

btw, I have done exactly what you said, but it seen dose not work at all. after play first video, I swipe to the second video and click play. the player force my activity  ( requestWindowFeature(Window.FEATURE_NO_TITLE),      getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN); )  not full screen anymore and lock it in portrail mode.

Your demand is only relationship with NORMAL_ORIENTATION  and Manifest.

swipe the viewpager will not change the orientation.

yep, it will not, but I dont talk about the viewpager. When I click play the second video (first video was ok), like I said, the player force my activity not fullscreen anymore. and lock it in portrail.

try to change this variable,because start second video it will call the function

I download the player vy grandle. How csn i edit it ?

just edit JZVD.NORMAL_ORIENTATION

what do you mean. Download zip -> edit -> import as a module ? right

That is a variable

I have tried every single variable , but it dose not work. what should I put into this line ?

bro
JZVD.NORMAL_ORIENTATION This is a global variable. You can modify it at any time before it is called. Your current problem is that when a video broadcast is playing another video, the onComplete function will be called. This function will call JZUtils. .setRequestedOrientation(getContext(), NORMAL_ORIENTATION); This will lock the screen, so you can see that the screen can't be rotated, so you can enter the activity when JZVD.NORMAL_ORIENTATION=ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED, or other variables under ActivityInfo, then you can feel gravity The screen is in the right direction.
The following Chinese is my native language to express my thoughts more clearly. I feel very shy about such a small problem that I haven't solved it for a few days. I can't send you a project or create a new project that can explain the current problem. I will change it for you.
JZVD.NORMAL_ORIENTATION 这是全局变量，你可以在它被调用之前的任何时候修改它，你现在的问题是，一个视频播正在播放的时候播放另一个视频，那么会调用onComplete函数，这个函数会调用JZUtils.setRequestedOrientation(getContext(), NORMAL_ORIENTATION);这里会锁定屏幕，所以看到了屏幕不能旋转，所以你在进入这个activity的时候JZVD.NORMAL_ORIENTATION=ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED，或者其他ActivityInfo下面的变量，那么就可以重力感应屏幕方向了。
下面的中文是我的母语能更清楚的表达我的想法，这么小的问题几天还没有解决我感到很羞愧，实在不行你把项目发过来或者新建一个能说明当前问题的项目我给你改。

sorry for all of this and thanks you

I am not an english speaker too, so forgive me if I made mistakes


signal: fix deadlock when sigdeliver call enter_critical_section

Summary
cpu0                                 cpu1:
user_main
signest_test
sched_unlock
nxsched_merge_pending
nxsched_add_readytorun
up_cpu_pause
arm_sigdeliver
enter_critical_section
Reason:
In the SMP, cpu0 is already in the critical section and waiting for cpu1 to enter the suspended state. However, when cpu1 executes arm_sigdeliver, it is in the irq-disabled state but not in the critical section. At this point, cpu1 is unable to respond to interrupts and is continuously attempting to enter the critical section, resulting in a deadlock.
Resolve:
adjust the logic, do not entering the critical section when interrupt-disabled.
Impact
NONE
Testing
test:
We can use qemu for testing.
compiling
make distclean -j20; ./tools/configure.sh -l qemu-armv8a:nsh_smp ;make -j20
running
qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic -machine virt,virtualization=on,gic-version=3 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx

@hujun260
Why didn't you modify arch/sim/src/sim/sim_sigdeliver.c?

@hujun260 Why didn't you modify arch/sim/src/sim/sim_sigdeliver.c? I think you need to modify the file as well.

The implementation of signal processing in SIM is quite special. When we enter sim_sigdeliver, we are already in the critical section, so there is no chance of a deadlock.

The implementation of signal processing in SIM is quite special. When we enter sim_sigdeliver, we are already in the critical section, so there is no chance of a deadlock.

@hujun260
Hmm, it seems that ASSERT still happens when I run ostest with sim:smp on ubuntu 20.04 (amd64).
NuttShell (NSH) NuttX-12.5.1
nsh> uname -a
NuttX 12.5.1 4197b5aec8 May 26 2024 21:53:42 sim sim
nsh> ps
  PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK           STACK   USED  FILLED COMMAND
    0     0   0   0 FIFO     Kthread   - Assigned<PHONE_NUMBER>000000<PHONE_NUMBER>44   7.1%  CPU0 IDLE
    1     1   1   0 FIFO     Kthread   - Running<PHONE_NUMBER>000000<PHONE_NUMBER>92  13.2%  CPU1 IDLE
    2     2   2   0 FIFO     Kthread   - Running<PHONE_NUMBER>000000<PHONE_NUMBER>44  13.1%  CPU2 IDLE
    3     3   3   0 FIFO     Kthread   - Running<PHONE_NUMBER>000000<PHONE_NUMBER>64   7.0%  CPU3 IDLE
    4     4 --- 224 FIFO     Kthread   - Waiting  Signal<PHONE_NUMBER>000000<PHONE_NUMBER>04   7.2%  loop_task
    5     5 --- 224 FIFO     Kthread   - Waiting  Semaphore<PHONE_NUMBER>000000<PHONE_NUMBER>48   1.5%  hpwork 0x46b6a0 0x46b6c8
    6     6   0 100 FIFO     Task      - Running<PHONE_NUMBER>000000<PHONE_NUMBER>04   4.8%  nsh_main
nsh> free
                 total       used       free    maxused    maxfree  nused  nfree
      Umem:   67108864     414416   66694448     414384   66694448     30      1
nsh> ostest
stdio_test: write fd=1
stdio_test: Standard I/O Check: printf
stdio_test: write fd=2
...
user_main: nested signal handler test
signest_test: Starting signal waiter task at priority 101
signest_test: Started waiter_main pid=175
waiter_main: Waiter started
signest_test: Starting interfering task at priority 102
waiter_main: Setting signal mask
waiter_main: Registering signal handler
signest_test: Started interfere_main pid=185
interfere_main: Waiting on semaphore
waiter_main: Waiting on semaphore
signest_test: Simple case:
  Total signalled 1240  Odd=620 Even=620
  Total handled   1240  Odd=620 Even=620
  Total nested    0    Odd=0   Even=0
signest_test: With task locking
  Total signalled 2480  Odd=1240 Even=1240
  Total handled   2480  Odd=1240 Even=1240
  Total nested    0    Odd=0   Even=0
[CPU0] _assert: Current Version: NuttX  12.5.1 4197b5aec8 May 26 2024 21:53:42 sim
[CPU0] _assert: Assertion failed : at file: signest.c:228 task(CPU0): ostest process: ostest 0x43af44
ostest_main: Exiting with status 256
stdio_test: Standard I/O Check: fprintf to stderr
nsh>

The implementation of signal processing in SIM is quite special. When we enter sim_sigdeliver, we are already in the critical section, so there is no chance of a deadlock.

@hujun260 Hmm, it seems that ASSERT still happens when I run ostest with sim:smp on ubuntu 20.04 (amd64).
NuttShell (NSH) NuttX-12.5.1
nsh> uname -a
NuttX 12.5.1 4197b5aec8 May 26 2024 21:53:42 sim sim
nsh> ps
  PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK           STACK   USED  FILLED COMMAND
    0     0   0   0 FIFO     Kthread   - Assigned<PHONE_NUMBER>000000<PHONE_NUMBER>44   7.1%  CPU0 IDLE
    1     1   1   0 FIFO     Kthread   - Running<PHONE_NUMBER>000000<PHONE_NUMBER>92  13.2%  CPU1 IDLE
    2     2   2   0 FIFO     Kthread   - Running<PHONE_NUMBER>000000<PHONE_NUMBER>44  13.1%  CPU2 IDLE
    3     3   3   0 FIFO     Kthread   - Running<PHONE_NUMBER>000000<PHONE_NUMBER>64   7.0%  CPU3 IDLE
    4     4 --- 224 FIFO     Kthread   - Waiting  Signal<PHONE_NUMBER>000000<PHONE_NUMBER>04   7.2%  loop_task
    5     5 --- 224 FIFO     Kthread   - Waiting  Semaphore<PHONE_NUMBER>000000<PHONE_NUMBER>48   1.5%  hpwork 0x46b6a0 0x46b6c8
    6     6   0 100 FIFO     Task      - Running<PHONE_NUMBER>000000<PHONE_NUMBER>04   4.8%  nsh_main
nsh> free
                 total       used       free    maxused    maxfree  nused  nfree
      Umem:   67108864     414416   66694448     414384   66694448     30      1
nsh> ostest
stdio_test: write fd=1
stdio_test: Standard I/O Check: printf
stdio_test: write fd=2
...
user_main: nested signal handler test
signest_test: Starting signal waiter task at priority 101
signest_test: Started waiter_main pid=175
waiter_main: Waiter started
signest_test: Starting interfering task at priority 102
waiter_main: Setting signal mask
waiter_main: Registering signal handler
signest_test: Started interfere_main pid=185
interfere_main: Waiting on semaphore
waiter_main: Waiting on semaphore
signest_test: Simple case:
  Total signalled 1240  Odd=620 Even=620
  Total handled   1240  Odd=620 Even=620
  Total nested    0    Odd=0   Even=0
signest_test: With task locking
  Total signalled 2480  Odd=1240 Even=1240
  Total handled   2480  Odd=1240 Even=1240
  Total nested    0    Odd=0   Even=0
[CPU0] _assert: Current Version: NuttX  12.5.1 4197b5aec8 May 26 2024 21:53:42 sim
[CPU0] _assert: Assertion failed : at file: signest.c:228 task(CPU0): ostest process: ostest 0x43af44
ostest_main: Exiting with status 256
stdio_test: Standard I/O Check: fprintf to stderr
nsh>

I have debugged the issue you mentioned, and it is not caused by a deadlock. It should be due to another reason.
My patch did not resolve this issue.


Getting Error while running npm install

Snyk couldn't patch the specified vulnerabilities because GNU's patch is not available. Please install 'patch' and try again.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "D:\Users\kumaral\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "snyk-protect"
npm ERR! node v4.6.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>snyk-protect: snyk protect
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>snyk-protect script 'snyk protect'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the freecodecamp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     snyk protect
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs freecodecamp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls freecodecamp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     D:\open-contribution\freecodecamp\npm-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "D:\Users\kumaral\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.6.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>prepublish: npm run snyk-protect
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepublish script 'npm run snyk-protect'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the freecodecamp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run snyk-protect
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs freecodecamp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls freecodecamp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:

@akuntal You should install node.js 6+ (preferably 6.7). Refer to https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/CONTRIBUTING.md

https://github.com/linnovate/mean/issues/1622
The solution in this link is to install a GNU patch which didn't work for me - could someone confirm the answer above as a working solution in stead please? I'm running 4.6.0.

Running node 6.8, on windows 10, still gets the same error

was having the same issue, but opening a 'git bash' and running cmd from there worked for me.


Update existing control usages in repository inner builds.

Update all inner repo builds to remove usages of the existing controls and switch to the new control set as defined in https://microsoft-my.sharepoint.com/:w:/p/mmitche/EdchH8A4okpOoKhkki1sJEYB0LyAaaCyX5_6A887gL744Q?e=mFsz70
Repository tracking

[x] https://github.com/dotnet/arcade/issues/10659
[x] dotnet/aspire#1646
[x] https://github.com/dotnet/aspnetcore/issues/43637
[x] dotnet/runtime#96908
[x] https://github.com/dotnet/command-line-api/issues/1826
[x] https://github.com/dotnet/deployment-tools/issues/216
[x] https://github.com/dotnet/diagnostics/issues/3331
[x] dotnet/runtime#96909
[x] https://github.com/dotnet/format/issues/1701
[x] https://github.com/dotnet/fsharp/issues/13812
[x] https://github.com/dotnet/installer/issues/14418
[x] https://github.com/dotnet/msbuild/issues/7925
[x] https://github.com/NuGet/Home/issues/12063
[x] https://github.com/dotnet/razor/issues/7078
[x] https://github.com/dotnet/roslyn/issues/63667
[x] https://github.com/dotnet/roslyn-analyzers/issues/6135
[x] https://github.com/dotnet/runtime/issues/74819
[x] dotnet/scenario-tests#60
[x] https://github.com/dotnet/sdk/issues/27562
[x] dotnet/source-build#3956
[x] dotnet/source-build#3957
[x] https://github.com/dotnet/sourcelink/issues/866
[x] https://github.com/dotnet/symreader/issues/265
[x] https://github.com/dotnet/templating/issues/5179
[x] https://github.com/dotnet/test-templates/issues/246
[x] https://github.com/microsoft/vstest/issues/3983
[x] dotnet/windowsdesktop#4071
[x] dotnet/winforms#10650
[x] dotnet/wpf#8680
[x] https://github.com/dotnet/xdt/issues/462

Complete. Still waiting for some last minute flow but should be good.


Constant errors

Constantly giving me ECONNRRSET error on many requests

This was caused by our server running out of disk space. It should be working ok now.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.2 to before v4.9.293",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fd734c6f25aea4b2b44b045e489aec67b388577e",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1dd5b819f7e406dc15bbc7670596ff25261aaa2a"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "fd734c6f25aea4b2b44b045e489aec67b388577e",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "1dd5b819f7e406dc15bbc7670596ff25261aaa2a",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "can: sja1000: fix use after free in ems_pcmcia_add_card()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.9.293 by commit 1dd5b819f7e406dc15bbc7670596ff25261aaa2a, it was introduced in version v3.2 by commit fd734c6f25aea4b2b44b045e489aec67b388577e. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002379


Limit number of variants for intermediate hierarchy.

Is it possible to use nvariants only for the top-level circuit and limit for intermediate hierarchy as follow?
min(4, nvariants). It is not necessary to expose this parameter as a command line argument.

Already in place in different forms: legal_sizes / exact_patterns (check gen_param.py file for more information.)
These are PDK-specific flows. Please let me know if this is essential we can add this to one or all PDKs.

@kkunal1408 , you are right, we can limit variants for primitives right now.
There is still an issue: nvariants parameter is used not only for top level but also for the intermediate hierarchy. The issue is if we want to see, let's say, the best 30 solutions, 30 variants are attempted for lower hierarchy as well and this is redundant. I suggest we limit the max number of variants for lower/intermediate hierarchy.

@854768750 , is it possible to use nvariants only for the top-level circuit and limit for intermediate hierarchy as follow?
min(4, nvariants). It is not necessary to expose this parameter as a command line argument.

yes I will have a try
------------------ Original ------------------
From: @.>;
Date: 2022年11月4日(星期五) 凌晨5:35
To: @.>;
Cc: @.>; @.>;
Subject: Re: [ALIGN-analoglayout/ALIGN-public] Limit number of variants for intermediate hierarchy. (Issue #1110)
@854768750 , is it possible to use nvariants only for the top-level circuit and limit for intermediate hierarchy as follow?
min(4, nvariants). It is not necessary to expose this parameter as a command line argument.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Possibilities:

Pick only a handful that are on the Pareto frontier instead of all nvariants for the subhierarchy

Example: There is no point in keeping variants where only the internal signal wire length is varying (iso area, iso pin location)


[IOPLT-138] Creates the new ModulePaymentNotice

Short description
This PR introduces the new ModulePaymentNotice in the library components
List of changes proposed in this pull request

new ModulePaymentNotice component

How to test
Check the related Section in the Modules screen of the example app

The title of the payment notice is set with Titilium, instead of Readex.

@dmnplb Title is rendered through LabelSmall component which has no ReadexPro variant in the new DS components (or we missed to implement it) do you have any other suggested component to use in this case?

Title is rendered through LabelSmall component which has no ReadexPro variant in the new DS components (or we missed to implement it) do you have any other suggested component to use in this case?

We probably could use the opportunity to add the missing typographic style (that's transformed to Titilium with DS set to off). What do you think?


feat(skeleton-webpack): use @easy-webpack; break apart into two skeletons

Removed Electron support from Webpack for now, will add back in the future (just so we don't have too much to maintain at this time). It's 2 skeletons again, because I've extracted almost all of the configuration onto external packages under the scope @easy-webpack.
Tested under OS X and Windows.

Note: CI is now passing.

@niieani
Just so I understand these changes, what does @easy-webpack bring to the table that the normal webpack plugins don't have?

@MarkHerold docs are coming soon, will be explained there. :-)

Ok, I started a second Aurelia site and am seriously trying to decide if I should convert the old one to use easy-webpack or convert the new one to use raw webpack. I'm honestly leaning towards the second option but I'll hold off until the easy-webpack docs show up to decide.

OK @MarkHerhold. I think you'll appreciate easy-webpack even if you choose to make all of your configuration custom (without using any easy-webpack "presets"). I'll try to ping you when the docs are ready.


Several comics are not being updated

The following don't get updated anymore:
DogHouseDiaries (latest comic: headlines-c926563.png. updated last: 2014/08/09)
GarfieldMinusGarfield (latest comic: GarfieldMinusGarfield_20140825.jpg, updated last: 2014/08/26)
HagarTheHorrible (latest comic: Hagar_The_Horrible_20140827.jpg, updated last: 2014/08/28)
PHDComics (latest comic: phdthisweek1.jpg, updated last 2014/07/01)
Could you fix these please?

DogHouseDiaries was fixed in 475739ea609d965abb3e5b5a5f94df4ac0567d81
GarfieldMinusGarfield works for me
HagarTheHorrible works for me
PHDComics works for me


Viewmessage- messages method

fix #91 #128
@Yarinh55
we talk with nikita and he offered us to open new PR and get around the conflicts from the test branch

@Yarinh55 comment?

@igoihman can you please verify why CI didn't run on this PR? Not sure I have the permissions.

@lioramilbaum Yes I'm on it

@lioramilbaum  if i send here the CI for this issue its better?


Issue with cutadapt

Description of the bug
Background
I am using nfcore/rnaseq pipeline to process batches of paired-end reverse stranded rnaseq data from a number of cell/tissue types, mainly muscle and fibroblast. I have had success with the pipeline in general, with a number of batches reaching completion without issue.
However, I am having recurring issues with trimgalore. The issues appear to be sample-specific, as my approach so far has been to remove the problematic data from the input samplesheet and re-run the pipeline, which then runs fine.
This the error message I recieve:
Error executing process > 'NFCORE_RNASEQ:RNASEQ:FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE (D18-1827)'

Caused by:
  Process `NFCORE_RNASEQ:RNASEQ:FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE (D18-1827)` terminated with an error exit status (1)

Command executed:

  [ ! -f  D18-1827_1.fastq.gz ] && ln -s D18-1827_1.merged.fastq.gz D18-1827_1.fastq.gz
  [ ! -f  D18-1827_2.fastq.gz ] && ln -s D18-1827_2.merged.fastq.gz D18-1827_2.fastq.gz
  trim_galore \
      --fastqc \
      --cores 4 \
      --paired \
      --gzip \
       \
       \
       \
       \
      D18-1827_1.fastq.gz \
      D18-1827_2.fastq.gz
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_RNASEQ:RNASEQ:FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE":
      trimgalore: $(echo $(trim_galore --version 2>&1) | sed 's/^.*version //; s/Last.*$//')
      cutadapt: $(cutadapt --version)
  END_VERSIONS

Command exit status:
  1

Command output:
  pigz 2.6

Command error:
  ERROR: Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/cutadapt/pipeline.py", line 559, in run
      for chunk_index, chunk in enumerate(dnaio.read_chunks(f, self.buffer_size)):
    File "/usr/local/lib/python3.9/site-packages/dnaio/chunks.py", line 81, in read_chunks
      bufend = f.readinto(memoryview(buf)[start:]) + start  # type: ignore
    File "/usr/local/lib/python3.9/gzip.py", line 300, in read
      return self._buffer.read(size)
    File "/usr/local/lib/python3.9/_compression.py", line 68, in readinto
      data = self.read(len(byte_view))
    File "/usr/local/lib/python3.9/gzip.py", line 495, in read
      uncompress = self._decompressor.decompress(buf, size)
    File "src/isal/isal_zlib.pyx", line 523, in isal.isal_zlib.Decompress.decompress
    File "src/isal/igzip_lib.pyx", line 437, in isal.igzip_lib.check_isal_inflate_rc
  isal.igzip_lib.IsalError: Invalid lookback distance found

  ERROR: Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/cutadapt/pipeline.py", line 559, in run
      for chunk_index, chunk in enumerate(dnaio.read_chunks(f, self.buffer_size)):
    File "/usr/local/lib/python3.9/site-packages/dnaio/chunks.py", line 81, in read_chunks
      bufend = f.readinto(memoryview(buf)[start:]) + start  # type: ignore
    File "/usr/local/lib/python3.9/gzip.py", line 300, in read
      return self._buffer.read(size)
    File "/usr/local/lib/python3.9/_compression.py", line 68, in readinto
      data = self.read(len(byte_view))
    File "/usr/local/lib/python3.9/gzip.py", line 495, in read
      uncompress = self._decompressor.decompress(buf, size)
    File "src/isal/isal_zlib.pyx", line 523, in isal.isal_zlib.Decompress.decompress
    File "src/isal/igzip_lib.pyx", line 437, in isal.igzip_lib.check_isal_inflate_rc
  isal.igzip_lib.IsalError: Invalid lookback distance found

  ERROR: Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/cutadapt/pipeline.py", line 626, in run
      raise e
  isal.igzip_lib.IsalError: Invalid lookback distance found

  Traceback (most recent call last):
    File "/usr/local/bin/cutadapt", line 10, in <module>
      sys.exit(main_cli())
    File "/usr/local/lib/python3.9/site-packages/cutadapt/__main__.py", line 848, in main_cli
      main(sys.argv[1:])
    File "/usr/local/lib/python3.9/site-packages/cutadapt/__main__.py", line 913, in main
      stats = r.run()
    File "/usr/local/lib/python3.9/site-packages/cutadapt/pipeline.py", line 825, in run
      raise e
  isal.igzip_lib.IsalError: Invalid lookback distance found

  Cutadapt terminated with exit signal: '256'.
  Terminating Trim Galore run, please check error message(s) to get an idea what went wrong...

Work dir:
  /data/nfcore/work/48/0ee34eda9744edb371ceecbfe7fb3a

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

I have the run log file attached for more information, as well as the work files from the trimgalore step.
Command used and terminal output
This is the run script I executed:

#!/bin/bash

batchID=run12 #specify batchID that matches that used when generating the samplesheet.csv file

/data/nfcore/nextflow run nf-core/rnaseq \
    -profile docker \
    --aligner star_salmon \
    --input samplesheet_$batchID.csv \
    --outdir ./results_$batchID \
    --multiqc_title ${batchID}_multiqc \
    --igenomes_base /data/references/iGenomes/ \
    --genome GRCh38 \
    --star_index '/data/references/nfcore/' \
    --max_memory 60GB #specified in accordance with capacity of Nimbus instance allocation, to avoid pipeline crashing

Relevant files
2022-03-14_run12.zip
System information

Nextflow version

 N E X T F L O W
      version 21.10.5 build 5658
      created 08-12-2021 14:39 UTC
      cite doi:10.1038/nbt.3820
      http://nextflow.io

Hardware
Pawsey Nimbus HTC Instance
RAM 64GB
VCPUs 16 VCPU
Container engine
Docker
OS
Ubuntu 18.04
Version of nf-core/rnaseq
nf-core/rnaseq v3.6

Hi @ChiaraF32  ! Apologies in the delay in responding. Did you figure out why the pipeline was failing?
If you run the pipeline on the bad samples individually does the pipeline fail? Trying to figure out whether this is an intermittent issue. @FelixKrueger any ideas?
PS: If you haven't already it may be worth joining the #rnaseq channel on the nf-core Slack workspace for more real-time help. I try to keep up but it takes longer than I would like to respond to issues here.

Hmm, I don't think I have seen this before. This error isn't anything specific to Trim Galore, but is thrown by the python code (isal.igzip_lib.IsalError: Invalid lookback distance found) which causes Cutadapt and eventually also Trim Galore to fail....

Yep, ok. Thanks! Will close for now. I am prepping v3.7 so be good to test with that and if the issue persists please feel free to re-open.

Hi @drpatelh,
No worries for the delay - thanks for getting back to me.
I haven't tried running just a single sample, but I will do and let you know if it solves any issues.
Thanks for the suggestion to join the channel in the Slack space.


Go code formatting fixes

Using the gofmt tool, I found the code was not compatible with the standard coding style guide.
If we do not intend to follow the Styling guide, do let me know.

This change is

Hi, thanks.
My editor runs gofmt for all files I edit, but this file bindata_assetfs.go is autogenerated, see in server/server.go:
//go:generate go-bindata-assetfs -pkg server -nocompress -modtime 1 -mode 420 webroot/...

So if we care about its formatting, we should incorporate gofmt in the autogeneration process.

Hey @dimonomid

So if we care about its formatting, we should incorporate gofmt in the autogeneration process.

I agree. This would be a more robust way to solve the formatting problem. Since I'm currently learning Go and familiarising with its development workflow, I will try to look for resources for solving this.


[Enhancement] Add Name support during registration through email.

This is not an issue, this is more of an Enhancement/ Feature Request
                   Padding(
                    padding: const EdgeInsets.symmetric(vertical: 16),
                    child: NameTextFormField(
                        style: const TextStyle(
                          fontSize: 18,
                          color: Colors.white,
                        ),
                        decoration: registerInputDecoration(hintText: 'Name')),
                  ),
                  Padding(
                    padding: const EdgeInsets.symmetric(vertical: 16),
                    child: EmailTextFormField(
                        style: const TextStyle(
                          fontSize: 18,
                          color: Colors.white,
                        ),
                        decoration: registerInputDecoration(hintText: 'Email')),
                  ),
                  Padding(
                    padding: const EdgeInsets.symmetric(vertical: 16),
                    child: PasswordTextFormField(
                      style: const TextStyle(
                        fontSize: 18,
                        color: Colors.white,
                      ),
                      decoration: registerInputDecoration(hintText: 'Password'),
                    ),
                  ),

Something like this, Would be useful to record the names of the user, who creates the account through email.

Yeah good suggestion. I'll add this as an option.

Yes please add this option, the only reason I can't use this library in my app.

It would be much better if this can be customized to add custom fields so that developers can add any extra fields.


Can I block websites using dnsserver.swift?

I am working on an iOS app to block website using dns server, so Can I block websites using dnsserver.swift?

I think you should just use NEFilterProvider.

But NEFilterProvider requires supervisor/managed mode.
Can I filter websites using dnsserver.swift in a device that is not in supervisor mode? Thanks a lot.

It is a special mode in the iPhone you have to use to access several Network Extensions, like for example NEDNSProxyProvider
https://forums.developer.apple.com/thread/67613
(managed, supervised or supervisor mode)
Basically, you have to reset completely your phone, which is a pain in the ass, so if I can avoid it, even better.

@zhuhaow Thanks
I'm trying to do your last approach.
I'm trying to run a DNS server locally and point that computer to itself.
However, after calling "start", it seems no server runs. Using nmap I don't see any port was opened.
Checking the source code I see that the start method is completely empty.
How should I start the DNS server.
Thanks a lot for help.

DNSServer is a just a concept, it is not a server actually listening on a port.

"DNSServer is a just a concept, it is not a server actually listening on a port."
That's confusing, I thought it was an actual server. Reading the documentation I was completely sure it was a server.

It a server in general, it just does not listen on a port, that's it.
It handles input and generates output.

But, is there a way to create an actual DNS server using NEKit?
Thanks for reply.

What do you mean an actual DNS server? A server listening on port 53 relay data back and forth with DNSServer? That would probably take just several lines.
But you can't do it on iOS since you can't listen on any port less then 1024 without root permission.

"But you can't do it on iOS since you can't listen on any port less then 1024 without root permission."
Thanks for that.
That means I have to find another approach.

You just need to:
Set the system DNS to some private address, let's say A.
Route A to tun interface.
Parse the DNS request received, return some fake IP (better private ones) for domain you want to ban. (code in NEKit can help) If you want to speed things up, you can also route a fake IP which sends RST for all TCP packet so the connection will be reset immediately instead of waiting for timeout.
Forward DNS request to the genuine remote server and write the response back to tun.
Update genuine DNS server when system network configuration changes.

Thanks for reply.
"Does what I said make sense to you?"
Not really, I don't know about VPN tunnels or advance networking, just basic networking.
I start reading right now.
I guess when you say Network Extensions you mean this:
https://developer.apple.com/documentation/networkextension
Given that you know about networks, let me ask you if this is technically possible:
Change the current DNS configuration to point to the localhost (it works because I can test it with OpenDNS). I already did that following the same approach than "DNS Override", that is, using https://stackoverflow.com/questions/42874507/redirect-all-dns-requests-to-custom-resolver-in-ios-app
Create a local DNS server to filter a list of URLs that are stored locally by the app.
I guess I have to do something with tunnels as you told me, but I have to spend time studying that because I have no idea about that topic.
Thanks.

You can't create a real DNS server on iOS localhost or any other addresses since you can't listen on port 53, and there is no way to specify a different DNS port.
But with Network Extension, you can change the system DNS. So you need to give the system an illusion that there is a DNS server running at the 53 port of some address you specify. You do this by route the traffic to that address to the (u)tun interface created by Network Extension and process the request there and write response back.
Hope that clarify it.

Yes. Thank you very much for your help, I appreciate it a lot.


Table of contents

Despite this itself being a glorified table of contents, it would be nice to get all the headers at the top of the page.

This is now available in the side pane


Charts on Pool Details page

Charts on pool details page are not showing up, investigate if this is due to small liquidity or need a fix.

Charts in pool detail page is fine. It was due to the small amount of activities. To show the chart, we will need at lest an action for 7 days for each pool. That's minimum.


Prepare and test compatibility with next k8s version 1.28

Description
Lifecycle Manager should be compatible with the new K8S version.
We can consider creating a pipeline for testing such scenarios.
Reasons
According to the security requirements and the upgrade process for the Control Plane, we need to be aligned with specific K8S versions.,
Acceptance Criteria

[x] Adjust GH actions to accept the K8S version as an input parameter
[x] Add the manual trigger for that action
[x] Lifecycle Manager deployed and tested with the K8S version 1.28

Feature Testing
No response
Testing approach
No response
Attachments
No response

Running e2e with k8s 1.28.7 results in failure.
Logs can not be retrieved anymore, so a follow-up is needed to enable 1.28+ compatibility.


Jupytext lab extension failed to validate

while editing the md file it work perfect, the ipynb is updated
but i need to close and re open the ipynb file in the jupyter lab page to trigger the update in jupyter lab
after installing fresh jupyter-lab with conda
and after checking installed lab extension both jupyterlab_jupytext jupytext enabled
but it failed to validate
i think this might the issue causing it won't update the ipynb file
    jupyter_lsp enabled
    - Validating jupyter_lsp...
      jupyter_lsp 2.2.5 ok
    jupyter_server_terminals enabled
    - Validating jupyter_server_terminals...
      jupyter_server_terminals 0.5.3 ok
    jupyterlab enabled
    - Validating jupyterlab...
      jupyterlab 4.2.2 ok
    jupyterlab_jupytext enabled
    - Validating jupyterlab_jupytext...
      jupyterlab_jupytext  ok
    jupytext enabled
    - Validating jupytext...
       X validation failed
    notebook_shim enabled
    - Validating notebook_shim...
      notebook_shim  ok

This vim plugin has nothing to do with Jupyter Lab. You should probably not be using it if you have Jupyter Lab with the Jupytext extension running. See https://github.com/goerz/jupytext.vim/issues/22

Thanks, i just don't know the plugins for this auto refresh.
it works flawlessly with jupyter-collaboration


netmgr: improve log

[Detail]
improve log with ulog system
[Verified Cases]
Build Pass: <py_engine_demo>
Test Pass:  <py_engine_demo>

感谢提交 Pull Requests！
Thanks for submitting a pull request.

Security Check : a90fdb315f46162dd929d48cd46a190e6f0cf737

auto build success,number:232

autotest fail,number:1734


Imagery layers

Hello,
A basic question, is it possible to add more than 1 imagery layer to a database ?
Thx
Xavier

Hi,
Yes it is possible to add more than one image to an imagery project and then add that imagery project to a database. Was that you meant ?

Hi,
I'm trying to build a database with more than 1 imagery layer in order to see it in EC. For example, 1 ortho layer and a different raster layer.
Thx

Hello @rentonxp,
Yes that is doable. You would create an imagery resource for each of your imagery layer, build them. Then create a new imagery project adding to it the imagery resources you created. Then create a database with your imagery project, push and publish it. Using EC you can view the published database that has your image layers (already embedded in the database). If not familiar about how to execute those steps using Fusion and Server, i recommend taking a look at this tutorial: [http://www.opengee.org/geedocs/5.2.0/answer/4412440.html]

Hello,
I've tried to add 2 imageries ressources to a project and pushed it to a database. The final result is one layer (a mix of the 2 ressources). Not exactly what i want. Is it possible to see each ressources on a different layer ?

@rentonxp You are correct, Fusion only creates one imagery layer per database. Basically, you will need to add a database per imagery layer you want to display. If it's 3D, you can connect to the second database in Google Earth EC. If it's 2D, the easiest thing to do might be to serve the database out as WMS, then in the map client, you can add it as a new layer. You might be able to do that without using WMS, but you'd need to consult the documentation for your mapping client.

Thank you for that clarification.

@rentonxp as a workaround if the imagery resources have different acquisition dates, you can select and deselect them using timemachine datetime markers on EC client.

closing issue as seem to have good explanation here.


fix: 更正腾讯云磁盘创建时间

这个 PR 实现什么功能/修复什么问题:
更正腾讯云磁盘创建时间
是否需要 backport 到之前的 release 分支:

release/2.10.0

/area region
/cc @yousong

Codecov Report

Merging #4362 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #4362      +/-   ##
=========================================
- Coverage    6.86%   6.85%   -0.02%
=========================================
  Files         521     521
  Lines       88266   88266
=========================================
- Hits         6057    6048       -9
- Misses      81703   81714      +11
+ Partials      506     504       -2

Flag
Coverage Δ

#aFlag
6.85% <ø> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/cronman/cronman.go
49.51% <0%> (-5.34%)
:arrow_down:

pkg/appsrv/response.go
69.23% <0%> (+3.07%)
:arrow_up:

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 5dce04c...8790e10. Read the comment docs.

/lgtm

/approve
/lgtm


Ruby Style Arrays not Working

Ruby style arrays are not working for level 1 type arrays as follows:
testitem[test_property]
But it works for:
test.item[testproperty]
I guess the error is in
line 103

  		if (namePart.length > 1)

  		if (namePart.length > 0)

and
line 120

  				arrIdx = namePart[k].match(/([a-z_]+)?\[([a-z_][a-z0-9]+?)\]/i);

  				arrIdx = namePart[k].match(/([a-z_]+)?\[([a-z_][a-z0-9_]+?)\]/i);

this still happens when when you have only one subelemnt,
testitem[testproperty] will not create a name property as testproperty: testpropertyvalue it is returned  just the
testpropertyvalue. Assuming the user has entered testpropertyvalue in the form for testproperty.

I'd add the following line to get Rails style arrays working.
name = name.replace(/\[([a-zA-Z_]*)\]/g, delimiter + '$1');

Add it below these lines around line number 98
value = nameValues[i].value;

if (skipEmpty && (value === '' || value === null)) continue;

name = nameValues[i].name;
name = name.replace(/\[([a-zA-Z_]*)\]/g, delimiter + '$1');


fix(keystone): service config ignore deploy server socket path

这个 PR 实现什么功能/修复什么问题:
fix(keystone): service config ignore deploy server socket path

是否需要 backport 到之前的 release 分支:
release/3.6
/cc @swordqiu @zexi
/area keystone

Codecov Report

Merging #9481 (c2978b8) into master (f1c2c97) will increase coverage by 10.58%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #9481       +/-   ##
===========================================
+ Coverage    5.92%   16.50%   +10.58%
===========================================
  Files         842       87      -755
  Lines      130667     9120   -121547
===========================================
- Hits         7736     1505     -6231
+ Misses     122231     7483   -114748
+ Partials      700      132      -568

Flag
Coverage Δ

aFlag
16.50% <ø> (+10.58%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/httperrors/httperrors.go

pkg/util/rbacutils/policygroup.go

pkg/multicloud/aws/instance.go

pkg/compute/models/deletepreventableresource.go

pkg/util/fernetool/fernet.go

pkg/util/seclib2/seclib.go

pkg/keystone/models/project_resources.go

pkg/util/oidcutils/client/client.go

pkg/compute/models/hosts.go

pkg/compute/models/buckets.go

... and 745 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 f1c2c97...c2978b8. Read the comment docs.

/lgtm
/approve


raven and Django 1.10

Cant get reports from raven on Django 1.10
My configurations in settings.py
INSTALLED_APPS = [
    'raven.contrib.django.raven_compat'
]

import raven
RAVEN_CONFIG = {
    'dsn'<EMAIL_ADDRESS>    # If you are using git, you can also automatically configure the
    # release based on the git info.
    # 'release': raven.fetch_git_sha(os.path.dirname(__file__)),
}

@AnSharipov are you using the latest version of the SDK?

@dcramer yes, I updated raven

I committed an example Django 1.10 project which is unable to reproduce this failure.
Have you tried manually sending an event?

https://app.getsentry.com/share/issue/313235342e313438333232363935/

Also 5.24.3 fixes the 'raven test' command.
Closing this as I need more info to reproduce.


display of

This is to discuss some issues with display of , not yet for immediate action by @ajaniak .
<lb n="1"/><unclear>sva</unclear>st<supplied reason="lost">i</supplied> <gap reason="illegible" unit="character" quantity="1"/> va <gap reason="illegible" unit="character" quantity="10"/> ra <gap reason="illegible" unit="character" quantity="1"/> kra <gap reason="illegible" unit="character" quantity="1"/> vi <gap reason="illegible" unit="character" quantity="2"/>
presently gives this display:

instead of the letter "x" after the value of @quantity, I suggest we use "akṣ."
I don't understand why "ca." is inserted for <gap reason="illegible" unit="character" quantity="10"/> — in any case, there should be a space between "ca." and "10x" (or "10 akṣ.")
the fact that <supplied reason="lost">i</supplied> <gap reason="illegible" unit="character" quantity="1"/> are fused into a single [...] isn't really satisfactory
have we discussed and rejected the possibility of using different brackets for <gap> and <supplied>?

The fusion of brackets for <gap/>and <supplied> is a feature of Epidoc, I can switch if off for dharma if you want to.

Do you have the last version of the stylesheets ? The first <gap/> doesn't have the part ca., when I make it run on tfbBengalCharters00065
(1)(sva)st[i 1x] va [10x] ra [1x] kra [1x] vi [2x]

@ajaniak : thanks. I now have the latest stylehseet and "ca." has disappeared.
@danbalogh @manufrancis @AnneSchmiedchen  : please express your opinions on the other issues raised above.

Replacing the "x" with "akṣ." - isn't the x supposed to represent the fact that the gap is illegible (and not lost)? More on this below.
ca. should in my opinion not be used at all; I thought we had settled on ? At any rate, neither ca. nor ? should appear unless @precision="low"
fusing supplied and lacuna into a single set of brackets: indifferent to me, but if we stick to what I had proposed for gap display (displaying numbers instead of displaying a given number of × or + signs), then I think Arlo's way is better, i.e. show them in separate brackets.
Possibility of using different brackets for gap and supplied: as best I can recall, this has not been raised, nor rejected. I am, however, pretty sure that I pointed out somewhere that I consider it a very good idea to use the same kind of bracket for these two items, since both are in fact lacunae, and since Leiden does the same. I still think it is a very good idea.

I'm starting now with a much longer comment on  display as a whole.

Okay, so it seems to me that  display has been implemented in a way that surprises me. The last I know of the original issue, #19, was that Arlo said he was in agreement with the method I had suggested, and that if Manu and Annette could agree to that, I should re-formulate the final set of instructions. Manu agreed, though reluctantly and with the clause that it is for the moment. Annette never commented, so I never started to formulate the final set. Let me point out that before then, I had once already undertaken to re-formulate all the instructions when it seemed that we had consensus - but then Arlo came and said we should go back (in certain basic details) to what I had proposed earlier. I was therefore not willing to start yet another re-formulation before I was expressly told that we had consensus.
Then, suddenly, display was implemented and the thread was closed.
I must point out that things like [ca. 10x] for <gap reason="illegible" quantity="10" unit="character" precision="low"> is nothing like any almost-consensus we had reached before, which was [×10?]. I suppose the x (lowercase X) stands for × (multiplication sign), and in that case it should not be replaced with "akṣ", since in that case we would have no distinction between lost and illegible lacunae (the former should be represented by a + sign instead of the ×).
So how to proceed? Do we reopen that thread and rebuild display from scratch? Do we have consensus on how display should be handled? Or if some sort of consensus has been reached without my involvement and awareness that [ca. 10x] is the preferred display, then why am I being asked to express an opinion now?

Ooops!
Sorry, Axelle, and sorry, Dan!
It is actually our (PIs) fault, failing to come to a conclusion and failing to give proper instructions. And it may also be that certain displays are there presently "by default" from the Epidoc transformation style.
Dan, could you reopen issue #19 and formulate the final set of instructions concerning the display of ?

Many thanks, Manu, for your understanding and my apologies for speaking harshly above. I'll do that asap, probably on Tuesday morning.


Support approx_percentile in reduction context

Signed-off-by: Andy Grove<EMAIL_ADDRESS>Closes https://github.com/NVIDIA/spark-rapids/issues/4734
Depends on https://github.com/rapidsai/cudf/pull/10446
This PR adds support for approx percentile in reduction context.

build

build


caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar does not exist

Hi,
I have followed the steps mentioned in the README file. So, CaffeOnSpark, Caffe, Spark and Hadoop have been installed.
However, the directory $(CAFFE_ON_SPARK)/caffe-grid/target/ does not contain the JAR file, caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar
Has the file been deleted in your github repo or is there a work-around for it?
Here is the error:
rescomp-14-310339:caffe-public vishakhhegde$ spark-submit --master ${MASTER_URL} \

--files ${CAFFE_ON_SPARK}/data/lenet_memory_solver.prototxt,${CAFFE_ON_SPARK}/data/lenet_memory_train_test.prototxt \
--conf spark.cores.max=${TOTAL_CORES} \
--conf spark.task.cpus=${CORES_PER_WORKER} \
--conf spark.driver.extraLibraryPath="${LD_LIBRARY_PATH}" \
--conf spark.executorEnv.LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" \
--class com.yahoo.ml.caffe.CaffeOnSpark  \
${CAFFE_ON_SPARK}/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar \
    -train \
    -features accuracy,loss -label label \
    -conf lenet_memory_solver.prototxt \
-clusterSize ${SPARK_WORKER_INSTANCES} \
    -devices 1 \
-connection ethernet \
    -model file:${CAFFE_ON_SPARK}/mnist_lenet.model \
    -output file:${CAFFE_ON_SPARK}/lenet_features_result

Warning: Local jar /Users/vishakhhegde/CaffeOnSpark/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar does not exist, skipping.
java.lang.ClassNotFoundException: com.yahoo.ml.caffe.CaffeOnSpark
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at org.apache.spark.util.Utils$.classForName(Utils.scala:174)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:689)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

Thanks a lot!

You need to build the jar file via make build. See README for details.
Andy Feng
Sent from my iPhone

On May 19, 2016, at 4:06 PM, vishakhhegde<EMAIL_ADDRESS>wrote:
Hi,
I have followed the steps mentioned in the README file. So, CaffeOnSpark, Caffe, Spark and Hadoop have been installed.
However, the directory $(CAFFE_ON_SPARK)/caffe-grid/target/ does not contain the JAR file, caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar
Has the file been deleted in your github repo or is there a work-around for it?
Here is the error:
rescomp-14-310339:caffe-public vishakhhegde$ spark-submit --master ${MASTER_URL} \
--files ${CAFFE_ON_SPARK}/data/lenet_memory_solver.prototxt,${CAFFE_ON_SPARK}/data/lenet_memory_train_test.prototxt
--conf spark.cores.max=${TOTAL_CORES}
--conf spark.task.cpus=${CORES_PER_WORKER}
--conf spark.driver.extraLibraryPath="${LD_LIBRARY_PATH}"
--conf spark.executorEnv.LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
--class com.yahoo.ml.caffe.CaffeOnSpark
${CAFFE_ON_SPARK}/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar
-train
-features accuracy,loss -label label
-conf lenet_memory_solver.prototxt
-clusterSize ${SPARK_WORKER_INSTANCES}
-devices 1
-connection ethernet
-model file:${CAFFE_ON_SPARK}/mnist_lenet.model
-output file:${CAFFE_ON_SPARK}/lenet_features_result
Warning: Local jar /Users/vishakhhegde/CaffeOnSpark/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar does not exist, skipping.
java.lang.ClassNotFoundException: com.yahoo.ml.caffe.CaffeOnSpark
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at org.apache.spark.util.Utils$.classForName(Utils.scala:174)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:689)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Thanks a lot!
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Hi Andy,
Thanks for replying. Since yesterday I have made some progress in fixing some issues. I still have the following error:

T E S T S
Running TestSuite
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@5dda32d0
Tests run: 17, Failures: 9, Errors: 0, Skipped: 7, Time elapsed: 1.516 sec <<< FAILURE!
setUp(com.yahoo.ml.jcaffe.CaffeNetTest)  Time elapsed: 0.408 sec  <<< FAILURE!
java.lang.UnsatisfiedLinkError: /Users/vishakhhegde/CaffeOnSpark/caffe-distri/.build_release/lib/libcaffedistri.jnilib: dlopen(/Users/vishakhhegde/CaffeOnSpark/caffe-distri/.build_release/lib/libcaffedistri.jnilib, 1): Library not loaded: libcaffe.so.1.0.0-rc3
Referenced from: /Users/vishakhhegde/CaffeOnSpark/caffe-distri/.build_release/lib/libcaffedistri.jnilib
Reason: image not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1894)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.yahoo.ml.jcaffe.BaseObject.(BaseObject.java:10)
at com.yahoo.ml.jcaffe.CaffeNetTest.setUp(CaffeNetTest.java:39)
testAllocate(com.yahoo.ml.jcaffe.FloatBlobTest)  Time elapsed: 0.002 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: com.yahoo.ml.jcaffe.BaseObject
at com.yahoo.ml.jcaffe.FloatBlobTest.testAllocate(FloatBlobTest.java:13)
testBasic(com.yahoo.ml.jcaffe.FloatBlobTest)  Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: com.yahoo.ml.jcaffe.BaseObject
at com.yahoo.ml.jcaffe.FloatBlobTest.testBasic(FloatBlobTest.java:19)
testCopy(com.yahoo.ml.jcaffe.FloatBlobTest)  Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: com.yahoo.ml.jcaffe.BaseObject
at com.yahoo.ml.jcaffe.FloatBlobTest.testCopy(FloatBlobTest.java:36)
basicDataTest(com.yahoo.ml.jcaffe.MatTest)  Time elapsed: 0.002 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: com.yahoo.ml.jcaffe.BaseObject
at com.yahoo.ml.jcaffe.MatTest.basicDataTest(MatTest.java:137)
basicTest(com.yahoo.ml.jcaffe.MatTest)  Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: com.yahoo.ml.jcaffe.BaseObject
at com.yahoo.ml.jcaffe.MatTest.basicTest(MatTest.java:46)
matChannelsTest(com.yahoo.ml.jcaffe.MatTest)  Time elapsed: 0.01 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: com.yahoo.ml.jcaffe.BaseObject
at com.yahoo.ml.jcaffe.MatTest.matChannelsTest(MatTest.java:130)
matResizeDecodeTest(com.yahoo.ml.jcaffe.MatTest)  Time elapsed: 0.011 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: com.yahoo.ml.jcaffe.BaseObject
at com.yahoo.ml.jcaffe.MatTest.matResizeDecodeTest(MatTest.java:121)
setUp(com.yahoo.ml.jcaffe.TransformTest)  Time elapsed: 0.65 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: com.yahoo.ml.jcaffe.BaseObject
at com.yahoo.ml.jcaffe.TransformTest.setUp(TransformTest.java:43)
Results :
Failed tests:   setUp(com.yahoo.ml.jcaffe.CaffeNetTest): /Users/vishakhhegde/CaffeOnSpark/caffe-distri/.build_release/lib/libcaffedistri.jnilib: dlopen(/Users/vishakhhegde/CaffeOnSpark/caffe-distri/.build_release/lib/libcaffedistri.jnilib, 1): Library not loaded: libcaffe.so.1.0.0-rc3(..)
testAllocate(com.yahoo.ml.jcaffe.FloatBlobTest): com.yahoo.ml.jcaffe.BaseObject
testBasic(com.yahoo.ml.jcaffe.FloatBlobTest): com.yahoo.ml.jcaffe.BaseObject
testCopy(com.yahoo.ml.jcaffe.FloatBlobTest): com.yahoo.ml.jcaffe.BaseObject
basicDataTest(com.yahoo.ml.jcaffe.MatTest): com.yahoo.ml.jcaffe.BaseObject
basicTest(com.yahoo.ml.jcaffe.MatTest): com.yahoo.ml.jcaffe.BaseObject
matChannelsTest(com.yahoo.ml.jcaffe.MatTest): com.yahoo.ml.jcaffe.BaseObject
matResizeDecodeTest(com.yahoo.ml.jcaffe.MatTest): com.yahoo.ml.jcaffe.BaseObject
setUp(com.yahoo.ml.jcaffe.TransformTest): com.yahoo.ml.jcaffe.BaseObject
Tests run: 17, Failures: 9, Errors: 0, Skipped: 7
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] caffe .............................................. SUCCESS [  0.004 s]
[INFO] caffe-distri ....................................... FAILURE [01:23 min]
[INFO] caffe-grid ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:24 min
[INFO] Finished at: 2016-05-21T12:27:20-07:00
[INFO] Final Memory: 17M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project caffe-distri: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/vishakhhegde/CaffeOnSpark/caffe-distri/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :caffe-distri
make: *** [build] Error 1
Can anyone help me with what I can do to fix the error?

Is it necessary to have protobuf 2.5.0?
I have protobuf 2.6.1, but in pom.xml file, I change the version from 2.5.0 to 2.6.1 so that it is consistent. Will this cause problems?

Protobuf 2.5.0 works well. I don't remember if I tried with 2.6.1.
The above error however has to do with setting your LD_LIBRARY_PATH. Please
set that to path of libcaffe.so....
On Sat, May 21, 2016 at 1:25 PM, vishakhhegde<EMAIL_ADDRESS>wrote:

Is it necessary to have protobuf 2.5.0?
I have protobuf 2.6.1, but in pom.xml file, I change the version from
2.5.0 to 2.6.1 so that it is consistent. Will this cause problems?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/yahoo/CaffeOnSpark/issues/69#issuecomment-220798537

Hi Mridul,
Thanks a lot for your reply.
I did change LD_LIBRARY_PATH to be the path to libcaffe.so.
However, I am still encountering errors:
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] caffe .............................................. SUCCESS [  0.003 s]
[INFO] caffe-distri ....................................... FAILURE [01:12 min]
[INFO] caffe-grid ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:13 min
[INFO] Finished at: 2016-05-21T14:08:24-07:00
[INFO] Final Memory: 20M/487M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project caffe-distri: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :caffe-distri
make: *** [build] Error 1
This seems to be a common issue with maven-surefire-plugin. Has anyone encountered this issue and has anyone solved it?
Thanks a lot in advance.

Does it work when you skiptest?

how to skip the test?

Look into the Makefile under CaffeOnSpark/ . There in the build/buldosx
steps add mvn package -DskipTests ...or something equivalent.
On Thu, Jun 9, 2016 at 7:15 AM, RedHaur<EMAIL_ADDRESS>wrote:

how to skip the test?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yahoo/CaffeOnSpark/issues/69#issuecomment-224907852,
or mute the thread
https://github.com/notifications/unsubscribe/ACCTVVvkrnAqa1Jkz-XFtk9YbJVbQVuhks5qKCAAgaJpZM4IivD8
.

@vishakhhegde Please comment and close this, if it works

Skipping tests did not work for me.

I am facing the same issue while following this link https://github.com/yahoo/CaffeOnSpark/wiki/GetStarted_standalone

sorry for the png file. As working with CloudLab, cannot copy and paste the log.

It looks like the jar was not generated. Did the build stage finish error-free?

During the build stage, the build was successful for all of the three folders. But there was test case failure issues similar to this https://github.com/yahoo/CaffeOnSpark/issues/235. And the solution mentioned here also didn't work for me.


update memo and instruction links

closes #2076

https://screeningtool-staging.geoplatform.gov/2153-1eb733/en/

@travis-newby - nice catch!
@KameronKerger - any preference?


Color theme bug after update

The colors of method returns, class names, parameter type in the method are cyan instead of purple in Java
Before:

After

:

The bug was fixed


Prettify diff

No longer reverse the diff (I would be very happy if somebody can explain why we did this) and also make sure that the first line in the diff has the same indentation as the others.

Can you post the result before and the result after applying the patch?

Before the patch:
diff /foo-bar
  container:   }
  container:       ]
  container:           }
  container:               "mode": "RO"
  container:               "hostPath": "/foo",
  container:               "containerPath": "/foo",
  container:           {
  container:           },
  container:               "mode": "RW"
  container:               "hostPath": "/bar",
  container:               "containerPath": "/bar",
  container:           {
  container:       "volumes": [
  container:       },
  container:           "parameters": []
  container:           "forcePullImage": true,
  container:           "privileged": false,
  container:           ],
  container:               }
  container:                   "name": null
  container:                   "protocol": "tcp",
+ container:                  "servicePort": 0,
- container:                  "servicePort": 10000,
  container:                   "hostPort": 0,
  container:                   "containerPort": 80,
  container:               {
  container:           "portMappings": [
  container:           "network": "BRIDGE",
  container:           "image": "foo/bar:latest",
  container:       "docker": {
  container:       "type": "DOCKER",
  container: {

After the patch:
diff /foo-bar
  container:   {
  container:       "type": "DOCKER",
  container:       "docker": {
  container:           "image": "foo/bar:latest",
  container:           "network": "BRIDGE",
  container:           "portMappings": [
  container:               {
  container:                   "containerPort": 80,
  container:                   "hostPort": 0,
- container:                   "servicePort": 10000,
+ container:                   "servicePort": 0,
  container:                   "protocol": "tcp",
  container:                   "name": null
  container:               }
  container:           ],
  container:           "privileged": false,
  container:           "forcePullImage": true,
  container:           "parameters": []
  container:       },
  container:       "volumes": [
  container:           {
  container:               "containerPath": "/bar",
  container:               "hostPath": "/bar",
  container:               "mode": "RW"
  container:           },
  container:           {
  container:               "containerPath": "/foo",
  container:               "hostPath": "/foo",
  container:               "mode": "RO"
  container:           }
  container:       ]
  container:   }

Have a look at the braces and brackets before applying the patch.


build: update to use ruff/codespell

There looks like there are lots of changes here, but the key is:

Update from black/isort -> black/ruff
Introduce codespell

Then there are a bunch of changes to docstrings and spellings to conform to ruff's rules. Main change is making first line of docstrings use the imperative mood.
Fixes #77

Note that I've not bumped the LIBPATCH for the libraries, but when #79 gets merged, the versions are bumped and the libs should release automatically.


Bug with catch-all routing

Hello,
I have a problem with two get routes. One of them is not getting hit.
Expected Behavior / New Feature
With the following configuration, expected behavior should be that calling /api/products?query=test is redirected to the downstream path template /api/products?query=test, and that calling /api/products/1 is redirected to the downstream path template /api/products/1
{
  "UpstreamPathTemplate": "/api/products?{everything}",
  "UpstreamHttpMethod": [
    "Get",
    "Options"
  ],
  "DownstreamPathTemplate": "/api/products-something?{everything}",
  "DownstreamScheme": "http",
  "DownstreamHostAndPorts": [
    {
      "Host": "localhost",
      "Port": 80
    }
  ]
},
{
  "UpstreamPathTemplate": "/api/products/{id}",
  "UpstreamHttpMethod": [
    "Get",
    "Options"
  ],
  "DownstreamPathTemplate": "/api/products/{id}",
  "DownstreamScheme": "http",
  "DownstreamHostAndPorts": [
    {
      "Host": "localhost",
      "Port": 80
    }
  ]
}

Actual Behavior / Motivation for New Feature
Calling /api/products/1 will be routed to downstream path template /api/products?1
Steps to Reproduce the Problem
Use the provided configuration and make calls to both endpoints.
Specifications

Version: 23.3.4
Platform: .NET 8
Subsystem: Windows

{
  "UpstreamPathTemplate": "/api/products?{everything}",
  "DownstreamPathTemplate": "/api/products-something?{everything}",
 },
{
  "UpstreamPathTemplate": "/api/products/{id}",
  "DownstreamPathTemplate": "/api/products/{id}",
}

The configuration appears to be slightly incorrect. The 2nd route is a catch-all, while the first route processes all query strings. Defining the 1st route when the 2nd one is a catch-all seems redundant, as the 2nd route should be able to process all URLs from the first route, including all query strings.
Merging both routes into one could be done as follows:
{
  "UpstreamPathTemplate": "/api/products/{everything}",
  "DownstreamPathTemplate": "/api/products/{everything}",
}

Wouldn't this approach be effective?

Please read this doc carefully → Empty Placeholders

Actual Behavior / Motivation for New Feature
Calling /api/products/1 will be routed to downstream path template /api/products?1
Steps to Reproduce the Problem
Use the provided configuration and make calls to both endpoints.

Are you sure? 😉
Please attach logs of your testing session with log level Debug
And we will continue this funny talk...

Calling /api/products/1 will be routed to downstream path template /api/products?1

This ought to be verified by our routing tests, and it's concerning if it's not, as it may indicate a bug.
Yes, you've reported the old problem: here is more Routing fun

#2134
#2064
#2132

Duplicate of #2132

Thanks for reply. The problem here is that the downstream route is different.

OK, but when you have one service instance with different downstream paths, why do merge paths in upstream?
You have to have different upstream paths too!
Your final solution is:
{
  "UpstreamPathTemplate": "/api/products-something?{everything}",
  "DownstreamPathTemplate": "/api/products-something?{everything}",
},
{
  "UpstreamPathTemplate": "/api/products/{id}",
  "DownstreamPathTemplate": "/api/products/{id}",
}

and moreover, it must be one Catch All route ❗
{
  "UpstreamPathTemplate": "/{everything}",
  "DownstreamPathTemplate": "/{everything}",
},

Don't say "thank you"

Mr. I, what's your full name?
How do you use Ocelot now? Learning?
Do you have Ocelot app in Production environment?

Thanks for reply. The problem here is that the downstream route is different.

OK, but when you have one service instance with different downstream paths, why do merge paths in upstream? You have to have different upstream paths too! Your final solution is:
{
  "UpstreamPathTemplate": "/api/products-something?{everything}",
  "DownstreamPathTemplate": "/api/products-something?{everything}",
},
{
  "UpstreamPathTemplate": "/api/products/{id}",
  "DownstreamPathTemplate": "/api/products/{id}",
}

and moreover, it must be one Catch All route ❗
{
  "UpstreamPathTemplate": "/{everything}",
  "DownstreamPathTemplate": "/{everything}",
},

Don't say "thank you"

The thing here is that the {id} should not be Catch All, but placeholder for variable.

Mr. @istanko, will you open a PR in November'24?

@int0x81, welcome to your assignment!

@istanko could you please check if you observe the same behavior with https://github.com/ThreeMammals/Ocelot/pull/2200? Thanks


add examples for AllowUnexported and IgnoreUnexported

Reading the docs and attempting simple implementations, I'm still not sure how to use these, since I keep getting panics. I'm going to search Github to see people using these successfully to figure out what I am missing.

Hey there ! any update on this one ? I'm actually interested too ! :p

Feel free to mail out a PR fixing this.

Basic usage of them seems simple enough, for example:
func (e Example) Equals(e2 Example) bool {
	return cmp.Equal(e, e2, cmp.AllowUnexported(Example{}))
}

But even a bit more advanced seems a little odd to me. For example, using AllowUnexported together with IgnoreFields. It still gives a name must be exported panic for the IgnoreFields option

I think it may be reasonable for IgnoreUnexported to be the default behaviour only if there is a way to signal to the user that unexported fields are not checked.
When I first used cmp.Diff in replacement of reflect.DeepEqual, it didn't occur to me that unexported fields will not be checked until the tests panic-ed. If, hypothetically, IgnoreUnexported was set as the default, I would have taken the passing tests as indication that the swap was successful even though the new tests will not cover changes in unexported fields.
Additionally, I think the current behaviour provides an explicit visual indication to other readers that this comparison ignores unexported fields.
if diff := cmp.Diff(a, b, cmpopts.IgnoreUnexported(SomeStruct{})); diff != "" {
	t.Errorf("mismatch (-got +want):\n%s", diff)
}

I know that this behaviour is already documented in the package documentation but, perhaps, what may be helpful (especially to new users) are more examples on the usage of these options.

Is there any way to IgnoreUnexported when comparing slices of a specific struct?

Can you give an example?

it's not easy to understand in my first impression
eg.
GetIssueAdvancedReply_Data is member of GetIssueAdvancedReply, GetIssueAdvancedReply_Data contains some unexported fields. if want to ingore it, it seems should be:
cmp.Equal(tt.want, tt.args.rsp, cmpopts.IgnoreUnexported(pb.GetIssueAdvancedReply{}, pb.GetIssueAdvancedReply_Data{})
hope help


Fix typos

Coverage remained the same at 55.942% when pulling e9a73351c0ab42cf71b58e0e38659a4cf6b58397 on hugovk:fix-typos into 8967e1a25f75833091317658fc98963e28f41ece on DemocracyClub:master.


Use MyPy for pyfixest/report module

Can be closed, as all the module passes all mypy checks with e19e939.


HTTP Client

Thanks for great Clojure/West talk and unsession. I think I understand now why I'd want to use aleph as server.
Can you explain why I'd want to use HTTP client instead of clj-http? This is not that clear to me now.
Also does aleph support all the same properties as clj-http, e.x. proxy-host and proxy-port?

You'd want to use it if you're doing lots of concurrent HTTP requests, and especially if you're acting as a proxy between the client and some other server.  This is both because you get more visibility into the behavior of the connection pool, and because each request is going to be a bit cheaper than clj-http.
The goal is to have parity with clj-http, but there are some missing features in the 0.4.0 release, including multipart bodies and the proxy functionality.

Thanks, it's clear now. It'd nice to put this sentence into the readme.


Add a license

I didn't see one in the repo. I'd recommend MIT or Unlicense if you're down!

Done, thank you


mzlogin/awesome-adb: ADB Usage Complete / ADB 用法大全

mzlogin/awesome-adb: ADB Usage Complete / ADB 用法大全
https://github.com/mzlogin/awesome-adb

facebook/fb-adb: A better shell for Android devices
https://github.com/facebook/fb-adb


Link not working - Test Data Generation and Auto Prompt

[Enter feedback here]
The link under the heading Test Data Generation and Auto Prompt is not working.
https://github.com/Azure/azureml-insiders/blob/main/previews/retrieval-augmented-generation/examples/notebooks/faiss/faiss_mlindex_with_langchain.ipynb
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1a5e4395-c212-5440-e299-19c1136fec90
Version Independent ID: ba2b393c-6869-0098-26ea-4558a3b8f736
Content: Use Azure Machine Learning pipelines with no code to construct RAG pipelines (preview) - Azure Machine Learning
Content Source: articles/machine-learning/how-to-use-pipelines-prompt-flow.md
Service: machine-learning
Sub-service: core
GitHub Login: @balapv
Microsoft Alias: balapv

@aneeshsr
Thanks for your feedback! We will investigate and update as appropriate.

@balapv @Blackmist
Could you Please review this and update as appropriate.

Hi @aneeshsr
Thanks for bringing this to our attention.
Now links Test Data Generation and Auto Prompt are working fine, can you please check.

@aneeshsr
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation


Monitor BenQ GW2750H

Before opening the issue, have you...?

[X] Searched for existing issues
[X] Read through the Monitor-Troubleshooting Wiki
[X] Updated MonitorControl to the latest version (if applicable)

Describe the issue
Brightness controls works, volume controls appear only to work (meaning i can see the volume conrol and change its value), but the real volume on monitor is not changed. Tested on Windows machine sunin gsame hdmi cable, volme changing works)
Expected behavior
installed freshly downloaded version, changed volume, did not change the volume
Anything else?
No response
Environment Information (please complete the following information)
- macOS version: 12.6.1 Monterey
- Mac model: Macbook (12", Early 2016)
- MonitorControl version: 4.1.0
- Monitor(s): BenQ GW2750H
- Monitor Cable(s)/Connection(s): MacBook usbc -> dock with pd,1xUsb,hdmi port -> monitor
- Apple Silicon/M1 (yes or no): no

I have the same phenomenon in my Redmi 4K  monitor,  it work with DDC mode

macOS version: 12.6.1 Monterey
Mac model: macbook m1 pro 14
MonitorControl version: 4.1.0
Monitor(s): Redmi 4K
Monitor Cable(s)/Connection(s):  typc by display mode
Apple Silicon/M1 (yes or no): yes

@peminator - are you sure DDC brightness control fully works, not only the software dimming part of the scale (by default 0-50%)? if so, then DDC volume should work as well. Other possibility is that the display does not support DDC volume control (many displays fail with this). Windows does not use DDC to control volume but simply alters the digital audio level via its software mixer (macOS does not do that).


where can I find complete documentation of socket io with Adonis ?

Socket io with Adonis
I am developing an API and I have the need to implement socket.io services but I can not find a clear documentation of how to do it
I appreciate your collaboration

AdonisJs has it's own Websocket implementation, so very first question is, why not use that?
Also you have to read socket.io docs, if you plan to use it.

Closing since not actionable


remove array-includes

@ljharb you can create a stable branch, and accept breaking changes into the main, then release a major version with breaking changes.
why support a long ago EOL Node.js versions?

I could, but i have no desire to do that.
Breaking changes are the most costly thing to inflict on the ecosystem, and there’s still people using those versions. Node’s EOL status is irrelevant to whether the ecosystem should support it.

IMHO, we could reduce dependencies and make good use of features added in newer Node.js versions. Dependency reduction will reduce bandwidth, storage requirements thus make this library greener, also improve developer experience.

I could, but more dependencies is better, and there are no features added in newer node versions that I need and can't take advantage of through packages.
Bandwith and storage is npm's concern, as it's simply not sustainable for individual authors to try to fix that problem, and developer experience is largely unaffected since installs happen rarely and are cached, and disk space is infinite and free.
Either way, for future reference, to submit an unsolicited PR with a breaking change to a repo without even an explanation is quite rude.


[GSSOC'23] Implement feature for online doctor

Description of the new feature.
Actually I want to implement a feature of online doctor where The patient and doctor can interact online at the time of emergency situation . Can U please assgin me this issue under GSSOC'23
Describe briefly how you would implement this new feature.
Some steps to implement this enhancement-
1. Step 1
2. Step 2
3. Step 3

Screenshots Example (if applicable)
No response
Additional information
No response
Contributor terms

[X] I agree to follow the Contributing Instructions

Hey @vivxsdb , I want more information on this! Please reach out to meon discord or linkedin

Yes sure


Fixes for building RPMs since Centos 7.3 released

Hello,
I had to make these two changes to build the RPMs on a fresh checkout.
The python change in 6f9b726 is only relevant because my distro ships python3 as default python - this is less relevant to most major distros, but I think the syntax is backwards compatible to python 2.7
The change in 55041d6 is needed since Centos 7.3 is released as the required kernel package is no longer available in the latest base/updates repos, so it is required to enable the Vault repo for 7.2.1511.
Just thought I send this back in case it's useful.
Thanks,
Matt Raso-Barnett
Uni of Cam

Hi Matt.
Thanks for this PR. I've updated the docker build stuff to use Lustre 2.9.0 which is based on a 7.3 kernel. I've also incorporated your python3 compatibility fix with a note giving you credit in the commit message. I figured that would be simpler than asking you to rebase and going through the whole PR process again.


WIP A test

Description of the change:
Motivation for the change:
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

e2e-aws-olm test completed successfully, failures in https://github.com/operator-framework/operator-lifecycle-manager/pull/1289 seem to be a flake.


Move plugin configuration to the system database

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/612
Originally created by @mbergeron on 2019-04-24 16:16:56

I'm sorry #nosorries
Follow-up of #611
We need to implement the backend to the new configuration front-end.
Steps

[x] Update the discovery.yml to add the settings metadata

discovery.yml
extractors:
  - name: tap-gitlab
    pip_url: "git+https://gitlab.com/meltano/tap-gitlab.git"
    config:
      name: gitlab  # used as a prefix for ENV
      version: 0.1
      settings:
      - name: api_url
        value: "https://gitlab.com/api/v4"
        label: GitLab API URL
      - name: private_token
        label: GitLab API Token
        description: Either an API token or a private access token.
      - name: groups
        label: Enabled groups
        description: Comma-delimited list of groups ids or name to fetch
      - name: projects
        label: Enabled projects
        description: Comma-delimited list of project ids or path (`namespace/project`)
      - name: start_date
        label: Extract from
        description: Format YYYY-MM-DDTHH:MM:SSZ
…

[x] Add a new PluginSettings table to the system database
[x] Store/Update the PluginSettings definitions in the system database on install
[ ] Refactor the meltano.yml to expose settings per name instead of the definition

meltano.yml
plugins:
  extractors:
    tap-custom:
      config:
        - CUSTOM_SETTING_1
        - CUSTOM_SETTING_2
        - PASSWORD

[x] Refactor the meltano runtime to hydrate settings from the PluginSetting table.

We also want to keep the ENV configuration alive, so the process for hydrating shall have the following precedence (bottom has more precedence):

PluginSettings value for the current plugin and setting name
Environment variable with the setting name

That way we'll keep support for local development using a .env file without any modification.
Future iterations

Port the discovery.yml to HOCON to split it, then generate a YAML out of it at bundle time.
Add a profile concept on top of the settings to be able to have multiple variations for a plugin.
Port over meltano select configuration
Port over Database connections configuration

View 20 previous comments from the original issue on GitLab


refactor: move default PR template

This PR fixes the default PR template.
To set the default, we must follow this structure:
.github
    -> PULL_REQUEST_TEMPLATE.md (This going to be the default one)
    -> PULL_REQUEST_TEMPLATE (folder)
        -> custom1
        -> custom2

source: https://github.community/t/multiple-pull-request-template/874/10
Checklist

[x] updated CHANGELOG.md

ppp


Add multiple-download-v2

Features:

Download multiple files with a list.
Calcul ETA / SPEED / PROGRESS with all current download (not file per file)
We can choose how many files can be downloaded simultaneously

That's all for me 😉

Close due to inactivity...


Moving to the noble Github organization

Now that we own the noble Github org, we should move noble and it's "family" over.
Is there anything preventing us from doing this now? In theory Github should redirect any current links over automatically. Then we can update the package.json links over as needed and add OpenCollective banners to all the read me's.
Candidate repos are:

https://github.com/sandeepmistry/noble
https://github.com/sandeepmistry/bleno
https://github.com/sandeepmistry/noble-device
https://github.com/sandeepmistry/node-bluetooth-hci-socket
https://github.com/sandeepmistry/node-xpc-connection (maybe)
https://github.com/sandeepmistry/node-core-bluetooth (once ready and published)

Did I miss anything?
From the discussion in #741, would anyone who's using these repo's be interested in stepping up to be a maintainer (for one or more bindings, issue triage, etc) . @M1ras @jrobeson
cc/ @monteslu @jacobrosenthal

I've transferred the following repos over:

https://github.com/sandeepmistry/noble
https://github.com/sandeepmistry/bleno
https://github.com/sandeepmistry/noble-device
https://github.com/sandeepmistry/node-bluetooth-hci-socket

I've close this topic for now, but let me know if we should transfer anything else over.


Added GeoBounds aggregation on GeoShape field type.(#3980)

Description
Added GeoBounds aggregation on GeoShape field type.(#3980)
This change also includes:
* Addition of Doc values on the GeoShape Field.(#4049)
* Addition of GeoShape ValueSource level code interfaces for accessing the DocValues.(#4049)
* Addition of Missing Value feature in the GeoShape Aggregations.
Signed-off-by: Navneet Verma<EMAIL_ADDRESS>Issues Resolved
#3980, #4049
Check List

[X] New functionality includes testing.

[X] All tests pass

[X] New functionality has been documented.

[X] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Gradle Check (Jenkins) Run Completed with:

RESULT: UNSTABLE ❌
URL: https://build.ci.opensearch.org/job/gradle-check/1946/
CommitID: 2853372

Tracking GH issue for the test which is failing in this build: https://github.com/opensearch-project/OpenSearch/issues/4238

Codecov Report

Merging #4266 (4643620) into main (ee26e01) will increase coverage by 0.05%.
The diff coverage is n/a.

:exclamation: Current head 4643620 differs from pull request most recent head 2853372. Consider uploading reports for the commit 2853372 to get more accurate results

@@             Coverage Diff              @@
##               main    #4266      +/-   ##
============================================
+ Coverage     70.63%   70.68%   +0.05%
- Complexity    57120    57142      +22
============================================
  Files          4606     4606
  Lines        274839   274839
  Branches      40241    40241
============================================
+ Hits         194130   194273     +143
+ Misses        64411    64282     -129
+ Partials      16298    16284      -14

Impacted Files
Coverage Δ

...adonly/AddIndexBlockClusterStateUpdateRequest.java
0.00% <0.00%> (-75.00%)
:arrow_down:

.../index/shard/IndexShardNotRecoveringException.java
0.00% <0.00%> (-50.00%)
:arrow_down:

...cluster/coordination/PendingClusterStateStats.java
20.00% <0.00%> (-48.00%)
:arrow_down:

...readonly/TransportVerifyShardIndexBlockAction.java
9.75% <0.00%> (-41.47%)
:arrow_down:

...indices/readonly/TransportAddIndexBlockAction.java
20.68% <0.00%> (-37.94%)
:arrow_down:

...pensearch/action/ingest/DeletePipelineRequest.java
31.25% <0.00%> (-37.50%)
:arrow_down:

.../indices/readonly/AddIndexBlockRequestBuilder.java
0.00% <0.00%> (-33.34%)
:arrow_down:

...opensearch/index/reindex/BulkByScrollResponse.java
48.38% <0.00%> (-28.23%)
:arrow_down:

...rc/main/java/org/opensearch/ingest/IngestInfo.java
51.72% <0.00%> (-27.59%)
:arrow_down:

...a/org/opensearch/index/mapper/MapperException.java
75.00% <0.00%> (-25.00%)
:arrow_down:

... and 445 more

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

refired the checks


Improve supportability regarding Invalid Instrumentation Keys

Problem
Customers are affected when the SDK does not report invalid instrumentation keys.
Out of Scope

Note that the SDK cannot validate an ikey. The SDK is able to send to multiple ingestion services so it must be the responsibility of those ingestion services to validate keys. Http response codes are emitted in ETW logs.

Changes

The TelemetryConfiguration factory will now report if an Ikey was not found in either the config file or environment variables. DONE https://github.com/microsoft/ApplicationInsights-dotnet/pull/1187 (This was shipped in 2.12-Beta1)
https://github.com/microsoft/ApplicationInsights-dotnet/blob/7633ae849edc826a8547745b6bf9f3174715d4bd/BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/TelemetryConfigurationFactory.cs#L470-L489

The TelemetryConfiguration.InstrumentationKey currently throws an exception when set to null.
This will be changed to include empty strings and illegal characters.
https://github.com/microsoft/ApplicationInsights-dotnet/blob/7633ae849edc826a8547745b6bf9f3174715d4bd/BASE/src/Microsoft.ApplicationInsights/Extensibility/TelemetryConfiguration.cs#L145-L150

@TimothyMothra Regarding making empty string invalid, how does this affect the use case of running locally with no key so Visual Studio enables telemetry but doesn't forward it to an AI instance?

Hi @phatcher, thanks for the reminder. I'll test this scenario.
My change here only throws an exception if a user tries to explicitly set an empty string. if you're leaving the key property empty by default, nothing should change. :)

@TimothyMothra the question remains - what would be the customer experience look like? One may want to disable telemetry when running locally and do it programmatically.

Also, if ikey is set from config file and config file is broken - is it OK to just crash startup of an app?

for 2.12, I'm expanding ETW logs to report when an Instrumentation Key is missing or misconfigured.
for 2.13, I'm considering an Environment Variable driven "diagnostic mode" that would auto-inject our FileWritter that saves ETW events to text file.
This would be opt-in as needed and allow users to collect ETW traces that otherwise wouldn't be accessible.

Can we close this? as we now add ETW log?

We have this item tagged for next milestone to further improve the scenario: https://github.com/microsoft/ApplicationInsights-dotnet/issues/1059


Inconsistent image bundling in Android

I'm using "react-native": "0.41.2", but have been having this issue since well before this release.
Sometimes when I bundle and build my android project, some of the images won't show up. The number, and which images are inconsistent as well. If I bundle again, some other images might show up, but others will disappear. If I bundle and check all of them a few times, they might all show up at some point... Any ideas?

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!


Add MFR and LSCS part numbers to schematic

To allow creating JLCPCB-ready BOM from kicad, I added part numbers to schematic symbols
See also

https://github.com/StuckAtPrototype/Racer/issues/14
https://github.com/StuckAtPrototype/Racer/discussions/12

If possible could you please also set a property MPN as used by Aisler? I just tried and you can use a variable like MPN = ${MFR Part #} so the actual property values are not duplicated.

If possible could you please also set a property MPN as used by Aisler? I just tried and you can use a variable like MPN = ${MFR Part #} so the actual property values are not duplicated.

I can rename it. The name wasn't required, I just added for completness

I can rename it. The name wasn't required, I just added for completness

If the name doesn't matter and you could use MPN that would be great, as it would make the Aisler matching algorithm work out of the box.

Awesome, thanks! One thing I noticed is that components S2 and S3 seem to have a value assigned that doesn't match the MPN/LCSC field. Everything else looks good to me.

I noticed is that components S2 and S3 seem to have a value assigned that doesn't match the MPN/LCSC field

What do you mean by this? I looked again into it, but didn't notice anything conspicuous

What do you mean by this? I looked again into it, but didn't notice anything conspicuous

S2 and S3 have TL4100AF240QG_ in the "Value" field and PTS810SJM250SMTRLFS in the "MPN" field, which seem to be two different types of switches.

Ah, now I got it. This is because I orientated on the existing bom file. So I guess it would make sense to update S2 and S3 then


command "dotnet --version" unknowed by the terminal

URL
https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/install
Operating system
macos
More information about your system
macOS Monterey 12.7.6
Architecture x64
Description
I want to install .NET SDK to build a first .NET Application. I did click to install and it's intalled.  If not, can you add it to your PATH and try running dotnet --info again?