Expected cost posting is sort of incomplete

Hi there,
at an inventory costing training, after explaining how it works, I almost immediatily got the question: "Why are there no expected costs for item charges?" That is quite right from an accountant's point of view. You could argue that the charges are negligible, but that's not always the case. For example, when the charges are part of the purchase pricing, like copper markup. You receive the goods, post expected cost, and these are (significantly) too low for this type of transaction. And it's not an immaterial transaction either.
So, as a proposal for future improvements, could you please add expected cost value entries for assigned item charges when shipping/receiving? That would increase consistency of the inventory costing, and it would make the product more useful.
with best regards
Jens Glathe

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

ID: f2ccece1-62ee-270b-cd61-5ab3cf7424ef
Version Independent ID: d1613f1f-79ba-8750-ce7f-24be54189005
Content: Design Details - Expected Cost Posting - Dynamics NAV App
Content Source: dynamics-nav-app/design-details-expected-cost-posting.md
Product: dynamics-nav-2018
GitHub Login: @SorenGP
Microsoft Alias: sgroespe

Hi jglathe,
Thank you for your feedback! You can suggest features like this for both Dynamics NAV and Dynamics 365 Business Central here: https://experience.dynamics.com/ideas/

Hi @edupont04 ,
the "product" label appears to be meaningless. I followed the link, wriggled through all the profile update pages, and found... another forum where ideas go to die? I have seen too many of these. Why not use github and some sort of AI to collect these automatically?
with best regards
Jens Glathe

Hi Jens,
We use the product label here in the documentation repo as a way for us to keep track of what the various issues are really about.
Features suggested on the Ideas site are automatically picked up and added to the product team's backlog if they reach a specific number of votes. That's why I and the rest of the writing team prefer to ask you to submit your feature requests on the Ideas site.

Hi @edupont04 ,
I was obedient, searched for the appropriate similar idea, added a vote and a link / comment to it. Sounds not really optimized, though ;)
with best regards
Jens Glathe


Simplify the transaction resend logic

This PR aims to untangle some of the logic involved with automatically resending transactions.
It was done to be part of issue https://github.com/jpmorganchase/tessera/issues/529, and does accomplish the main task of the issue (to avoid resending infinitely), but will still classes two peers with the same url, save for the "/", to be different and thus call resend twice. A followup PR will address that and resolve the issue entirely.
Instead of having to find new parties when receiving a request to "/resend" and pushing the parties into the resend queue, the poller now maintains its own list of parties it has seen, and pulls parties periodically from the internal party info store.
This way, the PartyInfoPoller/Service do not need to know anything about resending, only the opposite (resending needs to know about PartyInfoPoller/Service, which was already true anyway).

Codecov Report

Merging #572 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #572      +/-   ##
============================================
- Coverage     99.49%   99.49%   -0.01%
+ Complexity     1481     1479       -2
============================================
  Files           238      238
  Lines          4546     4535      -11
  Branches        227      227
============================================
- Hits           4523     4512      -11
  Misses            2        2
  Partials         21       21

Impacted Files
Coverage Δ
Complexity Δ

.../java/com/quorum/tessera/node/PartyInfoPoller.java
100% <100%> (ø)
8 <4> (-1)
:arrow_down:

.../main/java/com/quorum/tessera/sync/SyncPoller.java
100% <100%> (ø)
9 <2> (ø)
:arrow_down:

.../com/quorum/tessera/sync/ResendPartyStoreImpl.java
100% <100%> (ø)
6 <2> (ø)
:arrow_down:

.../quorum/tessera/sync/TransactionRequesterImpl.java
100% <100%> (ø)
8 <2> (ø)
:arrow_down:

.../com/quorum/tessera/node/PartyInfoServiceImpl.java
100% <100%> (ø)
12 <2> (-1)
:arrow_down:

Continue to review full report at Codecov.

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


Doc, scroll to top in Table page when clicking pagination numbers

Please visit the url: https://oruga-ui.com/components/Table.html#async
click on any page number, you get a scroll to top effect in page, really annoying.
I'm using latest Chrome version (121)

I encountered this problem already. It comes from using the a tag without any href attribut inside the component. I already changed some like this in the datepicker components to button.
However, good determination I will fix this too :)


Colab notebook issue with paths

Hello, Colab notebook fails with the following error: '/usr/users/henrich1/TreeLearn/work_dirs/train/epoch_1180.pth'. I think some path fixing is needed :)

Also, related to this, where could I get the model needed for the segmentation? Can't seem to find the *.pth

@jonaden94

We just updated the google colab notebook and repository, and would expect it to work now. The new and best model weights are available from https://data.goettingen-research-online.de/file.xhtml?persistentId=doi:10.25625/VPMPID/1JMEQV&version=4.0. Alternatively, you can download them using the python command given in the Readme: python tree_learn/util/download.py --dataset_name model_weights_diverse_training_data --root_folder data/model_weights
Please let us know, if there are still issues.

Hi - I'm not able to download the latest checkpoints. The goettingen-research-online website resets after 25%. Are there any mirrors?


Formatting strips 'local' animation modifiers

When svelte.plugin.svelte.format.enable is set to true (the default), saving a file with animation modifiers:
<p transition:fade|local>
    fades in and out only when y changes
</p>

results in the modifier (local in this case) being stripped off, resulting in this:
<p transition:fade>
    fades in and out only when y changes
</p>

should be fixed in v0.9.2

Yes, seems to - thanks for the fix


Implement comments/system links in Entry Information Page

As above.

Ready for testing in test3

Ability to view comments on entry information page.

Example of a Record with a comment:
First Name: John
Surname: Callum
Event Type: Birth
Event Date: September 1940
Volume: 9a
Page: 898

Hi @Vino-S
Out of interest I searched for that record on test3, it works as expected and has it's comments.
I also searched for the names given in issue #308: marriage(s) of William R Betts (1950) - wife has two surnames; marriage of Richard George Alcock (1881) and birth of Edith Alcock (1891) and those are also working as expected in respect of their comments.
I've not checked any Late Entries, yet.
I'll try and find some comments of the form "COMMENT(4) entry reads Smith or JONES for mother's name & handwritten amendment of crossed out Page No. 1950", but these may not be very common in records  older than the 1970s. [That  obviously means there are four consecutive records with the same comment, rather than two consecutive records).
Presumably, Postems should also appear in that box, I'll try and find some Postems in that data set, but they are apparent quite rare: Barry made comments about that on a different issue.
This is going a bit off-issue: but none of those records have any scan references, so I can't check what is given against a scan.

Thanks @PhilipClarke712 for testing. I am working on Late Entries. I will let you know once it is ready for testing.


Initialize moving averages by the first applied value rather than 0

Currently hidden moving averages are initialized by 0. If the decay is large, it takes a lot of time for the moving average variable to forget about initial zero value. It would be much more reasonable to initialize by the first obtained value of the observed variable, and then start to apply decay. In this case the initial initialization is not required anymore, so the variable can be removed from the "assert_variables_initialized" list

I can't reproduce what you're seeing. Could you add a small code snippet to repro?
tf.reset_default_graph()
sess = tf.InteractiveSession()

x = tf.Variable(3.0)
ema = tf.train.ExponentialMovingAverage(0.9)
maintain_averages_op = ema.apply([x])

sess.run(tf.initialize_all_variables())
sess.run(x.assign(x+1.0))
sess.run(maintain_averages_op)
print 'x', sess.run(x)
print 'avg', sess.run(ema.average(x))

This returns:
x 4.0
avg 3.1

@sdemyanov is probably using a Tensor in the moving average rather than a Variable, since the documentation for tf.train.ExponentialMovingAverage.apply specifies that "For Tensor objects, the shadow variables are initialized to 0."

Yes, I have the same problem with @sdemyanov. Doing batch normalization using tf.nn.moments and initializing to zero as a big problem in my case.

Automatically closing due to lack of recent activity. Please reopen when further information becomes available.

the same question.

@tarikarici, @sdemyanov, @CosmosShadow, did you try @golmschenk's suggestion? Could one of you provide a small reproducing snippet if you want us to look at it further.

Closing due to lack of activity.

I am running into the same problem. Here is a minimum example:
tf.reset_default_graph()
sess = tf.InteractiveSession()

x = tf.identity(tf.Variable(3.0))
ema = tf.train.ExponentialMovingAverage(0.9)
maintain_averages_op = ema.apply([x])

sess.run(tf.initialize_all_variables())
sess.run(maintain_averages_op)
print('x', sess.run(x))
print('avg', sess.run(ema.average(x)))

This returns
x 3.0
avg 0.3

Guys, the issue was resolved by zero_debias=True parameter. Just use that one.

@sdemyanov Thanks! I completely misunderstood this parameter.


Add new fields contract abi

Closes #35

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

10 of 10 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 91.077%

Totals

Change from base Build<PHONE_NUMBER>4:
0.3%

Covered Lines:
541

Relevant Lines:
594

💛  - Coveralls


 We should either optimize it or provide an alternative script written in a faster language (e.g., Python) that we can use when support is available on the local platform.

#190 Brings the execution duration from ~10.6s to ~4.1s. It's unclear how much more opportunity for optimization there is, since the majority of that time is taken in a single necessary git log call.


typing any for Scatterplot and Lineplot Vizs

This will address https://github.com/VEuPathDB/web-eda/issues/1488.
It would be great if you can review and make any suggestions, if necessary, @dmfalke 👍

Thank you for your detailed comments and suggestions, @dmfalke 👍 I will probably take care of them tomorrow (technically today as it passed 12AM 😅)

@dmfalke Thanks again for valuable comments. All feedbacks are addressed~


doc/LICENSE.txt => LICENSE

From issue #482
I changed "docs/LICENSE.txt" to "LICENSE" in the header for files in tests/, scripts/, sandbox/, lib/

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Jenkins, okay to test

Jenkins, ok to test

[ ] Is it mergeable?
[X] Did it pass the tests?
[X] If it introduces new functionality in scripts/ is it tested? (no)
Check for code coverage with make clean diff-cover
[X] Is it well formatted? Look at make pep8, make diff_pylint_report,
make cppcheck, and make doc output. Use make format and manual
fixing as needed.
[X] Did it change the command-line interface? (no) Only additions are allowed
without a major version increment. Changing file formats also requires a
major version number increment.
[X] Is it documented in the ChangeLog?
http://en.wikipedia.org/wiki/Changelog#Format
[X] Was a spellchecker run on the source code and documentation after
changes were made?

@mr-c ready for review!

Hey @scottsievert, an extra file krept in: sandbox/tmpMZWLFfkhmer/V1.UC-14.trimmed.fa.gz.pass2

Otherwise this looks good to me.

ping @scottsievert

This PR does not feel important and I'm busy with school.
On Tue, May 12, 2015 at 6:33 AM, C. Titus Brown<EMAIL_ADDRESS>wrote:

ping @scottsievert
Reply to this email directly or view it on GitHub:
https://github.com/ged-lab/khmer/pull/928#issuecomment-101246270

On Tue, May 12, 2015 at 08:07:50AM -0700, Scott S. wrote:

This PR does not feel important and I'm busy with school.

ok, we'll take it over - thanks for letting us know!

I removed the extra files added to sandbox and resolved the merge conflicts.
@scottsievert Congratulations on your first commit to the khmer project! Your name will be included in the release notes for the next version and you'll be listed amongst our other contributors in the next software release paper.


Missing info re: pkcs#12 / .pfx import

Since .pfx is one of the 2 supported file extensions, it would be beneficial to spell out that such files should be in pkcs#12 format. There is already section entitled "Formats of Import we support" which covers that .pem files should be in pkcs#8 format (and what that means). This blog post is how I finally was able to ensure the format of my cert aligned with the import expectations.

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

ID: f1f966c6-f99b-c7a6-45c1-0a3a3794204e
Version Independent ID: 3f232567-844c-5891-4848-bf17e303c1d0
Content: Get started with Key Vault certificates
Content Source: articles/key-vault/certificates/certificate-scenarios.md
Service: key-vault
Sub-service: certificates
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

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


[fpga] Support memory scrambling in boot ROM splicing script

Our boot ROM splicing script under util/fpga/splice_nexysvideo.sh doesn't work anymore due to modified layout resulting from scrambling the boot ROM. This script has proven pretty helpful in the past to debug issues around the boot ROM and FPGA builds and I was wondering if we could reactivate that on the ChipWhisperer CW310 FPGA board.
Looking at the script, it looks like the main challenge is to produce the .brammem image from the scrambled ROM. Previously, we were feeding the .bin to srec_cat which did some magic. But if I understand it correctly, the .bin is not yet scrambled and doesn't contain the ECC bits. Can we do the same starting from the scrambled scr.39.vmem @rswarbrick , @imphil?

See also https://github.com/lowRISC/opentitan/pull/1618
If you need another output format, you can modify the meson rules at https://github.com/lowRISC/opentitan/blob/master/sw/device/boot_rom/meson.build and https://github.com/lowRISC/opentitan/blob/3b38e95591eeb7d979c79d655dfeb40049537758/sw/device/meson.build

Thanks for your input @imphil . I've rebased PR #1618 and top of that (re-)enabled boot ROM splicing for scrambled and unscrambled boot ROMs. I've directly pushed back into #1618 .

#1618 has been merged, we now have support from splicing scrambled boot ROMs :-)


Create starter download for Tutorial: Create a gRPC client and server

Download the sample code (in Zip).
Run the server
Run the client
Explain the server code
Explain the client
Modify the client and test (Not in original)
Modify the server and test (Not in original)
How to create the client and server
The original tutorial goes here, minus the run/test stuff.
See https://docs.microsoft.com/en-us/samples/aspnet/AspNetCore.Docs/create-grpc-client/ which uses our new samples capability.
The current tutorial is just cook book steps to create the samples with very little info o n gRPC programming.

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

ID: 1d298a6c-8ddc-dbc8-d219-0fa7138442c2
Version Independent ID: b96be346-958a-cfcd-d80a-c352d64223e8
Content: Create a .NET Core gRPC client and server in ASP.NET Core
Content Source: aspnetcore/tutorials/grpc/grpc-start.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @JunTaoLuo
Microsoft Alias: johluo

dup of #13991


Add Simple HDF5 Backed Caching Utility

Adds a simple @hdf_cache decorator for use by methods that return pandas.DataFrame. The HDF5 file and dataset keys are set by the user when the method is called. The decorator wraps the original method and looks for special arguments (hdf_cache_path and hdf_cache_key) used to save the dataframe to a file. If a wrapped method is called without these arguments a UserWarning is raised.
I consider this the first of many possible caching utilities we could implement for DataFrame or other objects. This PR is mostly the result of growing personal resentment I had rewriting this code for the nth time in my own workflows. This design pattern is suited to data science workflows where the results of long running processes are saved to interim files for later retrieval during development and data exploration.
Additions

hydrotools.utilities subpackage
hydrotools.utilities.hdf_cache module containing the @hdf_cache decorator function
hydrotools.utilities.stock_dataframes containing a random_dataframe method that demonstrates use of the @hdf_cache decorator

Removals

None

Changes

None

Testing

test_stock_dataframes and test_hdf_cache test various permutations of cached and non-cached calls, as well as warnings that are raised.

Notes

None

Todos

None. Perhaps develop criteria to determine what makes a good candidate "utility"

Checklist

[x] PR has an informative and human-readable title
[x] PR is well outlined and documented. See #12 for an example
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows project standards (see CONTRIBUTING.md)
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output) using numpy docstring formatting
[x] Placeholder code is flagged / future todos are captured in comments
[x] Reviewers requested with the Reviewers tool :arrow_right:

I really like the idea of an HDF5 cache, however I think we can make some improvements to the semantics of the decorator and also a context manager. As it sits now, my main concern with the decorator implementation is the loss of type hints post decoration. Meaning that the hdf_cache_path and hdf_cache_key are implicit kwargs that the user has no clue exists by way of type hints.
import inspect

from hydrotools.utilites.stock_dataframes import random_dataframe

print(inspect.signature(random_dataframe)
# returns,
(start: Union[pd.Timestamp, str] = '1970-01-01T01',
rows: int = 10,
freq: Union[str, pd.tseries.offsets.DateOffset] = '1H',
float_column_name: Union[str, List[str]] = ['value'],
datetime_column_name: str = "value_time")

As such, the hdf_cache_path and hdf_cache_key kwargs are implicit to the function signature.
Ive been using the forge  to get around a similar problem in my fork of _restclient. In short, the forge library lets you forge the signature of a method (adding args from another method, remove an arg, binding a default arg value to a method, etc.).
For example:
from functools import wraps
from typing import Callable
import forge

def append_signature(target: Callable, *, include=None, exclude=None):
    def dec(func: Callable):
        @wraps(func)
        @forge.compose(
            forge.copy(target, include=include, exclude=exclude), # copy target function signature
            forge.insert(forge.fsignature(func), index=0), # prepend signature of func to target function signature
        )
        def inner(*args, **kwargs):
            # will need to adjust things here to get `target` to work.
            # Its probably best to make an aggregate decorator that appends the signature
            # the applies the functionality of `target` to `func` all in one aggregate decorator
            return func(*args, **kwargs)

        return inner

    return dec

def cache(func: Callable, *, key=None, path=None):
    r = func()

    if key is not None and path is not None:
      # do cache stuff
      pass

    return r

@append_signature(cache, exclude="func")
def work(x: int, y: int):
  return x + y

import inspect
print(inspect.signature(work))
# returns,
(x: int, y: int, *, key=None, path=None)

In this form, type hints are maintained and append_signature is generalized so it could be used as its own utility. Personally, I like the idea of either including generalized decorators in this utilities subpackage or breaking them out into a different subpackage. The only thing missing here is creating a dynamic docstring, meaning help(work) still would not include any information about the key and path args, if cache were to have a docstring. That sounds like another decorator to me, but it again, sounds like a good candidate for this or another subpackage.
With all of the above being said, I think it would be nice to capture caching functionality in a context manager. I am thinking something like:
with hdf5cache(key="key", path="/my/path/store.h5") as cache:
  # some intensive work
  df = tae_bo()
  cache.write(df)

In the above example, a context manager would define a transaction to the hdf5 store although it is limited a single transaction. I think we could mutually support the following:
with hdf5cache() as cache:
  for task in jobs:
    # some intensive work
    df = tae_bo(task)
    # write could be treated as a generator which work is yielded to
    cache.write(df, key="key", path="/my/path/store.h5")

We should be able to capture all of the above use cases (as decorator and context manager) through as class that implements the __call__, __enter__, and __exit__ dunder methods. What are your thoughts?

Hmm, maybe "cache" was the wrong term to use for what this is supposed to do. The use-case I was considering was running and re-running long computational or data processing workflows. The idea of this feature is that you have a function that produces a DataFrame from a long process. You key that long process to a dataframe in an HDF file, so that every time you call that function it only runs the long process if the DataFrame is not in the HDF file. This could be easily implemented just by surrounding every function call with the code inside the decorator function, but I was trying to implement some syntactical sugar to avoid having to rewrite that code everywhere.
I'll mull over the design pattern a bit more in the context of your recommendations.

Hmm, maybe "cache" was the wrong term to use for what this is supposed to do. The use-case I was considering was running and re-running long computational or data processing workflows. The idea of this feature is that you have a function that produces a DataFrame from a long process. You key that long process to a dataframe in an HDF file, so that every time you call that function it only runs the long process if the DataFrame is not in the HDF file. This could be easily implemented just by surrounding every function call with the code inside the decorator function, but I was trying to implement some syntactical sugar to avoid having to rewrite that code everywhere.
I'll mull over the design pattern a bit more in the context of your recommendations.

Ah I see, no that would also be a cache, I guess technically a Memoization. I think calling it a cache is acceptable. I am thinking in the context of a cache that is time enabled, meaning after some time you recache the function call. What you described is what we need (IMO).

After extensive conversation with @aaraney I've decided to reimplement this a context manager.


Document.baseURI always undefined

use new DOMParser().parseFromString(html, 'text/html') to parse for a Document. But the baseURI is undefined after I add a base element to head.
    const base = doc.createElement('base')
    base.href = inputUrl
    doc.head.appendChild(base)

not really an interesting case for SSR, isn't it?

Done. Not much logic needed/involved, it felt OK to make this happen ... it's a lazy thing, hope you're good now 👋

Done. Not much logic needed/involved, it felt OK to make this happen ... it's a lazy thing, hope you're good now 👋

It's seems that there is somthing weird


⚠ Bofrost.at has degraded performance

In d56d6b5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1187 ms

Resolved: Bofrost.at performance has improved in 2a7e3f4 after 6 minutes.


SQL Server is picky about FETCH

SQL Server allows TOP to be used in a query with FETCH (great!)
... but it requires the specification of an ORDER BY and OFFSET n ROWS prior to FETCH FIRST (bummer). FETCH NEXT is also supported. ROWS can be swapped out with ROW for both OFFSET and FETCH NEXT clauses.
-- test table has 30 rows
-- This query works, and returns 40 rows
-- 10 from first query + 30 from second
select top 10 * from test
union all
select * from test
-- All the below is required for SQL Server's fetch first implementation to work
order by 1
offset 0 rows
fetch first 100 rows only

Decided I'm not going to support SQL Server


Error when running multiple instances

I get this error when running a 0.1.3 version and the new 0.1.4 version.

I am also the same , you get this error in the 0.1.5 version .
Want to know how to resolve.


refactor(engine): implement basic command hashing for Python protocols

Overview
Add very basic proof of concept command hashing for PAPI ProtocolEngine core run log support. Should not interfere with PAPIv2 nor JSONv6

Changelog

Review requests

Risk assessment

Current dependencies on/for this PR:

edge

PR #11668   👈

This comment was auto-generated by Graphite.

Nice! 📈
In the future, I'd favor a structure like this:

opentrons.protocol_engine would expose hash_command_params() as a public function.
opentrons.protocol_api.core.engine would specify an explicit key for every Protocol Engine command that it issues. It would call opentrons.protocol_engine.hash_command_params() to help compute this.

I view this as a Python-specific concern, since this command linkage problem fundamentally doesn't exist in Labware Position Check or in JSON protocols. So it'd be nice if we could keep the common Protocol Engine internals unconcerned with it.


How to create multiple windows in multiple monitors?

Bevy version
main branch (lastest commit is cd447fb4e68716fb908158ab9ca64d13746a6b97).
[Optional] Relevant system information
AdapterInfo { name: "Apple M1", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.0 ", kernel: "22.1.0", cpu: "Apple M1", core_count: "8", memory: "16.0 GiB" }
[DisplayInfo { id: 1, x: 0, y: 0, width: 1440, height: 900, rotation: 0.0, scale_factor: 2.0, is_primary: true }, DisplayInfo { id: 2, x: -264, y: -1080, width: 1920, height: 1080, rotation: 0.0, scale_factor: 1.0, is_primary: false }]
What you did
I'm trying to run offical example multiple_windows and want second window putted on second monitor. I tried
    let second_window = commands
        .spawn(Window {
            title: "Second window".to_owned(),
            position: WindowPosition::At(IVec2::new(-264, -1080)),
            resolution: WindowResolution::new(1920., 1080.),
            ..default()
        })
        .id();

and
    let second_window = commands
        .spawn(Window {
            title: "Second window".to_owned(),
            position: WindowPosition::Centered(MonitorSelection::Index(1)),   // I tried 0,1,2,3 here
            resolution: WindowResolution::new(1920., 1080.),
            ..default()
        })
        .id();

What went wrong
The second window is always on my primary monitor.

Hi, @aevyrie , could you give a look at this? I can put second window on second monitor when using bevy 0.9.1. I'm not sure if windows as entities pr breaks this or something I missed.

Hi, @aceeri , could you give a look at this? I can put second window on second monitor when using bevy 0.9.1. I'm not sure if windows as entities pr breaks this or something I missed.

I'll double check that this works, never really tested it specifically myself just took existing code.

@lewiszlw Would you mind posting the logs from running the code with position: WindowPosition::Centered(MonitorSelection::Index(1)),?

2023-02-16T08:38:20.479995Z  INFO bevy_render::renderer: AdapterInfo { name: "Apple M1", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
2023-02-16T08:38:20.905247Z  INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-02-16T08:38:21.086569Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "MacOS 13.0 ", kernel: "22.1.0", cpu: "Apple M1", core_count: "8", memory: "16.0 GiB" }
2023-02-16T08:38:21.212242Z  INFO bevy_winit::system: Creating new window "Second window" (4v0)
2023-02-16T08:38:27.260902Z  INFO bevy_winit::system: Closing window 0v0
2023-02-16T08:38:27.316784Z  WARN bevy_winit: Window 0v0 is missing `Window` component, skipping event Destroyed
2023-02-16T08:38:28.674905Z  INFO bevy_window::system: No windows are open, exiting
2023-02-16T08:38:28.677308Z  INFO bevy_winit::system: Closing window 4v0

@lewiszlw Would you be open to debugging this further on your end? Can ask me any questions about the windowing code in general.

Sure, I'll try a deep dive.

I have some findings @Aceeri

When I put primary window on primary monitor, if I set a negative number (ex. -200) to Y of position of the second window, the second window will be created on bottom of my primary monitor rather than second monitor (seems the second monitor wasn't detected).
When I put primary window on second monitor, if I set a negative number to Y of position of the second window, the second window will be created on second monitor as expected.

Seems the process behind creating primary window on second monitor will init somthing for the second monitor.
This is my monitors arrangement.

Hmm, this makes me think we either are or aren't flipping the coordinate space for position in the y direction.

I tried winit multiwindow example, everything works fine.

There are some talk in https://github.com/bevyengine/bevy/pull/6526, maybe helpful.

Can't seem to repro this still, tried moving my monitors around to be in a similar set up but it seems to work fine hmm

I've run into the same problem on bevy 0.12.0
SystemInfo { os: "MacOS 14.1.1 ", kernel: "23.1.0", cpu: "Apple M1 Pro", core_count: "8", memory: "16.0 GiB" }
AdapterInfo { name: "Apple M1 Pro", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

I think the method is like you pasted, setting position field.

@DrewRidley Did you manage to get the window to show up on the second monitor?
This configuration is still not working on M1 Mac:
.set(WindowPlugin {
    primary_window: Some(Window {
        mode: bevy::window::WindowMode::Fullscreen,
        resizable: false,
        position: WindowPosition::Centered(MonitorSelection::Index(1)),
        ..default()
    }),
    ..default()
}),

No matter what the value of the index, the window only shows up on the primary display.

This is also an issue for me. M3 Macbook
It seems to be dependent on what terminal is active, in which monitor, when compilation finishes/program runs

I just solved it for myself in macOS with current main git branch of bevy by using core-graphics = "0.23.1"
All you need  is get list of all your displays
pub fn get_active_displays() -> Result<Vec<CGDirectDisplayID>, String> {
    unsafe {
        let max_displays = 16; // Максимальное количество дисплеев для поиска
        let mut displays: Vec<CGDirectDisplayID> = vec![0; max_displays];
        let mut display_count: u32 = 0;

        let result = CGGetActiveDisplayList(
            max_displays as u32,
            displays.as_mut_ptr(),
            &mut display_count,
        );

        if result != 0 {
            return Err("Failed to get active displays".to_string());
        }

        displays.truncate(display_count as usize);
        Ok(displays)
    }
}

Then you can iterate the vector of display ids and call
fn get_display_size(display_id: CGDirectDisplayID) -> Result<(u32, u32), String> {
    unsafe {
        let width = CGDisplayPixelsWide(display_id);
        let height = CGDisplayPixelsHigh(display_id);

        if width == 0 || height == 0 {
            return Err("Failed to get display dimensions".to_string());
        }

        Ok((width as u32, height as u32))
    }
}

Now all you need is iterate the current list of monitors in monitor selection and check if any window
pub fn monitor_select_system(
    mut commands: Commands,
    monitors: Query<(Entity, &Monitor)>,
) {
       let display_list = get_active_displays();
       let id_of_display_i_need = //here you can find the display you want to contain new window. You can do this by checking the display size with function get_display_size, or any other way you want. For example, CGDisplay contains such functions as isBuiltin isMain and many other. Just don't forget to check the results of functions with is_some() and unwrap the results to get the real value.
       let display_i_need = CGDisplay::new(id_of_display_i_need)
      //Now lets find the monitor entity
      let monitor_entity = monitors
            .iter()
            .find(|(_, monitor)| {
                monitor.physical_height as u64 == display_i_need.pixels_high()
                    && monitor.physical_width as u64 == display_i_need.pixels_wide()
            })
            .map(|(entity, _)| entity);
      //Check if entity was successfully found and create a new window (Primary in this example)
      if monitor_entity.is_some() {
           commands.spawn((
               Window {
                   present_mode: PresentMode::Fifo,
                   mode: WindowMode::Fullscreen(MonitorSelection::Entity(monitor_entity.unwrap()));
                   ..default()
              },
              PrimaryWindow
            )).id();

       //Or if you want the window to be in windowed mode just set its position like this
           commands.spawn((
               Window {
                   present_mode: PresentMode::Fifo,
                   mode: WindowMode::Windowed,
                   position: WindowPosition::Centered(MonitorSelection::Entity(monitor_entity.unwrap()));
                   ..default()
              },
              PrimaryWindow
            )).id();
      }
}

Hope it will help someone

Hi @arahisman , this looks very promising but I can't seem to find where the Monitor struct in the monitor_select_system() query is supposed to be defined?

Hi @arahisman , this looks very promising but I can't seem to find where the Monitor struct in the monitor_select_system() query is supposed to be defined?

Hi! This functionality was added in the new version of bevy 0.15.x. Here's a code example from my application for ar-glasses:
pub fn update_primary_window_position(
    mut commands: Commands,
    monitors_added: Query<(Entity, &Monitor)>,
    display_manager: ResMut<DisplayManager>,
    mut windows: Query<(Entity, &mut Window)>,
    mut window_state: ResMut<WindowState>,
) {
    if let Some(glasses_display_id) = display_manager.glasses_display {
        let glasses_display = CGDisplay::new(glasses_display_id);
        let glasses_monitor_entity = monitors_added
            .iter()
            .find(|(_, monitor)| {
                monitor.physical_height as u64 == glasses_display.pixels_high()
                    && monitor.physical_width as u64 == glasses_display.pixels_wide()
            })
            .map(|(entity, _)| entity);
        let glasses_monitor = monitors_added
            .iter()
            .find(|(_, monitor)| {
                monitor.physical_height as u64 == glasses_display.pixels_high()
                    && monitor.physical_width as u64 == glasses_display.pixels_wide()
            })
            .map(|(_, monitor)| monitor);

        let primary_window_entity = window_state.primary;
        if let Ok((_, mut window)) = windows.get_mut(primary_window_entity) {
            if glasses_monitor_entity.is_some() {
                if window.position
                    != WindowPosition::Centered(MonitorSelection::Entity(
                        glasses_monitor_entity.unwrap(),
                    ))
                {
                    println!(
                        "glasses monitor position {:?} primary window position {:?}",
                        glasses_monitor.unwrap().physical_position,
                        window.position
                    );
                    window.position = WindowPosition::Centered(MonitorSelection::Entity(
                        glasses_monitor_entity.unwrap(),
                    ));
                    window.mode =
                             WindowMode::BorderlessFullscreen(MonitorSelection::Entity(glasses_monitor_entity.unwrap()));
                    window.decorations = false;
                    window.transparent = true;
                    window.composite_alpha_mode = CompositeAlphaMode::Auto;
                }
            } else {
            }
        }
    }
}

WindowState is the resource that contains a window entity
#[derive(Resource)]
struct WindowState {
    primary: Entity,
    secondary: Vec<Entity>,
}

fn setup:
 let primary_window = commands
        .spawn((
            Window {
                composite_alpha_mode: CompositeAlphaMode::Auto,
                present_mode: PresentMode::Fifo,
                mode: WindowMode::Windowed,
                ..default()
            },
            PrimaryWindow,
        ))
        .id();
    commands.insert_resource(WindowState::new(primary_window));


[New Feature]: Product API Endpoints for Small Dataset

Acceptance Criteria
Need an endpoint that serves the list of products that are available in the mock data.
Need an endpoint that queries for a single product and returns the information for that product.
Need an endpoint that returns a list of products that start with a search query.
Considerations
What is the structure of the request?
Area of Focus
Backend

Moved the dataset to an AWS hosted DynamoDB database and put API Gateway and lambda in front of it.  Reconfigured app to call the api gateway
Probably should have gone with DocumentDB in hindsight for better searching capabilities
Lambda can easily be modified to filter out results


pkg/derivation: Use unsafe to cast from []byte to string

This ensures no copying.
The following test program:
package main

import (
	"bytes"
	"fmt"
	"io"
	"os"
	"testing"
	"time"

	"github.com/nix-community/go-nix/pkg/derivation"
)

func main() {

	drvPath := "/nix/store/lfb109iifgph2xa94aps13n2w8bpbqsq-texlive-combined-full-2021-final.drv"

	n := 50

	derivationFile, err := os.Open(drvPath)
	if err != nil {
		panic(err)
	}

	drvBytes, err := io.ReadAll(derivationFile)
	if err != nil {
		panic(err)
	}

	{
		start := time.Now()

		for i := 0; i < n; i++ {
			_, err := derivation.ReadDerivation(bytes.NewReader(drvBytes))
			if err != nil {
				panic(err)
			}
		}

		fmt.Println(time.Since(start) / time.Duration(n))
	}

	fmt.Println("Allocs:", int(testing.AllocsPerRun(n, func() {
		_, err := derivation.ReadDerivation(bytes.NewReader(drvBytes))
		if err != nil {
			panic(err)
		}
	})))

}

Yields these numbers:

Before:

13.011372ms
Allocs: 27305

After:

12.119679ms
Allocs: 19537

Are you 100% sure the []byte always contains only UTF-8?

Are you 100% sure the []byte always contains UTF-8?

That's a good point. I think realistically it always does but I've added a few test cases for other expressions with different encodings.
These actually fail when applied on master but passes here, presumably because on master these are erroneously decoded as utf-8 but here we'll just treat the bytes as utf-8 regardless.

This might be git playing tricks - we should probably mark everything inside test/testdata as binary, to ensure any (wrong) binary encoding gets preserved.
@adisbladis can you edit /.gitattributes and see if this changes things?

This might be git playing tricks - we should probably mark everything inside test/testdata as binary, to ensure any (wrong) binary encoding gets preserved.
@adisbladis can you edit /.gitattributes and see if this changes things?

Done.


Update for ES 2.2.1

Could you provide an update for ES 2.2.1 as last release is not compatible with it?

ES 2.3.1 is out as well


Add a new checkbox component

💬 Description
A new GCDS friendly checkbox component.
The component itself is absolutely tiny, we do all the heavy lifting in the scss. Since we have to do a lot of really precise positioning and sizing you'll see some non tailwind styles, adding theme config for these didn't feel right since its all really specific, i.e. to make our checkmark appear in the right place. Of course, the important/reusable stuff like colours are all tailwind.
Radio buttons up next!
📹 GIF (optional)
http://g.recordit.co/wpBE6KhH92.gif
✅ Checklist

[ ] Tests written
[ ] Browser tested
[ ] Added to documentation
[ ] Added to storybook

 Add custom radio / checkbox UI to gather-ui


[Feature] Had more examples like pagination/filter/sorter/searchQuery?

Had more examples like pagination/filter/sorter/searchQuery?

fw


chore(PRDocs): Update Pull request Template

Overview
Updates the default pull request template with details on how to test Scene Composer Changes.
MInor additional tweaks:

Updated npm-publish and release-please workflows so they don't run if there aren't changes within the monorepo packages themselves.

Legal
This project is available under the Apache 2.0 License.

Is this good to go?

re-open if wanting to merge in


Add Cleaning Mode

Add an input boolean that puts the whole house in "Cleaning Mode".
Related to: #25
"Cleaning Mode" will change the function of some automations to help you clean the house.

Added in https://github.com/eliseomartelli/casa-martelli-config/commit/3cb06565bbabe9407c7d43a6b10cc7766b671077


Move remaining hostnames from route params to query params

A follow up to #3714 with the last services that still have url/server/host parameters specified as route params instead of query params:

[ ] Jenkins (build, coverage, and tests)
[ ] Mozilla Observatory

I think that's all of them but if anyone sees any others please update this list/leave a comment

Thanks for opening this.
For what it’s worth I don’t mind it on the Observatory badge as it’s just a hostname, and thus fits nicely into the URL. Though if you prefer to make them all query params I could get behind that.

For what it’s worth I don’t mind it on the Observatory badge as it’s just a hostname, and thus fits nicely into the URL.

Ah okay, I didn't actually look that closely 😄

Though if you prefer to make them all query params I could get behind that.

WFM

Will pick up the Jenkins badges.


Action tag in saying input is being deleted after a new saying is created

As title says

closed by https://github.com/samtecspg/articulate/commit/098a80771119e9f0d868b5f15364575342ec5a15

@dcalvom this still isn't working for me.

Are you sure isn't a browser issue?

This is my latest version:


Shitmed Update 1 - Forma de Goob

About the PR
I fixed some shitcode. Moved some things around to the _Shitmed namespace.
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Changelog
:cl: Mocho, Deltanedas

tweak: Cyborg arms/legs can now be used as suplementary body parts.
tweak: Entities now properly take asphyxiation damage after losing their brain.
tweak: Entities now perish after 60 seconds of losing their heart and/or brain.
fix: Items not being removed from their respective slots if the parts were gibbed rather than dropped.
fix: TORSOS NO LONGER DISAPPEAR, PRAISE BE THE LORD.
fix: Ghetto surgical tools are no longer faster than the advanced ones.
fix: Fixed Cavity Insertions not working due to shitcode.
fix: You can no longer reuse your organs over and over to abuse transplant healing.
fix: Organs are now properly "spent" once they've been used in a transplant surgery.

Summary by CodeRabbit
Release Notes

New Features

Introduced new components for managing organ interactions, including HeartSystem and DelayedDeathComponent.
Added new status effects and refined existing ones to enhance gameplay mechanics.

Improvements

Enhanced body and part gibbing logic for better control and event handling.
Updated various tools and weapons with new sound effects and attributes.

Bug Fixes

Improved error handling and control flow in surgery and organ management systems.

Documentation

Updated comments and documentation for clarity, reflecting the new branding and context changes from "GoobStation" to "Shitmed."

but what will happen with heartless/brainless dudes on a stasis bed? @gluesniffler

@Aidenkrz goobers are dying, billions of torsos are becoming invisible, only you can save them, merge button man

@Aidenkrz goobers are dying, billions of torsos are becoming invisible, only you can save them, merge button man

resolve conflicts :trollface:


Implemented resume function

I implemented a resume function for the CLI.
The function is based largely on the start function, but uses the description from the previously logged record. From my testing it behaves the same as start. If no records are found earlier in the day, an error message is given and functions returned.

Oh, it also looks like black has a new version with some new rules. You can fix them by running black .  with a recent version of black.  I can also do it in a new pr if you prefer.

I can try to fix the black thing.
Added your suggestions! Thanks for the time :D

Made a new release too.

Question: Why is there an error message if there is no task on the same day? I would prefer it would repeat the last task no matter how far away. Sometimes I work on huge tasks that spread through multiple days.
I would assume resuming a task behaves the same way like in the web version at least, meaning it would repeat the last task, no matter how old it is. Thoughts?

Good point. I can indeed imagine starting in the morning and wanting to resume what I was doing yesterday afternoon.
Even nicer would be to show multiple options (defaulting to the last).

Ahh, sorry @martin-braun
I did not realise that is the way it functions in web version. I still think that the best solution is the one proposed earlier though, where we can choose between a few options.


Byte slice converted with unsafe from string changes its address

This is a copy of this question https://stackoverflow.com/q/68401381/5516391 , because I convinced, that this looks like a compiler bug
I have this function to convert string to slice of bytes without copying
func StringToByteUnsafe(s string) []byte {
	strh := (*reflect.StringHeader)(unsafe.Pointer(&s))
	var sh reflect.SliceHeader
	sh.Data = strh.Data
	sh.Len = strh.Len
	sh.Cap = strh.Len
	return *(*[]byte)(unsafe.Pointer(&sh))
}

That works fine, but with very specific setup gives very strange behavior:
The setup is here: https://github.com/leviska/go-unsafe-gc/blob/main/pkg/pkg_test.go
What happens:

Create a byte slice
Convert it into temporary (rvalue) string and with unsafe convert it into byte slice again
Then, copy this slice (by reference)
Then, do something with the second slice inside goroutine
Print the pointers before and after

And I have this output on my linux mint laptop with go 1.16:
go test ./pkg -v -count=1
=== RUN   TestSomething
0xc000046720 123 0xc000046720 123
0xc000076f20 123 0xc000046721 z
--- PASS: TestSomething (0.84s)
PASS
ok      github.com/leviska/go-unsafe-gc/pkg     0.847s

So, the first slice magically changes its address, while the second isn't
If we replace the goroutine with runtime.GC() (and may be play with the code a little bit), we can get the both pointers to change the value (to the same one).
If we change the unsafe cast to just []byte() everything works without changing the addresses. Also, if we change it to the unsafe cast from here https://stackoverflow.com/a/66218124/5516391 everything works as expected.
func StringToByteUnsafe(str string) []byte { // this works fine
	var buf = *(*[]byte)(unsafe.Pointer(&str))
	(*reflect.SliceHeader)(unsafe.Pointer(&buf)).Cap = len(str)
	return buf
}

I run it with GOGC=off and got the same result. I run it with -race and got no errors.
If you run this as main package with main function, it seems to work correctly. Also if you remove the Convert function. My guess is that compiler optimizes stuff in this cases.
After playing with this code a little bit more, I think, that this can be a compiler bug or strange UB. Can you help me understand what's happening here? If it's not a bug, then

Why and how go runtime magically changes the address of the variable?
Why in concurentless case it can change both addresses, while in concurrent can't?
What's the difference between this unsafe cast and the cast from stackoverflow answer? Why it does work?

What version of Go are you using (go version)?

$ go version
go version go1.16.4 linux/amd64

What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/leviska/.cache/go-build"
GOENV="/home/leviska/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/leviska/go/pkg/mod"
GONOPROXY="gitlab.ozon.ru/*"
GONOSUMDB="gitlab.ozon.ru/*"
GOOS="linux"
GOPATH="/home/leviska/go"
GOPRIVATE="gitlab.ozon.ru/*"
GOPROXY="https://athens.s.o3.ru"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16.4"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/leviska/projects/seq-db/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2605705126=/tmp/go-build -gno-record-gcc-switches"

Your first version:
func StringToByteUnsafe(s string) []byte {
	strh := (*reflect.StringHeader)(unsafe.Pointer(&s))
	var sh reflect.SliceHeader
	sh.Data = strh.Data
	sh.Len = strh.Len
	sh.Cap = strh.Len
	return *(*[]byte)(unsafe.Pointer(&sh))
}

is invalid, as it uses reflect.SliceHeader as plain struct. You can run go vet on it, and go vet will warn you.

The backing store of a is allocated on stack, because it does not escape. And goroutine stacks can move dynamically. b, on the other hand, escapes to heap, because it is passed to another goroutine. In general, we don't  assume the address of an object don't change.
This works as intended. Thanks.
If you have further questions, you will get better answers if you ask on a forum rather than on the issue tracker. See https://golang.org/wiki/Questions. Thanks.


Not working on Sout East Asia Client

I use it on Riot VN client it doesn't work. can you update it?

I use it on Riot VN client it doesn't work. can you update it?

Hi :) What exactly is the "Riot VN client"?

it's LOL Southeast Asia

Sadly, the app will not be able to work in Southeast Asia.
The reason for that is, that LOL is run by Garena in Southeast Asia.
They are completely separate from Riot so i cannot use the Riot API to connect to League of Legends.
For that reason, there is no way for my App to work in that region. Sorry :(

now it's completely moved over to Riot. Garena didn't release LOL anymore

Oh, i see.
Then, the app should be working fine. Weird.
I will try to investigate.

Ok, so i just downloaded the VN Client (South East Asia) and tried the app.
Works fine for me :/

What Region & language are you using?

I don't understand why it still doesn't work for me

What Region and Language are you using?

Viet Nam and Vietnamese

Viet Nam and Vietnamese

When im installing League Of Legends, what do i need to choose here? There is no Vietnam here:

Scroll down and you'll see it eventually
Vào CN, 5 thg 2, 2023 lúc 8:13 CH Lasse Jacobsen @.***>
đã viết:

Viet Nam and Vietnamese
When im installing League Of Legends, what do i need to choose here? There
is no Vietnam here:
[image: image]
https://user-images.githubusercontent.com/8761463/216820969-fdf7b2e2-1d4e-4db0-98a7-3657f60e9524.png
—
Reply to this email directly, view it on GitHub
https://github.com/CubE135/LoL-SkinAnalyst/issues/1#issuecomment-1417804739,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPK4ICLW54VA5OAKITEMQTWV6ROHANCNFSM6AAAAAAUDMJ5PY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Look at my second Screenshot, i did scroll all the way down :)

https://lienminh.vnggames.com/dang-ky/
try it
Vào CN, 5 thg 2, 2023 lúc 8:18 CH Lasse Jacobsen @.***>
đã viết:

Look at my second Screenshot, i did scroll all the way down :)
—
Reply to this email directly, view it on GitHub
https://github.com/CubE135/LoL-SkinAnalyst/issues/1#issuecomment-1417818914,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPK4IAST4WJ6PQFL3P65CDWV6SEBANCNFSM6AAAAAAUDMJ5PY
.
You are receiving this because you authored the thread.Message ID:
@.***>

That is the one i downloaded and installed :P
Maybe i need a Vietnam VPN ^^

https://drive.google.com/file/d/1zwrKgqBTgiQEDX25CNWkx4awI53qB7MH/view?usp=sharing

While League Of Legends is opened, can you open a terminal or CMD and run this command? And post a screenshot of the output?
wmic process get Description | findstr /s "League"

when i add path it worked. Thank you very much

it has a new problem

when i add path it worked. Thank you very much

What path did you add? Where?

Then, it looks like the problem might lay on your side of things.
I just published a new Version of the App.
It allows you to view the console while running it.
You can try to do that to see if there are any errors in the console.
That is pretty much all i can do for you right now. :(


[C++][Parquet] Writing lists with non-nullable element to Parquet from C++

Here is some Python code that successfully constructs a table containing a list of non-nullable elements, and writes the table to Parquet:
import pyarrow         as pa
import pyarrow.parquet as pq

# Want a table containing one field of lists, containing *NON-NULLABLE* elements
element_type = pa.int32()             ; element_field = pa.field("item" , element_type, False)
list_type    = pa.list_(element_field);    list_field = pa.field("items",    list_type, True)

# Build an array with the data to be placed in the table
array = pa.array(([0, 1], [2], [3,4,5], [6,7,8,9]), type=list_type)

schema = pa.schema([list_field])

table = pa.table([array], schema=schema);  print(table)

# Try to write the table to parquet
print("PYTHON HAS NO TROUBLE WRITING THE TABLE")
with pa.OSFile("out-py.parquet", 'wb') as outfile:
    pq.write_table(table, outfile)
print("TABLE WRITTEN")

Below is a C++ version that fails when the table is written to Parquet (even though there is no problem in creating the table itself), complaining about inconsistency in the nullability of the list's elements between schema and data:
terminate called after throwing an instance of 'parquet::ParquetStatusException'
  what():  Invalid: Column data for field 0 with type list<item: int32> is inconsistent with schema list<item: int32 not null>

#include <arrow/api.h>
#include <arrow/io/api.h>
#include <parquet/arrow/writer.h>

#include <iostream>
#include <memory>
#include <vector>

using namespace arrow;

#define DBG(stuff) std::cout << stuff << std::endl;
auto pool = default_memory_pool();

Status arrow_main() {

  // Want a table containing one field of lists, containing *NON-NULLABLE* elements
  auto element_type = int32()            ; auto element_field = field("item" , element_type, false);
  auto    list_type = list(element_field); auto    list_field = field("items",    list_type, true);

  // Build an array with the data to be placed in the table
  auto  int_builder = std::make_shared<Int32Builder>(pool);
  auto list_builder = ListBuilder{pool, int_builder};

  std::vector<std::vector<int>> all_values{{0, 1}, {2}, {3,4,5}, {6,7,8,9}};
  for (const auto& values : all_values) {
    ARROW_RETURN_NOT_OK(list_builder. Append());
    ARROW_RETURN_NOT_OK( int_builder->AppendValues(values));
  }
  ARROW_ASSIGN_OR_RAISE(auto array, list_builder.Finish());

  auto schema = std::make_shared<Schema>(FieldVector{list_field});

  auto table = Table::Make(schema, {array});      DBG(table -> ToString());

  // Try to write the table to parquet
  ARROW_ASSIGN_OR_RAISE(auto outfile, io::FileOutputStream::Open("out-cpp.parquet"));
  DBG("C++ CRASHES WHEN WRITING THE TABLE, BECAUSE OF INCONSISTENCY IN THE NULLABILITY OF THE LIST ELEMENTS");
  PARQUET_THROW_NOT_OK(parquet::arrow::WriteTable(*table, pool, outfile));
  DBG("TABLE WRITTEN");

  return Status::OK();

}

int main() {
  auto status = arrow_main();
  if (!status.ok()) {
    std::cerr << status.ToString() << std::endl;
    return EXIT_FAILURE;
  }
  return EXIT_SUCCESS;
}

In the Python version, when the array is constructed pa.array is explicitly given list_type which contains element_field which contains the non-nullability of the elements.
In the C++ version, the array construction code is much more convoluted and we cannot see where the non-nullability of the elements can be injected.
Component(s)
C++, Parquet

Workaround:
-  auto list_builder = ListBuilder{pool, int_builder};
+  auto list_builder = ListBuilder{pool, int_builder, list_type};

The question has been answered, so should this be closed? Or do you want something added to the documentation first?

Emm this is because type is different, let me close it


Setup amd64 and arm64 docker image builds

This PR updates the build-docker-image pipeline to build a docker images for amd64 and arm64 architectures
FAIR WARNING:
I don't know anything about building go or C projects and the modifications to the docker file and built process where done using an AI LLM
Everything seems to be pretty straight forward though, the only flag I had to add that I did not understand was the CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
This seemed to fix a C compilation error in sqlite
To get the build working I had to switch the docker file from alpine to debian bullseye. and created a separate dockerfile.arm64 file that includes a few more dependencies and flags for the arm64
Testing
I was able to test the amd64 build locally on my machine but wasn't able to test the arm64 image
If someone has a arm64 machine setup with docker I would appreciate it if you could run a quick test
docker run --rm -it -p 8080:7049 ghcr.io/hzrd149/narr

Thank you, but given that I have no idea of what is going on here and you also don't I think we should wait for someone to tell us if this is good or not.


[Event Request] Codeunit 311 - Procedure ConvertQty

Reason:
Need the event to support extensibility of ConvertQty function for the CodeUnit 311: Item Check Availability on upgrade project in BC Cloud Tenant.
Source Code:
local procedure ConvertQty(Qty: Decimal): Decimal
begin
//REQUEST BEGIN
OnBeforeConvertQty(ItemNo, Qty, QtyPerUnitOfMeasure, IsHandled);
if IsHandled then
  exit(Qty);
//REQUEST END

  if QtyPerUnitOfMeasure = 0 then
    QtyPerUnitOfMeasure := 1;
  exit(Round(Qty / QtyPerUnitOfMeasure, UOMMgt.QtyRndPrecision));
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeConvertQty(ItemNo: Code[20]; var Qty: Decimal; var QtyPerUnitOfMeasure: Decimal; var IsHandled: Boolean)
begin
end;

Do we have an idea about timelines and how to expedite this request because it is holding up a client upgrade, we need to inform the stake holders.

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47832.


Adjust to simulator compiler-rt change

Matches changes to legacy driver in apple/swift#33148:

Previously, we packaged both the device and simulator versions of compiler-rt in a single static archive, relying on the fact that they used different architectures to differentiate between them. But Apple Silicon is now here to make us repay this technical debt. apple/llvm-project#1553 separated the simulator versions of compiler-rt into libraries with different names; this PR adjusts Swift to match.

@swift-ci test

DOWNLOAD_DIR=swift-DEVELOPMENT-SNAPSHOT-2020-07-22-a

Tests won't pass until we're testing against at least 2020-07-26. (Possibly even later; we'll see.)

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

The Swift project moved the default branch to main and deleted master branch, so GitHub automatically closed the PR. Please re-create the pull request with main branch.
More detail about the branch update - https://forums.swift.org/t/updating-branch-names/40412


Fetching images from fake API to homepage

Description
As a user, I want to have a homepage that displays content available in the database.
Changes

Add fetch and map methods
Add propTypes to ImageTile
Move APIurl to separated const

Related issue #16

Damn, Jan was faster. LGTM from me


Running test_egoego_pipeline.sh over EPIC Kitchens

Hello,
I am trying to extract full body pose information from the EPIC Kitchens dataset by running the script you all have provided. I must beforehand extract head pose data from DROID-SLAM and optical flow from RAFT. I have had trouble producing the exact optical flow features your pipeline requires, as the RAFT repository does not provide models that produce the optical flow dimensions (512,) your pipeline requires. Could you please point to which of the models on the RAFT repository you ended up using, and which variable within the model architectures you use to retrieve the features? Thank you ahead of time!

Hello, I'm currently facing the same problem with RAFT, which model should be used?
Thank you in advance!

Hi,
We used ResNet to extract the optical flow features. You can find the ResNet extractor here https://github.com/lijiaman/egoego_release/blob/main/egoego/model/resnet.py#L25. For using RAFT, I believe we used a default one, either network should work.


ci(fix): Fix release workflow

Issue number and link
Fixes: #66

Describe your changes
add release workflow.
Checklist before requesting a review

[x] I follow the Semantic Pull Requests rules (bugfix/feature)
[x] I specified links to related issues (must: bugfix, want: feature)
[x] I have performed a self-review of my code (bugfix/feature)
[ ] I have added thorough tests (bugfix/feature)
[ ] I have edited ## [Unreleased] section in CHANGELOG.md following keep a changelog syntax (bugfix/feature)
[ ] I {made/will make} a related pull request for documentation repo (feature)

I follow the Semantic Pull Requests rules (bugfix/feature)

I changed the PR title.


Can't open variable content

You were showing that you can open the variables to inspect them further. This doesn't work for me. There is a magnifying glass icon, but it doesn't do anything. I can click anywhere, but nothing opens

Confirm.
Latest JupyterLab.
Ubuntu 20.10 x64

Hey guys, please make sure that the major version of the extension matches that of jupyter lab, e.g. jupyterlab >= 3.0.0 and extension >= 3.0.9.
If you did not install the extension via pip after the new jupyterlab release, you might have a version mismatch since the package on npm (used for the other installation possibilities) was outdated. This should be fixed now

I reinstalled via pip and it still doesn't work. I have the right version. Everything is up to date, but when I click on the magnifying glass only the circle next the Python 3 kernel is flashing up. Do you need a special kernel for this to work?

The inspection currently only works for some data types such a numpy array, pandas dataframes, ...
This of course means that you also need to have this packages installed.

Ubuntu 20.10 x64
lckr-jupyterlab-variableinspector was installed via 'sudo pip install lckr-jupyterlab-variableinspector'
version showed in pip 3.0.6
JupyterLab 3.0.13
Python kernel 3.8.6
Nodejs 12.18.2
Npm was not installed.
...
So I cannot see any content of variables with magnifying glass icon.
Not even list or dict variables, just flashing circle next the Python 3 kernel.

@lckr Why is this issue closed? It is not resolved. Of course I am using numpy arrays. It doesn't work.


add return type for method _initAvailableProcessors and fix google-service.json name

missing return type generate type error:
Unhandled exception:
type '_InternalLinkedHashMap<String, Object>' is not a subtype of type 'Map<String, AbstractProcessor<void>>'
#0      new Processor (package:flutter_flavorizr/processors/processor.dart:91:51)
...

@camillobucciarelli I have to reject your pull request since those issues were already resolved locally by me. The flutter2 migration branch was a WIP branch that I used to move code from my workstation to my MacBook Pro where I had to run some tests. Thank you anyway.


Appliances zap 1

Problem:
Matter 1.2 clusters missing XML and generated code:
OperationalState, DishwasherOperationalState, RVCOperationalState, RefrigeratorAlarm, TemperatureControl
Solution:
Create XML
Update zcl.json, zcl-with-test-extensions.json and related zap files.
Testing:
Regen all
Rebuild chip tool
Verify all new clusters are visible in chip-tool, with correct set of available attributes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: marktrayer:x: m.trayerm.trayer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Cannot authenticate with dn as adldap_auth.login_attribute

I just updated this package from v2.0.14 to v2.1.1, and my auth broke. My LDAP server takes the user dn as the username when authenticating. When setting 'login_attribute' => 'dn' in adldap_auth.php, authentication now fails due to a null username.
I think this is because the dn was moved from an attribute to a protected property in https://github.com/Adldap2/Adldap2/commit/e1ae5393c7ed725fc8d2a72e86601ba6909ec69d. As a result, Traits/ImportsUsers@getUsernameFromAdUser() cannot access the dn as an attribute.
A simple fix would be to add a special check for 'dn' as login_attribute:
protected function getUsernameFromAdUser(User $user)
{
    $login_attribute = $this->getLoginAttribute();
    $username = ($login_attribute === 'dn') ? $user->getDn() : $user->{$login_attribute};

    if (is_array($username)) {
        // We'll make sure we retrieve the users first username
        // attribute if it's contained in an array.
        $username = Arr::get($username, 0);
    }

    return $username;
}

but I'm not sure if that's the best way.
My own temporary workaround for now was to add "adldap2/adldap2": "6.1.1" to my composer file, because the breaking change happened in v6.1.2.

Hi @wunc, try using the attribute 'distinguishedname' instead and let me know the result.

$user->distinguishedname is null.
If I dd($user), distinguishedname is not listed as one of the attributes. Browsing the server with Apache Directory Studio does not show it as a visible attribute, either.

Thanks for the report!
This has just been fixed: https://github.com/Adldap2/Adldap2/commit/fc1efb21756447d0ddd7375331ac74ff63252c34
A new release will be out shortly.
I'm not sure why my thought process was to remove the 'dn' attribute from models, but this was an unintended BC break.

Yup, that fix should still be in-tact. As long as developers aren't setting a new DN as an attribute with setAttribute('dn', '...'); then everything will be working as intended.
The setDn() method used to rely on the models $attributes property which was unpredictable on occasions (being stored as an array / string).


[Feature Request] Suitable RealmCollectionChange API for NSDIffableDataSourceSnapshot

Problem
RealmSwift provides RealmCollectionChange to listen a write transaction for realm collection.
https://docs.mongodb.com/realm/sdk/swift/examples/react-to-changes/#register-a-collection-change-listener
It makes enable partial update TableView and CollectionView easily.
Since iOS 13+, Apple releases NSDIffableDataSourceSnapshot to provide diff data for collection view and table view.
NSDIffableDataSourceSnapshot is different API from UITableView/UICollectionView to partial update.
NSDIffableDataSourceSnapshot is based on Identifier which items are added/deleted/updated.
(See Apple's API documentation and Sample application for details)
However, RealmCollectionChange only give me which indexes are added or deleted or updated.
I wanna identifier of item is deleted from callback of RealmCollectionChange, but there are only indexes. So I can't find which items are deleted.
Note: I can find which items are added/updated by indexes. I can access added/updated items referring realm collection via added/updated indexes.
Solution
It helps me Realm gives the way to retrieve which item or identifier of item are deleted from realm collection.
API usage image: (Not working now)
let results = realm.objects(Dog.self)

notificationToken = results.observe { [weak self] changes in
    guard let tableView = self?.tableView else { return }
    var snapshot = tableView.dataSource.snapshot()
    switch changes {
    case .initial:
        var snapshot = NSDiffableDataSourceSnapshot<Int, String>()
        snapshot.appendSections([0])
        snapshot.appendItems(results.map { $0.id })
        tableView.dataSource.apply(snapshot)
    case .update(_, let deletions, let insertions, let modifications):
        var snapshot = tableView.dataSource.snapshot()
        snapshot.deleteItems(deletions)
        snapshot.appendItems(insertions)
        snapshot.reloadItems(modifications)
        tableView.dataSource.apply(snapshot)

Only identifier is needed for deletions and modifications.
Both Identifier and insertion position are needed for insertions.
How important is this improvement for you?
I'd like to see it, but have a workaround

Any news on this ?

We really need the concrete Object that was deleted, changed in RealmCollectionChange and not only the indexes. Or maybe the _id (primary key) of the object.

@mtgto Can you post your workaround? I'm pretty interested on it.

I have no workaround yet. Always reload data even if it does not need..

Are there any news regarding this issue?


Super duper on Freebsd

This builds on FreeBSD but fails tests. Have not figured out why yet.

LGTM


Doesn't work with self-signed certificates

When testing locally, my target (back-end) server is running with a self-signed cert.
Even when I start nuxt with NODE_TLS_REJECT_UNAUTHORIZED=0 the proxy fails to connect to the back-end server:
http proxy error:Error: self signed certificate in certificate chain                                                                                15:35:33
    at TLSSocket.onConnectSecure (node:_tls_wrap:1535:34)
    at TLSSocket.emit (node:events:513:28)
    at TLSSocket._finishInit (node:_tls_wrap:949:8)
    at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:730:12) {
  timestamp: true,
  error: Error: self signed certificate in certificate chain
      at TLSSocket.onConnectSecure (node:_tls_wrap:1535:34)
      at TLSSocket.emit (node:events:513:28)
      at TLSSocket._finishInit (node:_tls_wrap:949:8)
      at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:730:12) {
    code: 'SELF_SIGNED_CERT_IN_CHAIN'
  }
}

Also tried the "global" npm config set strict-ssl=false before running nuxt dev, but nothing seems to clear the above problem only affecting the proxy

what does the proxy config look like?

config:
    proxy: {
        proxies: {
            '/image': {
                target: process.env.SERVER_URL,
                changeOrigin: true,
                rewrite: (path) => path.replace(/^\/image/, '')
            },
        }
    },

the env can either be an IP or a hostname or a locally proxied hostname
https://<IP_ADDRESS>:8000/api or https://localcert.dev:8000/api or https://localcert.dev/api
However, if I use a service such as ngrok, it's fine:
env value would be something like https://4cff-194-35-99-18.ap.ngrok.io/image

Try using secure: false

That works. Thanks.
I didn't spot that in the code when I tried to look for any undocumented options. It would be good to bring that option forward.

@chrisnoden this module uses https://github.com/refactorjs/http-proxy which is a refactor of https://github.com/http-party/node-http-proxy while trying to get rid of the bugs it incorporates and features that were left unused in pull requests.


Subadapter response no longer available if using error exit

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
When a subadapter goes to an error exit, the sender will throw an exception, but the response of the subadapter is no longer available anywhere.
Usecase: I have a subadapter that inserts some data in several tables in a database, which needs to roll back if there is an error (which is accomplished with the error-state exit) but also gives back a description of what was wrong to create a message that can be shown to the user. However, that message becomes unavailable as it is replaced by the exception of the sender.
Reporter
Ricardo

To Reproduce
Steps to reproduce the behavior:

Start the configuration below
Use test a pipeline to send a message to it
Verify that the returnString of the child is not available in the parent adapter

Screenshots
If applicable, add screenshots to help explain your problem.
Configuration
<module>
	<adapter name="Repro">
		<receiver name="Repro">
			<listener name="Repro" className="nl.nn.adapterframework.receivers.JavaListener"/>
		</receiver>

		<pipeline>
			<exits>
				<exit path="EXIT" state="success"/>
			</exits>

			<pipe name="Repro" className="nl.nn.adapterframework.pipes.SenderPipe">
				<sender className="nl.nn.adapterframework.senders.IbisLocalSender"
					javaListener="Repro-Child"/>
				<forward name="success" path="EXIT"/>
				<forward name="exception" path="EXIT"/>
			</pipe>
		</pipeline>
	</adapter>

	<adapter name="Repro-Child">
		<receiver name="Repro-Child">
			<listener name="Repro-Child" className="nl.nn.adapterframework.receivers.JavaListener"/>
		</receiver>

		<pipeline>
			<exits>
				<exit path="EXIT" state="success"/>
				<exit path="ERROR" state="error"/>
			</exits>

			<pipe name="Repro-Child" className="nl.nn.adapterframework.pipes.FixedResultPipe"
				returnString="Where do I go?">
				<forward name="success" path="ERROR"/>
			</pipe>
		</pipeline>
	</adapter>
</module>

Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Environment
Please go to the console of your Frank, click on 'Information' and copy-paste the results here.

Additional Environment

DBMS: [e.g. Oracle, MSSQL, MariaDB, MySql, PostgreSQL]
Browser: [e.g. Chrome, Safari, Edge, Firefox]

Additional Context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

We could provide a 'CallPipe', that is to be used as a replacement of the SenderPipe+IbisLocalSender. To be configured like:
<pipe name="Repro" className="nl.nn.adapterframework.pipes.CallPipe" javaListener="Repro-Child">
	<forward name="success" path="EXIT"/>
	<forward name="exception" path="EXIT"/> <!-- names of forward refer to names of exits of pipeline of JavaListener -->
</pipe>


feature - Allow config of partition column granularity (BigQuery)

Right now the granularity of the BigQuery partitions is set to "MONTH". It would be great if this becomes a config option. We usually have to set our tables to "DAY".

Great suggestion! I think this customization can be solved by creating a custom cluster_keys macro in the project, and then defining the appropriate namespace search order (docs here: https://docs.getdbt.com/reference/project-configs/dispatch-config).
Would you be open to trying it out and seeing if it works? Happy to take it on myself if not. Either way, if it works, I can update the documentation to show this example as a best practice.
Side note - does it seem reasonable to solve this as a project-specific override? Or do you think users will need to override this specific parameter often enough that a dedicated interface should be built for it? For example, if, for a single project, some streams should be partitioned by date and others should be partitioned by month, then the better solution would be to define as a stream-specific configuration in the dbt_project.yml variables.

I just did a test run with a custom cluster_keys macro and it worked like charm. I believe you don't even need to change the namespace search order as the root project is first anyways.

Per discussion with @awoehrl - suggested override works fine enough for now - allows developer to tailor partition requirements by activity too (e.g. pageview needs daily but most other activities are fine with monthly). Will close for now and consider revisiting if a similar request pops up down the road.


Relate a Campaign to an Event Registration

Use Case:  Many organizations send event email invitations (through tools such as Pardot or Marketing Cloud) that are associated with a Campaign, and they need to track the effectiveness of the Campaign by knowing how many people registered for the event based on that email.  By having a Campaign associated with these Event Registrations analytics such as Campaign Hierarchy/Campaign Influence/Attribution are also possible.
Overview of proposed solution:

Define Campaign value on the Summit Events object
Display the Campaign value from the Summit Events object on the Summit Events Instance record, and provide ability to add an "override" Campaign value if the marketer desires to have separate Campaign ID's for each instance
Build automation logic (probably with a Flow that is in a package or metadata that outside the core package for licensing and dependency reasons) that syncs values of Campaign values on the Summit Events Instance record with the Summit Events Registration record.
Could also build automation that updates Campaign Member records (including status value) when the Summit Events Registration record has a Campaign value added. (field that defines the value that indicates the person has "Registered" on the Campaign Member record)

Object parallels:

Summit Events Instance paired with Campaign
Summit Events Registration paired with Campaign Member

Should status values on these two objects be the same/synced?

FYI @brandelle-unkrich
September 24 solution, that we decided in February 2021 sprint only solved the "invite" use case and had problems with URL value passing, so we are not doing this:
On September 24 @jimhubert spoke with @tcdahlberg about this use case.  Thad identified a solution to this issue that he thought would be fairly simple to implement.  This solution involve adding a Campaign lookup field to the Summit Events Registration object, writing documentation on how to add a Campaign ID to the event registration URL sent in emails, and then adding a section of code to populate the Campaign ID field from the event registration URL

Some notes from the Slack thread, @jimhubert:
Katie
DECIDED:  We can ignore the need to help people automate against Event Registration create/update occurrences where the Event Registration is not pointed to a Contact, since they couldn't become a Campaign Member anyway
Katie
DECIDED:  Whatever we do with respect to Campaign & Campaign Member, we need to make sure that Summit Events proper doesn't get any hard-coded references to the existence of such objects embedded into it (licensing issues).
Katie
Instead, we would want to make a secondary add-on package.
Katie
Discussed:  We don't necessarily need to do "magic 18-digit text fields passed in by magic URL" rather than "Campaign" or "Campaign Member" lookup fields on Event/EventInstance/EventRegistration (whichever level we pick) as a way of wiring up a C/CM object to an E/EI/ER record ... we just need to make sure that those fields are in our "auxiliary package," not the main "Summit Events."
Katie
Discussed:  Yes, this is worth doing, even though Pardot can see custom objects like Event Registration (and Event / Instance details can be surfaced to ER via formula fields), because maybe people are mailing with ConstantContact, maybe with MailChimp, etc. etc. etc.
Katie
Discussed:  Maybe we do some sort of "override" structure where the Campaign lookup can be done at Event, or at Instance if you prefer, or at Registration if you prefer, etc.
Katie
DECIDED:  Event Instance is definitely a great place to add a Lookup field to Campaign, even if there are also other places.
(Katie's thoughts:  if we make one thing today & tomorrow, maybe we learn to make an auxiliary package that comes w/ a single custom field of just a "hello world.")
Katie
DECIDED:  We're scrapping the "magic URL" idea unless we get stuck and need to reintroduce it.

Summary of Proposed Solution as I documented it during Day 1 Sprint:
This solution will be done outside the main package to eliminate any  dependence on the Campaign object which would introduce licensing and community issues.
The total solution should include:
Documentation:

Prerequisites

Must be using Contact Matching. Orphan registrations are not supported as Campaign Members require a Contact ID
There is no support for Leads in Summit Events so only Contacts will be used

How to implement the add-on functionality

This may include manually adding the Campaign ID field to Event Instance and optionally to Event
Enabling the Flow(s) as required

Flows

Flow 1: Summit Events Instance-Record Triggered Flow-When a Record Is Created
* If Event.Campaign ID <> Null, default the Campaign ID
Flow 2: Summit Events Registration-Record Triggered Flow-When a Record Is Created or Updated
* Upon Save of Registration, create/update Campaign Member Record
* Lots of conditions:
* Does campaign ID exist
* Does Contat exists as Campaign Member
* Does Campaign member Status exist for Resgitsration.Status
* Full documentation for flow still to be developed.

@walt0019 and @rdblake21 are going to tackle this has create a 2GP Unlocked package to include the elements above.  This will be shared when it becomes available and referenced in the documentation.
This is a request from St. Thomas, so we're going to build it out and testing as a dependency post SEA Install.

Create the POC in a Flow and it functions as follows:

Campaign can be on Event Record

Event Registration will relate to Campaign
If a Contact record, Campaign Member will be created

Campaign Override on Instance

Event Registration will relate to the Override if it exists
If a Contact record, will relate to this campaign

If there is a Campaign for the invitation, that Campaign can relate to the Event or Instance. Should an invitee register for the event and the Contact Matches, it'll update the existing Campaign Member from Sent to Responded.

This will be an option install during the MetaDeploy process.

Testing as an unlocked package - https://github.com/rdblake21/Summit-Events-App-Campaign-Recipe


possible to support digest auth?

Is it possible to support digest auth and not just basic auth in a similar manner to this script? There is a negotiation that takes place involving realm and nonces so it is not as simple as basic auth.

hi, thanks for your advice. I did want do this, just have no workable PC at
home recently.
BTW it is said Squid can be used the way you want. Do mot worry it also
support forward http CONNECT request so support SSL.
Good luck
2017年12月13日(水) 2:55 Ezra<EMAIL_ADDRESS>
Is it possible to support digest auth and not just basic auth in a similar
manner to this script? There is a negotiation that takes place involving
realm and nonces so it is not as simple as basic auth.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sjitech/proxy-login-automator/issues/12, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AE_djCJyRkH7vLBzZaT0ceV2X-7RcYJCks5s_r3PgaJpZM4Q_YvA
.


[Concurrency] waitForAll and next of TaskGroups must inherit isolation

Otherwise we get warnings when task groups are used within an actor. Add global actor tests to cover the specific situation:

Passing argument of non-sendable type 'inout ThrowingTaskGroup<Void, any Error>' outside of main actor-isolated context may introduce data races

To avoid this, we should keep the inherit the caller isolation.
resolves rdar://122846553

Unblocked by https://github.com/apple/swift/pull/72813

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


RELEASE: v.2.0.4

Coverage remained the same at 100.0% when pulling ff6c7b67e1348104f8c7503d42331cf6eabe57cd on dev into 92c430a9ee24609758eedc18eef807803eb25739 on release.


go: no Go source files 1.20

What version of Go are you using (go version)?

$ go version
go version go1.20 darwin/arm64

Does this issue reproduce with the latest release?

I want to build a c-shared lib
when I use go build -buildmode=c-shared -o libdartinterface.so dart_interface.go it works fine.
when I use GOOS=linux GOARCH=arm64 go build -buildmode=c-shared -o libdartinterface.so dart_interface.go it says go: no Go source files .
But the two action is in the same directory

What did you expect to see?
generate c-shared lib file with cmd GOOS=linux GOARCH=arm64 go build -buildmode=c-shared -o libdartinterface.so dart_interface.go
What did you see instead?
go: no Go source files

you need to explicitly enable cgo when cross compiling
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions

you need to explicitly enable cgo when cross compiling
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions

Thank you , I got it , but I still think the error prompt should be more specific


Add insecure option

I think it will be nice to have the ability to send coverage reports to self-hosted service with self-signed certificates. For instance goveralls have such ability.

You need to run php-cs-fixer

Thanks! I pushed new changes.

There are still some CS irregularities, unfortunately:
https://travis-ci.org/github/php-coveralls/php-coveralls/jobs/732002769#L706-L715

Can anyone help me with this error, please? I'm really cannot understand what is wrong 'cause locally I didn't see this error.

Try “composer update” maybe?

Looks like everything is okay. Please take a look again at this pull request.

thanks @dshemin @sanmai


Support SEP-8 "pending" revision status

What
Support SEP-8 "pending" revision status.
Closes #112.
Screenshot

Preview is available here:http://stellar-demo-wallet-pr159.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr159.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr159.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr159.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-demo-wallet-pr159.previews.kube001.services.stellar-ops.com/


Fix(eos_cli_config_gen): Syslog Corrections (#1246)

Change Summary
Address Syslog documentation and concatenation issues described in #1246
Related Issue(s)
Fixes #1246
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes

Correct eos_cli_config_gen README doc describing Syslog data model
Correct concatenation of ports for syslog config output

How to test
molecule
Checklist
User Checklist

N/A

Repository Checklist

[X] My code has been rebased from devel before I start
[X] I have read the CONTRIBUTING document.
[X] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

Did you run molecule tests locally?

yes, but something is off with my development setup.  I'll switch to the avd container to run it and see whats up.


create another release

It would be nice to have another release to get https://github.com/ellie/atuin/commit/f55d5cf0bfa59af144788bec7c9d0a9ada71aad4 into distros.

For sure :) I'd originally wanted to get more into the next release but haven't had as much time as I'd hoped. Will try and sort something soon

Please include #202

Well I'm still not sure I want to merge that one, so we shall see.

If not a lot changed maybe only bump the patch version? A 0.7.2 sounds reasonable to me. I am not in a hurry because I can quite easily fetch the patch into my stack via nix.

Done :)


AMD patch is overcomplicated and suspiciously bloated

How did solving such a trivial problem warrant creating 7 files? What are you doing? I can solve this in plain C with 1 function that doesn't pull in windows.h for no reason.
#include <stdio.h> // PLEASE BE CONSIDERATE OF OTHERS AND NEVER INCLUDE <windows.h> NOT EVERYONE IS RUNNING A COMPROMISED SYSTEM THX
#include <stdint.h>

#define intel_slept_during_code_of_conduct_training {0x75,0x30,0x33,0xC9,0xB8,0x01,0x00,0x00,0x00,0x0F,0xA2,0x8B,0xC8,0xC1,0xF9,0x08}
#define that_long_ass_hex_length 16

char repair_icc_exe(const char * abs_path) {
  FILE * haystack = fopen(abs_path,"rb");
  char needle[that_long_ass_hex_length] = intel_slept_during_code_of_conduct_training;
  uint64_t haystack_size;
  char * haystack_in_memory = NULL;
  uint64_t bad_byte = 0;
  void * bad_byte_in_memory = NULL;
  char result = 0;
  fseek(haystack,0,SEEK_END);
  haystack_size = ftell(haystack);
  fseek(haystack,0,SEEK_SET);
  haystack_in_memory = malloc(haystack_size);
  fread(haystack_in_memory,haystack_size,1,haystack);
  bad_byte_in_memory = memmem(haystack_in_memory,haystack_size,needle,that_long_ass_hex_length);
  if(bad_byte_in_memory != NULL) {
    bad_byte = bad_byte_in_memory - haystack_in_memory;
    haystack_in_memory[bad_byte] = 0xEB;
    fclose(haystack);
    haystack = fopen(abs_path,"wb"); // never backup broken exes :)
    fwrite(haystack_in_memory,haystack_size,1,haystack);
  } else result = 1;
  fclose(haystack);
  free(haystack_in_memory);
  return result;
}

Because this does more than just patch the exe file, it patches the same code in memory at runtime, has trampoline removal, and is also a plugin system. Your solution gets removed when you validate the files on Steam and breaks updates on GOG.

Great. So it's a liability for Proton.

the smt patch could also be made proper by just replacing the 0x75 with a 0x74 which fixes the if statement, for anyone actually wondering what is wrong with smt in the first place
__int64 sub_142A81400()
{
  int v10; // ecx
  __int64 result; // rax
  char Str1[4]; // [rsp+20h] [rbp-18h]
  int v13; // [rsp+24h] [rbp-14h]
  int v14; // [rsp+28h] [rbp-10h]
  char v15; // [rsp+2Ch] [rbp-Ch]
  unsigned int v16; // [rsp+40h] [rbp+8h]
  unsigned int v17; // [rsp+48h] [rbp+10h]

  sub_142A81480(&v17, &v16);
  v15 = 0;
  _RAX = 0i64;
  __asm { cpuid }
  v13 = _RDX;
  v14 = _RCX;
  *(_DWORD *)Str1 = _RBX;
  if ( strcmp(Str1, "AuthenticAMD") ) // should be '!strcmp(...)'
    return v16;
  _RAX = 1i64;
  __asm { cpuid }
  v10 = ((int)_RAX >> 8) & 0xF;
  if ( v10 == 15 ) // amd cpu's will always pass this check
    v10 = (unsigned __int8)((int)_RAX >> 20) + 15;
  result = v17; // sets return value to physical core count
  if ( v10 == 21 ) // amd cpu's will not pass this check
    result = v16;
  return result;
}```

@LeagueRaINi why can't we go with an unconditional jump like 0xEB?

@LeagueRaINi why can't we go with an unconditional jump like 0xEB?

why would u if u can also flip 1 byte and change the if statement to what it should be?

Why would you use 0x74 instead of 0xEB? 0x74 just breaks it for Intel cpus and 0xEB makes it work for both cpus, and is still a 1 byte patch.

Why would you use 0x74 instead of 0xEB? 0x74 just breaks it for Intel cpus and 0xEB makes it work for both cpus, and is still a 1 byte patch.

its actually exactly the opposite. https://onlinegdb.com/g6YkIZCBI

Here's the same function except cleaned up using the names from ThreadCount-Win7.cpp#L69
Ultimately the goal is to have this function return the number of logical processors.
If the vendor is not AuthenticAMD, strcmp returns a truthy value and the function returns the number of logical processors.
If it is, strcmp returns 0 and the if statement is skipped and it goes on to check the cpu family.
If the cpu family is 0x15 (old Bulldozer cpus), then count is set to logical and the function returns the number of logical processors.
Otherwise AMD users get the number of physical cores.
Flipping the if check results in AMD users returning logical cores always and Intel users always returning physical cores, since I don't think Intel has any cpus with a family of 0x15
The correct thing for both cpus to return logical cores, is to just force the jmp to always be taken with 0xEB, which gives both Intel and AMD cpus logical core counts.

I see. The perfect solution would be to return the amount of cores as soon as we get the amount. No need to mess around with vendor stuff.

I've noticed since installing this patch to fix SMT usage on my 3600, I seem to be getting some (additional) graphical and physics glitches that I haven't noticed previously. The most noticeable graphical glitch is while I riding a motorbike I get a flickering ghost image of my character standing in the T pose on top of the bike. It doesn't really affect gameplay but I didn't notice it before the patch and I'm just concerned it may break something.
Is this a known issue or something anyone else has noticed with this?

Not happening on my 2700. But, I did notice NPCs T-posing prior to applying this patch. This could be a generic feature of the game as a whole, regardless if we jack the thread amount or not.

The function is invoked very rarely so being inefficient is not an issue I think.
The patch is composed of two parts:

A loader based on the version.dll stub
The actual patches dll

It is very bad practice to edit the exe directly, it will cause steam to think it is corrupt, breaks the signature and is not going to work after an update.
The dll technique preserves file integrity, allows more complex patches like function hooks and by using patterns will also be working even after updates.
The SMT patch is a few lines here as well, it being opensource means you can strip the parts you don't want (if you don't want them).

Here's the same function except cleaned up using the names from ThreadCount-Win7.cpp#L69
Ultimately the goal is to have this function return the number of logical processors.
If the vendor is not "AuthenticAMD", strcmp returns a truthy value and the function returns the number of logical processors.
If it is, strcmp returns 0 and the if statement is skipped and it goes on to check the cpu family.
If the cpu family is 0x15 (old Bulldozer cpus), then count is set to logical and the function returns the number of logical processors.
Otherwise AMD users get the number of physical cores.
Flipping the if check results in AMD users returning logical cores always and Intel users always returning physical cores, since I don't think Intel has any cpus with a family of 0x15
The correct thing for both cpus to return logical cores, is to just force the jmp/if to always be taken with 0xEB, which gives both Intel and AMD cpus logical core counts.

Using 0xEB results in this function, which is slightly inefficient, but always returns logical core count.
thats actually completely wrong maybe u shouldve actually reversed 'sub_142A81480', its the complete opposite

Are you capable of reading? I said as well the if statement does not pass for AMD cpus, which makes it go down to the AMD checks not Intel checks, as the original source code clearly indicates it's looking for AMD "Bulldozer" family.
Since it's working for Intel processors, and not for AMD, flipping it would obviously make it work for AMD processors, and not for Intel processors.
https://onlinegdb.com/BkM3ENSnv
Here's a little demo of that, right now with the original code, you get
vendor="GenuineIntel", family=0x6, result=Logical // Intel cpus
vendor="AuthenticAMD", family=0x15, result=Logical // AMD Bulldozer
vendor="AuthenticAMD", family=0x17, result=Physical // AMD Zen1

Ryzen processors get physical core count, as many other people have observed.
https://onlinegdb.com/wa3Pt-j8G
Your supposed fix of just flipping the if check with 0x74 so it goes from if (strcmp) to if (!strcmp) results in the following result:
vendor="GenuineIntel", family=0x6, result=Physical // Intel cpus
vendor="AuthenticAMD", family=0x15, result=Logical // AMD Bulldozer
vendor="AuthenticAMD", family=0x17, result=Logical // AMD Zen1

Wow look at that, Intel now gets Physical core count. Flipping it broke Intel cpus.
https://onlinegdb.com/4cqgZajeF
Using 0xEB to force the jmp/if to always be taken results in this result:
vendor="GenuineIntel", family=0x6, result=Logical // Intel cpus
vendor="AuthenticAMD", family=0x15, result=Logical // AMD Bulldozer
vendor="AuthenticAMD", family=0x17, result=Logical // AMD Zen1

Clearly the right fix, all processors get logical core count.

Guys, please take it easy.