Stop leaking memory in generated C code

Okay, it's about time we fix the oldest missing feature in the compiler: that the C code generator malloc()s but never free()s.  A simple approach based on reference counting ought to be enough.  Some finesse may be needed to avoid any of this inside generated kernel code.

I believe we still leak the return value when using the -r flag for standalone programs, but that's not as critical, as it affects only standalone programs.


0.7.0 is not available on the vscode marketplace

It doesn't seem like 0.7.0 has been published to the Marketplace is that intentional?

No, but only @sbrink can publish plugins to marketplace, so we just need to wait.


Add Notes to Journal Journal not working for me

Thank you very much for this plugin. It will replace Calendar and Periodic Notes for me. I'm looking forward for version v2!
I can't add my current daily journals (created with Calendar/Periodic Notes) to journals :(
The old journals are in the same folder structure as the new one: Journal/YYYY/MM/YYYY-MM-DD
The add process finds the 1st Daily Note and then nothing happens :(
The Debugger window shows:
plugin:journals:1187 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'day')
at AddNotesJournalModal.eval (plugin:journals:1187:45)
at Generator.next ()
at fulfilled (plugin:journals:25:58)
The same happens, if I change "Take date from" from "note title" to Property and set this to the "old" YAML-Field

Could you please attach screenshot of settings that you try to use
and also screenshot of second step when process starts

Here are the Screenshots. Journals "stops" after finding the 1st Note to convert. "Debug-Window" is from Obsidian Debug (Chrome I think)
Thank you very much and best regards!

That's the expanded error
obsidian.md-1728912489436.log

thank you for the details - I was able to identify the problem
I'll release a fix today or tomorrow

Thanks a you very much Sergii!

I release 1.4.1 that should solve this problem - please give it a try

Thank you Sergii!
Good things first: no more errors in the debug console. But still no conversion :(. The .md files are not accepted as markdown files:

If I connect a journal entry manually it works. It looks a little bit strange, because I had to integrate the folder in the name. At the end the not is in the same folder with the same name as before, just the necessary properties are added:

🤦  I was sure I checked that change that should skip processing other file formats (I noticed problem while testing) but apparently it had an issue
1.4.2 with fix is out
regarding you next comment:
it happens because you defined date format with slashes inside - that was the only way to get year/month folders in periodic notes.
It works in Journals as well but I generally don't recommend it (I will probably add a comment in v2 about this) - because as you see in some cases that format definition works bad
a better way would be

use YYYY-MM-DD as date format
to get year/month folders - use variables with custom format for folder path - 20_Speial-Notes/21_Journal/{{date:YYYY}}/{{date:MM}}

Perfect! Thank you very much!
For v2, it would be nice (I will not use it anymore ;)), if  the window which shows the progress of the connected notes (actually it doesn't):

As you suggested I changed the folder of my daily notes to {{date:YYYY}}/{{date:MM}} (root is already on "20_Special-Notes/21_Journal" and it works perfect!
Thanks once more!
Now I just need to fix the problem, that at the moment the new note dismiss my defined cursor position (in templater defined) on first opening

the problem, that at the moment the new note dismiss my defined cursor position (in templater defined) on first opening

hm this may be related to how plugin integrates with templater
I don't know templater that deep - could you please describe how exactly you define cursor position with templater

I set (as described in https://dannb.org/blog/2022/obsidian-daily-note-template/):

<% tp.file.cursor() %> to tell Obsidian where to place your cursor once Templater creates each new Daily Note.
To use this, place the code <% tp.file.cursor() %> wherever you want your cursor to appear (maybe on the first bullet point under Notes, or under the first daily question).
Then, in Templater settings, make sure you have the following enabled:

Automatic jump to cursor
Trigger Templater on new file creation

But looked, that I meet your recommendation:

There can be cases when Templater starts interfering with plugin actions resulting in partially broken note ot journal related data removed from frontmatter. The best setup to avoid such problems would be:

template configured in journal plugin settings
Trigger Templater on new file creation is disabled
OR Trigger Templater on new file creation is enabled, Enable Folder Templates is enabled, NO Folder template is configured
This ensures that only journal plugin is processing note template thus avoiding conflicts with templater plugin (journal plugin will use templater itself under the hood to process templater commands).

The cursor always jumps to "```calendar-nav" after opening the note.
But it doesn't matter. I can (very well) live with your Plugin! Thanks alot again!

Yeh this is definitely about integration - I'll create a separate issue to investigate on how to fix it
Closing this one as the initial problem is resolved


SolverError after using Standardized constraint

I would like to use the Standardized() constraint, but every time I get a following error:
~/Documents/school/repsys/repsys/evaluators.py in _compute_embeddings(self, matrix, max_samples, **kwargs)
     39         pymde.seed(self.seed)
     40         mde = pymde.preserve_neighbors(matrix, init='random', constraint=pymde.Standardized(), verbose=self.verbose, **kwargs)
---> 41         embeddings = mde.embed(verbose=self.verbose, max_iter=400)
     42         embeddings = embeddings.cpu().numpy()
     43

~/opt/miniconda3/envs/repsys/lib/python3.7/site-packages/pymde/problem.py in embed(self, X, eps, max_iter, memory_size, verbose, print_every, snapshot_every)
    506                 print_every=print_every,
    507                 snapshot_every=snapshot_every,
--> 508                 logger=LOGGER,
    509             )
    510

~/opt/miniconda3/envs/repsys/lib/python3.7/site-packages/pymde/optim.py in lbfgs(X, objective_fn, constraint, eps, max_iter, memory_size, use_line_search, use_cached_loss, verbose, print_every, snapshot_every, logger)
    129             norm_X = X.norm(p="fro")
    130         X.requires_grad_(True)
--> 131         opt.step(value_and_grad)
    132         X.requires_grad_(False)
    133

~/opt/miniconda3/envs/repsys/lib/python3.7/site-packages/torch/optim/optimizer.py in wrapper(*args, **kwargs)
     86                 profile_name = "Optimizer.step#{}.step".format(obj.__class__.__name__)
     87                 with torch.autograd.profiler.record_function(profile_name):
---> 88                     return func(*args, **kwargs)
     89             return wrapper
     90

~/opt/miniconda3/envs/repsys/lib/python3.7/site-packages/torch/autograd/grad_mode.py in decorate_context(*args, **kwargs)
     26         def decorate_context(*args, **kwargs):
     27             with self.__class__():
---> 28                 return func(*args, **kwargs)
     29         return cast(F, decorate_context)
     30

~/opt/miniconda3/envs/repsys/lib/python3.7/site-packages/pymde/lbfgs.py in step(self, closure)
    518
    519                     loss, flat_grad, t, ls_func_evals = _strong_wolfe(
--> 520                         obj_func, x_init, t, d, loss, flat_grad, gtd)
    521                 self._cached_loss = torch.tensor(loss, device=flat_grad.device)
    522                 self._add_grad(t, d)

~/opt/miniconda3/envs/repsys/lib/python3.7/site-packages/pymde/lbfgs.py in _strong_wolfe(obj_func, x, t, d, f, g, gtd, c1, c2, tolerance_change, max_ls)
     70         raise SolverError("Function evaluation returned NaN.")
     71     elif np.isinf(f_new).any():
---> 72         raise SolverError("Function evaluation returned inf.")
     73     elif torch.isnan(g_new).any():
     74         raise SolverError("Gradient evaluation returned NaN.")

SolverError: Function evaluation returned inf.

I tried different configurations of the preserve_neighbors function, but still getting the same error. After removing this constraint, everything works just fine. I also tried Centered() constraint, which works as well.
My implementation is:
pymde.seed(0)
mde = pymde.preserve_neighbors(matrix, init='random', constraint=pymde.Centered(), verbose=True)
embeddings = mde.embed(verbose=True, max_iter=400)
embeddings = embeddings.cpu().numpy()

This is because you have duplicated items in your data matrix (if this is for the same or similar data for your other issue). For embedding problems, there's no need to get multiple vectors for the same item. If you have a specific need for that then maybe you can explain what you're trying to do, and we can see if there's another way to do it.


Refs #32074 -- Fixed handling memoryview content by HttpResponse on Python 3.10+.

ticket-32074
An iterator was added to memoryview in Python 3.10, see bpo-41732.
See also ticket-30294.

@carltongibson It's not urgent, I can wait :+1: httpwrappers.tests.HttpResponseTests.test_memoryview_content fails on Python 3.10 without this patch:
======================================================================
FAIL: test_memoryview_content (httpwrappers.tests.HttpResponseTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/felixx/repo/django/tests/httpwrappers/tests.py", line 372, in test_memoryview_content
    self.assertEqual(r.content, b'memoryview')
AssertionError: b'109101109111114121118105101119' != b'memoryview'


feat: support hard line breaks

closes https://github.com/denoland/deno-gfm/issues/98

@crowlKats, here's a small one. I just needed to expose the option that marked already provides, make sure it defaults to false, and then write a test.

Thanks for your implementation 😉 I will surely use it!


[Hydrogen reference docs]: Indicate files that are generated

As we move towards having the Hydrogen reference docs stored in the /hydrogen repo, and then generated to display on Shopify.dev, we should have a way of indicating which files in the shopify-dev repo are part of this process.
This would help to prevent unintentional updates to reference files directly in the shopify-dev repo. It's easy for collaborators in the shopify-dev repo to come in and make changes to docs like this, without recognizing that it's a generated file from another repo. We have this issue with our REST and GraphQL Admin API docs today, and it would be great to solve this problem before it starts here!
Adam Petro, a developer on the Scripts team, has come up with an effective way of adding a Liquid comment at the top of each generated file. This is a great way to provide context about the internal process that produces the doc.
Example Liquid comment
Example comment that we could implement at the top of each Hydrogen reference doc:
{% comment %}
This file is is auto-generated from the `Shopify/hydrogen` repo. Any changes that you make to this file in the `Shopify/shopify-dev` repo will be overwritten. If you need to make changes to this file, then make the changes directly in the `/hydrogen` repo.
To re-generate this file, run `yarn generate-docs` in the `Shopify/hydrogen` repo.
{% endcomment %}

@cartogram I made a small update to the messaging just to reference the Shopify/hydrogen repo. I think we're good to close this issue now, as the messaging shows up both in /hydrogen and in /shopify-dev.


object/webdav: replace webdav client

Codecov Report

Merging #2288 (8e84125) into main (70e172c) will decrease coverage by 0.02%.
The diff coverage is 54.79%.

:exclamation: Current head 8e84125 differs from pull request most recent head 8d53bc0. Consider uploading reports for the commit 8d53bc0 to get more accurate results

@@            Coverage Diff             @@
##             main    #2288      +/-   ##
==========================================
- Coverage   61.81%   61.78%   -0.03%
==========================================
  Files         137      137
  Lines       25256    25279      +23
==========================================
+ Hits        15612    15619       +7
- Misses       7829     7837       +8
- Partials     1815     1823       +8

Impacted Files
Coverage Δ

pkg/object/webdav.go
69.06% <54.79%> (-9.39%)
:arrow_down:

pkg/meta/redis.go
71.55% <0.00%> (+0.04%)
:arrow_up:

pkg/meta/tkv_mem.go
88.43% <0.00%> (+0.57%)
:arrow_up:

Continue to review full report at Codecov.

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


GetCurrentConsoleFont(...) always returns size {0,16}

The API call to GetCurrentConsoleFont(...) always yields a size of {0,16} (consoleFontInfo.dwFontSize)
Environment
Windows build number: 10.0.18363.0
Windows Terminal version: 1.0.1401.0

Steps to reproduce

Compile the following C++ program

#include <windows.h>
#include <iostream>

int main()
{
	HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);

	CONSOLE_FONT_INFO consoleFontInfo;
	GetCurrentConsoleFont(hStdOut, FALSE, &consoleFontInfo);

	std::cout << "Font Size: {" << consoleFontInfo.dwFontSize.X << "," << consoleFontInfo.dwFontSize.Y << "}" << std::endl;
}

Run the program in Terminal with either CMD or Powershell
The output is always {0,16}, regardless of fontSize in settings.json

Expected behavior
As with regular cmd.exe and powershell.exe I would expect the output to display some reasonable data

Actual behavior
The size outputted is always {0,16}, regardless of settings.

This is by design. The process is isolated from the Terminal just like it would be if it were over SSH. There is no font in SSH.
Giving the console application access to the font information was a big mistake, so we are only providing bare-minimum compatibility for this API.
What is your use case?

Before I call a resize-even in my own code I use it in combination with GetSystemMetrics(SM_CXMIN) and GetSystemMetrics(SM_CYMIN) to get the minimum size of the console in pixels.
I then calculate how wide and tall the window is based on the font size and check If the console can be set to that size.
See code here.


Using "unsafe" functions floods VC compiler output with warnings

As you probably know, functions like sprintf, strcat which being used are considered "unsafe" in VC compiler. Better to use something more "safe" or wrap this functions into defines for VC.

In this case it's fine though. The buffer size statically cannot be overflowed and snprintf cannot be relied upon due to old msvcrt versions.
Is #pragma warning disables fine here? I'd rather avoid special paths with the "safe" versions for MSVC.

@HansKristian-ARM
Yes, of course
Nobody will ever notice this, if console will not be flooded with warnings :)

Ok, the MSVC build already has the -D_CRT_blabla define, I guess the real problem is when using the source files externally, will just move stuff to the source files instead.

Fixed.


License

Hi @maluramichael,
thanks for putting this repo together! Under which license do you provide the code? Could you consider adding a license file to the repo?
I would like to adapt this code for a private project (and potentially make it public on GitHub again) -- technically I'm not allowed to do that without an open source license.
Thanks,
Gregor

Hey Gregor. Sure. Ill add the MIT license. Go for it :)


Replace NumPy with Torch in examples/fabric/

What does this PR do?
Refactoring to remove all numpy function calls in the examples/fabric folder.
Part of Issue: #16649
Related to Pull Requests:  #17264, #17267 and #17278
Removal of numpy package import in the listed files.
Most replacements are simple substitutions of np.<func> to torch.<func>, but also the inclusion of logical_not() where subtraction with tensors of bools are not allowed.
Removal of seeding numpy rng
Where .numpy() is called, it has been changed to .tolist() as input to external functions.
.tolist() is much slower than .numpy() and since .numpy() is part of the torch package this doesn't require the numpy import.
Replace Tensor(...).to(device) with torch.tensor(..., device=device)
Files:

examples/fabric/meta_learning/train_fabric.py
examples/fabric/meta_learning/train_torch.py
examples/fabric/reinforcement_learning/rl/agent.py
examples/fabric/reinforcement_learning/rl/utils.py
examples/fabric/reinforcement_learning/train_torch.py
examples/fabric/reinforcement_learning/train_fabric.py
examples/fabric/reinforcement_learning/train_fabric_decoupled.py

Part of #16649

Before submitting

[x] Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

lightning-fabric (GPUs) (testing pkg: fabric) is failing at the standalone test for strategies/test_fsdp_integration.py.
Link to pipeline fail
I'm not sure how to go about resolving the failed test as the examples I changed aren't going into that test..

I'm not sure how to go about resolving the failed test as the examples I changed aren't going into that test..

They are unrelated, you can ignore them and we will rerun them before merging.


Window only link

Click to expand!
Issue Type
Others
Source
source
Tensorflow Version
na
Custom Code
No
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
The Windows Only link is not working

Standalone code to reproduce the issue
Try and download the Window only version of tensorflow and it fails
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
NoSuchKey
<Message>The specified key does not exist.</Message>
No such object: tensorflow/libtensorflow/libtensorflow-gpu-windows-x86_64-2.11.0.zip
</Error>

Relevant log output
No response

@bobbryant
TensorFlow 2.10 was the last TensorFlow release that supported GPU on native-Windows.We are not maintaining the GPU wheel for tensorflow 2.11.
If you would like to use GPU on windows, we request you to use tensorflow 2.10 GPU
Thank you!


Change syncWith to broadcastTo(object | array)

Currently, niivue instances can sync with each other so that one can drive another. This is done with the syncWith(otherNvInstance) call. However, this is slightly confusing syntax since the driving niivue instance is the one passed as the argument.
I think a more clear call would be broadcastTo(object | array). This new broadcastTo function would allow any niivue instance to broadcast its syncable properties to any other niivue instance (or multiple niivue instances if the input is an array of niivue instances). Any niivue instance can broadcast to any other niivue instance since the one with focus will be doing the broadcasting (avoiding a recursive sync).

I'm using the new broadcastTo function, it makes the syncing way better! Thanks!
For easier usage, we could avoid syncing with oneself. I accidently created a few infinite loops when using it with broadcastTo(nv, nvArray) since nv was included in the array.
I'm creating a pull request


[BUG]: test_add_scores_stage_pipe intermittently fails

Version
22.11
Which installation method(s) does this occur on?
Source
Describe the bug.
This test has failed a few times in CI with the following error:
FAILED test_add_scores_stage_pipe.py::test_add_scores_stage_pipe[use_python-10-2048-C] - pandas.errors.EmptyDataError: No columns to parse from file

Related to #423  & #427
Minimum reproducible example
No response
Relevant log output
FAILED test_add_scores_stage_pipe.py::test_add_scores_stage_pipe[use_python-10-2048-C] - pandas.errors.EmptyDataError: No columns to parse from file

### Full env printout

_No response_

### Other/Misc.

_No response_

### Code of Conduct

- [X] I agree to follow Morpheus' Code of Conduct
- [X] I have searched the [open bugs](https://github.com/nv-morpheus/Morpheus/issues?q=is%3Aopen+is%3Aissue+label%3Abug) and have found no duplicates for this bug report

I also see issues with this test that look like:
FAILED tests/test_add_scores_stage_pipe.py::test_add_scores_stage_pipe[use_python-10-2048-C] - RuntimeError: dictionary changed size during iteration
FAILED tests/test_add_scores_stage_pipe.py::test_add_scores_stage_multi_segment_pipe[use_python] - RuntimeError: dictionary changed size during iteration

Which is due to the repeat option on the FileSource stage. This will be fixed in PR #427. @dagardner-nv  Do you think they are related?

Which is due to the repeat option on the FileSource stage. This will be fixed in PR #427. @dagardner-nv Do you think they are related?

I saw the same thing, I added an explicit test for that by parameterizing the repeat value
https://github.com/nv-morpheus/Morpheus/commit/23e3304f992fd7b8cba8c5d7a0c0e72857f2039c

This bug appears to be fixed by #444
I'm running the test in a loop to be sure, but it hasn't failed yet.


Master

Added support for deploying to a Tenant.

tested on octopus 3.7
show list of tenants during configuration.
add tenantId to deployment request

Is this plugin actively maintained ?

Yes, however no email notifications came from this work. Developers receive notifications when work is done or PRs are made against the original repository https://github.com/vistaprint/octopus-jenkins-plugin. rather than this fork.

Ok, should I fork the vistaprint repository in the future?

Nice work, thanks for contributing.


Consider how user can use this?

immutable.re seems to support npm packaging so you only need to do npm install immutable.re then you can use it directly in your reason/bs project. Should we also try to have this? @glennsl

Absolutely, but we should wait until we can provide some stability guarantee.

fwiw the immutable.re npm setup at this point is mostly for developer simplicity (eg. me). I'd like to support shipping via npm at least for bucklescript use cases but haven't had time to focus on that. For the time being, opam has been the official release channel.


Service_Generic declaration returns "undefined" error for HTTPS virtual server declaration

Environment

Application Services Version: <IP_ADDRESS>
BIG-IP Version: <IP_ADDRESS>

Summary
Posting a simple virtual server declaration using the Service_Generic class returns the error "Cannot read property 'undefined' of undefined", however the same declaration using the Service_HTTPS will post successfully.
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
    "class": "ADC",
    "schemaVersion": "3.20.0",
    "id": "Initial_deployment",
    "Common": {
        "class": "Tenant",
        "label": "commonTenant",
        "remark": "Declaration Common tenant",
        "enable": true,
        "Shared": {
            "class": "Application",
            "template": "shared",
            "main_https": {
                "class": "Service_Generic",
                "profileHTTP": {
                    "bigip": "/Common/http"
                },
                "profileTCP": {
                    "bigip": "/Common/tcp"
                },
                "virtualAddresses": [
                    "<IP_ADDRESS>/30"
                ],
                "virtualPort": 443,
                "snat": "auto",
                "translateClientPort": true,
                "translateServerAddress": true,
                "serverTLS": {"bigip": "/Common/clientssl"},
                "clientTLS": {"bigip": "/Common/serverssl"}
            }
        }
    }
}

Observe the following error response:

{
    "message": "Cannot read property 'undefined' of undefined",
    "host": "localhost",
    "tenant": "Common",
    "code": 422
},
{
    "message": "Cannot read property 'undefined' of undefined",
    "host": "localhost",
    "tenant": "Common",
    "code": 422
}

Expected Behavior
The virtual server declaration would post successfully
Actual Behavior
I get an error without any information letting me know what/where the issues is. The same declaration will work if I use the Service_HTTPS class.

I tried your declaration on 3.20.0, and it was successful:
{
    "results": [
        {
            "code": 200,
            "message": "success",
            "lineCount": 21,
            "host": "localhost",
            "tenant": "Common",
            "runTime": 5194
        },
        {
            "code": 200,
            "message": "no change",
            "host": "localhost",
            "tenant": "Common",
            "runTime": 2889
        }
    ],
    "declaration": {
        "class": "ADC",
        "schemaVersion": "3.20.0",
        "id": "Initial_deployment",
        "Common": {
            "class": "Tenant",
            "label": "commonTenant",
            "remark": "Declaration Common tenant",
            "enable": true,
            "Shared": {
                "class": "Application",
                "template": "shared",
                "main_https": {
                    "class": "Service_HTTPS",
                    "profileHTTP": {
                        "bigip": "/Common/http"
                    },
                    "profileTCP": {
                        "bigip": "/Common/tcp"
                    },
                    "virtualAddresses": [
                        "<IP_ADDRESS>/30"
                    ],
                    "virtualPort": 443,
                    "snat": "auto",
                    "translateClientPort": true,
                    "translateServerAddress": true,
                    "serverTLS": {
                        "bigip": "/Common/clientssl"
                    },
                    "clientTLS": {
                        "bigip": "/Common/serverssl"
                    }
                }
            }
        },
        "updateMode": "selective",
        "controls": {
            "archiveTimestamp": "2020-07-29T16:14:05.294Z"
        }
    }
}

Are there additional steps required to reproduce this issue?

Nope

I am still unable to reproduce this issue with AS3 3.20.0-3, BIG-IP version <IP_ADDRESS>, and the provided declaration. I will need additional information in order to resolve the issue you are seeing. Do you see anything in /var/log/restnoded/restnoded.log on the BIG-IP when you see this failure?

Hi,
I also see this error, when customer tries to configure L4 virtual server with clientTLS pool, not realizing this is not supported.
There is an error on the Big-IP in /var/log/restnonded/restnonded.log - see below.
Application Services Version: 3.22.0-1
BIG-IP Version: <IP_ADDRESS>
Here is an example declaration that generates the condition:
{
    "action": "deploy",
    "class": "AS3",
    "declaration": {
        "class": "ADC",
        "id": "urn:uuid:748894e5-a062-410e-b503-7cd9f3d505f2",
        "label": "F5 BigIP",
        "tenant_partition": {
            "class": "Tenant",
            "defaultRouteDomain": 2763,
            "label": "tenant_1234",
            "lb_test": {
                "class": "Application",
                "label": "384140bd-5c71-4910-b836-567e70dc9230",
                "listener_test": {
                    "class": "Service_L4",
                    "clientTLS": "tls_pool_12345",
                    "iRules": [],
                    "label": "tin_list",
                    "persistenceMethods": [
                        "source-address"
                    ],
                    "policyEndpoint": [],
                    "pool": "pool_12345",
                    "profileL4": {
                        "bigip": "/Common/cc_fastL4_profile"
                    },
                    "snat": "self",
                    "virtualAddresses": [
                        "<IP_ADDRESS>/32"
                    ],
                    "virtualPort": 443
                },
                "pool_12345": {
                    "class": "Pool",
                    "label": "tin_pool",
                    "loadBalancingMode": "least-connections-member",
                    "members": [],
                    "remark": "tin_pool"
                },
                "template": "generic",
                "tls_pool_12345": {
                    "class": "TLS_Client"
                }
            }
        },
        "schemaVersion": "3.19.0",
        "updateMode": "selective"
    },
    "historyLimit": 2,
    "logLevel": "warning",
    "persist": false,
    "trace": false
}

While I would expect this to fail, there is only one error message - in the restnoded.log file, and the message is non descriptive:
severe: [appsvcs] {"message":"TypeError: Cannot read property 'undefined' of undefined","level":"error"}

Questions:

How is this error generated?
Could there possibly be a better descriptive error message?

Thanks!

@m-kratochvil, the error is coming from the clientTLS property of tenant_partition/lb_test/listener_test. It looks like there is a bug when using Service_L4 and specifying a clientTLS with a relative path. If you specify the full path (/tenant_partition/lb_test/tls_pool_12345) you get past the error message.
I have added AUTOTOOL-2367 to our internal product backlog to fix up the "TypeError: Cannot read property 'undefined' of undefined" error message.

Thank you for the response, and for committing to fix the error message.
If I understand it right, specifying ClientTLS property with class ServiceL4 will never yield successful declaration anyway, as it's not a supported combination by the Big-IP..

Correct, clientTLS is not supported on the Service_L4 class because it is not a combination that is supported by the BIG-IP.


Non square wordsearch doesn't support words longer than vertical/outer dimension

This is true at least for the cli version.
13: word:clue
1 = owen:name
2 = nemo:fish
284.ERROR: owen length 4 longer than board width 3
284.ERROR: nemo length 4 longer than board width 3

z s k x w
c w u g e
f b q x m

In case this (likely) also affects the webpage version, I should increment the version script source url param.


[e2e]: Add pull tests for dockerv2

What this PR does / why we need it:
Adds pull tests for dockerv2
Which issue this PR fixes:
fixes #341
Special notes for your reviewer:
Needs rebase before the merge. Depends on #343
Release note:

As mentioned this needs a rebase. Besides this LGTM.


Option to pass separate log formats for different log levels

An option to override default log format for different log levels is provided.

@xolox I am not sure what else I need to do CI build pass, I can see all the tests are passing but the travis returns make test as fail with exit status 2. Could you guide me through as what to do ?

Coverage decreased (-2.2%) to 90.408% when pulling 2e4967df372dc609a2d0362c2f67fbede4a7146a on dhoomakethu:master into 9ecf560234bfa211b3377a7aa1fedf1cca8e4e74 on xolox:master.

The tests fail because your coverage is beneath 90 %.

Coverage increased (+0.3%) to 92.901% when pulling b1c9ca53dfa29f8902e29462a22500bf9a71270a on dhoomakethu:master into 9ecf560234bfa211b3377a7aa1fedf1cca8e4e74 on xolox:master.

@ZeeD26 Thanks for the hints, I have fixed the coverage issue.


test: run tests also in wasm targets

Running the tests in the CI with wasm. At this point some of the tests are failing we should solve them and then we can merge this.
https://github.com/smartcorelib/smartcore/issues/93

Codecov Report

Merging #94 (712cfee) into development (7f44b93) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development      #94      +/-   ##
===============================================
- Coverage        84.15%   84.13%   -0.03%
===============================================
  Files               78       78
  Lines             8250     8250
===============================================
- Hits              6943     6941       -2
- Misses            1307     1309       +2

Impacted Files
Coverage Δ

src/algorithm/neighbour/bbd_tree.rs
88.00% <ø> (ø)

src/algorithm/neighbour/cover_tree.rs
85.06% <ø> (ø)

src/algorithm/neighbour/linear_search.rs
85.52% <ø> (ø)

src/cluster/dbscan.rs
84.84% <ø> (ø)

src/cluster/kmeans.rs
86.61% <ø> (ø)

src/dataset/boston.rs
100.00% <ø> (ø)

src/dataset/breast_cancer.rs
100.00% <ø> (ø)

src/dataset/diabetes.rs
100.00% <ø> (ø)

src/dataset/digits.rs
100.00% <ø> (ø)

src/dataset/generator.rs
98.88% <ø> (ø)

... and 56 more

Continue to review full report at Codecov.

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


React-Native Implementation

Can we implement this library in react-native, because it is for web devlopment ?

this is better asked in discussion as its NOT an issue.
and there were several threads on the same topic, one just recently - please search first.


Implement Eth1Data vote mechanism for ValidatorCoordinator and a caching layer

WIP

Oh make sure you do a git submodule update after pulling in the latest changes from master - the ganache-cli submodule has been updated.


Server crash bug

I just added the recent commits to my MultiOgar-Edited servers and for some reason the Experimental server crashed.
I suspect the issue lies within the Experimental gamemode, because switching the serverGamemode (gameserver.ini) from Experimental to Teams (or any other gamemodes), seems to resolve the issue. All the other gamemodes works, except Experimental (not sure why).
Crash message:
[FATAL] TypeError: Cannot read property 'clone' of undefined
at GameServer.mainLoop.movingNodes.forEach.GameServer.willCollide (/root/Experimental/src/GameServer.js:900:26)
at Mode.Experimental.spawnMotherCell (/root/Experimental/src/gamemodes/Experimental.js:35:21)
at Mode.Experimental.onTick (/root/Experimental/src/gamemodes/Experimental.js:65:14)
at GameServer.mainLoop.movingNodes.forEach.nodesPlayer.forEach [as mainLoop] (/root/Experimental/src/GameServer.js:647:23)
at Timer.listOnTimeout (timers.js:92:15)
Screenshot: https://i.gyazo.com/dc39266b76711d4b284b94d9543146fb.png

What you need to do is replace var mother = new Entity.MotherCell(gameServer, null, gameServer.randomPos(), null); with var mother = new Entity.MotherCell(gameServer, null, gameServer.randomPos(), 149); and then replace if (!gameServer.willCollide(149, mother)) with if (!gameServer.willCollide(mother))

@AlexHGaming That seemed to resolve the crash issue on the Experimental server.
Can you make a pull request for this?

Sure
On 5 May 2017 15:13, "Jamie Isaksen"<EMAIL_ADDRESS>wrote:
@AlexHGaming https://github.com/AlexHGaming That seemed to resolve the
crash issue on the Experimental server.
Can you make a pull request for this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Megabyte918/MultiOgar-Edited/issues/812#issuecomment-299475586,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWjIVH2awBIRrhbbGOJtWqKcAtFJ04h5ks5r2y58gaJpZM4NQKj3
.

done

Much appreciated.


Add Cache Storage API / Cache API

The Cache API allow authors to fully and conveniently manage their content caches for offline use. An origin can have multiple, named Cache objects which are accessible via workers and document scripts.

As of Chrome 43 (and Opera 30) this has been available globally and outside of the Service Worker context (meaning you can use it standalone). The feature was implemented back in Firefox 39, but IIRC not yet exposed to the global context. Afaik, it's in development for Edge.
I might suggest treating it as a top-level storage item in a similar way to how IDB is treated today: http://caniuse.com/#feat=indexeddb. Over on Chrome our storage team are recommending developers use the Cache API for URL addressable resources and IDB for everything else atm. Can has? :)
Docs + samples:
https://googlechrome.github.io/samples/service-worker/window-caches/index.html
https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage
https://developer.mozilla.org/en-US/docs/Web/API/Cache

+1
https://developer.mozilla.org/en-US/Firefox/Releases/55:

The StorageManager.persist() and StorageManager.persisted() methods of the Storage API have been implemented and exposed to Window contexts
The Storage API is now available only to secure contexts

+1 :)

cache-polyfill

Looks like it's been added, should this be closed?

Yup, available at https://caniuse.com/#feat=mdn-api_cachestorage


click on play window pause/play is not working in firefox full screen mode.

When we click on play window in full screen mode in firefox , play/pause is not working.

@sandeep-agiru Is this still an issue?

@sandeep-agiru Closing old issues. If you'd like to reopen this, let us know. Thanks!


Misspelled word

The word Traffic is misspelled as Traefik

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

ID: 6244cf08-ed10-93fd-de01-56044cada33e
Version Independent ID: 6244cf08-ed10-93fd-de01-56044cada33e
Content: Deploy microservices with Azure Container Apps and Dapr - Azure Example Scenarios
Content Source: docs/example-scenario/serverless/microservices-with-container-apps-dapr.yml
Service: architecture-center
Sub-service: example-scenario
GitHub Login: @alicejgibbons
Microsoft Alias: algibbon

@Chwaldem As we don't see any doc improvement, we will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Issue with computed errors in child component

Versions

vee-validate: 2.1.0-beta.6
vue: 2.5.16

Describe the bug
Computed variable errors not update child component correctly
To Reproduce
https://apkawa.github.io/vee-validate/demo/#/Custom
In demo, after required validation:

layout.
custom-input. The custom field is required.
index.

After click "submit"

layout.
custom-input.
index. custom error from api

Expected behavior
i'm trying write input component with slots and layouts.
I'm expected computed variable errors update in depth pass to child components
In demo, after required validation:

layout. The custom field is required.
custom-input. The custom field is required.
index. The custom field is required.

After click "submit"

layout. custom error from api
custom-input. custom error from api
index. custom error from api

What i do wrong?
Demo Link
I'm wrote demo with example https://apkawa.github.io/vee-validate/demo/#/Custom
Source https://github.com/Apkawa/vee-validate/blob/master/demo/pages/Custom/index.vue
Desktop (please complete the following information):

OS: Debian buster
Browser chrome
Version [e.g. 22]

Thanks you for answer!


New notification service

[ ] Logic to send push
[ ] Endpoint to set push token to Safes mapping (what about client id, client language, client version)

See epic for purpose: https://app.zenhub.com/workspace/o/gnosis/safe/issues/290

So we will need to:

register
unregister (remove safe)
select types of notifications (transaction submitted; transaction status update; Eth/Erc20/Erc721 received)

@Uxio0  @tschubotz @gnosis/mobile-devs
Our notifications to be implemented:

outgoing transaction submitted to Ethereum;
outgoing transaction failed or succeeded;
ETH, ERC20, ERC721 received

Configuration of the APNS + Android message  delivery options (see documentation):

data message type: because we want to get the information about transaction from the backend by the transaction hash and display appropriate localized message in  the app, the message type should be "Data message". If we would choose "Notification message" type, then it will be displayed immediately. (I'm  not 100% sure about this, needs to be tested).
"non-collapsible" (default):  Collapsible messages are intended for such cases as periodic sync from server. In our case, we need to deliver each message to the user, so the notification is needed to be non-collapsible, which is the default value.
"normal" priority (default): For the notification types that we currently implement no user interaction is needed on the mobile, so I'd say it would be a normal priority, which is the default value.
"time to live" 4 weeks (default).: For our to-be-implemented notification types, I think, there is no need to specify the expiration date, which will default to the maximum expiration date - 28 days. It is not a situation when user needs to act quickly, as, for example, in an VOIP application when user receives a call. Therefore, I'd propose to configure it as a default, too.

outgoing transaction submitted to Ethereum

Could we specify this a little more. If there should be a push if an owner submitted the tx into the mempool for execution (so it is waiting to be mined) then this is out of scope.

What I feel is missing is that a new tx is waiting for confirmation

What I feel is missing is that a new tx is waiting for confirmation

I took this out since we would only want to send this message to owners, right? So we would have to add access control etc. so I figured not needed right now

Could we specify this a little more. If there should be a push if an owner submitted the tx into the mempool for execution (so it is waiting to be mined) then this is out of scope.

I thought it would be good to know when someone clicked "execute". But thinking about this more, I don't think we need this in a v1. Even less when you say it's hard, technically to do.

So waiting for confirmation is easy to do, but sending a push when a tx is submitted to a node for execution (into mempool, waiting to be mined) that is different

but sending a push when a tx is submitted to a node for execution (into mempool, waiting to be mined) that is different

understood. Uxio actually commented on the Epic already, I missed that. Removed this from the epic already.

So waiting for confirmation is easy to do

Yea but still, I think some access control should be present there imo. Hence, I would leave out for this v1.

I think it would be nice if we recognized also "Setting changes" tx, so we can display some notifications like "New owner added" or so

I think it would be nice if we recognized also "Setting changes" tx, so we can display some notifications like "New owner added" or so

True. I added a proposal to gnosis/safe#290 and also added this to the agenda of the backlog refinement to see if we should split this up or not. Thanks for the suggestion.

@DmitryBespalov @sche @jpalvarezl @biafra23 @elgatovital Would you be ok with having an UUID for the device? That way I can link the push tokens to a device and know when that changed? I would need you to generate it yourselves and keep it for token registration/unregistration requests.

@Uxio0 @gnosis/mobile-devs
I think, we should go with Firebase Instance ID, as there's already API and Firebase handling the ID generation, refresh, and storage.
Here are the options that I found
Firebase Instance ID
On Android,

Instance ID is stable except when:

App deletes Instance ID
App is restored on a new device
User uninstalls/reinstall the app
User clears app data

On iOS

Instance  ID is long lived but, may be reset if the device is not used for a long time or the Instance ID service detects a problem. If Instance ID is reset, the app will be notified via kFIRInstanceIDTokenRefreshNotification.
If the Instance ID has become invalid, the app can request a new one and send it to the app server. To prove ownership of Instance ID and to allow servers to access data or services associated with the app, call [FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler].

So,  Firebase instance ID can change or  become invalid, while the app is still installed on the same device. That means that old ID is not usable anymore and it needs to be cleaned up somehow (preferrably from the server side, because we can only notify that the previous id became invalid if we know it, so it won't work on the app reinstall or device switch).
iOS 'identifierForVendor'
iOS's identifierForVendor - identifier that is the same for all of the apps from the same company installed on the device. I would go for the Firebase's ID because it has same semantics on both platforms.
Advertising Identifiers
Advertising ID on Android and advertisingIdentifierand iOS. This is not our use case, as we don't need to serve or track advertisements, so using this is discouraged.
Our own generated UUID
Generating our own UUID inside the app and persisting it. This will not be the same across app installs/reinstalls.
We need to be careful about backup, because if we store the ID on one device and it is restored on another device, the UUID will stay the same (unless we disallow it - on iOS it  is possible to specify if some data can be restored or not on the backup, not sure on Android).
Other
Note that  the push token can be refreshed. In the past, we were sending the current push token with the device info on every app start or when the push token was refreshed.

Hi @DmitryBespalov, I see your point, but that would be depending more on Firebase and trusting that they behave as they say and they are not changing or invalidating with no reason (as they do with the Cloud Messaging Tokens, for example).
Looking at all the problems we had with the old notifications service, I would prefer to rely in a UUID generated and keeped by ourselves, as I don't see any more advantage on using their own that not having to store it ourselves (unless I'm missing something)

@Uxio0 that makes sense, as in the past Firebase was not reliable for push notifications, and tokens were invalidated 🤷
I see your point and I think, our own generated UUID can be done.
@biafra23 @jpalvarezl can you please comment if there are any issues or challenges hiding for that solution on Android?


Move global concepts out of examples and into Data.Drasil

Concepts like "assumptions", "data definitions", etc. need to be moved somewhere global (I'm thinking Data.Drasil.Concepts.Documentation or something of that ilk).
Other concepts should be moved, things like "boiling", "latent_heat", or "coil". Not sure how to separate the namespace for them. I'm going to look at them a bit more in depth to see which are completely generic and can be separated, from those that are example specific (and possibly named poorly).
@JacquesCarette ideas for Concept namespaces would be great. I'm thinking of having a "Data.Drasil.Concepts.Thermodynamics" (for latent heat, conservation of energy, etc.), "...Concepts.PhysicalProperties" (for things like dimensions, volume, surface area, etc.), and I'm not sure where I should put things relating to phase changes like "boiling", "melting", etc.

Regarding concept namespaces: let's deal with that like we have done for the rest of Drasil, namely let's fake it for now, and refactor as we better understand the problem.  These namespaces will form a sort of ontology, and that's a big domain; so we don't want to overthink it!
Your starting suggestions are great.  My hunch is that "boiling" could go into ...Concepts.PhysicalProperties.Materials or something like that.  This is where @smiths is likely to be able to guide us!

This should not be a hierarchy, but more like a dictionary where there are multiple paths to get to the same word/concept.
For now, lets put boiling and melting in Thermodynamics.

Done.


Please fix build

Please fix Your build so recent changes are published on Nuget:
https://ci.appveyor.com/project/serilog/serilog-sinks-azuretablestorage/branch/master

5.0 build just succeeded; seems like there may be some issues with triggering AppVeyor for the dev branch build, but will have to leave that for now.
https://ci.appveyor.com/project/serilog/serilog-sinks-azuretablestorage


tobiko-app image size reduced from 3GB to 1.3GB

Hey, Team! Came across your repository and thought I could help in optimizing the Docker image size.

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


All shard names must be integers

my first reaction was 'what??'
trying to evaluate your gem as a replacement for octopus which does not work with rails 5.2
is it possible to use named shards without forking the gem?

Yes, its possible.. in my project we use guids something like below:
  shards:
    asdd13-c755-478d-b343-sdf900203:
      database: test
    asddw-123451-484e-b0d3-uahf2738:
      database: abc

did you need to comment out any checks in order to do that?
shards:      alpha:          database: db1      beta:         database: db2
and got the above error

I am still getting the error when my shard names are uuids. Any possible explanation on how to get around the issue ?

try opening up the gem and see where the validation comes from, then try to disable it ... best as opt-in

@grosser
Can i open up PR for it on the repo ? Is that something which the gem would also benefit from the changes which I make ?

with opening up the gem I meant bundle open active_record_shards to poke around in it / find the error location
but yeah, please open a PR here if you know what needs to change

@grosser I have tried to only comment out the checks and see if that works in the rails service. On initial test it was working fine. Other than the integer checks is there any other place where the gem assumes integers and fails ? I can try to find in the gem rspecs but needed some guidance into what might be get messed up in the gem if i provide strings.

I don't think there are any other hardcoded checks in there.
On Wed, Aug 19, 2020 at 8:07 AM Priyank Kapadia<EMAIL_ADDRESS>wrote:

@grosser https://github.com/grosser I
have tried to only comment out the checks and see if that works in the
rails service. On initial test it was working fine. Other than the integer
checks is there any other place where the gem assumes integers and fails ?
I can try to find in the gem rspecs but needed some guidance into what
might be get messed up in the gem if i provide strings.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zendesk/active_record_shards/issues/195#issuecomment-676484346, or
unsubscribe https://github.com/notifications/unsubscribe-auth/AAACYZ7A2SYGMHM5Q5LMIATSBPTDVANCNFSM4FLOHQFA.


Spin off PlatformApis thing into separate library

The whole cross-platform library loader helper stuff you guys have is pretty neat and I would like to use it for my own project. However, I'd rather not have a dependency on Kestrel so I just spun out the stuff I needed.

Hi @thaiphan, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft Open Technologies, Inc. and real humans are currently evaluating your PR.
TTYL, MSOTBOT;

Has anybody had the opportunity to have a look at the pull request?

If we do this, it would be a runtime interface and service. It shouldn't be in this repository.

Uh, I was having trouble getting Edge.js working on Ubuntu and I'm pretty sure it's because of this line. The idea was make a pull request to Edge.js to take advantage of this spun off library.

Has anybody had a look at my pull request yet?

Has anybody had a change to look at my pull request yet?

Hey again, is my pull request something you guys would be interested in accepting?

I don't imagine my pull request is particularly high priority but I'd at least appreciate some communication indicating such.

Sorry about that. We're not likely going to take this pull request. FWIW, it has come up a few times having an API that can be used that's just like this. We haven't decided to make this the API and when we do decide, it might live in a separate repository, or even end up being a CLR API.
For now I'd recommend copying the code.


The user creation is failing due to invalid status

Error: Status code: 400, Response body:
{"errors":{"body":["The value: '' is invalid. Allowed value(s): [INVITED, ACTIVE, SUSPENDED, SUSPENDED_IDP, CANCELED]"]},"path":"/api/beta/users/4ed8e823-e8f8-4920-ba9b-d53bd90d5d5d","requestId":"58bb266b-2470","status":400,"statusError":"Bad Request","timestamp":1681692812119}

The testa that worked before are failing now.

fixed via https://github.com/OpenVPN/terraform-provider-openvpn-cloud/pull/50


Why DistributedCacheExtensions not has tryegetvakue,getorcreate extend

i find GetOrCreateAsync,TryGetValue good extend in memerycache,but in DistributedCacheExtensions  there is not have this,. why we have not add this method。
What is the reason for not adding these methods, it is because of performance or other problems
thanks

Duplicate of #390

Doesn't sound like a dupe to me.
This one is asking for existing methods to be replicated across different cache types. My #390 is asking for a brand new method.

Correct, my bad.
https://github.com/aspnet/Caching/issues/220.
@YINZHU2016, please see https://github.com/aspnet/Caching/issues/220#issuecomment-241229013 for David's comment for more explanation on this.


Separate invites and users

issue https://github.com/TryGhost/Ghost/issues/7420, requires https://github.com/TryGhost/Ghost/pull/7422

adds a new Invite model with associated serializer and test setup
updates team screen to use invites rather than existing users with the "invited" property
updates signup process to work with new invite model
updates setup process to create invites instead of users
swaps usage of gh-select-native for one-way-select in the invite modal so that attributes can be set on the select element
updates resend invite process to account for server returning a new model
rewrites the invite management tests and fixes mirage mocks for invite endpoints

TODO:

[x] re-instate invite validation when accessing signup page
[x] add tests for resend + revoke actions
[x] add tests for role display
[x] add tests for authors accessing team page (mirage needs to return 401 if author accesses invites endpoint)
[x] 🐛 resend doesn't account for getting a new ID back from the server

ready for review 😎

Have tested this and all the behaviour seems to be working as far as I can tell.


Designer image export crops off-screen graph data

Describe the bug
When using "Save as PNG" or "Save as SVG" on large table graphs in Designer, anything that is off-screen does not get rendered, making the feature not particularly useful over just taking a screenshot.
To Reproduce
Steps to reproduce the behavior:

Go to the Designer tab
Pan to a position such that a table is partially cut off
Click on "Save as PNG"
Note how only part of the table is visible in the rendered image of the graph

Expected behavior
I expect to be able to see the full graph
Environment (you can view the current version under Settings):

Operating System [e.g. Windows]: Windows
Surrealist Version [e.g. 1.2.0]:  1.11.2
SurrealDB Version [execute "surreal version"]: 1.1.1 for windows on x86_64

Issue still present for me in version 1.11.3


PR for #91: preparations for release v2.1.1

Closes #91

Thanks @Constantino-Carreto-Romero. Will merge the PR and release now.


Small change v4 lavalink part 1

Small change part 1

1 Change of tracks to encoded because 'tracks' is delete in v4 ( https://lavalink.dev/api/rest#track-result-data )
2 Change of result["tracks"]  to result["data"]  ( https://lavalink.dev/api/rest#track-result-data )
I haven't put in the other changes yet

The .idea is delete.


Add MSP-3000 Material Science Pod

This is a part mod that adds a materials science bay with the shape and mass of a mystery goo.
Fixes https://forum.kerbalspaceprogram.com/index.php?/topic/154922-ckan-the-comprehensive-kerbal-archive-network-v1240-bruce/&do=findComment&comment=3324094

@TykoTek, should this mod be limited to any particular game versions? I believe the way we have it now, it will be available on any game version where ModuleManager is also available.

Should work with any version. It’s just a part config and a couple of models.
Unless Squad changes how the science or animation modules work it’ll be fine
It’s been tested with 1.2.x, 1.3.x and 1.4.x
Thanks for your help!
On Mar 16, 2018, at 11:20 AM, HebaruSan<EMAIL_ADDRESS>wrote:

@TykoTek, should this mod be limited to any particular game versions? I believe the way we have it now, it will be available on any game version where ModuleManager is also available.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Sounds good, thanks for the reply. Merging...


claims_map should support arrays too

For reference: https://hasura.io/docs/latest/auth/authentication/jwt/#x-hasura-allowed-roles
A potential solution would be allow passing a json as value, for instance:
[[hasura.jwtSecrets.claims_map]]
claim = 'x-hasura-allowed-roles'
valueJson = '["user", "something"]'

We may want to understand the use case first though as hasura-auth already fills this.

i see this in docs. is it already implemented ?
https://github.com/nhost/nhost/blob/main/docs/docs/graphql/settings.mdx#L168-L171

Yes


Failing test for user/group name match regression in v6

Description
Prior to v6, you could use the users_manage resource for a group with a single user whose username matched the group name. For example:
# databag
{
  id: 'deploy',
  groups: ['deploy']
}

# recipe
users_manage 'deploy' do
  action :create
end

Starting with v6 (after resolving the upgrade steps due breaking the explicit dependency on data bags), the same steps now fail with an error like:
useradd: group deploy exists - if you want to add this user to that group, use -g.

I believe this is happening because in v6, the group is now created proactively:
https://github.com/sous-chefs/users/blob/afecffa5f2d8e00148bff9022368241912904d9f/resources/manage.rb#L38-L46
Versus reactively in v5.7:
https://github.com/sous-chefs/users/blob/5.7.0/resources/manage.rb#L153-L160
I realize this may be an odd use for the resource since we're managing a single user rather than a group of users, however the URL-to-SSH keys feature is a nice touch, plus it worked before.
I'm not sure what direction the resolution should go in. Should this be an explicitly unsupported scenario? Does the initial creation of the group now need to be conditional, deferring it to after user creation when the user/group names match?
I originally hit this with Ubuntu 20.04, but CI confirms it's more than just an Ubuntu problem, affecting Amazon Linux, CentOS and Debian as well.
Issues Resolved
List any existing issues this PR resolves
Check List

[ ] All tests pass. See TESTING.md for details.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.

@frank-m can you please take a look at this? And if you don't have time, please let us know and we'll take another look.

Resolved by #455


wso2 apim starts with error

Description:

I have raised this issue ealier #7749 which is being resoloved for wso2 2.2.0. When I connected to internet wso2 3.0 it starts with error. I tried solution provided in issue #7749 . According to solution I need to change hostname entries. I changed hostname entries as per the suggestion but still my wso2 3.0 starts with error.
Steps to reproduce:
start wso2 3.0 without internet
start wso2 3.0 with internet
20032020el1.txt
Affected Product Version:

wso2 3.0
Environment details (with versions):

OS: windows 10 x 64
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

Hi Can you send me you C:\Windows\System32\Drivers\etc\hosts file. Further check whether you are running two API Manager servers at the same time.

C:\Windows\System32\Drivers\etc\host
<IP_ADDRESS> localhost
<IP_ADDRESS>   hostname
I am running one APIM at a time, wso2-2.2.0 and wso2-3.0.0

Can you change the file as below when you are connecting to the internet and get back to us
#<IP_ADDRESS> localhost
<IP_ADDRESS> localhost

Even after changing entries of /etc/hosts, I am getting the same output.
26032020-log.txt


Release v0.15.0 to support Flux v2 GA

[x] #699
[x] #599
[x] #712
[x] Cut RC.6
[x] Draft v0.15.0 change logs
[x] #357
[x] #730
[x] #726
[x] #731

Release YAML: https://raw.githubusercontent.com/weaveworks/tf-controller/main/docs/release.yaml


Filter out "RERUN"

Great app so far - a suggestion for further development if possible:
Some streamers do reruns which of course appear as live. So the possibility for a string filter for the stream title would be great:
	stringFilter: [
					"rerun",
					"repeat",
				],

Thanks for the suggestion! I'll look into adding it. Been quite busy but I'll get round it it :)

As I see the app does not show the streamer's text but the Game the streamer is playing. So this has to be kept in mind.
In the same go you could create a filter for unwanted games. For instance I watch Rotterdam08 for Star Craft II. He also streams F1 and Poker.
So
	GameFilter: [
					"Poker",
					"F1",
				],

or combined with the string filter above would be a great enhancement!


Bot say "Sorry, you need to login first to access this service."

I already login and using new cookies but bot always response like that
here's the logs
[HAL] Prompt: hello [HAL] UnauthorizedRequest: Sorry, you need to login first to access this service.     at BingAIClient.sendMessage (file:///root/node_modules/@waylaidwanderer/chatgpt-api/src/BingAIClient.js:188:31)     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)     at async Object.send (file:///root/node_modules/utilitas/lib/hal.mjs:64:35)     at async file:///root/node_modules/halbot/skills/60_chat.mjs:42:34     at async Promise.all (index 0)     at async action (file:///root/node_modules/halbot/skills/60_chat.mjs:62:5)     at async execute (/root/node_modules/telegraf/lib/composer.js:485:17)     at async /root/node_modules/telegraf/lib/composer.js:486:21     at async execute (/root/node_modules/telegraf/lib/composer.js:485:17)     at async /root/node_modules/telegraf/lib/composer.js:486:21 [60_CHAT] Error: Sorry, you need to login first to access this service.     at newError (file:///root/node_modules/utilitas/lib/utilitas.mjs:17:49)     at throwError (file:///root/node_modules/utilitas/lib/utilitas.mjs:18:50)     at Object.send (file:///root/node_modules/utilitas/lib/hal.mjs:71:13)     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)     at async file:///root/node_modules/halbot/skills/60_chat.mjs:42:34     at async Promise.all (index 0)     at async action (file:///root/node_modules/halbot/skills/60_chat.mjs:62:5)     at async execute (/root/node_modules/telegraf/lib/composer.js:485:17)     at async /root/node_modules/telegraf/lib/composer.js:486:21     at async execute (/root/node_modules/telegraf/lib/composer.js:485:17) {   status: 500 }

Sometimes the Bing server can identify the hack of the way we use the token outside the website. We can only handle this issue once Bing opens a real API server to the developers. 😭
You can log in to the website again to get a new token and restart the bot. I hope it can help.

I already do that to get new token, but the problem still exist.
have you look at this https://github.com/acheong08/EdgeGPT maybe it can help you to update using new method to get Token
On 2 May 2023, at 20.32, Leask @.***> wrote:
Sometimes the Bing server can identify the hack of the way we use the token outside the website. We can only handle this issue once Bing opens a real API server to the developers. 😭
You can log in to the website again to get a new token and restart the bot. I hope it can help.
—
Reply to this email directly, view it on GitHubhttps://github.com/Leask/halbot/issues/29#issuecomment-1531486720, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVBANLUWXELEGNORNXPPXLXEEEHJANCNFSM6AAAAAAXTBGKGA.
You are receiving this because you authored the thread.Message ID: @.***>

Thanks for your info. I will reopen this issue and check on your link. Thanks!


#newFeature how to sync all extensions and setting to another machine

VSCode Version:
OS Version:

Steps to Reproduce:

https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync

Hi! I already use that extension, but I think it would be better if this is integrated into the VS. It maybe beyond the scope that another extension can provide. Microsoft have already a great ecosystem with the Microsoft Account.
I know that some folk may not be willing to use one of those, but at least it would be great to have the option to do it, even if it is not the default behavior.
PS: Yes, I know about the other extension that use other services like OneDrive, on Google Drive, but again, it would be better if this is integrated in the editor. Anyone who use the editor in more than one machine would appreciate this.
Thanks you! Amazing editor. I really don't use anything else right not. (Well... I use Android Studio, but just for Android native dev :wink: )


Add visualization

While visualizing the search trajectories of particles in a PSO implementation is not required for evaluating performance, it's fun to watch, and perhaps a visualization could help spark creative thinking about algorithm design.
It would be great to see a simple 2D display, like the visualization accompanying the PSO article on Wikipedia. Perhaps SwarmViz could provide something suitable, or Matplotlib animation?
Also, it might be helpful to check out what LJ Miranda has used for PySwarms.

[ ] Identify how animation will be generated.
[ ] Generate data with standard test function (I can help with this).
[ ] Render animation.

Just dropping by to say that I'm planning to deprecate the design in the PySwarms link above with a new approach. Although contributors can still check the internals of PlotEnvironment and improve from there. :+1:

Thanks for the update LJ!
For some reason the new approach link threw a "page not found", but I'm very excited to see what your cooking up.


Gradle 8 support

As a developer I want to be able to use React Native Ultimate Config on Gradle version 8 which is the version used by React Native 0.72 up.

Hi,
I created a pull-request (https://github.com/maxkomarychev/react-native-ultimate-config/pull/136) that fix this.
Before the merge is done, can you test using the following patch-package?
react-native-ultimate-config+6.0.0.patch
diff --git a/node_modules/react-native-ultimate-config/android/build.gradle b/node_modules/react-native-ultimate-config/android/build.gradle
index de3e818..8b03219 100644
--- a/node_modules/react-native-ultimate-config/android/build.gradle
+++ b/node_modules/react-native-ultimate-config/android/build.gradle
@@ -114,7 +114,7 @@ if (isNewArchitectureEnabled()) {

 afterEvaluate { project ->
   task androidSourcesJar(type: Jar) {
-    classifier = 'sources'
+    archiveClassifier = 'sources'
     from android.sourceSets.main.java.srcDirs
     include '**/*.java'
   }

Thanks will have a check! 😄

Looks like it works! I've gotten further than before but am facing some issues with duplicate Kotlin classes which I don't believe are related to RNUC. Many thanks!

Version 6.0.1. has been published.


Created simple data retrieval demo as well as installed necessary styling for code snippets

Did not intend to make request to this specific repo


Version bump

Version bump :)

Coverage remained the same at 90.0% when pulling 419875b6d13d30de673107fd392ac2e5dc32ce86 on victorolinasc:master into 5e511d98d78daefff541ec5f558046ada36f8daa on bryanjos:master.


Need to add security to Static endpoint variant

Right now only Proxy supports security, this should be expanded to include Static.

Complete in 0.8.0d


Update URL Checker & Remove README Video

Linked Issue:

Checklist:

[x] Did you sign the Contributor License Agreement?
[x] Is the linter reporting 0 errors?
[x] Did you comply with our styleguide?
[ ] Does the CI pipeline pass?
[x] Did you update the documentation?

Codecov Report

Merging #197 (b0e878a) into main (40432d4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #197   +/-   ##
=======================================
  Coverage   90.97%   90.97%
=======================================
  Files         102      102
  Lines        2538     2538
=======================================
  Hits         2309     2309
  Misses        229      229

Continue to review full report at Codecov.

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


(nix.package = pkgs.nixUnstable) running basic nix-shell or nix-repl commands causes user to be logged out

Issue description
Running section 6.5 of nixpills or even nix-shell -p nix-info --run "nix-info -m" causes the current user to be logged out.
Steps to reproduce
$ nix-repl --version
nix-repl (Nix) 1.11.16
$ nix-shell -p nix-info --run "nix-info -m"
# ... user session crashes and I have to log back in

Let me know what logs you want. I didn't see anything in journalctl -xe that jumped out to me
Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

I cannot do this, as my user is logged out when I do

it is happening when I use nixos-rebuild switch --upgrade as well

Also, I am using nix.package = pkgs.nixUnstable; and am using the new nix binary.

Also, I am using nix.package = pkgs.nixUnstable; and am using the new nix binary.
Removing those lines, I can now get the technical details:
$ nix-shell -p nix-info --run "nix-info -m"                                                       1 ↵
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.20, NixOS, 18.03pre129076.831ef4756e3 (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.16`
 - channels(root): `"nixos-18.03pre129076.831ef4756e3"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

I'm unable to reproduce this at a4f433c03ccba743727e550edee80653ea3ad2ca.
Does this work to get the nix-info out (as it's hard to debug without the information)?
nix run nixpkgs.nix-info --command nix-info -m

After switching back and running the suggested command:
# nix run nixpkgs.nix-info --command nix-info -m | tee output.log
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.20, NixOS, 18.03pre129076.831ef4756e3 (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.16`
 - channels(root): `"nixos-18.03pre129076.831ef4756e3"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

nix-shell -p nix-info --run "nix-info -m" no longer causes the logout behavior...
This doesn't either:
$ nix repl
nix-repl> :l <nixpkgs>
Added 8486 variables.

nix-repl> d = derivation { name = "myname"; builder = "${coreutils}/bin/true"; system = builtins.currentSystem; }

nix-repl> :b d
these derivations will be built:
  /nix/store/8qffj0frsd2ns9dcjskk0ga7d78b5rxr-myname.drv
building '/nix/store/8qffj0frsd2ns9dcjskk0ga7d78b5rxr-myname.drv'...
builder for '/nix/store/8qffj0frsd2ns9dcjskk0ga7d78b5rxr-myname.drv' failed to produce output path '/nix/store/b783ggvxbq41ksn2hj548fx5j7np73iq-myname'
error: build of '/nix/store/8qffj0frsd2ns9dcjskk0ga7d78b5rxr-myname.drv' failed

I have no idea what was wrong

I suspect you might have put your user in the nixbld group. You really shouldn't do this — the nixbld group is for users that are used to execute builds, and nix will happily kill all these users' processes before starting a build.

@lheckemann you're right... I did do that as well! That's totally it then!
The weird thing is that I though I correctly removed that and did nixos-rebuild switch + reboot -- so I didn't think that that could be what was causing this. But it sounds like it totally is!


Merge react-native-membrane-webrtc into react-native-client-sdk

This PR is merging logic from https://github.com/jellyfish-dev/react-native-membrane-webrtc into this repository. So we can keep only one SDK for React Native.
So after this PR react-native-client-sdk library will be copy of react-native-membrane-webrtc, but with additional JS logic and example from current react-native-client-sdk.
Next phase would be to generate new documentation for joined library and update/release new version of react-native-client-sdk

[!NOTE]
Commit history from previous repo is preserved using trick from https://gfscott.com/blog/merge-git-repos-and-keep-commit-history/

What do you think about creating separate folder in this repo only for react native package. So this repo structure would look like this:

githooks
github
.husky
example
rect-native-client-sdk
protos
scripts

etc ..

I'm not convinced to that idea. I'm not sure if this will solve any issue we have

caching apk will still be tricky, as there might be some changes outside of react-native-client-sdk that will required apk rebuild
this will be non-standard way of directory structure for library

TBH I would prefer to leave structure as it is now, and then copy how RNOS does it in their repos


vscode1.77.0~1.77.1

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

VS Code Version:
OS Version:

Steps to Reproduce:
1.The code is slow to respond to prompts
2. You can roll back version 1.76

/needsPerfInfo

Thanks for creating this issue regarding performance! Please follow this guide to help us diagnose performance issues: https://github.com/microsoft/vscode/wiki/Performance-Issues
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


[Bug] Cloning a secret changes its contents

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

create a secret containing e.g. a Kerberos Keytab (binary format)
check the contents of the secret, e.g. via kubectl get secret mykeytab -o yaml
clone the secret to another namespace using the Rancher UI
compare the contents of the cloned secret to the contents of the original secret

Note: we're comparing the base64 encoded value here, which already differs.
Result:

the value of the cloned secret differs from the value of the original secret (usually, it appends a few bytes, which makes the secret unusable)

Other details that may be helpful:

the same happens, if you create the secret as a project secret (where it gets clone to other namespaces

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):

this happened to us since v2.0.3 (first version we used) and is still happening under v2.3.0

Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): RKE (on-premise)

Machine type (cloud/VM/metal) and specifications (CPU/memory): bare metal

Kubernetes version (use kubectl version): v1.15.6 (and earlier versions)

Docker version (use docker version): 18.06 and 18.09

Maybe, secrets are cloned while being decoded, instead of cloning the b64-encoded thing?

Close in favor of https://github.com/rancher/rancher/issues/24577


Cannot cast javax.crypto.spec.SecretKeySpec to java.security.PrivateKey

Hi all,
I try to sign a request using rsa-sha256 alg and your lib but i got

java.lang.ClassCastException: Cannot cast javax.crypto.spec.SecretKeySpec to java.security.PrivateKey
at java.lang.Class.cast(Class.java:3369)
at org.tomitribe.auth.signatures.Signer.(Signer.java:61)
at org.tomitribe.auth.signatures.Signer.(Signer.java:50)

My code is
final String method = "GET";
final Date today = new Date(); // default window is 1 hour
final String stringToday = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.US).format(today);
final byte[] digest = MessageDigest.getInstance("SHA-256").digest("ciao   da g dilembo".getBytes()); // (1)
final String digestHeader = "SHA-256=" + new String(Base64.encodeBase64(digest));
final String uri = "/wally-services/protocol/tests/signature";
final Signature signature = new Signature("signature-test-66289", Algorithm.RSA_SHA1, null, "(request-target)");
final Key key = new SecretKeySpec(keyprivate.getBytes(),  "RSA_PRIVATE");
final Signer signer = new Signer(key, signature);
final Map<String, String> headers = new HashMap<>();
headers.put("Date", stringToday);
headers.put("digest", digestHeader);
headers.put("Content-Type", "application/json");
headers.put("Accept", "/");
headers.put("Content-Length", "18");
// Here it is!
final Signature signed = signer.sign(method, uri, headers);

Hi
Take a look at:
https://github.com/tomitribe/http-signatures-java/blob/master/src/test/java/org/tomitribe/auth/signatures/RsaTest.java
I think you need to use java.security.PrivateKey as opposed to SecretKey on
this line:
final Key key = new SecretKeySpec(keyprivate.getBytes(),  "RSA_PRIVATE");
Hope that helps.
Jon
On Wed, Apr 10, 2019 at 12:04 PM gionnydeep75<EMAIL_ADDRESS>wrote:

Hi all,
I try to sign a request using rsa-sha256 alg and your lib but i got
java.lang.ClassCastException: Cannot cast javax.crypto.spec.SecretKeySpec
to java.security.PrivateKey
at java.lang.Class.cast(Class.java:3369)
at org.tomitribe.auth.signatures.Signer.(Signer.java:61)
at org.tomitribe.auth.signatures.Signer.(Signer.java:50)
My code is
final String method = "GET";
final Date today = new Date(); // default window is 1 hour
final String stringToday = new
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.US).format(today);
final byte[] digest = MessageDigest.getInstance("SHA-256").digest("ciao da
g dilembo".getBytes()); // (1)
final String digestHeader = "SHA-256=" + new
String(Base64.encodeBase64(digest));
final String uri = "/wally-services/protocol/tests/signature";
final Signature signature = new Signature("signature-test-66289", Algorithm.RSA_SHA1, null, "(request-target)");
final Key key = new SecretKeySpec(keyprivate.getBytes(),  "RSA_PRIVATE");
final Signer signer = new Signer(key, signature);
final Map<String, String> headers = new HashMap<>();
headers.put("Date", stringToday);
headers.put("digest", digestHeader);
headers.put("Content-Type", "application/json");
headers.put("Accept", "/");
headers.put("Content-Length", "18");
// Here it is!
final Signature signed = signer.sign(method, uri, headers);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tomitribe/http-signatures-java/issues/25, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAhfEPWWiwh46EoiUJg-mMSP-akkfrORks5vfcUwgaJpZM4cmuEG
.

--
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com

very helpfull. ; )

Il 10 aprile 2019 alle 13.12 Jonathan Gallimore<EMAIL_ADDRESS>ha scritto:
Hi

Take a look at:
https://github.com/tomitribe/http-signatures-java/blob/master/src/test/java/org/tomitribe/auth/signatures/RsaTest.java

I think you need to use java.security.PrivateKey as opposed to SecretKey on
this line:

final Key key = new SecretKeySpec(keyprivate.getBytes(), "RSA_PRIVATE");

Hope that helps.

Jon

On Wed, Apr 10, 2019 at 12:04 PM gionnydeep75<EMAIL_ADDRESS>wrote:

> Hi all,
> I try to sign a request using rsa-sha256 alg and your lib but i got
>
> java.lang.ClassCastException: Cannot cast javax.crypto.spec.SecretKeySpec
> to java.security.PrivateKey
> at java.lang.Class.cast(Class.java:3369)
> at org.tomitribe.auth.signatures.Signer.(Signer.java:61)
> at org.tomitribe.auth.signatures.Signer.(Signer.java:50)
>
> My code is
>
> final String method = "GET";
> final Date today = new Date(); // default window is 1 hour
> final String stringToday = new
> SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.US).format(today);
> final byte[] digest = MessageDigest.getInstance("SHA-256").digest("ciao da
> g dilembo".getBytes()); // (1)
> final String digestHeader = "SHA-256=" + new
> String(Base64.encodeBase64(digest));
>
> final String uri = "/wally-services/protocol/tests/signature";
> final Signature signature = new Signature("signature-test-66289", Algorithm.RSA_SHA1, null, "(request-target)");
> final Key key = new SecretKeySpec(keyprivate.getBytes(), "RSA_PRIVATE");
> final Signer signer = new Signer(key, signature);
> final Map<String, String> headers = new HashMap<>();
> headers.put("Date", stringToday);
> headers.put("digest", digestHeader);
> headers.put("Content-Type", "application/json");
> headers.put("Accept", "*/*");
> headers.put("Content-Length", "18");
> // Here it is!
> final Signature signed = signer.sign(method, uri, headers);
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/tomitribe/http-signatures-java/issues/25>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AAhfEPWWiwh46EoiUJg-mMSP-akkfrORks5vfcUwgaJpZM4cmuEG>
> .
>

--
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tomitribe/http-signatures-java/issues/25#issuecomment-481647469 , or mute the thread https://github.com/notifications/unsubscribe-auth/AH--O1fVSErflsJ7KWrbkn-KR6KXJTsVks5vfcc7gaJpZM4cmuEG .

If you're still having any problems, please do let me know and I'll be
happy to help out.
On Thu, Apr 11, 2019 at 8:56 AM gionnydeep75<EMAIL_ADDRESS>wrote:

very helpfull. ; )

Il 10 aprile 2019 alle 13.12 Jonathan Gallimore <
<EMAIL_ADDRESS>ha scritto:
Hi
Take a look at:

https://github.com/tomitribe/http-signatures-java/blob/master/src/test/java/org/tomitribe/auth/signatures/RsaTest.java

I think you need to use java.security.PrivateKey as opposed to SecretKey
on
this line:
final Key key = new SecretKeySpec(keyprivate.getBytes(), "RSA_PRIVATE");
Hope that helps.
Jon
On Wed, Apr 10, 2019 at 12:04 PM gionnydeep75<EMAIL_ADDRESS>wrote:

Hi all,
I try to sign a request using rsa-sha256 alg and your lib but i got
java.lang.ClassCastException: Cannot cast
javax.crypto.spec.SecretKeySpec
to java.security.PrivateKey
at java.lang.Class.cast(Class.java:3369)
at org.tomitribe.auth.signatures.Signer.(Signer.java:61)
at org.tomitribe.auth.signatures.Signer.(Signer.java:50)
My code is
final String method = "GET";
final Date today = new Date(); // default window is 1 hour
final String stringToday = new
SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ",
Locale.US).format(today);
final byte[] digest =
MessageDigest.getInstance("SHA-256").digest("ciao da
g dilembo".getBytes()); // (1)
final String digestHeader = "SHA-256=" + new
String(Base64.encodeBase64(digest));
final String uri = "/wally-services/protocol/tests/signature";
final Signature signature = new Signature("signature-test-66289",
Algorithm.RSA_SHA1, null, "(request-target)");
final Key key = new SecretKeySpec(keyprivate.getBytes(),
"RSA_PRIVATE");
final Signer signer = new Signer(key, signature);
final Map<String, String> headers = new HashMap<>();
headers.put("Date", stringToday);
headers.put("digest", digestHeader);
headers.put("Content-Type", "application/json");
headers.put("Accept", "/");
headers.put("Content-Length", "18");
// Here it is!
final Signature signed = signer.sign(method, uri, headers);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tomitribe/http-signatures-java/issues/25, or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AAhfEPWWiwh46EoiUJg-mMSP-akkfrORks5vfcUwgaJpZM4cmuEG

.

--
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tomitribe/http-signatures-java/issues/25#issuecomment-481647469
, or mute the thread
https://github.com/notifications/unsubscribe-auth/AH--O1fVSErflsJ7KWrbkn-KR6KXJTsVks5vfcc7gaJpZM4cmuEG
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tomitribe/http-signatures-java/issues/25#issuecomment-482009131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAhfEEXquMGx3VhAC06LbTE7-gmnjSsNks5vfuqqgaJpZM4cmuEG
.

--
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com

at the momement it's all right thanks

Il 11 aprile 2019 alle 11.14 Jonathan Gallimore<EMAIL_ADDRESS>ha scritto:
If you're still having any problems, please do let me know and I'll be
happy to help out.

On Thu, Apr 11, 2019 at 8:56 AM gionnydeep75<EMAIL_ADDRESS>wrote:

> very helpfull. ; )
>
> > Il 10 aprile 2019 alle 13.12 Jonathan Gallimore <
><EMAIL_ADDRESS>ha scritto:
> >
> > Hi
> >
> > Take a look at:
> >
> https://github.com/tomitribe/http-signatures-java/blob/master/src/test/java/org/tomitribe/auth/signatures/RsaTest.java
> >
> > I think you need to use java.security.PrivateKey as opposed to SecretKey
> on
> > this line:
> >
> > final Key key = new SecretKeySpec(keyprivate.getBytes(), "RSA_PRIVATE");
> >
> >
> > Hope that helps.
> >
> > Jon
> >
> >
> >
> >
> >
> > On Wed, Apr 10, 2019 at 12:04 PM gionnydeep75<EMAIL_ADDRESS>> > wrote:
> >
> > > Hi all,
> > > I try to sign a request using rsa-sha256 alg and your lib but i got
> > >
> > > java.lang.ClassCastException: Cannot cast
> javax.crypto.spec.SecretKeySpec
> > > to java.security.PrivateKey
> > > at java.lang.Class.cast(Class.java:3369)
> > > at org.tomitribe.auth.signatures.Signer.(Signer.java:61)
> > > at org.tomitribe.auth.signatures.Signer.(Signer.java:50)
> > >
> > > My code is
> > >
> > > final String method = "GET";
> > > final Date today = new Date(); // default window is 1 hour
> > > final String stringToday = new
> > > SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ",
> Locale.US).format(today);
> > > final byte[] digest =
> MessageDigest.getInstance("SHA-256").digest("ciao da
> > > g dilembo".getBytes()); // (1)
> > > final String digestHeader = "SHA-256=" + new
> > > String(Base64.encodeBase64(digest));
> > >
> > > final String uri = "/wally-services/protocol/tests/signature";
> > > final Signature signature = new Signature("signature-test-66289",
> Algorithm.RSA_SHA1, null, "(request-target)");
> > > final Key key = new SecretKeySpec(keyprivate.getBytes(),
> "RSA_PRIVATE");
> > > final Signer signer = new Signer(key, signature);
> > > final Map<String, String> headers = new HashMap<>();
> > > headers.put("Date", stringToday);
> > > headers.put("digest", digestHeader);
> > > headers.put("Content-Type", "application/json");
> > > headers.put("Accept", "*/*");
> > > headers.put("Content-Length", "18");
> > > // Here it is!
> > > final Signature signed = signer.sign(method, uri, headers);
> > >
> > > —
> > > You are receiving this because you are subscribed to this thread.
> > > Reply to this email directly, view it on GitHub
> > > <https://github.com/tomitribe/http-signatures-java/issues/25>, or mute
> > > the thread
> > > <
> https://github.com/notifications/unsubscribe-auth/AAhfEPWWiwh46EoiUJg-mMSP-akkfrORks5vfcUwgaJpZM4cmuEG
> >
> > > .
> > >
> >
> >
> > --
> > Jonathan Gallimore
> > http://twitter.com/jongallimore
> > http://www.tomitribe.com
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> https://github.com/tomitribe/http-signatures-java/issues/25#issuecomment-481647469
> , or mute the thread
> https://github.com/notifications/unsubscribe-auth/AH--O1fVSErflsJ7KWrbkn-KR6KXJTsVks5vfcc7gaJpZM4cmuEG
> .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/tomitribe/http-signatures-java/issues/25#issuecomment-482009131>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAhfEEXquMGx3VhAC06LbTE7-gmnjSsNks5vfuqqgaJpZM4cmuEG>
> .
>

--
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tomitribe/http-signatures-java/issues/25#issuecomment-482035565 , or mute the thread https://github.com/notifications/unsubscribe-auth/AH--O0MYS7uNdgxiJ99ApCy36696x8qQks5vfvz5gaJpZM4cmuEG .

@jgallimore this issue should be closed.


Stop relying on tags to find snippet

As of now, to go from an FZF selection to a snippet, navi:

gets the snippet + tags of the selection
uses the tags to find a cheatsheet file
searches for the snippet in a cheatsheet

This brings problems such as borking if a file has no tags and so on.

Fixed in the dev branch already.
While there's no another release, please run navi from the dev branch or run brew install --HEAD denisidoro/tools/navi-nightly to see the changes.


Smart events api fetching 404 content.

https://github.com/redhat-developer/app-services-sdk-java/runs/8092251211?check_suite_focus=true

FYI @dimakis


How can i get set-cookie header ?

Hello.
"Set-Cookie" header exist in HTTP response header. But axios response didn't have "set-cookie" header.
Response header have only "content-type".
How can i get "set-cookie" header ?

u found the solution?

There is in fact a response.headers['set-cookie'] (I'm guessing that this was the solution found).

Can't find it too. Does anyone have any hint on this?

Same problem unable to get set cookies from the header also try with withcredential : true. Any help on this

I'm also facing this. The cookie is there on the network tab, but nothing inside the response from axios.

ankitsinghaniyaz Use withCredentials: true, in axiios they will help.
method: 'GET',       url: BACKEND_URL+'/notification/new/?pageNum='+pageNum+'&pageSize='+resultSize,       withCredentials: true,       headers : {'Content-Type': 'application/x-www-form-urlencoded'}
This one work for me.

So I had some gaps in my knowledge regarding how cookies work. Putting it here so that someone else can benefit from this.

HTTP ONLY (Secure) cookies cannot be accessed in JavaScript. If you try to read some token, etc from a secure cookie it's not going to work.
Cross-domain cookies cannot be accessed. In case you are building a single page application and your server is on a different domain. You cannot access the cookies from another domain on another domain where you are using this. withCredentails flag will just make sure that the network calls made include the cookies and accept any incoming cookies.

I hope this will help someone. :)

So I had some gaps in my knowledge regarding how cookies work. Putting it here so that others can benefit from this.

HTTP ONLY (Secure) cookies cannot be accessed in JavaScript. If you try to read some token, etc from a secure cookie it's not going to work.
Cross-domain cookies cannot be accessed. In case you are building a single page application and your server is on a different domain. You cannot access the cookies on your SPA. The withCredentials flag will just make sure that the network calls made include the cookies and accept any incoming cookies.

I hope this will help someone. :)

This saved me a lot of time. Thank you !

Look this master https://stackoverflow.com/questions/53898031/how-to-set-cookies-express-react-js/55804086#55804086

Did you find solution to get the value of set-cookie please ? adding withCredentials: true doesn't fix the issue

Hey @asmakhalfallah2018 look at this https://stackoverflow.com/questions/53898031/how-to-set-cookies-express-react-js/55804086#55804086

@ankitsinghaniyaz That answer is only true if considering the usage of axios inside a browser.
There are many applications where axios is used in a server context to do SSR.

Did anyone here find a solution ? None of the above solutions are solving it when axios is running on the server.


handle plain response

Fixes #731 and fixes #701

Thanks for the PR. I added some comments.

Pushed the requested changes.

Looks good. Thanks for the pr. Release tomorrow

v12.0.4

Thank you!


osinfo-db: 20180531 -> 20180903

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from osinfo-db.
meta.description for osinfo-db is: '"Osinfo database of information about operating systems for virtualization provisioning tools"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 20180903 with grep in /nix/store/ckx0qkbmhyiif13dbx9df4s9qa2cap8k-osinfo-db-20180903

directory tree listing: https://gist.github.com/b51d07aa4d91ce88ba500064a5241f1d

du listing: https://gist.github.com/92f31cd8b73142dbc1e9b03387b64421

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/d42825c4e64d7ec8f541c4c308ba31f706883312.tar.gz -p osinfo-db
ls -la /nix/store/ckx0qkbmhyiif13dbx9df4s9qa2cap8k-osinfo-db-20180903

cc @bjornfor for testing.

Success on x86_64-linux (full log)
Attempted: osinfo-db
Partial log (click to expand)
copying path '/nix/store/98ywl8x2798wsi3r9552pkz6rmcyqk1v-perl5.28.0-XML-Parser-2.44' from 'https://cache.nixos.org'...
copying path '/nix/store/dajz2s2m7m49wf5vx0a9yzqqa2hfaani-intltool-0.51.0' from 'https://cache.nixos.org'...

trying https://releases.pagure.org/libosinfo/osinfo-db-20180903.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 74184  100 74184    0     0   108k      0 --:--:-- --:--:-- --:--:--  108k
building '/nix/store/09czv0p4syckxria26xi7irji4fildwl-osinfo-db-20180903.drv'...
installing
/nix/store/ckx0qkbmhyiif13dbx9df4s9qa2cap8k-osinfo-db-20180903

Success on aarch64-linux (full log)
Attempted: osinfo-db
Partial log (click to expand)
copying path '/nix/store/jm7r65vdcw93qrbhlw1ffw1bp8891wyi-osinfo-db-tools-1.2.0' from 'https://cache.nixos.org'...
building '/nix/store/7p4097qv5f4hq61w3nq0c6jrbg17l2mj-osinfo-db-20180903.tar.xz.drv'...

trying https://releases.pagure.org/libosinfo/osinfo-db-20180903.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 74184  100 74184    0     0   165k      0 --:--:-- --:--:-- --:--:--  165k
building '/nix/store/101j9affqcxfkb2cz0wgnfxx7dsqmd1r-osinfo-db-20180903.drv'...
installing
/nix/store/zdsrbd3kvp3ywaiva40d6vx59qxrdsc4-osinfo-db-20180903


do not change config values while validating

Motivation/Description of the PR

Every time a WebDriver Config gets validated (e.g. setting / resetting Config For a Scenario or using Selenoid) waitForTimeout gets converted from ms to sec. Now a new config key gets created with the converted value and is used in the wait* functions where seconds are needed.
Resolves #2589

Applicable helpers:

[X] WebDriver
[ ] Puppeteer
[ ] Nightmare
[ ] REST
[ ] FileHelper
[x] Appium
[x] Protractor
[ ] TestCafe
[ ] Playwright

Applicable plugins:

[ ] allure
[ ] autoDelay
[ ] autoLogin
[ ] customLocator
[ ] pauseOnFail
[ ] coverage
[ ] retryFailedStep
[ ] screenshotOnFail
[X] selenoid
[ ] stepByStepReport
[ ] stepTimeout
[ ] wdio
[ ] subtitles

Type of change

[ ] :fire: Breaking changes
[ ] :rocket: New functionality
[X] :bug: Bug fix
[ ] :clipboard: Documentation changes/updates
[ ] :hotsprings: Hot fix
[ ] :hammer: Markdown files fix - not related to source code
[ ] :nail_care: Polish code

Checklist:

[ ] Tests have been added
[ ] Documentation has been added (Run npm run docs)
[ ] Lint checking (Run npm run lint)
[ ] Local tests are passed (Run npm test)

@pmajewski24 out of curiosity, do we need to patch something similar for other helpers like Playwright, Puppeteer, etc. ?

Thank you! This was a really good investigation
Merging


Bootstrap designated dealer resource with tiered_mint function

Motivation
setup DD and Tiers for tiered_mint flow from Blessed account flow initiation to DD holding minted coins under tiered restrictions.
Test Plan
Introduces blessed as special account for functional tests
Tests all aspects of blessed account minting for DD -
minting/adding tiers etc tested.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

:umbrella: The latest upstream changes (presumably e66e1fc5c9d61a5aace906ec01b60429beb6b485) made this pull request unmergeable. Please resolve the merge conflicts.

:umbrella: The latest upstream changes (presumably 9a01b9af26bd96e124485cd7eff7adda96397209) made this pull request unmergeable. Please resolve the merge conflicts.

bumping this so i can unblock some script work :) @tzakian @sblackshear

@bors-libra r=sblackshear

:pushpin: Commit 6bf0402 has been approved by sblackshear

:hourglass: Testing commit 6bf04021337a8770775af1aadf0bae8203c979fa with merge b420dd40a19a808357fbd5797101b2c07aad2315...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: sblackshear
Pushing b420dd40a19a808357fbd5797101b2c07aad2315 to master...


Add New Domain for Aligarh Muslim University

The repository contains old domain of Aligarh Muslim University, added new domain for Aligarh Muslim University.
University Website : https://www.amu.ac.in/
1+year IT related course prove: Computer Department
Domain Proof

@mansiag Pull request merged. Thank you!


Swift Package Manager Support

What does this PR do?

@IcaliaLabs any chance of getting this merged in?

@IcaliaLabs a kind reminder about this PR 🔔