Add VTK operator and endoscopy_tool_tracking_vtk application

Hi there, before I submit this to the main repo, we can have a brief review of the proposed application.
I edited the README to guide the user through how to setup and build this application, here is the extract:
How to build this.
You need to create a docker image which includes VTK with the provided vtk.Dockerfile:
docker build -t vtk:latest -f vtk.Dockerfile .

Then, you can build the tool tracking application with the provided Dockerfile:
./dev_container launch --img vtk:latest

Inside the container you can build the holohub suite with:
./run setup
./run build

Now you can run the tool tracking application with:
./run launch endoscopy_tool_tracking_vtk cpp

@jadh4v

superseeded by #2


Bump helix-machines package versions

This repo is rather far behind in its package versions. Time fo get caught up…
See also

work item 6613
work item 6632
work item 6638

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[x] Internal Infrastructure Improvements

Release Note Description
Bump most package versions in our dotnet-helix-machines repository.

As we already have someone working on the package versions listed in this issue, I am going to close this issue.


fix(vue): add id props and improve state exposition

BREAKING CHANGE: Update exposed context types and remove unnecessary expose calls
This PR contains :

Addition of id prop to all components ( Closes #825 )
Update to types to be as close as possible to the machine
Addition fo slot props for exposure (update slot props when needed and expose when needed) ( Closes #913 , #905 )

"id": {
    "type": "string",
    "isRequired": true,
    "description": "The unique identifier of the machine."
  },

The generated types, in this case the accordion are not 100% correct. The id should be optional. We achieve this in React / Solid doing sth like this:
export type UseAccordionProps = Optional<accordion.Context, 'id'>

Hey ya'll. Just wondering if this PR is taking into account the recent release of Vue 3.3 and specifically being able to use imported types in SFC? I just upgraded and the exported types from Ark don't seem to be compatible for some reason.
Just curious as this could be a huge time saver as I wouldn't need to re-write all of the props in my custom components, but just import an extend the ones from Ark instead.

Hey @jiblett1000
This PR is not related, as the SFC types are only available under SFC's. We use TSX to build our Vue components so we don't have the same issues as we can already use Typescript how we want.
The exported types are pure typescript so you can reuse them in your own defineProps if needed.
Could you elaborate a little bit more on what you mean by "exportes types don't seem compatible for some reason", what errors do you have etc?
Thanks

Hey @Shyrro I'm happy to create an issue for this if need be. This is where I'm importing / using the type:
import type { NumberInputProps } from "@ark-ui/vue";

interface Props {
  label: string;
  id?: string;
  paddingRight?: number;
  paddingLeft?: number;
}

const props = defineProps<NumberInputProps & Props>();

I modified an existing stackblitz to show the error.... although, I'm getting a different error there than I am locally.
https://stackblitz.com/edit/nuxt-starter-3jzcrb?file=components%2FChildDialog.vue


Make type_eq_non_static more robust

By returning and checking equality of function name of TypeIdNonStatic::of, the type name of T and the needs_drop attribute of T.
This would makes it even more unlikely for LLVM to merge these functions and prevent false positive.
Signed-off-by: Jiahao XU<EMAIL_ADDRESS>

CI "1.38.0 macos-latest" fail when compiling rustversion, which is not related to this PR.

The CI failure is probably caused by https://github.com/rust-lang/rust/issues/107252

Sorry for my long absence here. Closing this in favor of #14 which avoids function pointers entirely.


[#6459] Typing indicator shown after bot has replied

Fixes #6459
Description
This PR fixes an issue where the bot shows the typing indicator after it already has replied.
Moving away from running multiple background Tasks in a single Conversation, to having only one per Conversation, avoiding the execution disparity between each other.
Specific Changes

Added OnSendActivities listener to cancel the background task loop before a message is sent.
Added two helper functions to start and finish the background task loop.
Updated background Task and CancellationToken to be one per Conversation, instead of multiple ones.

Testing
The following image shows the before and after the applied fix.

Pull Request Test Coverage Report for Build 320090

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.001%) to 79.078%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder/ShowTypingMiddleware.cs
7
89.06%

Totals

Change from base Build 319317:
0.001%

Covered Lines:
25581

Relevant Lines:
32349

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll


Remove Melodic due to EOL

Related to Issue #160

This PR now also include improve robustness to the CI

Melodic build should work, so I will close this PR and move the other commits to another PR


Future Issue

I already review the code. date-picker not actually depend on calendar-element. I think it will difficult to improve in the future. We should reimplement it. Also calendar-element should implement Polymer.IronOverlayBehavior.

date-picker does depend on calendar-element by implementing CalendarElementPattern. Where would the calendar else coming from?
Those elements all depend in a polymorphic way on each other and the templates are here combined in each other. The usage of those patterns makes it possible to combine different template strings, so that the needed static template getter is fullfilled when defining the customElement finally. Because <datetime-picker> and <date-picker> need the same template, too, it is a way to save redundancy.
Also I tried to not use an inner calendar element in the template because I would have to repeat every attribute binding itself, and like that it is not necessary.
The calendar-element itself also just mixins CalendarElementPattern, when being defined (it's on the bottom of the page of calendar-element.html). This technique is nowhere described like that, but I thought it makes sence, because I write some other polyfill pickers, too, like  and there I can also use that build-up.
There is overlay-date-picker that implements Polymer.IronOverlayBehavior, what does put it in an overlay or if you just need an calendar in an overlay there is overlay-element:
<overlay-element opened="{{opened}}">
   <calendar-element date="{{date}}"></calendar-element>
</overlay-element>

The reason for doing it in first place just by css, is to keep it small, to can use the calendar-element separatly and keep it extendable.

Yes, It's special to implement this way, polymer supposed to simple. Your core is a little complicated. I hope you think again. This is just suggestion.
About me. I already implement in a new way. the element  uses paper-input, iron-icon and it very simple.
Great work. BTW.


[PyTorch Upstream] HuggingFace two model E2E training accuracy regression.

After upgrade triton commit pin from b8c64f64c18d8cac598b3adb355c21e7439c21de( currently stock Pytorch in used) to 514e4cdf004278c82216364d1f8534b940cd4238 （2.4 release candidate),
We found the two model accruacy error in the same Pytorch version (every thing is the same except for triton):
xpu,DebertaForMaskedLM,1,fail_accuracy,804,1,3,3,0,0,0
xpu,DebertaForQuestionAnswering,1,fail_accuracy,811,1,3,3,0,0,0

I've also tried the earliest 2.4 release candidate commit id:  dd072259e1df5c0cd42034d90ec5f464f22e5ae3 and  passed, hope this will reduce the scope of your regrssion searches.
To reproduce:
use the stock pytorch main branch plus this PR: https://github.com/pytorch/pytorch/pull/126516
Test script: https://github.com/intel/torch-xpu-ops/blob/main/.github/scripts/inductor_xpu_test.sh
driver: 803.29
command:
bash -x inductor_xpu_test.sh huggingface  float32  training accuracy xpu 0 static 1 0 DebertaFor
MaskedLM

I was able to reproduce the failure with dd07225. However, b8c64f4 passed.
Bisecting produced the following result:
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
059f57c4ecd193dd438d784fb28b074b68317c6c
1af93bd370222e79bebe9f970a392673275e9af6
36a692825f34a0c0702e3e6bc87c4bb2a01bc22a
64b4ed717721833569014abf41095adad939fcf4
455e68f8dbd734833621902ca3475aa9fb5a8501
We cannot bisect more!

(Note that due to the merge commit structure we cannot build openai commits in isolation.)
I am investigating the above set of commits now to see if I can narrow down the issue.

This is the bad commit: https://github.com/intel/intel-xpu-backend-for-triton/commit/059f57c4ecd193dd438d784fb28b074b68317c6c#diff-00e5b15068049beb083ce4359833adf047e65d36691c575685a5995277ff26c6R839

Hi， @alexbaden I double checked that the commit dd07225 is faild, sorry for misleading your debug.

The accuracy issue is reproducible for this Triton kernel (TorchInductor generated for DebertaForQuestionAnswering backward pass program):
@triton.jit
def triton_(in_ptr0, in_ptr1, in_ptr2, in_ptr3, in_ptr4, in_ptr5, out_ptr3, out_ptr4, xnumel, rnumel):
    xnumel = 512
    XBLOCK: tl.constexpr = 1
    rnumel = 768
    RBLOCK: tl.constexpr = 1024
    xoffset = tl.program_id(0) * XBLOCK
    xindex = tl.full([1], xoffset, tl.int32)
    xmask = xindex < xnumel
    rindex = tl.arange(0, RBLOCK)[:]
    roffset = 0
    rmask = rindex < rnumel
    r1 = rindex
    x0 = xindex
    tmp0 = tl.load(in_ptr0 + (r1 + (768*x0)), rmask & xmask, other=0.0)
    tmp1 = tl.load(in_ptr1 + (r1 + (768*x0)), rmask & xmask, other=0.0)
    tmp3 = tl.load(in_ptr2 + (r1), rmask, eviction_policy='evict_last', other=0.0)
    tmp6 = tl.load(in_ptr3 + (r1 + (768*x0)), rmask & xmask, other=0.0)
    tmp7 = tl.load(in_ptr4 + (x0), xmask, eviction_policy='evict_last')
    tmp37 = tl.load(in_ptr5 + (r1 + (768*x0)), rmask & xmask, other=0.0).to(tl.int1)
    tmp2 = tmp0 + tmp1
    tmp4 = tmp2 * tmp3
    tmp5 = -tmp4
    tmp8 = tmp6 / tmp7
    tmp9 = tmp8 / tmp7
    tmp10 = tmp5 * tmp9
    tmp11 = tl.broadcast_to(tmp10, [RBLOCK])
    tmp13 = tl.where(rmask & xmask, tmp11, 0)
    tmp14 = triton_helpers.promote_to_tensor(tl.sum(tmp13, 0))
    tmp15 = tmp4 / tmp7
    tmp16 = -tmp15
    tmp17 = tl.broadcast_to(tmp16, [RBLOCK])
    tmp19 = tl.where(rmask & xmask, tmp17, 0)
    tmp20 = triton_helpers.promote_to_tensor(tl.sum(tmp19, 0))
    tmp21 = 2.0
    tmp22 = tmp7 * tmp21
    tmp23 = tmp14 / tmp22
    tmp24 = 0.0013020833333333333
    tmp25 = tmp23 * tmp24
    tmp26 = tmp6 * tmp21
    tmp27 = tmp25 * tmp26
    tmp28 = -tmp27
    tmp29 = tl.broadcast_to(tmp28, [RBLOCK])
    tmp31 = tl.where(rmask & xmask, tmp29, 0)
    tmp32 = triton_helpers.promote_to_tensor(tl.sum(tmp31, 0))
    tmp33 = tmp15 + tmp27
    tmp34 = tmp20 + tmp32
    tmp35 = tmp34 * tmp24
    tmp36 = tmp33 + tmp35
    tmp38 = 0.0
    tmp39 = tl.where(tmp37, tmp38, tmp36)
    tmp40 = 1.1111111111111112
    tmp41 = tmp39 * tmp40
    tl.store(out_ptr3 + (r1 + (768*x0)), tmp36, rmask & xmask)
    tl.store(out_ptr4 + (r1 + (768*x0)), tmp41, rmask & xmask)


Remote App quits with "error 1359" after few seconds

OS:
Arch linux.
OpenH264 1.7.0
Window 10 Enterprise
When starting app with:
xfreerdp +clipboard\
 /u:login /p:pass\
 /v:<IP_ADDRESS>\
 /app:"C:\Program Files\Internet Explorer\iexplore.exe"

The process is closing with log:
[02:19:09:971] [15978:15979] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[02:19:09:971] [15978:15979] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[02:19:09:992] [15978:15979] [ERROR][com.winpr.timezone] - Unable to get current timezone rule
[02:19:09:060] [15978:15979] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[02:19:09:060] [15978:15979] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[02:19:09:064] [15978:15979] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[02:19:18:097] [15978:15990] [ERROR][com.freerdp.channels.rail.client] - context.ServerMinMaxInfo failed with error 1359
[02:19:18:097] [15978:15990] [ERROR][com.freerdp.channels.rail.client] - rail_order_recv failed with error 1359!
[02:19:18:098] [15978:15979] [ERROR][com.freerdp.core] - rail_virtual_channel_client_thread reported an error. Error was 1359
[02:19:18:098] [15978:15979] [INFO][com.freerdp.client.x11] - Network disconnect!
[02:19:18:098] [15978:15979] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor

Build info:
This is FreeRDP version 2.0.0-dev2 (a90be5609)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EVENTFD_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_JOURNALD_H=TRUE HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=OFF WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DIRECTFB=OFF WITH_EVENTFD_READ_WRITE=1 WITH_FFMPEG=ON WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_GSSAPI=OFF WITH_GSTREAMER_0_10=OFF WITH_GSTREAMER_1_0=ON WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=ON WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENH264=ON WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PAM=ON WITH_PCSC=OFF WITH_PROFILER=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_LEAK=OFF WITH_SANITIZE_LEAK_AVAILABLE=1 WITH_SERVER=ON WITH_SERVER_CHANNELS=ON WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SSE2=ON WITH_THIRD_PARTY=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_WAYLAND=ON WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XDAMAGE=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XTEST=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          Release
CFLAGS:              -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls
Compiler:            GNU, 7.3.0
Target architecture: x64

Build flags:
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DWITH_PULSE=ON \
-DWITH_SERVER=ON \
-DWITH_OPENH264=ON \

Does it work with #4322 applied?

I've encountered what I think is the same problem. It happens exactly when I click on a menu to open it.
I checked out 6950d95 (from akallabeth/FreeRDP.git) and now menus work. However, after a few minutes, it crashed with this error:

X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  18 (X_ChangeProperty)
Resource id in failed request:  0x0
Serial number of failed request:  46398
Current serial number in output stream:  46409

I think opening a menu (that worked previously) caused it, but I'm not sure. I cannot reproduce it.

@chrislong please check out the pull request #4322, the commit you mention is only half of it

@akallabeth Thanks for the tip. I checked out PR #4322 (with git fetch origin pull/4322/head:localbranch and git checkout localbranch) and built in a new tree with the default configuration. I can still reproduce the error if I repeatedly click on a menu to open and close it. ./xfreerdp --version reports:
This is FreeRDP version 2.0.0-dev2 (47110a723)
If it matters, I'm running on Ubuntu 16.04 logging into Windows 10.

I tried again with version
This is FreeRDP version 2.0.0-dev2 (47110a723)
I got it to crash with this command line and output (connecting to a Windows 10 VM):
[21:17:15:169] [30851:30852] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[21:17:15:169] [30851:30852] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[21:17:15:797] [30851:30852] [ERROR][com.winpr.sspi.Kerberos] - error while getting credentials
[21:17:15:797] [30851:30852] [ERROR][com.winpr.sspi.Kerberos] - Kerberos credentials not found and could not be acquired
[21:17:15:797] [30851:30852] [WARN][com.winpr.negotiate] - No Kerberos credentials. Retry with NTLM
[21:17:15:797] [30851:30852] [WARN][com.winpr.sspi] - InitializeSecurityContextA status SEC_E_NO_CREDENTIALS [0x8009030E]
[21:17:16:262] [30851:30852] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[21:17:16:262] [30851:30852] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[21:17:16:352] [30851:30852] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[21:17:18:532] [30851:30852] [INFO][com.freerdp.client.x11] - Logon Error Info LOGON_FAILED_OTHER [LOGON_MSG_SESSION_CONTINUE]
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Resource id in failed request:  0x0
  Serial number of failed request:  46196
  Current serial number in output stream:  46202

Before that, I tried with another machine running Windows Server 2016 and could not make that crash. It could be the version of Windows or maybe it's that the crash occurs when running against a local VM but not one running over the internet (on AWS EC2).

Hi all.
I'm not 100% sure I'm getting the same issue or a slightly different one.
I have built FreeRDP from the current Git master (a9ecd6a at time of writing) and applied all of the changes that make up #4322.  I manually applied each of the changes in "Fixed #3676, #4269: Screen update for RAIL with GFX" as it no longer applies automatically and I'm not good enough with git to have it fix it for me.
Anyway, when using rail ("xfreerdp /u:DOMAIN\username /v: /app:"||visio" +clipboard +fonts /drive:home,/home/username', Windows Server 2016) I get the following error intermittently:
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x46003c3
  Serial number of failed request:  8994
  Current serial number in output stream:  8994

I am able to connect and operate for a few minutes before it happens.  I think it is popup menus and/or tool tip like windows that are causing it, but Visio is always popping up some crap so it's hard to be sure.
I use this daily for work so I'm more than happy to give any proposed fixes a good workout.
Cheers.
Shaun.

@ShaunMaher #4322 applies cleanly on current master, looks like you've got some other issue here.


[Chatllama] Supervised Finetune on LLaMA-13B

I tried to load LLaMA-13B model and train it using the following command:
torchrun --nproc_per_node 2 artifacts/main.py artifacts/config/config.yaml --type ACTOR
config:
actor_config:
  model: "llama-13B"
  model_path: "/root/InstructUIE/run_llama/llama/13B"
  checkpoint_folder: "/root/InstructUIE/run_llama/llama/13B/checkpoints"
  tokenizer_folder: "/root/InstructUIE/run_llama/llama/tokenizer.model"
  train_dataset_path: "./datasets/actor_training_data.json"
  validation_dataset_path: null
  froze_embeddings: True
  use_fairscale: True
  max_sequence_length: 1024
  max_tokens: 512
  temperature: 0.8
  batch_size: 1
  iteration_per_print: 1
  lr: 0.00001
  epochs: 3
  deepspeed_enable: False
  deepspeed_config_path: "/root/InstructUIE/ds_configs/stage2_llama.config"

And I get the following error:
        size mismatch for layers.38.attention.wq.weight: copying a param with shape torch.Size([2560, 5120]) from checkpoint, the shape in current model is torch.Size([5120, 5120]).
        size mismatch for layers.38.attention.wk.weight: copying a param with shape torch.Size([2560, 5120]) from checkpoint, the shape in current model is torch.Size([5120, 5120]).
        size mismatch for layers.38.attention.wv.weight: copying a param with shape torch.Size([2560, 5120]) from checkpoint, the shape in current model is torch.Size([5120, 5120]).
        size mismatch for layers.38.attention.wo.weight: copying a param with shape torch.Size([5120, 2560]) from checkpoint, the shape in current model is torch.Size([5120, 5120]).
        size mismatch for layers.38.feed_forward.w1.weight: copying a param with shape torch.Size([6912, 5120]) from checkpoint, the shape in current model is torch.Size([13824, 5120]).
        size mismatch for layers.38.feed_forward.w2.weight: copying a param with shape torch.Size([5120, 6912]) from checkpoint, the shape in current model is torch.Size([5120, 13824]).
        size mismatch for layers.38.feed_forward.w3.weight: copying a param with shape torch.Size([6912, 5120]) from checkpoint, the shape in current model is torch.Size([13824, 5120]).
        size mismatch for layers.39.attention.wq.weight: copying a param with shape torch.Size([2560, 5120]) from checkpoint, the shape in current model is torch.Size([5120, 5120]).
        size mismatch for layers.39.attention.wk.weight: copying a param with shape torch.Size([2560, 5120]) from checkpoint, the shape in current model is torch.Size([5120, 5120]).
        size mismatch for layers.39.attention.wv.weight: copying a param with shape torch.Size([2560, 5120]) from checkpoint, the shape in current model is torch.Size([5120, 5120]).
        size mismatch for layers.39.attention.wo.weight: copying a param with shape torch.Size([5120, 2560]) from checkpoint, the shape in current model is torch.Size([5120, 5120]).
        size mismatch for layers.39.feed_forward.w1.weight: copying a param with shape torch.Size([6912, 5120]) from checkpoint, the shape in current model is torch.Size([13824, 5120]).
        size mismatch for layers.39.feed_forward.w2.weight: copying a param with shape torch.Size([5120, 6912]) from checkpoint, the shape in current model is torch.Size([5120, 13824]).
        size mismatch for layers.39.feed_forward.w3.weight: copying a param with shape torch.Size([6912, 5120]) from checkpoint, the shape in current model is torch.Size([13824, 5120]).
        size mismatch for output.weight: copying a param with shape torch.Size([16000, 5120]) from checkpoint, the shape in current model is torch.Size([32000, 5120]).

it's strange, with "use_fairscale: True" it should solve 'size mismatch' problem.

@Ageliss Please try this pr. https://github.com/nebuly-ai/nebullvm/pull/271

@Ageliss Please try this pr. #271

It works. THX!

Hi @zhzou2020, thank you very much for the PR! Nice work 😄


feat(pkg.readme) truncate readmes longer than 450kB

This won't happen often at all, since for now, it should never appear.
adds  **TRUNCATED** to the end of a very long README.

Will this cut in the middle of [link](http://...?

Yes, it will, but in that case the renderer will show
[link](https:// TRUNCATED

Should we use a module that does this truncate? https://www.npmjs.com/package/truncate-utf8-bytes seems to fit our needs while removing custom code for us (no maintenance on this code)

Good point, probably has very similar code


[Habit’s page] Habit isn't marking as done on the current day in the Calendar when it is marked by button 'Mark as done'

Environment: MacOS 13.2.1, browser Version 112.0.5615.137, it's version 20/04/2023.
Reproducible: always.
Build found: last commit from https://github.com/ita-social-projects/GreenCityClient/tree/dev
E.g. "commit 147fa44"
Preconditions

User has at least one habit in progress that is unmarked for current day

Steps to reproduce

1.Go to https://www.testgreencity.ga/#/greenCity.
Log in as registered user.
Click on the pencil icon on the selected habit's card.
Click on the 'Mark as done' button above the calendar.
Click on the current day in the Calendar and verify whether the selected habit is marked in the pop-up.

Actual result
Marked as done habit is unmarked in the pop-up with the list of habits on the current day in the Calendar and
has the next check box (+) . []
Expected result
The selected habit is marked as done in the pop-up with the list of habits on current day in the Calendar
and has the next check box (V) [_].  Habit is becoming marked in the pop-up in the Calendar only after refreshing the page.
User story and test case links
E.g.: "User story #100
[Test case](https://jira.softserve.academy/browse/GC-6312"
Labels to be added
"Bug", Priority ("pri: Medium"), Severity ("severity: Major"), Type ( "Functional"), "API"
https://user-images.githubusercontent.com/128076020/233866247-c8bacd67-ab3a-449e-86ba-0c33dffe935c.mp4
https://user-images.githubusercontent.com/128076020/233866403-b401bca4-23b9-458f-abe6-a6e2d560f255.mp4
(for back-end bugs).

The bug is fixed, retest on MacOs Ventura 13.4.1(c), Chrome Version 115.0.5790.114 (Official Build) (arm64)


PP-4451 organisation name page

WHAT
Add contract test for merchant details PATCH request

new pact test update_merchant_name_test verifies that a
request to the PATCH endpoint in adminUsers updates the merchant name
successfully

Fixes flaky browser tests

adds missing assertions to the end of tests where previous flaky behaviour was exhibited. See SHA: 143a9b2
refactors organisation_name_spec to incorporate new utils in request_to_go_live_utils.

The build may fail because I had to reboot CI. Re-run it if it goes red.


greenhills support: fix the greenhills compile warning on sizeof operand

Summary
greenhills support: fix the greenhills compile warning on sizeof operand
the detailed warning info are:
CC:  syslog/vsyslog.c "pthread/pthread_create.c", line 443: warning #1931-D: operand of sizeof is
not a type, variable, or dereferenced pointer expression
ptcb->cmn.timeslice = MSEC2TICK(CONFIG_RR_INTERVAL);
^
CC:  dirent/lib_closedir.c "sched/sched_profil.c", line 81: warning #1931-D: operand of sizeof is not a
type, variable, or dereferenced pointer expression
wd_start(&prof->timer, PROFTICK, profil_timer_handler, arg);
^
"sched/sched_profil.c", line 142: warning #1931-D: operand of sizeof is not a
type, variable, or dereferenced pointer expression
wd_start(&prof->timer, PROFTICK, profil_timer_handler, (wdparm_t)prof);
^
CC:  common/arm_modifyreg8.c "sched/sched_setscheduler.c", line 165: warning #1931-D: operand of sizeof is
not a type, variable, or dereferenced pointer expression
tcb->timeslice  = MSEC2TICK(CONFIG_RR_INTERVAL);
^
CC:  misc/lib_utsname.c "sched/sched_unlock.c", line 275: warning #1931-D: operand of sizeof is not a
type, variable, or dereferenced pointer expression
rtcb->timeslice = MSEC2TICK(CONFIG_RR_INTERVAL);
^
"sched/sched_roundrobin.c", line 119: warning #1931-D: operand of sizeof is
not a type, variable, or dereferenced pointer expression
tcb->timeslice = MSEC2TICK(CONFIG_RR_INTERVAL);
^
CC:  armv7-m/arm_fpuconfig.c cxarm: Error: No files.  Try -help. CC:  misc/lib_crc8ccitt.c cxarm: Error: No files.  Try -help. cxarm: Error: No files.  Try -help.
CC:  getprime_main.c cxarm: Error: No files.  Try -help. cxarm: Error: No files.  Try -help.
CC:  misc/lib_log2ceil.c cxarm: Error: No files.  Try -help. CC:  task/task_start.c "task/task_setup.c", line 423: warning #1931-D: operand of sizeof is not a
type, variable, or dereferenced pointer expression
tcb->timeslice      = MSEC2TICK(CONFIG_RR_INTERVAL);
^
Impact
Testing

the build error on MacOS is:
Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/lib/math32.h:41:19: error: missing binary operator before token "("    41 | #if UINTPTR_MAX > UINT32_MAX       |                   ^~~~~~~~~~ Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/wdog.h:52:20: error: missing binary operator before token "("    52 | #if UINTPTR_MAX >= UINT32_MAX       |                    ^~~~~~~~~~ ERROR: x86_64-elf-gcc failed: 1        command: x86_64-elf-gcc -MT ./hello_main.c.Users.runner.work.nuttx.nuttx.sources.apps.examples.hello.o  -M '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector' '-mno-red-zone' '-mrdrnd' '-isystem' '/Users/runner/work/nuttx/nuttx/sources/nuttx/include' '-D__NuttX__' '-D__KERNEL__' '-Wno-cpp' '-Werror' '-I' '/Users/runner/work/nuttx/nuttx/sources/apps/include' ./hello_main.c In file included from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/sys/types.h:32,                  from ./string/lib_memcpy.c:26: Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/lib/math32.h:41:19: error: missing binary operator before token "("    41 | #if UINTPTR_MAX > UINT32_MAX       |                   ^~~~~~~~~~ Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/wdog.h:52:20: error: missing binary operator before token "("    52 | #if UINTPTR_MAX >= UINT32_MAX       |                    ^~~~~~~~~~ ERROR: x86_64-elf-gcc failed: 1        command: x86_64-elf-gcc -MT bin/lib_memcpy.o  -M '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector' '-mno-red-zone' '-mrdrnd' '-isystem' '/Users/runner/work/nuttx/nuttx/sources/nuttx/include' '-D__NuttX__' '-Wno-cpp' '-Werror' '-I' '/Users/runner/work/nuttx/nuttx/sources/nuttx/libs/libc' ./string/lib_memcpy.c make[2]: *** [lib_memcpy.ddc] Error 1 In file included from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/sys/types.h:32,                  from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/time.h:31,                  from ./time/lib_timegm.c:27: Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/lib/math32.h:41:19: error: missing binary operator before token "("    41 | #if UINTPTR_MAX > UINT32_MAX       |                   ^~~~~~~~~~ ERROR: x86_64-elf-gcc failed: 1        command: x86_64-elf-gcc -MT bin/lib_timegm.o  -M '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector' '-mno-red-zone' '-mrdrnd' '-isystem' '/Users/runner/work/nuttx/nuttx/sources/nuttx/include' '-D__NuttX__' '-Wno-cpp' '-Werror' '-I' '/Users/runner/work/nuttx/nuttx/sources/nuttx/libs/libc' ./time/lib_timegm.c make[2]: *** [lib_timegm.ddc] Error 1 In file included from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/stdbool.h:55,                  from ./time/lib_gmtimer.c:27: Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/lib/math32.h:41:19: error: missing binary operator before token "("    41 | #if UINTPTR_MAX > UINT32_MAX       |                   ^~~~~~~~~~ In file included from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/sys/types.h:32,                  from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/sched.h:30,                  from ./nsh_main.c:28: Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/lib/math32.h:41:19: error: missing binary operator before token "("    41 | #if UINTPTR_MAX > UINT32_MAX       |                   ^~~~~~~~~~ ERROR: x86_64-elf-gcc failed: 1        command: x86_64-elf-gcc -MT bin/lib_gmtimer.o  -M '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector' '-mno-red-zone' '-mrdrnd' '-isystem' '/Users/runner/work/nuttx/nuttx/sources/nuttx/include' '-D__NuttX__' '-Wno-cpp' '-Werror' '-I' '/Users/runner/work/nuttx/nuttx/sources/nuttx/libs/libc' ./time/lib_gmtimer.c make[2]: *** [lib_gmtimer.ddc] Error 1 Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/wdog.h:52:20: error: missing binary operator before token "("    52 | #if UINTPTR_MAX >= UINT32_MAX       |                    ^~~~~~~~~~ In file included from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/sys/types.h:32,                  from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/time.h:31,                  from ./time/lib_gmtime.c:27: Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/lib/math32.h:41:19: error: missing binary operator before token "("    41 | #if UINTPTR_MAX > UINT32_MAX       |                   ^~~~~~~~~~ ERROR: x86_64-elf-gcc failed: 1        command: x86_64-elf-gcc -MT bin/lib_gmtime.o  -M '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector' '-mno-red-zone' '-mrdrnd' '-isystem' '/Users/runner/work/nuttx/nuttx/sources/nuttx/include' '-D__NuttX__' '-Wno-cpp' '-Werror' '-I' '/Users/runner/work/nuttx/nuttx/sources/nuttx/libs/libc' ./time/lib_gmtime.c make[2]: *** [lib_gmtime.ddc] Error 1 make[2]: Target makedepfile' not remade because of errors.
make[1]: *** [.depend] Error 2
make[1]: Target depend' not remade because of errors. ERROR: x86_64-elf-gcc failed: 1        command: x86_64-elf-gcc -MT ./nsh_main.c.Users.runner.work.nuttx.nuttx.sources.apps.system.nsh.o  -M '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector' '-mno-red-zone' '-mrdrnd' '-isystem' '/Users/runner/work/nuttx/nuttx/sources/nuttx/include' '-D__NuttX__' '-D__KERNEL__' '-Wno-cpp' '-Werror' '-I' '/Users/runner/work/nuttx/nuttx/sources/apps/include' ./nsh_main.c make: *** [pass1dep] Error 2 In file included from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/sys/types.h:32,                  from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/unistd.h:28,                  from /Users/runner/work/nuttx/nuttx/sources/nuttx/include/getopt.h:31,                  from ./getopt.c:28: Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/lib/math32.h:41:19: error: missing binary operator before token "("    41 | #if UINTPTR_MAX > UINT32_MAX       |                   ^~~~~~~~~~ Error: /Users/runner/work/nuttx/nuttx/sources/nuttx/include/nuttx/wdog.h:52:20: error: missing binary operator before token "("    52 | #if UINTPTR_MAX >= UINT32_MAX       |                    ^~~~~~~~~~
It doesn't seem to be an error caused by the currently submitted patch, can the current CI maintainer help to determine the cause of the error, and to confirm whether the error is caused by current patch? very grateful thanks

[Experimental Bot, please feedback here]
NuttX PR Requirements Review
This PR appears to partially meet the NuttX requirements. Here's a breakdown:
Strengths:

Summary: The summary clearly states the reason for the change (fixing Greenhills compile warnings) and identifies the affected part of the code. However, it lacks a concise explanation of how the change addresses the warnings.
Impact: The "Impact" section is entirely empty.  You need to analyze and provide information for each impact category.

Weaknesses:

Summary:

Needs a brief explanation of the solution applied to fix the warnings. For example, "The fix involves casting the result of the MSEC2TICK macro to the appropriate data type expected by sizeof."

Impact:

This section is crucial for reviewers to understand the consequences of the changes. You must address each impact category (new feature, user impact, build impact, etc.) with either a "NO" or a "YES" followed by a description if applicable.

Testing:

While you provide a structure for testing logs, the actual logs are missing. You need to include the relevant logs from before and after the change to demonstrate the fix.
Specify the Greenhills compiler version and other relevant build host details used for testing.

Recommendations:

Elaborate on the Solution: In the summary, briefly explain the technical approach taken to resolve the sizeof warnings.
Complete the Impact Assessment:  Carefully consider and fill out the "Impact" section, addressing each point. For instance:

Impact on user:  Likely NO, as it's a compiler warning fix.
Impact on build: Potentially YES if the fix involves changes to build flags or configurations specific to Greenhills.
Impact on hardware: Likely NO.
Impact on documentation:  Potentially YES if any build instructions or configuration options need updates for Greenhills.

Provide Testing Logs: Include the actual "before" and "after" testing logs demonstrating the successful resolution of the warnings.
Detail Testing Environment:  Specify the Greenhills compiler version and any other relevant details of your testing setup.

By addressing these points, you will significantly improve the quality of your PR and make it easier for the NuttX maintainers to review and merge your contribution.


#58 _ Remove METHOD and TYPE from target

we only support FIELD and PARAMETER injection
This if for review if associated ticket gets discussed and approved

We have to revisit this.
If we want to support POJO or Interface based config then we might want to annotate types and methods. So we will keep this ticket open for now.


Make a cronjob to take restic backups on explorer

For our explorer dev machine <IP_ADDRESS> we need to make a cronjob to run every 2 hours to take a full backup and upload it to https://s3.grid.tf/

let's track the dev explorer setup on docs.grid.tf


How to find proto-gen-go version?

We, two golang teams, have different proto-gen-go version and we can't use grpc to communicate.Thus we decide to upgrade to a same version.

We are using proto2 and for some reason can't upgrade to proto3.

The latest version of proto-gen-go is just not compatible to both of us.
There is no command proto-gen-go --version, so how to find our version of proto-gen-go.
By the way, latest proto-gen-go can't compile file below by command protoc --go_out=plugins=grpc:. challenge.proto
:
syntax = "proto2";
package challengePb;
message Xx{
}

So, how to fix it.
It should not be the only way to just abandon proto2 and use proto3, I guess. Otherwise it, eeee , just , breaking changes so much.

The -version flag has been supported ever since v1.20.0:
$ protoc-gen-go --version
protoc-gen-go v1.26.0

If it doesn't work, then you're probably using a really old version of protoc-gen-go.
The latest version can be downloaded with:
go get google.golang.org/protobuf/cmd/protoc-gen-go@latest


running citeproc does not produce a bbl file

Running citeproc on the aux file does not produce a bbl file here. I don't get an error message, so I cannot really say more. All I can say is that the sequence mentioned in the readme doesn't do anything for me.
pdflatex test.tex
pdflatex test.aux
pdflatex test.tex

Using lualatex works though.

The TeX Live team mistakenly uses citeproc/citeproc.lua as the executable script which should be latex/citeproc. The former is expected to be used as a Lua library (local citeproc = require("citeproc")). I'll contact them to correct this.

The TeX Live team has fixed the binary name.
Note that I've also renamed the executable from citeproc to citeproc-lua in order to avoid conflicts with citeproc implementations in other languages. Now the full compiling procedure for pdflatex or xelatex is:
pdflatex test.tex
citeproc-lua test.aux
pdflatex test.tex


azure-mgmt-storage-1.2.0 install bug

Hi,
When I try to install current version of azure-mgmt-storage (1.2.0), Gentoo package manager says :
(...)
running install_egg_info
running egg_info
writing requirements to azure_mgmt_storage.egg-info/requires.txt
writing azure_mgmt_storage.egg-info/PKG-INFO
writing dependency_links to azure_mgmt_storage.egg-info/dependency_links.txt
writing top-level names to azure_mgmt_storage.egg-info/top_level.txt
reading manifest file 'azure_mgmt_storage.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'azure_mgmt_storage.egg-info/SOURCES.txt'
Copying azure_mgmt_storage.egg-info to /var/tmp/portage/dev-python/azure-mgmt-storage-1.2.0/image/_python3.4/usr/lib/python3.4/site-packages/azure_mgmt_storage-1.2.0-py3.4.egg-info
running install_scripts
ERROR: dev-python/azure-mgmt-storage-1.2.0::linuxunderground-overlay failed (install phase):
 Package installs 'tests' package which is forbidden and likely a bug in the build system.
(...)

With version 1.0.0, it was not the case.
Gentoo ebuild here : https://github.com/linuxunderground/gentoo.overlay/tree/master/dev-python/azure-mgmt-storage -> installation works as expected.

Hi @linuxunderground
We indeed package the tests by mistake in 1.2.0, and it seems Gentoo is nervous about this (and he's right :))
I'll fix asap

Fixed in https://pypi.python.org/pypi/azure-mgmt-storage/1.2.1
thanks for the feedback!


Release v0.93.1

This PR attempts to fix an issue reported wherein minirpc having a null batch during processing causes batch.map() to throw errors galore.

Coverage decreased (-0.01%) to 99.525% when pulling ccbc3178ccd8a6ce4eccdef0288667ebb05ae2d8 on release-v0.93.1 into ecd77a0826a824f3327643a2ece5216d295c8545 on master.

Would it be possible to create a test case for null batches w/ minirpc?

@BlazeWasHere it's possible, and will likely happen in the future -- not a massive priority at present.


Don't return a value in useEffect callback

Not sure how no one has had this issue yet, but it made my code fail all over the place when upgrading from v1 to v2. The console was filled with these:

Warning: An effect function must not return anything besides a function, which is used for clean-up. You returned null. If your effect does not require clean up, return undefined (or nothing).

I tracked it down to this effect using an implicit-return arrow function for a callback.

Thanks!


ADECookbook folder is missing

hi,
In chapter 1, where is in the code the ADECookbook to use $directory  = "C:\ADECookbook\Chapter1\Logfiles"?

I will try to find the sample and added into repo as well.


[Docs] fix typo in KnownIssues.md

Line 53: "currenty" => "currently"
Thanks to everyone on the team for such a fantastic tool!
Already signed CLA.

Thanks!


Merge branch 'master' of https://github.com/Ash-Cozey/Diablo4Companion

I use a 3440x1440 standard def monitor with a medium font scaling. The 2560x1440 version worked perfectly after changing the name.
I created a relative symlink to the 2560x1440_SMF_en preset folder, and added the config to systempresets.json and a zip of the symlinked folder.

If only the height matters maybe it's a better idea if I rename the presets to only contain the height instead?
For example:

2560x1440_SMF_en
3440x1440_SMF_en
Becomes:
1440p_SMF_en

So that there is only one 1440p_SMF_en?
What do you think?

That sounds way easier to maintain, definitely a better way of doing things. I can try a few different resolutions and font scales and check to see if I notice any weird scaling this afternoon to confirm this should work for other resolutions as well if you want.

That would be great. I don't have any wide screen monitors myself so can't test it.

I tried different font scales at 3440x1440, 2560x1440, 2560x1080 and 1920x1080.
They all worked as long as the vertical resolution was the same, so it looks like horizontal resolution isn't necessary.

I'll commit the changes this evening.

Changed the preset names with the v1.1.16 release.


Adding the circuit structures to compute the polynomial coefficients

Closing it as it seems there is a better method.


Add tests for Razor Pages code gen

@rynowak is this RazorPage test non-trivial enough?

:up::date:

@ryanbrandenburg can you get this in now and @rynowak can sign off after the fact? I need to unblock tooling folks on an issue they found and I don't want to waste a boat load of your time rebasing multiple times (the changes may be super conflictory).

Ok @NTaylorMullen, I'll merge now and follow up on any changes @rynowak wants after the fact.


Cloud Tasks v2beta3

(At beta00 for now; if all is well, we can release on Monday.)

(We need to hold off on merging this - it may not be required.)

Okay, I've checked and we do want to do this. PTAL.


Incosistent naming of Enums in openAPI-spec and returned bodies

Hello,
when using the official docker image of the aas-environment (dockerhub: eclipsebasyx/aas-environment:2.0.0-milestone-02), there seems to be an inconsistency of naming of Enums in returned requests and the openAPI specification of the aas-environment.
E.g. the AssetKind (https://github.com/eclipse-aas4j/aas4j/blob/main/model/src/main/java/org/eclipse/digitaltwin/aas4j/v3/model/AssetKind.java):

naming in openAPI spec and aas4j definition: "INSTANCE", "NOT_APPLICABLE", "TYPE"
naming of AssetKind in returned GET requests to the aas-environment docker image: "Instance"

This error is present for all types of Enums in the aas-environemnt, as far as I know. Generated clients from the openAPI spec need to be manually adjusted to work. It would be great if the returned JSON are consistent with the openAPI spec of the server by adjusting the Enums.
Thank you!

Hi @SebBehrendt
Thanks for raising this issue.
We will check and get back to you.

When using the JSON serialization of AAS4J, it is internally mapped to CamelCase (cf. here) which is consistent with the specification (cf. Specification of the Asset Administration Shell Part 2, p. 168).
Are you using the official SwaggerHub specifications (e.g., here) for code generation?

Yes, this might be an issue in the OpenAPI specification. There's an official repo of IDTA for that:
https://github.com/admin-shell-io/aas-specs-api
Feel free to raise an issue there.

In the official documentation, the Enum Values of KeyTypes are also fully capitalized (https://app.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.1#/components/schemas/ReferenceTypes, line 535ff). I think this is probably the reason for the capitalized values...

I don't see capitalized values on line 535. Has this been fixed on the IDTA end? I couldn't find any related issues or PRs in https://github.com/admin-shell-io/aas-specs-api.
If this has been fixed, I assume this will end up in BaSyx in a future snapshot / release?

Hello,
you are correct. In the official documentation (e.g. in line 535), the enum values are correctly specified as camel case values. I think the only problem is, that the java server sdk specifies in its openAPI specification that enum values are fully capitalized (which is inconsistent with the actual API).


The pull request is in progress.
The details of the pull request:
Resize images in the case of input data having arbitrary sizes or when the input images are very large in supervised image tasks.

Pull Request Test Coverage Report for Build 819

17 of 17 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 94.991%

Totals

Change from base Build 811:
0.04%

Covered Lines:
2143

Relevant Lines:
2256

💛  - Coveralls


User is not prompted before overwriting existing model file

Steps to reproduce

open arm26.osim
select File > Save Model... (accidentally---instead of the Close All item above it)

Expected result
User is prompted before the existing arm26.osim file is overwritten.
Also note that the ellipsis following a menu item is typically used to indicate that the user will be prompted for additional information (e.g., destination directory, filename) before performing an operation. There should not be an ellipsis following "Save Model" (even if the user is asked to confirm). [Edit: opened Issue #769]
Actual result
GUI silently overwrites existing file. The old model file is lost!
Environment and GUI version
d8bfa962-2018-05-09

Tom, it's very typical if a model comes from a file and you're saving to overwrite old file. Same as all other software e.g word. If you do save as then you should be prompted. If model didn't have a file as in scaling output you should be prompted. Behavior is same in 3.3 but open to ideas for improvement.

Please let me know how the user experience has been designed for the following use case:
User has many model files in version 20303, one for each subject in several experimental conditions. Diffing these files reveals the unique properties for each subject, and user has developed other infrastructure that works with model files in version 20303. User opens one of the model files and deletes a model marker. The "undo" button remains disabled so the user proceeds to close and re-open, but accidentally saves. The model file is now in version 30516; there are thousands of differences. User is unable to undo the conversion.

Same as all other software e.g word.

I don't think OpenSim is providing users with the typical feedback. Here's a use case:

open arm26.osim from Resources directory (version 20303)
File > Close Model

The model closes without prompting the user to save changes. The user's mental model tells them that a "save" operation would not have had any effect because, if there were any changes, the user would have been prompted to save changes before closing. Now:

open arm26.osim from Resources directory (version 20303)
File > Save Model...
File > Close Model

The model file is different (now version 30516). Telling the user "it's your own fault for not saving a backup copy" or "it's your own fault for clicking Save Model" or "you need to update your existing infrastructure if you're using 4.0" makes for a very negative user experience.
I would expect that many users will open their existing model files to try out the new version of OpenSim. Clicking Save Model performs an irreversible change to the file which could negatively affect their research. That could be their first interaction with OpenSim 4.0.

It's customary when other software does similar irreversible change in format that they offer an "import" style function so that users are aware of the irreversible change to their files, and maybe at this point save to a different file. Do you think this would make for a better user experience?

File > Import? No, I don't think that would be good—unless, perhaps, we had changed the extension of the model file. I think a better design would be, after File > Open, do 2 things if the original model file's version < 30516 (or whatever official version we assign for 4.0):

Display a dialog box stating that the model was successfully updated from version [the original model file's version] to 30516.
Tell the GUI that the model has been changed (presumably there's a flag somewhere). Then the user would be prompted to save changes before closing, which would build the correct mental model.

Thoughts, @aseth1?

@tkuchida 's proposal seems reasonable to me. How challenging is this to implement @aymanhab ?

I agree that this process is more inline with user expectations.

The flag needs to be maintained on API side.

Not sure what this flag is referring to. A flag on Model that says I've been updated? That doesn't sound like maintenance to me but adding a new capability. We should discuss exactly where this functionality should live.

I agree with the need and the rationale, but what I don't understand is what the interface should be and if the API should even be involved. At high level I see it simply as:

load (read in, update and finalize) the Model and note the document version (e.g. model.getDocument().getDocumentVersion() )
determine if the version is different from the latest version (document that is now in effect) (XMLDocument::getLatestVersion) and if so pop up an error message that the model has been updated. Also mark the model as "dirty" in the GUI as to prompt the user to save changes upon closing or exit
upon save (exit or menu->Save), if user selects the same file to overwrite, they are warned that the existing file will be overwritten and ask if they are sure they want to do that.

In this scenario, what is the flag that the API should maintain?

@aseth1 getDocument() is not exposed (has protected access), if you want to expose some form of DocumentVersionNumber() then we should be good. Same with XMLDocument.

@tkuchida @chrisdembia @jimmyDunne @jenhicks @aseth1


Capybara 2.9.0 release

@jferris @mhoran @jonleighton @route  FYI: I plan to do a Capybara 2.9.0 release end of this week/beginning of next - There should be no changes that affect drivers.

Thanks for the heads up! Unfortunately we're still struggling with our TravisCI configuration, but it does look like progress is being made on moving capybara-webkit over to Circle. That should get us unblocked in catching up on the 2.8 release, and it sounds like there should be no issues with 2.9.

released


Consumed Water Heating Today does not report values in Energy Dashboard

Stiebel Eltron ISG Consumed Heating Today reports the daily consumed kwh of electricity used to produce the heating of the day in the energy dashboard.
Stiebel Eltron ISG Consumed Water Heating Today should do the same for the water heating but it doesn't report the values.
I tested the entities under "Einzelne Geräte" - Single Devices.

The ISG web reports only complete kWh on Consumed Water Heating Today, so if you use only 0.9 per day, it does not report anything on that day.  I use "Stiebel Eltron ISG Consumed Water Heating Total" in the Single Devices Section. ISG web only reports the full kWh, but with the total sensor you'll get a reading when the next full kWh is reached.

#214 had a feature request hidden in there to increase the precision. On the ISG I see more digits, but I have no understanding of Modbus unfortunately. Is increasing the precision possible?

Thanks for that solution it help me as well !!

I've an issue the value are all 1h late as the first sensor value at 1h05 am.
How did you do ?

Check DST settings in WPM and ISG. You are probably still in summer time or ISG is on a different time shift than WPM

Check DST settings in WPM and ISG. You are probably still in summer time or ISG is on a different time shift than WPM

Already checked on WPM and ISG and all good. On home assistant as well.
So I think it's because the first update happen   after 12am but just a supposition.
@sebcou21 How does it fit for you ?

You said to modify the time of the ISG but in fact it's the time of the heat pump that I need to change.

From: sebcou21 @.>
Sent: Thursday, December 12, 2024 7:25:11 PM
To: pail23/stiebel_eltron_isg_component @.>
Cc: Mysonemo @.>; Mention @.>
Subject: Re: [pail23/stiebel_eltron_isg_component] Consumed Water Heating Today does not report values in Energy Dashboard (Issue #332)
You're welcome. But I'm not happy to have to set the scan_interval to 60 seconds for this to work. This posthttps://community.home-assistant.io/t/set-time-to-scrape/102193/3 provides a good way of updating the sensor manually, I will give it a go when I have some time.
—
Reply to this email directly, view it on GitHubhttps://github.com/pail23/stiebel_eltron_isg_component/issues/332#issuecomment-2539724753, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEUIMN5ZZ4ZBXFLNNANGZV32FHIIPAVCNFSM6AAAAABR6IWQMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZZG4ZDINZVGM.
You are receiving this because you were mentioned.Message ID: @.***>

So I've put 5min more (so the heat pump is in advance) and im polling every 90 minutes.
Looks good

Thank's

You're welcome. But I'm not happy to have to set the scan_interval to 60 seconds for this to work. This post provides a good way of updating the sensor manually, I will give it a go when I have some time.

So I finally managed to do that. My ISG is configured to be 3 minutes ahead. I'm using Node-RED and the cronplus node to update the sensor every hour at :59 except at 23:59 or the counter gets reset to 0 before midnight and it messes the energy graph up a lot. Instead, I do it at 00:01.
Another problem I discovered is that consumption between 23:00 and 23:59 will always be lost because the value on the ISG is updated after the hour and gets reset at midnight. The consumption will appear as untracked in the energy graph. I challenged a few ideas but I currently see no way around that.
Please let me know if you see the same behavior. Thanks.

Yes that's what happend on my side as well. The consumption is always missing between 23 and 00  as it's cleared before the update so look's a bug to me. I can try to report it because it's really not reporting the comsumption of the day.


Documentation

The title says it all!

Pull Request Test Coverage Report for Build 70

45 of 45 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 99.126%

Totals

Change from base Build 68:
-0.003%

Covered Lines:
1588

Relevant Lines:
1602

💛  - Coveralls


Package request: cardano-node

Project description
Node for the Cardano cryptocurrency.
Related issues:

Cardano CLI wallet: https://github.com/NixOS/nixpkgs/issues/270119
Daedalus GUI wallet for Cardano: https://github.com/NixOS/nixpkgs/issues/32516

Metadata

homepage URL: https://cardano.org/
source URL: https://github.com/input-output-hk/cardano-node
license: Apache 2.0
platforms: linux, window, darwin, unix ?

Priorities
Add a :+1: reaction to issues you find important.

just fyi, for now you can use the upstream as a flake :) https://github.com/input-output-hk/cardano-node/blob/master/flake.nix
looks like they already provide package + nixos modules


Java 9 Convenience Factory Methods for Collections

Evaluate closer to Java 9 release:
http://openjdk.java.net/jeps/269

Hi @andrewgaul. Just saw fed226a792e3e1f6cd60fcdd846b22fc4a6ec831. We have a code base in which Guava's Immutable* types are extensively passed around. In particular, many a field and return type is explicitly immutable. This has merit far beyond the convenience that the static factory methods on these types provide. As such I'm not sure that the violations added in the aforementioned commit make sense, at least as a default; they don't make Guava's variants obsolete or outdated. WDYT?

@Stephan202 The ImmutableMap vs. Map deprecation trick is a neat trick although I have not used it in my projects.  Do you think the exclusion patterns added in #55 allow you sufficient control over these violations in your projects?  I agree that some violations have arguable value although I think modernizer should improve its configuration to allow users to select what they want and add more violations if needed, e.g., #22.

@andrewgaul Thanks, I tested the #55 feature using version 1.5.0 of the plugin with the exclusion pattern org/joda/time/.* (because we're "midway" in our migration from Joda to java.time) and this works as expected. My concern about Immutable* usage would then call for an exclusion pattern of the form com/google/common/collect/Immutable\w+\.of: (or something like that, didn't test it).
As for #22: that looks interesting too. I might have some use cases for that, but will play around with it some other time.


Config properties referenced on page but not included in config catalog

Description:
On the 'Security Guidelines for a Production Deployment' page in the section 'Configure strong HTTP(S) security' a configuration setting is mentioned that is not reflected in the 'API-M Config Catalog'.
Suggested Labels:
API-M 4.10,Docs/API-Security
Affected Product Version:
4.1
Steps to reproduce:
Follow Security Guidelines for a Production Deployment page.

This can be done by replacing the sslProtocol = "TLS" property with sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" under [transport.https.sslHostConfig .properties] in the deployment.toml file.

Try to lookup this [transport.https.sslHostConfig.properties] in the Config Catalog: https://apim.docs.wso2.com/en/latest/reference/config-catalog/. It is not mentioned there.
Related Issues:

[transport.https.sslHostConfig .properties]

Note the extra space between sslHostConfig en .properties.

In addition, configure strong ciphers for ThriftAuthenticationService, Tomcat transport, and PassThrough transport in the deployment.toml file

No link to docs page for ThriftAuthenticationService.

TLSv1.3 is also missing in the documentation text. TLSv1.3 is available since APIM 4.x according to: https://github.com/wso2/product-apim/issues/8590


Can someone please help how can i combine this with chai-exclude?

I need to compare 2 deeply nested pbjects where the order does not matter, so i am using deep-equal-in-any-order and it works well.
But, there are use-cases where i need to ignore the equality of a few nodes in the respective objects.
Can someone pelase help me with providing some way to handle this user case along with deep-equal-in-any-order?

@rahulworks-git
Could you provide any specific example? Like JS testing code or JSON data.

Due to no activity on the issue author side for above 12 months, I close this.


PLPlayerKit (3.4.5)

打包时报错，请问怎么解决呢？

Showing All Messages
The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99.
Unable to load contents of file list: '/Target Support Files/PLPlayerKit/PLPlayerKit-copy-dsyms-input-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/PLPlayerKit/PLPlayerKit-copy-dsyms-output-files.xcfilelist'


Issue with pre-build binary on Linux (0.36.2)

Hey David, running 36.2 on circle ci  using cimage/node (ubuntu something)...im getting:
/home/circleci/noble/web/node_modules/@davesnx/styled-ppx/ppx: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /home/circleci/noble/web/node_modules/@davesnx/styled-ppx/ppx)
/home/circleci/noble/web/node_modules/@davesnx/styled-ppx/ppx: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/circleci/noble/web/node_modules/@davesnx/styled-ppx/ppx)
/home/circleci/noble/web/node_modules/@davesnx/styled-ppx/ppx: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/circleci/noble/web/node_modules/@davesnx/styled-ppx/ppx)
any idea?

Added ubuntu-20.04 in this PR: https://github.com/davesnx/styled-ppx/pull/341
When pre-building the binary with ubuntu-latest is expected to have glib 2.35/34/33 while our system (the same as yours I believe) uses 2.31. This is in fact an issue for pre-building binaries and pushing them to npm and the fact we build them without being linked.
Reading a bit more about how we could link them statically I found this resource: https://ocamlpro.com/blog/2021_09_02_generating_static_and_portable_executables_with_ocaml/

Thanks dave. I tried the nightly and it works here.

That's awesome. I will close it when it lands as stable!


⚠ ClamAV has degraded performance

In ac978f6, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 9fb5c4f.


Unable to select workflowstep in PluginRegistrationTool

Added a new WorkflowActivity to Dynamics 365 Online. Created a new Workflow with a new Step.
Started the PluginRegistrationTool, selected the Plugin Registration Profiler and installed it.
Selected the Plugin Profiler and clicked 'Profile Workflow'. Selected my new workflow with one single step. Unable to select my Workflow step since it is disabled.
I am Tenant Admin, System Administrator, everything. But whatever I do it is not possible.

@andrekrijnen Can you please mention the doc you are referring to ?

@andrekrijnen Thanks for your feedback.

For product-related feedback, please visit https://ideas.dynamics.com.
For product support, please visit here for support options: https://docs.microsoft.com/en-us/dynamics365/get-started/support/

Closing the issue.
cc: @JimDaly


Improve Apps

[x] Change visibility on the go
[x] Delete App
[x] Edit/Update App
[x] Improve endpoints logic
[x] Notification on App status change
[x] Change Add app UI (also include new triggers)
[x] Improve app detail UI
[x] Restructure stuff
[x] Setup instruction text or link
[x] App review status indicator
[x] Create App Model to simplify things
[ ] Simplify external integration steps (probably later)

I guess I am missing few more things which I did already :/
https://github.com/user-attachments/assets/401d93f0-e6a2-4c33-9e3c-4487d7d61a80

wohoo looking fwd

1/ I understand that you created the new set of App including router, util, database, model to perform new fields / new logic for Plugin. It would be great if you could merge the model, util, database for app and plugin so that we don't have to maintain 2 objects at the same time.
2/ /v1/notification-scopes, you could change to /v1/plugin|app/proactive-notification-scopes
3/ is_public_plugin_owner_db unused?
@mdmohsin7 have a nice weekend & take your time 🏄♀

1/ I was thinking of merging them after a week or two so that the backend is backwards compatible. What do you suggest?
2/ Alright will make the change
3/ Yes not needed anymore
@beastoin no weekends when you want to build a great product haha

1/ what do you mean by so that the backend is backwards compatible. man :?
2/ ok
3/ ok
@mdmohsin7

1/ I mean the old versions of the app work without issues
I'll do one thing, I'll replace all the remaining plugin endpoints in the app with apps endpoints. So it will be a lot less work in future to remove the unused endpoints
@beastoin

Need apps editing in prod asap

lgtm @mdmohsin7 🥳 , pls add +1 ticket to merge 2 terms app / plugin + should be done in the next 2 weeks


updating mclp functions script

@pauldcarroll  - what's the status of this PR? does this need to be closed?

Thanks for sorting :)!


Problems with laravel

create new laravel project,i test laravel5.5 laravel 5.7 and laravel 5.8
config db connection
php artisan make:auth
open http://localhost/login,and then refresh this page many times.only refresh,Do nothing others.
use mail and password to login in this page.Under normal circumstances, enter the wrong username and password page will return the prompt "These credentials do not match our records.", but the wrong username and password will not return any information after you refresh the page. Including the wrong username automatically The record is also lost

Looks like there is a problem with the session,May have this problem in all versions of laravel, I only tested 5.5 5.7 5.8
I will continue to test the more detailed questions.

After a series of breakpoint tests, I found the shortest starting code as follows:
\Illuminate\Support\Facades\Session::put("test_session123", time());
Error_log(time());
$e = session("test_session123");
Error_log(session("test_session123"));

The output of error_log is the same twice in each visit to a normal server, but the result is very strange in the rr service using roadrunner-laravel. The result is as follows:

I tested the specific code in roadrunner-laravel and found that commenting out resetProvider can respond normally.
...
            $this->_kernel->terminate($request, $response);

// if (method_exists($this->_app, 'getProvider')) {
// //reset debugbar if available
// $this->resetProvider('\Illuminate\Redis\RedisServiceProvider');
// $this->resetProvider('\Illuminate\Cookie\CookieServiceProvider');
// $this->resetProvider('\Illuminate\Session\SessionServiceProvider');
// }
...

The general idea of this place is to force re-registration of the SessionServiceProvider. The idea should be correct, but the re-registered SessionServiceProvider is obviously abnormal. I will continue to test more information.

I tested the use of session() and \Illuminate\Support\Facades\Session in the laravel 5.5 framework.
I found that the results of the two methods used in the normal server are the same, but in the service started by roadrunner-laravel, the results of these two methods are different.
The test code is as follows:
$t = time();
// set session use \Illuminate\Support\Facades\Session
\Illuminate\Support\Facades\Session::put("test_session1", $t);
error_log("save_session1:" . $t);
// read session from \Illuminate\Support\Facades\Session and session()
error_log("raea_session11:" . \Illuminate\Support\Facades\Session::get("test_session1"));
error_log("raea_session12:" . session("test_session1"));

// set session use session()
session(["test_session2" => $t]);
error_log("save_session2:" . $t);
// read session from \Illuminate\Support\Facades\Session and session()
error_log("raea_session21:" . \Illuminate\Support\Facades\Session::get("test_session2"));
error_log("raea_session22:" . session("test_session2"));

The results are as follows:
Normal server:

RR server:

Obviously there is a problem with the session service in the rr server, which may be caused by the different loading methods of session() and \Illuminate\Support\Facades\Session.
Specific reasons to wait for the next test

I tried multiple session() and \Illuminate\Support\Facades\Session startup methods, and finally found a cache-like function in Illuminate\Support\Facades:
protected static function resolveFacadeInstance($name)
{
    if (is_object($name)) {
        return $name;
    }

    if (isset(static::$resolvedInstance[$name])) {
        return static::$resolvedInstance[$name];
    }

    return static::$resolvedInstance[$name] = static::$app[$name];
}

It can reuse objects that have been instantiated before, which causes the re-registration of the SessionServiceProvider in the roadrunner-laravel to fail. Because the first cached object is used when \Illuminate\Support\Facades\Session is used multiple times, then The difference between session() and \Illuminate\Support\Facades\Session
There are two suitable solutions:
Method 1: Stop re-registering SessionServiceProvider in updg\roadrunner\laravel\Bridge
Method 2: Re-register the SessionServiceProvider in updg\roadrunner\laravel\Bridge to clear the cache of the session in Illuminate\Support\Facades
\Illuminate\Support\Facades\Facade::clearResolvedInstance("session");

+1
I'm having the same problem.

+1
I'm having the same problem.

The laravel framework has not considered multi-connection multiplexing at the beginning of the design. I tried a variety of methods to make the roadrunner perfectly compatible with laravel, including reference https://github.com/swooletw/laravel-swoole/blob/master/config /swoole_http.php#L92-L120 this implementation
But in the end, I found that in any case I had to reinitialize almost all the classes in the next connection to work properly, but in this case it only accelerates laravel for only 10ms, for example php-fpm requires 110ms to load the page to use it. Still need 100ms
This makes me almost give up using the roadrunner to speed up the laravel project.

I solved the problem with sessions (and login) with the following function in the bridge initialization:
$this->app->afterResolving('session.store', function ($session) {
    $this->app['redirect']->setSession($session);
});

Here's my current bridge file:
https://github.com/CubeKode/LaravelPSR7Worker/blob/master/src/Bridge.php

I solved the problem with sessions (and login) with the following function in the bridge initialization:
$this->app->afterResolving('session.store', function ($session) {
    $this->app['redirect']->setSession($session);
});

Here's my current bridge file:
CubeKode/LaravelPSR7Worker:src/Bridge.php@master
I tried this https://github.com/CubeKode/LaravelPSR7Worker/blob/master/src/Bridge.php, the login function seems to work fine, but when another browser opens this page, I automatically log in the same An account.and I can't log out at the same time.

You can only solve part of the session problem, and there are more session exceptions that need to be resolved.


Typo in comment-strings of HeatingNMOS and HeatingPMOS kk2 parameter

Reported by jriel on 9 Aug 2013 19:01 UTC
In the Modelica.Electrical.Analog.Semiconductors.HeatingNMOS and HeatingPMOS devices, the declarations of the kk2 parameter are, respectively,
parameter Real kk2=6.0e-4 "fitting parameter for K22";
parameter Real kk2=6.2e-4 "fitting parameter for Kk2";
Each has a typo in the comment-string.  They should both be changed to "fitting parameter for K2";

Migrated-From: https://trac.modelica.org/Modelica/ticket/1240

Comment by dietmarw on 20 Aug 2013 16:45 UTC
Actually it should be changed to  "Fitting parameter for K2";

Comment by beutlich on 19 May 2014 06:56 UTC
Resolved by 18c21335dd0cc0fac3bcf20a41ab76f6fb9228a7 and c993ea5200c1c8bb7da79cc1bc64d8d4883a4e2e.


click twice on changing tabs

When clicking on tabs (Campaign, Dark Forest or Ranhorn) click twice with a small delay to close any offer popup than can appear.

I'm guessing the current behaviour would restart the whole app?

yes.. it restarts the game but then after restart when tries again to click on tabs the popup appears again because was not closed last time (app was just closed and restarted). this will result again in error processing pixels and app will be restarted.. this will continue in loop until you stop the script and manually click to close the popup..
but clicking twice on the bottom part of the screen (on tabs) will first close the popup and then actually click on tab. if the popup is not there, no harm done, it will click twice on the tab.


Getting connection request emails if I connect to someone myself

From @zzottel on August 8, 2014 20:30
First, I appreciate a lot that for some time now, I get connection request emails for my forums, which was not the case before. I always wanted to know when someone connected to my forums.
When I connect to someone myself, though, I also get a connection request email for that contact.
Copied from original issue: friendica/red#559

From @zzottel on August 25, 2014 11:34
This seems to fixed, too; I didn't get any connection request emails but those for the test forum when I did my tests for #573.


Print Pound sign on Android

Hi
Thanks for this great library
i use \u00a3 for showing pound  sign on android , but when printing , it prints ? insted of it ,
how can i print pound sign 💷
Thanks

Hey, can you post the code here? I could not connect to the device through raw address of Bluetooth device. It asks for pairing device but does not connect.

Hey, can you post the code here? I could not connect to the device through raw address of Bluetooth device. It asks for pairing device but does not connect.

sorry i'm late, could you connect to printer ?

Hey, can you post the code here? I could not connect to the device through raw address of Bluetooth device. It asks for pairing device but does not connect.

sorry i'm late, could you connect to printer ?

Hello,
For the euro sign the configuration is this:
{
encoding:' Cp858',
codepage: 13
}

for the French language


Suggesting changes to improve article

Added a new H2 to demonstrate in-browser editing.

@Kiranchandratrey : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Submitting studio-cli version 24.8.0

Checklist for Pull Requests

[X] Have you signed the Contributor License Agreement?
[X] Is there a linked Issue?

Manifests

[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree company="WindRiver"

@fjimene1 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="WindRiver"

@stephengillie Do I need to do anything else to continue with the pull requests?

@wingetbot run


Architecture, builds and publishing setup

Create linting step in github actions workflow. Uses flake8.
Creates setup.py

test build on test pypi https://test.pypi.org/project/jbrowse-jupyter/0.0.2/
demo https://media.giphy.com/media/mwHyhBpeRqGgG9kSF5/giphy.gif
Architecture discussion

dash_jbrowse: dash component that is a wrapper to the React Linear Genome View
jbrowse_jupyter: python package that includes API for creating configurations, launching dash components  in jupyter cells, indexing in the background(wishlist), local file support, integration with other bioinformatics packages
(Note: dash_jbrowse is a dependency of the jbrowse_jupyter package)

Some benefits of moving the API to another repo and making this dash component as a dependency to the jupyter jbrowse package include:
pros

dash_jbrowse can be reused in other libraries
reduces the size of dash_jbrowse for those who are not interested in the jupyter functionality
easier to make updates to either package
jbrowse jupyter users will only need to download one package to get all the functionality to create jbrowse components and launch them into jupyter cells
dash_jbrowse was also created from the cookie cutter repo, so trying to differentiate the python jupyter package with the React  dash_jbrowse package can be a little confusing for contributors and maintainers.

cons

more packages/repos to maintain

Migrating information from previous repository:

https://github.com/teresam856/jbrowse-jupyter/issues/2

Already taken care of in this teresam856/jbrowse-jupyter/pull/13 prior to moving entire content to GMOD/jbrowse-jupyter


[SPARK-2188] Support sbt/sbt for Windows

Added sbt scripts for Windows.

Hi @tsudukim thanks a lot for working on this. As others have mentioned, we should avoid having to maintain these scripts ourselves in Spark. Also, we don't try to tie Spark to a particular build tool (SBT or Maven), so supporting SBT here means we should support Maven too, which is way too much overhead. For this reason I would recommend that we close this issue.


Non-specific mentions of EC:<IP_ADDRESS>

Please remove mentions (attributions) of EC:<IP_ADDRESS> (Long-chain-fatty-acid--CoA ligase) from the definitions of these two terms:
id: GO:0031955
name: short-chain fatty acid-CoA ligase activity
def: "Catalysis of the reaction: ATP + a short-chain fatty acid + CoA = AMP + diphosphate + an acyl-CoA; short-chain fatty acids are fatty acids with a chain length of less than C6." [EC:<IP_ADDRESS>, GOC:mah]
id: GO:0031957
name: very long-chain fatty acid-CoA ligase activity
def: "Catalysis of the reaction: ATP + a very-long-chain fatty acid + CoA = AMP + diphosphate + an acyl-CoA; a very long-chain fatty acid is a fatty acid which has a chain length greater than C22." [EC:<IP_ADDRESS>, GOC:mah]
I'm not sure if there's agreement on what the cut-offs are for short/medium/long/very long fatty acids, but the EC entry for EC:<IP_ADDRESS> (Long-chain-fatty-acid--CoA ligase) doesn't really help/support with the GO defs above  - it just says "The liver enzyme acts on acids from C(6) to C(20); that from brain shows high activity up to C(24)."
 [RHEA:15421]
xref: EC:<IP_ADDRESS>

Well, I guess EC:<IP_ADDRESS> shouldn't be with : GO:0031955; I'm on the fence with id: GO:0031957

I'm on the fence with id: GO:0031957
If we want to keep EC:<IP_ADDRESS> associated with that, then it should be promoted to an xref rather than just in the definition...
But given EC:<IP_ADDRESS> is already an accurate (1:1) xref on GO:0004467, I'd say it shouldn't appear in the xref/def of any other term.

Done


jest.config.js within monorepo setup doesn't load when run from rootDir

Do you want to request a feature or report a bug?
It seems a bug or a missing mention in the documentation.
What is the current behavior?
I've the below monorepo setup and when I run jest within each of the packages folder, jest picks up the jest.config.js within each of them and works perfectly.  But when I try to run them from the project's rootDir, the tests fail because the setupFiles aren't being used(I think the jest.config.js is infact not being respected). Is there a way I could get this fixed?
.
├── package.json
├── lerna.json
├── jestBaseConfig.js  # Base jest configuration file which will be used in jest.config.js of each package
├── packages
│   ├── api
│   │   ├── jest.config.js
│   │   ├── package.json
│   │   ├── src
│   │   └── test
│   ├── components
│   │   ├── jest.config.js
│   │   ├── package.json
│   │   ├── src
│   │   └── test
│   └── utils
│   │   ├── jest.config.js
│   │   ├── package.json
│   │   ├── src
│   │   └── test

// Jest configuration for api
const jestBase = require('../../jestBaseConfig.js');

module.exports = {
  ...jestBase,
  coverageThreshold: {
    global: {
      statements: 100,
      branches: 100,
      functions: 100,
      lines: 100,
    },
  },
  testEnvironment: 'node',
  setupFiles: [
    require.resolve('./tests-setup/setupEnv.js'),
  ],
};

I also tried using the projects property as below in the root directory's package.json and it doesn't seem to work as well.
// rootDir's package.json
...
"jest": {
    "projects": [
      "<rootDir>/packages/kh-api/jest.config.js",
      "<rootDir>/packages/kh-components/jest.config.js",
      "<rootDir>/packages/kh-utils/jest.config.js"
    ]
}
...

What is the expected behavior?
jest should pick up jest.config.js within each package folder and run the setupFiles
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
jest: v22.1.2
yarn: 1.3.2
OS: macOS High Sierra

@vadivelkindhealth can you please provide a repo with a reproduction so we can debug this?

@thymikee I'm actually having somewhat a similar issue and I have a repo to illustrate the problem. See cra-workspaces.
Just run yarn install at the root (yarn should be at 1.3+) and then yarn run packages:test. I'm seeing some very weird behaviour:

It ignores my projects config and runs tests even in apps/*
It does not properly use the modeNameMapper which tells it where the package is
If I keep the globals for ts-lint in the jest.config.base.js it will complain for each project that it cannot find the given tsConfigFile because instead of looking for it in the project folder it looks for it at the root

In a monorepo you should have all the test configuration in the root. projects as an array of config blocks (previously located in the leaf package jest.config.js) should be sufficient.

@evocateur I'm not sure that always applies. Some of the projects that I'm merging into a monorepo use aliases which are package specific and should not be in the root config.

@vadivelkindhealth in your jest.config.js files you'll need to set rootDir option to point to the root of your monorepo (where the "projects" option exists).

@sibelius Thanks for sharing your repo. I have a question about this: It looks like you are using full config files in the projects. Is it correct that the root jest.config.js does not impact the project's configuration? If so do you have a way of definint something in the root config that applies to all project's jest config?

@RT-TL I think you can follow https://github.com/facebook/jest/issues/3112#issuecomment-398581705 to set up a similar config structure


Duplicate validation when using Mvvm Toolkit's ObservableValidator

When using Mvvm Toolkit's (CommunityToolkit.Mvvm 8.0.0-preview4) source generators with DataAnnotations, the validation methods are called twice and the validation messages are shown twice. While I found workarounds for the duplicate display messages by not using the source generators, I cannot workaround the two validation calls. The Mvvm Toolkit validation is implemented (AFAIK) by taking DataAnnotations and then delivering them via INotifyDataErrorInfo.
Example:
[ObservableProperty]
[NotifyDataErrorInfo]
[MinLength(6)]
private string _testNotifyData = "notify";

To Reproduce
Repro project
See screenshot for behavior for several sourcegen and non-sourcegen approaches.
See example call stacks to see both Avalonia and Mvvm Toolkit call into DataAnnotations.Validator.TryValidateProperty when a single property change occurs. Avalonia goes through its DataAnnotationsValidationPlugin.
Expected behavior
A single validation error to be displayed and the validation method to be called only once.
Screenshots

Desktop (please complete the following information):

OS: Win10
Version 0.10.15

Additional context
I believe the CustomSetProperty and CustomValidateAfter cases show one validation error because Mvvm Toolkit's validation happens after PropertyChanged is responded to by Avalonia. Mvvm Toolkit will clear existing errors as shown here, but I have never seen multiple validation errors in Mvvm Toolkit's internal collections for any one property while debugging.

Not sure if it's a bug. Neither in Avalonia nor CommunityToolkit.
CommunityToolkit assumes that framework won't support validation with attributes, so it does it by itself (using NotifyDataErrorInfo).
And Avalonia just supports both ways to validate - attributes and NotifyDataErrorInfo.
In result, we have duplicated validation.
You can either remove [NotifyDataErrorInfo] attribute, so only [MinLength] will validate Avalonia app.
Or you can disable attribute validation in Avalonia completely by removing this plugin from ExpressionObserver.DataValidators list, see this source code.

Thanks for the response, Max.
As per your suggestion, I have fixed the issue by adding the following configuration to the app startup logic in OnFrameworkInitializationCompleted before the initial window is created:
ExpressionObserver.DataValidators.RemoveAll(x => x is DataAnnotationsValidationPlugin);

Now, I get one validation call and one validation message as desired while maintaining the ability to write ViewModels in a View-neutral way. Thanks! I'm closing the issue.


QuestPDF Fonts (docs)

Hey Guys,
This is more to inform / ask. It can be that i'm a little bit behind on the repo but when I use the export function on the product page (after setting the key) it crashed because it was not able to find the font simhei. I'm running windows 11. I changed it to calibri which is as far as I know a really basic font and it works just fine. I probably need to install the simhei font but I think if that's the case it should be in the readme.
Many thanks, still loving it and going to the moon with this repo 🚀

@jochem4207
Thank you for your feedback. the Calibri font works well for English content. However, if the content includes Chinese characters, the SimHei font is necessary. I agree that this is an important detail that should be included in the readme. We appreciate your suggestion and will make sure to update the documentation accordingly.
Keep enjoying the repo and let's continue our journey to the moon! 🚀

the new version no longer uses the SimHei font.


Is the project still alive?

Other projects relying on this one are blocked since no updates/fixes were releases since 5 years now. For example it's not possible to use the zkSync Era Python SDK on Python 3.11 because of the pysha3 requirement (zksync-sdk/zksync2-python#43). I saw 2 interesing opened PR too, that would benefit to several users. Lastly, the pinned web3 version is way too old to be used in other projects.
It seems there is no alternative yet, sadly.
At the end, is the project still maintained?

The Web3 world is evolving fast, and good pieces of work like this project need to keep up for the ecosystem health.
If you are looking for a maintainer, I would be glad to take the position.

Here is the fork for those who want to move forward: https://github.com/BoboTiG/py-eip712-structs-ng


DeveloperGuide: add manual testing instructions for service

^

Pull Request Test Coverage Report for Build 640

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.154%

Totals

Change from base Build 639:
0.0%

Covered Lines:
3009

Relevant Lines:
3301

💛  - Coveralls


[Bug Report] v9.9.0 regression, --execute command throws ENOENT error

Describe the bug
The command in --execute flag is causing ENOENT error:
ℹ Executing script pnpm release:changelog
spawn pnpm release:changelog ENOENT

Might be a regression of 780b7cc54cd15122dcd7c174217dd1904504e2a7. Downgrading to 9.8.1 could help.
Reproduction
Not too much time for a repro for now. Will add one later if it's not easy to reproduce.
System Info
System:
    OS: macOS 15.1.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 79.34 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.2 - ~/Library/Caches/fnm_multishells/90151_1733900218066/bin/node
    npm: 10.5.0 - ~/Library/Caches/fnm_multishells/90151_1733900218066/bin/npm
    pnpm: 9.15.0 - ~/Library/Caches/fnm_multishells/90151_1733900218066/bin/pnpm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Contributions

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Caused by https://github.com/antfu-collective/bumpp/commit/780b7cc#diff-98dd85fb32fd9de446227ad9d0c91df2a4f8ec1d1436b6b294ec11413bf3a0e7R80
I created https://github.com/antfu-collective/bumpp/pull/63 to fix this.


question about class balanced

Hi， thanks for your code!

I noticed in the sparsev2 paper that category balancing is important, but I wonder if it is effective for dense occ method? If the current GT does not have some classes, the weight will be +inf. I tried to use it in dense OCC prediction and found that is harmful for miou.

Another question, I don't see that you used category balance in the semantic part of your code. Has this strategy been abandoned？

the class balanced CE is here:
https://github.com/MCG-NJU/SparseOcc/blob/b35e1d81d4bdbd7cc787f890f1c21885a754ac4f/models/loss_utils.py#L63

Is this part of the code only used for 2-cls occupancy pred?

yes


Please replace Exception to EBCEditor

Please replace Exception to EBCEditor.
This allows you to filter the events in the IDE (when debugging).

I see some inconsistency in the usage of exceptions. Will be fixed.

Fixed.


Feat/migration

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

fix broken main