Nact in browser

It'd be an interesting development to get nact working in the browser. There is no fundamental reason right now why it wouldn't be possible. This would enable a few things:

It could take the place of redux.
Allow very clean client-server communication via websockets/http2/etc

Can you explain why this issue has been closed ? @ncthbrt

I was thinking if the event sourcing/queries/aggregates part of nact be implemented on top of redux then the server and client can share the same reducer code. And when the client comes up it could establish a websocket connection and lazily load events/queries records it required. And now if an event is generated at the server which pertains to what the ui/client has subscribed to then it should receive those events and pass them through the same reducer/event processor.
This framework seems to have done it well. But it doesn't have persistance and es.
http://boardgame.io/

Hi @pyros2097
I think that'd be awesome.
I'm not too familiar with publishing libraries which can target the browser. There is really only one API right now that is not available in all browsers, setImmediate. setImmediate can be quite easily polyfilled however. My main concern is whether a library which usesmodule.exports can work in a browser context. Perhaps babel can do this? Not sure.

Yes. Most node_modules, including some of the standard packages work using module bundlers like webpack, browserify. Webpack being the most widely used. What we would need to do is transpile the common code that could be shared between server and client so that when the module bundler requires it, it wouldn't need to transpile the code and then it would work seamlessly.
This has already been done by this es,cqrs framework with persistence and live syncing albeit its not completely free to use.
https://www.wolkenkit.io/
They also have  a react integration.
Hmm.. time to think and experiment a bit. My current way of integrating it with the ui was to use graphql as an api layer at the backend and apollo  store for the frontend.
But now thinking why use another layer like graphql/apollo where something like redux or an event sourcing engine for the frontend would be better and integrate very well with the backend.

@pyros2097 I've done something similar with websockets and actors before in akka.net. Worked like a charm

We could perhaps make the browser a target in the typescript port?

I'd like to chime in here.  If this indeed being ported to TypeScript (💯 ), then browser support would be a really interesting effect and definitely eligible given the build targets.  There's a high likelihood that some actors could even become isomorphic, which would give it an edge over node.js/redux apps. I'm also a huge fan of Actors acting as graph nodes for scenarios like GraphQL or even Gun.js between the client and servers.  Is there a roadmap published somewhere for typescript? I might be able to help with that.

Hi Scott.
If there is genuine interest we could definitely look at making this happen.
I personally haven't yet had a strong enough use case, but if there is
evidence that there is valid use cases we can try flesh out an
implementation plan
On Fri, 11 Dec 2020, 17:23 Scott B. Wyatt<EMAIL_ADDRESS>wrote:

I'd like to chime in here. If this indeed being ported to TypeScript (💯
), then browser support would be a really interesting effect and definitely
eligible given the build targets. There's a high likelihood that some
actors could even become isomorphic, which would give it an edge over
node.js/redux apps. I'm also a huge fan of Actors acting as graph nodes for
scenarios like GraphQL or even Gun.js between the client and servers. Is
there a roadmap published somewhere for typescript? I might be able to help
with that.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ncthbrt/nact/issues/34#issuecomment-743256799, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCJEWJZN72SU6QWRLZNS43SUI2PPANCNFSM4EJ6D6XA
.

@ncthbrt, it's definitely more of a nice to have then a need to have. On the other hand Typescript would have likely made onboarding a bit easier for me just from the intelisense alone (but we could just build a type definition). Then again, if "it ain't broke".
I'd much rather spend time getting some of the caveats working and then re-visit typescript.

As mentioned in the chat on discord, there are typescript bindings available, just to be clear.
The bulk of getting this feature working is more to do with the module system that typescript, though of course tsc could definitely help.

I want to use it with deno while get  error becasue of the node::crypto.
https://cdn.skypack.dev/error/node:crypto?from=nact:14:7

I want to use it with deno while get  error becasue of the node::crypto.
https://cdn.skypack.dev/error/node:crypto?from=nact:14:7

Hi @attliaLin.
Bit of a longer project, but on the typescript branch of the project, removing dependencies on node and also converting the project to use ES modules. This should allow deno support, at least in theory.

Hi @attliaLin.
Bit of a longer project, but on the typescript branch of the project, removing dependencies on node and also converting the project to use ES modules. This should allow deno support, at least in theory.

Hi @attliaLin.
Bit of a longer project, but on the typescript branch of the project, removing dependencies on node and also converting the project to use ES modules. This should allow deno support, at least in theory.

Nice job!

Hi @attliaLin.
Bit of a longer project, but on the typescript branch of the project, removing dependencies on node and also converting the project to use ES modules. This should allow deno support, at least in theory.

Nice job!

Nact Core is now confirmed to work in the browser.


Cannot have files of the same name but different extensions open at the same time. Linux, C++, foo.cpp foo.h

Does this issue occur when all extensions are disabled?: Yes/No Yes

VS Code Version: Version: 1.62.0
OS Version:  Linux x64 5.10.83-1-MANJARO
Version: 1.62.0
Commit: b3318bc0524af3d74034b8bb8a64df0ccf35549a
Date: 2021-11-07T19:37:13.664Z
Electron: 13.6.3
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.10.83-1-MANJARO
Steps to Reproduce:

have a file named foo.cpp and a file named foo.h
notice they cannot be open at the same time

This works for me. Where do you open them from? Does one close when the other opens or does the second one not open at all? Could you attach a screenshot?

/gifPlease

This works for me. Where do you open them from? Does one close when the other opens or does the second one not open at all? Could you attach a screenshot?

I have opened them from the built in 'Explorer' and also from my OS. The result is the same, one closes and the other opens.
an animated screenshot would take some time.
I suspect this may be a Manjaro specific issue.
Thank you

Maybe follow our docs to resolve this: https://code.visualstudio.com/docs/getstarted/userinterface#_preview-mode

Maybe follow our docs to resolve this: https://code.visualstudio.com/docs/getstarted/userinterface#_preview-mode

That resolved the issue, but does not really explain why it only happened on files of the same name but different extensions.
Thank you


Add support for multiple network interfaces

Docker allows multiple network interfaces to be added to a container using docker network connect. Arrange for these to be reproduced in the VM, at least in the case where the container/VM is being started.

Closed by https://github.com/newsnowlabs/runcvm/commit/a3ef555ede0441509dfb6870c4edfb397f6a3a52 (release v1.1.0).


Add support for Linux on aarch64

This PR adds support for Linux on aarch64, which requires a number of changes besides the arch specific header.
Being a more recently architecture, Linux on aarch64 does not implement older syscalls such as open, fork and dup2. I added compatibility wrappers that emulate fork using clone and dup2 using dup3. I replaced open with openat, which I believe is available on all supported systems.
aarch64 also does not support certain ptrace requests, such as PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_PEEKUSER and PTRACE_POKEUSER. Instead, PTRACE_GETREGSET and PTRACE_SETREGSET must be used for all register manipulations. I believe these are available on all supported systems, so we shouldn't need special cases for aarch64.
I also switched from using the user struct to using user_regs_struct/user_regs/pt_regs depending on the architecture. aarch64 does not have a user struct, and I felt that it would be more clear and consistent to use just the register struct on all arches. AFAIK, ptrace only fills the register part of the user struct anyway.
I have tested these changes under Linux on x86_64, armv6l, armv7l, aarch64, and powerpc.
I attempted to test on FreeBSD 11.2, but running reptyr (even without this PR) results in a kernel panic. Besides whatever is wrong with reptyr, an unprivileged user being able to cause a panic seems like a fairly serious FreeBSD bug.

Panic backtrace
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x2b0
fault code		= supervisor write data, page not present
instruction pointer	= 0x20:0xffffffff80b60eea
stack pointer	        = 0x28:0xfffffe007af43760
frame pointer	        = 0x28:0xfffffe007af43880
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 747 (reptyr)
trap number		= 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80b3d567 at kdb_backtrace+0x67
#1 0xffffffff80af6b07 at vpanic+0x177
#2 0xffffffff80af6983 at panic+0x43
#3 0xffffffff80f77faf at trap_fatal+0x35f
#4 0xffffffff80f78009 at trap_pfault+0x49
#5 0xffffffff80f777d7 at trap+0x2c7
#6 0xffffffff80f5769c at calltrap+0x8
#7 0xffffffff80b5fa3d at sys_ptrace+0x18d
#8 0xffffffff80f79038 at amd64_syscall+0xa38
#9 0xffffffff80f57eed at fast_syscall_common+0x101

Yeah, I'm happy to tag a new release. I'll do so sometime this week.

@lopsided98 I tagged 0.7.0!

Thanks!


overloaded assertEquals methods do not work from Groovy

After upgrading to TestNG 7.7.0, we started seeing a bunch of "Ambiguous method overloading for method org.testng.Assert#assertEquals." GroovyRuntimeExceptions when running our Groovy-based tests. We did not see these exceptions with TestNG 7.4.x.
Note, JUnit 5 had a similar issue, that they have fixed (see https://github.com/junit-team/junit5/issues/1710).
TestNG Version
7.7.0
Expected behavior
The overloaded Assert#assertEquals methods should work.
Actual behavior
We get exceptions like the following when running our tests:
23:16:31  groovy.lang.GroovyRuntimeException:
23:16:31  Ambiguous method overloading for method org.testng.Assert#assertEquals.
23:16:31  Cannot resolve which method to invoke for [class java.lang.Integer, class java.lang.Integer] due to overlapping prototypes between:
23:16:31  	[int, class java.lang.Integer]
23:16:31  	[class java.lang.Integer, int]
23:16:31  	at groovy.lang.MetaClassImpl.doChooseMostSpecificParams(MetaClassImpl.java:3354)
23:16:31  	at groovy.lang.MetaClassImpl.chooseMostSpecificParams(MetaClassImpl.java:3330)
23:16:31  	at groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:3320)
23:16:31  	at groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:3264)
23:16:31  	at groovy.lang.MetaClassImpl.pickStaticMethod(MetaClassImpl.java:1594)
23:16:31  	at groovy.lang.MetaClassImpl.retrieveStaticMethod(MetaClassImpl.java:1491)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.Selector$MethodSelector.chooseMeta(Selector.java:597)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.Selector$MethodSelector.setCallSiteTarget(Selector.java:1010)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fallback(IndyInterface.java:351)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.IndyInterface.access$000(IndyInterface.java:49)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.IndyInterface$FallbackSupplier.get(IndyInterface.java:281)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.IndyInterface.lambda$fromCache$1(IndyInterface.java:301)
23:16:31  	at org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap.lambda$compute$0(ConcurrentLinkedHashMap.java:788)
23:16:31  	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705)
23:16:31  	at org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap.compute(ConcurrentLinkedHashMap.java:800)
23:16:31  	at org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap.computeIfAbsent(ConcurrentLinkedHashMap.java:777)
23:16:31  	at org.codehaus.groovy.runtime.memoize.LRUCache.getAndPut(LRUCache.java:63)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.CacheableCallSite.getAndPut(CacheableCallSite.java:48)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.IndyInterface.lambda$fromCache$2(IndyInterface.java:298)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.IndyInterface.doWithCallSite(IndyInterface.java:367)
23:16:31  	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:295)

Is the issue reproducible on runner?

[ ] Shell
[x] Maven
[ ] Gradle
[ ] Ant
[ ] Eclipse
[x] IntelliJ
[ ] NetBeans

Test case sample
All of these tests fail with TestNG 7.7.0:
import org.testng.annotations.Test

import static org.testng.Assert.assertEquals

class AssertEqualsBugTest {

    @Test
    void testAssertEqualsWorksWithBooleans() {
        assertEquals(true, true)
    }

    @Test
    void testAssertEqualsWorksWithBytes() {
        assertEquals(Byte.valueOf((byte) 10), Byte.valueOf((byte) 10))
    }

    @Test
    void testAssertEqualsWorksWithChars() {
        assertEquals(Character.valueOf((char) 10), Character.valueOf((char) 10))
    }

    @Test
    void testAssertEqualsWorksWithShorts() {
        assertEquals(Short.valueOf((short) 10), Short.valueOf((short) 10))
    }

    @Test
    void testAssertEqualsWorksWithInts() {
        assertEquals(10, 10)
    }

    @Test
    void testAssertEqualsWorksWithLongs() {
        assertEquals(Long.valueOf((long) 10), Long.valueOf((long) 10))
    }

    @Test
    void testAssertEqualsWorksWithFloats() {
        assertEquals(Float.valueOf((float) 10), Float.valueOf((float) 10))
    }

    @Test
    void testAssertEqualsWorksWithDoubles() {
        assertEquals(Double.valueOf((double) 10), Double.valueOf((double) 10))
    }

}

Contribution guidelines
In case you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.

@ispringer - I will take a look at this over the weekend.

@krmahadevan - Wow, amazing turnaround time! Thanks!

@krmahadevan, any chance you can release a 7.7.1 with this fix? It would allow my team to avoid refactoring a couple hundred assertEquals calls in order to upgrade to 7.x.

@ispringer - Yes we can do a bug fix release. Lets wait till this weekend to see if there are any more discrepancies that need to be addressed. If there's nothing, then first thing Monday morning (Dec 26) you should see a bug fix release ?
@juherr - What do you think ?

@krmahadevan Great for me. But not need to ask : make a release when you think it is needed.

@ispringer - I have created a 7.7.1 release and staged it.
You can consume it as below.
If you are using Maven, then please add the below repository and bump the dependency version to 7.7.1
<repository>
    <id>maven-central-staging</id>
    <url>https://oss.sonatype.org/content/repositories/orgtestng-1085</url>
</repository>

If you are using Gradle, then please add the below repository and bump the dependency version to 7.7.1
repositories {
    mavenCentral()

    maven {
        url 'https://oss.sonatype.org/content/repositories/orgtestng-1085' }
}

Once I get a confirmation from you, I will go ahead and publish 7.7.1 into Maven Central and wrap the release.

@krmahadevan, I just tried it out. All my project's tests run successfully without any assertEquals exceptions. Thanks again!

@ispringer - Thank you for the confirmation. 7.7.1 is now released. Happy new year in advance :)
https://repo1.maven.org/maven2/org/testng/testng/7.7.1/

Thanks very much. Just had the same issue and this resolved it.


Error -  train_ycb.sh - Pytorch-1.0

I used Pytorch-1.0 branch and ran ./experiments/scripts/train_ycb.sh.
Then I got the error:
pred = torch.add(torch.bmm(model_points, base), points + pred_t) RuntimeError: cublas runtime error : the GPU program failed to execute at /pytorch/aten/src/THC/THCBlas.cu:441
My system:

GeForce RTX 2080 Ti
nvidia/cuda:10.0-cudnn7-devel-ubuntu16.04

I got a same error,and hava the same GPU, is there anyone know how to deal it?

I made it work, but do not remember how exactly I did it. You can try what I fixed from here:
https://github.com/hoangcuongbk80/Object-RPE/tree/master/DenseFusion

I made it work, but do not remember how exactly I did it. You can try what I fixed from here:
https://github.com/hoangcuongbk80/Object-RPE/tree/master/DenseFusion

thank you very much,it's worked for me , although came new problem but I solved it

Great! It might come with:
Error: AttributeError: module 'lib.knn.knn_pytorch' has no attribute 'knn'
Solution: rebuild and unzip egg ile then copy *so file and knn_pytorch.py to /densefusion/lib/knn

Great! It might come with:
Error: AttributeError: module 'lib.knn.knn_pytorch' has no attribute 'knn'
Solution: rebuild and unzip egg file then copy *so file and knn_pytorch.py to /densefusion/lib/knn

yes, I met this problem and solved it by this way

@hoangcuongbk80 could you tell me how to rebuild that? I mean what the command is?
Thanks

@704051419 You can find the solution in the file below:
https://github.com/hoangcuongbk80/Object-RPE/blob/master/DenseFusion/note.txt

@MrLuer Hi,  after rebuilding that,  it caused a new problem, do you know how to deal with it?
RuntimeError: aborting at /home/llcrobot/Robby/PoseEstimation/2019_CVPR_DenseFusion/DenseFusion-Pytorch-1.0/lib/knn/src/knn.h:45 Segmentation fault (core dumped)

@MrLuer @hoangcuongbk80 @704051419 @yukezhu Hi, after rebuilding that, it caused a new problem, do you know how to deal with it?
RuntimeError: aborting at /home/llcrobot/Robby/PoseEstimation/2019_CVPR_DenseFusion/DenseFusion-Pytorch-1.0/lib/knn/src/knn.h:45 Segmentation fault (core dumped)

Did you copy *so file and knn_pytorch.py to /densefusion/lib/knn?

Yes，I have copied it

I made it work, but do not remember how exactly I did it. You can try what I fixed from here:
https://github.com/hoangcuongbk80/Object-RPE/tree/master/DenseFusion

hi, I have the same problem as you. My system also same as you.  But as I follow you suggestion , I still get some error: ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
I know this is the Pytorch version problem, but I follow the suggest and my pytorch version is torch==1.0.1.post2 . I can't solve the problem. I hope you can help me , thanks!

@RobbyHuang @SCMStone
You might try the docker image I built here. It works for me.

@RobbyHuang @SCMStone
You might try the docker image I built here. It works for me.

thanks, I will try it!

@hoangcuongbk80 @MrLuer
I got the same issue:
pred = torch.add(torch.bmm(model_points, base), points + pred_t) RuntimeError: cublas runtime error : the GPU program failed to execute at /pytorch/aten/src/THC/THCBlas.cu:441
But I don't know how to solver it by
https://github.com/hoangcuongbk80/Object-RPE/tree/master/DenseFusion
Could you elaborate it in details?
Thank you!


How to import a single file from a directory automatically

Clear and concise description of the problem
How to import a single file from a directory automatically
Suggested solution
How to import a single file from a directory automatically
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

This one would be really nice to have. Is there any workaround how to achieve it?

Sorry I didn't got the idea. Please provide more details and examples.

We can put some folder path into a dirs option, which will auto import all files in that folder. So is there any possibility to auto import only 1 specific file from a folder instead of the entire folder?

这个功能不会实现的吗？

My current solution is to create a dedicated folder for auto import, for example, ".autoimport," and then re-export all the files that need to be exported within this folder.


Reconnect when Computer wakes up from sleep

Maybe we could include this : http://stackoverflow.com/a/4080174/579623 so that a reconnect after wakeup also occures...

Same problem, when computer after sleep, the ws not reconnect


Support for references in SVG graphics

Converted from SourceForge issue 1747147, submitted by davidjbh
SVG Graphics can include links to other graphics using one of two methods:

image xlink:href="location"
use xlink:href="location"

DOST collects up the SVG file, and copies it to the output, but doesn't collect up any referenced graphics.

This is still not fixed in DITA OT 2.3. Is a fix still coming?

I've started work on this.

Here are the assumptions I am making.

Special processing of embedded or referenced SVGs is reserved only for <svgref> and <svg:svg> descendants of <svg-container> (and of course, elements specialized from these). SVG files referenced by <image> are unchanged.
SVG dependency files include CSS, other SVGs, raster image formats, and Javascript.
SVG in HTML outputs (except for CHM) can be manipulated dynamically (this is part of the value). For that reason, local dependencies (inferred by a relative path in xlink:href) should be copied to the output directory for resolution by the rendering browser. Non-local dependencies are assumed to be available on rendering.
SVG in other outputs is assumed to be static. For that reason, both local and non-local dependencies should be resolved at build time. The most flexible way to do this for all deliverables is to embed these resources (with the exception of Javascript) in the referencing SVG so they are available to later processing steps (for example, FOP). For static SVG, Javascript resources are ignored.
SVGs referenced by <svgref> are embedded in the topic as inline SVGs before other processing is done. This ensures that all SVGs are parsed in the same way, and allows different instances of the same SVG target to be rendered contextually (see the enhancements below).

I think the following enhancements would also be useful, but they might be implemented later rather than as part of basic SVG support:

<svg:use> elements that point to DITA resources should resolve to the appropriate textual content of those resources: references to topics or titled elements resolve to the textual content of the title, while references to other elements resolve to the textual content of the targeted element. This extension allows an SVG illustration to be relabeled by the build in a way that is intuitive to DITA users.
Empty <svg:a> elements that point to DITA resources should resolve in a similar manner, while also adding a link to the targeted resource.


[modify] disable fragile spces when rspec is executing in Travis CI

Coverage decreased (-0.2%) to 84.548% when pulling 60f341dbd055bb9872b54b14c8d577877388d804 on sunny4381:fixes/disable-some-specs-again into ff697f9f35bc92c5879b363d5db6bcd658eb6edd on shirasagi:master.


FSDP Example ReadTimeoutError

 7: [rank80]: urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='huggingface.co', port=443): Read timed out. (read timeout=10)

Running FSDP example, 16 p5 nodes. The example worked with 8 nodes

Suspected issue with train_util.py.
Suggested adding to line 19:
datasets.config.DOWNLOADER_TIMEOUT = 1800

and to line 478 (within streaming dataloader function)
tokenizer = AutoTokenizer.from_pretrained(tokenizer, timeout=1800)

This issue resolved by this commit.
https://github.com/aws-samples/awsome-distributed-training/commit/559e0189377a7efdc336662f98d62f070dca2642


Map Search

Subject: Map Search
Description:
Searching a location on the map and trying to find hosts
Results:
Was searching for hosts in Scotland. Everything is in English, except for the suggested locations in the drop down menu (only a little annoying but still fine - I'm located in Germany). BUT: When I type in Scotland (and select the German equivalent "Schottland") I only see two hosts, whereas actually, there are a lot more. I see the rest only if I don't specifically search for Scotland.
Backend version: develop-b3cee755
Frontend version:
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
Page: https://couchers.org/search?location=Schottland%2C+Vereinigtes+Königreich&lat=56.7861112&lng=-4.1140518#loc=6.2/56.191/-1.124
User: mathis (14723)

limitation of geo-search radius


Rethink/rework the HIE BIOS

haskell-ide-engine has the concept of a BIOS. which is the layer that interfaces with the underlying operating system, package manager, etc.
To date, we have been using modified versions of cabal-helper and ghc-mod, in forked repos from the main upstream.
It has now been several years, and we still cannot put hie onto hackage, because we do not have a clean dependency list.
So, time to reconsider our options.

Apply resources to getting cabal-helper, ghc-mod-core and ghc-mod as used by hie onto hackage.

Adapt https://github.com/kazu-yamamoto/hhp, which has cabal new-build support.

Something else, perhaps based on what ghcid is doing.

Prerequisites are that it supports stack, cabal old build, cabal new-build, and nix.
But, realistically, we can assume GHC >= 8.2.2, and for the cabal builds, cabal-install >= <IP_ADDRESS>

I have a plan which will allow implemented HIE support for bazel, obelisk etc.
@shmish111 @eskimor Can you provide me some simple sample projects which I can use to test my implementation? (Nix compatible instructions preferable)

@mpickering could you elaborate on your plan a bit more? You see, I also have a plan which means we might be duplicating effort :)

@mpickering awesome! :-) That's fortunately very easy as obelisk comes with an example project.
Just install obelisk as described here then create some empty directory and run ob init from within - you will get very small (and useless) example web service. Start the ghcid session with ob run.

Done in #1126


fix: get adapter store picker to show

Thanks! LGTM - do you want me to try it out on my sandbox or will you just merge to master?

Also when I try to go to this dicom store I get the error pasted below.
https://idc-sandbox-000.firebaseapp.com/projects/chc-tcia/locations/us-central1/datasets/breast-diagnosis/dicomStores/breast-diagnosis

@pieper, haha, losanges. I can remove the styling.
I'll try to reproduce and diagnose. You see this issue when selecting with the picker, or only when attempting to visit the route directly?

@pieper, I must not have access to the same data as you. Despite a different app token than what I use for local debugging, I see the same datasets:
Project: OHIF Cloud Healthcare (ohif-cloud-healthcare)
FWIW, I'm able to switch between datasets with what I do have access to. When I try to visit the route you've provided directly, I get a 403 (which we could handle more gracefully as well)

@dannyrb you probably need to fill out the form to access the TCIA data:
https://cloud.google.com/healthcare/docs/resources/public-datasets/tcia#cloud-healthcare-api
This will give you access to chc-tcia project dicom stores.  I think it's worth doing since there are a lot of good test datasets there (MR, CT, PET, 4d, etc).
Thanks again for your help with this 👍

@pieper a couple of odd things are causing that particular dataset to fail. The main culprit being that getName for patientName is returning an object instead of a string value.
We're also seeing issues where both modality and modalitiesInStudy are undefined. I'm drafting a small PR that should allow us to handle these situations gracefully. I'll ping you when it's up/merged.

@dannyrb did you have any trouble signing up for the tcia datasets?  Andrey also says he can add people to that project directly through our contact at Google.


Migrate auth flow to FastAPI; Shutdown Flask App

Summary:

What: Migrates auth flow to FastAPI. Removes last production flask code. Stops flask running on backend container.
Ticket: sc194360
Env: https://fastauth-frontend.dev.czgenepi.org/

Demos:
Notes:
Depends on #1069
Upgrades authlib to 1.0.1
Requires make local-sync
Checklist:

[x] I merged latest <base branch>
[x] I manually verified the change
[x] I added labels to my PR
[x] I tested in multiple browsers
[x] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

This isn't working for me at all in local dev -- is there some trick to it?

That's weird, I also got that error once but it went away when I reran the setup_dev_data.sh script after fixing the genepi-config secret string. I don't know if there's any trick to it


Bug Report

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform: 1.7.3 on windows_amd64
azure provider:
module:  1.1.6

Description
Ran though  New-ALZEnvironment -i "terraform" -c "azuredevops" selected the staarter_module been basic the first time, but then realised to add the networking we'd need that. So running hubnetworking the second time around via the accelerator seemed to do the correct changes although I noticed that the module gets renamed which caused a destroy of everything that was already setup via basic and redoes its work.
GIT Diff:
-module "enterprise-scale" {
+module "enterprise_scale" {

Run New-ALZEnvironment -i "terraform" -c "azuredevops" and use starter_module basic
Ran the resulting DevOps pipelines to get rest of bootstrapping done
Run New-ALZEnvironment -i "terraform" -c "azuredevops" and use starter_module hubnetworking
Run validate and see output looks incorrect
Result Plan: 258 to add, 0 to change, 247 to destroy.

Hi @andrew-flatters-bliss. Thanks for reporting this. This is not a scenario we have tested, but theoretically it should be possible, so will take a look and figure out why it is doing this and report back.

Cheers @jaredfholgate, also great talk on Wednesday just got around to checking it out today.  👍

I tried to replicate this, but have been unable to. I used an inputs config file to ensure I only changed the starter module and nothing else, but works exactly the same as if I had supplied the variables via the prompts.

Deploy basic using command: New-ALZEnvironment -i "terraform" -c "azuredevops" -o "c:\terraformTest" -inputs "c:\terraformConfigTest\inputs-azuredevops.yaml"
Change to hubnetworking starter module in inputs config.
Deploy again using same command: New-ALZEnvironment -i "terraform" -c "azuredevops" -o "c:\terraformTest" -inputs "c:\terraformConfigTest\inputs-azuredevops.yaml"

I see this:

Is it possible you changed something else like the name variables:

Changing any of these would likely have the impact you saw of a full destroy and apply.

I followed your steps above using the inputs-azuredevops.yaml to make sure I didn't miss anything it asked for the additional networking variables as these wasn't in my config file which I would have expected but seems it still resulting in the module name been changed - I tried to manually change this but this made the pipelines error so I assume this is getting changed between basic and hubnetworking  not agreeing what the module is called.

I do get Plan: 0 to add, 4 to change, 0 to destroy. on this particular file the large amounts of destroy is when it actually runs the resulting terraform on a subscription (was trying to reproduce this but all the policies are taking a good 40 mins ish to apply. But with that module been renamed the same with my testing I would think this would result in the same)

Looking through the templates in this repo to see if I could spot it, looks like they should be underscored (which I think is the Terraform convention anyway)
basic:
https://github.com/Azure/alz-terraform-accelerator/blob/241543fc80ee3070e8c0ddf0edd1cd7ab04bcb31/templates/basic/main.tf#L1
complete:
https://github.com/Azure/alz-terraform-accelerator/blob/241543fc80ee3070e8c0ddf0edd1cd7ab04bcb31/templates/complete/main.tf#L1
hubnetworking:
https://github.com/Azure/alz-terraform-accelerator/blob/241543fc80ee3070e8c0ddf0edd1cd7ab04bcb31/templates/hubnetworking/main.tf#L1

May have also been barking up the wrong tree just was following the instructions but looking at the verified modules (which is what I intended on doing) just spotted the other template for complete_vnext so this may well be a bug related to the existing CAF templates. As I noticed
source  = "Azure/caf-enterprise-scale/azurerm"  rather than things prefixed with the newer avm

Right, I understand the issue now. I thought it was the bootstrap run where you were seeing the replace. This is definitely not something we support, but renaming the modules to match is not a big deal, so will do that.

Released in v1.1.0


Send working group assocs to rummager as policy groups.

Policy group is the term used already in Rummager,
so I'm sticking with that for now.
Group associations are imported from a Whitehall CSV dump in a migration.
Prerequisites:

[x] Merge https://github.com/alphagov/rummager/pull/434

Postrequisites:

[ ] Run rake publishing_api:publish_policies in policy publisher

The above Rummager PR must be deployed before this one.
Required for https://trello.com/c/pV7ExOoE/203-5-associate-policy-to-a-group

There doesn't appear to be any Policy model specs for the working groups code. Worth adding some coverage for completeness?

@tekin tests added.  As discussed let's wait until the rummager changes have gone out before merging this.


Migrate squel to kysely

This PR is just a PoC of migrating squel to kysely for now.

Tests are updated a little bit to match syntax generated by kysely.

SQL keywords are in lower case
table and column names are in double quotes
parameters are tested separately instead of inline

A problem I am currently facing to complete this is migrating the method makeBooleanFilter.
With sequel library we were just concatenating the statements but this does not work very easily in kysely.
The "OR" statements needs to be add by calling or method which does fit very well in the current style of code written here.
There is another way of using raw SQL which does support parameters automatically however I am unable to implement that.

Hey @kevin-dp, yes that is the code copied from squel implementation and is not working with Kysely.
The problem is that all the or statements need to be added by calling the or method of the Kysely's respective object which does not fill well in the current implementation style of the code.
And there is another way to achieve this which is raw SQL, that is I am unable to understand and implement.

@ygarg465 Do you understand the changes that are needed to make it work with or? I'm fine with changing to a better approach to build these queries (using Kysely). I would avoid dropping down to raw SQL as i don't think that will mix well with the rest of the builder that uses Kysely. Unfortunately, I don't have the capacity to help on the implementation of the builder right now.

@kevin-dp I have to look at the implementation again for or as it's been some time since I have worked with the library.
I will get back to you with a implementation for the same that you can review

👋 we've been working the last month on a rebuild of the Electric server over at a temporary repo https://github.com/electric-sql/electric-next/
You can read more about why we made the decision at https://next.electric-sql.com/about
We're really excited about all the new possibilities the new server brings and we hope you'll check it out soon and give us your feedback.
We're now moving the temporary repo back here. As part of that migration we're closing all the old issues and PRs. We really appreciate you taking the time to investigate and create this improvement!


ADAM updates and stylesheet fix

relinked broken stylesheet
updates to ADAM downstream

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/246/
Test PASSed.


Information on captured face landmark

There are few standards, wonder which one this project provides on the resolution of the facial landmark?

I assume you're interested in "How many and which points does det.DetectFaces(img)[0].Landmarks return?"?
FaceAiSharp currently uses SCRFD for face detection and landmarks. SCRFD emits 5 facial landmark points, in this order:

left eye center
right eye center
nose tip
left mouth corner
right mouth corner

FaceAiSharp is loosley prepared to be extended for usage with other models too. Abstractions like IFaceLandmarksDetector don't make any assumptions about what and how many landmarks are detected. ArcFaceEmbeddingsGenerator.AlignFaceUsingLandmarks does however currently assume it is called with SCRFD's points as an argument.
Feel free to re-open or discuss further if this doesn't answer your question.

The landmarks in the image you posted look similar to those in the iBUG 300W dataset. One widely used library that detects these 68 points is dlib. While it would certainly be possible to extend FaceAiSharp to support dlib-like landmarks, this feature is currently not implemented.


Save screenshot of the whole web page

Currently it's possible to save only visible area of window. Need to investigate how to achieve so called full web page saving.

Probably not possible with screenshot functionality. Need to use a 3rd party solution for that (for example Watir-Webdriver with PhantomJS driver or something). Closing this.


[$500]  Deeplinks – App crashes when navigate via Deeplink and log in with a new account.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.85-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Log out of New Expensify
Navigate to this link - https://staging.new.expensify.com/r/3504895439653267
Click sign in in announce room

Expected Result:
The announce room opens
Actual Result:
App crashes when navigate via Deeplink https://staging.new.expensify.com/r/3504895439653267
and log in with a new account
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Android: Native

Android: mWeb Chrome

https://github.com/Expensify/App/assets/78819774/158a8422-09d2-493d-a76d-05756b492b78
logs2.txt

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01c22034bcedf8303e
Upwork Job ID:<PHONE_NUMBER>768844800
Last Price Increase: 2023-10-17

I am not able to reproduce the issue

unable to reproduce this error locally

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~018287b8ccf4f064ac

@lanitochka17 Is QA able to reproduce this issue? Looks like we have two confirmed contributors that aren't seeing the same.

No one seems able to reproduce. Closing.

Still waiting for proposals

@JmillsExpensify maybe we should consider doubling? App crash for new acc is a critical bug, what do you think?

Issue not reproducible during KI retests. (First week)

Going to go ahead and close again since the issue is no longer reproducible for a second time.


This ValueListenableBuilder widget cannot be marked as needing to build because the framework is locked.

I'm trying to go "home" to the widget with SideMenu, navigating from a child page of a page in the SideMenu:
Navigator.pushNamedAndRemoveUntil(context, '/', (route) => false);
Causes this exception:
======== Exception caught by foundation library ====================================================
The following assertion was thrown while dispatching notifications for DisplayModeNotifier:
setState() or markNeedsBuild() called when widget tree was locked.

This ValueListenableBuilder<SideMenuDisplayMode> widget cannot be marked as needing to build because the framework is locked.

@Jamalianpour - awesome!! Thank you!! I look forward to it 👍

@Jamalianpour when will the next release happen? Sorry for the question - this is one of the last things blocking our web launch!

@kylegraycar, The new version will be released tonight

Version 0.4.1 has been released on pub.dev


can you help me to solve this error?

ActionNotFoundException: Cannot access action 'lead_form_p1', as that name is not a registered action for this domain. Available actions are:
- action_listen
- action_restart
- action_session_start
- action_default_fallback
- action_deactivate_loop
- action_revert_fallback_events
- action_default_ask_affirmation
- action_default_ask_rephrase
- action_two_stage_fallback
- action_back
- ...
- utter_greet
- utter_menu
- utter_urlAvailable
- utter_lead_q1
- utter_lead_q2
- utter_lead_q3
- utter_lead_q4
- utter_lead_q5
- utter_goodbye
- utter_bot_challenge
- utter_ask_budget
- utter_ask_email
- utter_ask_mockup
- utter_ask_name
- utter_ask_phone
- utter_ask_requirement
- utter_ask_timeline
- utter_ask_url
(bot) D:\Rasa>.vscode

Have you registered your action in the domain ? if not have a read


Bump actions/checkout and setup-python to v4.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2631f44) 87.21% compared to head (a7c9a35) 87.21%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #145   +/-   ##
=======================================
  Coverage   87.21%   87.21%
=======================================
  Files          29       29
  Lines         837      837
=======================================
  Hits          730      730
  Misses        107      107

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


client has run out of available brokers to talk to (Is your cluster reachable?)

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version:1.0
Kafka Version:0.8
Go Version:1.8
Configuration
What configuration values are you using for Sarama and Kafka?
Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
Problem Description
I use sarama(version 1.0) to send lots of messages to kafka of version 0.8, some of the messages can be sent successfully, but some of them failed, and I got "client has run out of available brokers to talk to (Is your cluster reachable?)", please help me, thanks a lot.

Please provide the Sarama logs, they will have more details about what the error is.

I ran into this issue, too, but was able to resolve it.
I added
//verbose debugging (comment this line to disabled verbose sarama logging)
sarama.Logger = log.New(os.Stdout, "[sarama] ", log.LstdFlags)

to enable the verbose logging. After which, it said that I was not including my port number in the connection string. I would have thought it would use the default kafka port, if unspecified, as rdkafka does, but samara requires it to be explicitly set.
I actually left verbose logging on and was able to gain valuable information on another hard to diagnose issue. So, I've chosen to leave verbose logging on for production because it doesn't appear to be too verbose.

The logging is intended to be fairly quiet - we run with it in production. The only reason it doesn't default to enabled is because it's not good practice for a library to start randomly generating output to stdout, and there's no other good default location to log to.

Ah, ya, that's a bit awkward. We just pass the string you provide to https://golang.org/pkg/net/#Dial so Sarama never treats it as structured at all. I suppose we could use https://golang.org/pkg/net/#SplitHostPort or something to parse it, default the port number, and then join it together again?
I wouldn't be opposed to a Pull Request implementing that, but it seems like a lot of work for minor benefit.

With recent kafka versions now using a separate port for secure/TLS connections, defaulting the port becomes even more error-prone, so I don't think there's enough value in us trying to do that.


VMDK files dont merge by themselves after you upload to datastore.  you may have to use other tools to combine those vmdk's.

VMDK files dont merge by themselves after you upload to datastore.  you may have to use other tools to combine those vmdk's.
"After the upload is complete, you see the file in the datastore in the folder you created. Now upload the second VMDK file to the same datastore. Once both the files are uploaded, the two files are merged into a single file. You then see a single file in the directory"

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

ID: 2773d821-d006-8772-5c1a-34c82cb7812c
Version Independent ID: e1271f82-2b73-c022-7c40-08d55473da8c
Content: Tutorial on provision Azure Data Box Gateway in VMware
Content Source: articles/databox-online/data-box-gateway-deploy-provision-vmware.md
Service: databox
Sub-service: gateway
GitHub Login: @alkohli
Microsoft Alias: alkohli

@medavamshi  That's not the behavior I observed during the testing to create the docs. The files do merge and I didn't have to perform any extra steps. Are your datastores of the type VMFS5? If that is not the case, I recall that those files didn't merge. Could you please check and let me know? And also provide information around which ESXi version you are using. Thanks!

it would be helpful if its  a single vmdk file rather than convert it.
vmware-vdiskmanager.exe -r edge-ga.1.5.814.447-42623-21029000-r_gateway_servercore_guest_o.vmdk" -t 0 c:\files\combined.vmdk
(vmware-vdiskmanager.exe is part of the vmware workstation tool).

mine are VMFS6.  interesting. VMware ESXi, 6.7.0, 9484548

conversion with above command like i said worked on esxi6.7 with vmfs6

@medavamshi  Good to know this :-). I believe we only tested with VMFS5 as written in the docs. I will need to check with Engg team here regarding if we support VMFS6. I think as of today that is not the case but will check and let you know.

@medavamshi  For now only VMFS5 are supported (as those were tested inhouse). So will leave the docs as-is until the VMFS6 support comes in (as in those get tested).
@Adam-Smith-MSFT  #please-close  We were able to provide the info on when the files do not merge. Cannot change the docs until the product starts supporting VMFS6. Once that happens, the docs will be updated. Thanks!

I do see this issue as well. esxi6.7 is the default downloadable available currently with VMWare. I was unable to download older versions of vmware to get support for datastore VMFS5. Could you please let us know of any link to download esxi6.5 or may be provide single vmdk file instead of merging it?

I see this problem as well. I downloaded the sparse vmdk and the regular (less than 1kb) vmdk. The image didn't merge. When browsing for the secondary disk, it doesn't appear. It won't show up. I also verified the images were good with the md5 checksum from the downloaded zip


feat: spec-0.3.0

This PR

Adds all the features required to reach compliance with spec 0.3.0

Remove context transformation
Verify context merging order for before hooks

Related Issues

Fixes #8
Notes

Follow-up Tasks

How to test

The commits specific to 0.3.0 seem fine, but I've left a few comments on the PR for the 0.2.0 updates which can be seen in this PR.
Can we cherry pick the 0.3.0 commit onto a clean branch or does it rely on previous commits?
@ajhelsby


unknown command cmount for rclone

Error: Command failed: "/Users/Essung/sidenoder/rclone" cmount --read-only --rc --rc-no-auth --config="/Users/Essung/Downloads/rclone_all_271221.conf" FFA-06: "/var/folders/bl/ktlgr97s1wx5pq8d9trg_7240000gn/T/mnt"
Error: unknown command "cmount" for "rclone"
Run 'rclone --help' for usage.
You could use 'rclone selfupdate' to get latest features.
2022/01/06 12:27:53 Fatal error: unknown command "cmount" for "rclone"
XXXXXXXXXXXXXXX
Not sure what I have done wrong. I have followed your instructions and looks like everything else works but can't get pass this issue.

replaced rclone in the directory and voila, it worked. Somehow, it was something wrong that the one I used.


Make a PR to improve HWI's support of the 2.* app

This issue tracks a number of improvements to make to the HWI repository.
ideally, we should do this before the actual app's release, in order to minimize disruption.
Development of the PR in https://github.com/bigspider/HWI/tree/improvements.
The main issue is to make sure that HWI doesn't break with the new app, and never tries the legacy protocol if the app version is >= 2.1.0.
Most urgent:

[x] Should add "Bitcoin Legacy" and "Bitcoin Testnet Legacy" as accepted appnames; for them, the legacy protocol should be used regardless of the version.

Other improvements:

[x] Port upstream changes from our python library. The 2.1.0 has a new version of the protocol (read here), we should generally switch to that when possible as it simplifies some things. Perhaps we could just use the legacy protocol for any version <2.1.0, and just use the new protocol with version P1=1 for any 2.1.0. This shouldn't break too many things and will allow to simplify some code.
[x] These limitations are fixed in more recent versions of the app. There shouldn't be changes to do in the code, just update the docs. (double check)
[x] This limitation is removed in the 2.1.0 version of the app
[x] sign_message: in HWI it is currently using the legacy protocol. We could switch to the native new protocol of version 2.1.0 (and stick to the current code if version is < 2.1.0)
[x] display_multisig_address: not implemented; we could do it, but we would have to register the policy first (like is done when signing). Not great, but better than nothing.
[x] Figure out how to let the HWI repo fetch a fresh binary for the bitcoin app they already did

PR open: https://github.com/bitcoin-core/HWI/pull/637
Will continue there.


Weekly PR

Improve #122 Find a way to keep user settings in Unity3D even if removing SOOMLA
Improve Receive ValueObject instead of separate params

@borisspektor @refaelos, it's ready to merge.

@borisspektor @refaelos, it's ready to merge.

@borisspektor @refaelos, it's ready to merge.


Open live writer works local but does not work on server

i am using OpenLiveWriter with Orchard blog i build and run orchard on my local machine and it works fine but when i publish my website on server it can not connect it shows this error

i even used my exact blog address and it gives me same error can anyone help me?

Looks like your server is redirecting the client to https. Try to use a url with https instead when you connect to the server.

I am opening it as an issue just to track the need of taking into account the redirections.

Hi i have tested both http and https and the result is the same

This doesn't look like the usual dialog that pops up to enter the credential. Did you follow the tutorial?

yes and it work on my local machin like a charm

ok i found the problem.
when i enable Secure Sockets Layer module this problem will happen now i have disabled this module and everything works fine

Maybe the XMLRPC module doesn't work in this case, thanks for the repro.


Verify NSNumber & CIColor filters

[x] Color Monochrome			CIColorMonochrome
[ ] Constant Color			CIConstantColorGenerator
[x] False Color			CIFalseColor
[ ] Spot Color			CISpotColor
[x] White Point Adjust			CIWhitePointAdjust

Constant Color CIConstantColorGenerator - can't open this filter;
False Color CIFalseColor, White Point Adjust CIWhitePointAdjust - only black containers;
Spot Color CISpotColor - don't have this filter;

Spot Color CISpotColor - don't find this filter;
Constant Color CIConstantColorGenerator -  container with only one color


Errors not highlighted on typing

Related:
#158
#159
#123

Closed in favor of #123. Also, own in-demand semantic analyzer now available at --enable=analyzer_diagnostics


feat: v3 support auto switch song source when invalid

https://github.com/listen1/listen1_chrome_extension/pull/708


Update ACL with PATCH method, ignore the plugin validation

Updating ACL with PATCH method
When I created the API and attached the ACL plugin in first time everything is OK, but I need to update the ACL configuration and I did this using PATCH method with another configuration. Look the example bellow.
Steps
1. Create API:
$ http POST localhost:8001/apis name=mockbin request_host=mockbin.com upstream_url=http://mockbin.com/
{
    "created_at":<PHONE_NUMBER>000,
    "id": "e82b96fb-a85e-4f62-87ef-4d47f538cd28",
    "name": "mockbin",
    "preserve_host": false,
    "request_host": "mockbin.com",
    "strip_request_path": false,
    "upstream_url": "http://mockbin.com/"
}

2. Attach ACL plugin:
$ http POST localhost:8001/apis/mockbin/plugins name=acl config.whitelist=admin
{
    "api_id": "e82b96fb-a85e-4f62-87ef-4d47f538cd28",
    "config": {
        "whitelist": [
            "admin"
        ]
    },
    "created_at":<PHONE_NUMBER>000,
    "enabled": true,
    "id": "b51917e1-b3a6-4080-9822-d8340db2807e",
    "name": "acl"
}

3. Update ACL plugin configuration:
$ http PATCH localhost:8001/apis/mockbin/plugins/b51917e1-b3a6-4080-9822-d8340db2807e config.blacklist=admin
{
    "api_id": "e82b96fb-a85e-4f62-87ef-4d47f538cd28",
    "config": {
        "blacklist": [
            "admin"
        ],
        "whitelist": [
            "admin"
        ]
    },
    "created_at":<PHONE_NUMBER>000,
    "enabled": true,
    "id": "b51917e1-b3a6-4080-9822-d8340db2807e",
    "name": "acl"
}

4. Update ACL plugin configuration with PUT:
http PUT localhost:8001/apis/mockbin/plugins/b51917e1-b3a6-4080-9822-d8340db2807e config.blacklist=admin
{
    "message": "Method not allowed"
}

Unfortunately, the PUT method is not enabled to update the ACL plugin and when use the PATCH method, the validation does not work.
Additional Details & Logs

Kong version (0.9.0)
OSX - Docker

When using PUT, I believe that you would have to execute:
$ http PUT localhost:8001/apis/mockbin/plugins/ \
     config.blacklist=admin

See the response:
$ http PUT localhost:8001/apis/mockbin/plugins/ id=b51917e1-b3a6-4080-9822-d8340db2807e config.blacklist=admin
{
    "name": "name is required"
}

If I set the name, the api require created_at field.
We have two issues here, first the update using PUT doesn't work, and the update using PATCH doesn't validate the plugins requirements.

I have just stumbled across this PATCH bug on the ACL plugin too. I can set a whitelist and blacklist at the same time with the following:
curl -X POST http://localhost:8001/plugins \
    --data "name=acl" \
    --data "config.whitelist=group1, group2"

curl -X PATCH http://localhost:8001/plugins/{id} \
    --data "name=acl" \
    --data "config.blacklist=group3, group4"

This was found on versions 0.10.0 and 0.10.1.

I've just discovered that this same issue also exists with the IP Restriction plugin.

This is somewhat related to #2430. Looks like we need to clean up the PATCH interfaces for some of these routes.

I tried on a specific API and I could update the ACL plugin in this way
curl -X POST http://localhost:8001/apis/{api_id}/plugins --data "name=acl" --data "config.whitelist=group1"
curl -X PATCH http://localhost:8001/apis/{api_id}/plugins/{plugin_id} --data "config.whitelist=group3"

I'll close this now as I am fairly certain that this has been fixed since. Please re-open, if you still feel there are issues with the admin api regarding to this.


Scanner 2.27.2

Description
Update Scanner for 3.73
Checklist

[x] Investigated and inspected CI test results
~[ ] Unit test and regression tests added
~[ ] Evaluated and added CHANGELOG entry if required~
~[x] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
CI

/test all

/test images

/retest


Disallow re-use of "became unfunded" offers & deferred payments numerical stability

Computing the liquidity of a strand works by walking a strand in reverse
to find the amount needed to feed into the strand to deliver the desired
output. If a step is unable to deliver the desired output, it is a
limiting step. The view is thrown out (resetting the balances, offers,
and deferred credits table), the limiting step is re-executed, and the
algorithm continues until the first step is reached. Then the steps from
one past the limiting step to the end are executed.
The algorithm above does not work if the liquidity decreases then
re-executing the steps. This can happen if an offer that was made
unfunded is now funded (the quality would go up, but the liquidity would
go down at the new quality). Disallowing the re-use of "became unfunded"
offers prevents the above scenario.
Deferred credits numerical stability is improved. The deferred credits algorithm took the current
balance and subtracted the recorded credits. Conceptually, this is the
same as taking the original balance, adding all the credits,
subtracting all the debits, and subtracting all the credits. The new
algorithm records the original balance and subtracts the debits. This
prevents errors that occur when the original balance and the recorded
credits have large differences in magnitude.
Additionally, XRP credits were recorded incorrectly in the deferred
credits table (the line was between the sender and receiver, rather than
the root account).
@scottschurr @nbougalis

This can still happen if an offer that was made unfunded while walking the path in reverse becomes unfunded earlier or later while waking the path forwards. We already disallow paths that re-visit the same asset, and we already return an internal error if the forward path walk produces a different result from the reverse path walk.
There's no harm in this change. But we'll never be able to get path the re-visit the same asset to work correctly. We already look at each node in a path except for the recipient or an issuer that follows an order book and if any two nodes output the same asset, we reject the path with temBAD_PATH_LOOP. This covers every case, I think, where the reverse path produces a different result from the forward path other than offers that output XRP combining with offers that reduce a market maker's reserve requirement. We'll still return internal errors if we stumble on those in the limiting step.

I left a few notes and quibbles, but I saw no real issues.  :+1:

@scottschurr @nbougalis I'm closing this for now. Rather than black-list a set of offers, a better solution is to detect strands that contain steps that may un-fund offers in other steps and disallow those strands. I will resubmit with the new solution.
The bug fix commits will remain unchanged.


Move login to buyer app

See: https://www.pivotaltracker.com/story/show/111536514
This copies login functionality from the supplier app, allowing login by users with any role.  It also adds routes for creating user accounts with buyer role.
It also does a bit of refactoring - the single views file is split into logical sections, and a couple of routes with a deprecation date of 1st Jan 2016 have been removed.
This is ready for review, but not for merging yet until after the following things are done:

[x] Messaging OK'd by @superroz and/or @ralph-hawkins (e.g. Invalid email domain message)
[ ] Admin app bugfix to stop it relying on the deprecated /service/<id> route deleted here
[x] Supplier app changes to remove login and password reset pages
[x] Credentaials update to make sure supplier and buyer app have identical secret keys so that login can be shared between both apps
[x] https://github.com/alphagov/digitalmarketplace-utils/pull/235
[x] https://github.com/alphagov/digitalmarketplace-apiclient/pull/8

Finally! Travis is happy.
Fingers crossed this is ready to go now.

:+1:


Fetcher emits MaxListenersExceededWarning

(node:28) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Commander]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:28) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [Commander]. Use emitter.setMaxListeners() to increase limit
(node:28) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 ready listeners added to [Commander]. Use emitter.setMaxListeners() to increase limit

@Bisonai/orakl-team I am closing this issue since this part of code will be decommissioned during deployment of orakl node.


[CLOSED] Add Swift 4 env var to Travis

 Issue by Wilson-Ding1
Thursday Sep 28, 2017 at 04:01 GMT
Originally opened as https://github.ibm.com/IBM-Swift/Kitura-CSRF/issues/29

 Issue by quanvo87
Thursday Aug 03, 2017 at 20:51 GMT
Originally opened as https://github.com/IBM-Swift/Kitura-CSRF/pull/29

Description

Motivation and Context

How Has This Been Tested?

Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

quanvo87 included the following code: https://github.com/IBM-Swift/Kitura-CSRF/pull/29/commits

 Comment by Wilson-Ding1
Thursday Sep 28, 2017 at 04:01 GMT

 Comment by codecov-io
Thursday Aug 03, 2017 at 22:11 GMT

Codecov Report

Merging #29 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   75.32%   75.32%
=======================================
  Files           1        1
  Lines          77       77
=======================================
  Hits           58       58
  Misses         19       19

Flag
Coverage Δ

#KituraCSRF
75.32% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


refactor: Remove ecto in favor of using DateTime, allow newer version…

…s of elixir
Let me know what you think

@johnnyji It's been a couple of months so I'm bumping this again. Any reason why this can't be merged + released?


punctuation and grammatical fixes

 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.

Thank you so much!


Keep (very) old browser support?

Hi all,
Cesium is currently able to gracefully degrade on old browsers without ES5 support.
Is that something that you want to keep?
If it's not the case:

[x] Core/defineProperties (#8633)
[x] Core/freezeObject (#8640)
[x] Core/isArray (#8526)

can be removed while still maintaining gracefully degrade for IE >= 9
See also https://github.com/AnalyticalGraphicsInc/cesium/issues/4554#issuecomment-257316621

I believe we only officially support IE11+, so this sounds like this would be OK to remove these. I'm marking this issue as "cleanup".

I think everything has be done, closing

Thanks again for your work on this @fredj!


[Autocomplete] Use Popper with when disablePortal

By using the Popper we can use <Autocomplete disablePortal /> in a flex container and resolve the misleading naming issue i.e. disablePortal now only disables the portal instead of disabling the Popper.
disablePortal is important for a11y on VO
Other minor fixes:

Avoid role in label
The UI already communicates what kind of interactions are allowed. We don't need to repeat that in the label.
It's especially annoying with screen readers which announced "combobox combobox"

Preview: https://deploy-preview-23263--material-ui.netlify.app/components/autocomplete/
Closes #23471

I wonder about the tradeoff of not using the default prop for the first demo. It sends mixed signals.

I'm just completely lost what or if you have a principled opinion on a11y. Should components pass A (AA, AAA) by default? Should demos pass A (AA, AAA)?
Your statements in this PR are not reconcilable with https://github.com/mui-org/material-ui/pull/22382#issuecomment-698880283.
Right now Autocomplete is not passing A by default in mobile VO. But you don't even want to document a passable version on the demo page.

Otherwise, maybe we should document the downsides of disabling the portal? And maybe add a warning below the first demo about the usage of disablePortal that links to the downside, so developers know about it once they face it?

We should do that regardless of this PR. As far as I know we don't explain anywhere why you should/would want to use disablePortal and what downsides it has.

I'm just completely lost what or if you have a principled opinion on a11y. Should components pass A (AA, AAA) by default? Should demos pass A (AA, AAA)?

This is an interesting topic, I have never looked into yet. How do the levels depend on the supported screen readers? Is it based on the "most popular" ones, on what's the intrinsic implementation delivers regardless of the bugs screen readers could have, or else?

We should do that regardless of this PR.

👍

we don't explain anywhere why you should/would want to use disablePortal and what downsides it has.

We only have: https://material-ui.com/components/autocomplete/#ios-voiceover

This is an interesting topic

We already discussed this. You changed your opinion now. Or maybe you never had one and I assumed that the things you wrote in https://github.com/mui-org/material-ui/pull/22382#issuecomment-698880283 were your opinion? Could you give me your opinion?

How do the levels depend on the supported screen readers?

Just like any other feature? A level can only ever makes sense with a device. You can't say that a UI passes level X without specifying on what device you verified that. For example, it doesn't make any sense to say  that your UI is keyboard accessible if you didn't test it with a keyboard device.
I assumed it was obvious that a feature should work with the most popular device. So I'm making it explicit now: If we support mobile and we want AA by default then our components have to pass VO on iOS since that is by far the most popular screen reader on mobile (source). Otherwise it would be like saying that our components are interactive unless used with google chrome.

We already discussed this.

What I can see in https://github.com/mui-org/material-ui/pull/22382#issuecomment-698880283 is about the need to reach a specific level. However, it doesn't cover what screen readers or which versions of a screereader is supported.

A level can only ever makes sense with a device

This is the discussion I wanted to have :). As #14187, maybe we should document the screen readers and the versions we support?
If we take Kendo-UI as an example. They don't seem to mention any specific screen readers supported. However, they mention the limitations: of the combobox but it doesn't stop them to label it AA. Does it work with iOS VoiceOver?

However, it doesn't cover what screen readers or which versions of a screereader is supported.

Sure. I implicitly assumed this at least includes the most popular screen reader. I assumed that it would make no sense if we decide to reach a level on  a rarely used screen reader. Just like I wouldn't expect that a feature discussion targets IE 10 but rather Chrome.
It seems like you want to change the approach with screen readers and not go by popularity. What would you like to do and why not use the same approach we take with browsers? That would be the consistent variant which is what you prefer oftentimes.

If we take Kendo-UI as an example. They don't seem to mention any specific screen readers supported.

What is the normative statement here?  These cannot tell us what we should do. Unless we are just copy-cats that copy code from other repositories.

I implicitly assumed this at least includes the most popular screen reader.

Thanks for sharing the survey on the most popular screen readers. This definitely makes sense. Would it be worth documenting each screen reader and version (e.g only latest) under platforms? This way, there is no room for interpretation?
I agree that it wouldn't make sense for Material-UI to say, that we support version x of the HTML & version y of the JavaScript specification, go figure if the browser you want to use support it. It has to be more end-to-end driven. So in the realm of accessibility, we have to include which screen readers we support specifically and which version. The screenreaders should follow the spec, but there are always edge cases & workaround to consider.

If we take Kendo-UI as an example.

I wasn't able to draw any conclusion from what Kendo-UI is doing. I was wondering if they were describing the Combobox as reaching AA even though there are some important screenreaders that are no supporting, which would give us a precedent to justify our Combobox as AAA even though iOS needs an opt-in prop.

Would it be worth documenting each screen reader and version (e.g only latest) under platforms?

Definitely. Though this falls generally under "a11y statement" which I'd like to get in at some point. It's on my TODO but I haven't gotten around to it.

Otherwise, maybe we should document the downsides of disabling the portal? And maybe add a warning below the first demo about the usage of disablePortal that links to the downside, so developers know about it once they face it?

We should do that regardless of this PR.

👍

we don't explain anywhere why you should/would want to use disablePortal and what downsides it has.

We only have: https://material-ui.com/components/autocomplete/#ios-voiceover

I can't find any information about under what circumstances one would or would not want to disable the portal, and downsides using disablePortal has. Specifically looking at the Autocomplete component.
It seems like you two understand it - would one of you @oliviertassinari, @eps1lon please point me towards some resources? Thanks!


prep-v0.1.0-release

https://github.com/PrefectHQ/prefect-docker/issues/27
Example

Successfully ran with all the tasks in a single flow
from prefect import flow
from prefect_docker.images import pull_docker_image
from prefect_docker.containers import (
    create_docker_container,
    start_docker_container,
    get_docker_container_logs,
    stop_docker_container,
    remove_docker_container,
)

@flow
def test_docker_container_flow():
    pull_docker_image("prefecthq/prefect", "latest")
    container = create_docker_container(
        image="prefecthq/prefect", command="echo 'hello world!' && sleep 60"
    )
    start_docker_container(container_id=container.id)
    logs = get_docker_container_logs(container_id=container.id)
    print(logs)
    stop_docker_container(container_id=container.id)
    remove_docker_container(container_id=container.id)
    print("all done")
    return container

Outputs:
20:03:48.806 | INFO    | prefect.engine - Created flow run 'remarkable-squirrel' for flow 'test-docker-container-flow'
20:03:49.714 | INFO    | Flow run 'remarkable-squirrel' - Created task run 'pull_docker_image-f9320424-0' for task 'pull_docker_image'
20:03:49.715 | INFO    | Flow run 'remarkable-squirrel' - Executing 'pull_docker_image-f9320424-0' immediately...
20:03:50.073 | INFO    | Task run 'pull_docker_image-f9320424-0' - Pulling image: prefecthq/prefect:latest.
20:04:11.859 | INFO    | Task run 'pull_docker_image-f9320424-0' - Finished in state Completed()
20:04:11.986 | INFO    | Flow run 'remarkable-squirrel' - Created task run 'create_docker_container-ac4f93c1-0' for task 'create_docker_container'
20:04:11.986 | INFO    | Flow run 'remarkable-squirrel' - Executing 'create_docker_container-ac4f93c1-0' immediately...
20:04:12.491 | INFO    | Task run 'create_docker_container-ac4f93c1-0' - Creating container with 'prefecthq/prefect' image.
20:04:13.112 | INFO    | Task run 'create_docker_container-ac4f93c1-0' - Finished in state Completed()
20:04:13.282 | INFO    | Flow run 'remarkable-squirrel' - Created task run 'start_docker_container-e92f6c4a-0' for task 'start_docker_container'
20:04:13.282 | INFO    | Flow run 'remarkable-squirrel' - Executing 'start_docker_container-e92f6c4a-0' immediately...
20:04:13.628 | INFO    | Task run 'start_docker_container-e92f6c4a-0' - Starting container 'b5a4e98aec4d3783aefb5e81c0d214f0ea2db1880b2c9434b953dc1cfdbbe8b8'.
20:04:14.109 | INFO    | Task run 'start_docker_container-e92f6c4a-0' - Finished in state Completed()
20:04:14.257 | INFO    | Flow run 'remarkable-squirrel' - Created task run 'get_docker_container_logs-8be32a2f-0' for task 'get_docker_container_logs'
20:04:14.259 | INFO    | Flow run 'remarkable-squirrel' - Executing 'get_docker_container_logs-8be32a2f-0' immediately...
20:04:14.613 | INFO    | Task run 'get_docker_container_logs-8be32a2f-0' - Retrieving logs from 'b5a4e98aec4d3783aefb5e81c0d214f0ea2db1880b2c9434b953dc1cfdbbe8b8' container.
20:04:14.756 | INFO    | Task run 'get_docker_container_logs-8be32a2f-0' - Finished in state Completed()
20:04:14.892 | INFO    | Flow run 'remarkable-squirrel' - Created task run 'stop_docker_container-aeb280c8-0' for task 'stop_docker_container'
20:04:14.893 | INFO    | Flow run 'remarkable-squirrel' - Executing 'stop_docker_container-aeb280c8-0' immediately...
hello world! && sleep 60

20:04:15.318 | INFO    | Task run 'stop_docker_container-aeb280c8-0' - Stopping container 'b5a4e98aec4d3783aefb5e81c0d214f0ea2db1880b2c9434b953dc1cfdbbe8b8'.
20:04:15.498 | INFO    | Task run 'stop_docker_container-aeb280c8-0' - Finished in state Completed()
20:04:15.622 | INFO    | Flow run 'remarkable-squirrel' - Created task run 'remove_docker_container-73ef219d-0' for task 'remove_docker_container'
20:04:15.623 | INFO    | Flow run 'remarkable-squirrel' - Executing 'remove_docker_container-73ef219d-0' immediately...
20:04:16.003 | INFO    | Task run 'remove_docker_container-73ef219d-0' - Removing container 'b5a4e98aec4d3783aefb5e81c0d214f0ea2db1880b2c9434b953dc1cfdbbe8b8'.
20:04:16.140 | INFO    | Task run 'remove_docker_container-73ef219d-0' - Finished in state Completed()
20:04:16.265 | INFO    | Flow run 'remarkable-squirrel' - Finished in state Completed()
all done
<Container: b5a4e98aec4d>

Checklist

[ ] This pull request references any related issue by including "Closes #<ISSUE_NUMBER>"

If no issue exists and your change is not a small fix, please create an issue first.

[ ] This pull request includes tests or only affects documentation.
[ ] Summarized PR's changes in CHANGELOG.md

Docs looks good

Thanks for catching those!


Remove INNER_ANALYZER from DeleteAnalyzer

Removes the double dispatching and InnerAnalysisContext.

@matriv please review

Current coverage is 80.94% (diff: 84.61%)

Merging #4210 into master will decrease coverage by 0.08%

@@             master      #4210   diff @@
==========================================
  Files          1300       1300
  Lines         44277      44268     -9
  Methods           0          0
  Messages          0          0
  Branches       7061       7060     -1
==========================================
- Hits          35879      35834    -45
- Misses         5750       5780    +30
- Partials       2648       2654     +6

Powered by Codecov. Last update ea087d0...7f54bdb


Add repository configuration for RabbitMQ

add RDO Mitaka repo installation
make indentation consistent -> 2 white-spaces everywhere, no tabs

Closing in favor of #39.


"To" field is missing from messages in DirectLine (and WebChat) API

Hi,
I'm implementing a custom sms channel using DirectLine for integration. The Issue is that the direct line messages api doesn't have the TO field set:
https://docs.botframework.com/en-us/restapi/directline/#!/Conversations/Conversations_GetMessages
This makes it impossible to send the sms without storing the TO filed somewhere on the client side.
As a side note, I tried the webchat API as well as they have identical protocols but it lacks the TO field as well.

Hi, for me the To field your are looking for is the conversationId

That's correct, @NicolasHumann, @rzmoz, the protocol designates that all messages are sent to the conversation, not to a particular recipient.
If you would like to pass additional information to your bot, you can use the ChannelData field, which is a tunnel between your bot and your client. You can put a To field, or any other field you like, in ChannelData.


Add validation to 'working.dir' and absolute path to chown.

I used working.dir property to run R scripts that need to run on a specific directory.
What is the proper way to do that now?


How to use Webchat API (Hooks) with ReactWebchat?

I have a question
doc states

To enable Web Chat API, all UI components must be located under the  component. You can refer to our plain UI customization sample for details.

Disrespecting this rule results in no error, but non-functional hook
App.addListener('appStateChange', async ({ isActive }) => {
        if (isActive) {
            return;
        }

        const taskId = await BackgroundTask.beforeExit(async () => {
            console.log('Sending transcript before app close');

            const { useSendMessage } = hooks;
            const sendMessage = useSendMessage();
            sendMessage(JSON.stringify({
                feedback: 'NONE'
            }));

            BackgroundTask.finish({ taskId });
        });
    });

I've tried this
<Composer directLine={directLine} styleOptions={styleOptions} userID={email}>
    <BasicWebChat />
</Composer>

and
<Composer directLine={directLine}>
    <ReactWebChat directLine={directLine} styleOptions={styleOptions} userID={email}/>
</Composer>

Both resulted in broken interface.
What's the correct way to do this?

@proxy-hatch - Please note the below message. However, if you do post your issue on Stack Overflow, please be sure to apply the [web-chat] tag. In this way, I or others will be able to more easily locate your post and provide assistance.

The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Web Chat repo is the preferred platform for information on submitting bug fixes and feature requests.


Add activity feed API

#5  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bohan-v and the rest of your teammates on  Graphite


New package: Enigma.VirtualBox version 11.00

Pull request has been created with komac v2.6.0 :rocket:

Resolves #175447

Microsoft Reviewers: Open in CodeFlow

Verify:


Drop the "name", "name_codespace", "description" columns from the appearance and surface_data tables

Drop these three columns for the alpha release. If we want to re-add the three columns, we need thought about making the appearance and surface_data tables to be subclass fo the feature table to gain a consistent structure for storing AbstractFeatures.

Some thoughts to explain the issue: There can be multiple gml:name attributes for one feature. So, we would again need a delimiter to store them all in one name column. But we wanted to get rid of this mechanism with the 3DCityDB v5. The names cannot be stored in the property table because neither appearance nor surface_data are linked to feature. And we have to carefully consider whether we really want to store appearances and surface data in the feature table.


Bad English in configsettings.properties comment

[Version]
16.1 fix5+ 2017/02/13
[How to reproduce]

check
databases\bes_db\configsettings.properties

[Expected result]
proper english  .... custom tab messages (or the way it is written in manuals)
in # Name of the keypair stored in the keystore used for signing SAML and Customtab messages
[Observed result]
Customtab messages (see all such entries)

Solved for 16.1.6 - reviewed and improved the descriptions of all new/changed settings

[Version] 16.1 fix 6 2017/02/17
verified


Feature: Support custom ChannelInitializer

Hi Zio-http team,
this PR is for supporting custom channel initializer in zio-http instead of default one for this issue. Please review and let me know your comments.
Fixes #715

Codecov Report

Merging #932 (bcec4cd) into main (d88c0c4) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #932      +/-   ##
==========================================
- Coverage   53.91%   53.86%   -0.06%
==========================================
  Files          73       73
  Lines        2170     2174       +4
  Branches       62       59       -3
==========================================
+ Hits         1170     1171       +1
- Misses       1000     1003       +3

Impacted Files
Coverage Δ

zio-http/src/main/scala/zhttp/service/Server.scala
44.92% <100.00%> (-1.23%)
:arrow_down:

Continue to review full report at Codecov.

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

@tusharmath @amitksingh1490  any idea why the build and test job is failing in CI. sbt clean test is successful in my local machine.

run sbt fmt and commit the changes it will pass

@amitksingh1490 @tusharmath I fixed the check failures. Could you please review and let me know your comments

We should extend the Server ADT to add support for the channel initializer. This way we can use Server.Config to configure the channel initializer if a custom version is available.

@amitksingh1490 @tusharmath  I've updated the code for your previous review comment. Could you please check the code again.

sample code to use unsafe pipeline -
import io.netty.handler.codec.http.{HttpContentDecompressor, HttpContentCompressor}
def unsafePipeline(p: ChannelPipeline): Unit =  {p.addAfter("decompressor", "servercodec", new HttpContentDecompressor).
                addAfter("compressor", "servercodec", new HttpContentCompressor ); ()}

private def server(response: Response) = {
  Server.app(app(response)) ++
    Server.port(8080) ++
    Server.error(_ => UIO.unit) ++
    Server.disableLeakDetection ++
    Server.consolidateFlush ++
    Server.disableFlowControl ++
    Server.unsafePipeline(Option(unsafePipeline))

please run sbt fmt and push the changes

@amitksingh1490 I already did sbt fmt. I ran again and there are no changes in the code.

@amitksingh1490 Any idea why the format fails?

@amitksingh1490 I rebased with upstream main branch and now the checks are passing.

I fixed the merge conflicts and updated the PR. Could you please verify now

@tusharmath @amitksingh1490 Not sure why one job timed out. Shall we rerun the job without updating the code?

Thanks @rajcspsg !


Re-do parsers

Follow more of this style: https://github.com/UWFlow/rmc/blob/master/server/static/js/schedule_parser.js

@sarmadhashmi needs to merge his parser


No thumbnails with Vimeo Backend

good day,
Appreciate the effort you(all) put in
So, I cannot get thumbnails to show, I have the same issue using the example project
in the example list view nothing will list, and has same error
if I use the video detail view without the thumbnail code it works without error...
{% video object.video as my_video %}     URL: {{ my_video.url }}     Backend: {{ my_video.backend }}     {% video my_video 'small' %} {% endvideo %}
The below renders but has a broken image and comes up with error below,
{% video object.video as my_video %}     URL: {{ my_video.url }}     Thumbnail: {{ my_video.thumbnail }}     Backend: {{ my_video.backend }}     {% video my_video 'small' %} {% endvideo %}
here is the builtin test server error...
Django version 3.1, using settings 'mysite.settings' Starting development server at http://<IP_ADDRESS>:8000/ Quit the server with CONTROL-C. Attempt to render not existing video (https://vimeo.com/XxXxXxXxXx`)(changed for privacy)
Traceback (most recent call last):
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 829, in _resolve_lookup
current = current[bit]
TypeError: 'VimeoBackend' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 378, in get_info
return json.loads(response.text)[0]
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 11 (char 10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/templatetags/embed_video_tags.py", line 119, in render
return self.render_block(context, backend)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/templatetags/embed_video_tags.py", line 152, in render_block
output = self.nodelist_file.render(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
bit = node.render_annotated(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
return self.render(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 988, in render
output = self.filter_expression.resolve(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 671, in resolve
obj = self.var.resolve(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 796, in resolve
value = self._resolve_lookup(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 837, in _resolve_lookup
current = getattr(current, bit)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 194, in thumbnail
return self.get_thumbnail_url()
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 383, in get_thumbnail_url
return self.info.get("thumbnail_large")
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 201, in info
return self.get_info()
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 380, in get_info
raise VideoDoesntExistException()
embed_video.backends.VideoDoesntExistException
[12/Aug/2020 16:34:27] "GET /1/ HTTP/1.1" 200 708
/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/views/generic/list.py:86: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'videos.models.Video'> QuerySet.
return self.paginator_class(
Attempt to render not existing video (https://vimeo.com/XxXxXXXXXX)(changed for privacy)
Traceback (most recent call last):
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 829, in _resolve_lookup
current = current[bit]
TypeError: 'VimeoBackend' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 378, in get_info
return json.loads(response.text)[0]
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 11 (char 10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/templatetags/embed_video_tags.py", line 119, in render
return self.render_block(context, backend)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/templatetags/embed_video_tags.py", line 152, in render_block
output = self.nodelist_file.render(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
bit = node.render_annotated(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
return self.render(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 988, in render
output = self.filter_expression.resolve(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 671, in resolve
obj = self.var.resolve(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 796, in resolve
value = self._resolve_lookup(context)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/django/template/base.py", line 837, in _resolve_lookup
current = getattr(current, bit)
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 194, in thumbnail
return self.get_thumbnail_url()
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 383, in get_thumbnail_url
return self.info.get("thumbnail_large")
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 201, in info
return self.get_info()
File "/home/ryanh/Python/WSSTrainingWeb/.venv/lib/python3.8/site-packages/embed_video/backends.py", line 380, in get_info
raise VideoDoesntExistException()
embed_video.backends.VideoDoesntExistException
`

Is this issue still relevant? We haven't heard back in a while and I'm just checking if you are still facing the problem.


Bump to Thrift 0.20.0

Reporter: Fokko Driesprong / @Fokko
Assignee: Fokko Driesprong / @Fokko
PRs and other links:

GitHub Pull Request #1327

Note: This issue was originally created as PARQUET-2462. Please see the migration documentation for further details.

@Fokko The PR #1327 has been merged . Shall we close this issue?

@paliwalashish Yes, thank you 👍


Add alert for high TCP memory utilization on nodes

Add alert which fires when TCP memory utilization on a node exceeds the configured kernel-level TCP memory "pressure" threshold. (6.25% on RHEL8/RHEL9). Add an alert runbook which contains all the debugging snippets we've discovered so far.
Checklist

[x] The PR has a meaningful title. It will be used to auto-generate the
changelog.
The PR has a meaningful description that sums up the change. It will be
linked in the changelog.
[x] PR contains a single logical change (to build a better changelog).
[x] Update the documentation.
[x] Categorize the PR by adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.

Runbook is a bit of a brain-dump from myself. Feel free to suggest structure improvements.


make seed can be config for bagging/RF bagging

make seed can be config for bagging/RF bagging

make seed can be config for bagging/RF bagging


No horizontal Scrollbar on Sidebar (Firefox 57+)

Seems to be the flex-basis of 0% on one of the nested pane divs. I changed it in the second screenshot and it works.

Hi @tobilen =) Feel free to send a PR

will do. probably not before friday though :)


Simplify kube private network example

In https://github.com/ovh/public-cloud-examples/blob/main/network/private-network/kube-private-network ,
don't use openstack provider if not needed and update the example with TF providers new features and resources.

Moreover, a public_cloud_gateway TF resource have been created in the OVhcloud TF provider.
Maybe it can be a good idea to use it also ;)