Subsequent prompts are around 10x to 12x slower than on llama.cpp "main" example.

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[X] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
[X] I carefully followed the README.md.
[X] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
[X] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Expected Behavior
I am creating a simple clone of the "main" example from the llama.cpp repo, which involves interactive mode with really fast interference of around 36 ms per token.
Current Behavior
Generating the first token takes around 10–12 seconds and then subsequent ones take around 200-300 ms. It should match the speed of the example from the llama.cpp repo.
Environment and Context
I am utilizing context size of 512, prediction 256 and batch 1024. The rest of the settings are default. I am also utilizing CLBlast which on llama.cpp gives me 2.5x boost in performence.

AMD Ryzen 5 3600 6-Core Processor + RX 580 4 GB

Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 5 3600 6-Core Processor
    CPU family:          23
    Model:               113
    Thread(s) per core:  2
    Core(s) per socket:  6
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU(s) scaling MHz:  94%
    CPU max MHz:         4208,2031
    CPU min MHz:         2200,0000
    BogoMIPS:            7186,94
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mc
                         a cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall n
                         x mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_go
                         od nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl p
                         ni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe
                          popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy sv
                         m extapic cr8_legacy abm sse4a misalignsse 3dnowprefetc
                         h osvw ibs skinit wdt tce topoext perfctr_core perfctr_
                         nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate
                          ssbd mba ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bm
                         i2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsa
                         veopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_tota
                         l cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd
                          arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean
                         flushbyasid decodeassists pausefilter pfthreshold avic
                         v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_re
                         cov succor smca sev sev_es

Number of devices                                 1
  Device Name                                     gfx803
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.2
  Driver Version                                  3513.0 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon RX 580 Series

Linux:

Linux bober-desktop 6.3.1-x64v1-xanmod1-2 #1 SMP PREEMPT_DYNAMIC Sun, 07 May 2023 10:32:57 +0000 x86_64 GNU/Linux

Versions:

Python 3.11.3

GNU Make 4.4.1
Built for x86_64-pc-linux-gnu

g++ (GCC) 13.1.1 20230429

@Firstbober as in you're using the low level api to implement a python version of the main chat example, do you mind sharing a snippet. Also I'm not sure if you've tried @SagsMug example is it also slower?

I am using high-level API, but I will tomorrow compare if the example from @SagsMug is also slower. Thanks for letting me know!

@Firstbober check out this discussion https://github.com/abetlen/llama-cpp-python/issues/49#issuecomment-1502350170 pyspy should be able to tell you where the slowdown is coming from, please post the svg if possible.

High level:

Low level:

From this test, I can tell there really is not difference in token generation speed. In my project, I call the high-level API every time a new message comes. After reading and inserting prints in the code of https://github.com/abetlen/llama-cpp-python/blob/main/examples/low_level_api/low_level_api_llama_cpp.py I found that initial  llama_eval takes most of the time and the token generation is in check with the native ./main from llama.cpp.
I am not sure if this is entirely a problem of the high-level API or just intended behavior, but it seems that it resets most of the things in the memory every __call__ and ./main doesn't. This would explain faster subsequent responses.
twitter-10-05-2023.webm

I achieved my goal. Now subsequent prompts in the same, previously given context, don't slow down the generation that much. I can't really tell the difference from the llama.cpp “main” now!
For starters, I call my own function load_context which takes an initial prompt, calls llama_eval on it and adds to n_past tokens.
Then we have the generate function which takes the prompt, call llama_eval fully again only if all tokens accumulated through multiple calls exceed the amount of n_ctx.  Other than that, I only call llama_eval on the prompt and the tokens that are sampled through llama_sample_token. I took much of the code from https://github.com/abetlen/llama-cpp-python/blob/main/examples/low_level_api/low_level_api_llama_cpp.py.
I still have to test some stuff to make sure that I am not leaving any performance on the able, but I am still pretty content with the result. Also, I just checked if the high-level API can do the same thing without passing the entire context as a prompt. It turns out it can't, which makes me sad and grateful at the same time.

@Firstbober did you make it exactly same as main.cpp? Can u please share your python code?

I will upload it to GitHub in the upcoming days when I integrate everything into my project.

@Firstbober  can u indicates me which part did u changed?

I just call llama_eval on all the context tokens and then cache everything else in my class. The core of my generate function is nearly the same as the one in the examples. It still has some tweaks I need to make. I will message you when I upload my code.

@Firstbober  thank u sir

@lucasjinreal https://gist.github.com/Firstbober/d7f97e7f743a973c14425424e360eeda

Oh interesting. I wonder if this is related to https://github.com/oobabooga/text-generation-webui/issues/2088

@AlphaAtlas not sure if they're related as this issue was from before the CUDA offloading merge.
Do you mind opening a new issue here, if there's a performance discrepency and you don't mind giving me a hand getting to the bottom of it I'm very interested in fixing it.

@abetlen Yeah. I need to do some stuff, but then I will more formally test llama.cpp vs llama-cpp-python with the profiles like that ^, including tokens/sec for the same prompt, and post an issue.

i'm still seeing this issue on CPU inference. even though there is a prefix match, i believe the model's latest response needs to be reparsed, which is not the case when using llama.cpp/main or llama.cpp/server. i've even confirmed it is fast with llama-cpp-python example server.

@abetlen do you think it is feasible to make the high level API do something similar to https://gist.github.com/Firstbober/d7f97e7f743a973c14425424e360eeda ? it seems like this could improve performance of oodabooga as well, which uses the high level API.


support for multiple pre-baked kube/helm versions

Do not merge, this needs to be discussed.
I was toying with the idea to support multiple versions of kubectl and helm pre-baked into the docker image. setup-environments.sh will download the 3 latest major releases of each package and the entrypoint.sh "wrapper" will setup the $PATH based on the selected versions via HELM_VERSION and KUBECTL_VERSION environment  variables.
I have included the following versions in this PR:
helm:

v2.14.1
v2.13.1
v2.12.3

kubectl:

v1.14.3
v1.13.7
v1.12.9

use the plugin / image as usual and pass the KUBECTL_VERSION and HELM_VERSION environments according to the supported version list above.
A major drawback of this PR is the increased image size (122MB -> 486MB), therefore I am not that sure if this approach is sane.
If it turns out that I am the only one here with concerns about that image size, I will gladly finish the PR by adding some sanity checks, documentation and refactor the versions to be configured externally.

I think it's worth the cost of the size. Having an easy way to define which versions you want to use is going to increase the flexibility of the plugin 😄


print-env ignores values for downward API variables

Many environment variables actually available inside the pod are not displayed by print-env, and variables populated by the downward API display no value (nevertheless they actually have correct values inside the pod).
$ kubectl print-env pod/rabbitmq-0 -nqube | egrep ^MY_
MY_POD_NAMESPACE=
MY_POD_NAME=
MY_POD_IP=

$ kubectl exec -ti pod/rabbitmq-0 -n qube -- printenv | egrep ^MY_
MY_POD_NAMESPACE=qube
MY_POD_NAME=rabbitmq-0
MY_POD_IP=<IP_ADDRESS>

$ kubectl krew info print-env
[...]
URI: https://github.com/pedrobarco/kubectl-print-env/releases/download/v0.1.2/kubectl-print-env_v0.1.2_linux_amd64.tar.gz
SHA256: b2ff1e7f8cac626b3eecdea25ef76e956387a0c5aaccac3b88145139df6f9b91
VERSION: v0.1.2

You can reproduce it when declaring an environment variable from the downward API, this way :
spec:
  templates:
    spec:
      containers:
        - name: rabbitmq
          env:
            - name: MY_POD_NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
            - name: MY_POD_NAME
              valueFrom:
                fieldRef:
                  fieldPath: metadata.name
            - name: MY_POD_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP

Duly noted! The fieldRef parser was not implemented yet.
I may need some help understanding how to parse the remaining fieldPaths: spec.nodeName and status.podIP
Looks like there is already a function for it by it doesn't fit the codebase as easily (stack overflow)
In the meantime, I'm going to open a new PR with what I have and start implementing the parser for resourceFieldRef (docs)


Steam overlay

Hi! When i Enable Camera (Insert) Steam overlay doesn't work.
How can i fix this?
Want take more screenshots in Steam, but don't can.

which game/camera?
Anyway, I haven't heard of this before, how do you know the overlay doesn't work?

I use function Enable / Disable Camera (Insert) in game.
When i try take screenshot or use TAB+SHIFT, Steam overlay don't react.

I asked 'which game/camera' ?
It might be due to imput blocking. If you press numpad . it will enable input to the game again. pressing a key should then work ok.

Please, just take a look. If you do not understand what I mean.
https://youtu.be/96_LZ2LvZ88

I understand what you mean, you haven't tried what I said, nor answered my question. Did you try numpad . to enable keyboard input?

Omg, i don't see "." symbol in you reply!
And don't understand how activate / diactivate Numpad should help me!
Yeah, now it works and i can takes screenshots, thanks!

Sorry, i really don't see "." symbol in you reply.
Thank you.

By default I block the input of the device you choose for the camera movement to the game. So if you choose 'gamepad' and you enable the camera, gamepad input is blocked, but not keyboard/mouse. You can switch that on/off with numpad . by default (you can configure which key in the client GUI). By default both keyboard/mouse and gamepad are camera devices, so if you enable the camera, keyboard input is blocked to the game so the game never sees the keys you press.
Numpad . is the key next to Numpad 0, the dot/del key on the numpad.

By default I block the input of the device you choose for the camera movement to the game.
I see.
Numpad . is the key next to Numpad 0, the dot/del key on the numpad.
Yeah, now i understand what key you mean.
Thank you so much! And for this mod too!


Update Gene2Phenotype parser to include the skeletal panel

From the Gene2Phenotype page a skeletal panel of causal genes can also be downloaded. This data should be ingested as diease/target evidence.
Tasks

[ ] Explore the new panel.
[ ] Update parser.
[ ] Update pipeline configuration.

Acceptance tests

Make sure the new data is ingested.
Validate evidence against schema

released in Platform 24.06


Change page titles to not be italicized

The italicized headers look out of place in my opinion.

fixed in _entries.scss and _page.scss


Nicknames are reset on death

Information

Minecraft Version: 1.16.1
Fabric API Version: Any
OS: Any
Other installed mods: AOF3 modpack

Describe the issue
When a player dies, their nickname is reset for some reason.

Fixed in 0.2.4


feat: import toolchains to use for copy actions

support bazel-lib 1.x and 2.x.
This is analogous to https://github.com/aspect-build/rules_js/pull/1355 for rules_js.
Type of change

New feature or functionality (change which adds functionality)

Test plan

Suggestions welcome.

 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.


Update Posts “test-post”

Automatically generated by Netlify CMS

👷 Deploy Preview for eloquent-chandrasekhar-302983 processing.
🔨 Explore the source changes: ff737c4206a876fab67fe6d9329b445f455aa3bc
🔍 Inspect the deploy log: https://app.netlify.com/sites/eloquent-chandrasekhar-302983/deploys/61abb5e6f704ed000841815f


Implement a selection interface

We need to implement a data structure / apis for selections. Here are some requirements:

Selections are defined by an id type (a table and its keys). We will need a separate selection manager instance for each type.
A selection is a "tag" for an object. Tags can have multiple functions:

Selected --- the main selection mechanism
Hovered --- a volatile equivalent for the selection.
Filtered --- an indicator not to render something or render it greyed out; we sometimes want to do filtering as a selection, but sometimes actually remove the data from the client.

It should be possible to convert a selection into a persistent group that's stored in the database.

It should be possible to convert a selection into a persistent group that's stored in the database.

To what extent (if any) do you consider a "selection" to be a type of database view?

One thing that will be helpful is a couple of imagined use cases that selections would drive. This might sound obvious but I think a few illustrative cases will help to focus our thinking on this feature.


Is it possible to programmatically update images in disk cache?

Hi @dreampiggy, great library!
I wanted to ask if it is possible to programmatically update images in disk cache in case that the original files have changed on the web? Maybe purge the cache once a week?
Thanks!

Using SDWebImageRefreshCached may help with this. Which follows iOS system handling for HTTP E-Tag, etc.
And, you can actually update the image by yourself, get the cache path by cacheKeyForURL:, then update the disk cache using SDImageCache.storeImageDataToDisk:forKey:

@dreampiggy Thanks, SDWebImageRefreshCached sounds like a perfect solution. Very nice!

@dreampiggy Sorry for the multiple comments... I think I struggle using SDWebImageRefreshCached the right way.
I added this to my (SwiftUI) code:
   WebImage(url: url, options: .refreshCached)
    .onSuccess { image, data, cacheType in
        switch cacheType {
        case .all:
            print(imageUrl, "cache = all")
        case .disk:
            print(imageUrl, "cache = disk")
        case .memory:
            print(imageUrl, "cache = memory")
        case .none:
            print(imageUrl, "cache = none")
        default:
            print(imageUrl, "cache = unknown")
        }
    }

The Etag has changed on the file:
Before:

After:

However, the image does not change :( I still see "disk" being printed on my debug console.


First attempt for AzurePipeline.

pytest running on 4 python versions, and typechecking.
The pipeline will need to be extended to fulfill CI requirements to be defined.
Two tests are currently failing on all the python versions except 3.5, but all the tests are failing for python 3.5 https://dev.azure.com/data61/Anonlink/_build/results?buildId=885&view=ms.vss-test-web.build-test-results-tab
Typechecking is also failing.
Also push coverage to codecov (example https://codecov.io/gh/data61/blocklib/src/db096196ddbfa5968660b3b9e2e555b206437e86/blocklib/encoding.py)

We should indeed first correct the tests (in tow other branches: one for the Python3.5 issue and one for the two tests failing).
When done (i.e. merged into master), they will be merged back into this branch, which can then be merged back into master. When all that done, we will have to introduce branch protection on master :)

I removed the soundx function. It will merge with the refactor branch. I think we can merge it into master!


How to send vizalert subscription to my gmail id?

Hi
What changes should I do to send email notification and PDF to my gmail id?

@rishabh1991 - this question is specific to Vizalerts and not TabMon, Can you post it here: https://github.com/tableau/vizalerts/issues, and someone will respond to your question.


feat(Sidebar) Collapse sidebar on small screens

Summary
Collapses sidebar on small devices instead of showing it above the main content. Sorry for giant screenshots!
Closed

Open

Full changelog

Adds class to sidebar
Adds small JS to toggle open class

Checklist:

[ x ] Commit message & atomicity checked
[ x ] Ready to be merged

This is seriously awesome, @travispamaral . A much needed improvement over the current small nav. Points for all to consider:
Do you like how the X is underneath the hamburger? Purely subjective, but I think they would look better aligned.

Testing on an iPhone X in Safari:

The "Open Sidebar" text is too far right

The nav bar doesn't scroll but the rest of the page behind it does (this only happens occasionally so be sure to try several times from several positions in order to replicate).

@h3xar0n I can push it over to align with hamburger 👍
Can you double check that when the menu is too far to the right / scroll prob - is there overflow somewhere below in the content?

I don't see any overflow below in the content in either case.

this is such a great solution. Open Sidebar trigger doesn't seem to work in desktop browsers though (unless this is an issue with the Netlify preview?) and could use cursor:pointer - also not sure if you guys could use it or not but in addition to the device lab I built (and a handful of virtual machines) I have a Browserstack account that's quite helpful for this sort of thing.

I wasn't able to reproduce the sidebar no opening. I did update the close icon as that was hard to click. I wasn't sure if cursor:pointer was necessary as this is really only focused on mobile. I suppose adding isn't the end of the world.
We actually have a browser stack account. I'll test once the preview updates


Docusign - Sometimes docusign template takes time to load and sometimes it errors out

Background
Sometimes docusign template takes time to load and sometimes it errors out. Observed below when reting ICLA fron contributor console.

When refreshed docusign page was opened

Observed this issue again today

Observed the issue again today

Closing issue due to lack of activity. Please re-open the ticket if the issue is observed.


Console output is completely garbled with dotnet test and xUnit

When running dotnet test on a .NET Core Unit test project using xUnit v2.2.0, the console output of each test is interleaved with each other, resulting in a completely useless unintelligible mess, as you can see in the attached screenshot.

This probably has something to do with xUnit running tests in parallel, and the need for using ITestOutputHelper as described here, but I've looked at the code and I can't really tell where to make the fix. I think it might be the ConsoleReporter, which is configured in Processors, but there isn't a way to override this to specify that it should use xUnit's ITestOutputHelper. I'd be happy to contribute a fix for this, but I'm not sure where to start.
This only occurs when using the latest RTM tooling for .NET Core (VS2017). On my other computer which is still running VS2017 RC, I get no console output at all, except for the fully qualified method names of the methods that have the [Fact] attribute.

Check out https://github.com/TestStack/TestStack.BDDfy/issues/228. See if the gist I posted and try it out to see if it works :)

@robdmoore Thanks. I'm busy doing that right now. But I've run into a snag. The way that xUnit works means that each of my test classes needs to declare a constructor that accepts an instance of ITestOutputHelper, and I really don't want to have to add all that noise to my tests. I'm trying to find a way of using the service locator pattern in a base class of mine, or some way of configuring it once at the assembly level so that I don't have to do this in all of my derived test classes:
public DerivedTestClass(ITestOutputHelper output) : base(output) { }

Yeah, I have a base class that I pass the output helper directly to in each test's ctor. Then I put the test ctor at the bottom of the file so it's less noisy.
--

On 11 Mar 2017, at 7:55 am, Shayne van Asperen<EMAIL_ADDRESS>wrote:
@robdmoore Thanks. I'm busy doing that right now. But I've run into a snag. The way that xUnit works means that each of my test classes needs to declare a constructor that accepts an instance of ITestOutputHelper, and I really don't want to have to add all that noise to my tests. I'm trying to find a way of using the service locator pattern in a base class of mine, or some way of configuring it once at the assembly level so that I don't have to do this in all of my derived test classes:
public DerivedTestClass(ITestOutputHelper output) : base(output) { }
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks @robdmoore
I've solved this with a library I wrote: https://github.com/shaynevanasperen/TestStack.BDDfy.Xunit
I've been a bit cheeky by naming the NuGet package with the TestStack.BDDfy prefix. If the maintainers of TestStack.BDDfy object to this, I'm happy to pass ownership to them. Hopefully this library will only be a temporary requirement, until TestStack.BDDfy natively supports Xunit parallel test execution (which might also require changes to Xunit). At least it can possibly serve as a starting point in that direction.


Added Timeline Card

Fixes Issue🛠

Closes #198
Description👨💻

Type of change📄

[] New feature (non-breaking change which adds functionality)

Added a Timeline Card under cards section

How this has been tested✅

Checklist✅

[] My code follows the style guidelines of this project
[] I have performed a self-review of my own code
[] I have commented my code, particularly in hard-to-understand areas
[] I have added demonstration in the form of GIF/video file
[] I am an Open Source Contributor

Screenshots/GIF📷

Why clock-Loader file changes and commits are shown @Dhairya1Gupta

Why clock-Loader file changes and commits are shown @Dhairya1Gupta

Sir those are previous commits @Rakesh9100

Why clock-Loader file changes and commits are shown @Dhairya1Gupta

Fixed the issue please review @Rakesh9100

Why clock-Loader file changes and commits are shown @Dhairya1Gupta

Working on this issue @Rakesh9100

Working on new PR pls standby @Rakesh9100


Fail to build, on OS X via Nix: blaze-markup missing QuickCheck dependency

I can build editor/ fine, but node/ fails:
$ nix-env --version
nix-env (Nix) 1.10
$ git rev-parse HEAD
b1bd162411a73c0775b254838e2751aedac747fd
$ cd node
$ cat shell.sh
#!/bin/sh
nix-shell --option extra-binary-caches https://ryantrinkle.com:5443/ -j 1

$ ./shell.sh
building path(s) ‘/nix/store/9xpdszdib9bb1n7km5fi4cb9blz8mkwj-head-hash.nix’
building path(s) ‘/nix/store/z2gsy6i2ljz68ipn3nsw45xj9n68g5wz-head-hash.nix’
these derivations will be built:
  /nix/store/0hi9pyc93z9hykhsz0fkm72zl1y1pffs-haskell-case-insensitive-<IP_ADDRESS>.drv
  /nix/store/19qjlf35rkp0hssspnwql61z5yn1il10-haskell-http-date-0.0.6.drv
  /nix/store/pyrp79jfzr905lhsi1fc95nkvi20dcvc-haskell-blaze-markup-<IP_ADDRESS>.drv
  /nix/store/1dgmrbypxxgqm3v2q1alfa9c91sxq6v4-haskell-blaze-html-<IP_ADDRESS>.drv
  /nix/store/2zzk5g1jg567fdgs5p0w7x6n5d0w71gi-haskell-iproute-1.4.0.drv
  /nix/store/4r98s9cqqbx7j4k91symsdi8m1vb7z9n-haskell-quickcheck-instances-0.3.11.drv
  /nix/store/b80bfwjcr5jkkg2bj81vwka4k9l979yy-haskell-http-types-0.8.6.drv
  /nix/store/gnz7anx3mcyjniv8pvimmrnbmay56r2q-haskell-simple-sendfile-0.2.18.drv
  /nix/store/jlzln6pb2bdnj2y8gvjkfrb6nqq1rzqn-haskell-streaming-commons-0.1.12.drv
  /nix/store/rbm4xdwfjx8zn3rzc81n4qa2cxmh3rxv-haskell-vault-<IP_ADDRESS>.drv
  /nix/store/szibnsr8r0r6rzdw8axfjasd3mkb8848-haskell-wai-<IP_ADDRESS>.drv
  /nix/store/949wilhrg2lrc1k87y2bax510yaylqp5-haskell-warp-3.0.13.drv
  /nix/store/gg91gy9xr9hnljy91p21fa774dj3l5v5-haskell-unix-time-0.3.5.drv
  /nix/store/yrq2zdfka5y2pvbbx98q8xn0wf0wpzy8-haskell-fast-logger-2.3.1.drv
  /nix/store/fpw22hba8mwil1n7d4kvqyzmz92zm4bz-haskell-wai-logger-2.2.4.drv
  /nix/store/mr0vy2n5hh8dhjqs3a7rr1jil6rfm8ap-haskell-word8-0.1.2.drv
  /nix/store/wfnlzn1afhdck28a497kgrxw540lrlbi-haskell-cookie-<IP_ADDRESS>.drv
  /nix/store/b4wrq39bs2kjg4c52kpxkyjlw3rc4z51-haskell-wai-extra-<IP_ADDRESS>.drv
  /nix/store/gcdksc6k0968qn1jsv3w5v78ircg5s5f-haskell-hspec-wai-0.6.3.drv
  /nix/store/51v0nbrgr35px6icymd309kbc8fdgmxy-haskell-scotty-0.9.1.drv
  /nix/store/5w22709zxbwkdzpbvng3zyz9qrmymdaj-haskell-unison-shared-0.1.drv
  /nix/store/pkypjfrdnf84jjqndvg2ycci9ihvxvc6-haskell-cereal-<IP_ADDRESS>.drv
  /nix/store/i43vg2qb2lxkvdzd296rs5asmczkryy7-haskell-bytes-0.15.drv
  /nix/store/mmx3678i2lhmc1sdkjlfj0wdbi24wiqc-ghc-7.10.2.drv
building path(s) ‘/nix/store/5dv104bqhm20qw54v8zjgbq2hhkhs55i-haskell-blaze-markup-<IP_ADDRESS>’
setupCompilerEnvironmentPhase
Build with /nix/store/94janv6xg8vkhg4w5qpixybrd8kim3sk-ghc-7.10.2.
unpacking sources
unpacking source archive /nix/store/32amd5inch8ybppbl96xik1i4csbx7d5-blaze-markup-<IP_ADDRESS>.tar.gz
source root is blaze-markup-<IP_ADDRESS>
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/var/folders/mj/hplb9t7x66nfvy8pscpzz73r0000gn/T/nix-build-haskell-blaze-markup-<IP_ADDRESS>.drv-0/package.conf.d -j8 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /private/var/folders/mj/hplb9t7x66nfvy8pscpzz73r0000gn/T/nix-build-haskell-blaze-markup-<IP_ADDRESS>.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/5dv104bqhm20qw54v8zjgbq2hhkhs55i-haskell-blaze-markup-<IP_ADDRESS> --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=clang --package-db=/private/var/folders/mj/hplb9t7x66nfvy8pscpzz73r0000gn/T/nix-build-haskell-blaze-markup-<IP_ADDRESS>.drv-0/package.conf.d --ghc-option=-optl=-Wl,-headerpad_max_install_names --ghc-option=-j8 --disable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests
Configuring blaze-markup-<IP_ADDRESS>...
Setup: At least the following dependencies are missing:
QuickCheck >=2.4 && <2.8
builder for ‘/nix/store/pyrp79jfzr905lhsi1fc95nkvi20dcvc-haskell-blaze-markup-<IP_ADDRESS>.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/mmx3678i2lhmc1sdkjlfj0wdbi24wiqc-ghc-7.10.2.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/mmx3678i2lhmc1sdkjlfj0wdbi24wiqc-ghc-7.10.2.drv’ failed
/Users/tom/.nix-profile/bin/nix-shell: failed to build all dependencies

This also failed with -j 8. I modified shell.sh to run with -j 1 to see which Nix package was causing issues.

Ah, thanks for reporting. Let me try rolling back to an earlier version of reflex.

Should be good now, however I can't use the latest keydown event handling support that was in the develop branch of reflex. I'll try to figure out a workaround.


Node Gyp issue on npm install - Ubuntu 18.04.1 LTS

This issue seems similar to  #116, but was not fixed by modmailbot v2.16.0 (or was reintroduced in 2.17.0)
root@hal:/home/gilmore/dev/modmailbot/node_modules# npm install
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/gilmore/dev/modmailbot/node_modules/sqlite3/lib/binding/node-v67-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/gilmore/dev/modmailbot/node_modules/sqlite3/lib/binding/node-v67-linux-x64 --napi_version=3 --node_abi_napi=napi' (1)

Java version (because java version was mentioned in #116): OpenJDK 11
Node version: v11.1.0
npm version: 6.4.1
node-gyp prerequisites are installed (Python 2.7, make, gcc, g++). Already tried both elevated and unelevated.

Can you try with Node.js 10 (instead of 11) and see if that works? Delete the old node_modules directory before running npm install again.

That did it! Thank you!


Acceptance Tests/Linting must pass before merging

CodeShip should run tests on a branch when a PR is opened so we can catch test failures and linting errors when a PR is opened.

YUSS
On 12 September 2016 15:13:03 GMT-04:00, "W. Blaine Price"<EMAIL_ADDRESS>wrote:

CodeShip should run tests on a branch when a PR is opened so we can
catch test failures and linting errors when a PR is opened.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/Code4HR/okcandidate/issues/186

--
Ryan Y.
GnuPG Key: 0x358CD775
VoIP (ZRTP-encrypted<EMAIL_ADDRESS>IM (OTR encryption<EMAIL_ADDRESS>

So we need to do this for Docker Cloud to run tests.
https://docs.docker.com/docker-cloud/builds/automated-testing/

OK so Docker Cloud expects a specific compose file that tells it what tests to run and how environment should be setup for that test. I've added one to a feature branch here: https://github.com/Code4HR/okcandidate/blob/186-test-with-dockercloud/docker-compose.test.yml
Docker Cloud will autorun anything *.test.yml as a compose file, and expect a happy exit before it marks it successful.

Check this out @wbprice https://github.com/Code4HR/okcandidate/pull/229


No Contributing guide exists, which leads to error 404 on clicking

Describe the bug
A clear and concise description of what the problem is and problem behavior.
Steps to reproduce
Steps to reproduce the behavior:
In index.md inside the Docs directory, the document has a contributing document link, but that doesn't exist.
Go to https://github.com/Yuri-SVB/Great_Wall/blob/main/docs/.github/CONTRIBUTING.md, the URL doesn't exist.
Expected behavior
There should be CONTRIBUTING.md guide to tell new open source developers how to contribute to GreatWall.
Screenshots

Fixed in #94.

We will reopen it until #94 is merged.


feat: auto-unittest

Add pure mock automated unittest
unittest bugfix

Example:
https://github.com/voidking/MetaGPT/actions/runs/7735528259/job/21091336735

LGTM


Modify threshold CLI to include calculation of occurrence within vicinity

As an IMPROVER developer I want the calculation of probabilities of occurrence within a vicinity to be included within the thresholding CLI. This vicinity probability calculation is currently performed using the nbhood-vicinity CLI which should be retired as part of this work. This consolidation will provide a more logical divide between more conventional neighbourhood processing and thresholding.
Should be done after: #512 / #515 (IMPRO-624/IMPRO-627)
The steps currently undertaken within the ProbabilityOfOccurrence plugin are:

Calculate the occurrence of a phenomenon within a defined vicinity.
If the cube contains a realization dimension coordinate, find the mean.
Compute neighbourhood processing. (Only square neighourhood processing is currently supported).

It is step 1 that will be included in the thresholding CLI by this ticket. Step 2 will become part of the threshold CLI in ticket #512 and step3 will be handled by the neighbourhood processing CLI.
Acceptance criteria:

Remove ProbabilityOfOccurrence (nbhood/vicinity.py) and improver nbhood-vicinity and associated tests
Add an e.g. --max-in-nbhood-radius option or options to improver threshold that calls OccurrenceWithinVicinity after thresholding (or similar if plugins are renamed)
Test that the output of this CLI when using the vicinity option is identical to calling the current threshold/nbhood-vicinity sequence (what happens to realizations in the ensemble case?).
Create new CLI acceptance tests to capture new options.
PR will be merged as part of #517 / IMPRO-630

Done.


fix: try patch for PG16 in pgaudit

@gbartolini those this one work or at least, still a valid PR? to test it or not

PgAudit support for v16 had been added. I'm using this PR to reinstate building PGAudit from source in the testing image.


Dynamic email object in _topbar.html partial

This is my effort to try to wire up a dynamic Charcter Field text box to house an email address in the  _topbar.html partial. I have defined a brand new Email Class and migrated the models. I enabled the Email app in the Admin Dashboard and attempted to populate the Jinja template with conditional control logic to call the object. I logged into the Admin Dashbaord and added a placeholder email address.
With all of the above changes, for some reason the partial is not serving the email address. I've tried many different combinations by pluralizing the first instance of email as emails while double checking that this matches what is inside accounts/views.py but no matter what I try, I can't get the email to show up.
@abubakarA-Dot: Could you take a look at these diffs and experiment with what I have started here and try to get it working?
Thanks.

and most important thing, you also need to pass id into your URL. example
path('email', viewstopbar_email, name='email').

I'm not trying to be rude or mean but it seems like you don't have much experience with GitHub because I find your code snippet to be extremely hard to follow. The changes you've suggested for the topbar_email() function you've written all on a single line even though it spans across 5 lines. I can't understand your code. Would it be possible for you to rewrite your code sample using proper blockquote multi-line styling? Also, could you make the changes and push to this branch which is being tracked remotely so that I may download it and test it out locally on my machine?

Your code snippet is still not formatted correctly but I see what you are trying to convey. I copied and paste your code into my _topbar.html and the email still is not parsing.
More changes are needed.
You wrote recommend that I could try this: def topbat_email(request, id): try: email = get_object_or_404(Email, pk=id) except Email.DoesNotExist: email = None context = { 'email':email } return render(request, 'partials/_topbar.html', context) which is (completely) unhelpful because you need to format it so it is easier to read across 5 lines rather than across a single line. Please make your code easier for me to read by using proper blockquote formatting.
Also, could you write all of your proposed changes and push them to this particular branch in separate commits?

Resolved in #179


[Feature Request] Add BCrypt encryption and verification

Hello,
First of all, you did an awesome job!
I often find myself using BCrypt as a password hashing algorithm. When I need to register new users manually in the database while developing the backend, I need to use BCrypt from one of the tools I find online. They also usually allow specifying the number of rounds of encryption to perform.
Would you be considering adding it to the set if tools?
Thank you!

@davidetestoni bcrypt tool is now supported. Cheer!

Thank you so much! Have a wonderful week 😃

You as well.


设备问题

你好，我想问一下代码是在什么设备上跑的，单卡能跑起来吗，我试了一下跑albef2clip-vit爆显存

Hi,
All experiments were conducted on a single Tesla V100 GPU. For the albef2clip experiment, we set the batch_size to 8, which resulted in actual GPU memory usage of around 28GB.
If you encounter a 'CUDA out of memory' error, consider reducing the batch size. This adjustment does not affect the experimental results.

Thank you, the problem has been solved.


Fiddle example - Uncaught TypeError: getAttr is not a function

The documentation example at http://jsfiddle.net/yyx990803/xyu276sa/ does not seem to work.
Not sure what is expected, the page throws a js error: "Uncaught TypeError: getAttr is not a function"
I'm using MacOS/Chrome

Fixed.


Is there a Slack or Discord Channel I can become apart of?

Looking to join a chat forum where everyone hangs out, if one exists.  Let me know!  THANKS!

Yes - PM me (jaimi) with your email on the unity community site, and I'll send you an invite.


Not the right intersection

Hello,
I have a case where I intersect 2 convex polygons and the result of the intersection is not correct. Here is a piece of code:
var poly1 = [[175, 105],
                [130, 60],
                [210, 45],
                [215, 65]];

    var poly2 = [[256, 106],
                [207.14285714285714, 57.14285714285714],
                [215, 0],
                [256, 0]];

var intersection = greinerHormann.intersection(poly1, poly2);
/*
gives:
[208.78107457898957, 45.22854851643946],
[210, 45],
[215, 65],
[175, 105], <-- should not be here, belongs to poly1 only
[130, 60], <-- should not be here, belongs to poly1 only
[208.78107457898957, 45.22854851643946]

While it should give:
[207.14285714285714, 57.14285714285714],
[208.78107457898957, 45.22854851643945],
[210, 45],
[215, 65]

I am not sure what's going wrong, and if I use .intersection(poly2, poly1) instead of .intersection(poly1, poly2), it gives me two points of poly2 that should not be there either.
To get the proper result I used PolyBool js, which is 2.5x slower...
Cheers.
Jo.

Unfortunately, Greiner-Hormann algorithm cannot handle degenerate cases, e.g. when intersections are falling on the edges of the polygon, or vertices coincide.
I changed a point in your polygon slightly to get the correct shape, that's the technique that is suggested to treat cases like that with this algorithm.
[256, 106] → [256, 106.00001]
https://codepen.io/w8r/pen/aawKrE


Solo PREFLIGHT FAIL: MAG SENSORS INCONSISTENT

Hello,
I'm not sure if this could be an issue report, but I will post the problem here as I could not find any info on PX4Disscuss, or on other github repositories.
I am now working on flying 3DR Solo indoor with VICON for research.
As I googled and came to a conclusion that PX4 is the solution to incorporate VICON data using MavRos, and not Ardupilot (I hope this is true).
So I flashed PX4 with make px4fmu-v3_default, as lpe version could not be found for v3 (Pixhawk2).
The problem I got was not with mocap, but with magnetometer.
Even If I calibrate, I always get PREFLIGHT FAIL: MAG SENSORS INCONSISTENT on qgroundcontrol.
According to PX4 Tutorial, sensors inconsistent means it needs to calibrate, but I tried few times.
I am suspecting the orientation setting. As I searched on the web, Solo has HMC 5983, LSM303D onboard, and HMC 5983 for external magnetometer, and the orientation of onboard sensors is pitch 180 and that of external is Yaw293Pitch68Roll90, however Yaw293Pitch68Roll90 is not on the list in qgroundcontrol (please see an image below).
As Yaw293Pitch68Roll90 was prepared in src/lib/conversion/rotation.cpp, I thought by setting CAL_MAG0_ROT to 30 would work, but not successful.
I am also wondering why qgc is telling me that there are 4 magnetomers, external: 0 & 1, internal 2, 3 (please see an image below)
I am assuming that the orientation setting of external mag is wrong, so that is why qgc is giving me that error.
Another reason might be the calibrated radio. I am using 3DR Solo's controller but calibration cannot be completed with this controller.
I also tried to flash the firmware via USB cable, but I got same result.
Is there any ways to fix this error or disabling external mag? I can use the orientation data from VICON so  magnetometer is not really needed in my opinion.
The only person who successfully flashing px4 on Solo that I could find was @lovettchris .
I hope I'm not ruining this repository.... Please tell me if I am.
I am very new to pixhawk, px4, mavros and etc., but I am doing my best to fly my drone!
It would be a great help If you could help me with this.

In addition, this may be off topic, but could someone check if my procedure for flying px4 indoor is right?
On PX4:

use_tf =true (in the px4_config.yaml file)
SYSTEM_COMPANIN to 921600
ATT_EXT_HDG_M = 2 (motion capture)
LPE_FUSION = 12

On Offboard PC (Ubutu 14.04 LTS):

Run roslaunch mavros px4.launch fcu_url:=udp://<IP_ADDRESS>:14550@<IP_ADDRESS>:14555
Run the similar example written in the tutorial,
but also including

publisher that publishes VICON data to the topic /mavros/mocap/pose or to /mavros/vision_pose/pose
2.2
sending setpoint_position to activate OFFBOARD

The mag inconsistency check was only recently added, and from the sounds of it in this case it's catching that one of the mags has the wrong rotation.
https://github.com/PX4/Firmware/issues/7696

Thank you for your reply.
Does that mean I should use the master older than #7696 ?
The magnetometer is fully equipped with Solo, so this is not a hardware problem, but a software problem catching wrong rotation??

It's a software bug on this particular hardware. You can increase COM_ARM_MAG to get around it, but know that one of the backup mags is actually incorrect. If the primary failed, the backup is worse than nothing. It's still present in older firmware, but slips through unnoticed without the check.
To verify this is definitely the issue you could create a flight log pointing the vehicle north and rotation 360 degrees. Set SDLOG_MODE 2 to log immediately and SDLOG_PROFILE enable "sensor comparison". Then we can look at all the mag data side-by-side and easily see the problem.
https://dev.px4.io/en/advanced/parameter_reference.html#sd-logging

This pull request should have the proper fix. https://github.com/PX4/Firmware/pull/8300

I'm closing this - please comment in the fix PR.

nice


[do not merge]: react context experiment

The type of this PR is: Experiment
This PR solves TX-638
Description
This PR introduces React context to the payment route of the Order App. Official docs are here: https://reactjs.org/docs/context.html
The context has a reducer that is available to the children of the provider for accessing and updating the context state.
This is just a small example of how this would work and no actual data is currently used. good news is that we can incrementally adopt this approach if we agreed to adopt it.
Some todos:

come up with a simple test suite that works with context and useReducer

Psyched @AlicanAkyuz! So far so good 👍

nit: i would organize the new context and reducer-related files in a subdirectory here

@damassi how do you mean? I did add tests for behaviours by mocking the hook only. do you mean to test the calls to the reducer and updates to the context?

Oh I see 👍
Happy that this was merged, thanks for the work on this 💯


Update readme title picture

Needs new titte picture reflecting actual state of visualisation with new features. Also text has to be updataed as well.  @KrasnovPavel

Hello, @CICS-Oleg! Will do.
By the way, what do you think needs to be changed in text?


Add getter to ExecutionEngine to get TTD

If the execution and consensus layer have different total terminal difficulty (TTD) it results in bad failures:

If consensus TTD1 > execution TTD2: Execution client will stop producing blocks at TTD2 and consensus will be expecting a transition block with TTD1 that will never come, stalling execution forever.
If consensus TTD1 < execution TTD2

if execution allows prepare_payload calls: consensus and execution will fork maintaining two correct chains both with execution data. However, once TTD2 is reached execution will re-org to the consensus chain. The resulting canonical chain won't contain a long range of blocks without execution data but it will drop state that explorers and users consider canonical.
if execution NOT allows prepare_payload calls: consensus will try to create blocks but since prepare_payload fails each attempted block can only reference the merge block at TTD1. Once TTD2 happens execution will re-org to a head that points to the merge block dropping its chain for a long gap in history.

To reduce the chance of this failure cases, the consensus client could check that its TTD matches the execution client TTD. If TTDs don't match, panic or very visibly alert the user. To allow updating nodes in any order absence of this method should not result in a error. Also a different TTD could only result in panic if TTD has been manually overwritten.
CC @mkalinin

+1 on only putting this in the EL and requiring CL to get it. Definitely reduces failures in synchronization between the two layers

The downside however is that now the CL can't startup until the EL is already running and accepting requests. Previously it would have been able to startup, begin finding peers and begin optimistic sync.
Given the huge number of things that already have to be in-sync between the CL and EL, I'm not sure the complexity of having to retrieve this and continuously poll for changes is going to reduce bugs.  It will definitely increase complexity significantly and that usually leads to an increase in bugs.

Addressed in https://github.com/ethereum/EIPs/pull/4397


Bump Flutter to stable

Bumping flutter to match Official Stable version but removing the Xcode 11 dependency as we're not ready to bump it yet.
We don't know if this will work as it's a major version difference but let's try

Not sure what you were trying to do, but Xcode 10 will not work on the latest stable because of the way we build the flutter engine. If you need to use flutter with pre version 11 Xcode, you can check out version 1.12.13 (before the hotfixes).


Fix #115: Use correct schema for TimeEntries.create

This PR introduces two interfaces, TimeEntryCreateFromDuration and TimeEntryCreateFromStartAndEndTime which correctly match the two options for creating a Time Entry.

:tada: This PR is included in version 2.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Override theme css

IS there any way to override theme css?
e.g. add background color or line-height to '.monaco-workbench' element?
I can see I can override a lot of coding style/highlighting from *.tmTheme file but not the editor's UI css.

Not at the moment. Tracked as #459


[Web] text is not searchable

If some Text has overflow: TextOverflow.ellipsis, then only this text will be searchable.
With other TextOverflow values it doesn't happen.

Code sample
import 'package:flutter/material.dart';

void main() => runApp(Application());

class Application extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Column(
            children: <Widget>[
              Text(
                'text',
              ),
              Text(
                'name',
              ),
              Text(
                'email',
              ),
              Text(
                'geo',
                overflow: TextOverflow.ellipsis,
              )
            ],
          ),
      ),
    );
  }
}

screen recording

flutter doctor -v
[✓] Flutter (Channel beta, v1.15.17, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.15.17 at /Users/nevercode/dev/flutter_beta
    • Framework revision 2294d75bfa (3 weeks ago), 2020-03-07 00:28:38 +0900
    • Engine revision 5aff311948
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (5 available)
    • Android SDK built for x86 • emulator-5554                            • android-x86    •
      Android 10 (API 29) (emulator)
    • Nevercode’s iPhone        • b668e524315069f3db3661ac11ff1f66afafebdb • ios            •
      iOS 13.4
    • iPhone 11 Pro Max         • 5D5365D0-C0F6-4440-B758-FFA83896129E     • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
    • Chrome                    • chrome                                   • web-javascript •
      Google Chrome 80.0.3987.149
    • Web Server                • web-server                               • web-javascript •
      Flutter Tools

• No issues found!

The same for Flutter master v1.16.4-pre.22

Adding to this, even if text is searchable, it will not let Google Chrome to go through each result.
If you have a content heavy app or a long list and try to use the search, it will not scroll down to the next result.

Persists with current master 1.21.0-6.0.pre.117

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-6.0.pre.117, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.117 at /Users/nevercode/dev/flutter
    • Framework revision 7ec2d360bc (2 hours ago), 2020-07-29 23:25:38 -0700
    • Engine revision a9910e409c
    • Dart version 2.10.0 (build 2.10.0-1.0.dev 24c7666def)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (6 available)
    • Redmi Note 7 (mobile)       • 6345c469                                 • android-arm64  • Android 9 (API 28)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 13.6
    • iPhone 11 Pro Max (mobile)  • 55C8466B-5367-492B-8EFE-EC45D980571F     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
    • macOS (desktop)             • macos                                    • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)            • web-server                               • web-javascript • Flutter Tools
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 84.0.4147.105

• No issues found!

Following up on the comment about searching a long list, searching a ListView containing text widgets only searches (and highlights) the text in widgets in the visible region.  As said, it does not find (or scroll to) text in widgets outside the visible region.

@yjbanov Any updates?

This is one of the expected basic features of a web application. I hope there will more updates on this issue after more than 2 years

Reproduces on the latest version of flutter. It looks like it no longer recognizes text with ellipses.
This "works" well enough on HTML. Canvaskit cannot be searched at all.

canvaskit
HTML

updated sample
import 'package:flutter/material.dart';

void main() => runApp(const Application());

class Application extends StatelessWidget {
  const Application({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Column(
            children: const <Widget>[
              Text(
                'text',
              ),
              Text(
                'name',
              ),
              Text(
                'email',
              ),
              Text(
                'geo',
                overflow: TextOverflow.ellipsis,
              )
            ],
          ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-arm, locale en-GB)
    • Flutter version 3.3.10 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (3 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.1 22C65 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[!] Flutter (Channel master, 3.7.0-14.0.pre.52, on macOS 13.1 22C65 darwin-arm64, locale en-GB)
    • Flutter version 3.7.0-14.0.pre.52 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 507062032f (13 hours ago), 2023-01-06 01:13:18 +0100
    • Engine revision 5bd90d6e77
    • Dart version 3.0.0 (build 3.0.0-85.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

this is very disappointing

Merging this issue into https://github.com/flutter/flutter/issues/65504


Fix shellcheck findings with enableStrictShellChecks enabled

Things done

[x] Made sure, no settings are changed by default
[x] Tested changes on a real world deployment

Did you verify that the change does work in all locations where this is inserted?

I deployed it to my instance with ldap and oauth enabled.


null value on ScopePin

Once the code moves to the Show() method, it never gets past the "ScopePin.Write(GpioPinValue.High)" line in the TriggerScopePin(bool triggerOn) method. When I step through the code the error message that comes up is "System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' "
When I just run the code I get the error: "System.NullReferenceException: 'Object reference not set to an instance of an object.' "
I noticed the code never actually reaches the ScopeTriggerInit(6) so I tried forcing it to reach it, and when it was successful the code would then get stuck on the line: ScopePin = gpio.OpenPin(scopePin) in the ScopeTriggerInit(int scopePin) method with the error code: System.IO.FileLoadException: 'The process cannot access the file because it is being used by another process.

I don't know how it can fail to get to ScopeTriggerInit.  But if the ScopePin object is never initialized, then you would probably get the other errors.
Are you using hardware SPI or software SPI?  The scope pin is hardcoded for pin 6.  Are you possibly using pin 6 for something else?


The offset is not correct

goPosition (selector, flag, event) {
event.preventDefault();
this.currentFlag = flag;
var anchor = this.$el.querySelector(selector);
smoothScroll(anchor, 500, null, this.$refs.scrollView);
}
I am using the context，but The offset is not correct

Hi @qingwufengyang Can you give more details? What do you mean by the offset. Are you talking about a similar problem to #31 ? Or is it something different?


python310Packages.types-pytz: 2<IP_ADDRESS> -> 2<IP_ADDRESS>

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 223357 run on x86_64-linux 1

4 packages failed to build:

openai-full
openai-full.dist
python310Packages.pandas-stubs
python310Packages.pandas-stubs.dist

18 packages built:

home-assistant-component-tests.ridwell
home-assistant-component-tests.simplisafe
python310Packages.aioridwell
python310Packages.aioridwell.dist
python310Packages.django-stubs
python310Packages.django-stubs.dist
python310Packages.simplisafe-python
python310Packages.simplisafe-python.dist
python310Packages.types-pytz
python310Packages.types-pytz.dist
python311Packages.aioridwell
python311Packages.aioridwell.dist
python311Packages.django-stubs
python311Packages.django-stubs.dist
python311Packages.simplisafe-python
python311Packages.simplisafe-python.dist
python311Packages.types-pytz
python311Packages.types-pytz.dist


Fix C# macos x86 artifact build

Fixes https://github.com/grpc/grpc/issues/11039.

Known failures:
https://github.com/grpc/grpc/issues/11055
https://github.com/grpc/grpc/pull/11035
https://github.com/grpc/grpc/issues/9151
https://github.com/grpc/grpc/issues/9153
https://github.com/grpc/grpc/issues/10962


Enhancement: Enforce PSR-2 with friendsofphp/php-cs-fixer

This PR

[x] requires friendsofphp/php-cs-fixer
[x] adds a basic configuration for friendsofphp/php-cs-fixer
[x] runs php-cs-fixer in dry-run mode on Travis
[x] runs php-cs-fixer to fix coding style issues

@Jan0707
Looks like Auto Cancellation is activated, what do you think about disabling it?
Below a screenshot when disabled:

See https://travis-ci.org/Jan0707/phpstan-prophecy/settings.

Blocked issue #28 has been resolved. Once this has been updated, we can merge this.

@Jan0707
Appears as if the commit statuses are not updated correctly. Builds are running, though, see https://travis-ci.org/Jan0707/phpstan-prophecy/pull_requests.

Thank you, @Jan0707 and @Jean85!


Rethink graphcool modules workflows

The current graphcool modules add workflow feels fairly cumbersome, especially when there are model types involved. These types typically need to be adjusted manually anyway and it would make more sense to keep them in one location in the first place. IMO the same holds true for permissions and rootTokens.
I suggest to rethink the graphcool modules CLI command.
Besides that, the entire modules concept of the framework needs further exploration as well (should probably be another issue).

Also see #605.

Modules have been replaced by templates: #720.


Ensure routes are exited right to left when something in the middle is reactivated

Fixed in 2.0.0


Creating .fromRaw API & its tests

Attemp to solve #1767 . I'm new to the lib and this is my first PR. Any changes or things to add let me know 😃.

@elhigu What do you think?

Superseded by #4781


Jest seems to share JSdom environments accross tests

🐛 Bug Report
From the documentation in https://jestjs.io/docs/en/configuration#testenvironment-string, the test environment should be sandboxed:
Note: TestEnvironment is sandboxed. Each test suite will trigger setup/teardown in their own TestEnvironment.

But in our tests we're mocking some prototype methods and it looks like that they're shared, and this produces intermittents.
To Reproduce
Steps to reproduce the behavior:

Run these commands:

git clone https://github.com/julienw/testcase-jest1
cd testcase-jest1
yarn
yarn test

This repository contains several times the same tests:

testcaseX.test.js mocks HTMLElement.prototype.getBoundingClientRect
defaultX.test.js doesn't mock this method
all files testcaseX.test.js have the same content, so they should have the same result
all files defaultX.test.js have the same content, so they should have the same result

Also, the configuration contains:
    "restoreMocks": true,
    "resetMocks": true,

But this doesn't seem to make a difference in the result. What does make a difference is these changes: https://github.com/julienw/testcase-jest1/compare/reset-mocks. So maybe the issue is the implementation for resetMocks and not the test environment?
For me this fails nearly 100% of the time, but because this is likely a frequent intermittent you might need to repeat the test several times.
Here is the error I get:
 FAIL  ./default1.test.js
  ✕ returns the default bounding box (6ms)

  ● returns the default bounding box

    expect(received).toEqual(expected)

    Expected value to equal:
      {"bottom": 0, "height": 0, "left": 0, "right": 0, "top": 0, "width": 0}
    Received:
      {"bottom": 300, "height": 300, "left": 0, "right": 300, "top": 0, "width": 300, "x": 0, "y": 0}

    Difference:

    - Expected
    + Received

      Object {
    -   "bottom": 0,
    -   "height": 0,
    +   "bottom": 300,
    +   "height": 300,
        "left": 0,
    -   "right": 0,
    +   "right": 300,
        "top": 0,
    -   "width": 0,
    +   "width": 300,
    +   "x": 0,
    +   "y": 0,
      }

      3 |   document.body.appendChild(element);
      4 |
    > 5 |   expect(element.getBoundingClientRect()).toEqual({
        |                                           ^
      6 |     bottom: 0,
      7 |     height: 0,
      8 |     left: 0,

      at Object.toEqual (default1.test.js:5:43)

Link to repl or repo (highly encouraged)
https://github.com/julienw/testcase-jest1
Run npx envinfo --preset jest
Paste the results here:
npx: 1 installé(s) en 1.166s

  System:
    OS: Linux 4.18 Debian GNU/Linux 9 (stretch) 9 (stretch)
    CPU: (4) x64 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
  Binaries:
    Node: 9.11.1 - ~/.nvm/versions/node/v9.11.1/bin/node
    Yarn: 1.12.3 - ~/.yarn/bin/yarn
    npm: 5.6.0 - ~/.nvm/versions/node/v9.11.1/bin/npm
  npmPackages:
    jest: ^23.6.0 => 23.6.0

We're moving forward in our investigation on our project: even when restoring the mocks at the right moment, we still get intermittents because of the shared prototypes.
Restoring mocks in afterEach definitely makes the issue less present though.

If I understand correctly, are you saying that even restoring mocks in afterEach, you do get intermittents? Not sure what you mean by "less present", as that doesn't sound reassuring.

JSDOM v16 has started migrating off of shred prototypes, btw: https://github.com/jsdom/jsdom/releases/tag/16.0.0

If I understand correctly, are you saying that even restoring mocks in afterEach, you do get intermittents? Not sure what you mean by "less present", as that doesn't sound reassuring.

yes.. it also highly depends on the order tests are run. For example working on some file would make the problem appear suddenly, because babel compiling the changed files changes the timing of running.

JSDOM v16 has started migrating off of shred prototypes, btw: https://github.com/jsdom/jsdom/releases/tag/16.0.0. So we could close this issue and point to upstream

That's a great news! This would effectively fix the problem with jsdom!
I still wonder why restoring mocks happen in beforeEach, possibly as I said before because afterEach isn't run in case a test fails. I don't know if that's what users expect, at least the documentation doesn't say anything about that.
Should I file a separate issue to discuss this specific topic?

Should I file a separate issue to discuss this specific topic?

Sure! It's on purpose, although I do agree it's not necessarily 100% expected
https://github.com/facebook/jest/blob/faa52673f4d02ee1d273103ada9382a0805b54a4/packages/jest-circus/src/legacy-code-todo-rewrite/jestAdapter.ts#L56-L77
https://github.com/facebook/jest/blob/faa52673f4d02ee1d273103ada9382a0805b54a4/packages/jest-jasmine2/src/index.ts#L100-L120

Thanks, I filed #9896.
I believe we can close this issue, unless you prefer to wait until jsdom v16 is the default in jest?
For anybody coming here, you can force the use of jsdom v16 by setting your test environment to jest-environment-jsdom-sixteen and installing the npm module with the same name.

Nah, let's close. We'll be including JSDOM@16 in Jest@26. People can track that in #9806


Issue with fresh init project

https://github.com/lucacasonato/fresh/blob/main/src/cli/init.ts#L135
Needs to be ../../server_deps.ts :)
Really liking the new island concept by the way.

Thanks

@Jamalam360 Thanks for the kind words @Jamalam360 :-)


Set default spot label for AWS

It would be nice to not have to configure this for every cluster. I believe the node label for EKS is lifecycle=EC2Spot but worth verifying. If so, this seems like a sensible default to me.

https://github.com/kubecost/cost-model/blob/master/cloud/awsprovider.go#L139 should resolve this.

Fixed


Uint8Array --> String --> Uint8Array Conversion from isoUint8Array helper doesn't work

Describe the issue
I'm trying to convert the credentialID (Uint8Array) to an UTF-8 string in order to save it in my MongoDB Database.
I've tried multiple packages to do so ... Until I found out that there's some helpers into this library itself ...
But the flow : Uint8Array --> String --> Uint8Array seems ... broken ?
Am I missing something ?
Reproduction Steps

const { isoUint8Array } = require('@simplewebauthn/server/helpers');

------

let verification;
try {
  verification = await verifyRegistrationResponse({
    response: challengeResponse,
    expectedChallenge: user.challenge,
    expectedOrigin: origin,
    expectedRPID: rpID,
  });
  if (verification.verified) {
    // Save authenticator :
    console.log('Generated CredentialID = ', verification.registrationInfo.credentialID);
    const stringifiedCredentialID = isoUint8Array.toUTF8String(
      verification.registrationInfo.credentialID
    );
    console.log('stringifiedCredentialID = ', stringifiedCredentialID);
    const backToUInt8Array = isoUint8Array.fromUTF8String(stringifiedCredentialID);
    console.log('textEncodedCredentialID = ', backToUInt8Array );

    const auth = new Authenticator({
      ...verification.registrationInfo,
      credentialID: stringifiedCredentialID,
      credentialPublicKey: '' // @todo,
      transports: challengeResponse?.response?.transports,
    });
    auth.userId = user._id;
    await auth.save();
  }
  res.status(200).json({ ok: verification.verified });
} catch (error) {
  console.error(error);
  return res.status(400).send({ message: error.message });
}

And here is the result :

Expected behavior
The converted back Uint8Array should be the same ? Right ? And the String must be UTF-8 no ?
Dependencies

OS:  Windows
Browser: Chrome 120
Authenticator: Windows Hello

$ npm list --depth=0 | grep @simplewebauthn
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS># ...

I've noticed that it's working with the isoUint8Array.toHex helper  :
// Saving :
const hexCredentialID = isoUint8Array.toHex(verification.registrationInfo.credentialID);
const hexCredentialPublicKey = isoUint8Array.toHex(verification.registrationInfo.credentialPublicKey);

// Authentification Option :
const previousAuthenticator = await Authenticator.findOne({ userId: user._id });
const credentialIDbackFromHex = isoUint8Array.fromHex(previousAuthenticator.credentialID);
console.log('credentialIDbackFromHex = ', credentialIDbackFromHex ); // The "restored" uInt8Array is the same !

const options = await generateAuthenticationOptions({
  rpID,
  allowCredentials: [
    {
      id: credentialIDbackFromHex ,
      type: 'public-key',
      transports: previousAuthenticator.transports,
    },
  ],
  userVerification: 'preferred',
});

I can then trigger the windows hello prompt successfully but then on the verify part I get this error :
Error: No packed values available :

Credential ID bytes are effectively random so I'm not at all surprised they're not encoding to readable UTF-8. I recommend using the isoBase64URL helper instead, its isoBase64URL.fromBuffer() and isoBase64URL.toBuffer() are better at encoding these bytes into strings (though isoUint8Array.toHex() and isoUint8Array.fromHex() are fine too, though its seemingly unorthodox to me because so much of WebAuthn uses base64url encoding.)

can then trigger the windows hello prompt successfully but then on the verify part I get this error :
Error: No packed values available

Looking at your code sample I think I see the problem:
const backFromHexPublicKey = isoUint8Array.fromHex(previousAuthenticator.credentialID);

previousAuthenticator.credentialID should probably be previousAuthenticator.credentialPublicKey (or whatever it's called on your end)...

O.M.G
I can't believe this !
I've changed credentialID to credentialPublicKey and it works ... 💀
Too much copy / paste kills copy / paste 😢
Sorry to made you loose your time ! And a big thank you ! ♥
At least I've learned that I should probably use isoBase64URL.fromBuffer() /  isoBase64URL.toBuffer() 😅


Support for IPv6

I could not find any specs on IPv6, reading the code and the example config there seems to be no option to configure IPv6.
Does a IPv6 solution exist or is it planned?
Thanks a lot!

Is this issue addressed? We are facing an issue where we are unable to get video to work for us on iPhone (using the erizo-IOS client) when connecting using T-Mobile's network. This started happening after the 28.3 carrier update and I suppose it is being caused by the ipv6 only implementation that T-Mobile uses.

@waqasburney No it wasn't, just closed this as we found a workaround (won't work for pure ipv6).
I'm afraid that this won't be easy.

@menelike Can you please share the details on the workaround you implemented. Might fix our issue as well.

@menelike Can you please share your work around?

@waqasburney Are you getting any errors with LibNice when trying to use IPv6?
On a IPv4 connection, LibNice outputs this debug message:
2|erizoAge | 2017-06-22 02:10:25,099 - DEBUG [0x7f8b72061780] LibNiceConnection - id:<PHONE_NUMBER>09542800, message: adding relay or srflx remote candidate, hostType: 1, hostAddress: <IP_ADDRESS>, hostPort: 63371, rAddress: <IP_ADDRESS>, rPort: 63371
2|erizoAge | [erizo-2bab5c17-5e92-b1c0-4b28-ac16b625105f] 2017-06-22 02:10:25,107 - DEBUG [0x7f8b1c7f8700] LibNiceConnection - id:<PHONE_NUMBER>09542800, message: new ice component state, newState: 2, transportName: video, componentId 1, iceComponents: 1

But on a IPv6 connection, this debug message doesn't appear to have a port which results in LibNice throwing a critical error
2|erizoAge | 2017-06-22 02:00:35,244 - DEBUG [0x7f529203b780] LibNiceConnection - id:<PHONE_NUMBER>63969660, message: adding relay or srflx remote candidate, hostType: 1, hostAddress: <IP_ADDRESS>, hostPort: 42771, rAddress: 2001, rPort: 0
2|erizoAge | [erizo-474cf9b9-46f5-2394-5ea6-bd9f7ec553c8]
2|erizoAge | (process:6992): libnice-CRITICAL **: file address.c: line 166 (nice_address_set_port): should not be reached

Quickly skimming over the code, it looks like the candidates are being split on the : character
https://github.com/lynckia/licode/blob/b595e39f53f957e4c2bd2c876bd03d93a1ba2f79/erizo/src/erizo/SdpInfo.cpp#L678-L679
Which causes the rAddress and rPort to be incorrectly parsed
https://github.com/lynckia/licode/blob/b595e39f53f957e4c2bd2c876bd03d93a1ba2f79/erizo/src/erizo/SdpInfo.cpp#L1103-L1107

@marklawlor I did see Port 0 logs in the client side logs. I am following this up as a client side issue as well here but so far no fixes:
https://bugs.chromium.org/p/webrtc/issues/detail?id=7703&q=ipv6&colspec=ID Pri M ReleaseBlock Component Status Owner Summary
We are hosting on AWS without ip6. Were you able to find a fix?

Has anyone else faced this issue and been able to create a fix that allows licode to work in a situation where a device is running on a pure ipv6 network?


Try to edit empty file

[Enter steps to reproduce below:]

Create empty file
Open with tablr
Try to edit something

Atom Version: 1.7.3
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.3.1
Stack Trace
Uncaught TypeError: Cannot read property 'name' of undefined
At /Users/da_petcu21/.atom/packages/tablr/lib/table-element.coffee:840

TypeError: Cannot read property 'name' of undefined
    at tablr-editor.module.exports.TableElement.startCellEdit (/Users/da_petcu21/.atom/packages/tablr/lib/table-element.coffee:840:5)
    at tablr-editor.atom.commands.add.core:confirm (/Users/da_petcu21/.atom/packages/tablr/lib/table-element.coffee:1589:25)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -2:50.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:21.6.0 tree-view:toggle-focus (div.package-detail.panels-item)
     -0:20.8.0 tree-view:add-file (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:19.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -0:16.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "linter-eslint",
      "omnisharp-atom",
      "json-schema"
    ],
    "packagesWithKeymapsDisabled": [
      "devdocs",
      "activate-power-mode"
    ],
    "projectHome": "/Users/da_petcu21/Programare",
    "themes": [
      "one-dark-ui",
      "base16-tomorrow-dark-theme"
    ]
  }
}

Installed Packages
# User
activate-power-mode, v0.5.2
atom-jade, v0.3.0
atom-yeoman, v0.3.15
autocomplete-clang, v0.9.3
autocomplete-glsl, v0.2.3
autocomplete-paths, v1.0.2
devdocs, v0.2.1
file-icons, v1.7.9
language-glsl, v2.0.1
language-haskell, v1.7.15
language-lex-flex, v0.1.0
linter, v1.11.4
linter-clang, v3.4.4
linter-glsl, v2.0.2
linter-js-standard, v3.3.2
markdown-themeable-pdf, v1.0.1
merge-conflicts, v1.4.2
pigments, v0.26.2
python-indent, v0.4.3
react, v0.15.0
tablr, v1.3.1
the-closer, v0.6.0
vim-mode, v0.65.0

# Dev
No dev packages

Hi @dapetcu21, thanks for the report, it's probably because there's no columns nor rows yet. I should probably at least create one when an edit attempt is made.


Customize robot

Hi! I seen in the first slide (http://slides.com/pguth/robotopia-x#/) that the robot is customized (it is not the standard robot, it's Rick!) How can this be done?
Thanks!

@CristianRM7 We're sorry, these were just development assets. We took them out of the project for copyright reasons

I understand it is normal. I do not know if you will have left any trace of it, since it was doing tests with the competition mode. I create a scenario and when I enter (as a student) that scenario, it remains continuously loading and in the terminal I miss several errors that can not load some images (images that do not exist). Attached is a screenshot for you to see.

@CristianRM7 Ohh wow, thank you for that!
I think we'll have to look into that...

 It occurs when a student attempts to enter a group that the teacher has created.

Hi. Is there an update planned? With the errors of the images the multiplayer challenge does not finish loading for example. Thank you very much

I'm sorry. I haven't worked on the project very actively. I promise I'll fix it this weekend. Cool to see that you still care about the project.

Many thanks! I find it a very interesting project! Thank you!

I'm not quite sure why its not working. I fixed the missing images not loading, but that wasn't the cause of the problem. If I run it locally on my machine it works, but the online version at http://robotopia.co doesn't  connect to the client. Just wanted to give you an update, going to look into fixing the online version later.

Ok Paul, thank you very much, to see if you give with it, it is a fantastic project!


pythonPackages.class-registry: Add typing as propagatedBuildInput when python2

Motivation for this change
When using python2 the package class-registry expects the dependency typing. This PR addresses this fact.
Reference: https://github.com/lenddoefl/class-registry/blob/master/setup.py#L32
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)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] 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
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 104630 1

1 package built:

python27Packages.class-registry

Result of nixpkgs-review pr 104630 1

1 package built:

python27Packages.class-registry

@FRidh @jonringer Hi, can I do anything from my side to help with this PR?


NStratis deprecated and Networks.StratisMain

Hello,
Apparently NStratis is deprecated, i would like to generate a Stratis Address.
var PrivateKey = stratisAddress.GetWif(Network.StratisMain).ToString(),

I was use this but it does not work for now :/ what is the new way to create a stratis address ?
Thank you

The way networks are handled has changed slightly, so you now need to do it like this instead:
            // Need a network
            var network = new StratisTest();

            // Generate private key
            var key = new Key();

            // Get WIF format of private key
            var wif = key.GetWif(network).ToString();

            Console.WriteLine(wif);

Thank you


The big supervision fix. (#8243)

Updated CleanoutServerTests. Allow bad servers as new follower.
Prefer good servers.
Removed copy, sort and binary_search for a list of ~10 elements.
Fix move shard bug with compare.
MoveShard fixes, expansion of doForAllShards
Count only GOOD servers in actualReplicationFactor.
Make RemoveFollower remove broken servers.
Precondition on Plan Version for updating Current as leader.
Fixed typo in log message.
Change warning level. If a MoveShard job is aborted and we can no longer roll back, then we issue a WARNING rather than a DEBUG log message.
Another typo and log level.
Start to fix unit tests.
Does not make sense for AddFollowerTest to have a FAILED leader.
Only count GOOD followers in AddFollower.
Fix AddFollowerTest.
Report precondition failed in MoveShard follower case.
Add CHANGELOG.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/3173/

Obsoleted by other PRs.


Integers not closed under division

The type of (/), int -> int -> int, seems to imply that the field of integers is closed under division.
It's not.
> 5 / 2
_ : int = 2.5

Proposed fixes:

[ ] Round the result of (/) towards..

[ ] The nearest whole integer
[ ] Zero
[ ] INT_MIN
[ ] INT_MAX

[ ] Make (/) : int -> int -> float

The lattermost of these seems to be the most general, as the user (or us, when there are libraries) can make any of the following the following, provided that all the rounding operations take floats to ints.
let x // y = truncate (x / y)
let x // y = ceil (x / y)
let x // y = floor (x / y)

I think the second of those would be preferred. Then define \\ as truncate.


Remove non-MIT licensed materials and replace with Mannequiny.

This is still a work in progress, but it will close issue #5 and partially address issue #4 .
The main changes are as follows:

Remove copyrighted materials from the project
Replace the model with Mannequiny.
Move the interpolated camera into its own distinct asset folder.

Also included are Mannequiny's AnimationPlayer and AnimationTree nodes, but they are currently not working correctly.
This has been tested with the latest stable release of Godot 4, but it should also work with the current 4.1 dev release.

https://user-images.githubusercontent.com/52050284/234266838-675cb5ca-11aa-4aea-b185-ac2d943dfd7a.mov
Hello. First of all, I would like to thank the third-party controller for their contribution 🙏
But I guess the animations are not working properly.

Hi, I managed to get the animations fixed.
I decided to use a different character controller and camera script.

After a few edits I uploaded the project back to the assets store. Thanks a lot for your contribution...


src attribute bug with Firefox

I am having issues getting following code to render correctly in FireFox 10.0.2. IE 8 and Chrome don't appear to have the same issue rendering the page.

This should display an image. Instead I get this:

Interestingly, the alt tag is rendered correctly.

How are you declaring your template? Are you getting it from a string or the contents of a script block?
If not, and you are using a div, for example, with display:none, then the markup will get processed as HTML by the browser, and Firefox will covert the value of the src attribute to a URL encoded string.

Thanks for your help, it turns out I was using  a div container, and I have change that.  It would be nice however, to be able to use divs to declare content data.
-----Original Message-----
From: Boris Moore<EMAIL_ADDRESS>Sent: Thursday, March 08, 2012 6:13 PM
To: Jason Mei
Subject: Re: [jsrender]  src attribute bug with Firefox (#85)
How are you declaring your template? Are you getting it from a string or the contents of a script block?
If not, and you are using a div, for example, with display:none, then the markup will get processed as HTML by the browser, and Firefox will covert the value of the src attribute to a URL encoded string.

Reply to this email directly or view it on GitHub:
https://github.com/BorisMoore/jsrender/issues/85#issuecomment-4406163

This email and any attachments contain information from Baker & Taylor which may be confidential, privileged and/or protected by other legal rules. If you are not the intended recipient, you are hereby advised that any disclosure, copying, distribution or use of the contents of this email is prohibited. If you have received the email in error, please notify us by reply email immediately and then delete the email and your reply from your email system.
NOTE: Baker & Taylor accepts no liability for the contents of this email. This email shall not operate to bind Baker & Taylor to any contract, order or other obligation.

Template markup is not necessarily valid, or even well-formed HTML, so you can develop your templates in a div if you want, to get intellisense, but when you deploy you must not leave them like that, since there is a perf cost and unpredictable browser-dependent errors and side effects that would likely result. You are asking the browser to load as HTML content which is not actually pure HTML markup...


Can I put pygwalker into Shiny web application (shiny for python)?

Thank you for developing an awesome program! I would like to ask about the supports for Shiny for Python (https://shiny.posit.co/py/)
Please let me know if it is better to ask the Shiny's developers about it.
Thanks in advances.

It's a bit late to reply.    (。・＿・。)ﾉI’m sorry~
you can use pyg.walk(demo_df, return_html=True), render the returned html to any engine that can use html.
example for shiny:
from shiny import App, render, ui
import pygwalker as pyg
import pandas as pd

app_ui = ui.page_fluid(
    ui.panel_title("Pygwalker Demo"),

    ui.layout_sidebar(
      ui.panel_sidebar(),
      ui.panel_main(
        ui.output_ui("html")
      ),
    ),
)

def server(input, output, session):
    demo_df = pd.read_csv("your data file path")

    @output
    @render.ui
    def html():
        pyg_html = pyg.walk(demo_df, return_html=True)
        return ui.HTML(pyg_html)

app = App(app_ui, server)

Thank you so much.

This is a really great example for using Shiny - I would suggest highlighting in the example documentation - https://docs.kanaries.net/pygwalker/tutorials/use-pygwalker-in-shiny


Add support for service accounts

When the request contains an Authorization header, the credentials will be passed to keycloak as an service account.
https://keycloak.gitbooks.io/documentation/server_admin/topics/clients/oidc/service-accounts.html

Hi @nl5887  ... can you give a little extra detail. Do you mean you want the proxy to login on behalf of the user passing a username / password?

I was more thinking in this use case: we have several services writing to Elasticsearch. It would be great to give those services accounts within Keycloak, so Elasticsearch can login using basic authentication, where keycloak will exchange the credentials with a token.

hi @nl5887 ... have you looked at forward signing mode as i think this covers what you need. You pass it the username/password creds and the proxy will manage the token login and renewal for you and any request passed though the proxy will be tagged with an authorization header. ... You could then have another proxy verifying the header on the other end

@nl5887 thanks for taking your time reporting this. The repository keycloak-proxy was moved to Keycloak organization and renamed to keycloak-gatekeeper. If you still think this issue is valid, please read https://www.keycloak.org/community.html and report your bug/feature request to https://issues.jboss.org/browse/KEYCLOAK.


Pod setup restart fixes and improvements (Loop issue #2117)

Code Review: compared OmniBLE PR 113 with OmniKit PR 27.
Tested with rPi DASH simulator on an SE phone running iOS 17.3.
Configuration:

LoopWorkspace-dev, commit 7340d55
OmniBLE, dev branch commit 8f78c344
OmniKit, main branch commit f2fc341

Refer to https://github.com/LoopKit/Loop/issues/2117#issuecomment-1932346258 for description of the test cases:
Test Case 1, 2 and 4 are no longer possible, Deactivate button is not available once pairing begins.
Test Case 3: returns to the Priming screen and either shows the priming progress bar advancing or shows a check mark that priming is complete.
Test Case 5: Once Cannula begins the insertion count-down, quit and restart Loop.

Before this PR was in place, you had to slide the inserter bar before it told you insertion was complete
Now it indicates that insertion is completed

Confirm that the autolock disable works:

set up autolock to be 30 seconds
Starting from the Pair Pod screen, the phone should not lock automatically until after setup has completed
wait 30 sec between each tap
all screens remain open past 30 sec
when setup is completed and Loop main screen is presented, screen locks in 30 sec.

Reviewed most recent commit.
Tested using the latest version of this PR.
Testing Configuration:

iPhone 8 running iOS 16.7.5

LoopWorkspace dev, commit b58fb45

Applied following OmniBLE PR: 106, 108, 109, 110 and 113
Added cannulaInsertionUnitsExtra = 2.0 to yield 50 sec for cannula insertion process

pair with a real DASH pod

Repeated the testing previously done with rPi DASH (see comments above) and with Eros pod (see OmniKit PR 27).

This code behaved nominally when resuming following

Quit and restart once priming had begun

Repeated the process during the priming and after priming completed
One time after resuming, had to tap Retry in the Priming screen

Quit and restart once the insert cannula bolus had begun

Repeated the process during the insertion bolus and after bolus completed
One time after resuming, had to tap Retry in the inserting screen

For a novice user, is it possible to retry one more time following a restart before reporting failure to the user interface?

I struck out the last sentence in the last comment because there is no quick fix.
Emphasize in documentation to always tap Try Again a couple of times before giving up.
I believe this PR is ready to go - this is a big improvement over prior behavior for an unlikely event.


Better test fixture for absolute paths

My attempt at improving the test fixture for #2050 (originally introduced in #2227) to encompass pathing up to a module in parent directory.

 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.

@stefee "All checks have passed" – how come? Wasn't this test addition expected to fail (based on https://github.com/swc-project/swc/issues/2050#issuecomment-917684787)?

Indeed … perhaps there was a problem with my local setup - so maybe this issue will already be fixed in next release.

I’m going to try and make the reproduction closer to our real issue to confirm.

It looks like this hasn't reproduced the error either - I'll close this for now and come back to the issue once 1.2.86 is released.

@stefee It actually was tagged but the build somehow failed :/


Empty index.html

Make the index.html as thin as possible. Ideally it should have an empty body, and no reference to Angular:
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>OpenLocalization</title>
  <link rel="stylesheet" href="/css/app.css">
</head>
<body>
  <script src="/js/app.js"></script>
</body>

See https://docs.angularjs.org/api/ng/function/angular.bootstrap if it could help

done: https://github.com/openl10n/openl10n-app/blob/eee1b92acd703fe6dbea4b9a2322ee5b0a4d1b21/src/public/index.html


Building release throws Out of memory

Hi!
It's me again.
ferry has generated about 2.2k files and 2.7mln lines of code. The whole lib directory has about 3.7k files. And now we are not able to build the app in release mode. It was running 3 hours (M2 pro, 32GB) and threw Out of memory error.
We are trying to switch from artemis, which generates just 2 files (about 400k lines). It was also problematic to work with such big files, but build_runner takes a few minutes as well as the building of the app in the release mode.
Any ideas for such a problem? 😞

Hi!
I'm sorry to hear that you have such problems migrating to ferry.
I assume this is due to built_value, which generates a lot of additional boilerplate and also collects all serializers in the serializers.g.dart file, which, I assume will consume a lot of memory when compiling.
I can think of a few avenues how to reduce the size of the generated code;

small optimizations like avoiding genering a .var class for operations without variables
Generalize reuse_fragments to reuse generated classes when multiple queries query the same fields of a type
migrate away from built_value, and generate all code in ferry, like graphql_codegen. that's a lot of work and hard to get right (lots of corner cases in serialization), but will have the greatest effect and likely speed up code generation also by a lot (build_runner spends most time with built_value currently).

I do have a full time job as well, so I can't promise any quick solutions, unfortunately.

Thanks a lot for such a quick response 😊
All of the above points are just ideas to improve, not ready to use for now, right?

Yes.
I implemented a quick workaround that you can try out;
it's on branch   workaround/non-serializer-reqs
It removes the xxxxReq classes from the serializers.gql.dart file.
This means, calling toJson() on them won't work anymore, and the offlineMutationLink which persists queries on offline mode to send them later will break because of this, but other than that everything should continue to work.
Maybe that's enough for compilation to succeed.

Probably can be closed for now. The issue has been explained here https://github.com/gql-dart/ferry/issues/558#issuecomment-1865189940


Cleanup error message for Step container status

Changes
This commit cleans up the error message for the step container status.
fixes: #7013
/kind cleanup

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/assign

Thanks, @JeromeJu. I'd say this PR partially addresses #7013. Could you please update the commit message and PR description.
Otherwise lgtm

Thanks for the review @QuanZhang-William . I left a comment at https://github.com/tektoncd/pipeline/issues/7013#issuecomment-1823505272 to show that after examining the issue there might not much other information that could be provided for the container status. And I totally agree that we could leave this judgement for the author of the issue. Updated.