Idea: Special/Plugin buffers

Plugins like Undotree opens one or more split windows with the buffers unlisted and unmodifiable. The idea is to provide a new section/mode called 'special' or 'plugin' (similar to 'active') which will be used when that window is focused. The default format could be as simple as:
[deleted]
What do you think?

Thank you for your feature request. But your request is hard to implement.

It's too difficult to judge the buffer is special or not. Some plugin allows the user to modify the contents; vimshell, unite, VimCalc and keep &modifiable true. Checking the value of &buflisted causes the same problem. Basically, these local options have nothing to do with whether the buffer is created by a plugin or not.
The feature breaks the statusline of many users. Some configurations switches the appearance due to the value of &filetype to judge the plugin. If the components disappears suddenly, it will confuse many users.

It's too difficult to judge the buffer is special or not.

We don't need to cover all cases. If the buffer is both noma and nobuflisted, then it's definitely created by a plugin (incl. vim help).

The feature breaks the statusline of many users.

Oh, yeah! We can easily fix that by defaulting to active if special is not defined:
if !has_key(g:lightline, 'special')
  let g:lightline.special = g:lightline.active
endif

The motivation is:

Problems like these would be very easily solvable by setting the 'special' mode appropriately.

Wait a second... The problem above (protrusion of status line) does not exist in Vim -- it's only in Neovim! Nevertheless, it'd be neater to have this feature.

I'm sorry but I'm not going to implement this feature anyway.

Fair enough! But if I implement it, will you be interested to merge it? Or do you think this will make things messy?

Probably it'll not be merged...

Okay! Good to know -- saved time... By the way, it's a very nice plugin. Great work! :+1:  I've permanently moved from airline to lightline, because it was becoming heavier and heavier.
(The above issue was reported to Neovim repo, hope they fix it soon.)

Thank you!

I'm just wondering (sorry for pestering)... Instead of &buflisted and &ma options, there is a much better option: &buftype. I just can't help but think that enabling users to customize based on &buftype will be really useful. Having each option be a component function and checking based on buftype seems to be a really tedious option for someone (me) wanting to customize things that fine-grained.

The users are allowed to change the statusline based on &buftype by switching the logic inside the component functions. If you define some component function as follows, that component will shrink in plugin buffers.
function! Foo()
  if &buftype ==# 'nofile'
    return ''
  else
    return expand('%:p:t') " or something else
  endif
endfunction

There are many reasons that users want to change the appearance of statusline. Some people want to change the part of filename in some filetypes, others want to hide some components based on the width of the window. The buftype option might be a option some users want to change the appearance based on. Some people might use has(feature) to show something in the statusline, or switch the behaviour based on the existence of external command with executable(). There are many many wishes, but lightline lets users customize as they wish by allowing them to write the configuration by functions; the component function is the most important part of configurability of lightline.

based on &buftype by switching the logic inside the component functions.

Yes, but the problem with it is that, correct me if I am wrong, I can neither reuse the predefined components like 'lineinfo', nor can I return a pattern like %l:%v. The second problem is, for example, I want to change the position of 'filename' (in the third list of 'left' by default, but in the first list when special), now I have to modify/create two such functions with duplicated code.
Here's a generalized idea: let 'left' and 'right' keys also accept a Funcref. This funcref will return the list based on custom logic (buftype or whatever).

On a related note, it would be nice if 'component_function' accepted Funcrefs too. This will enable passing in script-local functions.

Here's a generalized idea: let 'left' and 'right' keys also accept a Funcref.

I meant it in a non-breaking manner. But if you are not interested at all, for the sake of keeping things simple, I understand.


podman 'play kube' fails when editing libpod.conf

When modifying the "infra_image" variable set in /usr/share/containers/libpod.conf running "podman play kube mypod.yaml" returns "Error: pod was given but no pod is specified: invalid argument"
/kind bug
Description
I need to modify the infra container used because the host does not have internet access.  When I return the libpod.conf back to the original value the command runs, but returns an error because "k8s.gcr.io/pause:3.1" cannot be pulled nor can it be pinged.  (Sorry for the general description I cannot copy and paste directly from the environment I am describing but I'm assuming this is known because the default pause container cannot be pulled).
The image I am replacing was pulled and loaded so the registry is localhost/kubernetes/pause:go.
I have seen hints of some podman play kube commands being fixed in 1.4 in issues... is this issue solved as well.  It is a must to test pods in an environment that does not have open internet access and requires effort/time to pull in external containers.
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
podman version 1.3.2

Fixed upstream already - dupe of https://github.com/containers/libpod/issues/3157

We're shipping a 1.4.x release in 7.6.6 which should resolve this.

thanks!

closing this because it's fixed upstream. Please re-open if you disagree @jttrail0


SVN: Checking for newer version misleading

Revision is used when checking version in svn, but would expect that only tag is used.
        Given the manifest 'dfetch.yaml'
            """
            manifest:
              version: '0.0'
              remotes:
                - name: github-com-dfetch-org
                  url-base: https://github.com/dfetch-org/test-repo
              projects:
                - name: ext/test-repo-tag-v1
                  vcs: svn
                  tag: v1
                  revision: 1
                  dst: ext/test-repo-tag-v1
            """
        When I run "dfetch check"
        Then the output shows
            """
            Dfetch (0.0.6)
              ext/test-repo-tag-v1: wanted (1), available (...)
            """

Seems to work correctly, tested with tag, rev only and with latest rev:


Send course id back to client

Send the courseId back to the client.
I've tested it and it seems to work and doesn't seem to crash clients that don't accept the courseId. This isn't deployed yet.
@Some3141

LGTM. Merge whenever the server is ready. I think @Sumukh is coordinating this. Thanks!


Added my profile-image and data. Please review and merge.
Thank you

@chiraagbanerjee please review .


glibc: enable obsolete rpc

Necessary to compile libvirt.

How is this handled in other distributions of Linux? I see that Linux from Scratch uses --enable-obsolete-rpc. Why is RPC obsolete, and what is supposed to replace it?

It was like that: tried installing libvirt but it failed being unable to find some headers (namely rpc/xdr.h and rpc/rpc.h). I looked up on packages.debian.org (as I usually do) and found them to belong to glibc. Its ChangeLog states the following:

New configure option --enable-obsolete-rpc makes the deprecated RPC
headers and functions available at compile time as they were before
version 2.14. This option will be removed at some time in the future
after the TI-RPC library becomes fully sufficient for the needs of
existing applications.

Okay, so TI-RPC is the replacement, but it sounds as though it hasn't yet replaced glibc's RPC implementation. I am :+1: for this patch, but I don't really have time to test it out until I'm back from traveling in the new year.

Is there something I can do to help?

Yeah, can you report on which distro you've tested a Standalone Installation?
Can you try building this Docker image with your change?
https://github.com/sjackman/docker-linuxbrew/blob/master/linuxbrew-gcc-deps/Dockerfile
https://github.com/sjackman/docker-linuxbrew/blob/master/linuxbrew-standalone/Dockerfile

Is packaging TI-RPC for Linuxbrew an alternative solution?

I tested on ubuntu/trusty64 Vagrant image using the Ubuntu script. Tried to build linuxbrew-standalone Docker images but something broke around linuxbrew-gcc-deps (not related) and I surrendered and fell asleep. Will try again if this will help :)

I'm hesitant to modify glibc before I leave for traveling for two months. I think it's best to wait until the new year.

Understood. BTW: it might also be a good time to update glibc version. New year, new glibc, new hopes.
And quite off the main topic: to ensure better quality of Linuxbrew it might be worth considering some automation in this regard. Travis seems like an obvious choice in the beginning, but timeouts would kill us for anything complicated (think gcc). I remember reading somewhere that somebody offered hosting space for Jenkins use. Maybe this would help?

A new version of glibc would be good too. I've never updated glibc so, we'll have to figure out what the upgrade routine is for Standalone users. I seem to recall that the newest version of glibc does not work on CentOS 5, because the kernel is too old (2.6.18). I'll have to package old versions of glibc, I think.
I'm all for CI testing. (and maybe automated bottling?) I haven't had the time to implement it.

You may take a look at #601 where I ported some Travis CI code from both
Homebrew and homebrew-science.
czw., 15.10.2015 o 17:42 użytkownik Shaun Jackman<EMAIL_ADDRESS>napisał:

A new version of glibc would be good too. I've never updated glibc so,
we'll have to figure out what the upgrade routine is for Standalone users.
I seem to recall that the newest version of glibc does not work on CentOS
5, because the kernel is too old (2.6.18). I'll have to package old
versions of glibc, I think.
I'm all for CI testing. (and maybe automated bottling?) I haven't had the
time to implement it.
—
Reply to this email directly or view it on GitHub
https://github.com/Homebrew/linuxbrew/pull/603#issuecomment-148427789.

Would packaging TI-RPC for Linuxbrew work for you?

May try it when I find a bit of spare time :)

Great. Tell me how it works out for you.

Tried to use Docker images but they are month old. Tried to generate my own then, but gcc-5.3.0 won't compile. Should I open new issue for it?

I'm getting a weird Docker error that's preventing updating the Docker images. See https://github.com/docker/docker/issues/19309
If your error is different then open a new issue.

My problem is Linuxbrew-specific and deals with upgrading gcc. I believe I have seen it mentioned somewhere around here but not sure whether it have been already fixed?

What's the error message?

The error was related to upgrading gcc and I believe has been addressed already somewhere else. I have packaged TI-RPC but since I don't have currently access to the mentioned system I couldn't test it.
If TI-RPC helps, we can close this issue.

Does TI-RPC resolve your original use case of compiling libvirt? If so, can you submit a pull request?

I would have to get access to the system I was using back then. I am not sure when would this happen, but I will test it.

When I try to compile libtirpc I get this error message:
libtool: compile:  /gsc/btl/linuxbrew/bin/gcc-5 -DHAVE_CONFIG_H -I. -I.. -I../tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -isystem/gsc/btl/linuxbrew/include -DHAVE_RPCSEC_GSS -I/gsc/btl/linuxbrew/Cellar/krb5/1.14/include -Os -w -pipe -march=core2 -c rpc_soc.c  -fPIC -DPIC -o .libs/libtirpc_la-rpc_soc.o
In file included from /gsc/btl/linuxbrew/include/nis/rpcsvc/nis.h:520:0,
                 from /gsc/btl/linuxbrew/include/rpcsvc/nis.h:1,
                 from rpc_soc.c:64:
/gsc/btl/linuxbrew/include/rpcsvc/nislib.h: In function 'libnsl_hidden_proto':
/gsc/btl/linuxbrew/include/rpcsvc/nislib.h:5:1: error: expected declaration specifiers before 'libnsl_hidden_proto'
 libnsl_hidden_proto (nis_name_of_r)
 ^
In file included from /gsc/btl/linuxbrew/include/rpcsvc/nis.h:1:0,
                 from rpc_soc.c:64:
/gsc/btl/linuxbrew/include/nis/rpcsvc/nis.h:541:22: error: storage class specified for parameter 'nis_lookup_3'
 extern  nis_result * nis_lookup_3 (ns_request *, CLIENT *) __THROW;
                      ^

Here's the formula that I'm using
class Libtirpc < Formula
  desc "A port of Suns Transport-Independent RPC library to Linux."
  homepage "http://sourceforge.net/projects/libtirpc/"
  url "http://downloads.sourceforge.net/project/libtirpc/libtirpc/1.0.1/libtirpc-1.0.1.tar.bz2"
  sha256 "5156974f31be7ccbc8ab1de37c4739af6d9d42c87b1d5caf4835dda75fcbb89e"
  # tag "linuxbrew"

  depends_on "homebrew/dupes/krb5" unless OS.mac?

  def install
    system "./configure",
      "--disable-debug",
      "--disable-dependency-tracking",
      "--disable-silent-rules",
      "--prefix=#{prefix}"
    system "make", "install"
  end
end

I've created a pull request for libtirpc https://github.com/Linuxbrew/linuxbrew/pull/765

libtirpc doesn't appear to be a drop-in replacement for glibc's RPC:
$ brew list libtirpc
/home/linuxbrew/.linuxbrew/Cellar/libtirpc/1.0.1/etc/netconfig
/home/linuxbrew/.linuxbrew/Cellar/libtirpc/1.0.1/include/tirpc/ (34 files)
/home/linuxbrew/.linuxbrew/Cellar/libtirpc/1.0.1/lib/pkgconfig/libtirpc.pc
/home/linuxbrew/.linuxbrew/Cellar/libtirpc/1.0.1/lib/ (4 files)
/home/linuxbrew/.linuxbrew/Cellar/libtirpc/1.0.1/share/man/ (36 files)

I've added --enable-obsolete-rpc to glibc. Thanks, Piotr.

Ha, great, thanks :)


Typing for data_labels function

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/Lime-image.jl
88.42% <100.00%> (-1.06%)
:arrow_down:


activationEvents completion list includes unused onIdentity entry

https://github.com/microsoft/vscode/blob/f09c4124a229b4149984e1c2da46f35b873d23fa/src/vs/workbench/services/extensions/common/extensionsRegistry.ts#L322-L326
This was apparently added by @sandy081 but I haven't found anywhere in the codebase that uses it.

/assign @sandy081


Safety mode

If wifi or HA dead need safety mode.
We need control inbuild relay. It's hard to fix problem in the dark. And I think the screen protection should also work without network.
I have Lanbon L8 with 0.6.0 firmware.

Ongoing discussion about this: https://github.com/HASwitchPlate/openHASP/discussions/61

In 0.6.1-dev the automatic reboot on wifi disconnect has been removed. The plate will keep on trying to reconnect indefinitely...
/online.cmd and /offline.cmd scripts are executed when the wifi status changes. This makes it possible to disable or hide buttons, go to a special offline page, etc...
Mqtt has not yet received the same update, but will probably get a similar change.

https://haswitchplate.github.io/openHASP-docs/0.6.1/commands/#batch-processinng

I have created a feature-mqtt branch that doesn't obstruct the normal GUI while MQTT reconnects.
The Connecting... progressbar is gone and the plate keeps responding as normal to local events.
This needs thorough testing though... as it involves some multi-threading and semaphores, which I'm not really familiar with.
Preliminary testing seems OK here, but just in case you want to test this branch I would not advised to put it on a production plate.

Can you add a feature to run a cmd file when MQTT connects and when it disconnects like you do for wifi?

That sounds like a sensible way forward to me.

Now that I think about it... it could have an influence on the ETHSPI code. PubSub uses an Arduino WifiClient object as its underlying network protocol. I don't think that esp_mqtt supports the Arduino networking library since it's an ESP-IDF module. Probably the ESP-IDF W5500 lwip network interface needs to used...

The ETHSPI is using the lwip network interface, so it will all just work with the WiFiClient. It's not a separate Ethernet library.

My bad! I thought it was a purely Arduino SPI library, but looking under the hood indeed reveals the ESP-IDF framework being used. This is good news and should indeed be supported by the esp_mqtt client.
I have checked in the code but now somehow the Github throws an error while I'm able to compile locally...

I've worked around the error by disabling Freetype for the time being.

I've added mqtt_on.cmd and mqtt_off.cmd scripts.


Build benchmark fails when building on macos with cmake

I realize the cmake build system is "best effort", however I thought I would note this here in case it was an easy fix.
When building on macos, the benchmark fails to build

5 errors found in build log:
     4669    /Users/cmarsh/Documents/science/code/spack/lib/spack/env/gcc/g++  -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -O3 -DNDEBUG -arch arm64
             -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -mmacosx-version-min=14.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/malloc_bench.
             dir/benchmark/malloc_bench.cc.o -o malloc_bench  librun_benchmark.a libtcmalloc_minimal.a libspinlock.a libsysinfo.a liblogging.a
     4670    ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/14.1.0/lib/gcc/current/gcc/aarch64-apple-darwin23/14' ignored
     4671    ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/14.1.0/lib/gcc/current' ignored
     4672    [100%] Linking CXX executable malloc_bench_shared
     4673    /Users/cmarsh/Documents/science/code/spack/opt/spack/darwin-sonoma-m1/apple-clang-15.0.0/cmake-3.27.9-bkoybdfelo2yfkczhbum3wygrumyt4bn/bin/cmake -E cmake_link_script CMakeFi
             les/malloc_bench_shared.dir/link.txt --verbose=1
     4674    /Users/cmarsh/Documents/science/code/spack/lib/spack/env/gcc/g++  -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -O3 -DNDEBUG -arch arm64
             -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -mmacosx-version-min=14.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/malloc_bench_
             shared.dir/benchmark/malloc_bench.cc.o -o malloc_bench_shared  -Wl,-rpath,/private/var/folders/tr/v_kqwm7x25x3y68l_p5qh1gw0000gn/T/cmarsh/spack-stage/spack-stage-gperftools-
             2.15-irmbw4yfweem5cyeoui5yvdcigt74wb2/spack-build-irmbw4y librun_benchmark.a libtcmalloc_minimal.9.16.5.dylib
  >> 4675    Undefined symbols for architecture arm64:
     4676      "_tc_delete_sized", referenced from:
     4677          bench_fastpath_simple_sized(long, unsigned long) in malloc_bench.cc.o
     4678          _main in malloc_bench.cc.o
     4679      "_tc_memalign", referenced from:
     4680          bench_fastpath_memalign(long, unsigned long) in malloc_bench.cc.o
     4681          _main in malloc_bench.cc.o
     4682    ld: symbol(s) not found for architecture arm64
  >> 4683    collect2: error: ld returned 1 exit status
  >> 4684    make[2]: *** [CMakeFiles/malloc_bench.dir/build.make:105: malloc_bench] Error 1
     4685    make[2]: Leaving directory '/private/var/folders/tr/v_kqwm7x25x3y68l_p5qh1gw0000gn/T/cmarsh/spack-stage/spack-stage-gperftools-2.15-irmbw4yfweem5cyeoui5yvdcigt74wb2/spack-bu
             ild-irmbw4y'
  >> 4686    make[1]: *** [CMakeFiles/Makefile2:2028: CMakeFiles/malloc_bench.dir/all] Error 2
     4687    make[1]: *** Waiting for unfinished jobs....
     4688    ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/14.1.0/lib/gcc/current/gcc/aarch64-apple-darwin23/14' ignored
     4689    ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/14.1.0/lib/gcc/current' ignored
     4690    make[2]: Leaving directory '/private/var/folders/tr/v_kqwm7x25x3y68l_p5qh1gw0000gn/T/cmarsh/spack-stage/spack-stage-gperftools-2.15-irmbw4yfweem5cyeoui5yvdcigt74wb2/spack-bu
             ild-irmbw4y'
     4691    [100%] Built target malloc_bench_shared
     4692    [100%] Linking CXX executable binary_trees

     ...

     4708    make[2]: Leaving directory '/private/var/folders/tr/v_kqwm7x25x3y68l_p5qh1gw0000gn/T/cmarsh/spack-stage/spack-stage-gperftools-2.15-irmbw4yfweem5cyeoui5yvdcigt74wb2/spack-bu
             ild-irmbw4y'
     4709    [100%] Built target binary_trees
     4710    [100%] Built target binary_trees_shared
     4711    make[2]: Leaving directory '/private/var/folders/tr/v_kqwm7x25x3y68l_p5qh1gw0000gn/T/cmarsh/spack-stage/spack-stage-gperftools-2.15-irmbw4yfweem5cyeoui5yvdcigt74wb2/spack-bu
             ild-irmbw4y'
     4712    [100%] Built target tcmalloc_minimal_debug_unittest
     4713    make[1]: Leaving directory '/private/var/folders/tr/v_kqwm7x25x3y68l_p5qh1gw0000gn/T/cmarsh/spack-stage/spack-stage-gperftools-2.15-irmbw4yfweem5cyeoui5yvdcigt74wb2/spack-bu
             ild-irmbw4y'
  >> 4714    make: *** [Makefile:169: all] Error 2

The corresponding spack issue if of interest
https://github.com/spack/spack/issues/44260

I believe this is likely "fixed" in master. Have you tested that ?

But also, yes, having any 3rd-party system relying on our cmake support is a bug in that 3rd party system (and makes me start wondering if I should regret this entire cmake business)

I just tried master and can confirm that it correctly links.
I'm loath to report this, however, make install does not seem to work anymore:
     5907    ==> gperftools: Executing phase: 'install'
     5908    ==> [2024-05-24-10:05:06.722457] 'make' '-j1' 'install'
     5909    make: *** No rule to make target 'install'.  Stop.

Quickly looking through the CMakeLists.txt and I don't see any of the install( directives that were present in the 2.15 releases' files.
I would not worry about spack depending on it. It has both cmake and autotools support to build gperftools. Indeed, the cmake build solves some other problems, so hopefully you don't find it a burden. Indeed, I was a bit hesitant to open a ticket as I do completely understand "best effort"="minimal to no effort" :)

Regarding cmake install support. So I did some major cleanup there and install support looked somewhat suspicious to me. Most likely, main reason for that oddness, was that original author of cmake support tried to closely duplicate behavior of autotools bits (possibly, with sight to convince me to drop autotools) and result was much complexity and un-orthodox-ity.
So amputated some stuff, and that included install support. Yes, we (or I) will need to re-do this somehow. I welcome you to contribute that if that is what you like to have. If you do that, please consider making it as clean and straightforward and cmake-orthodox as possible. For example, autotools (rather libtool) defaults to doing both static and shared libraries, and pretty much no-one else does. So we don't try to duplicate that in our cmake (and possible future bazel) bits.
With that, given that benchmarks do get built now, I am closing the ticket.


WPF MVVM UI with Dialogs + DataLib separation.

Started on WinForms to WPF .NET Core 3.1 port by adding an MVVM shell with Dialogs and Commands.
Separated data model from WinForms assembly for reusability. Refactored property names to .NET convention while maintaining SQLite database mapping through the [SQLLite.Column(string name)] attribute.
Wrote a reflection-powered method to get a PhantomInfo as a connection string.

Changed this to its own branch since it is not yet completed


Reset the errored State?

Sometimes it makes sense to reset the error that's been received by an error boundary.
(Like an HTTP 403 should redirect to login, etc.)
It would be nice if there's a way to clear the error state.

Good point!
How would you expect the method to be named?

I would suggest the method name to be either reset or resetError.

Sounds good, I put together a PR with reset.
I will play around with the implementation to make sure its consistent, and then release it within the next days.
Thanks for your suggestion 😊


[Transaction] Offload transaction data

Master Issue: https://github.com/apache/pulsar/issues/12482
PIP : https://github.com/streamnative/community/pull/6
Motivation
Redundant information does not need to be stored for a long time. The messages that have been aborted in a transaction and the Txn Marks that have been read are all redundant information
Modifications
Modified the offload method in ledgerOffload interface, and added an OffloadFilter type parameter.
OffloadFilter is a newly added interface, responsible for judging from the perspective of transaction,
whether the ledger can be uninstalled, and the entry needs to be offloaded and so on. The main implementation is OffloadFilterImp and OffloadFilterDisabled
Verifying this change
Add a unit test in pulsar-broker.

[ ] Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[x] no-need-doc
This is a perfection of existing functions

/pulsarbot run-failure-checks


[e2e]: generic schedule main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3202175284
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Oct  7 04:12:47 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3202175284
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Oct  7 08:36:15 UTC 2022
Tests are passing now. Closing this issue.


[Question] How to let TypeScript know that I've passed modelValue?

Child.tsx
import { defineComponent } from 'vue'

export default defineComponent({
  props: {
    modelValue: {
      type: Number,
      // 👇 required
      required: true,
    },
  },
  setup() {
    return () =>
Child

  },
})

Parent.tsx
import Child from '@/views/Child'
import { defineComponent, ref } from 'vue'

export default defineComponent({
  setup() {
    const number = ref(0)
    //                  👇 I've used `v-model` to pass `modelValue`
    //                  but TypeScript is complaining that I didn't
    return () => <Child v-model={number.value} />
  },
})

Ran into this today. Workarounds for the TypeScript error are to either mark the field as not required, or provide a default value.

One more thing. TypeScript doesn't validate v-model type. If, in the above example, number (in parent component) will be boolean or string, TypeScript will not say that it is wrong.

@wenfangdu see here

@wenfangdu you can try to replace 'v-model' to 'modelValue'

I created a PR vue-macros to resolved it.


Remove code obsoleted by common bootstrap package

Partial clean up (telemetry code).
https://github.com/edgexfoundry/edgex-go/issues/1811
Signed-off-by: Michael Estrin<EMAIL_ADDRESS>

Codecov Report

Merging #1905 into master will decrease coverage by 0.01%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master    #1905      +/-   ##
==========================================
- Coverage   43.12%   43.11%   -0.02%
==========================================
  Files         184      184
  Lines       11739    11732       -7
==========================================
- Hits         5063     5058       -5
+ Misses       6389     6387       -2
  Partials      287      287

Impacted Files
Coverage Δ

internal/pkg/telemetry/telemetry.go
48.38% <80%> (-4.25%)
:arrow_down:

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 ff6c41a...52eb63a. Read the comment docs.

Rebased

Rebased

Rebased

recheck


jacdac-power

1、It should contain power1 and power2

2、I set power1 allowed to true，but It turns off？
3、set power1 allowed to false，no response（They all work fine in the dashboard）
https://makecode.microbit.org/_PaJAm0AfFhpd

Do you really want kids to control the power service using blocks?

'I think we should simply not have blocks for the power module.'  I agree with you.

removed.


@conda-forge-admin, please add user @daylinmorgan

Additional comment:
Updates need to made to the recipe to make it compatible with the dependency changes in version 2 of pdm

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @daylinmorgan in conda-forge/pdm-feedstock#38.

@xhochy If you are willing to add me as a maintainer I am happy to update the recipes for the new versions of pdm.


script improvements and docker files

Hi,
I did some fixes for some errors I discovered over time.
I also added docker functionality to simplify the usage of this script.
Hope this helps..
Best regards
Andreas

Hi @abellmann ,
first, sorry for the late reply. i really appreciate your work, those improvements are highly welcome!
My time is very limited at the moment, but I'll try to check the PR in detail during the weekend.
Regards,
Chris

Hi,
Please let me know, if I can help making the pull request easier.. Perhaps splitting it up might help?
Regards,
Andreas

Hi @abellmann!
Thanks for getting back to me. I want to apologize for being so extremely unresponsive.
I checked the docker functionality, works nicely.
I also added some remarks about the python code... I guess the stdout redirection in the python script is incomplete or was commited by accident, because run-cron.sh also does not use the -o flag.
Regards,
Chris

It seems, as if some changes were lost due to a merge of your code changes. I have to review and fix this.


chore(deps): update yarn to v4.2.1

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

yarn (source)
4.1.0 -> 4.2.1

[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Release Notes

yarnpkg/berry (yarn)
v4.2.1
Compare Source
v4.2.0
Compare Source
v4.1.1
Compare Source

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: yarn.lock
➤ YN0000: · Yarn 4.2.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + typescript@patch:typescript@npm%3A5.4.3#optional!builtin<compat/typescript>::version=5.4.3&hash=5adc0c, and 1 more.
➤ YN0085: │ - typescript@patch:typescript@npm%3A5.4.2#optional!builtin<compat/typescript>::version=5.4.2&hash=d69c25, and 1 more.
➤ YN0000: └ Completed in 0s 809ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [a7905] doesn't provide react-dom (p73f32), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [a7905] doesn't provide react-dom (p89c70), requested by @testing-library/react.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [a7905] doesn't provide webpack (p92a18), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [ff90e] doesn't provide react-dom (p07efe), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [ff90e] doesn't provide react-dom (pfc924), requested by @testing-library/react.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [ff90e] doesn't provide webpack (pb9870), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming doesn't provide react-dom (p04eb8), requested by @testing-library/react.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming doesn't provide react-dom (p1efc4), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming doesn't provide webpack (pd6b69), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/experimental-nextjs-app-support@workspace:packages/experimental-nextjs-app-support [57d1f] doesn't provide react-dom (p9d83e), requested by @testing-library/react.
➤ YN0002: │ @apollo/experimental-nextjs-app-support@workspace:packages/experimental-nextjs-app-support doesn't provide react-dom (p6ec33), requested by next.
➤ YN0002: │ @apollo/experimental-nextjs-app-support@workspace:packages/experimental-nextjs-app-support doesn't provide react-dom (pe703b), requested by @testing-library/react.
➤ YN0002: │ monorepo@workspace:. doesn't provide webpack (pa8ffb), requested by @size-limit/webpack-why.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 21 packages were added to the project (+ 20.02 MiB).
➤ YN0000: └ Completed in 13s 952ms
➤ YN0000: ┌ Link step

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: yarn.lock
➤ YN0000: · Yarn 4.2.2
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + typescript@patch:typescript@npm%3A5.4.3#optional!builtin<compat/typescript>::version=5.4.3&hash=5adc0c, and 1 more.
➤ YN0085: │ - typescript@patch:typescript@npm%3A5.4.2#optional!builtin<compat/typescript>::version=5.4.2&hash=d69c25, and 1 more.
➤ YN0000: └ Completed in 0s 711ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [a7905] doesn't provide react-dom (p73f32), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [a7905] doesn't provide react-dom (p89c70), requested by @testing-library/react.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [a7905] doesn't provide webpack (p92a18), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [ff90e] doesn't provide react-dom (p07efe), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [ff90e] doesn't provide react-dom (pfc924), requested by @testing-library/react.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [ff90e] doesn't provide webpack (pb9870), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming doesn't provide react-dom (p04eb8), requested by @testing-library/react.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming doesn't provide react-dom (p1efc4), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming doesn't provide webpack (pd6b69), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/experimental-nextjs-app-support@workspace:packages/experimental-nextjs-app-support [57d1f] doesn't provide react-dom (p9d83e), requested by @testing-library/react.
➤ YN0002: │ @apollo/experimental-nextjs-app-support@workspace:packages/experimental-nextjs-app-support doesn't provide react-dom (p6ec33), requested by next.
➤ YN0002: │ @apollo/experimental-nextjs-app-support@workspace:packages/experimental-nextjs-app-support doesn't provide react-dom (pe703b), requested by @testing-library/react.
➤ YN0002: │ monorepo@workspace:. doesn't provide webpack (pa8ffb), requested by @size-limit/webpack-why.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 3 packages were added to the project (+ 11.43 MiB).
➤ YN0000: └ Completed in 9s 954ms
➤ YN0000: ┌ Link step


aioredis 0.3.1 Pool compatibility

Is compatibility with aioredis==0.3.1 planned?
They had some refactor of Pool class and it doesn't work with current aiocache version.
requirements.txt also specify aioredis==0.3.1 (but setup.py still refers to 0.3.0)

it doesn't work with current aiocache version

What do you mean by that? I've installed aioredis==0.3.1 and all tests are passing. Good catch though that setup.py is not updated with that, need to fix it

Oops, sorry. It must be aioredis master
So it's not relevant until the next release

Yup, indeed its master, I've seen the incompatibility problems too. Once the release for aioredis comes I'll open the issue to work on the upgrade :)


URL validation introduced. Issue: URL error detection #1

Solution for issue #1.

hacktoberfest-accepted


Dodanie w nagłówku wpisu linku do strony z autorem

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update major version of swc_core for plugins at same time as @swc/core

Please update the major version of swc_core for plugins simultaneously with @swc/core. I have now installed @swc/plugin-styled-components v4.0.0, but since it also expects swc_core version 4, it does not work with the current @swc/core v1.7.42, because it still has version 3 of core.
Error:
1: failed to run Wasm plugin transform. Please ensure the version of swc_coreused by the plugin is compatible with the host runtime. See the documentation for compatibility information. If you are an author of the plugin, please updateswc_core to the compatible version.

No it’s not possible.
Use plugins.swc.rs

Wasm plugins are experimental

https://github.com/swc-project/swc/issues/9711


[Outlook] (internet headers) Clarify header quota

Fixes #3580.

Docs Build status updates of commit 4b56a71:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/internet-headers.md
:bulb:Suggestion
View
Details

docs/outlook/limits-for-activation-and-javascript-api-for-outlook-add-ins.md
:bulb:Suggestion
View
Details

docs/outlook/internet-headers.md

Line 138, Column 482: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /exchange/mail-flow/message-size-limits?view=exchserver-2019

docs/outlook/limits-for-activation-and-javascript-api-for-outlook-add-ins.md

Line 74, Column 156: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /javascript/api/outlook/office.internetheaders?view=outlook-js-preview

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d8bd24f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/internet-headers.md
:white_check_mark:Succeeded
View

docs/outlook/limits-for-activation-and-javascript-api-for-outlook-add-ins.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 307c9f0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/internet-headers.md
:white_check_mark:Succeeded
View

docs/outlook/limits-for-activation-and-javascript-api-for-outlook-add-ins.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add third argument to open(2) calls for creating new files.

There's a few places where open(2) is called with O_CREAT and without the needed third argument for the default file permission bits (It was causing the test program to fail).
This PR fixes that by adding a third argument to the file descriptor class constructor for the permissions and calling open() appropriately. Went with defaults that will cause reasonable settings with typical umask values, but feel free to change.

Ah. I misinterpreted the manpage and thought that umask was being inherited. Ideally, it should be inherited. Let's use umask to read the umask value before opening the file?
We can read it from /proc/self/status or using two umask calls.

The permission mode passed to open() is internally or-ed with the umask like mode & (~umask). So you usually pass a permissive mode, and users set up a more restrictive umask so that created files have their desired mode. In other words, the umask doesn't add permissions, it only takes away. User programs usually don't care what it is in my experience, or need to look at it.


make TantivyError cloneable

Codecov Report

Merging #1341 (3facf14) into main (125707d) will increase coverage by 0.01%.
The diff coverage is 32.00%.

@@            Coverage Diff             @@
##             main    #1341      +/-   ##
==========================================
+ Coverage   94.23%   94.25%   +0.01%
==========================================
  Files         232      233       +1
  Lines       40856    41896    +1040
==========================================
+ Hits        38499    39487     +988
- Misses       2357     2409      +52

Impacted Files
Coverage Δ

src/directory/managed_directory.rs
88.25% <0.00%> (ø)

src/directory/error.rs
1.72% <7.14%> (-0.24%)
:arrow_down:

src/error.rs
25.00% <28.57%> (+2.96%)
:arrow_up:

src/directory/ram_directory.rs
88.81% <33.33%> (ø)

src/directory/directory.rs
94.28% <60.00%> (+0.16%)
:arrow_up:

src/directory/mmap_directory.rs
91.10% <100.00%> (+0.04%)
:arrow_up:

src/fastfield/writer.rs
90.12% <0.00%> (-5.84%)
:arrow_down:

src/aggregation/agg_req_with_accessor.rs
93.70% <0.00%> (-4.13%)
:arrow_down:

src/aggregation/bucket/range.rs
96.22% <0.00%> (-2.16%)
:arrow_down:

src/schema/numeric_options.rs
95.51% <0.00%> (-1.93%)
:arrow_down:

... and 26 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 125707d...3facf14. Read the comment docs.

This removes too much context, and the case for cloneable errors is too weak.


Move RewriteExecutionContext to sbm-support-rewrite

closed by https://github.com/spring-projects-experimental/spring-boot-migrator/commit/4148b6a9


Add post-command hook

Resolves #87
Checklist

[x] I have made a change to this repository, be it functionality, testing, documentation, spelling, or grammar.
[x] I updated my branch with the master branch.
[x] I have added the necessary testing to prove my fix is effective/my feature works (or I did not modify functionality).
[x] I have added necessary documentation about the functionality in an appropriate .md file.
[x] I have appropriately commented any code I have modified

Short description of what this PR does:

Add POST_COMMAND config to run any custom command after a modification command succeeds

Great work, thanks! :+1:


Remove duplicated code from AEAD process

Fix: #1626
AES-128-GCM and AES-256-GCM have same encode/decode process routine
thus remove the duplicated code.
Signed-off-by: Xiangfei Ma<EMAIL_ADDRESS>

Some CI checks just failed due to  CLANG Toolchain Setup failure - connection timed out when downloading LLVM ralated deb.
https://github.com/DMTF/libspdm/actions/runs/3907480795/jobs/6676743751#step:4:59
I'd commit the same code again to give it a re-run.

You can re-run only the failed tests in https://github.com/DMTF/libspdm/pull/1631/checks

You can re-run only the failed tests in https://github.com/DMTF/libspdm/pull/1631/checks

That I think just for who has write access to this repository.
The network connection to http://azure.archive.ubuntu.com/ seems unstable indeed for the moment :(
uncrustify installation failed as well. https://github.com/DMTF/libspdm/actions/runs/3907640152/jobs/6677067167#step:2:54
Let's try it again later.


Data consistency verification in copy activity does work if the source is Sql and destination is Azure Data Lake Gen2 ?

[Enter feedback here]
Data consistency verification in copy activity does work if the source is Sql and destination is Azure Data Lake Gen2 ? If yes, how it does that ?

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

ID: 70956e0c-ddec-96a9-e1d4-d25dc54f7a28
Version Independent ID: 385b0054-fc50-a103-0b3d-53aa3fc20e64
Content: Data consistency verification in copy activity - Azure Data Factory
Content Source: articles/data-factory/copy-activity-data-consistency.md
Service: data-factory
GitHub Login: @dearandyxu
Microsoft Alias: yexu

@vikramdadwal - Thanks for posting the question. I will get back to you with more details.

@vikramdadwal - As per the below lines from documentation, the data consistency verification will only check for row count when copy activity is moving data from SQL to ADLS Gen2 and if mismatch is found, then it is considered as inconsistent.
When copying a table in single copy activity with data consistency verification enabled, copy activity fails if the number of rows read from the source is different from the number of rows copied to the destination plus the number of incompatible rows that were skipped.
I checked with the product team and got confirmation that today it may not be extremely beneficial to have this property while loading from SQL as it only covers row count but it will be further enhanced in future to cover other data quality scenarios.
Please let us know for further queries and we will be glad to assist.

@HarithaMaddi-MSFT : Thanks for the clarification. Just one more thing, for Gen 2 -> Gen 2 transfers this option support checksum? is that assumption right ?

@vikrandadwal - Thanks for posting the additional query. Please find below from document that mentions that check sum validation is supported only for binary copy and for non-binary copy, only row count validation applies.
If you set true for this property, when copying binary files, copy activity will check file size, lastModifiedDate, and MD5 checksum for each binary file copied from source to destination store to ensure the data consistency between source and destination store. When copying tabular data, copy activity will check the total row count after job completes to ensure the total number of rows read from the source is same as the number of rows copied to the destination plus the number of incompatible rows that were skipped. Be aware the copy performance will be affected by enabling this option.
Please let us know for further queries and we will be glad to assist.


Make sanitycheck support multiple toolchains

Is your enhancement proposal related to a problem? Please describe.
right now sanitycheck filters based on configured variant (from env variable). We should support multiple configured toolchains in the same run and filter based on a list rather than rely on the env variable.
Describe the solution you'd like
set variants on command line.
Describe alternatives you've considered
none
Additional context
In CI, we want to build with different toolchains, some boards can only be built with one toolchain and we need to cover those in CI in a consistent way.

I would like to suggest a more generic approach.
Instead of having a specific option for the toolchain, why not using an option for multiple environment sets?
e.g. for testing with multiple toolchains:
tests:
  special.networking.test:
    env:
      ZEPHYR_TOOLCHAIN_VARIANT:
      - gnuarmemb
      - zephyr

And on command line:
twister.py --multi_env ZEPHYR_TOOLCHAIN_VARIANT=[gnuarmemb,zephyr]

What do you think about it? As I am not very familiar with twister, it may not be relevant.


[flawhud] Chat overlapping with vote screen

Version: v2023.0730
Screen resolution: 2560x1600 (16:10)

Using the option for the lower chat.

I assume that's the issue why its overlapping. Is there any way to move the vote screen further up instead?

Right, i forgot that buildings are up there and achievements down there (never had those on my hud). Ill guess i have to stick with that then. Thanks.

16:10 specific customizations could be added. But I'd need a 16:10 monitor to really create it. Unless someone else wants to do it

I could possible help testing them or try it? Depends on what would needed to be changed (this for example https://github.com/CriticalFlaw/flawhud/issues/358)

It'd be easier if someone submitted a pull request with all the changes for 16:10 that could then either be merged in if they don't cause any issues for other resolutions or made into an editor option.


Maintain Existing Projects

Update CI on Kotlin BIP-39
https://github.com/Electric-Coin-Company/kotlin-bip39/pull/307


Add documentation to optionally allow users to forward all flutter, dart calls to fvm

Before creating a feature request make sure the suggestion fit within our principles
Is your feature request related to a problem? Please describe.
Yes, I use a few scripts which rely on using naked flutter calls instead of fvm since they operate on the CI as well. However, this creates an issue when working seamlessly withfvm on my local machine. I'm assuming a lot of folks would end up with such a situation.
Describe the solution you'd like
I feel it might benefit a lot of people if we include a documentation that allowed people to redirect naked flutter/dart calls to fvm.  I understand this might create slight friction with fvm principles, however since its documentation and strictly optional, Im assuming it wouldn't be an issue. The documentation can be along the following lines

Reroute flutter & dart commands (Optional)
You can run the commands below so that all calls invoking flutter or dart are automatically redirected to using fvm flutter or fvm dart.
On Mac

sudo echo 'fvm flutter ${@:1}' > "/usr/local/bin/flutter" && sudo chmod +x /usr/local/bin/flutter
sudo echo 'fvm dart ${@:1}' > "/usr/local/bin/dart" && sudo chmod +x /usr/local/bin/dart

On Linux

echo 'fvm flutter ${@:1}' > "$HOME/.local/bin/flutter" && chmod +x "$HOME/.local/bin/flutter"
echo 'fvm dart ${@:1}' > "$HOME/.local/bin/dart" && chmod +x "$HOME/.local/bin/dart"

Remove reroutes
On Mac

sudo rm /usr/local/bin/flutter
sudo rm /usr/local/bin/dart

On Linux

rm "$HOME/.local/bin/dart"
rm "$HOME/.local/bin/flutter"

Describe alternatives you've considered
I have considered command aliases as an alternate approach which are less intrusive however, they wont work with scripts unless you export the corresponding environment files from within the script.
Additional context
I'm still figuring a way to do an equivalent in windows but I don't own a machine so it would be great if someone else can provide a snippet. There are caveats to this approach as well, mainly if a user already has installed flutter via brew or any other native package managers, the binaries may conflict. I'd assume adding a note around this would inform users about the same.

@humblerookie This makes sense. Would you like to update the docs website? I can review it. I think we can add this as a tip in this section here:
https://fvm.app/documentation/guides/running-flutter#call-sdk-directly

@leoafarias  Done https://github.com/leoafarias/fvm/pull/735


cmd-g as goto line

I'm on mac. I would like to set cmd-g as goto line.
I've put this in keymap.cson
'.platform-darwin, .platform-win32, .platform-linux':
'cmd-g': 'go-to-line:toggle'
'.platform-darwin atom-text-editor':
'f3': 'find-and-replace:find-next'
F3 works as find, cmd-g is still set to try to find strings. ctrl-g is goto line as default. I really would like cmd-g work as ctrl-g.
This is on mac with atom 1.20.
Also I really love this editor, thanks for making it!

Try this:
'.platform-darwin, .platform-win32, .platform-linux atom-text-editor':
  'cmd-g': 'go-to-line:toggle'
'.platform-darwin atom-text-editor':
  'f3': 'find-and-replace:find-next'

Because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Atom there are a lot of options, check out:

The Atom Flight Manual
The Atom FAQ on Discuss
Discuss, the official Atom and Electron message board
Join the Atom Slack team

On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction.


Requiredness of body parameter lost

Input
{
  "name": "indexer",
  "in": "body",
  "required": true,
  "schema": {
    "$ref": "#/definitions/Indexer"
  },
  "description": "The definition of the indexer to create or update."
}

Output
"requestBody": {
  "content": {
    "application/json": {
      "description": "The definition of the indexer to create or update.",
      "schema": {
        "$ref": "#/components/schemas/Indexer"
      }
    }
  }
}

Expected
"requestBody": {
  "content": {
    "application/json": {
      "description": "The definition of the indexer to create or update.",
      "schema": {
        "$ref": "#/components/schemas/Indexer"
      }
    }
  },
  "required": true
}

Detail
According to https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#request-body-object, required defaults to false, so it needs to be set to true explicitly 🙂

Thanks for reporting! Am on it.

whoops, saw your comment only now, but didn't take much time to fix (in case the fix is okay, haven't spent too much time following the code) 🙂 awesome project!

whoops, saw your comment only now, but didn't take much time to fix (in case the fix is okay, haven't spent too much time following the code) 🙂 awesome project!

No, @olydis that's cool - the fix is correct and helped me decide which branch to apply it to. (Let me know if you're using the npm package and/or the web front-end and I will do a proper release).
Have applied a similar fix for 2.0 in: file parameters.
Thanks again for spotting the issue, and for the PR and kind comments.

Sweet, thank you for the efforts and super quick response times! I'm consuming the npm package.

I'm consuming the npm package.

v2.2.1 just published.


Feedback for "Add Users from SAP ID Service for Multi-Environment Subaccounts"

https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/760ab77e5afd4c15ae70ec7ff59e02ef.html?version=Cloud
"Create users and assign role collections to users in Security >  Users It's possible to create users in custom identity providers and in the SAP ID service. For more information, see Working with Users."
Do you really create users in the SAP ID service when you add a user in BTP cockpit on subaccount level? You do not provide user credentials (password) etc. It's "just" the mail address. AFAIK user can only register in SAP ID service through self service or through S-User creation; see also https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/ebe42f6900384c75bb7def32c011fa40.html?version=Cloud
Leveraging the mentioned way in BTP Cockpit - are you really creating user in SAP ID Service?
Thanks for clarification

https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/2c91f88e60ea4677a076212085b42d02.html
[https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/2c91f88e60ea4677a076212085b42d02.html|Working with Users] states that the users you create in SAP ID service are mere shadow users. All users are always stored in identity providers, with the default IdP (SAP ID service) or  a custom IdP (e.g. IAS) connected to SAP BTP.
The advantage of shadow users is that an admin can assign role collections to them. Thus the admin can give them the requied authorizations.
The help topic about lists and describes the scenarios when an admin would create users in the Security -> Users UI


"Mileanca", "Codreni", "Scutari" and "Seliștea" are listed in the drop-down menu

Description:
"Mileanca", "Codreni", "Scutari" and "Seliștea" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Mileanca" in the search bar.

Expected results
The location is listed in the drop-down menu as "Mileanca, Botoșani (Mileanca)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Scutari" in the search bar.

Expected results
The location is listed in the drop-down menu as "Scutari, Botoșani (Mileanca)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Type "Seliștea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Seliștea, Botoșani (Mileanca)".


Golden Village is crashing my game, aswell as Farmer tower and hero

Ive tried reading and understanding the console, and looking for anything that resembles assets that i might be missing but i cant find anything and everytime i try dragging these towers onto the map my game just freezes and crashes

Try downgrading Melonloader to 0.6.2. For some reason, Melonloader version 0.6.3 and up deletes the data in the Mod Settings files and causes a lot of mods to break.


how to return a http get request result in the browser

eg I want get a website's content and render it in my site
I try some time method,but not work.

It has nothing to do with Adonis itself , in order to make http request to other websites you can make use of https://www.npmjs.com/package/request package

request(article.href, function (error, response, body) {
  if(!error){
   response.send(body)
}
})

and do not return article

i try it but it tell me
TypeError (500)
first argument must be a string or Buffer

error: uncaughtException: Can't set headers after they are sent.

do not return article at the end of the function

code
*show(request, response) {
    const id = request.param("id");

    const Database = use('Database');
    const data     = yield Database.table('article').select('*').where({id: id});
    const article  = data[0]

    var request = require('request');
    request(article.href, function (error, res, body) {
      if (!error) {
        response.send(body)
      }
    })
  }

can you show output of body

console.log

then node throw a error
uncaughtException: Can't set headers after they are sent.

weird will check

if i remove "return",then it trigger a 500 error,and it rendered in the browser,before my request.send run

finally I worked out
*show(request, response) {
    const id = request.param("id");

    const Database = use('Database');
    const data     = yield Database.table('article').select('*').where({id: id});
    const article  = data[0];

    var req  = require('request');
    var html = yield new Promise(function (resolve, reject) {
      req(article.href, function (error, res, body) {
        if (!error) {
          resolve(body)
        } else {
          reject(error)
        }
      })

    })

    response.send(html)
  }

using promise,not using response.send in callback

This is weird, i will check it soon


Add a 'custom' backend to allow more than 'cpu' and 'gpu' backends.

First idea at enabling the environment to allow a custom backend. I don't think I need to get into the weeds about setting the best-backend just yet. Happy to take another approach - but type def'ing constants is hard to work with outside of the package.

This change is

I think this approach is good, let's wait for @dsmilkov though since he wrote the setBackend code.

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

src/environment_test.ts, line 266 at r1 (raw file):

  it('allow custom backend', () => {
    const backend = new MathBackendCPU();
    const success = ENV.addCustomBackend('custom', () => backend);

Hey Nick , this is good, but I think you should use ENV.registerBackend in your library instead of addCustomBackend.

Comments from Reviewable


{Linked:Bug11845587}[Adaptive Cards > Designer] - NVDA is announcing grouping label name for all the check boxes.

Target Platforms
Other
SDK Version
1.6
Application Name
Adaptive Cards
Problem Description
Test Environment:
URL: https://adaptivecards.io/designer/
OS Version: 24H2 (OS Build 26052.1000)
Browser Version: Version 123.0.2400.1 (Official build) dev (64-bit)
Screen Reader: NVDA
Tool: Accessibility Insight For Web
Pre-Requisite:
Run the below attached JSON file under 'Copy Card Payload editor.'
Repro Steps:

Open the above URL on the EDGE Dev browser.
Run the Json file.
Navigate to the Preview mode and press enter key to activate it.
Run the tool and switch the toggle On for the heading and observe the issue.

Actual Result:
NVDA is announcing grouping label name for all the check boxes.
NVDA Speech:
Add Causes If cause not listed, please provide more details in the previous page. Absorption check box not checked.
Add Causes If cause not listed, please provide more details in the previous page Bodily Reaction check box not checked.
Add Causes If cause not listed, please provide more details in the previous page Caught in Under or Between check box not checked.
Expected Result:
NVDA should not announce grouping label name for all the check boxes.
NVDA should announce like Add Causes If cause not listed please provide more details in the previous page Absorption check box not checked, Bodily Reaction check box not checked, Caught in Under or Between check box not checked.
User Impact:
Users who rely on Screen Readers will get impacted if NVDA is announcing grouping label name for all the check boxes as they will get irretate.
WCAG Reference:
https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships
Have feedback to share on Bugs ? please tag bug as “A11yRCA” and add your feedback in the comment section
Screenshots
https://github.com/microsoft/AdaptiveCards/assets/95913748/179b073f-bdfe-49c2-95ff-32845b495d8f

Card JSON
{
    "schema": "http=//adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.5",
    "body": [
        {
            "id": "",
            "isVisible": false,
            "separator": false,
            "spacing": "default",
            "type": "Container",
            "bleed": false,
            "items": [
                {
                    "id": "",
                    "isVisible": true,
                    "separator": false,
                    "spacing": "default",
                    "width": "32px",
                    "type": "Image",
                    "height": "32px",
                    "horizontalAlignment": "center",
                    "size": "auto",
                    "style": "default",
                    "url": "https://localhost:4321/node_modules/myhub-viva-library/dist/LoadingSpinner_231a701aee45eda2616de6679644dd24.gif",
                    "altText": "Loading indicator"
                },
                {
                    "id": "",
                    "isVisible": true,
                    "separator": false,
                    "spacing": "default",
                    "type": "TextBlock",
                    "style": "default",
                    "wrap": false,
                    "text": "Loading... Please wait.",
                    "horizontalAlignment": "center",
                    "size": "default"
                }
            ],
            "verticalContentAlignment": "center",
            "rtl": false,
            "sizes": {
                "imageSize": "32px",
                "fontSize": "default"
            }
        },
        {
            "id": "",
            "isVisible": true,
            "separator": false,
            "spacing": "default",
            "type": "Container",
            "bleed": false,
            "items": [
                {
                    "id": "",
                    "isVisible": true,
                    "separator": false,
                    "spacing": "default",
                    "type": "Container",
                    "bleed": false,
                    "items": [
                        {
                            "id": "",
                            "isVisible": true,
                            "separator": false,
                            "spacing": "none",
                            "width": "stretch",
                            "type": "Container",
                            "bleed": true,
                            "items": [],
                            "verticalContentAlignment": "center",
                            "rtl": false,
                            "backgroundImage": "https://localhost:4321/node_modules/myhub-viva-library/dist/HeaderLine_77d65ccd075fa6644bc29b64bd426343.png"
                        },
                        {
                            "id": "",
                            "isVisible": true,
                            "separator": false,
                            "spacing": "none",
                            "type": "ColumnSet",
                            "bleed": false,
                            "columns": [
                                {
                                    "type": "Column",
                                    "separator": false,
                                    "spacing": "none",
                                    "verticalContentAlignment": "center",
                                    "width": "stretch",
                                    "isVisible": true,
                                    "rtl": false,
                                    "items": [
                                        {
                                            "id": "",
                                            "isVisible": true,
                                            "separator": false,
                                            "spacing": "none",
                                            "type": "TextBlock",
                                            "style": "heading",
                                            "wrap": true,
                                            "text": "Add Causes"
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "verticalContentAlignment": "center",
                    "rtl": false,
                    "headerType": "basic"
                },
                {
                    "id": "",
                    "isVisible": true,
                    "separator": false,
                    "spacing": "default",
                    "type": "Container",
                    "bleed": false,
                    "items": [
                        {
                            "id": "impactViewRecordId",
                            "isVisible": true,
                            "separator": false,
                            "spacing": "Medium",
                            "width": "stretch",
                            "type": "Input.ChoiceSet",
                            "isRequired": false,
                            "isMultiSelect": true,
                            "style": "expanded",
                            "wrap": true,
                            "choices": [
                                {
                                    "title": "Absorption",
                                    "value": "ABS"
                                },
                                {
                                    "title": "Bodily Reaction",
                                    "value": "BR"
                                },
                                {
                                    "title": "Caught In, Under, or Between",
                                    "value": "CI"
                                },
                                {
                                    "title": "Driving Accident",
                                    "value": "DA"
                                },
                                {
                                    "title": "Exposure to, Contact with",
                                    "value": "ET"
                                },
                                {
                                    "title": "Ingestion",
                                    "value": "ING"
                                },
                                {
                                    "title": "Inhalation",
                                    "value": "INH"
                                },
                                {
                                    "title": "Overexertion / Ergonomic",
                                    "value": "OE"
                                },
                                {
                                    "title": "Rubbed or Abraded",
                                    "value": "ROA"
                                },
                                {
                                    "title": "Slip, Trip, Fall",
                                    "value": "STF"
                                },
                                {
                                    "title": "Struck Against / Struck By",
                                    "value": "SASB"
                                }
                            ],
                            "value": "",
                            "label": "Add Causes, If cause not listed, please provide more details in the previous page."
                        }
                    ],
                    "verticalContentAlignment": "center",
                    "rtl": false
                },
                {
                    "id": "",
                    "isVisible": true,
                    "separator": false,
                    "spacing": "large",
                    "type": "ActionSet",
                    "actions": [
                        {
                            "style": "positive",
                            "mode": "primary",
                            "isEnabled": true,
                            "id": "impactCausesSelectButtonId",
                            "title": "Select Cause(s)",
                            "tooltip": "Click here to select the causes and navigate to reporting step",
                            "type": "Action.Submit",
                            "associatedInputs": "auto",
                            "data": {
                                "id": "impactCausesSelectButtonId"
                            }
                        }
                    ]
                }
            ],
            "verticalContentAlignment": "center",
            "rtl": false
        }
    ],
    "actions": [],
    "refresh": null
}

Sample Code Language
No response
Sample Code
No response

Originally tracking with below URL -
https://microsoftit.visualstudio.com/OneITVSO/_workitems/edit/11845587

Hi @vagpt! I made a change in the middle of March that impacts the checkbox behavior. Can you confirm that this bug still occurs as I do not see this happening with Narrator?

@vagpt Any updates?

Hi @anna-dingler,
Sorry for the delayed response.
We have checked it again with NVDA and Narrator screen reader and getting the same issue at our end. Attaching the screenshot for your reference.
Snippet:


dsDisplay: Updated L1 test cases to support the AIDL

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


Support for using existing Secret for pulling image from Private Registry

I am trying to play around with values.yaml file in the image.pullSecrets section to be able to use an existing kubernetes secret in the cluster.
I ended up updating the manifest file to get the secret name from the values.yaml file, for example:
      imagePullSecrets:
      {{- if .Values.container.image.pullSecrets }}
        - name: {{ .Values.container.image.pullSecrets.name }}
      {{- end }}

values.yaml:
image:
    repository: my-private-registry/crowdstrike/falcon-sensor
    pullPolicy: IfNotPresent
    pullSecrets:
      name: my-private-registry-creds

Hello,
I have come across this issue and I wonder whether just supplying
--set serviceAccount.name="default"

to the installer solves the issue.
The reasoning behind this: I imagine people may want to supply their own pullSecretName when the pullSecret gets created in their kubernetes whenever the namespace gets created. In that case usually the said pullSecret is usually accessible using the default service account.
Thoughts?

This issue was solved with this PR : #151 - you can pass a pullsecret name for Falcon Container here: https://github.com/CrowdStrike/falcon-helm/blob/main/helm-charts/falcon-sensor/values.yaml#L139 and here for Falcon Sensor as DaemonSet : https://github.com/CrowdStrike/falcon-helm/blob/main/helm-charts/falcon-sensor/values.yaml#L51


How to break array-loop node

I use the array-loop node to browse the array,
I tried setting the node to break the array midway but it didn't work.
Please tell me!
Thanks.
For example, output to value C will break the array and continue to process outside array-loop

I am sorry to have kept you waiting.
I can't identify the cause. So I write an example flow using array-loop node.
Cloud you check this flow and your flow, especially array-loop node's properties?
[{"id":"58862348.2eaadc","type":"inject","z":"cacee7e4.aa35c8","name":"msg.payload = \"A, B, C, D, E\"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"A, B, C, D, E","payloadType":"str","x":160,"y":740,"wires":[["914634da.5710d8"]]},{"id":"bddc6bc4.32a698","type":"debug","z":"cacee7e4.aa35c8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":770,"y":820,"wires":[]},{"id":"6553aa43.9b0814","type":"array-loop","z":"cacee7e4.aa35c8","name":"array-loop","key":"al6553aa439b0814","keyType":"msg","reset":false,"resetValue":"value-null","array":"alphabets","arrayType":"msg","x":560,"y":820,"wires":[["bddc6bc4.32a698"],["78dab0ce.5f1fb"]]},{"id":"914634da.5710d8","type":"change","z":"cacee7e4.aa35c8","name":"split msg.payload and set msg.alphabets","rules":[{"t":"set","p":"alphabets","pt":"msg","to":"$split(msg.payload, \", \")\t","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":820,"wires":[["6553aa43.9b0814"]]},{"id":"dc5087dc.4d81b8","type":"debug","z":"cacee7e4.aa35c8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":610,"y":960,"wires":[]},{"id":"78dab0ce.5f1fb","type":"delay","z":"cacee7e4.aa35c8","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":420,"y":900,"wires":[["dc5087dc.4d81b8","94fd8e89.56cc1"]]},{"id":"94fd8e89.56cc1","type":"function","z":"cacee7e4.aa35c8","name":"return msg","func":"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":610,"y":900,"wires":[["6553aa43.9b0814"]]}]

I think the OP was asking if there was a way to break out of the loop.  I have this problem.  If some logic error prevents a loop returning, then the only I can find to reset the count is to change something in the node, deploy, change back, deploy.
For example this alternative node https://flows.nodered.org/node/node-red-contrib-loop
allows you to inject a msg.command = "break"  which is a much cleaner way of resetting.


Adding McCallie School, Chattanooga TN

@jungblud First stage of verification passed, official domain for McCallie School is mccallie.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@jungblud Pull request merged. Thank you.


Warning given when extracting (Can't set user=0/group=0)

When installing packages from pacman (not conflicting), a warning appears.
Example:
warning: warning given when extracting /data/data/com.termux/files/usr/share/pixmaps/archlinux.png (Can't set user=0/group=0 for /data/data/com.termux/files/usr/share/pixmaps/archlinux.png)
warning: warning given when extracting /data/data/com.termux/files/var/run (Can't set user=0/group=0 for /data/data/com.termux/files/var/run)

This is a bug but not critical for pacman.
So I understand that pacman is trying to change the access of a directory or file for users and groups, which is painful.  Because in android there is only one user (not counting root), and there is no such thing as a group.

The problem was solved.
add.c
util.c

The problem has been completely resolved.
add.c


xdgmenumaker: use python3 for NixOS#74295

Motivation for this change
Use python3 and pygobject3 instead of python2 and pygtk. See https://github.com/NixOS/nixpkgs/pull/74295.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @worldofpeace

@romildo Got rid of the custom installPhase with flags.


database version number

Hey, If I ship new database within the app, how can I increment it's version so if it already exists, current get deleted and new comes in?

We are also facing the same concern.

The easiest way to do this; would be to open the existing database; get its version number; check to see if it is older; then if it is older; close the db; copy the new db over...

do you have any sample for incremental updates implementation?

Thanks Nathan. Should have realized that without asking.
Anyone seeking this do it like this:
After instantiating new database connection like documentation says:
new sqliteModule(databaseName, function (err, dbConnection) {....
/* Check current version /
database.version(function (error, version) {
if (version < CONSTANTNEWVERSIONNUMBER) {
/ Delete old database */
sqliteModule.deleteDatabase(databaseName);
if (!sqliteModule.exists(databaseName)) {
sqliteModule.copyDatabase(databaseName);
this.afterDBUpdate (); // to handle version incrementation and new connection.
}
...
SqliteViewModel.prototype.afterDBUpdate = function () {
new sqliteModule(databaseName, function (err, dbConnection) {
database = dbConnection;
database.version(CONSTANTNEWVERSIONNUMBER); // Sets new version number
});
};


Timezone being removed when sending string for date field in create

Environment
Knex version: 2.3.0
Database + version: Postgresql with timescaledb v14.6
OS: Macos 15.0
Bug

Explain what kind of behaviour you are getting and how you think it should do
When Inserting the any record having a date with time and timezone it is converted to UTC when inserting it into database.
For Eg when i pass 2024-09-01T00:00:00.000+05:30 it is converted to 2024-09-30T23:59:59.999Z in query logs in database it is being stored as 2024-08-31 18:30:00+00. Expected it to store as 2024-09-01 00:00:00+05:30

Error message

Reduced test code, for example in https://npm.runkit.com/knex or if it needs real
database connection to MySQL or PostgreSQL, then single file example which initializes
needed data and demonstrates the problem.
https://runkit.com/sagar-accacia/knex-issue

Feature discussion / request

Explain what is your use case
I am storing some time related data from different timezone and would like to store the timezone with the date.

UPDATE: I also tried it on the latest version 3.1.0 but still the same issue

Hey,
thanks for using knex
However this is a behaviour of the database and not knex, you can try so by inserting the same string using a database UI application or directly using psql and you'll end up with the same result.
If you wish for the database to store dates in a specific timezone you'll have to change the configuration
You can see what the current timezone setting is by running the following
show timezone;

and for documentation of changing that value, you can use the SET command
https://www.postgresql.org/docs/current/sql-set.html

same happens to me, I tried several things but still failing, it has nothing to do with the postgres timezone, I used a code in Go using a different ORM in there and I have no problem, but using Knex is when the timestamp is messed up


Perf: add extra index to notification table

Index SQL: CREATE INDEX u_s_uu ON notification(user_id, status, updated_unix);
The naming follows action.go in the same dir.
I am unsure which version I should add SQL to the migration folder, so I have not modified it.
Fix #32390

Please resolve the conflict and I cannot push to your branch.

Thank you for the notice! Done.


Speak and Export methods should be promises

Both the .speak() and .export() methods should accept a callback or return a promise if the callback is missing.

I love it, just made something like it:
      let getNextSaying = (text) => () => {
        return new Promise(resolve => {
          console.log(`Speaking ${text} ..`)
          say.speak(text, "Good News", 1.0, resolve)
        })
      }

      currentSpeakingIsOver = currentSpeakingIsOver.then(getNextSaying(action.payload))

Also - on Windows I'm not sure the promise truly waits for the first to be over.. It could be the OS reports back sooner than the speech finishes - got any confirmation on that?

@deanius I'm unfamiliar with how say works with Windows. Can you create a separate issue?

@tlhunter - Yes I'll try and keep you posted - a few quirks I'm noticing, but don't have a minimal repro yet..


path is incorrect when only generate one type

There may be such an issue in the script.
When I just generate mix_clean,  it will not generate a noise subdir. But it still needs to weite_noise() in the noise subdir, then it will have an error due to no 'noise' path.

Thanks for reporting, I will look into it.

This problem seems hasn't been solved. I also encountered it recently.

How to solve it？I also encountered.

Related to #20


Formatting and small bugs improved

Formatted out unused libraries, functions, variables in how-tos and directly imported necessary functions.
In Api edited out underutilized import, found small bug in naming of the used function get_params() in get_dictionary_item.
In Crypto added missing import of crpytography exceptions.

The issues are still unaddressed that are in https://github.com/casper-network/casper-python-sdk/pull/8


Mina Daemon Crashes Upon Status Checks

I have an issue with my mina daemon.
I am trying to set up the mina node on a server. I have been able to do all required, the only thing tissue is that the mina node crashes. I have the log files in my local machine What could be the possible issues? I'd appreciate any help
Steps:
After following the prelim steps/installation from the docs then I got to this point and started having issues.

systemctl --user daemon-reload
systemctl --user start mina
3. systemctl --user enable mina
sudo loginctl enable-linger
systemctl --user status mina
Then the response is shown thus:

● mina.service - Mina Daemon Service
   Loaded: loaded (/usr/lib/systemd/user/mina.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-07-22 17:05:53 UTC; 46s ago
 Main PID: 14269 (mina)
   CGroup<EMAIL_ADDRESS>           ├─14269 /usr/local/bin/mina daemon -peer-list-file /home/ubuntu/peers.txt -block-producer-k
           └─14366 /usr/local/bin/mina parallel-worker

Jul 22 17:05:53 ip-10-0-10-55 mina[14269]: 2021-07-22 17:05:53 UTC [Info] Using the compiled constrain
Jul 22 17:05:53 ip-10-0-10-55 mina[14269]: 2021-07-22 17:05:53 UTC [Info] Loaded genesis ledger from $
Jul 22 17:05:53 ip-10-0-10-55 mina[14269]:         ledger_file: "/home/ubuntu/.mina-config/genesis/gen
Jul 22 17:05:53 ip-10-0-10-55 mina[14269]: 2021-07-22 17:05:53 UTC [Info] Using block producer keypair
Jul 22 17:05:54 ip-10-0-10-55 mina[14269]: 2021-07-22 17:05:54 UTC [Info] Loading epoch ledger from di
Jul 22 17:05:54 ip-10-0-10-55 mina[14269]:         location: "/home/ubuntu/.mina-config/epoch_ledgerd5
Jul 22 17:05:54 ip-10-0-10-55 mina[14269]: 2021-07-22 17:05:54 UTC [Info] Loading epoch ledger from di
Jul 22 17:05:54 ip-10-0-10-55 mina[14269]:         location: "/home/ubuntu/.mina-config/epoch_ledgerae
Jul 22 17:05:58 ip-10-0-10-55 mina[14269]: Transaction_snark.system: 3.312s
Jul 22 17:06:11 ip-10-0-10-55 mina[14269]: 2021-07-22 17:06:11 UTC [Info] Setting current protocol ve

Then I run this mina daemon --generate-genesis-proof true --peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt --metrics-port 3002 then the response is shown thus:

2021-07-22 17:08:21 UTC [Info] Coda daemon is booting up; built with commit "c856692fddc525a673ba075f714811b5c50bd3a7" on branch "release/1.2.0"
2021-07-22 17:08:21 UTC [Info] Created daemon lockfile "/home/ubuntu/.mina-config/.mina-lock"
2021-07-22 17:08:21 UTC [Info] Registering async shutdown handler: "Remove daemon lockfile"
2021-07-22 17:08:21 UTC [Info] Daemon will expire at "2024-12-10 14:00:00-07:00"
2021-07-22 17:08:21 UTC [Info] Booting may take several seconds, please wait
2021-07-22 17:08:21 UTC [Info] Reading configuration files $config_files
	config_files: [
  "/var/lib/coda/config_c856692f.json",
  "/home/ubuntu/.mina-config/daemon.json"
]
2021-07-22 17:08:21 UTC [Warn] Could not read configuration from "/home/ubuntu/.mina-config/daemon.json"
2021-07-22 17:08:21 UTC [Info] Initializing with runtime configuration. Ledger name: "mainnet"
2021-07-22 17:08:21 UTC [Info] Using the compiled constraint constants
2021-07-22 17:08:21 UTC [Info] Loaded genesis ledger from $ledger_file
	ledger_file: "/home/ubuntu/.mina-config/genesis/genesis_ledger_accounts_71d4f4a0e8c1f3e78760b989234760584969ea0144ed1a3057234f6f0e73621a.tar.gz"
2021-07-22 17:08:21 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
	exn: {
  "commit_id": "c856692fddc525a673ba075f714811b5c50bd3a7",
  "sexp": [
    "monitor.ml.Error",
    [
      "Failure",
      "IO error: While lock file: /home/ubuntu/.mina-config/trust/LOCK: Resource temporarily unavailable"
    ],
    [
      "Raised at file \"stdlib.ml\", line 33, characters 17-33",
      "Called from file \"src/lib/rocksdb/database.ml\", line 16, characters 34-63",
      "Called from file \"src/lib/trust_system/peer_trust.ml\", line 106, characters 15-33",
      "Called from file \"src/app/cli/src/cli_entrypoint/mina_cli_entrypoint.ml\", line 959, characters 25-54",
      "Called from file \"src/deferred0.ml\", line 56, characters 64-69",
      "Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5",
      "Called from file \"src/job_queue.ml\", line 171, characters 6-47",
      "Caught by monitor coda"
    ]
  ],
  "backtrace": [
    "Raised at file \"stdlib.ml\", line 33, characters 17-33",
    "Called from file \"src/lib/rocksdb/database.ml\", line 16, characters 34-63",
    "Called from file \"src/lib/trust_system/peer_trust.ml\", line 106, characters 15-33",
    "Called from file \"src/app/cli/src/cli_entrypoint/mina_cli_entrypoint.ml\", line 959, characters 25-54",
    "Called from file \"src/deferred0.ml\", line 56, characters 64-69",
    "Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5",
    "Called from file \"src/job_queue.ml\", line 171, characters 6-47"
  ]
}
2021-07-22 17:08:21 UTC [Warn] Shutdown before Coda instance was created, not saving a visualization

  ☠  Mina Daemon crashed.
   The Mina Protocol developers would like to know why!

I really do not know what to do to solve this issue, please assist.
Also, you can find the log report here https://drive.google.com/drive/folders/1YESw3qBVZ-q62kuNUzJfqtEy79h1EwrV?usp=sharing.
Thanks!

@samuelarogbonlo looks like there is a daemon already running and is accessing the config directory? Could you kill all the mina processes and delete the lock file in the config directory and try?

Yeah, worked like magic


yt-dlp doesn't get all video formats

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

Description

Hello, when i want to download from this live stream 4K quality, yt-dlp doesn't report/detects additional 1440p&2160p, also this happens on other 4K live streams, for normal videos ie non streaming everything is OK.
C:\Windows>yt-dlp.exe -f - https://www.youtube.com/watch?v=HpZAez2oYsA
[youtube] HpZAez2oYsA: Downloading webpage
[youtube] HpZAez2oYsA: Downloading android player API JSON
[youtube] HpZAez2oYsA: Downloading m3u8 information
[youtube] HpZAez2oYsA: Downloading m3u8 information
[info] Available formats for HpZAez2oYsA:
ID EXT RESOLUTION FPS │   TBR PROTO │ VCODEC        VBR ACODEC    ABR
─────────────────────────────────────────────────────────────────────
91 mp4 256x144     15 │  290k m3u8  │ avc1.42c00b  290k mp4a.40.5  0k
92 mp4 426x240     30 │  546k m3u8  │ avc1.4d4015  546k mp4a.40.5  0k
93 mp4 640x360     30 │ 1210k m3u8  │ avc1.4d401e 1210k mp4a.40.2  0k
94 mp4 854x480     30 │ 1569k m3u8  │ avc1.4d401f 1569k mp4a.40.2  0k
95 mp4 1280x720    30 │ 2969k m3u8  │ avc1.4d401f 2969k mp4a.40.2  0k
96 mp4 1920x1080   30 │ 5421k m3u8  │ avc1.640028 5421k mp4a.40.2  0k

this git is for youtube-dl not yt-dlp

use bestvideo+bestaudio

For yt-dlp, the solution is to use --live-from-start (https://github.com/yt-dlp/yt-dlp/issues/4959). Technically, (though OP is using yt-dlp), the reported issue does exist for youtube-dl since there is no live-from-start support

The solution for yt-dl is to download a lower resolution and stand further away from the screen, wear mucky glasses, or whatever, so that you can't see the difference.


unable to style internal md* elements with component styles

Bug, feature request, or proposal:
bug
What is the expected behavior?
after adding:
styles: [`some styles`]
or
stylesUrl: [' some file']
to component
css settings should be able to affect md* tags (<md-input>, <md-toolbar> etc.) internal elements
What is the current behavior?
You can style only top container
What are the steps to reproduce?
http://plnkr.co/edit/V21xYz1cHItr3ITJmMXF?p=preview
Which versions of Angular, Material, OS, browsers are affected?
"@angular2-material/core": "^2.0.0-alpha.6",
"@angular/core": "2.0.0-rc.4",
Is there anything else we should know?
Workaround:
Place your styles in index.html, or external css file, and link them in index.html:
<link href="style.css" rel="stylesheet">

Your style should read like this:
  styles: [
md-input >>> div {
background-color: pink !important;
}
md-toolbar >>> div {
background-color: pink !important;
}
];
For more information, please read https://angular.io/docs/ts/latest/guide/component-styles.html

You are right. Thank you.
Closing.


Feature Request: Remote Images

Hi, Great Work!
I'm wondering if this plugin supports or has a plan to support remote images.
So that I can just pass the image link from an API response.
Thanks in advance.

Hello! Thank you for your issue. Yes, plugin can download remote images and add them into HTML. If you find an issue feel free to report it here)

Great. Thanks.


Mqtt patch

New framework
Entirely new communication protocol as well as a new modular way to add and interact with other components aside from the IMU, since the objective is to add a proximity sensor and a camera afterward.
The specifics of the implementation can be found in the new readme as well as in the code.
Edited README
Edited README to be compliant to the changes made to the architecture of the system as well as the implementation.
Added a rcController
Added a simple keyboard controller to test and demonstrate the communication with the SBrick which controls the motor of the truck.
Wrote a new IMU script
Wrote a new IMU script to comply with the new architecture, maintaining the old code in the setup function and it is working as before
Wrote the new main
Wrote a new main that fetches the necessary components from the configuration files, creates the objects and runs them in parallel.
Tested it with the IMU and a dummy component, present in testComponent.py,  and it was working as intended.
Moved the old code
Moved the legacy code using kafka to the kafka folder, since it can still be used with the frontend repo developed for the sinfo workshop.

I apologize for the size of the pull request, but since it was a full rebuild of the repo I didn't want to commit it before having it somewhat functional.


use of pandas append

As of pandas 2.0, pandas concat replaces append. Since the pandas version is not specified in the setup, the latest version is used as a default, which occasionally leads segment_liftover to fail.

Thank you for pointing this out! I have added the requirement to Pandas.


Add change password and change username endpoints

Add change password and change username endpoints
Description
Add two new endpoints. One for changing password and another for changing username
Changing password should remove all sessions (log out from all devices)
Add minimum requirements for password
Add for username
Checklist

[ ] /auth/change-password
[ ] /auth/change-username

Hello. I visited the contribution doc. It says it is WIP for the steps to contribute. How can I contribute to these sets of 'good first issues'?

Hey @AshishKmrSingh,
Feel free to create PR for tasks you think you are able to finish.
If you don't have permissions for creating PR, please contact @hipsterusername on Discord.

@AshishKmrSingh
Just to elaborate here, we've just officially switched over to public work mode for these repositories so unfortunately a few things like a full guide on how to contribute or a more thorough getting started document are not yet ready but should be something we build out more very soon.
In the meantime the most useful way to get started would likely be to follow the setup document that currently lives here: https://github.com/Open-Model-Initiative/OMI-Data-Pipeline/blob/main/docs/setup.md to try out the setup and get familiar with the project though note there may be some updates to that guide in the near future.
There will also need to be more work on breaking down and defining tasks/issues to help support community engagement as we ramp up as well which would start to let us better identify which items are best for new contributors to the project to take on vs which are more core and central to the overall progress of the project.
So we appreciate your early enthusiasm for the project here and look forward to your future contributions :)