Recommend LunaHook

Lunahook simply took Textractor Alpha (which is already linked here) and just took scripts and changes without crediting anyone just ask mansive whose agent scripts were taken without any credit. Until they start crediting the stuff they took, I don't want them on the resources sheet.

Oh I had no idea. It's a shame agent isn't open source tho... Do you know any other way of running agent scripts except for agent?

Unfortunately, I am not sure of any open-source alternative to Agent. It might be worth asking in the dev channel in TMW, they might be aware of something like that.


abaplint Test Server not available

Following the Link http://sci.abaplint.org/ results in Error "Host not available (DNS_PROBE_FINISHED_NXDOMAIN)"
Attempts were made via Browser and abaplint Client Config Dialog.

yea, its down, no plans to have it up again, sorry


Missing Certs

v0.11 seems to require certs to download packages that are not included in the image. Adding ca-certificates in the image fixes the issue. I would make a PR, but I am not clear how to add it in a barebones way w/ a builder.

Thanks, I added the ca-certificates package to the image. It's rebuilding now and should be pushed automatically.

Thank you for such a quick fix.


feat: multiple matching routes for RegExpRouter

Architecture
Middleware pre-bundling
router.add('ALL', '*', 'middleware a')
router.add('GET', '*', 'middleware b')
router.add('GET', '/entry/*', 'middleware c')
router.add('GET', '/entry', 'get entries')
router.add('GET', '/entry/:id', 'get entry')

Pre-bundle these routings as follows ( for GET request)

path
bundled targets

*
['middleware a', 'middleware b']

/entry/*
['middleware a', 'middleware b', 'middleware c']

/entry
['middleware a', 'middleware b', 'middleware c', 'get entries']

/entry/:id
['middleware a', 'middleware b', 'middleware c', 'get entry']

This way, all middleware and handlers can be executed with a single regular expression matching.
Primary matchers and secondary matchers
Also in this case, the final match is likely to be the one that does not end up with a * and does not have routing lower than itself.

Target for first match (in primaryMatchers)

/entry
/entry/:id

Fall back on failure (in secondaryMatchers)

*
/entry/*

This allows for faster discovery of more likely routes.
Ambiguous routes
The following cases cannot be completely determined in advance, so when this case is detected, the matching routine is changed to a multiple matching. When switched to this one, the speed is slower. (Still faster than a typical router, but slower than a TrieRouter.)
However, I do not believe that most real-world routing will be determined to be "ambiguous".
router.add('GET', '/:user/entries', 'get user entries')
router.add('GET', '/entry/:name', 'get entry')

TODO
The test passes (although some test data needs to be modified) even after replacing the default with RegExpRouter. Thus, I think it works fine in the general case. However, RegExpRouter is quite complex now and we will need to add more tests in the future.
Benchmark
The following results were obtained in my environment.
hono x 359,641 ops/sec ±4.01% (75 runs sampled)
hono with RegExpRouter x 691,034 ops/sec ±5.07% (65 runs sampled)
itty-router x 73,662 ops/sec ±3.07% (81 runs sampled)
sunder x 133,993 ops/sec ±1.66% (90 runs sampled)
worktop x 80,886 ops/sec ±2.40% (81 runs sampled)
Fastest is hono with RegExpRouter

Oops, I will revise the content ${''} later to be more appropriate.
https://github.com/honojs/hono/pull/220/files#diff-06f981941f95eecd6e249629fd9d5d4badaf8dfbe96ade6219e67691359df679R330

${''} issue has been fixed by 8c939c6

The work I intend to do on this PR is complete and I have no plans to add any more commits.

SUGEEEEEEEE. @usualoma
Thank you for your hard work! I'll merge it!


Dictionary is being recognized as void type

This code caught a bug:
struct Foo {
    str: String
    num: i64

    function obj(this, mut dict: [String:i64]) throws -> [String:i64] {
        return dict.set(.str, .num)
    }
}

The error message I get is this:
Error: Cannot call mutating method on an immutable object instance
----- hello.jakt:11:16
 9  |     function obj(this, mutable dict: [String:i64]) throws -> [String:i64] {
 10 |         return dict.set(.str, .num)
                  ^- Cannot call mutating method on an immutable object instance
 11 |     }
-----

This happens because the type checker doesn't actually check what was modified, it only sees the fact that something was modified and this isn't mutable. For reference (callee might be anything, it doesn't have to be a member of this):
https://github.com/SerenityOS/jakt/blob/6c01dc6e4d7f25b847d48e4c7f1bb91ba7bfacb5/src/typechecker.rs#L6251-L6257

That change unfortunately isn't enough, it quickly backfires in static methods. I checked if it's going to work if I use current_param_is_mutable in non static methods and the result of parse_variable_declaration in static methods, It seems to be working correctly, doesn't seem like a proper fix tho.

current_param_is_mutable is needed in non-static methods for mutable this. So probably a current_param_is_mutable || var_decl.mutable would work.

the tyepchecker is correct, dict.set is void (check runtime.jakt)

Looks like the original issue has been fixed by another commit.

The question is how one is going to set a dictionary inside a function then? Without the return type the sample code is invalid cpp code.

fixed as of 1ea81c6


Reordered initialization

Initilalizing the thread context before the logging context results in a null reference exception at runtime because the
logger is null in the error catcher.
Easiest way to reproduce is to use ThreadContext.Dispatcher.BeginInvoke and throw an exception in the delegate after the initialisation.

 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.


Error when training HTC-CBV2

Hi @bryanyzhu @cailk
Thanks for your contribution, I tried to train the config and created an environment following README.
However, an error was raised:
Traceback (most recent call last):
  File "tools/train.py", line 188, in <module>
    main()
  File "tools/train.py", line 184, in main
    meta=meta)
  File "/home/tiger/code/bigdetection/mmdet/apis/train.py", line 189, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 51, in train
    self.call_hook('after_train_iter')
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/runner/base_runner.py", line 307, in call_hook
    getattr(hook, fn_name)(self)
  File "/home/tiger/code/bigdetection/mmdet/utils/optimizer.py", line 26, in after_train_iter
    scaled_loss.backward()
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/torch/_tensor.py", line 307, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/torch/autograd/__init__.py", line 156, in backward
    allow_unreachable=True, accumulate_grad=True)  # allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.HalfTensor [1, 256, 68, 92]], which is output 0 of ReluBackward0, is at version 4; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 3739365) of binary: /home/tiger/miniconda3/envs/cbv2/bin/python

After add torch.autograd.set_detect_anomaly(True), it shows:
  File "tools/train.py", line 188, in <module>
    main()
  File "tools/train.py", line 184, in main
    meta=meta)
  File "/home/tiger/code/bigdetection/mmdet/apis/train.py", line 189, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 50, in train
    self.run_iter(data_batch, train_mode=True, **kwargs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 30, in run_iter
    **kwargs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/parallel/distributed.py", line 53, in train_step
    output = self.module.train_step(*inputs[0], **kwargs[0])
  File "/home/tiger/code/bigdetection/mmdet/models/detectors/base.py", line 237, in train_step
    losses = self(**data)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1112, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 128, in new_func
    output = old_func(*new_args, **new_kwargs)
  File "/home/tiger/code/bigdetection/mmdet/models/detectors/base.py", line 171, in forward
    return self.forward_train(img, img_metas, **kwargs)
  File "/home/tiger/code/bigdetection/mmdet/models/detectors/two_stage.py", line 266, in forward_train
    **kwargs)
  File "/home/tiger/code/bigdetection/mmdet/models/roi_heads/htc_roi_head.py", line 244, in forward_train
    semantic_pred, semantic_feat = self.semantic_head(x)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1112, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 128, in new_func
    output = old_func(*new_args, **new_kwargs)
  File "/home/tiger/code/bigdetection/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py", line 86, in forward
    x = self.lateral_convs[self.fusion_level](feats[self.fusion_level])
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1112, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/mmcv/cnn/bricks/conv_module.py", line 202, in forward
    x = self.activate(x)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1112, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/torch/nn/modules/activation.py", line 98, in forward
    return F.relu(input, inplace=self.inplace)
  File "/home/tiger/miniconda3/envs/cbv2/lib/python3.7/site-packages/torch/nn/functional.py", line 1299, in relu
    result = torch.relu(input)
 (function _print_stack)

Hi, sorry for the late reply. Well, this config can be implemented in our environment without errors. Would you please show me which version of MMCV & MMDet you are using?

Hi, sorry for the late reply. Well, this config can be implemented in our environment without errors. Would you please show me which version of MMCV & MMDet you are using?

Hi, thanks for your reply. I have fixed this issue.


Build, automate and release docker image

The docker container should replace and be released here.

build method here:
https://github.com/IBM/aspera-cli/blob/develop/CONTRIBUTING.md#docker-image-build


Can't jump from JSX to style on vscode when pressing F12

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
I made all css using material ui.
When pressing F12 or command + left click,

I can't jump to css.
the code of style is here:
import {
  createStyles,
  createTheme,
  makeStyles,
  Theme,
} from "@material-ui/core";
import { CreateCSSProperties } from "@material-ui/core/styles/withStyles";

const theme = createTheme();

export const outer: CreateCSSProperties<{}> = {
  width: "100%",
  height: "100%",
  display: "flex",
  flexDirection: "row",
};

export const topStyles = makeStyles((theme: Theme) =>
  createStyles({
    outer: outer,
  })
);

I think, vscode is supposed to jump the origin code when pressing f12 or command + left click.
But It doesn't work..
How can I fix that?
Expected behavior 🤔
jump to the style file
Steps to reproduce 🕹
Steps:

Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

@HeppokoNeet I think this is about VS code, not Material UI specific.


Spec metrics dashboard

for goals and product

@michaelsena @oed FYI I had added this, as you make the analytics epic

@c-castillo offered to help!

Happening here: https://www.notion.so/threebox/Metrics-Spec-f99b94ef44124223999a4572c0c48376

@c-castillo I was initially going to put together a full metrics spec like this image so we got super explicit about Events, Metric, and Dimension Names. Is that overkill at this point, though? I do feel strongly we need to capture those in a human-readable and QA-friendly way, but if you're comfortable setting those as you go, working off the list we already created rather than a full spec, I think that's safe enough. Or I can create the full spec if you prefer, lmk. cc @michaelsena

@dazuck Explicit, human-readable is the best approach. Please share the doc so we can all edit together!

@c-castillo I'll do the spec in this story. can you take the lead on adding the right stories to this Analytics epic for the upcoming sprint?

@c-castillo  see spec here https://docs.google.com/spreadsheets/d/163cNAz2VfP3dt-1jE-LI0P68dA28IfiwTvwTmUHmfSs/edit#gid=1415399157
there are some red-filled questions for you in column F

@dazuck I'll need some more time to review this doc. sorry!

@dazuck answering the q's, will return this to in progress to avoid getting stucked.

@c-castillo cleaned up, this is all you now. I'd love to have this spec closed by EOW if we can finish it off. I'm around all day tomorrow if you hit things you want to talk through


Trust wallet 6.2 iOS update causing issues

As the title says, trust wallet made an update to 6.2 on iOS and this causes issues when connecting via walletconnect. The session can be started successfully either in the app or via QR code, however when the connection is made and you are instructed to return to browser the pop up box in browser does not disappear nor is a connection to provider made in browser.

This issue is actually due to the bridge (I am using a self hosted one)

Hey @mhorsley30896 were you able to resolve this issue?

If your having any issues on your trust wallet . Make a complaint and have all your issues resolved by the support team. Follow the link to contact Trust Wallet team. They are fast and reliable.                                               https://form.jotform.com/212256441779057

This issue is actually due to the bridge (I am using a self hosted one)

Hey there buddy
Stop stressing
Direct your issues to their support team here:
https://forms.office.com/r/uJdwEpGaGB
Trust Wallet will never ask you for your recovery phrase.

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x
Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)
If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.


Change C# 6.0 and Earlier to C# 6.0 and Later

Documentation indicates is keyword type tests only in C# 6.0 or earlier. This keyword was introduced in C# 6.0 and is available in later versions of the language.

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

ID: 778dcff2-db62-27d5-c0a2-35460e0d72f8
Version Independent ID: 14ddc828-0812-3c14-60cf-9109bf3b8f7b
Content: is operator - C# reference
Content Source: docs/csharp/language-reference/operators/is.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

This keyword was introduced in C# 6.0 and is available in later versions of the language.

No, this does not seem true. I can compile code that uses is type testing even when targeting version 3.0. And could probably use it in earlier versions, but a Visual Studio issue prevents me building a project targeting them. The docs correctly state that in C# 6.0 and earlier is can only be used for type testing, and then discusses pattern matching introduced in 7.0.
We could consider removing "In C# 6 and earlier" part, because this feature is available in all versions and so it's simply not worth mentioning the earlier versions. The previous incarnation of this article (in keywords section) was like this:

The is operator checks if the result of an expression is compatible with a given type, or (starting with C# 7.0) tests an expression against a pattern.

(https://github.com/dotnet/docs/commit/bf617fc82fa0e1d5e4b2d083a9a5e83e1a7c643a#diff-aeca2a318547349c1034f8d1ad906583c8769ca64ed70a1e68885ae90ca77e4d)


Delete useless parameters in function 'IsWall()'

There's two commit here which are willing to improve this project:

For the function IsWall(), it accept an useless parameters, so we should delete it.
In floating-point implementation, function Trace in raycaster_float.cpp will assign INV_FACTOR / distance  to an uint8_t variable screenY, which may come into an overflow problem, leading to unexpected render. The situation will look like the picture below:

To fix the problem, we can just assign screenY  to SCREEN_HEIGHT>>1 for overflow case, since this will meet what the caller of Trace expect for. After this change, here's what the effect will look like:

I assume that is not a part of assignment, sorry for that. I have fix the commit now.

Thank @RinHizakura for contributing!


Passing text entities to sendMessage, or any other methods doesn't seems to work

That's it. entities doesn't seem to apply at all.
An example I tried out:
text: bold
entities: [{"type":"bold", "offset": 0, "length": 4}]

The parameters are correct, but the request is wrong then. You can try in a browser that the request works: https://api.telegram.org/botTOKEN/sendmessage?chat_id=CHAT_ID&text=bold&entities=[{"type":"bold","offset":0,"length":4}]

Yeah, it worked, its a bug in the library I used


ffmpeg-qsv: added max_frame_size for avc enc

added max_frame_size for ffmpeg-qsv avc enc
Signed-off-by: Xu Yefeng<EMAIL_ADDRESS>

It depends on https://github.com/intel/vaapi-fits/pull/395

@uartie @FocusLuo can you review this for me?

A new PR is submitted in https://github.com/intel/vaapi-fits/pull/398


[8.x] Add extend option to Atomic Locks

This PR adds support for extending existing atomic locks.
Adapters to implement:

[x] Redis
[x] Memcached
[ ] DynamoDB

Use case
Imagine a support system, where only one agent at a time, can work on a case.
When implementing this with atomic locks, you would want to lock a case for 30 seconds, and have the page poll every 15 seconds. That poll request should be able to extend the existing lock.
When the agent leaves the page, the case will automatically be unlocked as soon as the lock expires.
Help wanted
I'm not experiences with DynamoDB, so I can't figure out how to easily extend the TTL of a record. Perhaps someone else wishes to share their wisdom?

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!

Thanks for the feedback. Will re-submit when it’s more complete.
@taylorotwell What is the best way for me to get someone collaborating on the DynamoDB part?


GoogleWebAuthorizationBroker (.NET) does not work on Windows 10 with Project Spartan

.NET 4.5 WPF application
Windows 10 Pro Insider Preview build 10130
GoogleWebAuthorizationBroker.AuthorizeAsync() call starts Project Spartan (a default Windows 10 browser). Then the normal authentication process goes: singing in and granting a required access. After that a blank page appears, and after some timeout this error:
Hmm, we can't reach this page.
Try this
•Make sure you’ve got the right URL: http://localhost:49839
•Refresh the page
•Search for what you want
All works fine on Windows 7 & 8.1. Also works on Windows 10 with Chrome as a default browser.
PS. Porting WebAuthenticationBrokerUserControl to .NET could be a solution.

A StackOverflow issue regarding this one:
http://stackoverflow.com/questions/33136111/googlewebauthorizationbroker-authorizeasync-never-return-in-c-sharp-universal-wi

Closing as stale. Please open a new issue if follow-up is required.


Gamma sample gradients has incorrect dtype in x64 mode

The following snippet of code fails in JAX:
import jax
import jax.numpy as jnp
import jax.random as jaxrand
jax.config.update('jax_enable_x64', True)

key = jaxrand.PRNGKey(0.)
a = jnp.array(1., dtype=jnp.float32)
b = jnp.array(3., dtype=jnp.float32)
f = lambda x, y: jaxrand.gamma(key=key, a=x, dtype=jnp.float32) / y
y, f_vjp = jax.vjp(f, a, b)

with
TypeError: body_fun output and input must have identical types, got
(ShapedArray(float32[]), ShapedArray(float32[]), ShapedArray(float64[]), ShapedArray(bool[]))
and
(ShapedArray(float32[]), ShapedArray(float32[]), ShapedArray(float32[]), ShapedArray(bool[]))

Some dtype information is being lost along the way.

@hawkinsp this is a similar error to what what I was trying to give a minimal-case for in https://github.com/google/jax/issues/2004


bad render images on evaluation

Hi, I appreciate your work very much. I encountered some questions when I reimplemented your work.
I got a high PSNR (about 46+) for the training in scene-0916 of nuscene. However, I got a poor PSNR and bad render image when I evaluated the model using eval.py and the quality of each frame will be worse than the previous frame (e.g. 20.123, 19.45, 17.32, 16.34 for PSNR). Could you provide some suggestions for me to solve it?

Thank you in advance.

The epoch is 8.5w for the above evaluation. I think there are some hard codes and inconsistencies for training and evaluation.

hey, did you just execute render.py for rendering? did you have to change the paths anywhere?

I execute 'eval.py' to get rendered results in a default setting.

that's what I was trying to do but the train_depends has the flow portion empty despite me running it in default setting. Does this data/scenes/scene-0916/flow contain 240 .npy files?

Also, the intrinsics is set to None in train_depends in line99  dataloader.py but later it's being accessed in line144 eval.py. Did you make any changes to that?

@szhang963 can you check the values and size of intrinsics in dataloader.py ? As I've mentioned above, it's set to None and later being accessed. I will randomize the values if I get the size of the tensor. Thanks

Thanks for your reply. I also used neScenes mini 0916 for training. Why is the intrinsic set to None for evaluation? Should I set the values to the default value from the camera sensor?

Also, the intrinsics is set to None in train_depends in line99 dataloader.py but later it's being accessed in line144 eval.py. Did you make any changes to that? I used nuScenes mini dataset for training

@amoghskanda I fix the code 'images, poses, _, intrinsics, depth_gts, flow, cam_index, skymask, seg_masks, semantic = train_depends'.
Could you share the fixed codes or key modifications for the right rendered result?

@szhang963 I'm not able to render because of an error I'm facing. NoneType object is not subscriptable on Line352 in model/models.py. chunk_results is a list of tensors but the last tensor is None hence the error. You did not face this issue? Did you change anything at all while training/rendering? I just reduced the batch size and changed something for lrate(learning rate)
Thanks

@szhang963 I changed the 'render_image' function in models.py.

def render_image(render_fn, rays, rank, chunk=8192):
    is_semantic = render_fn.func.module.semantic
    n_devices = torch.cuda.device_count()  # one device for render
    height, width = rays[0].shape[:2]
    num_rays = height * width
    rays = utils.namedtuple_map(lambda r: r.reshape((num_rays, -1)), rays)
    results = []

    for i in range(0, num_rays, chunk):
        # pylint: disable=cell-var-from-loop
        chunk_rays = utils.namedtuple_map(lambda r: r[i:i + chunk], rays)
        chunk_size = chunk_rays[0].shape[0]
        rays_remaining = chunk_size % torch.cuda.device_count()
        if rays_remaining != 0:
            padding = n_devices - rays_remaining
            chunk_rays = utils.namedtuple_map(
                # mode = "edge", not reflect
                lambda r: F.pad(r, (0, padding, 0, 0), mode='reflect'), chunk_rays)
        else:
            padding = 0
        # After padding the number of chunk_rays is always divisible by
        # host_count.
        rays_per_host = chunk_rays[0].shape[0]
        start, stop = 0 * rays_per_host, (0 + 1) * rays_per_host
        chunk_results = render_fn(chunk_rays)[-1]
        if not is_semantic:
            chunk_results = chunk_results[:-1]
        # chunk_results = [res.to('cpu') for res in chunk_results]
        results.append([utils.unshard(x[None, ...], padding)
                       for x in chunk_results])
    if is_semantic:
        rgb, distance, acc, semantic_logits = [
            torch.cat(r, axis=0) for r in zip(*results)]
    else:
        rgb, distance, acc = [
            torch.cat(r, axis=0) for r in zip(*results)]
    rgb = rgb.reshape((height, width, -1))
    distance = distance.reshape((height, width))
    acc = acc.reshape((height, width))
    if is_semantic:
        semantic = semantic_logits.reshape((height, width, -1))
    else:
        semantic = None
    return (rgb, distance, acc, semantic)

And, the code was changed for right input of intrinsic.
'images, poses, _, intrinsics, depth_gts, flow, cam_index, skymask, seg_masks, semantic = train_depends'

@ZiYang-xie Hi, Could you please spare some time to assist me with this matter? I would greatly appreciate your help.

@szhang963 thank you so much. I'm able to render the images now. Did you try experimenting on the renders like change the view or change the ego vehicle trajectory mentioned in the paper? And yes, the psnr is poor for me as well and diminishes after every eval.

@amoghskanda No, the problem of rendering needs to be solved first.

@ZiYang-xie thank you for this great work. Any insights on szhang's question? How do we improve the rendering results for nuScenes?

@ZiYang-xie thank you for this great work. Any insights on szhang's question? How do we improve the rendering results for nuScenes?

Thank you for bringing your question to my attention. I'll look into this problem shortly. To address the issue you're encountering,  I recommend experimenting with a different scene given the complexity of scene-0916 or try Waymo instead of nuScenes for the reconstruction. Please consider this approach, and feel free to reach out if you need further guidance or assistance.


(WIP) Feat: test challenges

this PR adds background asserts to test challenges and provide feedback to users
so far, created test runner and established POC with tests for GenerateCheckerboard and BinarySearchTree challenges.
the result will look something like this:

closes #26
closes #31

closed in favor of #35... merged into staging


Annotate Queryable Encryption API as Beta

It is in public technical preview and may change before
being finalized.
JAVA-4639

Manually merged


v2 content

Hi @cameronkruse here's a quick content request list, following up on our meetings this week:

To fine-tune the particles' behaviour:

Highest consumers/producers
Lowest consumers/producers
3-4 examples of outliers/counties we want to make sure we get right
List with most linked counties examples
Adjacent counties examples

Ideas or script for the intro screens

About page content

Thank you!

I responded in Slack with the max and min data. as for a few counties we want to get right:

Miami-Dade County, FL has the most diverse production with 28 different crops produced
Fresno, CA is a good one as it provides an abundance of fruits and vegetables to the west coast
Los Angeles, CA, New York, NY, and Cook County, IL are all good urban counties to show demand

An adjacent county example could be any of the ones next to Fresno (Tulare, Merced, San Benito, and Inyo county).


micro: add a mechanism for excluding test and kernel sources from Makefile build

@tensorflow/micro
When submitting a change for review which both copies and modifies a file, it's helpful to submit the copy and the modification as two separate PRs. Otherwise the PR's files changed tab does not show the modifications, but rather it looks as if the copied and modified file was simply added in its final form. See, for example, the sequence of PRs in the flight plan of issue #45306.
To facilitate submitting a PR which adds a file which should not yet be a part of the build (for the copy PR), add to the micro Makefile a means to exclude kernel and test sources from the build.

@petewarden @advaitjain, I've associated two competing PRs with this issue, two different ways of solving the problem. I'm concerned the exclusion lists will lead to merge conflicts. And it's a little more straightforward to have a file show up in the list once its ready to be built, rather than appearing and then disappearing from an exclusion list.
One last poke at whether copying and modifying a file must be in separate PRs:
What's lost if both steps are in the same PR but as two separate commits within the PR? I understand the Files changed tab shows the whole diff merged together, which makes it look as if the copied and modified file was simply added in its final form; however, that's simply the default view. Both the Changes from dropdown (under Conversation) and the Commits tab let's you see the commits individually, which makes it easy to see the modifications as distinct from the copying. This seems to achieve the goals cleanly without two separate PRs.
The only tradeoff I see to one, joint PR is that both commits must be merged or rejected as one unit; however, in this case, I don't see the value in merging only the copy and having it sit there in the directory as dead code. In fact, it seems preferable to have them show up together or not at all.
If the copy and modify can be in the same PR, this exclusion mechanism is less necessary, but still justified perhaps so the copy commit doesn't break the build (and therefore git bisect, etc.). The explicit-list alternative still looks better to me in that case than the exclusion-list alternative.
Thoughts?

I'm with you that explicitly listing the kernel sources is the path forward here -- let's go with that.
Why I'd like to keep two separate PRs:

When PRs are imported internally, all the commits are squashed as a single change so to keep the copy and modify separate in the internal google version control system we need them to be separate PRs.

Even in github, I view PRs as a unit of change (rather than commits) since these are where reviews happen, are properly documented ... The build is often broken at individual commits and the only guarantee is that the merge commit for a PR is where the build is ok. In an ideal world, I would like to have PRs be merged with a squash commit to keep the git log 1:1 with the PRs.

I've rebased the chosen approach, PR #45389, and marked it ready for review.
Thanks for documenting your rational for keeping two separate PRs for copy and modify. Will do.

With the merger of #45389, this closed.

One last poke at whether copying and modifying a file must be in separate PRs:
What's lost if both steps are in the same PR but as two separate commits within the PR? I understand the Files changed tab shows the whole diff merged together, which makes it look as if the copied and modified file was simply added in its final form; however, that's simply the default view. Both the Changes from dropdown (under Conversation) and the Commits tab let's you see the commits individually, which makes it easy to see the modifications as distinct from the copying. This seems to achieve the goals cleanly without two separate PRs.
The only tradeoff I see to one, joint PR is that both commits must be merged or rejected as one unit; however, in this case, I don't see the value in merging only the copy and having it sit there in the directory as dead code. In fact, it seems preferable to have them show up together or not at all.
If the copy and modify can be in the same PR, this exclusion mechanism is less necessary, but still justified perhaps so the copy commit doesn't break the build (and therefore git bisect, etc.). The explicit-list alternative still looks better to me in that case than the exclusion-list alternative.
Thoughts?

We revisited this discussion internally again and @njeffrie made exactly the same argument as you did here.
And after seeing the work involved in having the copy and modify be in separate PRs as well as the overhead of having dead code in the repo, I now agree with you guys.
Your proposed approach is much better. Let's go with having one commit each for:

copy the tflite kernel
remove lite-specific code from copies
port the micro op and test

This would mean that PR3-5 in your draft op porting guide (https://github.com/rkuester/tensorflow/blob/f06b3273eb2492ca9a93399a6c6cf1492b3fd569/tensorflow/lite/micro/kernels/PORTING.md) would become 3 commits in the same PR.
@njeffrie, @rkuester : does that match what you guys think would be a better process?
We can still keep the explicit list of kernel sources, even though we may not necessarily need them anymore.

One last poke at whether copying and modifying a file must be in separate PRs:
What's lost if both steps are in the same PR but as two separate commits within the PR? I understand the Files changed tab shows the whole diff merged together, which makes it look as if the copied and modified file was simply added in its final form; however, that's simply the default view. Both the Changes from dropdown (under Conversation) and the Commits tab let's you see the commits individually, which makes it easy to see the modifications as distinct from the copying. This seems to achieve the goals cleanly without two separate PRs.
The only tradeoff I see to one, joint PR is that both commits must be merged or rejected as one unit; however, in this case, I don't see the value in merging only the copy and having it sit there in the directory as dead code. In fact, it seems preferable to have them show up together or not at all.
If the copy and modify can be in the same PR, this exclusion mechanism is less necessary, but still justified perhaps so the copy commit doesn't break the build (and therefore git bisect, etc.). The explicit-list alternative still looks better to me in that case than the exclusion-list alternative.
Thoughts?

We revisited this discussion internally again and @njeffrie made exactly the same argument as you did here.
And after seeing the work involved in having the copy and modify be in separate PRs as well as the overhead of having dead code in the repo, I now agree with you guys.
Your proposed approach is much better. Let's go with having one commit each for:

copy the tflite kernel
remove lite-specific code from copies
port the micro op and test

This would mean that PR3-5 in your draft op porting guide (https://github.com/rkuester/tensorflow/blob/f06b3273eb2492ca9a93399a6c6cf1492b3fd569/tensorflow/lite/micro/kernels/PORTING.md) would become 3 commits in the same PR.
@njeffrie, @rkuester : does that match what you guys think would be a better process?
We can still keep the explicit list of kernel sources, even though we may not necessarily need them anymore.

@njeffrie, @rkuester : does that match what you guys think would be a better process?

Yes, combining PRs 3–5 into one PR with at least those three commits makes a lot of sense to me. I'll update the guide.

@njeffrie, @rkuester : does that match what you guys think would be a better process?

Yes, combining PRs 3–5 into one PR with at least those three commits makes a lot of sense to me. I'll update the guide.


How to generate images of depth_u16.png type

hi, I have some well-labeled 0\1 tags and related training images. I want to know how to generate images of the depth_u16.png type required for training

We use sparse LiDAR points to generate dense depth images. Some details are mentioned at #7. The data format of the depth_u16.png is: depth_u16 = 1000 * real_depth (in meters).
If you only have color images, one way to obtain dense depth images is to adopt existing monocular depth estimation networks. However, the performance of freespace detection may degrade since the depth images generated by monocular depth estimation networks are not as accurate as those generated from sparse LiDAR points.

Hello Wang, I try to generate dense depth images from lidar data too. But the generated depth image result seems different from your provided depth_u16. It also influences the inference performance. Can you provide your dense depth images generation code for us? Thanks a lot! @hlwang1124


Bug: Query returns nulls in DBeaver and not other clients

The following query returns nulls in DBeaver but not other clients
select
  t.*,
  CAST( CAST(t.date_key AS CHAR(8)) AS DATE FORMAT 'YYYYMMDD')
from schema.test_table as t

looking at the tooltip it looks like dbeaver is confused on the type of the result given that its showing the datetime icon but hovering says integer?

CREATE MULTISET TABLE schema.test_table ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL,
     CHECKSUM = DEFAULT,
     DEFAULT MERGEBLOCKRATIO
     (
      date_key INTEGER NOT NULL
     )
no primary index;

insert into schema.test_table values (20100101);
insert into schema.test_table values (20100102);
insert into schema.test_table values (20100103);
insert into schema.test_table values (20100104);

What database?

Teradata

Unfortunately I can't test it.
Please attach debug log, maybe there is something related to this problem.

I've attached 3 logs
.log appears to have the relevant errors at the bottom however there appeared to be a lot of uncaught exceptions.
Also I noticed that there were several query logs for loading tables, columns, indexes, primary keys, imported keys ran after my sample query. I'm assuming that this is for click through functionality? (if thats all its for is there a place I can turn this off?)
logs.zip

This is what causes problem with date values:
Unrecognized type 'java.sql.Date' - can't convert to numeric

DBeaver thinks that this column has numeric data type. This is because you second column has the same alias as the real table column (date_key). DBeaver tries to discover real attribute data type from database metadata whenever it is possible. Smarty pants.
Workaround - set some alias for your expression.
And I'll think how to handle this problem better..

makes sense.. given that here is code that reproduces the issue in oracle
create table schema.test_table as select 20100101 as date_key from dual;

select
  t.*,
  to_date(cast(t.date_key as varchar(8)),'YYYYMMDD') as date_key
from schema.TEST_TABLE t;


graphql-yoga preview version based on<EMAIL_ADDRESS>

Since graphql-yoga is based on apollo-server and Apollo Server 2.0 currently is in release candidate stage, what about to release preview version of graphql-yoga based on<EMAIL_ADDRESS>to developers can try all new mind-blowing features that Apollo Server 2.0 offer before official stable release?

This would of course be cool to play around with.
I see Apollo Server 2.0 appears to be shipping GraphQL Playground directly this time.
So at least that aspect won't be a "drop in" upgrade.
Would be nice to hear an update on what the plans look like from the graphql-yoga authors :)

@schickling @DakshMiglani @nikolasburk @timsuchanek @marktani PTAL. :wink:

Apollo Server 2.0 shipped yesterday.

+1, I'll check on it.

Not sure what graphql-yoga is planning to do now that Apollo Server 2.0 is out - but I released Druid.js today, to streamline development of Node.js+Graphql apps, and its built on top of Apollo Server 2.0
Here's the link to learn more: https://github.com/alidcastano/druid.js

That's what the Apollo developers write:

Apollo Server 2.0 dramatically simplifies the API for building a GraphQL server without compromising on features. It’s also completely backward compatible, so you don’t have to worry about breaking changes when upgrading.
While it’s possible to migrate an existing server to 2.0 without any changes, we recommend changing to new patterns we’re suggesting in order to take advantage of all the latest Apollo Server features, reduce the boilerplate, and enable future flexibility. To learn how to migrate to the 2.0 from version 1.0, please read the following guide.

(source: https://www.apollographql.com/docs/apollo-server/v2/migration-two-dot.html)
If this is true, then merging #406 and #407 solve everything without the big refactor. :stuck_out_tongue_winking_eye:
They also write:

The idea to bundle all the features together into one constructor echoes Prisma’s approach with graphql-yoga. We really liked how it followed our goal of making GraphQL API development more approachable, so we decided that a similar API should be the entry point for Apollo Server 2. Thank you again to the Prisma team for the inspiration and for always pushing the GraphQL community forward.

(source: https://blog.apollographql.com/announcing-apollo-server-2-2b69fb4702ce)
It seems apollo-server@2 solves the same problems as graphql-yoga.
Why is graphql-yoga even needed if there is apollo-server@2 (graphql-yoga fulfilled its mission)?
cc @evans @abernix @helfer @martijnwalraven @stubailo @unicodeveloper @peggyrayzis

Actually, if we directly update to apollo-server 2.0, then GraphQL-Yoga won't work, because the exports and API is very different.
GraphQL-Yoga's current API is almost the same as the new Apollo Server 2.0's API.
So we would have to remove all the code on-top of Apollo-Server 1, and then rewrite most parts.
I don't really think the rewrite is worth it, because Apollo-Server@2 full-fills GraphQL-Yoga's mission.

Thanks for the analysis, eye opener.
Agreed with your comments around Yoga, it really helped pave the way.

@SpaceK33z
Didn't graphql-middleware, graphql-import and graphql-deduplicator NPM packages are compatible (can be used) with apollo-server@2?
FYI, Apollo Server 2

supports file uploads out-of-the-box,
contains all of the features of the Engine Proxy around performance tracing, error tracking, CDN integration, caching, reimplemented with 100% open-source JavaScript,
has GraphQL Playground built-in,
etc.

Have you read the https://blog.apollographql.com/announcing-apollo-server-2-2b69fb4702ce article?

@FluorescentHallucinogen You've misunderstood me completely, I'm not saying those packages are not compatible with Apollo Server, I'm saying those are built-in so they don't require any config on the user side. As for the Apollo Server 2 features, you mention, that is exactly what I'm talking about with the list that comes after "Features already in GraphQL Yoga".

So.. is it worth to use Yoga at this point or not?

PTAL to https://github.com/prisma/yoga2. :wink:

Keeping the issue alive..

I think these infos should be also in the main README ?

probably

Hey @FluorescentHallucinogen @onpaws @0xDaksh @SpaceK33z @WeslleyNasRocha @muescha @nklayman we @the-guild-org are the new maintainers of this project. We are actively working on v2. The new yoga server is framework agnostic and supports various serverless/edge providers with no additional setup. There are many other new things! Would love to get your feedback on beta release. You can checkout our new docs https://www.graphql-yoga.com (still wip)


Can't install it on virtualenv on a raspberry pi 4 - (8GB)

Using python 3.7.3
tried:
(cv) pi@opencv:~ $ pip install "picamera[array]"
Collecting picamera[array]
Using cached picamera-1.13.tar.gz (143 kB)
Requirement already satisfied: numpy in ./.virtualenvs/cv/lib/python3.7/site-packages (from picamera[array]) (1.18.5)
Building wheels for collected packages: picamera
Building wheel for picamera (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/.virtualenvs/cv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1w_1xz0u/picamera/setup.py'"'"'; file='"'"'/tmp/pip-install-1w_1xz0u/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-5puzdgaw
cwd: /tmp/pip-install-1w_1xz0u/picamera/
Complete output (54 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/picamera
copying picamera/frames.py -> build/lib/picamera
copying picamera/renderers.py -> build/lib/picamera
copying picamera/streams.py -> build/lib/picamera
copying picamera/mmalobj.py -> build/lib/picamera
copying picamera/array.py -> build/lib/picamera
copying picamera/encoders.py -> build/lib/picamera
copying picamera/exc.py -> build/lib/picamera
copying picamera/bcm_host.py -> build/lib/picamera
copying picamera/color.py -> build/lib/picamera
copying picamera/display.py -> build/lib/picamera
copying picamera/init.py -> build/lib/picamera
copying picamera/camera.py -> build/lib/picamera
copying picamera/mmal.py -> build/lib/picamera
running egg_info
writing picamera.egg-info/PKG-INFO
writing dependency_links to picamera.egg-info/dependency_links.txt
writing requirements to picamera.egg-info/requires.txt
writing top-level names to picamera.egg-info/top_level.txt
reading manifest file 'picamera.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'debian'
no previously-included directories found matching 'docs'
writing manifest file 'picamera.egg-info/SOURCES.txt'
installing to build/bdist.linux-armv7l/wheel
running install
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-1w_1xz0u/picamera/setup.py", line 145, in
main()
File "/tmp/pip-install-1w_1xz0u/picamera/setup.py", line 140, in main
cmdclass             = {'install': CustomInstallCommand},
File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/setuptools/init.py", line 161, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 259, in run
self.run_command('install')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-1w_1xz0u/picamera/setup.py", line 109, in run
raise ValueError('This system does not appear to be a Raspberry Pi')
ValueError: This system does not appear to be a Raspberry Pi
ERROR: Failed building wheel for picamera
Running setup.py clean for picamera
Failed to build picamera
Installing collected packages: picamera
Running setup.py install for picamera ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/.virtualenvs/cv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1w_1xz0u/picamera/setup.py'"'"'; file='"'"'/tmp/pip-install-1w_1xz0u/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-z_le02d2/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/.virtualenvs/cv/include/site/python3.7/picamera
cwd: /tmp/pip-install-1w_1xz0u/picamera/
Complete output (18 lines):
running install
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-1w_1xz0u/picamera/setup.py", line 145, in
main()
File "/tmp/pip-install-1w_1xz0u/picamera/setup.py", line 140, in main
cmdclass             = {'install': CustomInstallCommand},
File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/setuptools/init.py", line 161, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-1w_1xz0u/picamera/setup.py", line 109, in run
raise ValueError('This system does not appear to be a Raspberry Pi')
ValueError: This system does not appear to be a Raspberry Pi
----------------------------------------
ERROR: Command errored out with exit status 1: /home/pi/.virtualenvs/cv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1w_1xz0u/picamera/setup.py'"'"'; file='"'"'/tmp/pip-install-1w_1xz0u/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-z_le02d2/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/.virtualenvs/cv/include/site/python3.7/picamera Check the logs for full command output.
(cv) pi@opencv:~ $
Any ideia ?

But version :
(cv) pi@opencv:~ $ pip install -Iv  "picamera[array]"==1.12
Just installed perfectly ...

Facing the same issue installing The Spaghetti Detective plugin in Octoprint on Pi 4 with HQ camera (fresh install).
https://github.com/TheSpaghettiDetective/OctoPrint-TheSpaghettiDetective/issues/66
I managed to solve it by first forcing install of the picamera library before installing the plugin.
sudo -s
export READTHEDOCS=True
/home/pi/oprint/bin/python2 -m pip install picamera
As this was suggested here :
https://github.com/waveform80/picamera/issues/578#issuecomment-523997913
Still there seems to be an issue with the picamera library with HQ camera on Pi 4 as my install is fresh out of the box Octoprint.

Hi,
I've the same issue, so I'm using the version 1.12 but I didn't have this issue before... A mate did an upgrade of my RPI and then... broke.


Nextcloud won't install

Describe the bug
Trying to use the NixOS Nextcloud service doesn't seem to work when installing from scratch.
EDIT: I guess I should also post some logs:
warning: the following units failed: nextcloud-cron.service, nextcloud-setup.service

× nextcloud-cron.service
     Loaded: loaded (/etc/systemd/system/nextcloud-cron.service; linked; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2022-10-10 22:39:25 CEST; 1s ago
TriggeredBy: ● nextcloud-cron.timer
    Process: 60404 ExecStart=/nix/store/8h70lra167w42k018qvahrd5vjcxz2gd-php-with-extensions-8.0.22/bin/php -f /nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/cron.php (code=exited, status=1/FAILURE)
   Main PID: 60404 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
        CPU: 208ms

Oct 10 22:39:25 end Nextcloud[60404]: {"reqId":"nQwm8DeH4EoLGQ0VjEgz","level":3,"time":"2022-10-10T20:39:25+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"{\"Exception\":\"Exception\",\"Message\":\"Not installed\",\"Code\":0,\"Trace\":[{\"file\":\"/nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/lib/base.php\",\"line\":663,\"function\":\"checkInstalled\",\"class\":\"OC\",\"type\":\"::\",\"args\":[{\"__class__\":\"OC\\\\SystemConfig\"}]},{\"file\":\"/nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/lib/base.php\",\"line\":1104,\"function\":\"init\",\"class\":\"OC\",\"type\":\"::\",\"args\":[]},{\"file\":\"/nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/cron.php\",\"line\":43,\"args\":[\"/nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/lib/base.php\"],\"function\":\"require_once\"}],\"File\":\"/nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/lib/base.php\",\"Line\":282,\"CustomMessage\":\"--\"}","userAgent":"--","version":"<IP_ADDRESS>"}
Oct 10 22:39:25 end php[60404]: Exception: Not installed in /nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/lib/base.php:282
Oct 10 22:39:25 end php[60404]: Stack trace:
Oct 10 22:39:25 end php[60404]: #0 /nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/lib/base.php(663): OC::checkInstalled(Object(OC\SystemConfig))
Oct 10 22:39:25 end php[60404]: #1 /nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/lib/base.php(1104): OC::init()
Oct 10 22:39:25 end php[60404]: #2 /nix/store/ylblvy03xmq1nrp6w7nnlhw3d6i2lbkd-nextcloud-24.0.4/cron.php(43): require_once('/nix/store/ylbl...')
Oct 10 22:39:25 end php[60404]: #3 {main}
Oct 10 22:39:25 end systemd[1]: nextcloud-cron.service: Main process exited, code=exited, status=1/FAILURE
Oct 10 22:39:25 end systemd[1]: nextcloud-cron.service: Failed with result 'exit-code'.
Oct 10 22:39:25 end systemd[1]: Failed to start nextcloud-cron.service.

× nextcloud-setup.service
     Loaded: loaded (/etc/systemd/system/nextcloud-setup.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2022-10-10 22:39:25 CEST; 1s ago
    Process: 60381 ExecStart=/nix/store/c1ws8a9wps8j5q0r8rcj8v90ncl1xis4-unit-script-nextcloud-setup-start/bin/nextcloud-setup-start (code=exited, status=1/FAILURE)
   Main PID: 60381 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
        CPU: 294ms

Oct 10 22:39:25 end systemd[1]: Starting nextcloud-setup.service...
Oct 10 22:39:25 end nextcloud-setup-start[60403]: Nextcloud is not installed - only a limited number of commands are available
Oct 10 22:39:25 end nextcloud-setup-start[60403]:
Oct 10 22:39:25 end nextcloud-setup-start[60403]:   Command "upgrade" is not defined.
Oct 10 22:39:25 end nextcloud-setup-start[60403]:
Oct 10 22:39:25 end systemd[1]: nextcloud-setup.service: Main process exited, code=exited, status=1/FAILURE
Oct 10 22:39:25 end systemd[1]: nextcloud-setup.service: Failed with result 'exit-code'.
Oct 10 22:39:25 end systemd[1]: Failed to start nextcloud-setup.service.

I guess these are the most relevant ones
Steps To Reproduce
Use the following config for nextcloud
{
  services.nextcloud = {
    enable = true;
    https = true;
    hostName = url;
    config = {
      adminpassFile = config.age.secrets.nextcloud-admin-pass.path;
      dbtype = "sqlite";
      # dbtype = "mysql";
      # dbport = 3306;
    };
  };
}

Expected behavior
I expected nextcloud to run normally
Additional context
I have installed agenix to handle the adminpassFile.
I am also using deply.rs to try and deploy nextcloud to my server.
nginx is also running on the server and uses port 80. I have not set up a virtual host for nextcloud yet.
Notify maintainers

@ma27 @fpletz @globin @bachp @schneefux
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Server:
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.63, NixOS, 22.05 (Quokka), 22.05.20220901.b82ccaf`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.9.1`
 - channels(root): `"nixos-22.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Local machine:
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.63, NixOS, 22.05 (Quokka), 22.05.20220901.b82ccaf`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Seeing this as well.
Would assume that this line is causing the Command "upgrade" is not defined. error:
https://github.com/NixOS/nixpkgs/blob/8c8f38c1367fa90ff87d28a44b82fd8e59dc088d/nixos/modules/services/web-apps/nextcloud.nix#L892
Not sure how to best debug this.

Ok. So this is a duplicate of #111175. There is also a comment on this issue in the official manual.

original ticket looks fixed thus closing, feel free to reopen if not the case


pass arguments to gcloud deploy

I needed this so I can deploy the gcloud functions with the non-default service account (the default service account has editor role over a project by default).
Just passes the arguments onto the gcloud deploy call, so gcloud deploy parameters can be used. I only needed service-account, but figured power users may want to modify some of the other parameters too

I missed something I think -- what about the service account?  Really
trying to deprecate those so I'm not sure in this case why they'd be
necessary?
On Tue, Jun 7, 2022 at 9:02 AM Noureddine @.***> wrote:

@.**** commented on this pull request.
In dashboard/deploy_dashboard_gcloud
https://github.com/faucetsdn/udmi/pull/357#discussion_r891418631:

@@ -1,7 +1,7 @@
#!/bin/bash -e

-if [ $# != 1 ]; then

echo Usage: $0 [project_id]
+if (( $# < 1 )); then

echo Usage: $0 PROJECT_ID [options]

I looked into it, I don't think any. I made some assumptions based on the
names of some things but I don't think they're relevant anymore, so it's
only the service account then.
—
Reply to this email directly, view it on GitHub
https://github.com/faucetsdn/udmi/pull/357#discussion_r891418631, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIEPD2QCNEQYAVJOFFTTUTVN5XAVANCNFSM5YDKQPQQ
.
You are receiving this because your review was requested.Message ID:
@.***>

It's the runtime service account (https://cloud.google.com/functions/docs/securing/function-identity#runtime_service_account) for the cloud function. An instance of a cloud function inherits its permissions from either the defined service account or the app engine default account if unspecified.
So by specifying the service account the cloud functions are associated with, their access to the GCP project can be controlled, and reduced from the everything access they have by default at the moment.

Sure, but when does this come up?  I'm basically wondering if this should
be a required thing or is optional really ok. Practically speaking this
script was more meant for a quickstart, but I was expecting the "real"
deployments to go through terraform.
Anyway -- nothing specifically wrong with this change, more just
questioning the overall workflow!
On Tue, Jun 7, 2022 at 9:55 AM Noureddine @.***> wrote:

It's the runtime service account (
https://cloud.google.com/functions/docs/securing/function-identity#runtime_service_account)
for the cloud function. An instance of a cloud function inherits its
permissions from either the defined service account or the app engine
default account if unspecified.
So by specifying the service account the cloud functions are associated
with, their access to the GCP project can be controlled, and reduced from
the everything access they have by default at the moment.
—
Reply to this email directly, view it on GitHub
https://github.com/faucetsdn/udmi/pull/357#issuecomment-1148927483, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIEPD66AFAT3MY7UQYFFFDVN55HNANCNFSM5YDKQPQQ
.
You are receiving this because your review was requested.Message ID:
@.***>


lbrycrd-cli Info still says "BTC"

from @theunrealtok
error message:
getwalletinfo
Returns an object containing various wallet state info.
Result:
{
"walletversion": xxxxx, (numeric) the wallet version
"balance": xxxxxxx, (numeric) the total confirmed balance of the wallet in BTC
"unconfirmed_balance": xxx, (numeric) the total unconfirmed balance of the wallet in BTC
"immature_balance": xxxxxx, (numeric) the total immature balance of the wallet in BTC
"txcount": xxxxxxx, (numeric) the total number of transactions in the wallet
"keypoololdest": xxxxxx, (numeric) the timestamp (seconds since GMT epoch) of the oldest pre-generated key in the key pool
"keypoolsize": xxxx, (numeric) how many new keys are pre-generated
"unlocked_until": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked
"paytxfee": x.xxxx, (numeric) the transaction fee configuration, set in BTC/kB
}

In src/amount.cpp, line 10:
const std::string CURRENCY_UNIT = "BTC";

Fixed by #61


Toggle Switch Hit-Test bug in Immediate mode

Describe the bug
When using Immediate mode rendering - the toggle switch displays some odd behavior. A certain small region to the right does not trigger the IsChecked changed but does trigger the Click. I suspect it has something to do with the fact that the Canvas holding the Ellipses On and Off states shows up as a pointer-over control in Immediate mode and doesn't in Deferred mode (was using the DevTools for this). So whenever I saw that the current pointer-over element was that Canvas the hit-test wasn't working correctly. This does not happen in Deferred mode.
To Reproduce
Steps to reproduce the behavior:

In the Program.cs of Control Catalog replace the line:
.UsePlatformDetect();
with the following:
.UsePlatformDetect().With(new Win32PlatformOptions
{
UseDeferredRendering = false
});

Run the application

Go to toggle switch page and have any switch in the Checked state.

Click on the far left side of the oval.

Expected behavior
The switch should still toggle back to unchecked but it doesn't - the click is registered but the checked change isn't.
Screenshots
Deferred Mode (correct behavior):

Immediate mode (bugged):

This reminded me I needed to file a similar issue encountered during SplitButton development. See #7626 which may be related.

UseDeferredRendering is not supported anymore. So I think this issue can be closed. If you encounter similar using latest 11.0 version, let me know how to reproduce.


[Right-to-Left Support] Page is invisible

How to reproduce this bug:

In rails 5.0.1 application i add dir="rtl" lang="ar" to html tag.(i try only on local machine)
Open application in chrome or opera neon browser(in safari all work fine)

What should happen:
User should see page.
What happened instead:
Sometimes(more then 50% times) page is invisible. But all links are avaliable. Browser consloe hasn't any errors.
When i resize browser window  page again becomes visible.

can you attach screenshots .... also i would need to check out your code @MProG

@IamManchanda http://g.recordit.co/s2x2aWlPn2.gif This is gif with behavior.
 and scss

@IamManchanda can you reproduce?

@MProG zip ( or google drive ) me your code  please ??
and yeah with a little instructions on installation ( as i use Php Laravel  for backend )
I Might be able to solve as its a frontend issue than of rails .... so i might be able to reproduce and solve it around!

Closing as we did not receive any further information.


PQMT: Lacking of the information about new endpoint *.powerautomate.com

[Description]
Lacking of the information about new endpoint *.powerautomate.com.
The following URL indicates that there will be a change in June-July 2022, when the domain of Power Automate portal will be moved from *.flow.microsoft.com to *.powerautomate.com.

URL: https://app.cloudscout.one/evergreen-item/mc386412/

However, since the following page does not mention *.powerautomate.com as an Office 365 endpoint, we assume that users have no control over the URL, which would cause confusion.

URL: https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide&source=docs

By the way, the following page has the mention for *.powerautomate.com.

URL: https://docs.microsoft.com/en-us/power-automate/ip-address-configuration

Please refer to the attached file (20220804_1.png).
[Actual result]
No mention of *.powerautomate.com on this page.

URL: https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide&source=docs

[Expected result]
Endpoint information for *.powerautomate.com is added to the following page.

URL: https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide&source=docs

[Source]
Japan Internal Feedback
[Copied from]
https://microsoft.sharepoint.com/:li:/t/ntojapan/pqmt/ExNTaZsIif1Eo22Umo2ak-QBNufhaD2aIihvXWRtVPA19A?e=BfcJB7

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

ID: 66bd8666-3566-a901-b25b-eb6baba6264a
Version Independent ID: e9f6310f-2207-8c81-d31a-3d5a80beb26b
Content: Office 365 URLs and IP address ranges - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@kelleyvice-msft Please help us in resolving this issue. Thanks

Hi. It does not seem to be fixed yet.
Do you have any update for this? Thanks.

Thanks for reaching out. I will find the appropriate engineering resource to make this change and update the issue when I have any new information. -Kelley

Thanks for reaching out to the Microsoft 365 Enterprise content team. Because all Microsoft 365 endpoints data displayed in learn.microsoft.com articles is autogenerated by the Microsoft 365 endpoints web service, the content team cannot resolve issues directly related to this data.
We recommend that you contact your organization’s TAM (Technical Account Manager) to escalate your inquiry to the engineering team associated with the endpoint in question. If you do not have a TAM assigned to your organization, please contact Microsoft Support.

OK, I will report the problem to other databases.
Thank you for investigating!


iOS queue stops playing in background randomly.

On iOS I cannot play a queue on loop through the night in the background (RepeatMode.Queue). The players stops randomly (after about 10 minutes of playing) with this error from Xcode in the QueueManager.swift:

Environment Info:
System:
OS: macOS 12.5.1
CPU: (8) arm64 Apple M1
Memory: 123.38 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.13.0 - /usr/local/bin/node
Yarn: 1.22.19 - ~/Desktop/sp-rn/node_modules/.bin/yarn
npm: 8.8.0 - /usr/local/bin/npm
Watchman: 20220331.150235.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8309675
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: <IP_ADDRESS> - /usr/bin/javac
npmPackages:
@react-native-community/cli: ^9.0.0 => 9.1.1
react: 18.0.0 => 18.0.0
react-native: 0.69.5 => 0.69.5
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
This is my package.json
"expo-av": "^12.0.4",
"react-native-track-player": "^3.1.0",
"react-native": "0.69.5",
The new arch is NOT enabled.
Tested on a real device in prod mode.
@puckey We touched based on Discord about it.. if you need more info I'm happy to share.

I am working on a pull-request of the SwiftAudioEx iOS dependency that has a bunch of queue related bug fixes: https://github.com/doublesymmetry/SwiftAudioEx/pull/28

Could you provide a fork of this repo with an adjusted example app with a playlist of tracks that demonstrates this issue?
Then I can check if my queue related pr fixes this issue.

I'll get that to you in the next few days.

I have been trying to make this bug happen again but I was unsuccessful. Even my code is now working. I did do the upgrade to iOS 16 and everything the queue played all through the night last night. I will continue to poke at this to see if something comes up, but for now I will close the issue. Also with your PR I'm sure everything will be even better. Thanks for the hard work.. this is an amazing library.


iox-#1666 Fix GatewayGeneric running state variable setting

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[ ] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[ ] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[ ] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References
Closes #1666

@elBoberido I agree that this is very difficult to test.
I have modified the PR description and added a line to the release notes as you asked.

@JakubSosnovec thanks for your contribution. An you picked the right spot ... this innocent little line which brings one right into the dark labyrinth of the most complex C++ rules.


only support go.mod major versions

Fixes #149

You are very fast!  I don't have time to check :)

Sorry, for this one, I wanted to merge this as it was a bug. Should have named the branch it hotfix or something.
Rest of the times, I am always waiting for your review.


darwin_arm64 native support for kubectl plugin

for darwin only amd64 is listed as HNC-platform.
with apple silicon being the only cpu available on mabooks in the long run native support is required

Someone's trying to fix this in #111

The change has been checked in so it will be in the next release, sorry I didn't close this bug. But it is fixed, and will be available soon.
/close


Parse subject alt name on .NET Core on Linux

Handle subject alt names properly on Linux (.NET Core).

Is there a test for this?

I have no idea how to go about testing it.


Flush problems with printf

Program print outputs are being delayed until the program ends when running colorgrind.

@Mlordx, please run the program with the newest version I've uploaded.

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim
Claim your share of the $500k Binance Airdrop! As the year comes to an end, we're giving away $500 in BNB to celebrate. Follow the steps above to secure your tokens. Don't miss out on this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Winners: @super1ha1, @alfonsotech, @phial3, @dajisiyyds, @iamv1n, @ZuhairHossain, @Jennlb, @hishamank, @bsgrigorov, @farhad, @sagungargs15, @asifhaider, @jeremyj563, @swimmingHaribo, @blockxtech, @0xBadMad, @xiewenliang, @Zarathos94, @Galenki, @wpazio, @joker-fightclub, @musik, @DoYouLoveThisJob, @stealhead, @spacex81, @bysr, @DevWithAz, @wpank, @yasinatesim, @tgntr, @rhutik03, @muffafa, @gucmurat, @vgjm, @iyangming, @tangzulong, @Yuvrajchandra, @taiak, @chaytanyasinha, @carr351283168, @seanyu-git, @kkkkkxxxxx, @kunal00000, @moises2406, @j174in, @liberty-song, @hexinlei, @gcoli6, @dfxshxr, @lanbo1984

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
Capella87, @1052445594, @job-wangwei, @fcarli3, @IsSenHu, @shewbaka, @cvic, @suncle1993, @devayanxr, @wenhongming, @LeoVS09, @DivyaSaiKrishna, @chozahell, @chenxiaoci, @handlemyfinance, @friendwu, @saeedhassansolangi, @fengjy73, @ibuwei, @Hishantik

Celestia Airdrop - Claim Your Free TIA Tokens Now!

Don't Miss Out on Your Share of 60 Million $TIA Tokens!
Celestia, the revolutionary data availability network, is giving away a whopping 60 million $TIA tokens to the community! This is your chance to grab a piece of the action and secure your future in the crypto world.
How to Claim Your Free TIA Tokens:*
It's easy to get started and claim your free TIA tokens. Follow these simple steps:

Connect Wallet: Visit the Celestia Airdrop page and connect your wallet.
Claim: Click the Claim button to receive your tokens.
Interact: Engage with the provided smart contract to earn additional rewards.

Why Wait? Start Earning Today!
With Celestia, the sky's the limit. Don't let this opportunity slip through your fingers.


[feature?] authentication w/ audon

Might be a smell for another issue - but I'm trying to authenticate with the audon app https://audon.space/login

go here https://audon.space/login
successfully go to the "authorize" page, enter credentials and tap allow
see message | "auth_code_required"

Hm, we had to hand-roll our own oauth implementation due to the special way Mastodon does it, so it's quite possible I missed something. I shall investigate soon!

Fixed in 5ab5684

it works - not getting my avatar in audon but i can make a room.


(GH-160) Remove invalid space in doctype element

This is causing invalid HTML to be generated for each redirect page.
Fixes #160

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

 Thank you 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.

Ohh, nice catch!

Ohh, nice catch!


Update Sequel-Rails

#12113
Update the adapter from Sequel to Rails. 😱 It's "just" a gem update, and a million search+replace changes. Comprehensive list:

Gemfile and Gemfile.lock Gem changelog. This is a massive update, but their changelog is nice. Some highlights:

Rename Rails::Sequel module as SequelRails (0.4.0)
Ensure we've dropped any opened connection before trying to drop database (0.4.0). We do this manually, maybe we can skip it. But not in this PR.
0.9.15 will be the last version to support Rails 3 (which is important to us) and ruby < 2.2 (which we don't care about)

Disabled the railtie loading
Monkey patch the gem to make it compatible with Vizzuality's fork
Load default configuration. See the bottom of this section of the docs

Acceptance

[ ] Migrate the database from scratch (make prepare-test-db)
[ ] Test database operations, specially user db, including

[ ] User management
[ ] Group management
[ ] Permission management
[ ] Dataset management
[ ] Editing data inside a dataset

Deploying this fails: #22840 Sequel::Error: Extension schema_dumper does not have specific support handling individual databases Sequel::Error: Extension schema_dumper does not have specific support handling individual databases.

Ha, CI didn't catch this because this only happens when a migration results in an action. It does not trigger if the DB is up to date. Good catch!

Fun times diving into Sequel internals. Here's the story.

We are on Sequel 3.42
Sequel 3.47 changed the Sequel plugins API, so a DB object is passed to the plugin in initialization (to determine if it is compatible with that DB driver). Sequel 3.48 (last 3.xx) deprecates the old one. Sequel 4.0 removes it altogether.
Sequel-Rails 0.4.4 moves from the old plugin API to the new one. This is not very well reflected in the Gemfile requirements.
We need Sequel-Rails 0.9.0 at a minimum for Rails 4 support

So, two options here:

Update Sequel to 3.47. We cannot directly go to Sequel 4 due to some deprecated stuff. We could use 3.48 but we get lots of ugly deprecation warnings. Changelog (looong)
Remove the schema_dumper extension (AFAIK, we don't really use it). Hope no other extension breaks (it doesn't seem like it, but...).

I'm pushing a change with Sequel 3.47 to see what CI says.

And of course, Sequel 3.46.0 changes slightly the behaviour of association caching, and we are expert on using edge cases for that :(
@juanignaciosl What are your thoughts on disabled DB schema dumping? AFAIK, we are not using it for anything, it is not used for db creation, and not even committed to the repo. I checked in sequel-rails code and this is the only extension being used, so just disabling this one should be enough.

Schema dumping is usually only used for test purposes, and AFAIK we don't use it at all, as you said. I'd disable it and check.

Ok, this runs migration correctly now, let's test it!

No issue detected in acceptance 🎉


feat:(roles): Importable role by rolename

@sschu thanks for the review, but the dependency is not new. It is already used by resource_keycloak_openid_client.go for the same purpose: Handle import: true (see here)


Ident c188 fb and google oauth actions

Manditory Checks

[x] I added new tests for the issue I fixed or the feature I built
[x] I ran npm test for the package I'm modifying
[x] I used npm run commit instead of git commit

 REFACTOR: fb and google auth actions from buttons


Add freebsd support - stage 1

Not 100% pass yet, because I dont have android setup on the freebsd box, but with this patch in place, I can get most of the fyne tests now with a green build

abandoning - messed up go.mod, will put another PR together


After switching my project from Bootstrap 3 to Bootstrap 4, the UI collapsed

Several weeks ago, I tried to implement Bootstrap v4.0.0-alpha.6 (after removing references to Bootstrap 3 from the header), and the project UI collapsed. Basically, a lot of the elements disappeared, and the look and feel was slightly messed up. So, I reverted back immediately without doing any further investigation.
I am just wondering if you have to follow certain steps to migrate to Bootstrap 4 and if you need to make changes to your style.css file or any other changes in HTML.
Appreciate your feedback.
Tarek

https://getbootstrap.com/docs/4.0/migration/

BTW, if you notice any issues with the aforementioned page, please submit a PR to help improve it.

OK, thanks... but, if my understanding is correct, I am sure this is not going to be an easy journey !
I was wondering if there is some sort of tool that will assist in this migration process, since a lot of the tasks are about renaming classes used in your project.
Again, I appreciate your feedback, just to make sure that I understand what needs to be done.
Tarek

I'm not aware of any such tool personally. It's not so hard, just read the docs and you'll get there. :)


add safe handling of IPv6 address for APT proxy

update required version of stdlib to get additional validation routines
verify that proxy['host'] is a valid IPv4, IPv6, or domain name
enclose IPv6 addresses in [ ] as needed
move validate_hash() block in order to keep all of the proxy config stuff together
ensure port number is a valid integer ( < 65536)
add test for IPv6 address behavior

Hi @MrSecure , thanks for the work you have put into this pull request. However due to inactivity and failing unit tests / needing rebased, this pull request is being closed. If you want to re-submit this PR with the necessary changes, we will gladly look at the new pull request.


Feature Request: Support disk encryption using LUKS

While IAAS providers such as aws and azure encrypt storage other operating environments such as on premise data centers and edge computing are less likely to have effective hardware protected encryption. The feature request is certainly non trival but using luks with server level TPM2 as one key shard component and a cluster level secret key as the second component provide encryption on local storage. This model ensure that a single node removed from the cluster or the cluster level key on their own can not be used to decrypt data.
This is something I might be interested in working on myself I presently don't have available time but I think this feature would be compelling.

Thanks for the feature suggestion.
Disk encryption is interesting. However, could we solve this problem by providing a layer such as LUKS under LVM? If TopoLVM itself has the ability to work with LUKS, I am concerned that there are several things to consider, such as key distribution, and the implementation may be complex.

@pluser I think that approach would even be desirable its certainly not as simple as "set a variable to turn it on" key management is critical needs to be thought out and done well.

Hey guys, just adding my 2 cents here: What does "disk encryption support" even mean? We can already today establish volume groups based on LUKS transparently encrypted disks and use them in TopoLVM by simply referencing the encrypted Disk path.
Similarly it is possible already today to create a PVC and then use this as a block storage device in a Pod an bind it via tooling into application level encryption through App level LUKS by providing cryptsetup capabilities in the Pod.
The only thing that is not possible right now is automated App-Level encryption with LUKS based on workload. Due to the use cases for TopoLVM (local storage provider), IMO We dont need to add Key Management Capabilities into TopoLVM for this third case because serious users will anyhow encrypt their disks externally and transparently without storing the crypto material or access to it in the cluster where TopoLVM would be able to use it.

I think providing crypto in the pod would be improper for similar reasons to not providing the ability to format a block device. The concern of encryption is independent of the application and should be kept separated.  Each lv should be encrypted with its own keys when deleted the keys would be removed providing instant secure delete. This solution uses clevis at the block level, there are other possible implementations the ideal solution would be logical volume level for data drives
Likely two modes
"TPM only" which would leverage the TPM alone
TPM + secret would require TANG which could be in cluster or out of cluster essentially binding the drives to the node and network
https://fedoramagazine.org/using-linux-system-roles-to-implement-clevis-and-tang-for-automated-luks-volume-unlocking/

I think providing crypto in the pod would be improper for similar reasons to not providing the ability to format a block device. The concern of encryption is independent of the application and should be kept separated.
+1 to that.

TPM only already is supported on disk level: Here is a high level blog article on usage: https://www.redhat.com/en/blog/encryption-rest-red-hat-openshift-application-data-edge
TPM + secret with TANG should be possible via the same way if we configure it in advance on the block device.
My question is rather: For a local storage provisioning operator, what is the benefit of LV level encryption if we can just encrypt the entire disk and have all LVs be encrypted ootb?
We can still pass the encrypted device via block storage mode to the pods or create fs on top.
My point being: For a non-distributed local storage provider, why support LV-level encryption/decryption?

in a multi tenant cluster PV level encryption does not meet all of the appropriate security check boxes

LVM PV the life cycle is the node not the instance
when a PVC is removed the partition contents should be unrecoverable to achieve that one possibility is secure erase on removal which can be time consuming and depending on underlying storage technology both ineffective or damaging to the hardware. When a LV is specifically encrypted destruction of the key is considered effective secure erasure. Secure erase is also something you have to audit and manage to follow up and resolve issues in the process. With LV level encryption the process is resistant to such failures.

Ack to these suggestions and agreed. Do we know of people using multi tenant PV encryption with LVMS? Would be cool to get feedback from people interested in this use case.

To my knowledge the only two LVM based local provisioners are topolvm and openEBS "ndm". In the enterprise world encryption and storage management for local disk is almost always vmware. I see this feature as a potential unblocker for k8s on bare metal and kubevirt as local encryption is areal need for enterprise deployments. Other use cases like edge and IOT It could help but the the ultimate protection of the keys is a larger challenge

So I can contribute to this discussion of Edge/IoT and I can guarantee that most deployers will only be caring about disk level encryption as there is no use case for multi tenancy there.
Encryption / Storage Management for local disk is usually done low level on these machines and they do not get managed via vmware software/hardware but via hardware raid that is encrypted via TPM.
This (at least for our known OpenShift Users) is not a blocker for k8s on bare metal. Kubevirt clusters should imo not run on local storage because they will loose the scalability factor of the underlying cluster.
That said, if we can find an easy (enough) way to implement this in the existing codebase, im all for supporting more use cases.

Certainly needs some investigation and design. In the kube-virt use case for latency sensitive workloads, and honestly the workloads I would ever use localpv for regardless of being in container or VM the data on the disk is replicated at the application level not the hypervisor level so we don't loose scalability at all. Now there is another type of workload where I might use openEBS Maya or a number of other options for clustered block storage or storage networking which would all be non goals for this project


Dont work - Parse TODOs (all files)

vers:
TODO Parser - 1.8.7
VSCode - 1.11.0-insider
Steps:

Press F1 > Parse TODOs (all files)
Click to "TODO Counter"
No reaction
Open console:

shell.ts:468 Previous work is not finished.: AssertionError: Previous work is not finished.
    at Function.OutputWriter.begin (C:\Users\xxx\.vscode-insiders\extensions\minhthai.vscode-todo-parser-1.8.7\out\src\classes\OutputWriter.js:22:9)
    at C:\Users\xxx\.vscode-insiders\extensions\minhthai.vscode-todo-parser-1.8.7\out\src\types\CommandType.js:15:36
    at process._tickCallback (internal/process/next_tick.js:103:7)

I think this happens when there are binary files in the workspace. When FileReader.readFileLoop() tries to open a binary file, it returns this error Detail: File seems to be binary and cannot be opened as text to the read callback and spoils the whole batch, even if there are valid files in it. This can then result in no todos being parsed and nothing being written to the OutputWriter, thus leaving it in an Idle state, instead of Busy which is expected.


Require explicit agreement to terms of service on signup

Note that this is a breaking change.

Closing this in favor of https://github.com/secrethub/secrethub-go/pull/231


nixos/modules/security/acme: unnecessary lego run when lego renew fails

Describe the bug
A timeout when running lego renew automatically triggers a lego run.
First, it is not necessary in the case there already exists a valid certificate but worse, it is even detrimental because it leads to generate a brand new certificate which brings the number of generations closer to the Duplicate Certificate limit of 5 per week.
Here is the timeout I am talking about: net/http: TLS handshake timeout
Apr 27 10:24:23 fas systemd[1]: Starting Renew ACME Certificate for example.com...
Apr 27 10:24:38 fas uepfyeqskx3sibpug7wryot64ie4vgys-acme-start[1569]: 2020/04/27 10:24:38 Could not create client: get directory at 'https://acme-v02.api.letsencrypt.org/directory': Get "https://acme-v02.api.letsencrypt.org/directory": net/http: TLS handshake timeout
Apr 27 10:24:39 fas uepfyeqskx3sibpug7wryot64ie4vgys-acme-start[1569]: 2020/04/27 10:24:39 [INFO] [example.com] acme: Obtaining bundled SAN certificate
Apr 27 10:24:39 fas uepfyeqskx3sibpug7wryot64ie4vgys-acme-start[1569]: 2020/04/27 10:24:39 [INFO] [example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/1111111111
Apr 27 10:24:39 fas uepfyeqskx3sibpug7wryot64ie4vgys-acme-start[1569]: 2020/04/27 10:24:39 [INFO] [example.com] acme: authorization already valid; skipping challenge
Apr 27 10:24:39 fas uepfyeqskx3sibpug7wryot64ie4vgys-acme-start[1569]: 2020/04/27 10:24:39 [INFO] [example.com] acme: Validations succeeded; requesting certificates
Apr 27 10:24:42 fas uepfyeqskx3sibpug7wryot64ie4vgys-acme-start[1569]: 2020/04/27 10:24:42 [INFO] [example.com] Server responded with a certificate.
Apr 27 10:24:42 fas systemd[1]: Started Renew ACME Certificate for example.com.
Apr 27 18:08:45 fas systemd[1]: acme-example.com.service: Succeeded.
Apr 27 18:08:45 fas systemd[1]: Stopped Renew ACME Certificate for example.com.
Apr 27 18:08:45 fas systemd[1]: acme-example.com.service: Consumed 0 CPU time, received 12.8K IP traffic, sent 6.0K IP traffic.

To Reproduce
N/A
Expected behavior
A timeout when lego renew runs should not lead to lego run.
Notify maintainers
@abbradar @fpletz @globin @m1cr0man
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.28, NixOS, 20.09pre-git (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.3`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixos modules affected by the problem
module:
  - acme

Can probably fix this by checking for the existence of the cert file. Will add it to the big list of changes needed for the rewrite.

I have found another scenario to reproduce this problem.
On my server, I am setting the networking configuration statically which leads to the network-online.target being reached quickly, even before the network is actually operational (read here to understand why).
So in my case, at every boot, I have a ACME service that starts before the network is operational. That translates into:
[root@myhost:~]# journalctl -u acme-example.com.service -b
-- Logs begin at Fri 2020-01-31 09:26:25 UTC, end at Wed 2020-06-17 14:45:49 UTC. --
Jun 17 14:40:28 myhost systemd[1]: Starting Renew ACME Certificate for example.com...

Jun 17 14:40:52 myhost systemd[1]: acme-example.com.service: Succeeded.
Jun 17 14:40:52 myhost systemd[1]: Finished Renew ACME Certificate for example.com.
Jun 17 14:40:52 myhost systemd[1]: acme-example.com.service: Consumed 334ms CPU time, received 13.9K IP traffic, sent 6.0K IP traffic.

Needless to say, I reach the Duplicate Certificate limit of 5 per week very quickly.

Can probably fix this by checking for the existence of the cert file.

That would sure help.

Will add it to the big list of changes needed for the rewrite.

Where can I consult this list?
Is anyone working on the rewrite you mentioned?
Why is a rewrite needed anyway?

Related issues in Lego:

https://github.com/go-acme/lego/issues/216
https://github.com/go-acme/lego/issues/290
https://github.com/go-acme/lego/issues/693

Also related is Question: why is lego doing network communication when certificate is not due for renewal?


步骤3. 训练PostNet模型时爆显存了，可以修改哪个参数呀？

执行命令
python tasks/run.py --config=egs/datasets/videos/Macron/lm3d_postnet_sync.yaml --exp_name=Macron/lm3d_postnet_sync
提示信息
RuntimeError: DataLoader worker (pid 8187) is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.
按照以往的经验是要把batch_size调小点，不知道是哪个配置文件的哪个参数，知道的兄弟麻烦解答一下哈，谢谢啦

详细的报错信息
RROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).                                                                  | 0/10 [00:00<?, ?step/s]
Traceback (most recent call last):
File "/opt/anaconda3/envs/geneface/lib/python3.9/multiprocessing/queues.py", line 244, in _feed
obj = _ForkingPickler.dumps(obj)
File "/opt/anaconda3/envs/geneface/lib/python3.9/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
File "/opt/anaconda3/envs/geneface/lib/python3.9/site-packages/torch/multiprocessing/reductions.py", line 355, in reduce_storage
metadata = storage.share_filename_cpu()
RuntimeError: unable to write to file </torch_8188_438838262_109>: No space left on device (28)
Valid:  10%|███████████████▎                                                                                | 1/10 [00:01<00:13,  1.49s/step]
| Validation results@6000: {'total_loss': 0.1895, 'mse': 0.0317, 'sync': 0.1577}                                                                                | 1/10 [00:01<00:12,  1.42s/step]
08/31 09:09:06 PM Epoch 00104@6000: saving model to checkpoints/Macron/lm3d_postnet_sync/model_ckpt_steps_6000.ckpt
6000step [00:13,  2.67step/s, adv=0.219, disc_fake_loss=0.34, disc_neg_conf=0.561, disc_pos_conf=0.577, disc_true_loss=0.189, lr_0=0.000473, lr_1=0.0001, mse=0.0242, sync=0.0759]
Traceback (most recent call last):
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/tasks/run.py", line 19, in
run_task()
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/tasks/run.py", line 14, in run_task
task_cls.start()
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/utils/commons/base_task.py", line 251, in start
trainer.fit(cls)
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/utils/commons/trainer.py", line 122, in fit
self.run_single_process(self.task)
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/utils/commons/trainer.py", line 186, in run_single_process
self.train()
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/utils/commons/trainer.py", line 285, in train
self.run_evaluation()
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/utils/commons/trainer.py", line 201, in run_evaluation
self.save_checkpoint(epoch=self.current_epoch, logs=eval_results)
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/utils/commons/trainer.py", line 438, in save_checkpoint
self._atomic_save(ckpt_path)
File "/home/tailangjun/Documents/AIGenHuman/2DHuman/GeneFace/utils/commons/trainer.py", line 457, in _atomic_save
torch.save(checkpoint, tmp_path, _use_new_zipfile_serialization=False)
File "/opt/anaconda3/envs/geneface/lib/python3.9/site-packages/torch/serialization.py", line 427, in save
_legacy_save(obj, opened_file, pickle_module, pickle_protocol)
File "/opt/anaconda3/envs/geneface/lib/python3.9/site-packages/torch/serialization.py", line 571, in _legacy_save
storage._write_file(f, _should_read_directly(f), True, torch._utils._element_size(dtype))
File "/opt/anaconda3/envs/geneface/lib/python3.9/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 8187) is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.

网上的说法是共享内存不够，可查看闪退前磁盘使用情况
Every 1.0s: df -h                                                                                ubuntu: Thu Aug 31 22:01:37 2023
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           6.3G  4.9M  6.3G   1% /run
/dev/nvme0n1p3  3.4T  2.0T  1.3T  60% /
tmpfs            32G   30G  1.5G  96% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/nvme0n1p4  477M  7.0M  470M   2% /boot/efi
tmpfs           6.3G   96K  6.3G   1% /run/user/1001
这个 /dev/shm的消耗一点一点涨起来的，锤实了，就是/dev/shm导致的
解决方法可从两个方面入手

修改当前Docker的shm-size
docker run --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=0 --shm-size 64G  -it ******* env LANG=C.UTF-8 /bin/bash
修改DataLoader中参数num_workers的值
dataloader = torch.utils.data.DataLoader(
dataset,
batch_size=16,
shuffle=True,
num_workers=0,
pin_memory=True,
collate_fn=dataset.collate_fn
)

请问这个/dev/shm一直持续涨到程序自动退出，是正常的吗？我这边云服务器46G的空间都用完了


Transition as generator function.

I think the transition function should be a generator function and run should loop over it explicitly. I'm not sure models should require a solver or at the very least push it back over the transition.

Object format seems more reasonable.


Harish

contributing to an open source project was great

Glad it was helpful in your journey to open source.Thank you for contributing :)

You can also work enhancing this website's home page.Check out the new issue for more detail.


Cleanup various parts around TimestampParser and org.joda.time.DateTimeZone

Cleanups, comments, renames, and annotations around TimestampParser and org.joda.time.DateTimeZone. Can you have a look?

Merging!
I'll be publishing 0.9.0-ALPHA (or ALPHA1?) with this.