Graph traversal algorithm for matching

I recently realised that, if we are trying to find a location in the genome for recombination, given two genomes, then the algorithm required is more likely to be a time-wise rather than along-the-genome algorithm. In other words, we will want to be able to ascend through the entire graph (regardless of location) from a pair of nodes (following their parents), and identify lengths of shared sequence together with their depths, stopping (I think) when we have got to a certain depth.
Some of the approaches worked up by Jerome in https://github.com/tskit-dev/tskit/discussions/2869 will be useful here, I suspect.

Here's a version that seems to work on a tree sequence. I think the logic is correct on a GIG too.
Currently it doesn't keep track of the matching regions between the two focal sequences, though. That would require either remembering the original coordinates on the way up, or traversing back down from each of the identified MRCA regions. Since MRCA nodes are visited in time order, we can stop the while loop once we have gone past max_time, which gives a natural cutoff for the similarity between the two focal sequences. We might also want to implement a "length of similar region" cutoff, but I think that's more tricky.
import collections

import portion as P
from sortedcontainers import SortedDict
import msprime

class IntervalsStack(SortedDict):
    """
    A stack of genomic intervals saved as a SortedDict. Each item in the stack is
    keyed by a single node, and the stack is ordered by the time of the node
    (oldest first)
    """

    def __init__(self, gig, *args, **kwargs):
        self.gig = gig
        super().__init__(lambda k: -gig.nodes_time[k], *args, **kwargs)

    def __setitem__(self, key, value):
        try:
            super().__setitem__(key, value)
        except TypeError:
            raise ValueError("Can only set node IDs as keys")
    def peekkey(self):
        """
        Return the key of the end item on the stack
        """
        return self.peekitem()[0]

    def peektime(self):
        """
        Return the node time of the end item on the stack
        """
        return self.gig.node(self.peekitem()[0]).time

def interval_edges_for_child(gig, child):
    for e in np.where(gig.edges_child == child)[0]:
        yield gig.edge(e)

def is_inversion(iedge):
    return (
        ((iedge.child_right - iedge.child_left) < 0) or
        ((iedge.parent_right - iedge.parent_left) < 0)
    )

# Fake an example GIG using msprime
gig = msprime.sim_ancestry(10, sequence_length=100, recombination_rate=0.1)
print("Simulated a graph with", gig.num_nodes, "nodes")
focal_sample_A = 0
focal_sample_B = 1
print(f"Looking for regions of common ancestry between {focal_sample_A} and {focal_sample_B}")

print("Expected from tskit simplify:")
mrcas = collections.defaultdict(list)
for t in gig.simplify([0, 1], filter_nodes=False).trees():
    mrcas[t.mrca(0,1)].append(t.interval)
for k, v in sorted(mrcas.items(), key=lambda x: -gig.nodes_time[x[0]]):
    print(f"Common ancestor at node {k}, {v}")

stackA = IntervalsStack(gig, {focal_sample_A: P.closedopen(0, gig.sequence_length)})
stackB = IntervalsStack(gig, {focal_sample_B: P.closedopen(0, gig.sequence_length)})
common_intervals = IntervalsStack(gig, {})

max_time = float("inf")

while len(stackA) > 0 and len(stackB) > 0 and stackA.peektime() < max_time and stackB.peektime() < max_time:
    if stackA.peekkey() == stackB.peekkey():
        # Common ancestor found
        nA, intervalsA = stackA.popitem()
        nB, intervalsB = stackB.popitem()
        assert nA == nB
        common = intervalsA & intervalsB
        if not common.empty:
            common_intervals[nA] = common
            # No need to track the shared part any more: we have found the common ancestry in this section
            intervalsA -= common
            intervalsB -= common
        node = nA
        process = ((stackA, intervalsA), (stackB, intervalsB))

    elif stackA.peektime() < stackB.peektime():
        node, intervals = stackA.popitem()
        process = ((stackA, intervals),)

    else:
        node, intervals = stackB.popitem()
        process = ((stackB, intervals),)

    for iedge in interval_edges_for_child(gig, node):
        for iedge in interval_edges_for_child(gig, node):
            for stack, base_intervals in process:
                try:
                    intersect = base_intervals & P.closedopen(iedge.child_left, iedge.child_right)
                    # now transform the intersection to the parent's coordinate system
                    # this is easy because it must be a single transformation contained within
                    # the interval [child_left, child_right)
                    if is_inversion(iedge):
                        dx = iedge.parent_right - iedge.child_left
                        shiftx = lambda x: iedge.child_right - x + dx
                    else:
                        dx = iedge.parent_left - iedge.child_left
                        shiftx = lambda x: x + dx
                    intersect = intersect.apply(lambda i: i.replace(upper=shiftx, lower=shiftx))
                except AttributeError:
                    intersect = base_intervals & P.closedopen(iedge.left, iedge.right)
                if iedge.parent in stack:
                    stack[iedge.parent] |= intersect
                else:
                    stack[iedge.parent] = intersect

print("Calculated from GIG traversal:", common_intervals)

A similar (and simpler) algorithm is that that used for the sample_resolve method in #46: rather than used the sorteddict implementation, it simply saves an interval object for each internal node. We should probably write the matching algorithm based on that code.

There is a seemingly trivial but annoying issue here: how should we represent the output of the interval-matching algorithm. We could write down, for each interval in sampleA, the list of equivalent intervals in sampleB. This is annoyingly asymmetrical, however. It also requires us to traverse back down from the MRCAs in order to define the relevant intervals in samples A and B.
Here's another idea: we could store the interval(s) in each of the common ancestor nodes, and then find the equivalent intervals in samples A and B that descend from them. E.g.:
{
MRCAnodeX:{
    interval1:{
        sampleA: [list, of, equivalent, intervals],
        sampleB: [list, of, other, intervals]},
    intervals2: ...},
MRCAnodeY: {...}}

Or represent it as a table:

MRCA
lft
rgt
sample
child_lft
child_rgt

X
10
20
A
0
10

X
10
20
A
110
100

X
10
20
B
20
30

X
25
125
A
2100
2200

X
25
125
B
2150
2250

Y
125
200
A
125
200

Y
125
200
B
125
200

Jerome pointed out that we can use a single stack when following the ancestry of u and v, and simply look for times when the intervals overlap. That is certainly simpler. However, one of the advantages of maintaining two stacks is that it is easy to detect when both converge on the same ancestor (and once this is spotted, we can check for overlaps). If there we are tracking many fragmented pieces, keeping track of which intervals belong to u and which to v  means that we don't need to look for overlaps on every ancestor with > 1 interval.
A solution of intermediate complexity would be to have a single stack but to record not only the intervals, but also which intervals are associated with u and which with v.

Implemented as find_mrca_regions


bug: Segmentation fault (core dumped) when requesting embeddings

Summary
I ran an API server and sent a request, but received an empty reply and the server was down.
Input:
curl -X POST http://localhost:2001/v1/embeddings \
    -H 'accept:application/json' \
    -H 'Content-Type: application/json' \
    -d '{"model": "e5-mistral-7b-instruct", "input":["Paris, city and capital of France, ... and far beyond both banks of the Seine.","Paris occupies a central position in the rich agricultural region ... metropolitan area, 890 square miles (2,300 square km).","Pop. (2020 est.) city, 2,145,906; (2020 est.) urban agglomeration, 10,858,874.","For centuries Paris has been one of the world’s ..., for Paris has retained its importance as a centre for education and intellectual pursuits.","Paris’s site at a crossroads of both water and land routes ... The Frankish king Clovis I had taken Paris from the Gauls by 494 CE and later made his capital there.","Under Hugh Capet (ruled 987–996) and the Capetian dynasty ..., drawing to itself much of the talent and vitality of the provinces."]}'

Output:
curl: (52) Empty reply from server

Additionally, I want to ask which type of pooling method the embeddings endpoint uses. I noticed that intfloat/e5-mistral-7b-instruct uses last </s> token pooling, while nomic-ai/nomic-embed-text-v1.5 and sentence-transformers/all-MiniLM-L6-v2 use mean pooling. I am wondering how you handle these.
Reproduction steps
Install WasmEdge
# install libopenblas-dev
apt update && apt install -y libopenblas-dev

# install WasmEdge with wasi-nn-ggml plugin
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --plugin wasi_nn-ggml

# Assuming you use bash (the default shell on Ubuntu), run the following command to activate the environment
source $HOME/.bashrc

Downloads
curl -L https://huggingface.co/second-state/E5-Mistral-7B-Instruct-Embedding-GGUF/resolve/main/e5-mistral-7b-instruct-Q5_K_M.gguf --output e5-mistral-7b-instruct-Q5_K_M.gguf

curl -LO https://github.com/LlamaEdge/LlamaEdge/releases/latest/download/llama-api-server.wasm

Run
wasmedge --dir .:. --nn-preload default:GGML:AUTO:e5-mistral-7b-instruct-Q5_K_M.gguf   llama-api-server.wasm   --prompt-template llama-2-chat   --ctx-size 4096   --model-name e5-mistral-7b-instruct --socket-addr <IP_ADDRESS>:2001

Screenshots
No response
Any logs you want to share for showing the specific issue
[INFO] LlamaEdge version: 0.10.0
[INFO] Model name: e5-mistral-7b-instruct
[INFO] Model alias: default
[INFO] Context size: 4096
[INFO] Prompt template: llama-2-chat
[INFO] Number of tokens to predict: 1024
[INFO] Number of layers to run on the GPU: 100
[INFO] Batch size for prompt processing: 512
[INFO] Temperature for sampling: 1
[INFO] Top-p sampling (1.0 = disabled): 1
[INFO] Penalize repeat sequence of tokens: 1.1
[INFO] Presence penalty (0.0 = disabled): 0
[INFO] Frequency penalty (0.0 = disabled): 0
[INFO] Enable prompt log: false
[INFO] Enable plugin log: false
[INFO] Socket address: <IP_ADDRESS>:2001
ggml_cuda_init: GGML_CUDA_FORCE_MMQ:   no
ggml_cuda_init: CUDA_USE_TENSOR_CORES: yes
ggml_cuda_init: found 2 CUDA devices:
Device 0: NVIDIA GeForce RTX 4090, compute capability 8.9, VMM: yes
Device 1: NVIDIA GeForce RTX 4090, compute capability 8.9, VMM: yes
[INFO] Wasi-nn-ggml plugin: b2781 (commit 6ecf3189)
[INFO] LlamaEdge API server listening on http://<IP_ADDRESS>:2001
[+] Running embeddings handler ...
Segmentation fault (core dumped)
Model Information
e5-mistral-7b-instruct-Q5_K_M.gguf
Operating system information
Ubuntu 22.04.3 LTS
ARCH
x86_64
CPU Information
Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz
Memory Size
64GB
GPU Information
2x NVIDIA GeForce RTX 4090
VRAM Size
2x 24GB

There seems to be an issue between this GGUF conversion and the latest llama.cpp build. We will look into it.
In the meanwhile, the nomic embedding model should work.

@vinhdq844 The issue is still there on your side? Thanks.

@apepkuss Hi, I tried the above reproduction steps on a new machine and this occurred. Thanks.

Hi @vinhdq844
We introduced a new logging system to retrieve more debug information, so it requires more plugins. Please use the following command to install and try again:
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s -- -v 0.13.5

Hi @vinhdq844 We introduced a new logging system to retrieve more debug information, so it requires more plugins. Please use the following command to install and try again:
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install_v2.sh | bash -s -- -v 0.13.5

I can start the server now. But:

when resquesting for embedding: received error response 500 Internal Server Error: Computing embeddings is not supported in the chat mode. and server error log (How can I switch out chat mode?)

when requesting for model list:

Thanks.

@vinhdq844 If you used wasmedge --dir .:. --nn-preload default:GGML:AUTO:e5-mistral-7b-instruct-Q5_K_M.gguf   llama-api-server.wasm   --prompt-template llama-2-chat   --ctx-size 4096   --model-name e5-mistral-7b-instruct --socket-addr <IP_ADDRESS>:2001 to start the api server, please update --prompt-template llama-2-chat to --prompt-template embedding.

@vinhdq844 If you used wasmedge --dir .:. --nn-preload default:GGML:AUTO:e5-mistral-7b-instruct-Q5_K_M.gguf llama-api-server.wasm --prompt-template llama-2-chat --ctx-size 4096 --model-name e5-mistral-7b-instruct --socket-addr <IP_ADDRESS>:2001 to start the api server, please update --prompt-template llama-2-chat to --prompt-template embedding.

it said 500 Internal Server Error: The model e5-mistral-7b-instruct-Q5_K_M does not exist in the embedding graphs.

@vinhdq844 Please share with us both the command of starting the api-server and the request you sent to the server. Thanks!

@apepkuss Oh sorry, I used an incorrect model name last time. I can confirm that the issue still persists on my side:

Start the api-server

wasmedge --dir .:. --nn-preload default:GGML:AUTO:e5-mistral-7b-instruct-Q5_K_M.gguf   llama-api-server.wasm   --prompt-template embedding   --ctx-size 4096   --model-name e5-mistral-7b-instruct --socket-addr <IP_ADDRESS>:2001

Request

curl -X POST http://localhost:2001/v1/embeddings \
    -H 'accept:application/json' \
    -H 'Content-Type: application/json' \
    -d '{"model": "e5-mistral-7b-instruct", "input":["Paris, city and capital of France, ... and far beyond both banks of the Seine.","Paris occupies a central position in the rich agricultural region ... metropolitan area, 890 square miles (2,300 square km).","Pop. (2020 est.) city, 2,145,906; (2020 est.) urban agglomeration, 10,858,874.","For centuries Paris has been one of the world’s ..., for Paris has retained its importance as a centre for education and intellectual pursuits.","Paris’s site at a crossroads of both water and land routes ... The Frankish king Clovis I had taken Paris from the Gauls by 494 CE and later made his capital there.","Under Hugh Capet (ruled 987–996) and the Capetian dynasty ..., drawing to itself much of the talent and vitality of the provinces."]}'

Thanks.

@hydai Could you please help check the issue? A segment fault happened during the computation. Thanks!

The ggml plugin version is too old (b2781). Please update the plugin and try again.


Enable Hosting.Testing tests we run local-only to also run as part of CI

We have a lot of tests that @ReubenBond have added which are currently running locally only. This item is to track the work of having those run as part of CI as well.

These tests have been running on the linux build machine with non-helix tests. Some of these still don't run on windows because of the missing docker support.
Closing this as fixed.


[hotfix][ray] fix ray dataset compatibility

What do these changes do?
Ray dataset in ray 1.10.0 has an incompatible change and it's not easy to fix unless we rewrite the dataset integration using datasource api of ray dataset. So we downgrade ray version to 1.9 and will relax version when we finished the rewrite.

Check code requirements

[ ] tests added / passed (if needed)
[ ] Ensure all linting tests pass, see here for how to run them

Typo needs to be fixed, see https://github.com/mars-project/mars/pull/2693/checks?check_run_id=5135822872


same issue as issue 4

chromium crashing on Windows x64... tried to change puppeteer and chromium versions but no luck.
what else can I do?

Try changing this line in destreamer.ts and rebuild -
https://github.com/snobu/destreamer/blob/161585844f5ae8bf351611acca0d01fe13525056/destreamer.ts#L97
change to
    const page = await browser.newPage();

One more thing, you can specify your own Chromium (or Chrome) binary by passing it into the pupeteer constructor:
const browser = await puppeteer.launch({executablePath: '/path/to/Chrome_or_Chromium'});

hi again I tried both... even with the "regular" chrome but somehow it still crashes the same way. even tried to hardcode the URL it goes to, but that's not it, it crashes even before... maybe I just need to find the right combination of puppeteer and Chromium that works (like in issue 4).

I wonder if antivirus software or something similar could prevent puppeteer connecting to the dev tools API in the browser.

good question I added the project folder, node.exe, powershell.exe and chrome.exe to exclusion list but still the same... could well be I guess

ok, got a bit further... I added the startup args in launch.json, started the process from VS Code as debugger this time it got through the login phase but then crashed again, no breakpoint.

setting some breakpoints I believe it crashes in this line
await browser.waitForTarget(target => target.url().includes('microsoftstream.com/'), { timeout: 180000 });

also the initial crash is due to me starting PS as administrator... VSCode is not started as admin

Try it from non-elevated PowerShell or cmd.exe. Never tested from an elevated shell.

happy to report it works now from PS. From VSCode it still crashes I don't mind that. Thanks for the help!


cgofuse: extract and refactor path locker

Maybe it's better, maybe it's worse, maybe I broke it.
Still a work in progress.

Draft notes:

Since we're not currently using any file systems that modify data, it's hard to know if this is actually implemented correctly.
This needs to be finished, and tests need to be written to validate it.
At the very least, I haven't (yet) seen a deadlock or other problems on the read-only interfaces.

Go file systems that implement write methods (and FUSE wrappers for them) are currently being worked on.
They'll be using + building on this variant of the code. And the changes will be brought back into this branch as they happen.

Every FUSE operations must call these methods, so it's a valid optimization target.
Benchmarks would be nice to have, but that can potentially come later.

The code is intended to be easier to understand than the previous version.
It's hard to say if this got easier or harder to understand due to the abstraction choices used to reduce repetition.
So documentation and clarity within the code itself is going to have to be inspected and probably refined.

Tangentially related to https://github.com/djdv/go-filesystem-utils/issues/19

Superseded by https://github.com/djdv/go-filesystem-utils/pull/26 since c8971ba4bf365486d4162b190a7141d9500610b0 which finishes the implementations, adds documentation, and refactors some things.


[arm-authorization] Adding / before providers

Seems suspicious to not have / int he path.
Feel free to comment if you have any prior knowledge on why it may be right.

Have we released any SDKs based on this swagger? The change looks good to me, but if we have actual working SDKs, then this may break their usage...

@johanste Seems like we have released .NET sdk.
Reference: https://github.com/Azure/azure-sdk-for-net/blob/AutoRest/src/ResourceManagement/Authorization/Microsoft.Azure.Management.Authorization/Generated/RoleAssignmentsOperations.cs#L128
Test: https://github.com/Azure/azure-sdk-for-net/blob/AutoRest/src/ResourceManagement/Authorization/Authorization.Tests/Tests/Permissions.ScenarioTests.cs#L125
cc:
@shahabhijeet / @markcowl Do we know whether this is working as expected or did we have some patch to make this work?

@vishrutshah change looks good to me too, let's figure out the answers to the questions brought up above, if there are no breaking issues to SDKs then, let's do it. I wonder why this type of thing is not caught at some point (code generation or tests), since the URL looks incorrect.

@vishrutshah any updates?

@shuagarw Could you please throw some light on this one? Thanks!

@veronicagg I've also sent an internal email so let's wait for couple of days and see. Thanks for reminding on this one!

Here is the response:

Hi Vishrut,
I agree that the missing “/” looks like a typo. The Swagger specs were not written by my team. So I am not sure how well they have been tested.
Our PowerShell cmdlets are still using the .NET SDK generated from Hydra specs.

@veronicagg @johanste @ravbhatnagar Based on response looks like a bug...Thoughts?

@vishrutshah I agree, it looks like bug. It also appears that the team is not using Swagger to generate SDKs, right? If so, I think it's safe to make the change (as it's currently not being picked up by anything).
I'll approve and you can decide to merge based on the answer to this last question and/or others' thoughts.

Please check CI as well.

@veronicagg @vishrutshah @johanste There is a Python package that uses this file, and the SDK is used in the CLI. So @johanste , up to you to tell us if it will break your CLI :)
Otherwise looks like a bug anyway, so I'm ok too

@johanste a rapid grep shows me you use this package in azure-cli-acs and azure-cli-role, but you don't use this specific method.

The CLI should be ok.

Let's wait for final confirmation from @shuagarw who is a dev from the team. @shuagarw Could you please confirm? Thanks!

@rbacask for FYI
The sdk generated by these specs is not used in powershell, but used by node js cmdlets. I hope it is working there as of now and changing it will break the contract there. Will try to dig more, how is it used there. May be it is expecting/appending a '/' in the end.

@shuagarw Any updates on this one?

@vishrutshah I think this is a good change. I checked in azure-xplat-cli and looks like this api is not called from the cmdlets, so should be good.

 https://github.com/Azure/azure-sdk-for-ruby/pull/768

 https://github.com/Azure/azure-sdk-for-node/pull/2150

 https://github.com/Azure/azure-sdk-for-python/pull/1121


CimSession Parameter Fail on Get-DSCLocalConfigurationManager

Steps to reproduce
$cim = New-CimSession -ComputerName myServerFQDN.domain.com
Get-DscLocalConfigurationManager -CimSession $cim
Expected behavior
Return the LCM meta-configuration data.
Actual behavior
Get-DscLocalConfigurationManager: Cannot process argument transformation on parameter 'CimSession'. Cannot convert the "CimSession: myServerFQDN.domain.com" value of type "Deserialized.Microsoft.Management.Infrastructure.CimSession" to type "Microsoft.Management.Infrastructure.CimSession[]".
Environment data

PSVersionTable
Name                           Value
PSVersion                      7.0.3
PSEdition                      Core
GitCommitId                    7.0.3
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0
PSDesiredStateConfiguration Module Version
Script     1.0                   PSDesiredStateConfiguration
Notable Difference between PS Core and Windows PS
Windows PowerShell with PSDesiredStateConfiguration module version 1.1 has the CimSession parameter as a CimSession[] type, but PowerShell 7 has it as an Object type.
PowerShell 7
Get-Command Get-DscLocalConfigurationManager
  Get-DscLocalConfigurationManager [[-WarningVariable] <Object>] [[-CimSession] <Object>]

Windows PowerShell
Get-Command Get-DscLocalConfigurationManager
  Get-DscLocalConfigurationManager [-CimSession <CimSession[]>]

I tried importing the Windows PowerShell version of PSDesiredStateConfiguration module, but I get the same result.

I believe this is because the Get-DscLocalConfigurationManager is only present in the Windows PowerSHell (5.1) PSDesiredStateConfiguration module. Running (Get-Command Get-DscLocalConfigurationManager).Definition will show that it runs it through a proxy function which ultimately uses Get-PSImplicitRemotingSession to run it on Windows PowerShell.
Because it runs it in a separate process, any data that is exchanged between the 2 sessions need to be serialized to CLIXML which looses any active information, like a CIM connection, and make it effectively read only. This is why the error states it cannot transform Deserialized.Microsoft.Management.Infrastructure.CimSession to Microsoft.Management.Infrastructure.CimSession[].
What you can do to run this command from PowerShell 7 is to wrap you entire call in the inside 1 script block like
$implicitSession = New-PSSession -UseWindowsPowerShell
$dscInfo = Invoke-Command -Session $implicitSession -ScriptBlock {
    $cim = New-CimSession -ComputerName myServerFQDN.domain.com
    Get-DscLocalConfigurationManager -CimSession $cim
}
$implicitSession | Remove-PSSession

This make sure the CimSession you create exists solely in the Windows PowerShell session and doesn't traverse any boundaries. The only way to natively call Get-DscLocalConfigurationManager in PowerShell is for that module to be included in PSDesiredStateConfiguration that ships with PowerShell. Considering LCM is probably going away at some point in the future I doubt that will happen.


VPS?!?!?!?

Hello, i want to put the bots on a vps but it doesn't work pls help me

windows or ubuntu?

copy and past portforward  to user scripte ws//

Yes. edit config.js and set the server to ws://bots.myservers.io:8081 then, locate the userscript and edit the userscript and also set it to ws://bots.myservers.io:8081 . You can use "find" (CTRL + F) to look for it, just search for ws:// or 8081 and you'll probably find it. Then simply put your UUID in config.js. Then run the server-sided script.
Sorry if that was confusing, hope I helped.


Revert zio/csvio/ztests/type.yaml

#2128 clobbered most of this test unnecessarily.

oops i guess the test failure might be why it got clobbered?

None of those values are legal Z type values.  If we want to test this, we need to add appropriate error checking and add tests for the error conditions.

I think the right moves are to

put a legal Z type value in zio/csvio/ztests/type.yaml so it's a meaningful test and
check for legal Z type values in zio/tzngio.Reader.

I'll create a new PR for that.


Cant place in liquid

I love this mod!!!
Although, I can "catch" things in water but cannot replace it in water.
Using version 1.14.4 1.0.0 forge

By things you mean Entities or Blocks ?

Im sorry for not being clear!
By things I meant blocks. I picked up a stone block by accident, and tried to re place it in the same spot but it would not place. I went to the surface to try to get it out of the book and placed just fine. After a few more attempts, I determined it was due to the water (or liquid).

Yeah, probably.
I just base on Forge / Fabric HitResult or BlockHitResult.
Maybe this is how they interpret that under water.
I'm not sure if I can do anything about it :P
I can take a look anyway.

Either way, you made a fantastic mod. I do hope you find a fix, but it isn't a deal breaker. Keep up the great work!

Thx ^^


Improve script, button, scene and media player active state.

Description
Always consider script/scene/button/input button as active.
Consider standby and media player as inactive.
Related Issue
Fixes https://github.com/piitaya/lovelace-mushroom/issues/800
Motivation and Context

How Has This Been Tested

Types of changes

[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 🌎 Translation (addition or update a translation)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have tested the change locally.

@piitaya amazin job on cards, may I suggest something?
This missed function made me use Button card instead of mushroom, because on button-card I could do that.
I missed some "responsive" button press, like we can do on button-card with this css
      styles:
        card:
          - '--mdc-ripple-color': yellow
          - '--mdc-ripple-press-opacity': 0.5

So when I press the button it looks like an "wave" yellow effect.

If you add this as a option if the user want to use that, would be awesome!
Thank you!


add new genre for comedy

What's wrong with the existing documentation
.
Add ScreenShots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@anuragverma108 can you assign me this issue


[Challenges] Search by Challenge

Implement Search functionality to search challenges on the challenges dashboard

@sadanandpai Can I pick this task?


[BEAM-937][BEAM-938] Update Watermarks even if a Reader is empty

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

This ensures that the pipeline will make progress even if a reader stops
producing elements.
Fixes the test bug introduced in #1300 and reverts the rollback of #1303

R: @kennknowles

LGTM


Added controlled behavior to Tooltip

Checklist
(Check off all the items before submitting)

[ ] Build process is done without errors. All tests pass in the /lib directory.
[ ] Self-reviewed the code before submitting.
[ ] Meets accessibility standards.
[ ] Added/updated documentation to /website as needed.
[ ] Added/updated tests as needed.

Purpose
We didn't have a way to have control over the tooltip display, We don't have to reduce it to be opened on hover and this will help us cover a lot of possible use cases in the future.

For some reason, radix's onOpenChange callback is not functioning as expected when using controlled open. So I had to go for a different approach in order to implement it.
I am going to create an issue in their repo showing the problem, as the function only triggers when hovering the element.

This PR is being closed as it has been decided that this use case does not really fit the expected behavior of a tooltip and it could lead to overloading it.
For our internal cases such as Slider, we are going to use an internal Bubble component (name has to be confirmed) which covers this case. In the future we could consider exporting it.


Support macos?

Any plan to support MacOS?

Sorry but the truth is, there is no chance for it to happen.

I do not hate macOS, in fact I used it as my daily driver for many years. But macOS is not a server oriented operating system.
Client configuration files can always be used with Tunnelblick, Viscosity or any other OpenVPN compatible client, in macOS or elsewhere.

I have an old macbook, on which I want to run vpn server

@ryanhz MacOS as an OpenVPN Server Howto:

Download OpenVPN Server config example
Download EasyRSA
Read OpenVPN Howto
Try it.
Almost certainly fail.

And understand why this script does not support MacOS as a server.


creating the application?

Hi bertrik,
a happy new year and a very nice project.
How can I create the application after cloning it?
Thanks in advance
Andreas

Go to directory workspace/gradle, then run the gradlew executable with argument distTar or distZip, for example:
cd luftdatenmapper/workspace/gradle
./gradlew distTar
cp ../luftdatenmapper/build/distributions/luftdatenmapper.tar ~
This compiles the application and packages it into a .tar archive and copies it to your home directory.
You can untar the tar file and run it with the bin/luftdatenmapper.sh script (Linux) or bin/luftdatenmapper.bat script (Windows).
Gradle is a kind of build system, it downloads dependencies (like libraries) and builds it into an application archive with a nice startup script. You need to have the Java JDK 8 installed and available on the path.
The application is very much a work in progress.
The luftdatenmapper.properties file contains the settings you can configure, I hope it is self-explanatory. If this file is absent, a new file is created with default settings.
The renderjobs.json file defines what images are generated.
The luftdatenmapper.log file is the Java log4j log file.

Thanks a lot.
Please change in the file: luftdatenmapper.properties
the config variable: cmd.convert to cmd.animate

I made some last minute changes recently to update the automatic animation process (it was taking up a lot of CPU power) and did some manual work to animate the particulate matter peak from the new year's celebrations. So indeed this file was not completely up-to-date.

Great, thank you.
How do you select the netherland sensors only from LuftDataInfo API?   I would like to select the sensors of an area in germany (in the first step).

I changed the properties a bit (this will keep happening from time to time): now only sensors are considered from an area 3x3 times the size of the area being shown. Also I added a distance limit: if no sensors are near, a special colour (transparent grey) is used to indicate that no interpolated value has been calculated. I removed the animation option.


[BUG] QUOTA_BYTES_PER_ITEM in Plasmo storage API

What happened?
I'm grabbing some data and putting it in storage. I'm getting the following error.
Uncaught (in promise) Error: QUOTA_BYTES_PER_ITEM quota exceeded
In my previous version (prior to Plasmo), I never encountered this error when using chrome's storage. The data is quite large and I know chrome has some limits set, but on the same data being added in the same shape in a non-plasmo version vs. Plasmo - the plasmo version is the only one that returns this error and breaks. I imagine this is because it's using the sync underneath instead of local?
Here's the shape of the data.
[
  {
    "example-type": "name",
    "title": "title",
    "url": "https://www.example.com/1",
    "description": "Lorem ipsum",
    "image-urls": [
      "https://example.com/image/1",
      "https://examples.com/image/2",
    ],
  },
{
    "example-type": "name",
    "title": "title",
    "url": "https://www.example.com/1",
    "description": "Lorem ipsum",
    "image-urls": [
      "https://example.com/image/1",
      "https://examples.com/image/2",
    ],
  }
]

So on and so forth. Prior to plasmo, this file could get to 10k plus entries.
Notes

I tried changing storage area to "local" for parts of my application. But it doesn't seem like you can do that same customization with the React Hooks. What I mean is that swapping it here doesn't seem to effect where the storage hook is placing it. That causes different issues to pop up.

const storage = new Storage({
  area: "local"
})

I tried using the copied key list as well. I still get the Quota issue because it must still be using sync which has the limitations.

Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

https://docs.plasmo.com/framework/storage#with-a-custom-storage-instance


Custom output template

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2019.02.18

Before submitting an issue make sure you have:

[ ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[X] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.02.18
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
I'm using youtube-dl in https://github.com/samhagin/linuxacademy-dl/blob/master/download.py to download videos from Linux Academy. Using the output template %(autonumber)s-%(title)s.%(ext)s, simply names the videos as 0001-Linux-Academy.mp4, is it possible to create a custom output template so the file is actually named after text I extract as part of my script? Simply put, instead using the prefined output templates, I want to be able to define one myself. Alternatively, if someone can share code on how to create a custom postprocessor ( not using exec_cmd but via Python )  for renaming the file after download, that will work also
Thanks

You must extract metadata in _real_extract to be used with output template mechanisms.
If not using output template mechanisms then use fixed output template and do the renaming yourself.
Also this is all pointless since linuxacademy is already supported natively.


Clear up some confusion about split orientation

Lines 66 to 71 I believe
# I CHANGED THESE TWO BELOW because they seem to be backwards by default...??
# split in horizontal orientation
bindsym $mod+semicolon split v

# split in vertical orientation
bindsym $mod+v split h

I've always thought of the way they're described as so:

Splitting vertically to me meant a seam on the y axis.
_______
|            |
|----------| (y axis)
|______|

Splitting horizontally I took to mean there will be a seam on the x axis
 ________
|        |        |
|        |        |
|____|____|
   (x-axis)

I'm sure at this point in time the issue is moot, but just in case you were still confused about how i3 could ship like that... Here you go.

~Cheers!

This is an insanely late reply; thanks for the clarification though, I see what you mean.


Fix pubnub typo in README

Coverage remained the same at 91.3% when pulling f06fdf7a4f946c0c6a9b122b057459fa5ce4722b on erikreed:patch-1 into ddf1498bee7a0aa26d6c286934477a7cec0d3d4e on ringcentral:master.

Lol, good catch


Does this package contain any sort of smoothing functionality...

Just wondering, I can't see anything in the documenation but we're just wondering if there is anything inside this package which allows for smoothing of GeoJSON by some sort of "precision factor"?

Hi @asencis, yes, the precision feature is documented here: https://github.com/jazzband/geojson#default-and-custom-precision


Importing the multiarray numpy extension module failed.

Hello, when I try to generate a beatmap I get the following error.  I'm using Python 2.7.18.
E:\RenPY\renpythm-1.0-pc\00-renpythm-utils>python generate_beatmap.py CITY.mp3
Traceback (most recent call last):
  File "generate_beatmap.py", line 8, in <module>
    from aubio import source, onset
  File "E:\RenPY\renpythm-1.0-pc\00-renpythm-utils\python-packages\aubio\__init_
_.py", line 25, in <module>
    import numpy
  File "E:\RenPY\renpythm-1.0-pc\00-renpythm-utils\python-packages\numpy\__init_
_.py", line 142, in <module>
    from . import core
  File "E:\RenPY\renpythm-1.0-pc\00-renpythm-utils\python-packages\numpy\core\__
init__.py", line 71, in <module>
    raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
Here is how to proceed:
- If you're working with a numpy git repository, try `git clean -xdf`
  (removes all files not under version control) and rebuild numpy.
- If you are simply trying to use the numpy version that you have installed:
  your installation is broken - please reinstall numpy.
- If you have already reinstalled and that did not fix the problem, then:
  1. Check that you are using the Python you expect (you're using C:\Python27\py
thon.exe),
     and that you have no directories in your PATH or PYTHONPATH that can
     interfere with the Python and numpy versions you're trying to use.
  2. If (1) looks fine, you can open a new issue at
     https://github.com/numpy/numpy/issues.  Please include details on:
     - how you installed Python
     - how you installed numpy
     - your operating system
     - whether or not you have multiple versions of Python installed
     - if you built from source, your compiler versions and ideally a build log

     Note: this error has many possible causes, so please don't comment on
     an existing issue about this - open a new one instead.

Original error was: No module named _multiarray_umath

See my updated video tutorial: https://www.youtube.com/watch?v=aMMI0nAKgI0


Low gas limit causes root mismatch with private transactions

When you perform a private transaction with the correctly specified gas limit of 23,176 wei the private nodes get a root mismatch.
Example:
A private network with 4 nodes.
Deploy a contract to Node 1 and Node 2 with the gas limit of 24k
Node 3 and Node 4 will process the transaction correctly (the are not party to the private transaction)
Node 1 and Node 2 will fail with the error InvalidBlockException: Failed to import block: Invalid blockand Invalid block: receipts root mismatch
I suspect this is because the private transaction requires more gas and is somehow causing the gas used to be wrong.

Cannot reproduce failure when specifying gas as described.


Official Unity Example Scene does not export properly

The default scene Unity shows when starting a new project with the template "3D With Extras" has a number of issues with USD and USDZ export.

USD export does not support Occlusion channel, seems to always render as black

After removing the Occlusion map from all materials, it's getting better, but it looks like

Texture tiling is not exported, everything exports as clamped texture

After hacking in the wrapS and wrapT properties into ShaderExporterBase, the result still looks wrong in usdview:

USDZ export does not support TIF, only PNG and JPEG. Exporting this scene (with occlusion maps removed) to USD "kinda works" (minus the tiling/clamping), but exporting to USDZ still renders as black as all albedo etc. are exported straight from disk but in a format (tif) that's not actually supported. Same would go for PSD, EXR and others.
#122 contains the beginnings of a fix for this that would improve USDZ export in that regard. Note that e.g. GLTF exporter and FBX exporter are able to handle this properly.

USD export is factor 100x smaller than USDZ export.

Exporting "ExampleAssets" to USD yields a World Bounding Box of [(-1.3400003326534744, -0.15000003576278687, -1.8300494158326188)...(3.6600009787141516, 2.440000057220459, 3.2536465942077504)]
Exporting "ExampleAssets" to USDZ yields a World Bounding Box of [(-134.0000377380793, -15.000003576278687, -183.00494769170956)...(366.00011008798424,<PHONE_NUMBER>220459,<PHONE_NUMBER>8099037)]

To reproduce:

create a new Unity project with 2019.1.x or 2.x with the "3D with Extras" preset
select "ExampleAssets"
export to USD and USDZ
view in usdview

This is an excellent test case, great idea -- and thank you for the thorough bug report!

#3: the USDZ scale difference is intentional, since (AFAIK) USDZ / Apple AR Quick Look is specified in centimeters, but Unity is in meters.
I believe Apple may have recently changed this, we will investigate.

Regarding (3) would be great if you can tell me the state that work is in / if it's worth for me to continue with my fixes/improvements for this (as I started in https://github.com/prefrontalcortex/usd-unity-sdk/tree/texture-export).

As far as I know, work on (3) is not yet started internally, so if you send a PR addressing the issue, it would be greatly appreciated. We'll keep you in the loop if that changes (CC @mfe @lucillecaillaud)


Launch main ens.domains.website

From Alex's list -

[ ] approve texts

➤ Chris Remus commented:
test from asana integration

@alexvandesande Can I help get these texts approved?

I believe everything relevant has already been approved. Feel free to reopen if I'm wrong.


Multi relations in querry

I would like it to create a poem with 4 accounts, unfortunately I have some mistake in every possible way.
I was cleaning the database.
I deleted migrations and created them again.
after uploading the schema and run "prisma introspect" disappear all relations with the schema.
Error
PANIC: assertion failed: index < len in

Please create an issue in https://github.com/prisma/prisma-client-js describing the last Prisma Client query you called

prisma SQL
prisma.options.create({
        data: {
          file:{
            create: {
              name: args.filename,
            },
          },
          Routes: {
            create: {
              index: args.routename,
            },
          },
          Car:{
            create: {
              carnumber: args.carnumber,
            },
          },
          Value:{
            create: {
              value: args.value,
            },
          },
        },
      }),

schema.prisma
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model Car {
  id            Int           @default(autoincrement()) @id
  carnumber     Int           @unique
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  opts       Options[]

}

model File {
  id            Int           @default(autoincrement()) @id
  name          String        @unique
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  opts       Options[]
}

model Routetovalue {
  id            Int           @default(autoincrement()) @id
  index         String        @unique
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  opts       Options[]
}

model Values {
  id            Int           @default(autoincrement()) @id
  value         String        @unique
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  opts       Options[]
}

model Options {
  id            Int           @default(autoincrement()) @id
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  routeName     String?
  Routes        Routetovalue?  @relation(fields: [routeName], references: [index])
  fileName      String?
  file          File?          @relation(fields: [fileName], references: [name])
  carnr         Int?
  Car           Car?           @relation(fields: [carnr], references: [carnumber])
  val           String?
  Value         Values?        @relation(fields: [val], references: [value])
}

package.json
{
  "name": "graphql-expres-API",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "nodemon --exec babel-node index.js"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@nexus/schema": "^0.13.1",
    "@prisma/client": "^2.0.0-beta.1",
    "@types/node-fetch": "^2.5.5",
    "apollo-server": "^2.11.0",
    "babel-cli": "^6.26.0",
    "babel-preset-latest": "^6.24.1",
    "fs": "0.0.1-security",
    "graphql": "^14.6.0",
    "nexus": "^0.12.0",
    "nexus-prisma": "^0.12.0",
    "pg": "^7.18.2"
  },
  "devDependencies": {
    "@prisma/cli": "^2.0.0-beta.1",
    "@types/node": "^13.11.0",
    "eslint": "^6.8.0",
    "eslint-config-google": "^0.14.0",
    "ts-node": "^8.8.1",
    "typescript": "^3.8.3"
  },
  "prettier": {
    "singleQuote": true,
    "semi": false,
    "trailingComma": "all"
  }
}

OS: Windows and Ubuntu
Database: PostgreSQL - REMOTE
Prisma version: 2.0.0-beta.1
Node.js version: 12.30.0

After rebuilding the schema
error from studio
Error in Prisma Client request:

Error:
Invalid `prisma.car.findMany()` invocation:

Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "BŁĄD", parsed_severity: Some(Error), code: SqlState("42601"), message: "błąd składni w lub blisko \")\"", detail: None, hint: None, position: Some(Original(131)), where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("scan.l"), line: Some(1133), routine: Some("scanner_yyerror") }) }) })
    at PrismaClientFetcher.request (C:\Users\dawid\AppData\Roaming\Prisma\Studio\-Visual_Code-MZKAutobusDBAPI\runtime\index.js:1:51485)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

schema
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model Car {
  id            Int           @default(autoincrement()) @id
  carnumber     Int           @unique
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  opts       Options[]

}

model File {
  id            Int           @default(autoincrement()) @id
  name          String        @unique
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  opts       Options[]
}

model Routetovalue {
  id            Int           @default(autoincrement()) @id
  index         String        @unique
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  opts       Options[]
}

model Values {
  id            Int           @default(autoincrement()) @id
  value         String        @unique
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  opts       Options[]
}

model Options {
  id            Int           @default(autoincrement()) @id
  createdAt     DateTime?     @default(now())
  updatedAt     DateTime?     @default(now())
  Routes        Routetovalue? @relation(references: [index])
  file          File?         @relation(references: [name])
  Car           Car?          @relation(references: [carnumber])
  Value         Values?       @relation(references: [value])
}

Reproduce

download https://mega.nz/file/nx5FSToS#awDQC8o76fmNug-EIWiZ8BTDoYdlmfOJRKzbbTDCqPs
unpack
npx prisma migrate save --experimental
npx prisma migrate up --experimental
npx prisma generate
npx prisma studio --experimental or try prisma.option.create in resolvers.js

After upgrading to beta.2, the problem persists

I've been having a lot of funky issues with multi-relations, but the issue that I mentioned this one in (above) brought me to the same error of panic.
In my case, creating the model that has the problem from the query errors this way, but nested within another query simply ignores its creation, but makes the nested creations.

I can reproduce this issue, here is a minimal reproduction: https://github.com/harshit-test-org/prisma-client-633
We will need to fix this.

I pinned the issue, however, it's fairly complicated. Will update the issue once a fix is available.

A fix is available on alpha-1141 onwards. Please validate that it works for you now.

A fix is available on alpha-1141 onwards. Please validate that it works for you now.

Yes, it's works! :D


3EF1 007 0000AA00A63FF9 < AssertionError(byte 1: 00AA)

11:13:48.056 RP --- 13:107116 18:201230 --:------ 3EF1 007 0000AA00A63FF9 < AssertionError(byte 1: 00AA)
Traceback (most recent call last):
  File "/home/supervisor/Scrivania/ramses_rf-0.22.40 mod/ramses_rf/protocol/message.py", line 331, in _validate
    result = PAYLOAD_PARSERS.get(self.code, parser_unknown)(
  File "/home/supervisor/Scrivania/ramses_rf-0.22.40 mod/ramses_rf/protocol/parsers.py", line 141, in wrapper
    result = fnc(payload, msg, **kwargs)
  File "/home/supervisor/Scrivania/ramses_rf-0.22.40 mod/ramses_rf/protocol/parsers.py", line 2582, in parser_3ef1
    assert payload[2:6] == "7FFF", f"byte 1: {payload[2:6]}"
AssertionError: byte 1: 00AA

Thanks for you submission.
Unfortunately, the traceback by itself is not useful.
If you're willing, please submit the corresponding packet log, and a bit of an explanation what your system may have been doing at the time.
Is the relay a BDR91T - that would be exciting.

RP --- 13:107116 18:201230 --:------ 3EF1 007 0000AA00A63FF9

The issue is that the last byte is F9 and not FF.
I wonder if it is simply a corrupt packet? Or maybe the BDR is throwing a error code?
Is is just a one-off?

I need more packet logs to do anything with this.


Convert to use dcos-vagrant-box (centos)

This conversion allows for downloading the pre-built vagrant box used by dcos-vagrant.
The dcos-vagrant-box box has a 10GB disk, which should allow the default m1/a1/p1 setup to deploy. For larger deployments, the disk will need to be resized (WIP).
Also:

upgrade to docker 1.11.2, which is what's on dcos-vagrant-box.
add make postflight that waits for DC/OS to be ready, based on the one from dcos-vagrant
support make v3 (v4 isn't available on centos 7)

Works great with VirtualBox-5.0-5.0.18_106667_fedora22-1.x86_64 and vagrant 1.8.1.
:ship:

dcos-docker is broken now with DC/OS 1.8.2, which does a mv onto /etc/resolv.conf instead of writing to it directly.
Aug 26 22:10:18 dcos-docker-master1 gen_resolvconf.py[3660]: Traceback (most recent call last):
Aug 26 22:10:18 dcos-docker-master1 gen_resolvconf.py[3660]: File "/opt/mesosphere/bin/gen_resolvconf.py", line 90, in <module>
Aug 26 22:10:18 dcos-docker-master1 gen_resolvconf.py[3660]: os.rename(resolvconf_path + ".tmp", resolvconf_path)
Aug 26 22:10:18 dcos-docker-master1 gen_resolvconf.py[3660]: OSError: [Errno 16] Device or resource busy: '/etc/resolv.conf.tmp' -> '/etc/resolv.conf'
Aug 26 22:10:18 dcos-docker-master1 systemd[1]: dcos-gen-resolvconf.service: main process exited, code=exited, status=1/FAILURE
Aug 26 22:10:18 dcos-docker-master1 systemd[1]: Failed to start Generate resolv.conf: Update systemd-resolved for MesosDNS.
Aug 26 22:10:18 dcos-docker-master1 systemd[1]: Unit dcos-gen-resolvconf.service entered failed state.
Aug 26 22:10:18 dcos-docker-master1 systemd[1]: dcos-gen-resolvconf.service failed.

@karlkfi fixed in https://github.com/dcos/dcos/pull/602

Should fix https://dcosjira.atlassian.net/browse/DCOS-334 too

Tested and verified Oinker example on Ubuntu 16.04


Remove leading slashes from example topics

Use of a leading slash is not best practice and should not appear in examples.

@FlyingDiver thank you very much! Great catch :)

@FlyingDiver thank you very much! Great catch :)


Drawers issue

Multidimensional Ores Gems will not stack with Silent's Gems in drawers.
"Jaw Crusher outputs sapphire and peridot as mutlidimensional ores which don't appear to be ore dict with silent's gems as they won't go in the same drawer, probably same for all gems."

They are Ore Dict'd, you can see that by the tool tip. Also they work in Recipes. I don't know why Storage drawers are not converting them. Make them into shards then reform them..
My fix for this will be to make Jaw Crusher and rock Crusher, give you shards.


[DI] sink injectActorHops() after processing destroys

While trying to reuse the liveness-points analysis originally in DI for injecting actor hops for more general purposes, Pavel and I discovered that the point at which we are injecting the hops might not have fully-computed the liveness information.
That appears to be the case because we were computing the fully-initialized points before having processed destroy/releases of TheMemory. While this most likely had no influence on the actor hop injection, it does affect what the outgoing AvailabilitySet contains for a block. In particular, for this example:
struct X {
  init(cond: Bool) {
    var _storage: (name: String, age: Int)
    _storage.name = ""
    if cond {
      _storage.age = 30
    } else {
      _storage.age = 40
    }
  }
}

But because we are determine the full initialization points before processing the destroy, the liveness analysis doesn't iterate to correctly determine the out-availability of block 1 and 3 (corresponding to the then and else blocks in the example above). Here's the debug output showing that issue:
*** Definite Init looking at:   %5 = mark_uninitialized [var] %4 : $*(name: String, age: Int) // users: %37, %12, %22, %32

Get liveness 0, #1 at   assign %11 to %13 : $*String                    // id: %14
Get liveness 1, #1 at   assign %21 to %23 : $*Int                       // id: %24
  Get liveness for block 1
    Iteration 0
    Result: (yn)
Get liveness 1, #1 at   assign %31 to %33 : $*Int                       // id: %34
  Get liveness for block 3
    add block 2 to worklist
    Iteration 0
      Block 2 out: (yn)
    Iteration 1
      Block 2 out: (yn)
    Result: (yn)
full-init-finder: rejecting bb0 b/c non-Yes OUT avail
full-init-finder: rejecting bb1 b/c non-Yes OUT avail
full-init-finder: rejecting bb2 b/c no non-load uses.
full-init-finder: rejecting bb3 b/c non-Yes OUT avail
full-init-finder: rejecting bb4 b/c no non-load uses.
Get liveness 0, #2 at   destroy_addr %5 : $*(name: String, age: Int)    // id: %37
  Get liveness for block 4
    add block 3 to worklist
    add block 1 to worklist
    Iteration 0
      Block 1 out: (yy)
      Block 3 out: (yy)
    Iteration 1
      Block 1 out: (yy)
      Block 3 out: (yy)
    Result: (yy)

So, this patch basically just sinks the computation so it happens after, so that we force the incremental liveness analysis to also consider the liveness at the point of the destroy, but before having done any other transformations or modifications to the CFG to handle a destroy of something partially initialized.

@swift-ci please test

@swift-ci please test

@swift-ci please clean test

@swift-ci please test macOS platform

@swift-ci please test macOS platform


echarts.graphic.LinearGradient not working

color: new echarts.graphic.LinearGradient(
                    0, 0, 0, 1,
                    [
                        {offset: 0, color: '#83bff6'},
                        {offset: 0.5, color: '#188df0'},
                        {offset: 1, color: '#188df0'}
                    ]
                )

doesn't work. I suppose the echarts namespace was minified and doesn't exist anymore?
https://echarts.apache.org/examples/en/editor.html?c=bar-gradient

yes, you are right, the global variable echarts does not exist anymore after webpacking, so the LinearGradient will not work with the built chunks.
variable echarts has lots of APIs that can be set to chart option in runtime. In webpack environment, you can only use them when developing , e.g. echarts.registerMap, in build chunks it does not exist either.

Yeah, which is too bad :(
I wanted to try referring back to the echarts instance through a ref but the Streamlit lifecycle makes it hard to go back and forth between Python and JS afterwards anyway (absolutely not easy to do streamlit_echarts.setOption or streamlit_echarts.registerMap after the component was set, everything must be done when initializing the component and then eventually rerunning the script by changing component arguments to animate between 2 states)
Thanks for your comment, it helped reinforce my thoughts about it :) I may close this soon as "Unresolved"
Fanilo

Actually I'll close this in favor of #4


Documentation: How to coexist with AV3 puppet menus

Add documentation to explain how to use Avatar 3.0 puppet menus alongside Combo Gesture Expressions

Done! ( Tweeted here: https://twitter.com/vr_hai/status/1283452247330955268 )


.sbtopts memory options not working on Windows

steps
Tested on Windows 11 and sbt 1.9.6 by:

Running sbt from terminal on a project.
Running IntelliJ project with BSP support using sbt as build server.

Run sbt with following .sbtopts file present in working directory:
-J-XX:MaxMetaspaceSize=4G
-J-XX:MaxInlineLevel=20
-J-Xss2m
-J-Xms512M
-J-Xmx6G
-J-XX:ReservedCodeCacheSize=256M

These options were taken from https://github.com/disneystreaming/smithy4s/blob/series/0.18/.sbtopts.
problem
Memory options do not get assigned to the spawned sbt process. Default options get assigned instead.
expectation
Memory options should get assigned to the spawned sbt process.
notes
I think the issue is looping of _SBT_OPTS done in this function - https://github.com/sbt/sbt/blob/1.10.x/launcher-package/src/universal/bin/sbt.bat#L825-L855. The for loop of _SBT_OPTS set to -XX:MaxMetaspaceSize=4G -XX:MaxInlineLevel=20 -Xss2m -Xms512M -Xmx6G -XX:ReservedCodeCacheSize=256M only enters loop with -XX:MaxMetaspaceSize=4G and then exits. Placing a memory argument as a first argument in .sbtopts instead can be used as a workaround.

Changing loop in https://github.com/sbt/sbt/blob/1.10.x/launcher-package/src/universal/bin/sbt.bat#L845 from if defined _SBT_OPTS for /F %%g in ("!_SBT_OPTS!") do to if defined _SBT_OPTS for %%g in (%_SBT_OPTS%) do seems to fix this bug.

Thanks for the report. Would you like to send a PR for this?

Sure, will do.


[SPARK-28550][K8S][TESTS] Unset SPARK_HOME environment variable in K8S integration preparation

What changes were proposed in this pull request?
Currently, if we run the Kubernetes integration tests with SPARK_HOME already set, it refers the SPARK_HOME even when --spark-tgz is specified.
This PR proposes to unset SPARK_HOME to let the docker-image-tool script detect SPARK_HOME. Otherwise, it cannot indicate the unpacked directory as its home.
How was this patch tested?
export SPARK_HOME=`pwd`
dev/make-distribution.sh --pip --tgz -Phadoop-2.7 -Pkubernetes
resource-managers/kubernetes/integration-tests/dev/dev-run-integration-tests.sh --deploy-mode docker-for-desktop --spark-tgz $PWD/spark-*.tgz

Before:
+ /.../spark/resource-managers/kubernetes/integration-tests/target/spark-dist-unpacked/bin/docker-image-tool.sh -r docker.io/kubespark -t 650B51C8-BBED-47C9-AEAB-E66FC9A0E64E -p /.../spark/resource-managers/kubernetes/integration-tests/target/spark-dist-unpacked/kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
cp: resource-managers/kubernetes/docker/src/main/dockerfiles: No such file or directory
cp: assembly/target/scala-2.12/jars: No such file or directory
cp: resource-managers/kubernetes/integration-tests/tests: No such file or directory
cp: examples/target/scala-2.12/jars/*: No such file or directory
cp: resource-managers/kubernetes/docker/src/main/dockerfiles: No such file or directory
cp: resource-managers/kubernetes/docker/src/main/dockerfiles: No such file or directory
Cannot find docker image. This script must be run from a runnable distribution of Apache Spark.
...
[INFO] Spark Project Kubernetes Integration Tests ......... FAILURE [  4.870 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

After:
+ /.../spark/resource-managers/kubernetes/integration-tests/target/spark-dist-unpacked/bin/docker-image-tool.sh -r docker.io/kubespark -t 2BA5883A-A0AC-4D2B-8D00-702D31B59B23 -p /.../spark/resource-managers/kubernetes/integration-tests/target/spark-dist-unpacked/kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
Sending build context to Docker daemon  250.2MB
Step 1/15 : FROM openjdk:8-alpine
 ---> a3562aa0b991
...
Successfully built 8614fb5ac279
Successfully tagged kubespark/spark:2BA5883A-A0AC-4D2B-8D00-702D31B59B23

cc @dongjoon-hyun

Test build #108301 has started for PR 25283 at commit 835a4dc.

Test build #108301 has finished for PR 25283 at commit 835a4dc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/108301/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/13400/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/13400/

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/testing-k8s-prb-make-spark-distribution-unified/13400/
Test PASSed.

Thanks @dongjoon-hyun.


brakeman search for gemfile

If there was no Gemfile file in the current directory, Brakeman would
generate an error stating that the project to be analyzed was not a Ruby
on Rails project.
This commit fix this issue by looking for a directory path that contains
a Gemfile filename and them using this path as a work dir to execute
Brakeman.
Signed-off-by: Matheus Alcantara<EMAIL_ADDRESS>
- What I did
- How to verify it
- Description for the changelog

Still in draft until #878 is merged, since some code improvements was made there.


.eslintignore file is ignored

I have a script folder inside my ember cli project. I dont want to eslint this script folder because it is just quick&dirty try-out code of prototype-ideas. Now I put a .eslintignore file into my project root, right next to .eslintrc.
But the folder is still linted... what am I doing wrong?
Thanks

@jonathanKingston don't worry. I'm happy that I can use ember-cli-eslint and if I know this is an issue it's ok. I'll wait until it is fixed :-) it is good to know that it is a bug so I don't need to spend more time trying to get it work.

@tschoartschi the latest ember-cli-eslint@latest should solve this (I'm holding off making this a full 1.0.0 release until certain all issues are over)

"latest" doesn't seem to include index.js and there is a big tmp folder that comes with it?
actually the stable version from npm also seems to include a big tmp folder that I don't think should be there.

Always seems to happen with index.js files being missed there is an npm issue for it. tmp is my fault which should now be resolved.

Does npm install ember-cli-eslint@latest work for you both for this issue? @ezpuzz and @tschoartschi

beta.9 with my .eslintignore containing
**/modules/**

works to not lint imported addons.  Without it in place the modules do get linted.
beta.10 is missing index.js again.
haven't tried the .eslintignore for any other purpose though.

I think I'm getting close to finding out what is causing that index.js issue with npm, it's an outstanding issue that has not been fixed but seems to hit me more than anyone else (which points at it being a memory issue probably).
Yeah so I think that it is fair to say we now have .eslintignore files being read fine the other issue covers the addon usage error.

@jonathanKingston any luck with this? I am facing the same problem too

Hmm actually when I am using the @latest, the ignore works but now it's not running the linter against my files in app/**
How come!

Okay, discovered what I was doing wrong and that is this in my ignore
**/*.tmp/
The reason was, I didn't understand why the eslint was running the files in the tmp folder vs how master is doing it, against the files themselves...

Sorry I'm away at the moment so not able to answer many mails.
It has been on my todo list to move where the code is linting, it was the only way I could get it to work quickly.
However yeah please use latest, once I fix this issue then we should be ok to bump to version 1.
Thanks

Awesome! Thanks @jonathanKingston

@jonathanKingston I did a restructure of my project directory structure so I don't need the .eslintignore anymore. Because you wrote that you would bump the version to 1, maybe this issue is also interesting for you https://github.com/adametry/gulp-eslint/issues/72#issuecomment-121655287 (I'm not sure if it is really worth to open a new issue on this)

@tschoartschi latest version now published thanks for the heads up. Back home now so will likely work on this soon.

my builds are breaking again, the .eslintignore is not being applied to the imported modules
eg.
modules/ember-rapid-forms/utils/utils.js
  2:4  error  Utils is defined but never used   no-unused-vars
  5:8  error  Use ‘===’ to compare with ‘null’  no-eq-null

✖ 2 problems (2 errors, 0 warnings)

before the output was tmp/modules/whatever but now the tmp is gone again?  I'm on 0.2.5 for this.

Try the beta again? 1.0.0-beta.14

I installed version 1.0.0 today and now my tmp folder is linted again
So I get linting errors for example this file:
/../../tmp/funnel-output_path-Mm8daVKN.tmp/routes/application.js

My eslintignore file looks as follows:
tmp/
dist/

It was fine until I upgraded. What could be the issue?

@tschoartschi Check your glob syntax. I struggled with this for a bit and found out that was my problem. For example, instead of tmp/, try /tmp/

Should be fixed by https://github.com/jonathanKingston/broccoli-lint-eslint/pull/30

Hi @BrianSipple can we get broccoli-lint-eslint bumped to get that change in?

I think the .eslintignore issues might be more complex than that; see #82

Is this still an issue? I am trying to exclude tests/helpers/*.js in a .eslintignore file and it does not ignore the files.

Yup, definitely still an issue.  See #82


Better Doc Scrubber

Currently it gets rid of everything but lang and lib packages, but node package (and others) still show up in the scaladoc search but link to deleted html files

added js scrubber...


FIX FACTS

[x] - 1st issue: 2 weeks ago I had 100 facts. Today I still have 100 facts. (see pics as proofs)
[x] - 2nd issue: facts should be not just about what I like

More context:
Current facts collected about the user are some AI-generated bullshit like "Nikita is interested" or "Nikita enjoys"
As a developer, when using facts, I'm not even able to extract useful information such as "city of living", "age", etc...
Describe the solution you'd like
I want facts to contain actually useful information such as
Age, city of living, marriage status, health, friends names, relationships, preferences, allergies. Imagine an FBI report on a person - that's exactly how it should be.
Pics

For context:

I see you again have 100 facts, but they seem to be on different categories?

In COMPLETELY different categories, wtf? why? how? was this after you changed the prompt? did you clean up your facts?

I understand habits, lifestyle, hobbies are really few or none, but can you provide with a few conversations examples, and provide this one should include this facts.
Or how facts should be determined? for example, unless you have said that you live in San Francisco, it will prob not determine that you live there, as that'd be an inference based on your conversations, not a fact.

@josancamon19 no bro but hahaha every time I reopen the app, my facts are reshuffled into different categories :D
I just opened again, I have still 100 but now it's
1 hobby
11 interests
71 work
5 other
1 skill
11 lifestyle

I just pushed to prod test in 20 min, you should have like 2.5k facts, is bad for other reasons, but it should be better, lmk.

Check 2) again if you have facts like those you put as example

@beastoin moved this to in-review, please check this file
Run it with your id, and check how the facts results improved compared to previous ones.

Should we filter |||| As a developer, when using facts, I'm not even able to extract useful information such as "city of living", "age", etc... |||| only "core" facts into apps prompts?

https://docs.google.com/spreadsheets/d/1DMc4GjJTc0JzkY6tWHC0PV-z9T2zzZXFyLppKN_gAAQ/edit?gid=1103725368#gid=1103725368 my facts
at core - 44/58 - 75% good.
they covered my living, age, marriage status, family, experiences, ...

there's some duplicated facts at core, e.g. ^

Should we filter |||| As a developer, when using facts, I'm not even able to extract useful information such as "city of living", "age", etc... |||| only "core" facts into apps prompts?

should we pick 25 facts each category, or go with some ratio e.g. 50:20:10:10:10

Thanks for the feedback

75% seems really good to me

They can be duplicated, because the scripts runs in parallel sometimes :c otherwise it would take too long

@josancamon19 pls help me by noting down steps to deploy. to ensure the current app/backend fully functional e.g:

release the app
wait for 100% user updates
release backend
run the migration xyz

and, are there any breaking changes affecting the current mobile apps ?

follow up https://github.com/BasedHardware/omi/pull/1483

are you ready sirs ?

lfg wohooo

Product changes logs

ready on Testflight / Internal test 🥳

@kodjima33 fyi ~ bro, please take a look at your Facts and feel free to let me know.


support  the 3.0  and 3.1 version of spring mvc framework

Coverage decreased (-0.02%) to 22.97% when pulling fd6340e1291f5c9eb799a1f17ee1b938e1c55ab0 on ascrutae:feature/support-spring3.0 into f3a1bf5da5f73d0750c311386abd7a96797516f1 on OpenSkywalking:master.

Coverage decreased (-0.02%) to 22.968% when pulling 2af91e4a6b821966f136486eb05fcd48c4b07839 on ascrutae:feature/support-spring3.0 into f3a1bf5da5f73d0750c311386abd7a96797516f1 on OpenSkywalking:master.

Coverage decreased (-0.02%) to 22.97% when pulling 2af91e4a6b821966f136486eb05fcd48c4b07839 on ascrutae:feature/support-spring3.0 into f3a1bf5da5f73d0750c311386abd7a96797516f1 on OpenSkywalking:master.

Coverage decreased (-0.02%) to 22.97% when pulling 30ba5853e035852d6f19b2c3ece402f363ecb198 on ascrutae:feature/support-spring3.0 into f3a1bf5da5f73d0750c311386abd7a96797516f1 on OpenSkywalking:master.


split FW_ATT_TC into FW_R_TC and FW_P_TC

This is looking good - can you provide some intuiting / tips for tuning?

I split them because the roll and pitch axes were not symmetric, so the roll and pitch time constants shouldn't be the same.
Basic tuning - decrease the time constant until you see significant overshoot or oscillation, then back off slightly.

Cherry picked and applied. Closing.


configuration files need to support utf-8 characters

    > Is it a requirement for configuration files to support Unicode characters?

I gave it a try:
${params}['global']['teststring_bench'] : "I am the bench1 SälfTest.ß.€.考.𠼭.𠼭 configuration of exercise 06"
But the special characters in the middle of the string are not displayed correctly in log file and also not in console:
teststring_bench : I am the bench1 SÃ¤lfTest.ÃŸ.â‚¬.è€ƒ.ð ¼.ð ¼ configuration of exercise 06

Hello Holger,
Unfortunately, it does not support Unicode characters yet, you can create a ticket for me to implement it in python-jsonpreprocessor package.
Originally posted by @namsonx in https://github.com/test-fullautomation/robotframework-testsuitesmanagement/issues/45#issuecomment-1340898098

Hi both,
I assume you mean UTF-8 characters.
Yes, we need to support UTF-8 files and accordingly proper UTF-8 data processing.
I assume UTF-8 input by JSON must become unicode on python/robot dictionary level, so you must decode accordingly.
Thank you,
Thomas

Hi Son,
what is the status here?
This is an important issue.
Thank you,
Thomas

Hello Thomas and Holger,
I created new pull-request to fix this issue on python-jsonpreprocessor repository.
Thank you,
Son

Greetings from "SälfTest.ß.€.考.𠼭.𠼭"
Works well in jobs/1681416

solved with already merged #43


Unable to use a pager

It's not possible to pipe output of fetch to a file or a pager
fetch -i mallard | less -R
Traceback (most recent call last):
  File "/usr/local/bin/fetch", line 11, in <module>
    load_entry_point('yashsinghcodes==0.1', 'console_scripts', 'fetch')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/local/lib/python3.6/site-packages/yashsinghcodes-0.1-py3.6.egg/fetch/__init__.py", line 4, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/local/lib/python3.6/site-packages/yashsinghcodes-0.1-py3.6.egg/fetch/fetch.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/local/lib/python3.6/site-packages/yashsinghcodes-0.1-py3.6.egg/fetch/info.py", line 18, in <module>
OSError: [Errno 25] Inappropriate ioctl for device

In fetch/info.py I changed
width,height = os.get_terminal_size()
to
try:
    width,height = os.get_terminal_size()
except OSError:
    width = 120
    height = 80

to get it to work

Thanks for reporting the issue. I have used your quick fix for OSError and will look deep in the issue for some better fix.


Document is outdated

[Enter feedback here]
there is no details well. in powerbi desktop it shows as values
no explanation for play axis

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

ID: 5668e4cf-3837-c2d4-b818-14476441468b
Version Independent ID: c95096dd-9b73-79ab-8ff2-158c5900f5a6
Content: Scatter, bubble, and dot plot charts in Power BI - Power BI
Content Source: powerbi-docs/visuals/power-bi-visualization-scatter.md
Service: powerbi
Sub-service: pbi-visuals
GitHub Login: @mihart
Microsoft Alias: mihart

Thanks for your comment, @TechnicalCode. This issue has been assigned to the doc author for review.

Thanks for your feedback, the article has been updated since you posted your feedback.


Automatically open a firewall when creating a GCE load balancer.

@thockin @ArtfulCoder

Manually validated that this works on my cluster (both create and delete)
Once it is merged, I will update the e2e tests (and the message in kubectl)
--brendan

One maybe issue then LGTM, but why not update strings and tests together?
Is it worthwhile to blacklist services on 10250?

@cjcullen

Blacklisted 10250 also.
I will also add the kubectl and test changes to this PR.

Comment addressed, please re-check.
--brendan

LGTM
@a-robinson @justinsb for extra eyes, but with urgency please

fixed gofmt.

Closes https://github.com/GoogleCloudPlatform/kubernetes/issues/10976

Comments partially addressed, please re-check.  I'd like to get this in asap.

About not waiting on the op, that means we'll never retry failed attempts to create a firewall. Maybe that's good enough, but it's certainly not great. What's the risk of waiting? If it's purely that we'll leave a goroutine spinning for a long time, we could increase the number of worker goroutines in the service controller.
I'm fine with signing off on this as is for speed's sake, but would prefer waiting for the operation.

Ok @a-robinson you've convinced me.  There are only 10 workers in that pool as it stands, so I'm a little worried about starvation, but I guess we'll wait and see.  (we should add some monitoring)
PR updated, please take another look.
--brendan

LGTM
I'm perfectly happy with upping the number of goroutines in the service controller if you'd like. It could only help.

Ok, fixed gofmt (again), I think this is ready to merge.

shippable still red

If arob LGTM'd let's go.
On Fri, Jul 10, 2015 at 1:29 PM, Brendan Burns<EMAIL_ADDRESS>wrote:

Ok, fixed gofmt (again), I think this is ready to merge.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/10974#issuecomment-120513814
.

mingedocs: "Some changes needed but not made due to --verify=true"

fixed mungedocs.

LGTM
@rjnagal

shippable is backed up, watching and waiting ...

mesos executor test failed. known issue.
Ignoring and merging.


bug: Cannot load lua module from a custom runtimepath

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.9.0-dev-656+g93d99aefd
Operating system/version
Linux manjaro 5.4.224-1-MANJARO
Describe the bug
When I set my runtimepath to a custom folder and then call require('lazy').setup({ spec = {}}). I can't call my lua module in the custom folder.
Steps To Reproduce

Clone the repo https://github.com/jackysee/nvim-lazy-rtp
At the folder run nvim -u init.lua
Error showing cannot load a lua module in myscripts folder. The module is at myscripts/lua/hello.lua

Expected Behavior
It's expected to see 'hello' got printed. It would work if setup is not called
Repro
-- Need to use the provided repo to reproduce the bug
-- It contains the hello script

local lazypath = '/tmp/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system({ 'git', 'clone', '--filter=blob:none', 'https://github.com/folke/lazy.nvim.git', lazypath })
    vim.fn.system({ 'git', '-C', lazypath, 'checkout', 'tags/stable' }) -- last stable release
end
vim.opt.rtp:prepend(lazypath)
vim.opt.rtp:prepend(vim.fn.expand('%:p:h').."/myscripts")
require('lazy').setup({ spec = {} })

require('hello').hello()

Set config.performance.rtp.reset = false


Update mssql.JSON

I modified lots of snippets to include the database name so that the user can additionally tab through the database name. I made some quality of life change for the user.  I normalized and standardized snippets to look more like one user created the file rather than each script taking on various flavors from the contributors. I tried to write the comments in the snippets in the same style at the majority of the snippets.  I added highlighting in key areas that were missing it or were not replacing the comments. Additionally there was no snippets for sqlCreateIndex and sqlCreateTempTable which I find standard for SQL users.  Let me know your thoughts! No trying to offend anyone if I changed your code.

 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.:x: JASM2007 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@vickyharp @yualan any thoughts on these updates to the built-in snippets?

Coming from the Analytics consulting industry where we are using multiple databases to compare data it's important for us to be able to reference those databases. We use the DB qualifier to prevent having to connect to a new database each time so that as long as both databases are on the same server then you can access it. I would argue that [SchemaName] changes would be as common as [DatabaseName[ changes. Of course it depends on a person's preference but [dbo] is probably more common than a user writing a custom schema name. Either way adding [DatabaseName] and [SchemaName] gives user the option to change it by tabbing through it or deleting it. I think it gives more flexibility overall.


you say 'Update tenant-name with the name of your Azure AD B2C tenant.' but there's no reference to that, eg in the snippet

you say 'Update tenant-name with the name of your Azure AD B2C tenant.' but there's no reference to that, eg in the snippet

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

ID: 7f4e153e-0fe3-2f8f-58b9-0402e3d11951
Version Independent ID: 8f7af191-8ac1-ac6c-a733-0216075373ee
Content: Configure Azure Active Directory B2C as a SAML IdP to your applications
Content Source: articles/active-directory-b2c/saml-service-provider.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

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

@anwarmahmood1
I have assigned the issue to author who will provide further updates.

@anwarmahmood1
Thank you for your feedback! We've updated our documentation to address the issue. However, it may take some time for the updates to go live.


Translations not found for SDK 6.0.3

Describe the bug
Translations files not found with web version 6.0.3. They are found with 6.0.2.
To Reproduce
Steps to reproduce the behavior:

Go to https://checkoutshopper-test.cdn.adyen.com/checkoutshopper/sdk/6.0.2/translations/en-US.json
Translations returned
Go to https://checkoutshopper-test.cdn.adyen.com/checkoutshopper/sdk/6.0.3/translations/en-US.json
404

Expected behavior
Translations found.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS] any
Browser [e.g. chrome, safari] any
Version [e.g. 22] 6.0.3

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Yup, affected here too. This will break the world of anyone brave enough not to pin the package release. Surely resource deployment should be tied to package release as well?

The problem should now be fixed. Sorry about this.
Are are now reworking the way we do the deployments so ensure the resources are available before the NPM release.

It looks like en-US.json was resolved by this issue but other locales such as en-GB still remain an issue, can you please resolve for all the locales? Or should people in the locale en-GB use en-US?

@regatta-cc Yup, see Adyen response to my ticket raised and closed: https://github.com/Adyen/adyen-web/issues/2778

Hi @m1aw , please this problem still persists for other translations, would it be possible to reopen this PR?
https://checkoutshopper-test.cdn.adyen.com/checkoutshopper/sdk/6.0.3/translations/pt.json
https://checkoutshopper-test.cdn.adyen.com/checkoutshopper/sdk/6.0.3/translations/cs.json
...

Hey @sebastian-vass those are not part of our supported locales.
You can find the supported locales for v6 here: https://github.com/Adyen/adyen-web/tree/main/packages/server/translations

Hi, we have the same issue - simple formats like pt, en, es worked in v5 but in v6 it is broken. We will have to map it to long formats like en-US, pt-BR. We can hotfix it using your table.
But I think it should be fixed on Adyen's side - the list of supported languages can change over time, and we would have to manually check and implement the changes. Could you add support for the simple format (en) and redirect it to the proper language on your end? (en-US)

Hi @infi-pc,
Thank you for your feedback.
To provide some context, the team has indeed decided to enforce stricter handling in v6 by not making "smart assumptions" based on the language code alone. The challenge arises when multiple locales are involved. For instance, if someone passes pt, we cannot reliably determine whether it's pt-PT (Portuguese from Portugal) or pt-BR (Portuguese from Brazil). Similarly, language codes like en, es, and others have different regional variations that would need to be handled accordingly as well.
We have added this change to the list of breaking changes, ensuring that everyone is aware of the potential impact when migrating to v6.


Issue#241 prepare role matrix

dev
ZenHub

Main ZenHub ticket

Code reviewers

[ ] @github_username

Second Level Review

[ ] @github_username

Summary of issue
Define Roles and prepare Role Matrix#241
In order to refactor our Authorization, we have to work on defining User Roles that will be used in the system and prepare Role Matrix for the existing actions.
Summary of change
Added Role Matrix with roles admin, cooperation_admin and owner.
CHECK LIST

[ ]  СI passed
[ ]  Сode coverage >=95%
[ ]  PR is reviewed manually again (to make sure you have 100% ready code)
[ ]  All reviewers agreed to merge the PR
[ ]  I've checked new feature as logged in and logged out user if needed
[ ]  PR meets all conventions

https://docs.google.com/spreadsheets/d/1kKI9s_mpG3x30oWkVwgl34n7tnQsx3QgsDiI61fYJvo/edit?usp=sharing


Improve documentation for pool iteration function.

There are constraints on what mutations can be done while iterating
that were not documented.
Problem
Unclear docs.
Change overview
Improve the docs.
Testing
Just comment changes.

/rebase


Error starting LSP server when folder without installed dprint is opened

Extension version: latest (0.16.0)
Steps to reproduce:

Enable LSP: "dprint.experimentalLsp": true
Open any folder where dprint is not installed (f.e. empty folder)
Error occurs:

[Error - 3:13:06 PM] dprint client: couldn't create connection to server.
Launching server using command dprint failed. Error: spawn dprint ENOENT
[ERROR] Error initializing: Launching server using command dprint failed. Error: spawn dprint ENOENT
[WARN] Extension failed to start.

I think that dprint should be activated only in projects where it is configured (where dprint.json or\and dprint executable exists). All other projects should be ignored.

Thank you for trying it out and reporting the bug!


Cleanup MapReduce package and API

Please see separate commits for each step so far.  This is still a work in progress but I was looking for feedback before implementing each new MapReduce class.
The idea for the new API was to have each Accumulo*Format be required to only call one method:
public static void setInfo(Job job, InputInfo info);
The only object required with the Job would be a getter interface object that would have a builder to go along (see InputInfo and InputInfoImpl).  This would only expose these methods and the getter interface object.  Everything else would stay under the hood (and OUT of the public API) allowing us to refactor and clean up the internals as we see fit.

Sorry for all the rebasing... I did some refactoring and wanted to group that separately from the new stuff.  Should be better now to review.

I think I am going to shelve these changes for 2.1

I think I am going to shelve these changes for 2.1

On second thought, I think I can break up some of the changes into 2 commits.  I will use this PR for the first batch.

@keith-turner and @ctubbsii please take a look at these 3 commits as the next step in this cleanup process, building on #425 and I can close #720.  These changes have been dialed back to the following:

Copy back the MapReduce code from the new client-mapreduce module back into core.client to preserve backwards compatibility of core.
Rename the new client-mapreduce packages to avoid conflicting with the old ones
Remove the dependency for client-mapreduce from test pom since test is now using the old ones again.  This commit also had sorting and formatting cleanup for the new package names.

This will build on the work already done without breaking things.  Getting these changes will allow someone else to go through deprecating the old MapReduce code while simultaneously working on a new API.

Can you rebase, please? There appears to be a conflict with master, and I think a rebase would also clear things up with regard to the diff from master.

Rebased onto master.

So, it looks like adding the classes back to core slows down spotbugs findsecbugs plugin just enough to make that task timeout in Travis due to it taking longer than 10 minutes to analyze core. I've pushed an update to the Travis config to extend the timeout to 20 minutes.


Missing .NET Core cross-platform package causes unhelpful error message.

When trying to crate the Google ASP.NET Core MVC template in Visual Studio 2017 without the .NET Core cross-platform development package, the unhelpful error popup "could not upgrade project" is shown and the project is not created (although the solution is). It would be better to detect this situation in the wizard and back out cleanly.

It does not appear possible to get the enabled extensions of an extension that works in both VS 2015 and VS 2017. Microsoft.VisualStudio.ExtensionManager.dll is not in any NuGet package, and using an un-hinted reference (meaning it is found in the GAC) causes class cast exceptions in VS 2017.