Return 404 when transaction not found

The Web API now returns 404 instead of a 500 when a transaction is not found.

[Current coverage][cc-pull] is 88.16%

Merging [#369][cc-pull] into [master][cc-base-branch] will increase coverage by 0.01%

@@             master       #369   diff @@
==========================================
  Files            18         18
  Lines          1240       1242     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1093       1095     +2
  Misses          147        147
  Partials          0          0

[][cc-pull]

Powered by Codecov. Last updated by [2af09c8...0c35e9a][cc-compare]
[cc-base-branch]: https://codecov.io/gh/bigchaindb/bigchaindb/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/bigchaindb/bigchaindb/compare/2af09c8eee74fd168ecc445bf8b3e1bbb3235f5f...0c35e9abff7692b1e1170c150859d5a310a82eba
[cc-pull]: https://codecov.io/gh/bigchaindb/bigchaindb/pull/369?src=pr

:+1:

:+1:


Setting Text/Background color of the current sticky header..

is there any way to modify the current sticky header? like highlighting ?

me too same question

me too same question


RFC: Move this to an org. account

Since this is open source, I imagine that moving this to an org account could a. show that everyone owns this and not only skillz b. help with admin issues because I may need to add a webhook or two :>

Sounds good to me. Give me the org name and ill transfer it over.

Done!


Fix Metamask injection on page load

Will need to look at this when we deploy to the server to reproduce the issue. Think it could be due to HTTP vs HTTPS?


:boom: Remove "variables" entry from dict getbufnr() returns

getbufnr() function have dictionaries of buffer local variables in its return value.  Therefore, when there's a funcref in buffer local variables, denops will fail to send the return value back to the deno world.
This behavior is inconvenient, this PR makes denops-std's getbufnr() omit the "variables" entries from the return value.
Reproduce Steps

Prepare this /tmp/repro/denops/repro/main.ts

import type { Entrypoint } from "jsr<EMAIL_ADDRESS>import { getbufinfo } from "jsr<EMAIL_ADDRESS>
export const main: Entrypoint = (denops) => {
  denops.dispatcher = {
    async invoke() {
      await denops.cmd("let b:repro = {-> 0}");
      await getbufinfo(denops);
    },
  };
};

Prepare this vimrc.vim

set nocompatible

set runtimepath^=/tmp/repro
set runtimepath^=~/.cache/vim/pack/minpac/opt/denops.vim  " Please change this path

command!  Check if 'denops.vim' exist in 'runtimepath' properly
[denops]     at Vim.call (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/host/vim.ts:55:13)
[denops]     at eventLoopTick (ext:core/01_core.js:175:7)
[denops]     at async getbufinfo (https://jsr.io/@denops/std/7.4.0/function/buffer.ts:453:20)
[denops]     at async Object.invoke (file:///tmp/repro/denops/repro/main.ts:12:7)
[denops]     at async Plugin.call (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/service.ts:276:14)
[denops]     at async Service.#dispatch (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/service.ts:117:12)
[denops]     at async Service.dispatch (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/service.ts:123:14)
[denops]     at async Vim.#dispatch (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/host/vim.ts:120:14)
[denops]     at Plugin.call (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/service.ts:281:13)
[denops]     at eventLoopTick (ext:core/01_core.js:175:7)
[denops]     at async Service.#dispatch (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/service.ts:117:12)
[denops]     at async Service.dispatch (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/service.ts:123:14)
[denops]     at async Vim.#dispatch (file:///Users/mityu/.cache/vim/pack/minpac/opt/denops.vim/denops/@denops-private/host/vim.ts:120:14)

Environment

macOS Sequoia 15.2 (Apple Silicon)
Deno

deno 2.1.4 (stable, release, aarch64-apple-darwin)
v8 <IP_ADDRESS>-rusty
typescript 5.6.2

Vim: 9.1.954

Summary by CodeRabbit

New Features

Updated the getbufinfo function to filter out buffer-local variables from the output.

Bug Fixes

Added tests to ensure getbufinfo correctly excludes the 'variables' entry.

Documentation

Updated comments to clarify the behavior differences between the modified getbufinfo and the built-in function.

Hmm..., test fails due to the changes to the doc...

@mityu Could you move the implementation into helper/getbufinfo.ts so that we can avoid jsdoc mis-matched issue?

I'm sleepy today.  I'll do remaining work tomorrow.


Create Utility to get Bytes of a Layer.

Replaces #93 - I was reaching for the wrong abstraction.
Why
I want to be able to work with arbitrary layers. The custom layer types of devcontainers specifically.
Provide
It seems like providing the bytes of a given layer is the least opinionated way to handle this.
Additional
This uses oci_spec::image::MediaType as the callback argument for filtering. Worth considering exposing that value for easier usage.

Merged though #96. Thanks!


Request to add is_foil to all_ids.json

Would it be possible to add the is_foil field to the all_ids.json file so that we can properly map scryfall_id, in conjunction with the is_foil, to a unique cs_id? Right now it maps 1 to many.

@fast-facts Would this file help?
https://cdn.multiversebridge.com/mtgjson_build.json

@fast-facts LOL, I knew you'd reply before I edited.
If you don't mind, what are you using this API for?
LMK if I can do anything else for ya.

Gotcha, thanks @fast-facts The only other nuance would be etched foils. Scryfall uses the same ID for those as foil and non-foil.
I'm working to have a much more detailed v2 of this platform in the coming months. Cheers!

Ya, that's how Cardsphere identifies them.
This is planned for the next version of this API.
I will open a new issue for this shortly, might be able to get a work around up and running with this version.


Automation Action

How can I use these lights in HA automation action?
I want to turn off all the lights when I leave home
I tried using Device option but cozylife discover only insert a entity rather than a device.
I tried using Service option but I only have these 2 services available:

cozylife: Set all effect
cozylife: Set effect

is there a way to turn a light off by automation?

Just something like:
  - service: light.turn_on
    target:
      entity_id: light.bedroom
```

    cozylife: Set all effect
    cozylife: Set effect
are used to set the effect while the light is still off.


MacOS Keyboard Shortcuts Do Not Work

Loving Zavala so far, it's fantastic to be able to jot down outlines across my devices. Thank you!
One issue on Mac I've found is that the Move Left/Right/Up/Down shortcuts simply do not work. Unless I'm missing something, Shift + CMD + Arrow Key fails to return the expcted behaviour—nothing happens.
Any ideas what I'm doing wrong here?

Is it possible that you have those keys remapped? Are you using any software that may be intercepting those keystrokes?

@charlieharrysmith The correct keyboard shortcuts don't use shift. They use control with command. CTRL + CMD + Arrow Key.


Error using "automatic_control.py", module 'tensorflow.compat.v1' has no attribute 'contrib'.

CARLA version:0.9.13
Platform/OS:Ubuntu22.04
Problem you have experienced:
When I run "automatic_control.py" at line 61 (from agents.navigation.behavior_agent import BehaviorAgent) I get an error:
AttributeError: module 'tensorflow.compat.v1' has no attribute 'contrib'
Also, when I first finished installing Carla there was no error reported, however after I configured the interpreter with pycharm and chose to inherit the full site package I had this problem, thanks guys!
What you expected to happen:
error solution
Steps to reproduce:
I've tried uninstalling tensorflow and reinstalling it, but it seems that I can't install the 1.X version of the tensorflow library because of the python version issue
Also I'm not quite sure what happens if you choose to inherit the global site package when configuring the interpreter with pycharm, but I guess that's the source of the problem

That's right. If you need TensorFlow 1.x version to use Carla's agent module and you have Python 3.8 or later installed, installing TensorFlow 1.x version will be difficult. Instead of using TensorFlow 2 version, use Python 3.7 and TensorFlow 1.15.0 versions

Hello, I am also facing this issue. TensorFlow 1.x requires Python 3.7, but when I downgrade Python, CARLA becomes incompatible. Have you managed to resolve this?


[javascript mode] RegExp is not highlighted in export statements

CodeMirror at d756ea1 does not syntax highlight RegExps in export statements:
x = /regex/; // Correct
export /regex/;
export default /regex/;

Note: It appears GitHub has the same issue!

This is probably a pretty rare case to handle, but since I came across it I thought I'd mention it.

@JosephPecoraro Your second example is invalid syntax, although I understand that you might want the regex to be highlighted regardless. :smiley:
export /regex/;               // This is a syntax error. What is exported?
export const regex = /regex/; // Valid
export default /regex/;       // Valid

Good point.
Thanks for the quick fixes marijnh!


Convert Label, LabelFilter, HashLink component to styled-components

Task Description
Convert Label, LabelFilter, HashLink component from scss to styled-components.
To Note
Styled-component migration guidelines:

Styled-components should be a separate file called Styles.ts
When importing styled-components to component file, should use `import * as S from ‘./Styles’.
Use semantic naming for styled-components
Try to maintain alphabetical order for css properties
Avoid creating styled-components for HTML elements that do not require styling
Can refer to src/components/Avatar/Styles.ts for examples
Please ensure that the existing UI is not affected, then only seek for reviews

Please only work on the issues that you are assigned to, PRs will be ignored if you are not assigned to the task. If the assigned issues have not been worked on for more than 3 days, we will remove the assignment.

Hi @jamessspanggg
Can I work on this?


XLS: Zeros are converted to empty strings

Cross filed from https://github.com/onyxfish/csvkit/issues/225#issuecomment-174209931

Can no longer replicate with contrived test or original example file.


translate trails-docs to Chinese

I have translated README and Introduction to chinese, and i will translate the rest as soon.

@jaumard @maissani

Thanks for this @cuitianze we'll keep this PR open until doc is finished. Because it may change a lot (structure, content...) since a first version was finish.


QUIC: Set packet_info's bytes to zero if it is the ack-only packet

    OnPacketSent(packet_number, is_ack_only, sent_bytes):
      time_of_last_sent_packet = now
      largest_sent_packet = packet_number
      sent_packets[packet_number].packet_number = packet_number
      sent_packets[packet_number].time = now
      sent_packets[packet_number].ack_only = is_ack_only
      if !is_ack_only:
        OnPacketSentCC(sent_bytes)
        sent_packets[packet_number].bytes = sent_bytes
        SetLossDetectionAlarm()

ATS may receive a ack for ack-only packet (or includes this packet number), and decrease the bytes_in_flights to negative value.

The definition of sent_bytes is not clear and sounds inconsistent because size of ACK will be included if a packet was not Ack-only, but you're probably right.

sent_bytes: The number of bytes sent in the packet, not including
UDP or IP overhead, but including QUIC framing overhead.

4.7.4.  On Packet Sent
Whenever a packet is sent, and it contains non-ACK frames, the packet
increases bytes_in_flight.
  OnPacketSentCC(bytes_sent):
   bytes_in_flight += bytes_sent


An fatal error with "broadcast_plus, broadcast_mul,..."

I write some code which use the function mx.sym.broadcast_(op). But everytime I run the code, it will cause a crash and I lose control of my compute for about one minute. With some debugging, finally I locate the error from the function mx.sym.broadcast_(op) . I simplify the code to a very simple version, it also crash. The error message is
[20:34:19] /home/pig/mxnet/dmlc-core/include/dmlc/logging.h:235: [20:34:19] /home/pig/mxnet/mshadow/mshadow/./stream_gpu-inl.h:45: Check failed: e == cudaSuccess CUDA: the launch timed out and was terminated
[20:34:19] /home/pig/mxnet/dmlc-core/include/dmlc/logging.h:235: [20:34:19] src/engine/./threaded_engine.h:306: [20:34:19] /home/pig/mxnet/mshadow/mshadow/./stream_gpu-inl.h:45: Check failed: e == cudaSuccess CUDA: the launch timed out and was terminated
An fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.
terminate called after throwing an instance of 'dmlc::Error'
  what():  [20:34:19] src/engine/./threaded_engine.h:306: [20:34:19] /home/pig/mxnet/mshadow/mshadow/./stream_gpu-inl.h:45: Check failed: e == cudaSuccess CUDA: the launch timed out and was terminated
An fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPE to NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.

The simplified code is
import mxnet as mx

def make_symbol(input_shape):
    input = mx.sym.Variable('input')
    input_sum = mx.sym.sum(data=input, axis=1)
    output = mx.sym.broadcast_mul(input, mx.sym.Reshape(data=input_sum, shape=(-1, 1, input_shape[1])))
    return output

input = mx.random.uniform(0., 0.1, shape=(10, 50, 100))
input_shape = dict([('input', input.shape)])
sym = make_symbol([int(x) for x in input[0].shape])
executor = sym.simple_bind(ctx=mx.gpu(), **input_shape)
executor.forward()
print executor.outputs[0].shape

Am I have a wrong usage of broadcast_ or there maybe some bugs in broadcast_?

@MrPig Are you using the latest version? The code runs correctly on my computer.

@MrPig Could you help check if such problem exists in the latest version (I've just updated)?

@sxjscience Amazing,  the error does not exist in the latest version.  thank you for answering.
p.s: what more shock me is that I just feel depressed there is no operator like nn.MM() in torch this afternoon. when I download the latest version I find it has been supported in latest version. so lucky..


Scala Kinesis Enrich: log the name of the stream to which records are written

So that you can tell from looking at the logs whether any events are being written to the bad stream.

Sounds good


RTX 2060 In proxmox 7.3 not work

root@sm1:~# journalctl -u  nvidia-vgpud
-- Journal begins at Sat 2022-07-02 00:18:51 CST, ends at Mon 2023-02-13 19:45:06 CST. --
Feb 13 18:44:27 sm1 systemd[1]: Starting NVIDIA vGPU Daemon...
Feb 13 18:44:27 sm1 nvidia-vgpud[2009]: Verbose syslog connection opened
Feb 13 18:44:27 sm1 nvidia-vgpud[2009]: Started (2009)
Feb 13 18:44:27 sm1 systemd[1]: Started NVIDIA vGPU Daemon.
Feb 13 18:44:27 sm1 nvidia-vgpud[2009]: Global settings:
Feb 13 18:44:27 sm1 nvidia-vgpud[2009]: Size: 16
                                        Version 1
Feb 13 18:44:27 sm1 nvidia-vgpud[2009]: Homogeneous vGPUs: 1
Feb 13 18:44:27 sm1 nvidia-vgpud[2009]: vGPU types: 653
Feb 13 18:44:27 sm1 nvidia-vgpud[2009]:
Feb 13 18:44:28 sm1 nvidia-vgpud[2009]: pciId of gpu [0]: 0:1:0:0
Feb 13 18:44:28 sm1 nvidia-vgpud[2009]: GPU not supported by vGPU at PCI Id: 0:1:0:0 DevID: 0x10de / 0x1e89 / 0x10de / >
Feb 13 18:44:28 sm1 nvidia-vgpud[2009]: error: failed to send vGPU configuration info to RM: 6
Feb 13 18:44:28 sm1 nvidia-vgpud[2009]: PID file unlocked.
Feb 13 18:44:28 sm1 nvidia-vgpud[2009]: PID file closed.
Feb 13 18:44:28 sm1 nvidia-vgpud[2009]: Shutdown (2009)
Feb 13 18:44:28 sm1 systemd[1]: nvidia-vgpud.service: Main process exited, code=exited, status=6/NOTCONFIGURED
Feb 13 18:44:28 sm1 systemd[1]: nvidia-vgpud.service: Failed with result 'exit-code'.
-- Boot 177f81910c4542cb86de3ae6b863f3b2 --
Feb 13 18:56:11 sm1 systemd[1]: Starting NVIDIA vGPU Daemon...
Feb 13 18:56:11 sm1 nvidia-vgpud[2003]: Verbose syslog connection opened
Feb 13 18:56:11 sm1 nvidia-vgpud[2003]: Started (2003)
Feb 13 18:56:11 sm1 systemd[1]: Started NVIDIA vGPU Daemon.
Feb 13 18:56:11 sm1 nvidia-vgpud[2003]: Global settings:
Feb 13 18:56:11 sm1 nvidia-vgpud[2003]: Size: 16
                                        Version 1
Feb 13 18:56:11 sm1 nvidia-vgpud[2003]: Homogeneous vGPUs: 1

Is the LD_PRELOAD environment variable set for the nvidia-vgpud.service unit as per the Installation section in the README file?

works fine for me 0:)

Closed assuming the original reporter figured out what is wrong and has not followed up here saying they did. If the issue is still present, then do not hesitate to report here that you are still having trouble with your RTX 2060.


[Feature Request] Section isExpanded support

@bcardarella has more thoughts on how to support this.

I thinking that the isExpanded should be triggered via a client-side event. So perhaps with the LVN commands that we have coming soon.

We just need a @ChangeTracked property for this like we have for all other binding values.

  ...

@carson-katri my concern with this being a LV state update is that it won't be as performant. Any latency will break the native feel. Also, a section expansion doesn't seem like something we need to track server side

It'd work the same as other change tracked values, where it applies client-side immediately, then if the server does update the value to something else after it will apply that. So if you just do:

  ...

It will set the default to false, but the user can still open/close it so long as the server doesn't change the isExpanded state to a new value.
https://github.com/user-attachments/assets/70106a7e-070c-4519-9979-9c5b749a2378

And here you can see updating the expansion state from an external button.
https://github.com/user-attachments/assets/5804fde0-3e20-43d2-b395-50d21752cfb0


期待ARTrackV2

期待ARTrackV2的跟踪效果，请问预计什么时候能开源ARTrackV2的代码

We need to consult with the patent department on this point, and I hope that I can open-source my code as much as possible within my ability. If open source is not possible, I think you can easily reproduce our code because our structure is so simple that we only need a backbone and a mask decoder extracted from the MAE code.
Based on this codebase, you can make this in one day.
If u have any problem u can email me, or add me on WeChat if u want to, i will try my best to provide the file u need. #51

We release a temporal code for inference if you need that, the training code will be released when we finish the paper of ARTrackV3.


M3-5130 added link to documentation on rescue modal

Description
Added a link to Linode's 'Rescue and Rebuild' documentation on the Rescue Dialog.
I modeled this off of the Resize Dialog in LinodeResize.tsx.
How to test
Open the rescue modal for any Linode and verify there is a 'Learn more.' link that brings you to the documentation linked above.

Made changes to add it to Bare Metal. If we prefer shared.tsx over RescueDescription.tsx please let me know!


How to evaluate the performance of the model according to the segmentation distance on Kitti?

How to evaluate the performance of the model according to the segmentation distance on Kitti? Such as 0-30m，30-50，50-70.4.
Where should I change the evaluation code to control the evaluation metric ?

https://github.com/open-mmlab/OpenPCDet/blob/e4d2b75bc0e48399177a1823ad6f4ff8179cc835/tools/eval_utils/eval_utils.py#L22
https://github.com/open-mmlab/OpenPCDet/blob/e4d2b75bc0e48399177a1823ad6f4ff8179cc835/pcdet/datasets/kitti/kitti_dataset.py#L322
This evaluation would indeed be a great extension to this repository.


[Event Request] Page 130 - Posted Sales Shipment & Page 142 - Posted Sales Shipments - OnBeforePrintRecord

Hi AL-Team,
can you please add the following publisher to action Print?
We want to add further information from the Rec to the SalesShptHeader variable.
            action("&Print")
            {
                ApplicationArea = Basic, Suite;
                Caption = '&Print';
                Ellipsis = true;
                Image = Print;
                Promoted = true;
                PromotedCategory = Category4;
                ToolTip = 'Print the shipping notice.';

                trigger OnAction()
                begin
                    // NEW >>>>
                    OnBeforePrintRecord(Rec, SalesShptHeader);
                    // NEW <<<<
                    CurrPage.SetSelectionFilter(SalesShptHeader);
                    SalesShptHeader.PrintRecords(true);
                end;
            }

    [IntegrationEvent(false, false)]
    local procedure OnBeforePrintRecord(var Rec: Record "Sales Shipment Header"; var SalesShptHeader: Record "Sales Shipment Header")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


make_reader fails for example

I created a dataset using the HelloWorld example:
generate_petastorm_dataset('file:///tmp/petastorm_dataset')

make_reader('file:///tmp/petastorm_dataset')

The last call fails with
in Reader.__init__(self, pyarrow_filesystem, dataset_path, schema_fields, seed, shuffle_rows, shuffle_row_groups, shuffle_row_drop_partitions, predicate, rowgroup_selector, reader_pool, num_epochs, cur_shard, shard_count, cache, worker_class, transform_spec, is_batched_reader, filters, shard_seed)
    449     fields = schema_fields if isinstance(schema_fields, collections.abc.Iterable) else None
    451 storage_schema = stored_schema.create_schema_view(fields) if fields else stored_schema
--> 452 if len(storage_schema.fields) == 0:
    453     raise RuntimeError(f"No fields matching the criteria '{fields}' were found in the dataset {dataset_path}.")
    454 if transform_spec:

AttributeError: 'int' object has no attribute 'fields'

Directly accessing the dataset using Spark is working:
spark = SparkSession.builder.config(...
df = spark.read.parquet('/tmp/petastorm_dataset')
df.show(n=3)
# shows first three rows of df

I forgot to add the HelloWorldSchema to materialize_dataset() :facepalm:

I forgot to add HelloWorldSchema to materialize_dataset() :facepalm:


fix an issue vm app w/ disk format error after reboot

Signed-off-by: Naiming Shen<EMAIL_ADDRESS>
opened pivotal story #172015368
seen the VM App gets error: Disk format mismatch, every time reboot the device, never recover
the issue is the /persist/img has the app img after reboot, and due to some decision to not preserve, and the target already exist, we still copy from the src to dest, but in this case, the src and dest are the same. during the cp(), the dest is os.Create() first and zero'ed out the file. A valid img file ends up with a zero content file. thus the error.

I am wondering if this is the right fix? Should be not maker sure we never invoke cp with the same src and dest?


Illegal projection on empty columns

Describe the bug
When the using an empty table (no column), a query like select * from empty_table fails.
To Reproduce
  let mut ctx = ExecutionContext::new();
  let empty_table = Arc::new(EmptyTable::new(Arc::new(Schema::empty())));
  ctx.register_table("test_tbl", empty_table).unwrap();
  let sql = "SELECT * FROM test_tbl";
  let result = plan_and_collect(&mut ctx, sql)
      .await
      .expect("Query empty table");

Expected behavior
Returns an empty table

Locally, I have a test that has nothing to do with this change that is failing:

physical_plan::repartition::tests::repartition_with_dropping_output_stream

---- physical_plan::repartition::tests::repartition_with_dropping_output_stream stdout ----
Running case RoundRobinBatch(2)
BarrierExec::wait waiting on barrier
Partition 0 waiting on barrier
Partition 1 waiting on barrier
Partition 1 sending batch
Partition 1 sending batch
Partition 0 sending batch
Partition 0 sending batch
BarrierExec::wait done waiting
Running case Hash([Column { name: "my_awesome_field", index: 0 }], 2)
BarrierExec::wait waiting on barrier
Partition 0 waiting on barrier
Partition 1 waiting on barrier
Partition 1 sending batch
Partition 1 sending batch
Partition 0 sending batch
Partition 0 sending batch
BarrierExec::wait done waiting
thread 'physical_plan::repartition::tests::repartition_with_dropping_output_stream' panicked at 'assertion failed: `(left == right)`
  left: `["+------------------+", "| my_awesome_field |", "+------------------+", "| frob             |", "+------------------+"]`,
 right: `["+------------------+", "| my_awesome_field |", "+------------------+", "| foo              |", "| frob             |", "| gar              |", "| gaz              |", "| goo              |", "| grob             |", "+------------------+"]`:

expected:

[
    "+------------------+",
    "| my_awesome_field |",
    "+------------------+",
    "| frob             |",
    "+------------------+",
]
actual:

[
    "+------------------+",
    "| my_awesome_field |",
    "+------------------+",
    "| foo              |",
    "| frob             |",
    "| gar              |",
    "| gaz              |",
    "| goo              |",
    "| grob             |",
    "+------------------+",
]

', datafusion/src/physical_plan/repartition.rs:799:13

Any idea why that might be @alamb ?

@rdettai  I wonder if something is different about the hash partitioning that is happening locally -- I wonder does the problem go away if you do cargo update?

fwiw, I am also getting this on master locally by running the tests.

fwiw, I am also getting this on master locally by running the tests.

I have filed https://github.com/apache/arrow-datafusion/issues/614 -- and I will try to look into it tomorrow


fixed README

Hi @asmodehn!
Thank you for your PR! Sorry if I haven't' replied earlier, but I haven't received any notification


Sample tests failing with Hugo 0.55 (additional p tags and invalid HTML)

Reproduction steps:

Checkout tag 1.0.2
Run:

npm install
cd demo
npm install
npm run jest

Hugo version:
Hugo Static Site Generator v0.55.6-A5D4C82D windows/amd64 BuildDate: 2019-05-18T07:57:00Z

HTML output (invalid tag sequence):

<test name="should render successful with alert">

Alert:

An alert type callout

</test>

Test output:
  ● callout › should render successful with alert

    expect(received).toMatchSnapshot()

    Snapshot name: `callout should render successful with alert 1`

    - Snapshot  - 0
    + Received  + 3

    @@ -1,5 +1,8 @@
    +

    +
    +

Alert:

It seems wrapping the tests into a div fixes the issue:

<test name="should render successful with alert">
  {{% callout type="alert" %}}
  An alert type callout
  {{% /callout %}}
</test>

Using div instead of test tags for defining tests seem to work too:

  {{% callout type="alert" %}}
  An alert type callout
  {{% /callout %}}

Different Hugo versions behave differently in the output. As a start we can mention that the demo is for a specific version.
On the note of using a div instead of test, it is possible to do but I picked a custom tag to make it clear that it is only for testing and to ensure that it doesn't interfere with the real code. We can enforce some other attributes if we want to use a div example data-type="test" but am not sure if it is worth the change.

Hi @manixate, I did a few tests, and <test /> works with versions of Hugo >= v0.60.0.
For that reason, I would:

Stick with <test /> being the only way of defining tests
Document the fact the test cases must be wrapped into a
 if Hugo version is < v0.60.0 (which hopefully aren't used anymore 😀).

What do you think?
I'm going to open a PR for that. The good news is wrapping the <test /> elements into a
 will fix the demo for Hugo v0.55 to v0.59 without breaking newer versions.

Looks good! Thanks for the PR.


[bazzite-nvidia] Constant freezing with kernel 6.7.11-201.fsync.fc39.x86_64 with heavy games

Describe the bug
This entire week i was playing games normally, without any problems. After todays update, any CPU heavy game is causing audio stutters and with Horizon: Zero Dawn my entire computer is freezing and on the system monitor i can see my CPU usage jumping to 100% and freezing the entire computer, often needing a reboot. Checking what happened today, i saw an update of the kernel and other components.
What did you expect to happen?
Still play games normally, without any constant freezing and audio stutters.
Output of rpm-ostree status
State: idle
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:stable
                   Digest: sha256:f0354289abd57f60413e9b4a461298083d73118106ce2289defe081c888ec1c6
                  Version: 39.20240116.0 (2024-04-05T17:01:07Z)
                Initramfs: '"-I /etc/crypttab /usr/lib/modprobe.d/nvidia.conf" '

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:stable
                   Digest: sha256:330ecb5fbda007d21a5ed8d0b3c66d0c761f3eb7e220e0b1625cb068151003a4
                  Version: 39.20240116.0 (2024-04-05T03:56:53Z)
                Initramfs: '"-I /etc/crypttab /usr/lib/modprobe.d/nvidia.conf" '

Hardware
CPU: Intel i5 8400
GPU: Nvidia RTX 3060 12GB
RAM: 32 GB
Extra information or context
No response

This is also occurring on the bazzite:latest image on my 5800x3d / 6900xt rig. I've reverted back to 39.20240329.0 temporarily.

Latest update to kernel 6.7.11-202.fsync.fc39.x86_64 seems to have fixed this issue. Might wanna test again @sarcasticgoat . Closing this issue!


Image blinks on opening

Image blink once just after opened.

Please add some more context in the form of a video or code to reproduce. It's hard to tell what's happening otherwise.

It seems that .listener() is causing blinking. On my end it's blinking/flashing all the time.
val zoomSpec = ZoomSpec(maxZoomFactor = 4.0f)
val zoomableImageState = rememberZoomableImageState(rememberZoomableState(zoomSpec = zoomSpec))
ZoomableAsyncImage(
    modifier = modifier,
    state = zoomableImageState,
    model = ImageRequest.Builder(LocalContext.current)
        .data(imageUrl)
        .placeholderMemoryCacheKey(imageUrl)
        .crossfade(IMAGE_CROSSFADE_DURATION)
        .listener()
        .build(),
    contentDescription = null,
)

If I remove .listener() everything works fine.
Is there any other way to get notified when the image is loaded?

From what I understand, this is happening because listener() is creating a new object on every recomposition, making telephoto think that the ImageRequest was changed. You'll need to remember your listener object (example).
I wonder how Coil is able to avoid this. Does AsyncImage not suffer from this problem?

Thanks for the link.
I never had blinking problem with Coil. I'm using SubcomposeAsyncImage which also provides custom loading, error and success composable functions to render the states and it's really nice feature to have.

Yep that's indeed nice to have. I want to explore if I can offer something similar in the future, but for now you're restricted to managing the loading & error states yourself.

@saket , @AleksandarIlic  thanks for the reply and sorry for late response.
I am using ZoomableAsyncImage inside a HorizontalPager. When I add/remove images from the list, Image blinks.
@OptIn(ExperimentalFoundationApi::class)
@Composable
fun ImageViewerScreen(
    imageUriList: List<Uri>
){
    val context = LocalContext.current
    val state = rememberPagerState(initialPage = 0, 0f) { imageUriList.size }

    HorizontalPager(
        key = { pos ->
            imageUriList[pos]
        },
        state = state,
        modifier = Modifier.fillMaxSize()

    ){ page ->

        ZoomableAsyncImage(
            modifier = Modifier.fillMaxSize(),
            model = imageUriList[page],
            contentDescription = "",
            imageLoader = ImageLoader.Builder(context)
                .components {
                    add(ImageDecoderDecoder.Factory())
                    add(SvgDecoder.Factory())
                }
                .build()
        )
    }
}

Thank you very much @saket, that was the issue. Now everything work perfect


Working Example for Set-WorksheetProtection?!

Hi,
I tried hard, but I cannot get the "Set-WorksheetProtection" Function to work with my PowerShell script. Could someone provide a very simple example to point me in the right direction?
Further I found a line in the Set-WorkSheetProtection.ps1 which is not clear to me. Should the variable not be "$lockAddress" (instead of $unlockaddress)?
https://github.com/dfinke/ImportExcel/blob/b82888527f05b122449c7dc291c28adc65181a07/Set-WorkSheetProtection.ps1#L79
Thanks and KR,
Peter

I think you are correct , that line is an error. Particularly if you look at if statement on the previous line ...
Actually set-WorksheetFunction.ps1 is included in the code but it is not exported by the PSD1 file, I think because it wasn't properly finished - it doesn't have any tests for a start.
I'll have a proper look at at it this weekend because I think it is one of mine.  As well as not locking cells it is told to as reported, It should probably lock all cells unless told otherwise

Thank your for the quick reply.
At least I found a way to add the protection to my Excelsheet like this:
$excel = Open-ExcelPackage $xlsx_file
$sheet = $excel.Workbook.Worksheets["Budget"]
$sheet.Protection.IsProtected  = $true
Set-ExcelRange     -Range $sheet.cells["H:I"] -Locked:$false
Set-ExcelRange     -Range $sheet.cells["I7"] -Locked
$sheet.Protection.SetPassword("test")
Close-ExcelPackage $excel`
#I have code before, where $xlsx_file is loaded...it's the path to a xlsx file ;)

I use powershell for the second day now, so the above code is probably not best practice, but I needed a (temporary) solution. And this seems to work, after short testing.
Per default nothing is locked.

Looks like good code for only two days using PowerShell

@peschu123 Do you know a way to undo the Sheet protection when you would open the protected file again with Powershell?


[FEATURE REQ] Trim Warning with Azure.Data.Tables

Library name
Azure.Data.Tables
Please describe the feature.
Many of the Azure SDK packages have been making progress in becoming compatible with trimming for native AOT compilations. However, I see that Azure.Data.Tables has a few more issues to work through. When compiling a project of mine with <PublishAot>true</PublishAot>, I encountered the following warning:

15.90 ILC : Trim analysis error IL2091: Azure.Data.Tables.DictionaryTableExtensions.ToTableEntity(IDictionary`2<String,Object>,TypeBinder`1.BoundTypeInfo<IDictionary`2<String,Object>>): 'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in 'System.Activator.CreateInstance()'. The generic parameter 'T' of 'Azure.Data.Tables.DictionaryTableExtensions.ToTableEntity(IDictionary`2<String,Object>,TypeBinder`1.BoundTypeInfo<IDictionary`2<String,Object>>)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.

Details for warning IL2091 can be found here: https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-warnings/il2091

@m-redding :  Would you mind taking a look and offering your thoughts?


frb v2 - C++ keywords

Describe the bug
Rust structs field that are the same name with C++ Reserved Words, which are not shared with Rust or Dart, are now generated with an underscore suffix on the wire object with frb v2.
Generator completes without issues and this only becomes apparent upon using the bindings.
Related discussion:

https://github.com/fzyzcjy/flutter_rust_bridge/discussions/1889

Steps to reproduce
Create a struct with a field that uses C++ keywords that are not shared with Rust or Dart, friend, goto, template etc., they can be of any type and generate bindings for it.
Logs
logs.txt (8K lines, a bit laggy)
Expected behavior
Keywords that are not reserved by Rust or Dart should generate as is.
Generated binding code
For a struct that has a field named template
final class wire_cst_symbol extends ffi.Struct {
  external ffi.Pointer<wire_cst_list_prim_u_8_strict> grapheme;

  external ffi.Pointer<wire_cst_list_prim_u_8_strict> template_;

  external ffi.Pointer<ffi.Bool> rtl;

  external ffi.Pointer<ffi.Uint32> position;
}

  @protected
  void cst_api_fill_to_wire_symbol(Symbol apiObj, wire_cst_symbol wireObj) {
    wireObj.grapheme = cst_encode_opt_String(apiObj.grapheme);
    wireObj.template = cst_encode_opt_String(apiObj.template);
    wireObj.rtl = cst_encode_opt_box_autoadd_bool(apiObj.rtl);
    wireObj.position = cst_encode_opt_box_autoadd_u_32(apiObj.position);
  }

OS
macOS Sonoma 14.4.1
Version of flutter_rust_bridge_codegen
2.0.0-dev.32
Flutter info
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4.1 23E224 darwin-arm64, locale en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.88.1)

Version of clang++
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: arm64-apple-darwin23.4.0
Thread model: posix

Additional context
Error received on building the app that uses bindings:
../breez-sdk/libs/sdk-flutter/lib/generated/frb_generated.io.dart:3373:13: Error: The setter 'template' isn't defined for the class 'wire_cst_symbol'.
 - 'wire_cst_symbol' is from 'package:breez_sdk/generated/frb_generated.io.dart' ('../breez-sdk/libs/sdk-flutter/lib/generated/frb_generated.io.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'template'.
    wireObj.template = cst_encode_opt_String(apiObj.template);
            ^^^^^^^^
Target kernel_snapshot failed: Exception

As mentioned in the discussion, feel free to fix it, alternatively I will work on it in the next batch (hopefully within a week) :)

I see: It seems that cbindgen considers c++ keywords and add postfix when detects one. https://github.com/mozilla/cbindgen/blob/ca78140c01518a655355f84da1f3872939123b66/src/bindgen/reserved.rs#L8
A fix may be, let frb understand this (e.g. when reading/writing the field, use the name template_ instead of template).
Another workaround in order to use this name is that, remove full_dep: true in your frb configuration, then the codec will not use cbindgen and thus no this issue.


[LFT] Full-stack/Blockchain engineer

Background
My name is Wesley from Amsterdam, the Netherlands. +10 years of experience in enterprise software development & delivery. In the blockchain space now for about 3 years. Graduate on the first ConsenSys academy, and alumni. Currently working as freelance blockchain tech lead and founder of the blockchain Netherlands foundation.
I've seen most roles in an IT/software organization and quite versatile in terms of roles/skills.
I was mentor at ETH Berlin last year, but looking forward to build something again. Try and learn new things. Meeting new people, keeping up my coding skills.
And have some fun !
Skills
Full-stack, MERN , or C#/.NET, blockchain, Solidity, DevOps, infra.

wouldn't mind to learn Go, or Python

[ ] Core Blockchain Development (Go, C++, Rust)

[x] Smart Contracts (Solidity, Vyper)

[x] DApps, Web3.JS (TypeScript, React, Node, JavaScript, CSS)

[x] Design, User Experience

[x] Project Management

[x] Other: C#, ASP.NET
Infrastructure, DevOps

Communication

[x] Riot handle: wslyvh
[x] Status IM: wslyvh
[x] telegram: wslyvh

https://www.twitter.com/wslyvh
http://linkedin.com/in/WesleyvanHeije/

I would like to suggest you join to #21
Are you interested?

I am still looking for a blockchain engineer / UI dev in #18.

Hi @wslyvh would love to hack with you on #36 : a proposal-less "Virtue DAO" that funds a swarm of autonomous contributors based on their virtue. Message me on issue #36 or on telegram @noahthorp

Join us if you want to work on the intersection of public transport, social media and blockchain: https://github.com/ethberlinzwei/Find-A-Team/issues/44

Going to work on #25. Others are welcome to join!


Update README and build instructions to point to Github Issues instead of BitBucket Issues - fixes #242

Update README and build instructions to point to Github Issues instead of BitBucket Issues - fixes #242

Thanks!


v2

I’ve been working on version 2 of this plugin and I would love to hear some feedback on this. I plan to do couple of big changes that would overall keep the spirit of the plugin, but will change how it will be used.
The changes include tabs:
https://user-images.githubusercontent.com/23213553/199215661-5cc12025-ee89-4646-aef5-b9b0ed9ce102.mov
When exploring snapshots, tabs are available by using snapshot for every state:
https://user-images.githubusercontent.com/23213553/199215651-ded9d277-7369-460f-9dfb-d04bec2dee1f.mov
This is just a POC, I’ll definitely want to work on UI, especially dividing request and response.
I’m thinking of dividing request and responses, kinda like the layout of thunder client in vs code, which follows the same kind of pattern as many of the API testing tools:

Of course, this layout should be responsive, so that in smaller viewports it will show response and request one below other, not side to side.
So a couple of questions on this:

do you like it?
would you like to see separate sections for request vs. response?
how crucial is it to unify snapshot experience with the experience of last test?
would you miss the "copy to clipboard" button if I got rid of it?
would you like to see "tests" tab, that would show assertion results? (I’m pretty sure it could be done, but need to confirm
would you want to trigger test from UI?
any export functions you would like to see?
would you like to have support for light/dark theme?

I’d be very happy to hear the feedback!
Also, feel like this is a good opportunity to mention my sponsors link ❤

oh BTW you can take a look at the current state of this on the v2 branch linked to this issue

Made some significant progress. Below you can see that I’m toggling different tabs in a snapshot. Copy to clipboard button is gone, I’m not 100% sure it will make a comeback as you can easily select all the text right from the window.
https://user-images.githubusercontent.com/23213553/199419710-6dc6515e-b3e5-4b73-b69f-a31dadc6fc01.mov

Excellent this layout!


portico: Tweak quote.

This change has been approved by Kevin.
Current: https://zulip.com/for/research/
Updated:

Merged, thanks @alya!


Fixed parallel async function calls bug

This PR fixes a bug that caused garbled and/or repeated output when using parallel function calling with RTVI. Instead of requesting LLM inference when the final item of the function call list completes, we're now actually waiting for all of the function calls to complete (so they can be processed in parallel by the client).

If I understand correctly we achieve the same thing we wanted to do before, but instead of assigning run_llm=True to the last function call, we just wait for all of them to be completed.

LGTM!


Feature Request: Timeline view allows navigation to child workflows

Is your feature request related to a problem? Please describe.
The timeline view is great. However, clicking on a child workflow from the timeline view does nothing. When there are lots of child workflows named the same, it's difficult to determine which child workflow id lines up with the visual representation in the timeline view.
Describe the solution you'd like
Clicking on a child workflow in the timeline view opens that workflow in a new tab.
Describe alternatives you've considered
Using the "Relationships" > "Children" table to select a child workflow. But you loose the context of when that workflow started/stopped and how long it took in relation to other child workflows.
Additional context
None.

Added in new Timeline view (can also view Timeline of child directly without navigating)


Tests require Node 9 at least

Because of using object spread syntax. We should at least require 8 as it is the current LTS.

@andreypopp It's not LTS. Only odd numbers are LTS.

yep, sorry, I meant node 8, fixed.

Closing this one since tests do not require Node anymore


feat: add support for makeResetStyles transforms

Fixes #227.
This PR adds new tests and modifies @griffel/babel-preset or @griffel/webpack-loader to handle makeResetStyles transforms.
resetImportName added to modules options of Babel preset and will be documented in a separate PR.

Evaluation hasn't changed at all from what I can see

Yup, that's correct.


any plans to update this?

I see the prerelease with null safety, are there any plans to get that out?

Hi. I am pretty busy these days and planned to update this package to null safety ASAP. Thx!


Update navbar to UI v3

This PR includes the themes for the navbar component.
TODO:

[ ] add theming for when the user is logged in.

add theming for when the user is logged in.

Is this task complete?

Has this task been completed?
Not yet - I hope to get around to it tomorrow.

Same comment as in https://github.com/Sage-Bionetworks/challenge-registry/pull/354. This should not be a problem if we merge the footer PR first.
Yes, apologies for that! I mentioned in an earlier comment that this PR will include updates for the footer component.

Design added for when user is logged in:

P.S. for some reason, the listed items aren't reflecting the changes made to mock-menu-items.ts (hence why "Log out" is showing up twice)

for some reason, the listed items aren't reflecting the changes made to mock-menu-items.ts (hence why "Log out" is showing up twice)

This has been fixed in 98afa5.

Now, clicking 'Profile' will redirect to the user-profile using mock data - 683aabe

@tschaffter It is ready to review for merging.


"Verguleasa", "Căzănești", "Cucueți", "Dumitrești", "Poganu", "Valea Fetei" and "Vânești" are listed in the drop-down menu

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions:
The website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Verguleasa".

Expected results
The location is listed in the drop-down menu as "Sat VerguleasaOLT (Verguleasa)".

Step 2
Write in the search bar "Căzănești ".

Expected results
The location is listed in the drop-down menu as "Sat Căzănești OLT (Verguleasa)".

Step 3
Write in the search bar "Cucueți".

Expected results
The location is listed in the drop-down menu as "Sat Cucueți OLT (Verguleasa)".

Step 4
Write in the search bar "Dumitrești".

Expected results
The location is listed in the drop-down menu as "Sat Dumitrești OLT (Verguleasa)".

Step 5
Write in the search bar "Poganu".

Expected results
The location is listed in the drop-down menu as "Sat Poganu OLT (Verguleasa)".

Step 6
Write in the search bar "Valea Fetei".

Expected results
The location is listed in the drop-down menu as "Sat Valea Fetei OLT (Verguleasa)".

Step 7
Write in the search bar "Vânești".

Expected results
The location is listed in the drop-down menu as "Sat Vânești OLT (Verguleasa)".


Add Uninstall button

Add uninstall button post install and  when jumpstart  starts in post-install state.
Clicking this button should ask for a 2nd time confirmation (with a check box "I understand that this will remove TAP from this cluster."). Upon confirming it will execute script to un-install / remove TAP from target cluster.

done. release: 2.0.08242023


Programming Exercises: Always show result details

Checklist
General

[x] I tested all changes and their related features with all corresponding user types on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I followed the coding and design guidelines and ensured that the layout is responsive.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I documented the TypeScript code using JSDoc style.
[x] I translated all newly inserted strings into English and German.

Motivation and Context

#5824 made clear that the current feedback for results is not sufficient.
Students should always be able to take a look at the detailed feedback even if all tests pass.
Description

Students can now always click on their result and the tasks in the problem statement and see their feedback.
Steps for Testing

Prerequisites:

1 Instructor
1 Student
1 Programming Exercise with some tests after the deadline

Log in to Artemis
Participate in the exercise with all failing/some failing/all passing tests before the deadline
Participate in the exercise with all failing/some failing/all passing tests after the deadline
Always make sure that all results show their details, and the UI make everything intuitively clear

Review Progress

Code Review

[x] Review 1
[ ] Review 2

Manual Tests

[x] Test 1
[ ] Test 2

Test Coverage

Please try to remove
hasFeedback
in Result.java and result.model.ts
(in a follow-up, we should then remove the column in the database)


Feature Request: Let tf.scan accept/return tuples of Tensors in addition to just Tensors

Right now, tf.scan splits Tensors along dimension 0, and to process multiple state/input Tensors with tf.scan, we need to concatenate/split. For example, to create an LSTM block using tf.scan, we might have something like
def lstm_block(c_prev_and_m_prev, x):
    c_prev, m_prev = tf.split(1, 2, c_prev_and_m_prev)
    # Compute new c, m
    c_and_m = tf.concat(1, [c, m])
    return c_and_m

This has been asked about by others in https://github.com/tensorflow/tensorflow/issues/1725 and https://github.com/rdipietro/jupyter-notebooks/issues/2
Also, if we hope to process multiple Tensors with significantly different shapes, then the current solution will become even less concise, as we'd probably have to do something like flatten, maintain shape info, unflatten, etc.
I can probably make this change if it's something that'd be accepted.

You are welcome to contribute.  We will accept it if it passes our review process.

<EMAIL_ADDRESS>One way to do it is to extend TensorArray a bit so we could convert between a (python) list of tensors and TensorArray.  It would also be nice to change session slightly so we could return a list of tensors for a single output.

Is anybody working on this?
Or is there a workaround to do this feature, in case that tensors of different types?
I've been stuck implementing Viterbi-like decoding algorithm due to the fact that I can't simultaneously save argmax and max value...

@jihunchoi I don't know that anyone is working on currently.

We are working on more generalized nesting in general; then I'll pick this up in a couple of weeks once we have that in.

Ping :).
@jihunchoi for right now I just recommend using tf.while_loop. The accompanying TensorArray stuff is a bit messy, but you can create as many TensorArrays as you need, even with different-shaped Tensors inside, bypassing the problems with the higher-level tf.scan.

We just pushed support for this request. Can you confirm you see it at head?
On Jul 6, 2016 6:56 AM, "Robert DiPietro"<EMAIL_ADDRESS>wrote:

Ping :).
@jihunchoi https://github.com/jihunchoi for right now I just recommend
using tf.while_loop. The accompanying TensorArray stuff is a bit messy,
but you can create as many TensorArrays as you need, even with
different-shaped Tensors inside, bypassing the problems with the
higher-level tf.scan.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/2294#issuecomment-230778559,
or mute the thread
https://github.com/notifications/unsubscribe/ABtim_sJ5I9eKySIJe-jidq9o5UiachNks5qS7QbgaJpZM4IaWN3
.

That's great – thanks.
I'm not seeing the change yet though ... changes must have been made to functional_ops.py, yes?

Closing due to inactivity. Feel free to open a new github issue if the problem still persists in recent versions.


[AutoPR sqlvirtualmachine/resource-manager] Add new License type enum value for DR

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7819

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/6408


Error while parsing PDF

Hello,
I'm trying to extract pages from a PDF, but I encounter this error.
UnhandledPromiseRejectionWarning: Error: Trying to parse invalid object: {"line":24229,"column":6,"offset":87733096})
    at PDFParser.tryToParseInvalidIndirectObject (/Users/axelvaindal/Downloads/test-lib/node_modules/pdf-lib/cjs/core/parser/PDFParser.js:165:19)
    at PDFParser.<anonymous> (/Users/axelvaindal/Downloads/test-lib/node_modules/pdf-lib/cjs/core/parser/PDFParser.js:209:30)
    at step (/Users/axelvaindal/Downloads/test-lib/node_modules/tslib/tslib.js:141:27)
    at Object.throw (/Users/axelvaindal/Downloads/test-lib/node_modules/tslib/tslib.js:122:57)
    at rejected (/Users/axelvaindal/Downloads/test-lib/node_modules/tslib/tslib.js:113:69)
(node:30894) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:30894) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

The PDF is 80MB large, so I can't put it here.
Is there any way I can verify the integrity of the PDF document before I try to process it?

There are a number of PDF validation tools you can find online. The only way to check with pdf-lib specifically is to call PDFDocument.load and see if it succeeds.
A possible cause of the error you shared is that the document is encrypted. This is a pretty common occurrence. PDFs can still be encrypted even if you can open them without a password.

Alright, I'll try catch the load and fallback if any error during the process.
Thanks for your answer.

Will you have be able to release new code that can parse and merge a PDF despite having password encryption and it's ability to open fine?
By the way, you are doing the community a great job with this robust and powerful PDF tool.


World Of Warcraft - Worked only on dx9 mode

Software information
when starting a private server for the World of Warcraft game using DXVK - it only works in D3D9 mode. He doesn't want to work with DX11 code and writes an error. Or the source starts DX9 if it sees the file to DX9
btw. Thats game client used this server https://pandawow.me/files/PandaWoW 5.4.8.torrent
System information

GPU: RX 460
Driver: 31.0.23001.3004
Wine version:
DXVK version: 2.3

Apitrace file(s)
https://drive.google.com/file/d/1aV3UYxkFt0jVVKKct7ma0DUln-ZA-Yo3/view?usp=sharing
Log files
https://dropmefiles.com.ua/en/kmQAV8xMH

Not 100% sure what is going on with it besides it seemingly is trying to load the wrong dxgi (not dxvks) file at some point on Windows. Tho i can't recreate that on Linux as it seems fine with them being next to the exe there, but maybe that could be a Wine vs Windows implementation detail i don't know about.
Either way i can confirm the clients d3d11 doesn't work on Windows with dxvk, but it seems to work fine on Linux with Proton.

Checked with process explorer and it seems to be the case that it loads dxgi from Windows system folder yes

Please read the Windows page in the DXVK wiki for more information about why it doesn't work.


Feature/tidy homepage controller

What

remove old census template
update references to dp-renderer, sixteens, and dp-design-system
update new class name from ONS design system in hero banner on census page

How to review
See that code makes sense and tests pass
Who can review
Anyone.

I think you need to rebase off develop once https://github.com/ONSdigital/dp-frontend-homepage-controller/pull/141 gets merged


Generalize branches as traversal

Generalize Branches as Traversal
Write mapBeforeSort  in terms of it
Add normalize across branches

@alissapajer @wemrysi ready for another look


VPAT-772 Added label to navigation region

 VPAT-772 | FMG | All browsers | Form Builder | Make appropriate label to Form tabs and Submission tabs with role=navigation


Adds specifics on how to use globally installed with composer.

Moreover, adding ~/.composer/vendor/bin/ to your $PATH allows it to be called from the command line as simply:
boris

I wasn't sure if that was worth noting though.

Totally worth!


Method TextInput_Prompt_Kz22lf_text() in Prompt for Text is not recognized

Module: 7
Lab: Create a Bot with Bot Framework Composer
Task: Enhance the user experience
Step: Add a button
Description of issue
Adding following code to the Prompt for text shows an error (please see screenshot below)
[Activity
    Text = ${TextInput_Prompt_Kz22lf_text()}
    SuggestedActions = Cancel
]

To fix it / work around it, I rolled back to the previous version of the code:
[Activity
    Text = Enter your city.
    SuggestedActions = Cancel
]

Not sure what happened there - I reverted to the previous code


error-handling: ensure Close is called only once

I think it is a nice thing to check.

Is there any motivation behind this? Did you see any particular solution calling Close() more than once?
I appreciate you taking the time to submit a PR, but for things like this is probably better if you open an issue first if you find something we can improve. That way we can discuss the change first.
I don't believe this adds much or solves any problem with the exercise.

I am closing this as it seems abandoned. Happy to re-open if the open questions are addressed.


Look into DB performance

things seem slow. its either cause literally everything (frontend, api, and db) is running on a tiny box or the queries are suboptimal (or a combo or both).

closed by https://github.com/robinjoseph08/api.pokedextracker.com/pull/20


[bug] Couldn't find callback id x in window. This happens when the app is reloaded while Rust is running an asynchronous operation

Describe the bug
When using tauri-plugin-websocket-api and triggering a window reload, I get a constant stream of messages like "[Warning] [TAURI] Couldn't find callback id<PHONE_NUMBER> in window. This happens when the app is reloaded while Rust is running an asynchronous operation.".
 I tried listening to beforeunload but that doesn't seem to fire.
Reproduction
No response
Expected behavior
No warnings
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.11.0
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 1.6.2
    - tauri-build [RUST]: 1.5.1
    - wry [RUST]: 0.24.7
    - tao [RUST]: 0.16.8
    - @tauri-apps/api [NPM]: 1.5.4
    - @tauri-apps/cli [NPM]: 1.5.12

[-] App
    - build-type: bundle
    - CSP: default-src 'self'; script-src 'self'; connect-src 'self' server.relativemotion.app dev.server.relativemotion.app ws:; img-src https://* data:; frame-src *; child-src 'self'; font-src 'self'; style-src-elem 'self'; style-src 'self'; object-src 'none'; upgrade-insecure-requests;
    - distDir: ../src
    - devPath: ../src
    - bundler: Webpack

Stack trace
No response
Additional context
No response

The solution is:
window.addEventListener('unload', function (e) {})
It would be nice if it was documented in tauri. Unsure if it's cross platform but it works in macos.


Adding 64 bit binaries for CodeHelper.exe

have changed the icon for this binary to be same as brackets, corresponding to brackets-shell/Windows-x64 branch PR

@swmitra @vickramdhawal @shubhsnov please have a look, this is corresponding to brackets-shell PR

My changes are in forked repo

Should the forked repo be brought under or adobe org ? It will be difficult to track the source of this change. Even the readme or wiki needs to be updated to identify the source of the 64bit binary.

VSCode 64bit binary is still using the 32bit filewatcher, and since you haven't changed anything specific in the source, rather just the build platform, I'm not sure about this.
A better approach would be to raise these forked changes as a PR against upstream, and see the response there.

Yes "Any CPU" is good enough. So, don't need 64 bit build,


Ubuntu 18: Error response from daemon: No such image: xilinx/vitis-ai-gpu:<IP_ADDRESS>3

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.27-3ubuntu1.5_amd64.deb  Hash Sum mismatch
Hashes of expected file:
- SHA512:84869a5cf0903b1045c7e7e58c6bfcf9800c40fdc8b651087fa448ea2af1c18158df29b92af6dd0113ea77e627a23d7a4da4bae683db6d33f8d9104f044f207f
- SHA256:c4af07dc8a2fdc9c4f25f103cd03bcca7231c19d9ac9171fa7eb5eecb7fc46d7
- SHA1:47e5405d0f9c7ff40daff7ec010ff816d901f35e [weak]
- MD5Sum:aef43cd3a8359820eb9a027c19a056c8 [weak]
- Filesize:2829792 [weak]
Hashes of received file:
- SHA512:1fddf82ff4934c44911550bfd1957def5e01a22d58e867733c29437fe59d46b71a14c672f505d1ae97a2630cf35e983964543397ce05c52f31670b7bcbe10531
- SHA256:cbc0dcc4803d2979d9b5e734ae2a4d45e20a1aaec8cfc895a2209285a9ff7573
- SHA1:c7856f53283b18ae2a3e4d387d491752fbb4a6ec [weak]
- MD5Sum:2c6e3e6f7742330dc915c33ed3dbbd51 [weak]
- Filesize:2829792 [weak]
Last modification reported: Tue, 01 Mar 2022 15:23:49 +0000
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost1.65-tools-dev_1.65.1+dfsg-0ubuntu5_amd64.deb  Hash Sum mismatch
Hashes of expected file:
- SHA256:157a8911db429eb31e30da259343c4f1a2f727e17471a75fb82137583928cf0c
- SHA1:a0bfe685224854fdf4a2e9b6d5c280afac928634 [weak]
- MD5Sum:d94934e833617039c0b2c99d992cf35b [weak]
- Filesize:1221844 [weak]
Hashes of received file:
- SHA256:3f85b524dfef9e29de52e9e63b162f02673607f13f3cbe7c2d3a0537d383485e
- SHA1:fb91f99a8d8fe061c5bc7d6914b01656c6ddf166 [weak]
- MD5Sum:38c0cb861d9e21fffe4429a97aacd16d [weak]
- Filesize:1221844 [weak]
Last modification reported: Tue, 06 Mar 2018 11:39:14 +0000
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/lapack/liblapack3_3.7.1-4ubuntu1_amd64.deb  Hash Sum mismatch
Hashes of expected file:
- SHA256:237d103dfb157e5e056d4442bca48fa20065f448c1626091245f247e4ecf3a9e
- SHA1:4ec796932fb33066df188feac021af8f5733f3bb [weak]
- MD5Sum:e11187e0bcd7ee0a5dd04416828693ff [weak]
- Filesize:2112388 [weak]
Hashes of received file:
- SHA256:6934a0719c4949a28e0f282265907f9e6cdfb30889aff7a188f48fb73241ef9e
- SHA1:8986b7c050a1f02cf3239660f19d150601db2c33 [weak]
- MD5Sum:eef44c1ad948b3aeb0d375394a43db53 [weak]
- Filesize:2112388 [weak]
Last modification reported: Tue, 28 Nov 2017 20:19:03 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/bash -c chmod 1777 /tmp     && mkdir /scratch     && chmod 1777 /scratch     && apt-get update -y     && apt-get install -y --no-install-recommends         apt-transport-https         autoconf         automake         bc         build-essential         bzip2         ca-certificates         curl         g++         gdb         git         gnupg         libboost-all-dev         libgflags-dev         libgoogle-glog-dev         libgtest-dev         libjson-c-dev         libjsoncpp-dev         libssl-dev         libtool         libunwind-dev         locales         make         openssh-client         openssl         python3         python3-dev         python3-minimal         python3-numpy         python3-pip         python3-setuptools         python3-venv         software-properties-common         sudo         tree         unzip         vim         wget         yasm         zstd' returned a non-zero code: 100
Error response from daemon: No such image: xilinx/vitis-ai-gpu:<IP_ADDRESS>3
Error response from daemon: No such image: xilinx/vitis-ai-gpu:<IP_ADDRESS>3
Error response from daemon: No such image: xilinx/vitis-ai-gpu:<IP_ADDRESS>3

Hi @krishnaadithya
There seems to be network error when downloading Ubuntu packages. We have seen this happening before, and usually a docker rebuild will solve the problem.
If this error persist, can you please try to download the Ubuntu package on the host you are running docker build and verify the checksum?
For example
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.27-3ubuntu1.5_amd64.deb
sha256sum libc6_2.27-3ubuntu1.5_amd64.deb

@hanxue  sorry I have not used dockers much, how do I rebuild a docker?
and I tried doing these two steps:
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.27-3ubuntu1.5_amd64.deb
sha256sum libc6_2.27-3ubuntu1.5_amd64.deb
But I get the same error

Hi @krishnaadithya ,
I meant re-run the docker_build_gpu.sh script.
What is the output for sha256sum libc6_2.27-3ubuntu1.5_amd64.deb?

I have tried running docker_build_gpu.sh script several times it is the same error over and over again
What is the output for sha256sum libc6_2.27-3ubuntu1.5_amd64.deb?
cbc0dcc4803d2979d9b5e734ae2a4d45e20a1aaec8cfc895a2209285a9ff7573  libc6_2.27-3ubuntu1.5_amd64.deb

Any updates on this issue?? Facing same error while building GPU docker with Ubuntu 18

Hi @krishnaadithya ,
Per your original post
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.27-3ubuntu1.5_amd64.deb Hash Sum mismatch
Hashes of expected file:
- SHA512:84869a5cf0903b1045c7e7e58c6bfcf9800c40fdc8b651087fa448ea2af1c18158df29b92af6dd0113ea77e627a23d7a4da4bae683db6d33f8d9104f044f207f
- SHA256:c4af07dc8a2fdc9c4f25f103cd03bcca7231c19d9ac9171fa7eb5eecb7fc46d7
- SHA1:47e5405d0f9c7ff40daff7ec010ff816d901f35e [weak]
- MD5Sum:aef43cd3a8359820eb9a027c19a056c8 [weak]
- Filesize:2829792 [weak]

The SHA256 checksum for the deb package is c4af07dc8a2fdc9c4f25f103cd03bcca7231c19d9ac9171fa7eb5eecb7fc46d7
I tried it on an internal server and I got the correct result
$ wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.27-3ubuntu1.5_amd64.deb
--2022-03-28 09:36:48--  http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.27-3ubuntu1.5_amd64.deb
Resolving archive.ubuntu.com (archive.ubuntu.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2829792 (2.7M) [application/x-debian-package]
Saving to: ‘libc6_2.27-3ubuntu1.5_amd64.deb’

100%[========================================>] 2,829,792   4.81MB/s   in 0.6s

2022-03-28 09:36:49 (4.81 MB/s) - ‘libc6_2.27-3ubuntu1.5_amd64.deb’ saved [2829792/2829792]

$ sha256sum libc6_2.27-3ubuntu1.5_amd64.deb
c4af07dc8a2fdc9c4f25f103cd03bcca7231c19d9ac9171fa7eb5eecb7fc46d7  libc6_2.27-3ubuntu1.5_amd64.deb

The SHA256 checksum that you posted for the same file does not match. The value you posted is cbc0dcc4803d2979d9b5e734ae2a4d45e20a1aaec8cfc895a2209285a9ff7573
There is networking issue preventing your host from downloading the deb packages from archive.ubuntu.com correctly.
Please can you try the docker_build_gpu.sh script from another machine?
If this problem keeps recurring, I will suggest raising a bug report with Ubuntu so that they are aware certain IP addresses are having problem with downloading.https://help.ubuntu.com/community/ReportingBugs

@hanxue
thank you for figuring out the root cause, ip was the issue, so I used a vpn to bypass it and it is downloading fine now.
@subhailams try using a vpn or your phone data.
@hanxue could you please take a look at this issue https://github.com/Xilinx/Vitis-AI/issues/732#issue-1183110995 ?

@hanxue
Though the GPU docker worked, there is still an issue when I run the docker I get:
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]


Permissive names parser

Makes the names plugin parser more user-friendly. See new test cases for more details.

Codecov Report

Merging #50 (c2b33a7) into master (27eebbe) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #50   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           34        34
  Lines          422       422
  Branches        72        72
=========================================
  Hits           422       422

Impacted Files
Coverage Δ

src/plugins/names.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Andreja repetitive dialogue.

When Andreja has been romanced, you can flirt with her and sleep with her. During either of these, Andreja's dialogue will not be random but will instead run through a non-randomised list. So if you play the game and flirt with her once, her response will be "Thank you, dearest. You are not so bad yourself." She has other lines of dialogue that she will use if you save and reload before talking to her, or if you flirt with her more than once without closing the game, but every time the game is closed her responses always start over. What ends up happening because of this is that you hear the same one or two lines of dialogue from her over and over again despite the fact that she has five or six responses to flirting or and five or six for sleeping together. I'm not sure if it is only Andreja or if this happens with other romance companions as well.

Game Version
1.7.36
New Game
No
Reproduction Steps
Romance Andreja, marry her, and then flirt with her when you have the option. After you flirt once the option goes away for a little while but comes back after some time. Close the game and flirt again. And again if you wish. Her response will be the same every time. The only way to hear more responses is to save before flirting with her and then reload that save without closing the game.

This was fixed officially.


Can not work in Win11, Win10 unknow

[DSU.Server] Creating new client <IP_ADDRESS>:61093
[DSU.Server] Removing dead client <IP_ADDRESS>:61093

It's ok, I am wrong.


Atelier version is v2 no matter what you set

When trying to connect to older versions (Caché 2016) with Atelier v1, it does not get the version setting and always tries v2, so no way to connect to older version :-(
It seems like a simple change, but I have no clue about Visual Studio extensions, so can't help too much. Great Job anyway!

ups... wrong repository... closing. (I thought it was daimor/vscode-objectscript)


Migrate babelon to monarch-project-template.. or linkml?

@sierra-moxon @hrshdhgd can you advice: this project has a linkml model component and an associated software tool (like sssom, and sssom-py in the same repo). Which repo template do you suggest I use:

https://github.com/monarch-initiative/monarch-project-template
https://github.com/linkml/linkml-project-cookiecutter

@hrshdhgd (in meeting) suggests to build this off https://github.com/linkml/linkml-project-cookiecutter, as it has all we need from the first one, and more specifically for linkml projects.
@souzadevinicius you can work of this and ask me and Harshad if you run into issues!


entproto: fix service.List pageToken for custom fields (UUID/string)

Motivation
The current List service template generates faulty code if a custom GoType field is used (currently only UUID and string types are supported by this fix).
I haven't tested this on a large set of inputs and probably I'm lacking context why the pageToken has been implemented this way (also why it is Base64-encoded), but using a call to the field_to_ent template hopefully leads to a more sane behavior, as it is also used for Get() and Update() templates.
Diff of rendered code
IDLTE only accepts custom type (in this case pulid.PULID). Therefore the green lines are working code:
	if req.GetPageToken() != "" {
		bytes, err := base64.StdEncoding.DecodeString(req.PageToken)
		if err != nil {
			return nil, status.Errorf(codes.InvalidArgument, "page token is invalid")
		}
-		pageToken, err := uuid.ParseBytes(bytes)
-		if err != nil {
-			return nil, status.Errorf(codes.InvalidArgument, "page token is invalid")
-		}
+		pageToken := pulid.PULID{}
+		if err := (&pageToken).Scan(bytes); err != nil {
+			return nil, status.Errorf(codes.InvalidArgument, "invalid argument: %s", err)
+		}
		listQuery = listQuery.
			Where(evcharger.IDLTE(pageToken))
	}

Alternatives
It would probably be cleaner to allow implementing UnmarshalProto/MarshalProto for custom types similar like we can implement a custom UnmarshalGQL/MarshalGQL. The reasoning is that the Valuer/Scanner interface used by the database driver is not necessarily what we want to represent in the protobuf types.

Considering to change this to a draft. I just saw that this would introduce a breaking change as it results in normal UUIDs being interpreted as bytes directly instead of parsing them.
Any help/context on why it is send as Base64-encoded string over the line is appreciated!


Android: Video doesn't change

Hey!
First off: Awesome package, started using it on both Android & iOS, works really well out of the box!
One issue I found on Android though: Whenever I re-use the same component but just assign a different source the video doesn't change? I'm using the ExoPlayer variant. On iOS & with the normal (really laggy ...) version the video does change when I change the source prop but the ExoPlayer one stays the same ... Any idea?

#666

Fixed in newer releases


Py3 update to README

Per #1 brozzler requires py3.
When I run the command for pip in the README on OS X, I get:
Collecting brozzler[easy]
  Using cached brozzler-1.1b5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/04/3w_t28hj0413fnmf2szpzqsh00010g/T/pip-build-3BBLdS/brozzler/setup.py", line 40, in <module>
        long_description=open('README.rst', encoding='UTF-8').read(),
    TypeError: 'encoding' is an invalid keyword argument for this function

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/04/3w_t28hj0413fnmf2szpzqsh00010g/T/pip-build-3BBLdS/brozzler/

Changing the command to pip3 allows brozzler to be installed.

Hmm well the readme already lists "Python 3.4 or later" earlier in the requirements section. And if you're installing brozzler in a virtualenv, pip will match the version of python for that virtualenv. I'm not sure if pip3 is universal or not?


Styling issues on the popup's edge on small screens/in small window sizes in Firefox

Version
2.1.0
File / Feature
General styling
Expected behaviour
Popup looks the same as on a big screen.
Actual behaviour

Other info
Make your screen/firefox window small enough so the add-on icons are behind the >>-menu. For a second, the popup will display shorter than how it will eventually end up. The styling remains in the state of that one second.

Only occurs in Firefox 57 (Beta). Will test again when FF 57 is released to make sure it isn't because of the beta version.


Add support for Add-DhcpServerSecurityGroup

Support for Add-DhcpServerSecurityGroup would be nice to have, so as to create the DHCP Administrators and the DHCP Users groups.  This is easily worked around with a script resource, but it would be nice to be included in this Resource Module.

I've recently stumbled upon this problem while working with DSC. @kwirkykat I'm happy to do the work. Do you think this should be in it's own resource with a single "Ensure" variable, or could this go into xDhcpServerAuthorization (I already have the code written in there but I can split it out).

I agree, this is a necessary addition to make the resource really "no touch"

@kwirkykat I can't think of a reason you would need the security groups without authorizing the DHCP server. Would splitting them out not lead to potential fully set-up unauthorized DHCP servers floating around? I'd be happy to shift them around if somebody else can think of one? I'm conscious of the fact I might lose the code I've already done so I'll submit a PR for now.

@LiamFisher92 Ok. If there is no reason to split it out, then the security group creation should stay in xDhcpServerAuthorization

@kwirkykat I'm not really a DHCP expert (I'm a games development graduate in disguise) so I can't really give you a definitive answer. Do you know anyone who could?

@LiamFisher92 I'll ask around

I think this should be a separate resource - having the DHCP server authorized (Ensure -eq 'Present') or not authorized (Ensure -eq 'Absent'), is not the same as having local security groups present or absent (not sure it's easy to remove them iether once created?).
I suggest a new resource DhcpLocalSecurityGroups is created. The existing PR #33 could might be changed for this.


Developing Java Binder for TSDUCK[FEAT]

Hello again @lelegard
Thank you for your helpful comments.
Actually i have developed a java code that has used tsduck.dll according to below part
        String dir = new File(ResourceUtils.getResourcePath("win/tsduck.dll")).getAbsolutePath();
            return dir;

Then prepare some api like your python file (lib.py) same as below :
package tv.samim.iptv.cmts.modules.tsp;

import com.sun.jna.*;
import static java.util.Collections.singletonMap;
interface TspLibrary extends Library {

	TspLibrary INSTANCE = (TspLibrary) Native.loadLibrary(Tsp.getMainLib(), TspLibrary.class, singletonMap(OPTION_FUNCTION_MAPPER, (FunctionMapper) (lib, method) -> {
		return method.getName();
	}));

	int tspyVersionInteger();
    long tspyNewAsyncReport(int severity, boolean sync_log, boolean timed_log, int log_msg_count);
    long tspyNewTSProcessor(long report_pointer);
    boolean tspyStartTSProcessor(long tsp_address,long args,Pointer plugins,int size_of_plugins);

}

i could get version with tspyVersionInteger(); and createReport & NewTSProcessor settingswith related functions, but i have some problem with tspyStartTSProcessor.
when i have checked your python code, you have prepared a UTF-16 buffer with application names and plugins that was appended with 0xffff....
actually i cant understand this part. I think that we did some wrong style. i have developed getPluginBytes() function for these parts as below :
    public byte[] getPluginBytes() throws UnsupportedEncodingException {
        StringBuffer buffer = new StringBuffer();

        buffer.append(tspPlugin.app_name);

        buffer.append(0xFF);
        buffer.append(0xFF);
        buffer.append("-I");
        for(int i= 0;i< tspPlugin.input.length;i++){
            buffer.append(0xFF);
            buffer.append(0xFF);
            buffer.append(tspPlugin.input[i]);
        }

        buffer.append(0xFF);
        buffer.append(0xFF);
        buffer.append("-P");
        for(int j= 0;j< tspPlugin.plugin.length;j++) {
            for (int z = 0; z < tspPlugin.plugin[j].length; z++) {
                buffer.append(0xFF);
                buffer.append(0xFF);
                buffer.append(tspPlugin.plugin[j][z]);
            }
        }

        buffer.append(0xFF);
        buffer.append(0xFF);
        buffer.append("-O");
        for(int u= 0;u< tspPlugin.output.length;u++) {
            buffer.append(0xFF);
            buffer.append(0xFF);
            buffer.append(tspPlugin.output[u]);
        }
        return buffer.toString().getBytes("UTF-16LE");
    }

Its a simple fucntion that will handle your Start function intsp.pyfile, but we have gotten below error :

As you could see, it has some error in parsing input plugin. i think that we could pass parameters correctly but maybe some wrong sequence of bytes for  input plugin part. The function prepare byte array for calling tspyStartTSProcessor api according below part :
        tspPlugin = new TspPlugins();
        tspPlugin.app_name = "HistoryTsp";
        tspPlugin.input = new String[]{"ip", "-r", "<IP_ADDRESS>:1234"};
        tspPlugin.plugin = new String[][]{{"history", "-c", "--suspend-packet-threshold","60","--ignore-stream-id-change"}};
        tspPlugin.output = new String[]{"drop"};

        byte[] plg = getPluginBytes();
        Pointer ptr = new Memory(plg.length);

        ptr.write(0, plg, 0, plg.length);
        boolean result = TspLibrary.INSTANCE.tspyStartTSProcessor(tsp_address, tsp_address,ptr,plg.length);

we will be appreciated if you could help us. just please describe me your sequence of bytes or wrong point. other functions work great.
I will share with you final java module that will handle tsp command same as your python binder. i hope it would be helpful
Thank you in advance for your great project
Taha

HI,
The functions tspy... have been added to interact with Python. The TSDuck UString class is physically identical to Java strings. So, a dedicated approach should be used for Java. Moreover, while Python needs some hack to interact with C++, JNI has a cleaner architecture, without dirty hack. I am working on a JNI interface to TSDuck (high level features only, same as Python). Be patient, I cannot work full time on TSDuck.

HI,
The functions tspy... have been added to interact with Python. The TSDuck UString class is physically identical to Java strings. So, a dedicated approach should be used for Java. Moreover, while Python needs some hack to interact with C++, JNI has a cleaner architecture, without dirty hack. I am working on a JNI interface to TSDuck (high level features only, same as Python). Be patient, I cannot work full time on TSDuck.

Hello again @lelegard
Thank you in advance for your respond.
We could fix it. actually we should add a 16-UTF char (0xFFFF) according bellow code
    public byte[] getPluginBytes() throws UnsupportedEncodingException {
        StringBuffer buffer = new StringBuffer();

        buffer.append(tspPlugin.app_name);

        // Append with the content of a string or list of strings.
        // Strings are separated with an FFFF sequence.

        // INPUT
        buffer.append("\uFFFF");
        buffer.append("-I");
        for(int i= 0;i< tspPlugin.input.length;i++){
            buffer.append("\uFFFF");
            buffer.append(tspPlugin.input[i]);
        }

        // PROCESSOR
        buffer.append("\uFFFF");
        buffer.append("-P");
        for(int j= 0;j< tspPlugin.plugin.length;j++) {
            for (int z = 0; z < tspPlugin.plugin[j].length; z++) {
                buffer.append("\uFFFF");
                buffer.append(tspPlugin.plugin[j][z]);
            }
        }

        // OUTPUT
        buffer.append("\uFFFF");
        buffer.append("-O");
        for(int u= 0;u< tspPlugin.output.length;u++) {
            buffer.append("\uFFFF");
            buffer.append(tspPlugin.output[u]);
        }
        // Build UTF-16 buffer with application names and plugins.
        return buffer.toString().getBytes("UTF-16LE");
    }

Now we could catch your main functions in java JNI project correctly.
we have prepared below JNI API for communication with your tsduck.dll
interface TspLibrary extends Library {

	TspLibrary INSTANCE = (TspLibrary) Native.loadLibrary(Tsp.getMainLib(), TspLibrary.class, singletonMap(OPTION_FUNCTION_MAPPER, (FunctionMapper) (lib, method) -> {
		return method.getName();
	}));

	int tspyVersionInteger();

    // void* tspyNewAsyncReport(int severity, bool sync_log, bool timed_log, size_t log_msg_count);
    long tspyNewAsyncReport(int severity, boolean sync_log, boolean timed_log, int log_msg_count);

    // void* tspyNewTSProcessor(void* report);
    long tspyNewTSProcessor(long report_pointer);

    // bool tspyStartTSProcessor(void* tsp, const tspyTSProcessorArgs* args, const uint8_t* plugins, size_t plugins_size);
    boolean tspyStartTSProcessor(long tsp_address,long args, byte[] plugins,int size_of_plugins);

    // void tspyWaitTSProcessor(void* tsp);
    void tspyWaitTSProcessor(long tsp_address);

    // void tspyTerminateAsyncReport(void* report);
    void tspyTerminateAsyncReport(long report_pointer);

}

I hope that we could developed as you mentioned.
Let me know if you like to have your main classes
Thank you so much for your great project
Taha

Hello again @lelegard
Thank you in advance for your respond.
We could fix it. actually we should add a 16-UTF char (0xFFFF) according bellow code
    public byte[] getPluginBytes() throws UnsupportedEncodingException {
        StringBuffer buffer = new StringBuffer();

        buffer.append(tspPlugin.app_name);

        // Append with the content of a string or list of strings.
        // Strings are separated with an FFFF sequence.

        // INPUT
        buffer.append("\uFFFF");
        buffer.append("-I");
        for(int i= 0;i< tspPlugin.input.length;i++){
            buffer.append("\uFFFF");
            buffer.append(tspPlugin.input[i]);
        }

        // PROCESSOR
        buffer.append("\uFFFF");
        buffer.append("-P");
        for(int j= 0;j< tspPlugin.plugin.length;j++) {
            for (int z = 0; z < tspPlugin.plugin[j].length; z++) {
                buffer.append("\uFFFF");
                buffer.append(tspPlugin.plugin[j][z]);
            }
        }

        // OUTPUT
        buffer.append("\uFFFF");
        buffer.append("-O");
        for(int u= 0;u< tspPlugin.output.length;u++) {
            buffer.append("\uFFFF");
            buffer.append(tspPlugin.output[u]);
        }
        // Build UTF-16 buffer with application names and plugins.
        return buffer.toString().getBytes("UTF-16LE");
    }

Now we could catch your main functions in java JNI project correctly.
we have prepared below JNI API for communication with your tsduck.dll
interface TspLibrary extends Library {

	TspLibrary INSTANCE = (TspLibrary) Native.loadLibrary(Tsp.getMainLib(), TspLibrary.class, singletonMap(OPTION_FUNCTION_MAPPER, (FunctionMapper) (lib, method) -> {
		return method.getName();
	}));

	int tspyVersionInteger();

    // void* tspyNewAsyncReport(int severity, bool sync_log, bool timed_log, size_t log_msg_count);
    long tspyNewAsyncReport(int severity, boolean sync_log, boolean timed_log, int log_msg_count);

    // void* tspyNewTSProcessor(void* report);
    long tspyNewTSProcessor(long report_pointer);

    // bool tspyStartTSProcessor(void* tsp, const tspyTSProcessorArgs* args, const uint8_t* plugins, size_t plugins_size);
    boolean tspyStartTSProcessor(long tsp_address,long args, byte[] plugins,int size_of_plugins);

    // void tspyWaitTSProcessor(void* tsp);
    void tspyWaitTSProcessor(long tsp_address);

    // void tspyTerminateAsyncReport(void* report);
    void tspyTerminateAsyncReport(long report_pointer);

}

I hope that we could developed as you mentioned.
Let me know if you like to have your main classes
Thank you so much for your great project
Taha

Java bindings are now available, starting with version 3.25-2163. See an overview here. They are functionally identical to the Python bindings but use a clean JNI interface, not the dirty hack of Python bindings. To use them, either rebuild from the repo or fetch the latest nightly builds.

Java bindings are now available, starting with version 3.25-2163. See an overview here. They are functionally identical to the Python bindings but use a clean JNI interface, not the dirty hack of Python bindings. To use them, either rebuild from the repo or fetch the latest nightly builds.

such a great work
we are so thanksful

such a great work
we are so thanksful

Automatically closed after 595 days without update and "close pending" label set.


Content tree is showing shadow pages on page exit

Hey Sulu Team,
since i last updated to the latest dev-develop version, a new bug occours. Looks like if i enter a contentpage and exit it over the sulu back button, all pages under that tree look like shadow pages.
After switching to another tree and back everything is normal again. I dont change the language or something like that.

@berndhep this doesn`t happen within the master branch therefor this is no HOTFIX.

the PR from @dantleech https://github.com/sulu-io/sulu-document-manager/pull/46 should fix this issue


Exe not opening

When I try to open the exe file this shows up

Yeah got the same problem

What country are u from?

What country are u from?

I solved it its from the antivirus (turkey)


Updating fx2nl parameters with range

Updating fx2nl parameters with optional range. This will be utilized by the explain this v2 feature, where range of user selection will be passed along with the full expression.

✅ No public API change.

✅ No public API change.

✅ No public API change.


Issue #1 : use felix plugin to add OSGi metadata during build

@ljacomet : I just added the basic information, just like you did for offheap-store; it should be enough since this module does not depend on anything, and it is a module that only provides model.
On a side note : this module (management-model) is optional for core, but mandatory for 107 (since 107 requires management that itself requires terracotta-management)
Finally, I did not add anything to management-model-json, since we're discussing its deprecation atm.

go jenkins

Can one of the admins verify this patch?

test this please


Browsers::Base#to_h

Adds #to_h to Browsers::Base as an additional serialization method which is potentially useful when dumping request state when handling requests and so forth.
Provides a generic implementation that specific browsers may wish to extend.
Relates to #2

Is this the sort of thing you were thinking of @MadBomber?

yep.  You betcha.  I even have a place-holder set just in case we did it.  Here is where I'm going to use it:
https://github.com/MadBomber/experiments/blob/master/rethinkdb/load_db.rb#L181
Thank you for implementing the feature so quickly.
Dewayne
o-*


See through background

Hey, thanks for making this theme!
IS it possible to make the background of the application to be see-through in linux, so I can see my OS background through it?

no


With ESP-AT release > v<IP_ADDRESS>_esp32c3 some AT+BLESCAN results are missing

With ESP-AT release > v<IP_ADDRESS>_esp32c3 (for example current master) some AT+BLESCAN results are missing.
With ESP-AT realese v<IP_ADDRESS>_esp32c3 AT+BLESCAN works correct.
Advertising interval for "ef:9e:fa:6e:65:cc" is round about 1 second.
Hardware
ESP32-C3-DevKitM-1

ESP-AT setup after AT+RESTORE
AT+BLEINIT=1
AT+BLESCANPARAM=0,0,0,0x30,0x30

AT+BLESCAN results with release v<IP_ADDRESS>_esp32c3 (works as expected)
2022-04-27 09:20:33 --> AT+BLESCAN=1,5,1,"ef:9e:fa:6e:65:cc"
2022-04-27 09:20:33 -->
2022-04-27 09:20:33 --> OK
2022-04-27 09:20:34 --> +BLESCAN:"ef:9e:fa:6e:65:cc",-33,0201061bff99040512ac43f0ca6dfffcfff003f8b3563f98ffef9efa6e65cc,,1
2022-04-27 09:20:35 --> +BLESCAN:"ef:9e:fa:6e:65:cc",-37,0201061bff99040512ab43ebca690000fff003fcb3563f9900ef9efa6e65cc,,1
2022-04-27 09:20:36 --> +BLESCAN:"ef:9e:fa:6e:65:cc",-44,0201061bff99040512ac43ebca680004fff40400b3563f9901ef9efa6e65cc,,1
2022-04-27 09:20:37 --> +BLESCAN:"ef:9e:fa:6e:65:cc",-44,0201061bff99040512ac43ebca680004fff40400b3563f9902ef9efa6e65cc,,1

AT+BLESCAN results with current master branch (5ccdf824ae58c490f174958bfba00fa0ecf7e80a)
(doesn't works as expected)
2022-04-27 09:19:41 --> AT+BLESCAN=1,5,1,"ef:9e:fa:6e:65:cc"
2022-04-27 09:19:41 -->
2022-04-27 09:19:41 --> OK
2022-04-27 09:19:45 --> +BLESCAN:"ef:9e:fa:6e:65:cc",-42,0201061bff99040512ae43fdca6a0004fffc03fcb4363f98ecef9efa6e65cc,,1

2022-04-27 09:19:51 --> AT+BLESCAN=1,5,1,"ef:9e:fa:6e:65:cc"
2022-04-27 09:19:51 -->
2022-04-27 09:19:51 --> OK

2022-04-27 09:20:05 --> AT+BLESCAN=1,5,1,"ef:9e:fa:6e:65:cc"
2022-04-27 09:20:05 -->
2022-04-27 09:20:05 --> OK

Closing due to inactivity. Please feel free to re-open or file a new issue if you have any more questions.


SkiaSharp could dispose objects too early

Skia objects, like SkiaSharp.SKPaint, have disposable Skia properties that are retrieved based on their underlying C++ objects. The C# owner class does not have any reference to the C# equivalent of this property. This could result in too early garbage collection of dependent objects. This dispose action will call the C# destructor and free all allocated memory while the property is still in use.
See for example the following scenario:

A new SkiaSharp.SKPaint instance is created
A Shader is set onto the SKPaint object
Garbage collection is triggered
The C# Shader class is garbage collected since it is not referenced anymore. All C++ shader resources are freed
A fatal crash will occur since the SKPaint is making use of the freed memory

An alternative fault situation:

A new SkiaSharp.SKPaint instance is created
A Shader is set onto the SKPaint object
The SKPaint instance is used
Garbage collection is triggered
The C# Shader class is garbage collected since it is not referenced anymore. All C++ shader resources are freed
The SKPaint object is disposed
A fatal crash occurs when the SKPaint instance tried to destruct the shader.

The SKPaint.Shader property:
public SKShader Shader
{
  get => SKShader.GetObject(SkiaApi.sk_paint_get_shader(this.Handle));
  set => SkiaApi.sk_paint_set_shader(this.Handle, value == null ? IntPtr.Zero : value.Handle);
}

The SkiaSharp.SKPaint class should hold a reference to the C# Shader to prevent garbage collection.
An example of the alternative situation, this results in the following fatal crash:

Version information:

SkiaSharp version 2.80.3

I too am getting the same error with LiveCharts2 for MAUI on WinUI/UWP.

v<IP_ADDRESS>
net6.0-windows10.0.19041.0\win10-x64\AppX\SkiaSharp.Views.Windows.dll


Update Node engine to 7.6.0 or higher

The engine versions, Travis versions, and recommended version from the readme should be consistent.
From the readme:

Koa requires node v7.6.0 or higher for ES2015 and async function support.

https://github.com/koajs/koa/pull/1040

I disagree with allowing Node 4, it's best practice to not require your users to use a preprocessor for any supported engine versions. The other engine constraints (^6.10.1 || ^7.10.1 || >= 8.1.4) are just to avoid vulnerabilities, right?

So you think Koa should break all users who do transpile down to node 4?

As far as I'm aware, npm now allows installations with invalid Node engine versions by default (it used to break them). It should display a warning, which I think could be a helpful reminder that those users should try a transpiler. Does this sound fair?

@nickmccurdy As I know, yarn will break on invalid Node engine versions.
https://yarnpkg.com/lang/en/docs/package-json/#toc-engines

Thanks, I didn't know that it was intentional to have Node 6 supported in engines. I'll change this PR to make the documentation and test matrix more consistent instead, leaving engines alone.

Nevermind, a discussion on this first would be better. Opened #1051.