Limit maximum func_name length

Consider a GRU cell with approximate sigmoid/tanh nodes, i.e.
dtype = "float32"

def C(x):
    return relay.expr.const(x, dtype)

def approx_sigmoid(v):
    x = relay.abs(v)
    x2 = v * v
    e = C(1.0) + x + x2 * C(0.5658) + C(0.143) * x2 * x2
    e_pos = e / (C(1) + e)
    e_neg = C(1) / (C(1) + e)
    return relay.where(relay.greater_equal(v, C(0.0)), e_pos, e_neg)

def approx_tanh(v):
    x = relay.abs(v)
    x2 = v * v
    e = C(1.0) + x + x2 * C(0.5658) + C(0.143) * x2 * x2
    return relay.sign(v) * (e - C(1) / e) / (e + C(1) / e)

def gru(X, H, W_X, W_H, B, **kwargs):
    XT = relay.nn.bias_add(relay.nn.sparse_dense(X, W_X), B)
    HT = relay.nn.sparse_dense(H, W_H)
    XT_gates = relay.split(XT, indices_or_sections=3, axis=1)
    HT_gates = relay.split(HT, indices_or_sections=3, axis=1)
    u_t = approx_sigmoid(XT_gates[0] + HT_gates[0])
    r_t = approx_sigmoid(XT_gates[1] + HT_gates[1])
    e_t = approx_tanh(r_t * HT_gates[2] + XT_gates[2])
    return u_t * HT_gates[0] + (C(1.0) - u_t) * e_t

The u_t, r_t, e_t, and return value of the GRU cell are currently fused together into a single function called:
fused_add_abs_add_multiply_multiply_add_add_divide_multiply_subtract_add_abs_add_multiply_multiply_add_add_divide_multiply_add_sign_abs_add_multiply_multiply_add_divide_subtract_multiply_add_divide_multiply_add_add. This is pretty ungainly when it shows up in the debug_runtime profiler, perf, etc.
What I'd propose is modifying https://github.com/dmlc/tvm/blob/89acfeb2582e19e20ba031e896f6b1e64ecc2fb1/src/relay/backend/compile_engine.cc#L82-L84 to detect "long" function names, and replacing them with a truncated version plus a hash of the full name. This allows to disambiguate long fusions (due to taking the hash of the original candidate name), while keeping the size bounded.
Does this sound reasonable? It's arguably an interface change, so it's worth double checking this is OK.
cc @tqchen, @jroesch, @yidawang.

LGTM. This is now merged. Thanks @ajtulloch @tqchen .


Wrong Current Weather For Galax VA US

Thank you for this project!
The current weather report is consistently wrong for Galax, Virginia, US: https://wttr.in/galax+va

The reported current temperature has been consistently far below reality, but the 3 day forecast has been accurate. Please let me know if there's any more info I can provide to help debug. :smile:

Closing this since it may have been a temporary thing, the last few days have been accurate.


Make base wire entity RENDERGROUP_TRANSLUCENT

Don't really see any impact on performance.
Fixes #1732

What I did notice though, was hovering over an entity tanking -100 FPS.
Is it mostly the wire overlay? Probably. But It makes me think about replacing use of the halo library to use the implementation with ~2x faster stencils on the garrysmod repo.

What I did notice though, was hovering over an entity tanking -100 FPS.
Is it mostly the wire overlay? Probably. But It makes me think about replacing use of the halo library to use the implementation with ~2x faster stencils on the garrysmod repo.

I agree with this. I believe it would make the halos look a little different, but it shouldn't really matter.


TXs should be prioritized based on a well-defined strategy

Describe what you want implemented
A strategy for mempool prioritization based on transaction fees should be introduced. This also involves a (probably custom made) rate limiter that would prioritize transactions with higher fees
Describe "Why" this is needed
We want to give precedence to some transactions based on a good strategy. Moreover, since the introduction of rate limiting, there is an opportunity for propagation of transactions with higher fees first
Describe alternatives you've considered

Tipping the block generators
Prioritize based on higher gas price
Calculate the range of the previously spent tx divided per contract

Wrt the rate limiting we can do nothing and delegate prioritization of transaction execution to the recipient queue. It is actually unclear which approach is the most desirable.
Additional context
Originally posted by @autholykos in https://github.com/dusk-network/dusk-blockchain/pull/1238#discussion_r783784945

The strategy should also keep into consideration eventual flooding attacks based on burst of invalid transactions. In this case, we should make sure that valid transactions in the Mempool are not dropped nor affected

Should we close this? @herr-seppia
We already ARE prioritizing txs based on higher-gas-price strategy.


Bad API calls aletrs

Alerts are appearing with request to http://localhost:8080/api/0/apps/Alpha/waitlist/size
It does not matter which apps user has, it's always this API endpoint.

Alerts starts appearing only with user with 1 admin app and multiple users apps.
Each change of dashboard (from Admin to User and vice versa) adds another alert.


Importing inferfaces for non-windows com components

I am looking at connecting to an OPC Server via COM using windows-rs.
The OPC SDK provides IDL files along with generated .c and .h files. I'm trying to work out how to get all of the interfaces into rust code. For example, one of the interfaces:
[
	object,
	uuid(13486D50-4821-11D2-A494-3CB306C10000),
    // async_uuid(32E8D703-A335-4fc1-8F4B-663F505C7D62),
	pointer_default(unique)
]
interface IOPCServerList : IUnknown
{
    HRESULT EnumClassesOfCategories(
        [in]                       ULONG        cImplemented,
        [in,size_is(cImplemented)] CATID        rgcatidImpl[],
        [in]                       ULONG        cRequired,
        [in,size_is(cRequired)]    CATID        rgcatidReq[],
        [out]                      IEnumGUID ** ppenumClsid
    );

    HRESULT GetClassDetails(
        [in]  REFCLSID  clsid,
        [out] LPOLESTR* ppszProgID,
        [out] LPOLESTR* ppszUserType
    );

    HRESULT CLSIDFromProgID(
        [in]  LPCOLESTR szProgId,
        [out] LPCLSID   clsid
    );
};

According to the windows-rs FAQ, it seems like I need to do something like:
#[windows::core::interface("13486D50-4821-11D2-A494-3CB306C10000")]
unsafe trait IOPCServerList: IUnknown {
    unsafe fn EnumClassesOfCategories(&self) -> windows::core::HRESULT;
    unsafe fn GetClassDetails(&self) -> windows::core::HRESULT;
    unsafe fn CLSIDFromProgID(&self) -> windows::core::HRESULT;
}

But I'm unsure about converting the C types to rust types for the parameters. Is there any docs or samples for this?
Also, is there anyway of doing this automatically?
Jeff

@riverar has an example of generating metadata for an API defined in IDL. You can then use the windows-bindgen crate to generate bindings for it without having to resort to the interface macro.
https://github.com/riverar/washington-rs

Thanks for that. I don't really understand the Microsoft.Windows.WinmdGenerator magic at the moment, but I was about to generate the rust types to start testing with.
It might be nice to have a link to that repo in the docs or faq?

@riverar has a nice explainer here:
https://withinrafael.com/2023/01/18/generating-metadata-for-the-windows-crate/


Update roles simplification latest main

This PR adds all the latest updates from main to feature/roles-simplification

There is a conflict solved
It is required by #223

** Do not squash & merge **

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature/roles-simplification@dc07aca). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                       Coverage Diff                       @@
##             feature/roles-simplification     #229   +/-   ##
===============================================================
  Coverage                                ?   95.45%
===============================================================
  Files                                   ?       10
  Lines                                   ?      660
  Branches                                ?        0
===============================================================
  Hits                                    ?      630
  Misses                                  ?       30
  Partials                                ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Bug] Be core when stop be by kill be_process_id

Describe the bug

To Reproduce
Steps to reproduce the behavior:

find process_id
kill process_id

Expected behavior
no core

Could you find out what type of the TaskWorkerPool is?

There is no detailed log. I will try


Improve find in terminal

Basic find in terminal functionality was added in https://github.com/Microsoft/vscode/issues/15198. Here are some of the improvements we can make

Highlight all instances of term in current viewport
Use a different selection type so that regular selection isn't hijacked, plus a color with a higher contrast can be used.
Find multiple instances on the same line
Find terms that are wrapped across 2 lines
Options: regex, case sensitivity, match word
Add "No results" label, need to think about what to show in the gap when there are results. We probably shouldn't be searching the entire buffer when we don't have to for performance reasons.
Add animation to terminal find widget just like it does on editor

Upstream improve find API issue: https://github.com/sourcelair/xterm.js/issues/705
/cc @rebornix

@noamyogev84 some of this got fixed recently: https://github.com/Microsoft/vscode/issues/58826
For the other parts, you can refer to the individual issues in xterm.js: https://github.com/xtermjs/xterm.js/issues?utf8=✓&q=is%3Aissue+is%3Aopen+label%3A"help+wanted"+label%3Aaddon+search+addon
The search "addon" is located in ./src/addons/search in the xterm.js repo.

I've just come to add my voice for improved terminal features in VSCode. My main issues at the lack of ability to adjust the 'found search term' highlighting. It would be great if you could adjust this, even if it was to pick from a selection of pre-defined highlight colours. The current grey highlighting is not visible enough IMO. I often struggle to see the found term quickly. Alternatively, a flashing 'on selection' highlight would be helpful as the macOS terminal has...

KDE's Konsole has the most handy search. The most needed feature is highlighting all matches.


Add additional flag to allow sort images by upload date

As bazel is becoming more popular I think it is a very needed change to allow users to sort image by upload date not create date. Because it sets create date to a specific value (1970), so this tool doesn't work as expected in such scenarios

This feels like a bug in Bazel. Bazel shouldn't be setting the created time to the unix epoch. Please file an issue with Bazel.


[otbn, dv] otbn_imem_err test added along with related changes

This is in draft because it depends on https://github.com/lowRISC/opentitan/pull/8600 and https://github.com/lowRISC/opentitan/pull/8401.
Once the above two PRs are merged, only the final commit will remain.
The following changes have been made in this commit:

otbn_imem_err_vseq.sv: This is the sequence required to run otbn_imem_err
test. This is a new file.
otbn_scoreboard.sv: otbn_scoreboard is taught to expect a fatal error
when the model status goes to StatusLocked.
otbn_base_vseq.sv: run_otbn function is made to stall until otbn status is not
StatusBusyExecute instead of waiting for otbn to go to idle.
otbn_model_if.sv: wait_status now waits on negedge of the clock
instead of posedge to avoid race condition between alert arrival and
model state change. It ensures that the scoreboard sees the state change
before the fatal alert changes and knows it has to expect a fatal alert
and will not throw a fatal error.

Fixes #8505

All dependencies have gone in now, @prajwalaputtappa can you rebase this PR please?


Port support?

Are you planning to add source port support to this module?
Source ports are necessary to uniquely identify users behind NATs and can be obtained from X-Forwarded-Port and friends.

There aren't any plans, but this would indicate a request for it to be added, which I can do, or you're welcome to work on a PR in the mean time :)

I'd certainly be interested in contributing. I think we have to switch to a header parser that supports ports like forwarded-for, would that be okay for you?

No, just PR into our dependency, forwarded.

Or, perhaps we can make that pluggable in here in some way.

Now that I look at forwarded, it seems pretty barebone for my purpose. I was hoping for broader support for proxy headers other than X-Forwarded-For. Do intend to keep it lean and just support one header? If that's the case, I think I'm better of creating my own parser.

Yes, I think so. There was a long discussion about just this topic and how to design it over in the forwarded module, and I'll read it when I get home and catch myself back up on what the ideas were regarding that.

I guess it makes sense to keep is lean for express if you can support 90% of the cases through a single header and I also guess most users aren't interested in logging the port. Probably best to keep my ideas out of it and create a separate module to support exotic proxies and ports.

Maybe this may appear one day here, but this issue is quite old now, and I don't have a need to work on a PR to add it, and doesn't seem like anyone so far is, either :) This can always be reopened if needed / a new issue can be created without it being a duplicate.


Automated cherry pick of #9415

Cherry pick of #9415 on release-3.1.
#9415: rafthttp: add "ActivePeers" to "Transport"

Fixed mistake merge conflict.

Looks like there is some additional code that cannot be cleanly merged, semantically merging it manually now.

@jpbetz Yeah, could have been easier to cherry-pick individual commits or edit directly in the branch :0
This is missing adjustTicks https://github.com/coreos/etcd/pull/9415/files#diff-971f6af906b31cc86efd71aff56aa96bR533?

@gyuho Yep, that auto-merge didn't work out. I've manually applied the changes that didn't auto merge. Everything should be in place now, but please double check me!


Bump to 1.4.0

Bumped version before official release notes version

@yaelt47 plz run npm i so package-lock.json will be aligned

oh i did it from the browser, not locally 🙃
will do it now..


Expose report generator as public interface

I need to be able to push generated results to a DB, by exposing the report generator as public interface, I can provide a custom report generator which can push results to DB.

Additional stats export fall into the scope of FrontLine.

We are really sorry to hear this. We sincerely hope you will continue to use Gatling. As we explained to you earlier, our team spends time on both projects: our open-source solution and our Enterprise solution, Gatling FrontLine.
The way we decided to split our R&D is as follows: Everything related to Gatling itself, like new support protocols, will be open-sourced (eg. HTTP/2, closed workload model and new feeders features in our latest release); On the other hand, everything related to reporting and automation features is in the scope of Gatling FrontLine. Please note that our Enterprise version helps develop both projects and have a team of 7 full-time employees. We hope you understand.
Anyway, we would gladly continue this talk with you, feel free to contact us directly. We will now close this thread.
Best regards


JDK16: VarHandleTestMethodHandleAccessBoolean.java fails with "exit code: 137"

Describe the bug
VarHandleTestMethodHandleAccessBoolean.java fails with "exit code: 137"
Currently only seen once, on JDK16, openj9, x86_64-linux, machine test-docker-fedora33-x64-3.
https://trss.adoptopenjdk.net/output/test?id=601ea092217ed804cc8a36b4
Note: Currently running grinders and reading code. Will remove WIP tag when the triage investigation is complete.
To Reproduce
Run this in a grinder:
VarHandleTestMethodHandleAccessBoolean.java
Expected behavior
The test is expected to pass, as it has all the other times we've run it over the past several years (barring the seg error and the issue 2 years ago that lacks description).
Screenshots
[2021-02-06T00:38:11.494Z] STDOUT:
[2021-02-06T00:38:11.494Z] [TestNG] Running:
[2021-02-06T00:38:11.494Z]   java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessBoolean.java
[2021-02-06T00:38:11.494Z]
[2021-02-06T00:38:11.494Z] config VarHandleTestMethodHandleAccessBoolean.setup(): success
[2021-02-06T00:38:11.494Z] test VarHandleTestMethodHandleAccessBoolean.testAccess("VarHandle -> VarHandle.toMethodHandle -> Instance field", VarHandleBaseTest$MethodHandleAccessTestCase@822f623c): success
[2021-02-06T00:38:11.494Z] test VarHandleTestMethodHandleAccessBoolean.testAccess("VarHandle -> VarHandle.toMethodHandle -> Instance field unsupported", VarHandleBaseTest$MethodHandleAccessTestCase@8c622f1c): success
[2021-02-06T00:38:11.494Z] test VarHandleTestMethodHandleAccessBoolean.testAccess("VarHandle -> VarHandle.toMethodHandle -> Static field", VarHandleBaseTest$MethodHandleAccessTestCase@f04313dd): success
[2021-02-06T00:38:11.494Z] test VarHandleTestMethodHandleAccessBoolean.testAccess("VarHandle -> VarHandle.toMethodHandle -> Static field unsupported", VarHandleBaseTest$MethodHandleAccessTestCase@7a8ada3): success

Here the stdout just ends.
I presume the failure occurs some time after MethodHandleAccessTestCase (in VarHandleBaseTest.java) calls:
super("VarHandle -> " + f.toString() + " -> " + desc, ata, loop);

For VarHandleTestMethodHandleAccessBoolean's "Static field unsupported", but before it does the same thing for "Array".
VarHandleTestMethodHandleAccessBoolean.accessTestCaseProvider() contains a list of test cases if the above sentence makes no sense.
Additional context
Grinder 1
Purpose: 100x run of this specific test on the failing machine, to determine frequency.
Status: Running
Link: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/6770/console
Grinder 2
Purpose: Run of this test across a bunch of linux test machines, to see if the issue is machine-specific.
Status: Pending Grinder 1 (to avoid unnecessary iterations).
Link:
Grinder 3
Purpose: Run grinders on several platforms, to see if this issue is infrequent across all platforms.
Results:
Link:
Grinder 4
Purpose: Run grinder on Hotspot.
Results:
Link:

Unable to reproduce in 100 re-runs, using the same JDK version on the same machine.
Will close and reopen if seen again.


Add Topics

Explain what you want to add/change in documentation.
In WoB, GitHub Topics will help the discoverability of your project.
I see that you already have great topics on your repository!
I would recommend adding the name of the company like the software you use to build like "vs-code, ghdesktop" to improve your discoverability.
If you are happy with the topics you have, feel free to close this issue.

Hi @anusha7530,
I noticed that several issues you submitted are not relevant to this repository and some are already covered. To keep things organized, I’ll be closing those issues. If you have any other questions or topics to discuss, feel free to reach out!
Thanks for your understanding!


Create specialized structs for original values, store generated values, and relationship snapshots

This replaces the general purpose sidecar code resulting in:

Fewer memory allocations needed when tracking
Less memory used when tracking in the common cases
Optimized code paths based on how each of the structs is used

:shipit:


Fix package metadata

This PR fixes the issue where the package was being installed as "UNKNOWN" by adding the setup.py configuration. The changes include:

Properly setting the name, version, and other metadata in setup.py.
Ensuring compatibility with the pyproject.toml.
Additionally, I updated the README to include a simpler installation command:

pip install git+https://github.com/mrossinek/qiskit-nature-cp2k.git

This makes it easier for users to install directly from the repository.

The pyproject.toml file should be sufficient. I will not be adding a redundant setup.py file. Please provide an issue description with reproducible steps to show the installation problem that you have without this PR in place.

when I do pip install . I get the package name as 'UNKNOWN' after pip list, then I can't do imports as 'from qiskit_nature_cp2k'

when I do 'pip install .' I get the package name as 'UNKNOWN' after 'pip list', then I can't do imports as 'from qiskit_nature_cp2k'

what Python and pip versions do you use?
what operating system are you on?
does pip install . produce any output? If so, please provide that.
the output of pip list or pip freeze after the installation completed would be good, too

Does this problem persist in a clean Python virtual environment? Thinking about environment, do you use venv, virtualenv or some other environment wrapper?

I am so sorry for the confusion, I believe I may run it in a not clean environment, it successfully install and no need for this branch, I will close then
Kindly find the answers below:

'Python 3.12.2'

pip 24.2

Ubuntu 24.04 LTS

steps:
pip install git+https://github.com/qiskit-community/qiskit-nature.git
git clone https://github.com/mrossinek/qiskit-nature-cp2k.git
cd qiskit-nature-cp2k
pip install  .

I got:
Successfully installed dill-0.3.8 h5py-3.11.0 mpmath-1.3.0 numpy-2.0.1 pbr-6.0.0 psutil-6.0.0 python-dateutil-2.9.0.post0 qiskit-1.1.2 qiskit-algorithms-0.3.0 qiskit-nature-0.7.2 qiskit_nature_cp2k-0.0.1 rustworkx-0.15.1 scipy-1.14.0 setuptools-72.2.0 six-1.16.0 stevedore-5.2.0 symengine-0.11.0 sympy-1.13.2 typing-extensions-4.12.2

when I run pip list, I get:
Package            Version

dill               0.3.8
h5py               3.11.0
mpmath             1.3.0
numpy              2.0.1
pbr                6.0.0
pip                24.2
psutil             6.0.0
python-dateutil    2.9.0.post0
qiskit             1.1.2
qiskit-algorithms  0.3.0
qiskit-nature      0.7.2
qiskit_nature_cp2k 0.0.1
rustworkx          0.15.1
scipy              1.14.0
setuptools         72.2.0
six                1.16.0
stevedore          5.2.0
symengine          0.11.0
sympy              1.13.2
typing_extensions  4.12.2

Clean environment using pyenv virtualenv ('pyenv virtualenv 3.12.2 testing-qiskit-nature-cp2k')

the 'UNKNOWN' happens only when I use:
pip install git+https://github.com/mrossinek/qiskit-nature-cp2k.git


Simplify version-related code in setup.py and init.py?

Not sure I've got this right; do any of the following changes make sense?
setup.py embed_version()
Will never be called (because version.py is bundled): remove this function?
setup.py get_setup_version()

two tries to import param.version
version will never be None (as version.py is bundled)
version_file_path will never be used

So could it be simplified to something like this?
def get_setup_version(reponame):
    import param.version
    return param.version.Version.setup_version(os.path.split(__file__)[0], reponame, dirty='raise', archive_commit="$Format:%h$")

(Unrelated note: changed dirty from strip to raise. I think report would be ok too. I'm not sure strip should be an option, let alone the default - what am I missing?)
__init__.py
Currently:
# Determine up-to-date version information, if possible, but with a
# safe fallback to ensure that this file and parameterized.py are the
# only two required files.
try:
    from .version import Version
    _version = Version(fpath=__file__, archive_commit="$Format:%h$", reponame="param")
    __version__ = str(_version)
except:
    import json
    __version__ = json.load(open(os.path.join(os.path.split(__file__)[0],
                                              '.version'), 'r'))['version_string']

For the comment to still be true, would need an "if exists .version" or one more except.
Should probably delete names once done with them (Version, json)?
Will the current except ever be used? Doesn't Version itself look for the .version file? I might have misunderstood...

Could it be changed to something like the following?
# Determine up-to-date version information, if possible, but with a
# safe fallback to ensure that this file and parameterized.py are the
# only two required files.
try:
    from .version import Version
    _version = Version(fpath=__file__, archive_commit="$Format:%h$", reponame="param")
    __version__ = str(_version)
except:
    __version__ = '0.0.0+unknown'

(where 0.0.0+unknown could be whatever makes most sense for indicating version unknown)

That all sounds good to me.  Do we need to keep _version around? It would be nice to make this as simple as possible...

This should be fine for __init__.py:
from .version import Version
__version__ = str(Version(fpath=__file__, archive_commit="$Format:%h$", reponame="param"))

For setup.py I agree we shouldn't need embed_version() but otherwise I cannot tell offhand if your suggested change is fine. I suggest trying it out and testing it.


Update to the latest Storage swagger

Update to the latest copy of the Storage swagger files

Regenerated the File client (the Raw prefixed types prevented a direct merge)


Cant train on custom dataset

Hi,
I saw in the different issues that people are able to train on their custom dataset. Is it possible to provide details on what to modify in order to do so ? I already applied some modification such as lowering the num_points.
Here is the error log.
Please let me know if i need to provide additional information.
2022-04-14 16:32:44,797 : Train time 00h 00m 00s, Training started
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/halodi/.vscode/extensions/ms-python.python-2021.12.1559732655/pythonFiles/lib/python/debugpy/main.py", line 45, in <module>
cli.main()
File "/home/halodi/.vscode/extensions/ms-python.python-2021.12.1559732655/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 444, in main
run()
File "/home/halodi/.vscode/extensions/ms-python.python-2021.12.1559732655/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 285, in run_file
runpy.run_path(target_as_str, run_name=compat.force_str("main"))
File "/usr/lib/python3.8/runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/halodi/ros_ws/src/halodi-segmentation/halodi_segmentation/train_DenseFusion.py", line 237, in <module>
main()
File "/home/halodi/ros_ws/src/halodi-segmentation/halodi_segmentation/train_DenseFusion.py", line 131, in main
for i, data in enumerate(dataloader, 0):
File "/home/halodi/.local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 521, in next
data = self._next_data()
File "/home/halodi/.local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data
return self._process_data(data)
File "/home/halodi/.local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
data.reraise()
File "/home/halodi/.local/lib/python3.8/site-packages/torch/_utils.py", line 434, in reraise
raise exception
ValueError: Caught ValueError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/halodi/.local/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/home/halodi/.local/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/halodi/.local/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in <listcomp>
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/halodi/ros_ws/src/halodi-segmentation/halodi_segmentation/models/DenseFusion/datasets/linemod/dataset.py", line 116, in getitem
mask_label = ma.getmaskarray(ma.masked_equal(label, np.array([255, 255, 255])))[:, :, 0]
File "/home/halodi/.local/lib/python3.8/site-packages/numpy/ma/core.py", line 2098, in masked_equal
output = masked_where(equal(x, value), x, copy=copy)
File "/home/halodi/.local/lib/python3.8/site-packages/numpy/ma/core.py", line 1013, in call
result = self.f(da, db, *args, **kwargs)
ValueError: operands could not be broadcast together with shapes (540,960,4) (3,)

@an99990
Were you able to solve this problem?
I am getting a similar error when I use my own custom dataset.
Also, do you happen to know how to get the Segmentation Results from the trained network?
Thank you!


As AH open plan for first time and get error

Not currently in prod.

@LisaMoore1 i got this locally but if you have time to test today can you see if you get this in Test?  Make a new plan as staff - try to open as AH.

@micheal-w-wells Just did RAN099955 from staff to AH and didn’t generate an error.

maybe was just me then.  weird.

@micheal-w-wells I tested this today and wasn’t able to generate error. You happy closing?


Add preset related methods

Added addPreset, updatePreset, and deletePreset method. Also added the test.
package.json is not edited. The test was run with the following command:
user $ npx ts-node ./tests/preset.ts

LGTM

Thank you for merging.


Need to update ADMB version info

I was working on updating the SS3 examples in the user-examples repository and I noticed that the version in the ss_new files listed for ADMB is incorrect.
I then found that it is hardwired here
https://github.com/nmfs-stock-synthesis/stock-synthesis/blob/0f70fb715b5ae945946f2ece6e2b1eb62b1fce44/SS_versioninfo_330opt.tpl#L10
We can obviously do a quick fix by just changing the version in the tpl but I think it would be best to somehow get the version of ADMB automatically.
The real question is do we do a fix and then retag the repo with 3.30.0 and put up new executables?

Appreciate you catching this Kelli.  Let's just do a quick fix and put out a replacement version of the exe.


Introduction_to_Html_Audio

Description 📜
This Audio gives an Introduction to HTML
Fixes  #225

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[x] Frontend Dev HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Remove the second file.

Do you mean the image file ?

Do you mean the image file ?

Yes merge it in the first file only.


New simulator runtime is sometimes created unexpectedly

This causes multiple serial graphs to appear for the same variable.
This is not caused by the serial editor, but it looks really bad in the serial editor.
Possible band-aid solution: drop graphs that have not received data in x milliseconds.

Add the serial.txt file to the project does trigger a simulator reload. Yes, graphs should be dropped after a certain amount of inactivity (e.g. >5s && >1x time range)

Changing file in editor triggered a typecheck which restarted the editor

Oh, OK.  Is this fixed by https://github.com/Microsoft/pxt/pull/3134?

Yes. Stil we should come up with a logic to recycle out old charts eventually.

Yeah, I filed a separate issue for that.


Add additional checks when using document properties

This PR aims to add additional checks when trying to use document properties. This is useful when importing Cesium into environments which do not include typical browser-like objects such as window.
Example: I develop an app on react native that imports Cesium at some point. It uses ThreeJS as well which adds a minimal polyfill for document which does not contain any location or createElement properties. Therefore when I try to build the app I get an error coming from the Cesium bundle because document.location  is undefined and therefore it can not read document.location.href. This PR fixes that error.
On a side note, this should not break anything as it just performs deeper checks before using document properties, so wherever the document interface is as expected (i.e. in the browser for instance) it will work normally.

Thanks for the pull request @nacho-carnicero!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @nacho-carnicero!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.


Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>

Hey Redth,
When trying to install and use Cake.Json, I got the following error. Do I need to add any reference, redirect or waiting for the next update?
Thanks,
JC
PS C:\temp\cake-build\example-master> .\build.ps1
All packages listed in packages.config are already installed.
Addin: Cake.FileHelpers, adding Reference C:/temp/cake-build/example-master/tools/Addins/Cake.FileHelpers/lib/net45/Cake.FileHelpers.dll
Attempting to resolve dependency 'Cake.Core (≥ 0.5.5)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 7.0.1)'.
Installing 'Cake.Core 0.5.5'.
Successfully installed 'Cake.Core 0.5.5'.
Installing 'Newtonsoft.Json 7.0.1'.
Successfully installed 'Newtonsoft.Json 7.0.1'.
Installing 'Cake.Json 1.0.0'.
Successfully installed 'Cake.Json 1.0.0'.
Addin: Cake.Json, adding Reference C:/temp/cake-build/example-master/tools/Addins/Cake.Json/lib/net45/Cake.Json.dll
Addin: Cake.Json, adding Reference C:/temp/cake-build/example-master/tools/Addins/Cake.Json/lib/net45/Newtonsoft.Json.dll
Error: Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

I found a workaround by copy Newtonsoft.Json.dll to the same folder of Cake.exe.
JC

JC,
I had the same issue (see #1). I was able to fix it by upgrading to the latest version of cake by referencing build 0.6.0 in the packages.config used during the bootstrap process.
HTH,
Mark

That's good to know. Thanks!
JC
Sent from Outlook Mobile
On Sun, Nov 29, 2015 at 5:21 AM -0800, "Mark Ingalls"<EMAIL_ADDRESS>wrote:
JC,
I had the same issue (see #1). I was able to fix it by upgrading to the latest version of cake by referencing build 0.6.0 in the packages.config used during the bootstrap process.
HTH,
Mark

Reply to this email directly or view it on GitHub:
https://github.com/Redth/Cake.Json/issues/2#issuecomment-160416261

I get this error today as i integrated Cake.Json as Addin:
Preparing to run build script...
Running build script...
Analyzing build script...
Processing build script...
Installing tools...
Installing addins...
Compiling build script...
Error: (2456,29): error CS0433: The type 'Newtonsoft.Json.Linq.JObject' exists in both 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' and 'Newtonsoft.Json, V
ersion=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'

Can someone help me?

I am going to go ahead and close this out, as I believe that these issues have been addressed.


bugfix: cache desc tbl

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：
When desc tbl cache is enabled, BE cache desc tbl only once, there is a DCHECK guarantee this invariant. But in SR rolling upgrade, BE is upgraded at first, at this point,  every fragment instance delivered by the FE of previous version  would carry desc tbl, so the cache only once invariant is violated and the BE crashes. this PR fixed this problem.

run starrocks_fe_unittest


Add Article-Level Scores to the Article Table

I was having issues with having too many queries to render multiple articles since each article card was querying the DB. @chartgerink mentioned that I can create new columns for the articles table, and I can simply query that to render article cards. (Thanks, @chartgerink!). To implement this I need to:

Create new columns for aggregate scores (total, research question, etc) for the articles table
For each review submission, update the articles table (recalculating the mean scores for the total, research question, etc). To do this, I need to update the mutation (app/mutations/addReview.tsx).

(@all-contributors please add @chartgerink for mentoring and review)

I'm thinking that adding review columns to the article table would make it difficult to manage the review questions. Perhaps, adding a total score column to the article table would make more sense.

Closing this issue for now.

(Trying to add @chartgerink for the all-contributors!)
@all-contributors please add @chartgerink for mentoring and review

@all-contributors please add @chartgerink for mentoring!


Added slope calculate

Related Issue
-issue number #705
Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the README.
[ ] 🎀 I have updated the README accordingly.
[ ] 👀 I have read the CONTRIBUTING document.
[ ] ✨ I have added tests to cover my changes.
[ ] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Title goes here
Title goes here

| Image goes here  | Image goes here     |

Your issue is closed and you've stolen the issue before asking the creator of the issue


fix(husky): migrate to latest version

:tada: This PR is included in version 1.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Ore harvester ignores blacklisted ores

When I use Resource disabler key and add resource to ore harvester blacklist, it still can give that ore, although I get the message about ore added to machine blacklist.
Played as client connected to game opened to LAN on another machine, so I was not the server hosting played
Mod version: 1.16.5-0.11.5

same issue here, Fabric Version 0.11.5 I tried to blacklist ores in the config too, but without success. Adding Ores is also currently not possible. I tried to add quartz ore.
commonConfig {
    "blacklist_bios"=[]
    "blacklist_bios_mod"=[
        botania
    ]
    "blacklist_loot"=[]
    "blacklist_loot_mod"=[]
    "blacklist_mobs"=[]
    "blacklist_mobs_mod"=[]
    "blacklist_ores"=[
	[
            "modern_industrialization",
            "copper_ore"
        ],
	[
            "modern_industrialization",
            "tin_ore"
        ],
	[
            "modern_industrialization",
            "salt_ore"
        ],
	[
            modern_industrialization",
            "silver_ore"
        ],
	[
            "modern_industrialization",
            "lead_ore"
        ]
    ]
    "blacklist_ores_mod"=[]
    "blacklist_soils"=[]
    "blacklist_soils_mod"=[]
    "blacklist_stones"=[]
    "blacklist_stones_mod"=[]
    "block_hardness"=5
    "block_resistance"=6
    "custom_bio_tags"=[
        [
            c,
            veggies
        ],
        [
            c,
            vegetables
        ],
        [
            c,
            leather
        ],
        [
            c,
            feathers
        ],
        [
            c,
            seeds
        ],
        [
            c,
            dyes
        ],
        [
            c,
            bones
        ],
        [
            c,
            "wooden_rods"
        ],
        [
            minecraft,
            "small_flowers"
        ],
        [
            minecraft,
            logs
        ],
        [
            minecraft,
            planks
        ],
        [
            minecraft,
            saplings
        ],
        [
            minecraft,
            leaves
        ]
    ]
    "custom_bios"=[]
    "custom_loot_tables"=[
        [
            minecraft,
            "chests/simple_dungeon"
        ]
    ]
    "custom_mob_drops"=[
        [
            [
                minecraft,
                "ender_dragon"
            ],
            [
                minecraft,
                elytra
            ]
        ],
        [
            [
                minecraft,
                "ender_dragon"
            ],
            [
                minecraft,
                "dragon_head"
            ]
        ],
        [
            [
                minecraft,
                "ender_dragon"
            ],
            [
                minecraft,
                "dragon_egg"
            ]
        ],
        [
            [
                minecraft,
                "ender_dragon"
            ],
            [
                minecraft,
                "dragon_breath"
            ]
        ]
    ]
    "custom_ore_tags"=[
        [
            c,
            ores
        ],
        [
            minecraft,
            "nether_quartz_ore"
        ]
    ]
    "custom_ores"=[
        [
            appliedenergistics2,
            "quartz_ore"
        ],
        [
            appliedenergistics2,
            "charged_quartz_ore"
        ],
        [
            rftoolsbase,
            "dimensionalshard_overworld"
        ],
        [
            rftoolsbase,
            "dimensionalshard_nether"
        ],
        [
            rftoolsbase,
            "dimensionalshard_end"
        ],
        [
            rhodonite,
            "block_ore_fluorite"
        ],
        [
            rhodonite,
            "block_ore_rhodonite"
        ],
        [
            "exp_ore",
            "block_exp_ore"
        ],
        [
            rockcandy,
            "candy_ore"
        ],
        [
            lightestlamp,
            "boron_ore"
        ],
        [
            funores,
            "zombie_ore"
        ],
        [
            funores,
            "blaze_ore"
        ],
        [
            funores,
            "ghast_ore"
        ],
        [
            funores,
            "magma_cube_ore"
        ],
        [
            funores,
            "wither_skeleton_ore"
        ],
        [
            funores,
            "zombie_pigman_ore"
        ],
        [
            funores,
            "salmon_ore"
        ],
        [
            funores,
            "squid_ore"
        ],
        [
            funores,
            "cod_ore"
        ],
        [
            funores,
            "sheep_ore"
        ],
        [
            funores,
            "rabbit_ore"
        ],
        [
            funores,
            "pig_ore"
        ],
        [
            funores,
            "cow_ore"
        ],
        [
            funores,
            "chicken_ore"
        ],
        [
            funores,
            "bat_ore"
        ],
        [
            funores,
            "witch_ore"
        ],
        [
            funores,
            "spider_ore"
        ],
        [
            funores,
            "slime_ore"
        ],
        [
            funores,
            "phantom_ore"
        ],
        [
            funores,
            "skeleton_ore"
        ],
        [
            funores,
            "enderman_ore"
        ],
        [
            funores,
            "guardian_ore"
        ],
        [
            funores,
            "pufferfish_ore"
        ],
        [
            funores,
            "creeper_ore"
        ],
        [
            gobber2,
            "gobber2_ore"
        ],
        [
            gobber2,
            "gobber2_ore_nether"
        ],
        [
            gobber2,
            "gobber2_ore_end"
        ]
    ]
    "custom_soil_tags"=[
        [
            c,
            dirt
        ],
        [
            c,
            sand
        ],
        [
            c,
            gravel
        ]
    ]
    "custom_soils"=[
        [
            minecraft,
            clay
        ]
    ]
    "custom_stone_tags"=[
        [
            c,
            cobblestone
        ],
        [
            c,
            sandstone
        ],
        [
            c,
            "end_stones"
        ],
        [
            c,
            netherrack
        ]
    ]
    "custom_stones"=[]
    "dimensional_applicator_amplifier"=1
    "dimensional_applicator_capacity_multiplier"=100
    "dimensional_applicator_divisor"=10.0
    "dimensional_applicator_duration"=220
    "dimensional_applicator_is_beacon_effect"=true
    "dimensional_applicator_price"=1000.0
    "dimensional_applicator_show_icon"=false
    "dimensional_applicator_show_particles"=false
    "enable_bio_harvesters"=true
    "enable_chunk_loader"=true
    "enable_dark_mob_harvester"=true
    "enable_dimensional_applicator"=true
    "enable_heat_generator"=true
    "enable_ore_harvesters"=true
    "enable_soil_harvesters"=true
    "enable_specific_mob_harvester"=true
    "enable_stone_harvesters"=true
    "harvester_capacity_multiplier"=100
    "harvester_shard_chance"=75
    "heat_generator_capacity_multiplier"=100
    "key_break_speed_multiplier"=10
    "machine_light_level"=7
    "min_tier_bios"=[]
    "min_tier_ores"=[]
    "min_tier_soils"=[]
    "min_tier_stones"=[]
    "mob_harvester_mob_shard_chance"=25
    "price_bio_1"=400.0
    "price_bio_2"=600.0
    "price_bio_3"=1000.0
    "price_bio_4"=1500.0
    "price_bio_5"=4000.0
    "price_bio_6"=7000.0
    "price_bio_7"=7500.0
    "price_bio_8"=8000.0
    "price_dark_mob"=8000.0
    "price_loot"=8000.0
    "price_ore_1"=400.0
    "price_ore_2"=600.0
    "price_ore_3"=1000.0
    "price_ore_4"=1500.0
    "price_ore_5"=4000.0
    "price_ore_6"=7000.0
    "price_ore_7"=7500.0
    "price_ore_8"=8000.0
    "price_soil_1"=400.0
    "price_soil_2"=600.0
    "price_soil_3"=1000.0
    "price_soil_4"=1500.0
    "price_soil_5"=4000.0
    "price_soil_6"=7000.0
    "price_soil_7"=7500.0
    "price_soil_8"=8000.0
    "price_specific_mob"=8000.0
    "price_stone_1"=400.0
    "price_stone_2"=600.0
    "price_stone_3"=1000.0
    "price_stone_4"=1500.0
    "price_stone_5"=4000.0
    "price_stone_6"=7000.0
    "price_stone_7"=7500.0
    "price_stone_8"=8000.0
    "speed_bio_1"=400
    "speed_bio_2"=350
    "speed_bio_3"=300
    "speed_bio_4"=250
    "speed_bio_5"=200
    "speed_bio_6"=150
    "speed_bio_7"=100
    "speed_bio_8"=5
    "speed_dark_mob"=50
    "speed_heat_generator"=3
    "speed_loot"=50
    "speed_ore_1"=400
    "speed_ore_2"=350
    "speed_ore_3"=300
    "speed_ore_4"=250
    "speed_ore_5"=200
    "speed_ore_6"=150
    "speed_ore_7"=100
    "speed_ore_8"=5
    "speed_soil_1"=400
    "speed_soil_2"=350
    "speed_soil_3"=300
    "speed_soil_4"=250
    "speed_soil_5"=200
    "speed_soil_6"=150
    "speed_soil_7"=100
    "speed_soil_8"=5
    "speed_specific_mob"=50
    "speed_stone_1"=400
    "speed_stone_2"=350
    "speed_stone_3"=300
    "speed_stone_4"=250
    "speed_stone_5"=200
    "speed_stone_6"=150
    "speed_stone_7"=100
    "speed_stone_8"=5
}

I think I found the problem! It's one I'd had earlier with the Mob Key. Essentially, I was trying to get the registry name of the item but was instead getting its translation key. For example: "minecraft:dirt" vs "item.minecraft.dirt". I've used the search in folder tool to find all occurrences of the text "getTranslationKey" and have fixed (hopefully :) all places that should be using something else. I'll release a fix in 0.11.6.

Done!


Typescript response (instead zod) to Openapi

In TRPC I only need to use zod (or yup) for the input, but the output type gets automatically passed on to the frontend without a need for zod.
I want to make an endpoint for a function that  already has a typed response. I would rather not have to rewrite all types into zod.

Unfortunately, for now you are required to add a zod output schema for each endpoint because this is needed to generate the OpenAPI response body schema.
Fortunately, @sachinraja is working on a tool that will enable us to generate schemas from TS return types (https://github.com/sachinraja/trpc-snapshot) coming soon 🚀.

The repo is private because there's nothing usable yet (only a POC). I'm also focusing on tRPC v10 stuff at the moment.


Update sbt to 1.3.4

Updates org.scala-sbt:sbt from 1.3.2 to 1.3.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: semver-patch

Coverage remained the same at 68.16% when pulling 2f32bf0db0c852c88460d3792cd5a10ded60a1c7 on scala-steward:update/sbt-1.3.4 into 8f225f80843548de5b44648c1e7f1f1752df59ca on evolution-gaming:master.


Update richness figure colors

Two things to try/consider:

[x] Use a different color palette (currently low is yellow and high is green). Try the inferno palette as a first start (often used by eBird).
[x] For areas where we have predictions and the predicted number of species is zero, use a markedly different color.
[ ] (stretch) Consider adding polygon(s) around those areas with >=4 species, since we talk about these areas in manuscript.

Updated colors. Used the eBird abundance/inferno palette for richness, with a light gray for areas with 0 species. Used a eBird-like palette for the richness change figures, with blue for positive values and red for negative values.
The 3rd item (denoting "hotspots") proved a bit difficult.  There are lots of very small hotspots, so using a polygon to delineate those areas wasn't possible.  Alternatively, we talked about binning values, having one color for 0 spp, one for 1-3 spp, and one for 4-7 spp. However, I didn't like that either and we're essentially throwing out information. Maybe this isn't necessary or if so, could put in supplement.

Closing for now; polygons around high richness areas did not add to figure.

For richness delta, try three-color palette as used for single species deltas showing loss "#fc8d59", stable "#ffffbf", and gain "#2c7bb6".

Delta plots just don't "pop" if that orange/blue palette is used. Keep red/blue palette.


Crashing with "Unknown error" when opening a project

Version 1.0.1 (1.0.1) according to the app, downloaded from the 1.1.0 GitHub release, running on macOS.
Tried opening these projects, both fail the same way:

https://github.com/gradle/declarative-samples-kotlin-app
https://github.com/gradle/declarative-samples-java-app

Thank you for the report Márton!

1.1.1 is out fixing this
https://github.com/gradle/gradle-client/releases/tag/1.1.1

The new version is still crashing for me when just starting it from Applications, but now the UI under the crash navigates to a new screen

Interestingly, it works if I dig into the contents of the app and run it from terminal (with /Applications/GradleClient.app/Contents/MacOS/GradleClient)


[syscalls] Clean-up curve25519 msm length feature gate check

Problem
The feature eca6zf6JJRjQsYYPkBHF3N32MTzur4n2WL4QiiacPCL is now activated on all clusters.
Summary of Changes
Remove the unnecessary feature gate check.
Fixes #

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.1%. Comparing base (8e331e1) to head (a8e3def).
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #1066     +/-   ##
=========================================
+ Coverage    82.0%    82.1%   +0.1%
=========================================
  Files         860      867      +7
  Lines      232898   233612    +714
=========================================
+ Hits       191071   191893    +822
+ Misses      41827    41719    -108


do not use * for mocha

eventually there will be a version 3 of mocha, and then your tests might break :(

(https://github.com/sindresorhus/node-module-boilerplate/issues/8)

I prefer to have it loose myself as I can easily fix any potential issues, and don't want to have to bump the version of every little module just because mocha made a tiny breaking change. YMMV.


Preview changes not being picked up

The first time I preview a draft post, it reflects what is in WP. But subsequent changes and re-preview isn't showing an updated page.
Here is a sample page:
https://bubsnext.wpengine.com/wp-admin/post.php?post=3&action=edit
When using the graphql IDE with a sample query, it does correctly update each time:
query:
query GetContent($slug: ID!, $preview: Boolean) {
  contentNode(id: $slug, idType: URI, asPreview: $preview) {
    __typename
    id
    databaseId
    isPreview
    link
    slug
    uri
    date
    previewRevisionDatabaseId
    previewRevisionId
    ... on Page {
      id
      content
    }
  }
}

variables:
{
  "slug": "/?page_id=81",
  "preview": true
}

I've tested this on a couple sites, both have graph cdn on, so it's possible the caching is happening there, though when I purge cache it doesn't seem to correct anything.

This was a graphcdn issue, the AUTHENTICATED scope was causing the page to be cached.

Need to make sure we document this when we commit the docs for #143.

Via support request from Graph CDN, apparently there isn't an easy way on their end to do this currently. They are tracking the request here:
https://graphcdn.canny.io/feature-requests/p/header-to-disable-caching
They suggested one alternative, and i can think of a few other:

Store graphcdn endpoint and origin separately as two ENV vars, and conditionally always load from origin on authenticated requests

Have our webhooks code expire cache whenever preview is updated

Have our origin send a no-cache header for authorized requests

Via support request from Graph CDN, apparently there isn't an easy way on their end to do this currently. They are tracking the request here:
https://graphcdn.canny.io/feature-requests/p/header-to-disable-caching
They suggested one alternative, and i can think of a few other:

Store graphcdn endpoint and origin separately as two ENV vars, and conditionally always load from origin on authenticated requests

Have our webhooks code expire cache whenever preview is updated

Have our origin send a no-cache header for authorized requests

Turns out graphcdn was a red herring. WP Graphql is supposed to send no-cache headers, and it does. Graph CDN is then supposed to not save anything to cache, and it doesn't.
The actual issue is something in our WP logic. When the sample post is published, then each subsequent save generates a new preview url: /92, /93, etc.
However when it's a draft, it always goes to /3, which loads the last saved version of the post, but not the temporary preview ones.
I think the solve would be on the headless-redirect.php side, to send the user to the preview ID regardless of post publish status.

Turns out graphcdn was a red herring. WP Graphql is supposed to send no-cache headers, and it does. Graph CDN is then supposed to not save anything to cache, and it doesn't.
The actual issue is something in our WP logic. When the sample post is published, then each subsequent save generates a new preview url: /92, /93, etc.
However when it's a draft, it always goes to /3, which loads the last saved version of the post, but not the temporary preview ones.
I think the solve would be on the headless-redirect.php side, to send the user to the preview ID regardless of post publish status.

After further testing, it was hard (and I don't believe possible) to setup roles to keep caches for public and authenticated requests on graphcdn.
While the fix in #193 of hitting the origin direct did work, this might be better:
https://graphcdn.canny.io/changelog/define-headers-to-bypass-the-graphcdn-edge-cache

Solved by bypassing graphcdn if logged in to preview mode:
https://github.com/patronage/bubs-next/blob/942cac6ebc97ce50fe60b9edeb0566f26f8e23ca/docs/performance-backend.md#enabling-graphcdn


ARTEMIS-4568 Configuration reload for AMQP federation broker connections

Allows the configuration of AMQP Federation broker connections to be updated and reloaded. This allows for update, add or remove of AMQP federation broker connections as well as the basic AMQP sender and receiver broker connections. It checks for and ignores changes in AMQP broker connections that are performing Mirroring as that would lead to issues that can break mirroring.

LGTM. Give the commits a squash.


Offline documentation missing in VS 2019

I can't find this documentation in the VS2019 offline help viewer. The only Xamarin-related item I could find in "Manage Content" is "Xamarin Mobile App Development", but that doesn't appear to include any API documentation.

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

ID: beb52528-7bad-92dc-5ccc-09a5240bb1bf
Version Independent ID: 082cda2b-b3e5-6b12-3154-4b52a2710413
Content: Xamarin.Forms Namespace
Content Source: docs/ns-Xamarin.Forms.xml
Product: xamarin
Technology: xamarin-forms
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Hi @Torkell
Afraid there isn't currently an offline book for the API docs. However, I'll get one created, and added to the offline help viewer once Xamarin.Forms 5.0 is released.


Add whitelisting for UWSGINerveWorkerStats collector

This adds trivial whitelisting support. This is needed to make stats collection opt-in for services. For example, a service that is advertised in nerve, but does not support the stats endpoint would not want to be constantly spewing 404s.
I think in the long term, we're going to want to add something like pattern-based whitelisting. I can imagine that this will get a bit annoying if you are going to have to whitelist tons of services. At the very least, we might want to add in an "all" or "*" special-case.

lgtm

ship it!


Bad change; ignore this PR

Just making sure it fails as expected.  (I tried locally but Travis can be funny...)

Failed as expected.  Closing...


Tree fizz buzz

[x] Top-level README “Table of Contents” is updated
[ ] README for this challenge is complete
- [x] Summary, Description, Approach & Efficiency, Solution
- [ ] Picture of whiteboard
- [x] Link to code
[x] Feature tasks for this challenge are completed
[ ] Unit tests written and passing
- [ ] “Happy Path” - Expected outcome
- [ ] Expected failure
- [ ] Edge Case (if applicable/obvious)


Add an end-to-end test for the OSS-Fuzz integration

@oliverchang In https://github.com/bazelbuild/rules_fuzzing/pull/96#pullrequestreview-562272981 you mentioned:

Perhaps we can have a GitHub action for this repo which checks out OSS-Fuzz at the latest revision and builds the test project? Seems like something that would fit better in this repo.

Just to confirm: would it be okay to submit a test project to the OSS-Fuzz repo (e.g., projects/bazel-rules-fuzzing) that runs the fuzzing examples in this repo? Is there a way to mark the project as "test only" so it doesn't run on the OSS-Fuzz infrastructure (it would use up resources unnecessarily)?

Yep, we already have similar projects such as https://github.com/google/oss-fuzz/blob/2cf181aa323c6bdeb1073622f0642782eb66acf9/projects/cifuzz-example/project.yaml#L5. You just need to specify "disabled: true"

Yep, we already have similar projects such as https://github.com/google/oss-fuzz/blob/2cf181aa323c6bdeb1073622f0642782eb66acf9/projects/cifuzz-example/project.yaml#L5. You just need to specify "disabled: true"

Fixed in #117.

Fixed in #117.


getCohortName()

We need an endpoint for getting the cohort name, when the user is a student and we only have the cohort id.

https://github.com/zeeguu-ecosystem/Zeeguu-API/blob/2fa31ab6afbca6806bc6690e2863a598614cbc8c/zeeguu_api/api/student.py#L51
returns this:

Works.


Save mapped input text to NER corpus

AS AN End-User
I WANT TO save new NER training data to my models
SO THAT I can finetune my model with user-specific topics
Acceptance Criteria

[ ] A private corpus for end-user who integrates the application
[ ] A public corpus for the websites (yet not publicly available for further finetuning)

@vmugra

Public or private corpus?
Needs clarification as user story and ACs.

@turnerrainer yes


better onDestroy mechanism

current way
  private destroy$ = new Subject();
  ngOnDestroy(): void {
    this.destroy$.next();
    this.destroy$.complete();
  }

better way
extends subject
ref https://stackblitz.com/edit/angular-auto-unsubscribe-service?file=src%2Fapp%2Fhello.component.ts
@Injectable()
export class NgOnDestroy extends Subject<null> implements OnDestroy {
  ngOnDestroy() {
    this.next();
    this.complete();
  }
}

@Component({
  selector: 'hello',
  template: `<h1>Hello {{name}}!</h1>`,
  styles: [`h1 { font-family: Lato; }`],
  providers: [ NgOnDestroy ]
})
export class HelloComponent implements OnInit {
  @Input() name: string;

  constructor(@Self() private ngOnDestroy$: NgOnDestroy) {}

  ngOnInit() {
    this.ngOnDestroy$.subscribe().add(() => console.log('Destroyed!'));
  }
}

extends Obseverable
https://twitter.com/Waterplea/status/1271037735332204544

This is interesting, but why exactly is it "better" or performance related? It doesn't really save any code, nor changes what actually happens. In fact it creates more runtime overhead by creating more objects.
Another alternative is a OnceSubject which has a single method for next + complete, that would also save a bit of code when used.

建议作为 import { NgOnDestroy } from 'ng-zorro-antd/core' 的一部分。


Link to help center articles for notification settings

In the Personal settings > Notifications panel, we should add the following ? links (like the ones used for other settings) to link to the appropriate help center pages:
Desktop message notifications: /help/desktop-notifications
Mobile message notifications: /help/mobile-notifications
Email message notifications: /help/email-notifications
CZO thread

Hey @alya , Could you please assign this Issue to me, since zulipbot won't allow me to claim this issue, I have one open PR under product-review, Thanks.

Done!


Create a testimonial v4

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Testimonials/testimonial-v4.html.
If you need to use any icon please use it from Hero Icons
Good luck.

please assign me this

Go ahead @443781544

Is it still open can I work on this?


v0.1.1

Could you create a new crates.io release to allow using the changes from the PR yesterday?
Thank you :)

Done 👍


cli,frontend-app-api: add experimental support for frontend package discovery

Hey, I just made a Pull Request!
This implements experimental support for discovering packages for the frontend app, similar to what #18906 did for the backend.
It's a bit more involved since we need support from the CLI to bring the discovered packages into the Webpack build, and it's therefore not pluggable in quite the same way.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

API report complaining


fix navigation url when searching for kb article

when hosted under a path (for example, http://host/sub), the composed link doesn't account for the path (/sub). This PR fixes this by using Jekyll's link tag to build the URL

lgtm


how to reproduce the scores in paper?

I have train a model and the parameters are set similar with yours:
20 epochs
~80,000 train set
~4000 val set
but I only got 19.3 bleu-4  in epoch 8, but the paper has achieved 24.3 bleu-4

When continue training, the scores decrease as follows:
Epoch  bleu4
-------------
15        18.28
16        17.71
17        17.79
18        17.72
19        17.43
20        17.35
I am a beginner in deep learning, and how should I adjust parameters or other things to get higher scores?

Are you using the same code from the notebook? I ask since most couldn't even get it to run

@mukeshmithrakumar Yes I run the same code, and I used Python 3.6, Tensorflow 1.4, it can run on both Windows10 and ubuntu, I only change some trivial code for adaptation.

Hi @ivy94419  I will test the code and will get back to you

Hi @ivy94419 @mukeshmitrakumar I am able to train the model (python 2.7 tensorflow = 1 4)but could not evaluate them.
Any help regarding it would be helpful

Hi rijuldhir, I wanted this to be a benchmark and it turned out to be a lot of hustle to get it to predict something so moved on to a different model. Will let you know if I come back to this but I highly doubt anytime soon. You will have better luck with asking ivy

When i run evaluate_model.ipynb
I get the following error
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [1500] rhs shape= [1024]
[[Node: save/Assign_7 = Assign[T=DT_FLOAT, _class=["loc:@initial_lstm/b_c"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](initial_lstm/b_c, save/RestoreV2_7/_29)]]
[[Node: save/RestoreV2_19/_14 = _SendT=DT_FLOAT, client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_62_save/RestoreV2_19", _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
In case you know it shapes are not equal?

@rijuldhir Sorry for late reply, try to change this to 1024

Thanks for the reply @ivy94419 .
I actually got it while checking the code.
Did you got the BLEU scores as given in the paper as I got the max of BLEU-4 19.2 only?
Do I need to make any changes to the code?

@rijuldhir I only achieved 19.4 BLEU-4 as mentioned above ...

@ivy94419 I have been trying to change vgg network from vgg19 to vgg16 in the code but I am getting some errors.
Any chance you know what's the problem?

do you get the same score in the paper？thanks


BUG: cp312 wheel builds have been failing for a while - Pythran/complex related

Describe your issue.
The cp312 wheels builds have all been failing for a while now. It seems to be arising from Pythran somewhere and is related to complex arithmetic.
I tried to see if there's been an issue reported over this, but couldn't see one.
@serge-sans-paille
Reproducing Code Example
The cibuildwheels for cp312 are all failing, e.g. https://github.com/scipy/scipy/actions/runs/5974110572

Error message
    [803/1588] Compiling C++ object scipy/stats/_stats_pythran.cpython-312-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o
    FAILED: scipy/stats/_stats_pythran.cpython-312-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o
    c++ -Iscipy/stats/_stats_pythran.cpython-312-x86_64-linux-gnu.so.p -Iscipy/stats -I../../scipy/stats -I../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran -I../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/numpy/core/include -I/opt/_internal/cpython-3.12.0b4/include/python3.12 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++14 -O3 -fPIC -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE -Wno-cpp -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-int-in-bool-context -MD -MQ scipy/stats/_stats_pythran.cpython-312-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -MF scipy/stats/_stats_pythran.cpython-312-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d -o scipy/stats/_stats_pythran.cpython-312-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -c scipy/stats/_stats_pythran.cpp
    In file included from ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/numpy/complex64.hpp:6,
                     from ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/ndarray.hpp:25,
                     from ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/tuple.hpp:8,
                     from ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/builtins/bool_.hpp:6,
                     from ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/NoneType.hpp:6,
                     from ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/slice.hpp:5,
                     from ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/core.hpp:46,
                     from scipy/stats/_stats_pythran.cpp:1:
    ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/complex.hpp: In static member function ‘static std::complex<_Tp> {anonymous}::pythonic::from_python<std::complex<_Tp> >::convert(PyObject*) [with T = long double; PyObject = _object]’:
    ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/complex.hpp:231:15: error: request for member ‘real’ in ‘val’, which is of non-class type ‘__complex__ long double’
      231 |   return {val.real, val.imag};
          |               ^~~~
    ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/complex.hpp:231:25: error: request for member ‘imag’ in ‘val’, which is of non-class type ‘__complex__ long double’
      231 |   return {val.real, val.imag};
          |                         ^~~~
    ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/complex.hpp:231:29: error: could not convert ‘{<expression error>, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::complex<long double>’
      231 |   return {val.real, val.imag};
          |                             ^
          |                             |
          |                             <brace-enclosed initializer list>
    ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/complex.hpp: In static member function ‘static std::complex<_Tp> {anonymous}::pythonic::from_python<std::complex<_Tp> >::convert(PyObject*) [with T = float; PyObject = _object]’:
    ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/complex.hpp:246:15: error: request for member ‘real’ in ‘val’, which is of non-class type ‘__complex__ float’
      246 |   return {val.real, val.imag};
          |               ^~~~
    ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/complex.hpp:246:25: error: request for member ‘imag’ in ‘val’, which is of non-class type ‘__complex__ float’
      246 |   return {val.real, val.imag};
          |                         ^~~~
    ../../../tmp/pip-build-env-mmtfogu_/overlay/lib/python3.12/site-packages/pythran/pythonic/types/complex.hpp:246:29: error: could not convert ‘{<expression error>, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::complex<float>’
      246 |   return {val.real, val.imag};
          |                             ^
          |                             |
          |                             <brace-enclosed initializer list>

SciPy/NumPy/Python version and system information
cp312

We need a new pythran release, see https://github.com/serge-sans-paille/pythran/issues/2143. Pythran master works. This is only a problem for Python 3.12 because of the coupling to nnumpy there, so it's coincidental.
Let me check how to work around this, we may be building against the wrong numpy version in our wheel builds.

Indeed, from the most recent CI log:
    Collecting numpy>=1.26.0b1
      Downloading https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/numpy/2.0.0.dev0/numpy-2.0.0.dev0-cp312-cp312-macosx_10_9_x86_64.whl (21.2 MB)

We should no longer be pointing at the scientific-python-nightly-wheels bucket, but at PyPI so we actually pick up numpy 1.26.0 pre-releases. That's needed anyway for the next scipy 1.11.x release, and it'll fix this.

Hopefully #19139 will free this up.

When I stop allowing installs from scientific-python-nightly-wheels then I get the following error:
  FAILED: scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/meson-generated__upfirdn_apply.c.o
  cc -Iscipy/signal/_upfirdn_apply.cpython-39-darwin.so.p -Iscipy/signal -I../../scipy/signal -I../../../pip-build-env-hfyjq7vy/overlay/lib/python3.9/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -Wno-unused-but-set-variable -Wno-unused-function -Wno-conversion -Wno-misleading-indentation -DCYTHON_CCOMPLEX=0 -Wno-cpp -MD -MQ scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/meson-generated__upfirdn_apply.c.o -MF scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/meson-generated__upfirdn_apply.c.o.d -o scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/meson-generated__upfirdn_apply.c.o -c scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/_upfirdn_apply.c
  scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/_upfirdn_apply.c:26476:25: error: initializing '__pyx_t_float_complex' with an expression of incompatible type 'int'
    __pyx_t_float_complex __pyx_v_cval = 0;
                          ^              ~
  scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/_upfirdn_apply.c:26954:20: error: assigning to '__pyx_t_float_complex' from incompatible type 'int'
        __pyx_v_cval = 0;
                     ^ ~
  scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/_upfirdn_apply.c:27608:26: error: initializing '__pyx_t_double_complex' with an expression of incompatible type 'int'
    __pyx_t_double_complex __pyx_v_cval = 0;
                           ^              ~
  scipy/signal/_upfirdn_apply.cpython-39-darwin.so.p/_upfirdn_apply.c:28086:20: error: assigning to '__pyx_t_double_complex' from incompatible type 'int'
        __pyx_v_cval = 0;

What's going on there?

That should have been fixed by gh-19135 on our side, see gh-19132.

Unfortunately the patch doesn't seem to work everywhere. The fail can be seen at https://cirrus-ci.com/task/6585252928290816?logs=cibuildwheel#L1847.
I'm going to merge #19139 as it allows the GH wheels build to complete.

The patch itself should work,but it's not present. I think we're failing to merge main into the PR branch. The numpy Cirrus setup does do that.

The numpy Cirrus setup does do that.

Hmm, that's weird, the two git clone sections are exactly the same.

Are they? cirrus_wheels.yml seems to be missing this logic, while cirrus_general_ci.yml does have it:
modified_clone: &MODIFIED_CLONE
  # makes sure that for a PR the CI runs against a merged main
  clone_script: |
    if [ -z "$CIRRUS_PR" ]; then
      # if you're not in a PR then clone against the branch name that was pushed to.
      git clone --recursive --branch=$CIRRUS_BRANCH<EMAIL_ADDRESS>$CIRRUS_WORKING_DIR
      git reset --hard $CIRRUS_CHANGE_IN_REPO
    else
      # it's a PR so clone the main branch then merge the changes from the PR
      git clone<EMAIL_ADDRESS>$CIRRUS_WORKING_DIR
      git fetch origin pull/$CIRRUS_PR/head:pull/$CIRRUS_PR

      # CIRRUS_BASE_BRANCH will probably be `main` for the majority of the time
      # However, if you do a PR against a maintenance branch we will want to
      # merge the PR into the maintenance branch, not main
      git checkout $CIRRUS_BASE_BRANCH

      # alpine git package needs default user.name and user.email to be set before a merge
      git -c<EMAIL_ADDRESS>merge --no-commit pull/$CIRRUS_PR
      git submodule update --init --recursive
    fi

https://cirrus-ci.com/task/5442687944359936 illustrates the issue. Hmm. If I were to hazard a guess I think it's because .cirrus.star is loading an older version of ci/cirrus_general_ci.yml, one which existed when the PR was originally made. If cirrus_general_ci.yml is modified after that, then any CI runs may not use that newer config file. Thus, additional dependencies (e.g. hypothesis) may not be installed so the test fails. If my hunch is correct then having requirements.txt files would help.


How to return metrics using custom estimator

I note the example customized learner in the automl notebook.
I have a couple of learners not written using scikit so I understand I need to write a wrapper class around them and implement the fit and predict methods. That is fine.
What i do not understand (not being scikit expert) is once fitted how the necessary metrics get delivered back to flaml, as part of the fit what do i need to store or return or whatever to conform to flaml expectations?

You can probably safely ignore my question. Digging into the code you call fit then call predict and you calculate the loss that way. So i just have to implement fit and predict and should be good.

Hi @camer314, you are right about the way to add a customized estimator. But please feel free to follow up if you encounter any other problems. We are happy to learn more about your use cases. You are also welcome to post quick questions and share comments on gitter.


Using MySQL database, boolean values are always displayed as true

My data is fetched from a MySQL database where I'm using tinyint(1) for boolean fields. This results in a response like this:
[{"id":"1","title":"test1","ensure":"1"},{"id":"2","title":"test2","ensure":"0"}]

Apparently this does not work because the value "0" is evaluated as true. In the list view, both entries are displayed as checked.
If I manually set the value to NULL, then it works as expected. However, new rows are again stored with the value "0".
Is this a problem of my database scheme (how to fix it?) or should ng-admin evaluate "0" as false?

This is debatable. One could argue that "0" is truthy, it depends on the backend.
Is it ng-admin's role to decide how to map a string to a boolean? I don't think so.
However, you can decide how to do the mapping yourself using an ElementTransformer (cf https://github.com/marmelab/ng-admin/blob/master/doc/API-mapping.md).


ASR outputs "v" instead of "ث"

I'm not sure where the problem occurs exactly, but this is the only letter, ث is always "v"
Perhaps check the vocabulary files

Can't recreate that, do you have an example?

just tried it now and ث is correct, this is a new machine and a new installation though, I lost access to the older machine, lemme see if I can get a sample to reproduce this. (might take some time)


[torii] Benchmarks

As worlds grow Torii will grow, potentially to a very very large size with millions of entities.
For newcomers looking at Dojo as a solution, we should display the benchmarks torii can offer.

Fetching 1 million entities
Storing 1 million entities
etc...

From these benchmarks we will be able to check performance bottlenecks and optimise before worlds have issues.

@ponderingdemocritus can I be assigned to this?


WIP - straw man of exposing hierarchical file input snapshots to operation listeners

Put up to identify issues before finishing the real implementation.
Not to be merged.

@wolfs made that change to just use a visitor. Seems to work ok.
https://github.com/gradle/gradle/pull/5944/files#diff-cdd6f017e5b1e29aca749b5ee8c9efe7R221


🍢 Make everything TitleCase instead of kebab-case

The thoughts around making everything title case instead of kebab case are the following:

We would like annotation class names to match up more closely with their class imports. When you see Italic, the import of the annotation should be Italic.
Symmetry in renderers. Previously the left hand and right hand side of renderers would be different— now they'll match up:

class ExampleRenderer extend {
  *GiphyEmbed(embed: GiphyEmbed) { /* ... */ }
  *List(list: List) { /** ... */ }
}

By making the types title case, when we integrate with React, it will match up more nicely with the mental model used there.

This is probably a Breaking Change™, but I don't really know what to do about this.


Is this banner crash a MoPub issue or an issue with the custom adapter?

I have submitted this to MoPub but they told me to submit it here https://github.com/mopub/mopub-android-sdk/issues/511
MoPub SDK Version: 5.18.0
Criteo SDK 4.3.0
I've only seen this crash on Crashlytics so I don't have any more details and it hasn't happened to me on testing even when testing that ad network.
Fatal Exception: java.lang.IllegalStateException: Calling View methods on another thread than the UI thread.
       at com.android.webview.chromium.WebViewChromium.b(WebViewChromium.java:2)
       at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:15)
       at android.webkit.WebView.<init>(WebView.java:648)
       at android.webkit.WebView.<init>(WebView.java:577)
       at android.webkit.WebView.<init>(WebView.java:560)
       at android.webkit.WebView.<init>(WebView.java:547)
       at android.webkit.WebView.<init>(WebView.java:537)
       at com.criteo.publisher.CriteoBannerView.<init>(CriteoBannerView.java:127)
       at com.criteo.publisher.CriteoBannerView.<init>(CriteoBannerView.java:118)
       at com.criteo.mediation.mopub.CriteoBannerAdapter.load(CriteoBannerAdapter.java)
       at com.mopub.mobileads.BaseAd.internalLoad(BaseAd.java:104)
       at com.mopub.mobileads.AdAdapter.load(AdAdapter.java:84)
       at com.mopub.mobileads.AdViewController.loadBaseAd(AdViewController.java:845)
       at com.mopub.mobileads.AdViewController$3.onSettingsReceived(AdViewController.java:219)
       at com.mopub.common.CESettingsCacheService$getCESettings$cacheListener$1.onGetComplete(CESettingsCacheService.java:101)
       at com.mopub.common.CacheService$getFromDiskCacheAsync$$inlined$CoroutineExceptionHandler$1.handleException(CacheService.java:113)
       at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandlerKt.java:25)
       at kotlinx.coroutines.StandaloneCoroutine.handleJobException(StandaloneCoroutine.java:193)
       at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.java:229)
       at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.java:906)
       at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.java:863)
       at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.java:828)
       at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.java:111)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(BaseContinuationImpl.java:46)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.java:104)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.java:571)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.java:750)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.java:678)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.java:665)

Hi,
Thank you for raising this issue. Currently I believe that the issue is on MoPub side. So to ease the discussion, I'll continue on the MoPub's thread until we defined from where, Criteo or MoPub, it comes from.

Hi @casolorz ,
I opened a PR to handle the issue. Still, I suggest you to try to call MoPub on UI thread.
As we were preparing a <IP_ADDRESS> version, the fix will be available on this next version.

Thanks for handling this. Just fyi I am calling everything on the UI thread, something else is putting it on a worker thread, I'm guessing it is the CoroutineExceptionHandler.

Hi,
I'm closing this issue as the fixed has been deployed on the adapter <IP_ADDRESS>: https://github.com/criteo/android-publisher-sdk-mopub-adapters/releases/tag/v<IP_ADDRESS>.
Do not hesitate to reopen it if you have any trouble with the fix, and good luck with the CoroutineExceptionHandler issue.


i18n(zh-CN): cleanup guides\content-collections.mdx

Description (required)
Cleanup and improve guides\content-collections.mdx.

Add missing sentences.
Update outdated code blocks.
Remove duplicated paragraphs.
Minor rewording.
Formatting changes.

I reverted change to the heading so links from other pages still work as expected. We can change this heading later.
In particular reference/api-reference.mdx is out of date for 3 weeks with 6 commits changing the source. Let's get this merged first.


Hosted docs - section on how to tell if scrapyd is doing work and how…

… to stop service safely
https://github.com/open-contracting/kingfisher-scrape/issues/94

I know the "Are any spiders currently running?" section is small at the moment, but when we add the old spiders it will get bigger, so I want to get it into master now so i can build on it in a different pull request.

@odscjames I've approved, with one comment that can either be fixed now or in the next round of changes - up to you

Will issue that - thanks


Kubelet cluster-dns parameter is set incorrectly

The IP address of the kube-dns service is picked according to the IP address of the node: https://github.com/awslabs/amazon-eks-ami/blob/v24/files/bootstrap.sh#L105
Normally this works fine, but on one of my clusters, the kube-dns was running on <IP_ADDRESS>, and the kubelets were configured to point at <IP_ADDRESS>. I'm not sure how kube-dns decides which IP address to use, but however that works, the kubelet should use the exact same logic to pick IP address to use for cluster-dns.

What is the CIDR range of your VPC? Are you doing any VPC peering?

There are two CIDRs:
<IP_ADDRESS>/24
<IP_ADDRESS>/16
No VPC peering. Though I'm curious what would happen if we did do VPC peering.

For current setup, we have both CIDRs in the same VPC.
We expended the VPC after 10.x range IP run out and added 100.x range to the same VPC.
The route table is updated too. We are able to ping and ssh between instances launched in both (10.x and 100.x) ranges.

For your nodes launched in the subnets within <IP_ADDRESS>/24 CIDR, what is the value for --cluster-dns= on the kubelet? ( Run systemctl cat kubelet)
What is the value for your nodes in the <IP_ADDRESS>/16 subnets?

@micahhausler Closing this because we ended up tearing down that VPC and creating a new one with only private subnets. Will reopen if I see this again in the future.


About rasterize

Thank you for your great work. But when I run this commond "python uitls_face.py --lmk dlib --bfm BFM.mat --output OUTPUT_PATH DATASET_PATH", I encounter some issues like below:
Traceback (most recent call last):
File "H:/stylerender/StyleRenderer/utils_face.py", line 522, in
from op import rasterize
File "H:\stylerender\StyleRenderer\op_init_.py", line 3, in
from .rasterize import rasterize
File "H:\stylerender\StyleRenderer\op\rasterize.py", line 15, in
os.path.join(module_path, 'rasterize.cu')
File "C:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\utils\cpp_extension.py", line 898, in load
is_python_module)
File "C:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\utils\cpp_extension.py", line 1097, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\utils\cpp_extension.py", line 1422, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Administrator\anaconda3\envs\styleflow\lib\imp.py", line 302, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'rasterize'
Whether I need to complie rasterize.cpp and rasterize.cu? Or mayebe the CUDA and pytorch version are wrong?

I haven't met this error before. Maybe you should try 'python op/rasterize.py' to find whether the operator works fine. The code in 'rasterize.py: line 10~16' should automatically compile the cpp and cu files. Maybe there are some wrong configurations in Windows system. Try to replace 'module_path' and the following paths for cpp and cu files with absolute path in your computer.

@WestlyPark Thank you for your reple. The 'module_path' may be ok like below:
'G:/stylerender/StyleRenderer/op'.
But when I debug this issue, there would be a path ''C:\Users\ADMINI~1\AppData\Local\Temp\torch_extensions\rasterize'
Whether this is related to CUDA and VS studio version? CUDA 10.0 and VS 2017 were used in my computer

I haven't compiled in windows system, and I use CUDA 9.0 for Linux compilation. The path 'C:\Users\ADMINI~1\AppData\Local\Temp\torch_extensions\rasterize' should be where pytorch install the built libraries and load them automatically when started.
Try to compile independently with VS to build the '.dll' file and see what's wrong. You may include folder
${PYTORCH}/include : ${PYTORCH}/include/torch/csrc/api/include: ${PYTORCH}/include/TH: ${PYTORCH}/include/THC
and link libraries in '${PYTORCH}/lib' the following:
caffe2, c10, torch, torch_pytorch
when you compile the cpp and cu files and copy the output to 'C:\Users\ADMINI~1\AppData\Local\Temp\torch_extensions'
The ${PYTORCH} directory can be seen when you execute in python:
from torch.utils.cpp_extension import include_paths
import os
print(os.path.dirname([p for p in include_paths()][0]))')

@WestlyPark Thank you for you reply. After runing the 'op/fused_act.py', only one file 'build.ninja' appeares in fuse folder like below:
"""
ninja_required_version = 1.3
cxx = cl
nvcc = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc
cflags = -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -IC:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\include -IC:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\include\TH -IC:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -IC:\Users\Administrator\anaconda3\envs\styleflow\Include -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++11
cuda_flags = -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -IC:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\include -IC:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\include\TH -IC:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -IC:\Users\Administrator\anaconda3\envs\styleflow\Include -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__
ldflags = /DLL c10.lib caffe2.lib torch.lib torch_python.lib caffe2_gpu.lib _C.lib /LIBPATH:C:\Users\Administrator\anaconda3\envs\styleflow\libs /LIBPATH:C:\Users\Administrator\anaconda3\envs\styleflow\lib\site-packages\torch\lib "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\lib/x64" cudart.lib
rule compile
command = cl /showIncludes $cflags -c $in /Fo$out
deps = msvc
rule cuda_compile
command = $nvcc $cuda_flags -c $in -o $out
rule link
command = "C$:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64/link.exe" $in /nologo $ldflags /out:$out
build fused_bias_act.o: compile G$:\stylerender\StyleRenderer\op\fused_bias_act.cpp
build fused_bias_act_kernel.cuda.o: cuda_compile G$:\stylerender\StyleRenderer\op\fused_bias_act_kernel.cu
build fused.pyd: link fused_bias_act.o fused_bias_act_kernel.cuda.o
default fused.pyd
"""
But  there still be a error "ImportError: No module named 'fused'"
Could you share with me your compiled files? Even if I may not be able to use them. Thank you


[AutoRelease] t2-informaticadatamanagement-2024-07-10-92022(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/5066
Recording test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=6985

issue link:https://github.com/Azure/sdk-release-request/issues/5066

/check-enforcer override


GDScript 2.0 setget doesn't work

Godot version
4.0 beta 6
System information
Kubuntu 18.04 NVidia GTX 1060
Issue description
Setters and getters don't get called in the editor when changing the value of the exported variable.
Steps to reproduce
@export var m_vecSize:Vector3 = Vector3(1,1,1) : set = setSize, get = getSize
func getSize():
print("Return size")
return m_vecSize
func setSize(a):
print("Change size")
m_vecSize = a
Minimal reproduction project
github won't accept my zip file.

Is your script a tool script? If not, I don't think setget methods will trigger. IIRC this is how it works in the old gdscript, too

I could have sworn that 3.x fired off the setget regardless of the tool keyword, but I may very well be wrong.
I made my script a tool, and the set and get work. Thank you! I'm going to close this, since it's a false alarm.


[quick_action] [ios] 3d touch only working when app is active, not works on cold start

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
callback for quick options not working from app cold start from home quick options
Proposal
current implementation of iOS different with what apple guideline tells to do
can we change ios implementation to use scene(_:willConnectTo:options:) function.

Can you explain more how this is related to SceneDelegate vs AppDelegate? My understanding is that AppDelegate API should also support cold start (maybe via a different function?). @cyanglaz may know more.

It's not clear that the problem here is actually related to app vs scene, but we should investigate why it's not working regardless.

and this fix is similar to issues
https://github.com/flutter/flutter/issues/46155
https://github.com/flutter/flutter/issues/41587
https://github.com/flutter/flutter/issues/31235