Find solution to translate values to strings for Symbiyosys vcd files

 Issue by RobertBaruch
Monday Oct 14, 2019 at 14:23 GMT
Originally opened as https://github.com/m-labs/nmigen/issues/254

When dumping the result of covers and counterexamples, Symbiyosys writes .vcd files. However, any signals that were enums or FSM states are no longer strings, but just plain old binary.
In gtkwave, it's possible to select a signal and then Edit > Data Format > Translate Filter File. You can then select a filter file, which is just a map of original value to string value:
00 ZERO
01 FIRST
02 TOOOO

The configuration can also be saved in a .gtkw file. However, this only affects displayed signals. If you delete the signal and display it again, it is not translated. This is horrible.
Proposal:
Better might be to just go into the vcd file and edit the values. Although it would require an extra step, I wouldn't object to something like this:
python3 <toplevel.py> stringify <input_vcd> -o <output_vcd>

This would parse the input vcd file, replace numeric values with string values for enum and fsm states, and output the result.

@RobertBaruch Yosys now has enum support!

This is no longer gated on upstream since YosysHQ/yosys#1642 was merged. It should be fairly straightforward to add support for RTLIL enum representation to nMigen, but I have a question about the syntax (https://github.com/YosysHQ/yosys/issues/1594#issuecomment-612565690).

Proposed new syntax in https://github.com/YosysHQ/yosys/pull/1918.

The new syntax was accepted.

And nMigen now translates the attributes. E.g.:
import enum
from nmigen import *
from nmigen.back import verilog

class Color(enum.IntEnum):
    RED = 1
    GREEN = 2
    BLUE = 3

color = Signal(Color)
print(verilog.convert(Module(), ports=[color]))

/* Generated by Yosys 0.9+2406 (git sha1 88c622b8f, clang 7.0.1-8 -fPIC -Os) */

(* generator = "nMigen" *)
(* top =  1  *)
(* \nmigen.hierarchy  = "top" *)
module top(color);
  (* enum_base_type = "Color" *)
  (* enum_value_01 = "RED" *)
  (* enum_value_10 = "GREEN" *)
  (* enum_value_11 = "BLUE" *)
  (* src = "bug.py:12" *)
  input [1:0] color;
endmodule


[CARBONDATA-3131] Update the requested columns to the Scan

Get the updated list of requested columns for Scan task

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[x] Testing done
Existing UT

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1541/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1752/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9800/

LGTM


Error when building on OBS on i686?

This is the error specifically:
[  128s] make[3]: Leaving directory '/usr/src/packages/BUILD/obj-i686-linux-gnu'
[  128s] /usr/src/packages/BUILD/src/common/gfxwrapper_opengl.c:461:24: error: conflicting types for 'glBufferSubData'
[  128s]  PFNGLBUFFERSUBDATAPROC glBufferSubData;
[  128s]                         ^~~~~~~~~~~~~~~
[  128s] In file included from /usr/src/packages/BUILD/src/common/gfxwrapper_opengl.c:1:
[  128s] /usr/src/packages/BUILD/src/common/gfxwrapper_opengl.h:491:34: note: previous declaration of 'glBufferSubData' was here
[  128s]  extern PFNGLBUFFERSUBDATAARBPROC glBufferSubData;
[  128s]                                   ^~~~~~~~~~~~~~~

See https://build.opensuse.org/package/live_build_log/home:rpavlik:monado/openxr-sdk-source/Debian_10/i586

Ah. the header uses the old "ARB" version. Easy fix.


Can this package be used without laravel-echo?

Hello, I wanna know if this package can be used without laravel-echo. Also can I send data to the client without broadcasting?

Ya. I want to use direct web-socket client :)

You can use it without laravel-echo and use the Pusher JS SDK instead like the dashboard uses: https://github.com/beyondcode/laravel-websockets/blob/1.4.1/resources/views/dashboard.blade.php#L115-L157
This is the Pusher JS SDK: https://github.com/pusher/pusher-js


Verify adding anchor contract address with network data

I've tested scenarios related to creating allo profile and cliam recurring donation and there is no problem about them


Just a timeout error...

I had just typed cd .. from my private dir in kbfs.
my log id: dee3bc309fcaa2f40ef4fd1c

Looks you got a timeout trying to fetch your favorites list from our API server:
157 2017-01-09T12:32:15.119080 ▶ [DEBU keybase api.go:140] 1353e + API GET request to https://api.keybase.io/_/api/1.0/kbfs/favorite/list.json
158 2017-01-09T12:32:15.119110 ▶ [DEBU keybase api.go:196] 1353f | doRequestShared(fixHeaders) for kbfs/favorite/list
159 2017-01-09T12:32:15.119123 ▶ [DEBU keybase login_state.go:1046] 13540 + Account "sessionArgs"
160 2017-01-09T12:32:15.119136 ▶ [DEBU keybase login_state.go:1048] 13541 - Account "sessionArgs"
161 2017-01-09T12:32:15.119164 ▶ [DEBU keybase api.go:196] 13542 | doRequestShared(getCli) for kbfs/favorite/list
162 2017-01-09T12:32:15.119179 ▶ [DEBU keybase api.go:196] 13543 | doRequestShared(Do) for kbfs/favorite/list
163 2017-01-09T12:32:16.191508 ▶ [DEBU keybase api.go:296] 13544 retry attempt 1 of 6 for kbfs/favorite/list
164 2017-01-09T12:32:17.761856 ▶ [DEBU keybase api.go:296] 13545 retry attempt 2 of 6 for kbfs/favorite/list
165 2017-01-09T12:32:20.083792 ▶ [DEBU keybase api.go:296] 13546 retry attempt 3 of 6 for kbfs/favorite/list
166 2017-01-09T12:32:23.532169 ▶ [DEBU keybase api.go:296] 13547 retry attempt 4 of 6 for kbfs/favorite/list
167 2017-01-09T12:32:28.664333 ▶ [DEBU keybase api.go:296] 13548 retry attempt 5 of 6 for kbfs/favorite/list

@maxtaco any known API server issues around this time?  There are successful KBFS server requests just before this, so it's probably not client-side, but hard to say.

Yeah, some guy with a very old client was just spamming the API in a tight loop.


Update build

Passing --program-prefix=b to configure should take care of creating byacc.

Applied as https://github.com/wyvertux/wyverkiss/commit/7f04c22e6628bb847771e34c8cd2bcc7e6af5ffc. Thanks for the PR.

You're welcome.


Is  URL encoded?

If a name contains a '/', should a registry expect it to be url (percent) encoded on the wire?
e.g, for name 'example/test'
/v2/example/test/tags/list
or
/v2/example%2ftest/tags/list

/ is not valid in a name. The paths in the API do allow for nested names (i.e. not just /), despite most registries not supporting this since the docker hub did not support it.

'/' is valid in a name:

<name> refers to the namespace of the repository. [...] Throughout this document, <name> MUST match the following regular expression:
[a-z0-9]+([._-][a-z0-9]+)*(/[a-z0-9]+([._-][a-z0-9]+)*)*

(Notice the / at the start of the capture group after the first *)
so example/test is a valid name.
My problem is that the spec isn't clear if <name>  in a URL should be escaped or not.

Is a/b/c a valid name?
Currently, there is no registry support 3 or more level name, just two levels <user>/<projectName>.
Is supporting 3 or more level name a good idea?

We should probably discuss this in the faq..

Is a/b/c a valid name?

Per the regular expression for "" a/b/c is valid, yes.

Currently, there is no registry support 3 or more level name, just two levels <user>/<projectName>.

Many, but not all, container registries limit the depth to one. The distribution specification, as currently written, does not specify requirements with respect to how many levels deep or what the levels mean. That exercise, to define namespace requirements, was left for a future revision to tackle.

Is supporting 3 or more level name a good idea?

Define supporting. Registry, Mirror, Client tool, user? For a client, I would suggest allowing the user to use what they want to enter, and check for errors if any from the registry selected. For a registry/mirror, whether they define some namespacing system or use the first path as the account login name, that's up to them. At this point, the distribution spec is not specifying details around authentication or namespacing. I hope we can get to those issues in the next major release.
Cheers, Mike

In terms of my original question then, name is not url encoded and my (toy) registry can say "no slashes" and expect clients to cope.
(Closing because I've got a useful answer)
Out of interest, where's work on the next version of the spec being done?

Currently, there is no registry support 3 or more level name, just two levels /.

Many, but not all, container registries limit the depth to one.

For what it's worth, Amazon ECR does not limit the depth to one; you can create a repository named foo/bar/baz if you want.


Standard for setup.py?

We kind of touched on this in #5, but I'm wondering about the case where we have a normal python project (i.e. no strong front-end needs), as is the case with a lot of our legacy code.  I'd like for us to have the convention that all our python projects are installable, because that makes including them in a Django project very easy, but some of our internal projects don't have that convention.
I'd like to add a simple setup.py to each of these repos, but want to throw this idea out there in case there are strong feelings about it.  Here's a sample, based on eRegs and Python Hosted's simple example:
from setuptools import setup, find_packages
setup(
    name = "some_project_name_here",
    version = "0.1.0",
    license = "public domain",
    packages = find_packages(),
)

There are a host of other fields we could include (long description, authors, etc), but honestly I don't find much value in them and they're likely to get stale quickly.  Thoughts?

Could this python code be invoked from a shell script like https://github.com/cfpb/front-end/issues/49? The idea there was to make a consistent build script invocation that projects across the board could use, regardless of the project stack.

I've been a little smitten with pbr lately: does anyone have strong opinions for or against?
http://docs.openstack.org/developer/pbr/

I absolutely think we should provide a setup.py template of some kind.
Here's something based on the setup.py generated by my cfpb_django app in #12:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
from setuptools import setup

setup(
    name='some_project_name',
    url='http://cfpb.github.io/',
    author='CFPB',
<EMAIL_ADDRESS>    license='CC0',

    # Read the version and description from the app itself.
    version=__import__('some_project_name').__version__,
    description=' '.join(__import__(
        'some_project_name'
    ).__doc__.splitlines()).strip(),

    # Read the README for the long description
    long_description=open('README.md').read()
            if os.path.exists('README.md') else '',

    # Be explicit in only using the app package, and include all data to
    # make sure we grab templates and other assets that aren't Python
    # files.
    packages= find_packages(),
    include_package_data=True,

    # NOTE: DO NOT ABUSE install_requires OR requirements.txt
    #
    # install_requires specifies what a project needs to run. This is
    # the specification PIP will use to install its dependencies within
    # ranges of version compatibility.
    #
    # requirements.txt specifies an exact Python environment with pinned
    # versions that creates a repeatable installation.
    #
    # install_requires should be used for abstract requirements,
    # requirements.txt should be used to make those requirements
    # concrete. Think of it as the difference between a library (the
    # Django app) and an application (the Django project).
    #
    # NEVER just "read" requirements.txt into install_requires.
    install_requires=[
        'Django>=1.6, <1.9',
    ],
)

Thoughts? I like that version and description are pulled in via an import, as it encourages that to be written (and hopefully maintained) as part of the codebase rather than auxiliary to it. As to the extra metadata fields, I don't think there's any harm in including them.

@anselmbradford Since it's a single Python file, setup.py is the setup script.

If it matters to this conversation, note in V1 we've since evolved to have a frontend.sh and backend.sh scripts that are called by setup.sh, respectively.


possible hang in insert

we encountered a couple of hangs in our bigquery task which inserts to bigquery tables, we think the problem is a known bug in hyper which is the underlying way to send http in reqwest (https://github.com/hyperium/hyper/issues/2312). there is also a mentioned simple fix. we have encountered this bug in several other places in our codebase.

Did using the workaround you mentioned in your second link (pool_max_idle_per_host(0)) actually resolve the problem?

we can't say for sure, but because of previous debugging that we did and multiple times it happened we strongly believe it this. ill link an issue i opened to another crate where we thought the hang was in the beginning it contains a lot of info
https://github.com/udoprog/leaky-bucket/issues/35

@idobenamram Have you deployed a modified version of this library (gcp-bq-client) with the aforementioned fix? If so, did it indeed resolve the insertion blocking over a significant period?


Resolve issues reported through SonarCloud

https://sonarcloud.io/project/issues?id=de.ingogriebsch.hateoas%3Aspring-hateoas-siren&resolved=false

First iteration done! Will create another issue for the leftover!


[move-vm] Expose more function and type APIs in the session

Motivation

Exposing more access to the cache gives adapters more flexibility
Allows adapters to implement checks over cached data (without having to make their own cache)

Test Plan

eyes. endpoints are already tested, just now expoed

/land


!!! EXPERIMENTAL VERSION !!!

The README section for construct_typed has this big !!! EXPERIMENTAL VERSION !!! health warning on it, and I'm curious what that entails. For example, is it saying it might not work? Or perhaps that it might change a lot?

The warning refers mostly to the fact that there may still be conceptual changes to DataclassStruct, DataclassBitStruct, TEnum and TFlagsEnum. But I also can't rule out bugs in principle, because this library is not tested well enough yet. Currently I am testing the following two changes. If you have other suggestions/tips they are welcome.
1. Combine dataclass and construct-format
What still bothers me in my current implementation is that the dataclass and the construct-format are two independent objects. I am currently experimenting how to combine the two like this:
Current usage (dataclass and the construct-format are independent):
@dataclasses.dataclass
class Image(DataclassMixin):
    width: int = csfield(Int8ub)
    height: int = csfield(Int8ub)
    pixels: t.List[int] = csfield(Array(this.width * this.height, Byte))

format = DataclassStruct(Image)
print(format.parse(b"BMP\x01\x03\x02\x07\x08\t\x0b\x0c\r"))

My prefered usage (dataclass and the construct-format are combined in one object):
@construct_typed.struct
class Image:
    width: int = csfield(Int8ub)
    height: int = csfield(Int8ub)
    pixels: t.List[int] = csfield(Array(this.width * this.height, Byte))

print(Image.parse(b"BMP\x01\x03\x02\x07\x08\t\x0b\x0c\r"))

But my prefered usage is tricky together with static type checkers like pyright/pylance which I use the most of the time.
2. Change dataclasses to attrs
Also I am experimenting if it makes sense to switch from dataclasses to attrs, because attrs offers a few more features.
What I am missing the most in dataclasses is kw_only which maybe helps with Default or Const constructs. This is only available from Python 3.10. But in attrs it is available for a longer time.

Wouldn't something like this work?
class EnhancedDataclassMixin(DataclassMixin):
    @classmethod
    def _get_format(cls):
        return DataclassStruct(cls)

    @classmethod
    def build(cls, obj):
        return cls._get_format().build(obj)

    @classmethod
    def parse(cls, data):
        return cls._get_format().parse(data)

@dataclasses.dataclass
class Image(EnhancedDataclassMixin):
    width: int = csfield(Int8ub)
    height: int = csfield(Int8ub)
    pixels: t.List[int] = csfield(Array(this.width * this.height, Byte))

raw = b'\x01\x03\x01\x02\x03'
obj = Image.parse(raw)
assert Image.build(obj) == raw

Yes, I had also tried Out something like that. The problem is that if you want to embed Image in another structure you always have to write Image._get_format(). I would prefer that you only have to write Image.
That's why I already tried to make the metaclass of EnhancedDataclassMixin derived from the class Construct, so that the class type itself is a Construct. But unfortunately I didn't manage to do that as I had imagined...

That would work as well, I have implemented a small mod for this on a branch: https://github.com/waszil/construct-typing/commit/479b51344bfd95149596a75ee574ac2e63c032df

In your particular case your implementation works. But this is not a general solution for the problem. If you embed e.g. SubStruct from your test into another context like Array then it doesn't work like that anymore:
@dataclasses.dataclass
class MainStruct(EnhancedDataclassMixin):
	a: int = csfield(Int8ub)
	b: int = csfield(Int8ub)
	# here, we can simply use `SubStruct`, as csfield will recognize it and get the DataclassStruct(...) format.
	sub_struct: List[SubStruct] = csfield(Array(2, SubStruct))


How to apply update after calling compute(x_true, x_pred, A, B, weights=None, mu=0.0)

It's an ordinary Gauss-Newton, so it will be like
    dposes, dpoints = sba.compute(x_true, x_pred, A, B, weights=None, mu=0.0)
    poses = poses + dposes
    points = points + points

okay Thank you. I also had an error
numpy.linalg.LinAlgError: Singular matrix
From calc_delta_a() when it called np.linalg.solve(S, e.flatten()).
Any idea about how to solve the issue ? .
Thanks once again

Maybe the matrix S has all zero row / column?


Async safe SSR

styled-jsx is awesome but it handles style generation during SSR in a very unsafe way. It uses side effects that can lead to style collision when user will try to render something async (say hello to renderToStream and react@17 in future).
So I want to propose a better solution to this problem.
Instead of using flush from styled-jsx/server and internal stylesheet singleton we need to be able to provide custom styleSheetRegistry to controlled virtual tree.
This can be done with react.js context.
// server.js
import { StyleSheetRegistryProvider, StyleSheetRegistry } from 'styled-jsx/server';

const registry = new StyleSheetRegistry();

const app = ReactDOM.renderToString((

));

const styles = registry.toHTML(); // or .toComponents()

const html = `
  <!doctype html>

    ${styles}

${app}

`;

More details:

If no registry is provided to StyleSheetRegistryProvider then the default one will be used. This can be useful on the client side.
If no StyleSheetRegistryProvider is provided then


Please make panic_print_char weak (IDFGH-11350)

Is your feature request related to a problem?
We use esp_log_set_vprintf to redirect log output into a (RTC) memory (ring) buffer. This memory log then can be read out using the HTTP server. However, not all the output that normally ends up in the console can be redirected. Even esp_rom_install_channel_putc does not help saving the core dump during a panic.
Describe the solution you'd like.
By making panic_print_char weak, i.e.
__attribute__((weak)) void panic_print_char(const char c)
in panic.c, we can implement our own panic_print_char function to resolve this problem.
Describe alternatives you've considered.
There are several config options such as CONFIG_ESP_CONSOLE_UART, CONFIG_ESP_CONSOLE_USB_CDC, CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG and CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG to redirect panic log output. But all of them rely on a wired connection. There is currently no wireless solution.
Additional context.
No response

Hello @kriegste ,
Actually, it is possible to "override" the panic_print_char function by wrapping it with the linker, you will then be able to use your own implementation of it. This is the simplest solution, more details about it in this comment: https://github.com/espressif/esp-idf/issues/7681#issuecomment-941957783
If you don't want to wrap the function, you can still mark it as weak by forcing the inclusion of a header file at build time. More details in this comment: https://github.com/espressif/esp-idf/issues/7681#issuecomment-1168424015

Thanks. I'm currently trying the option using a weak.h file. Waiting for the next crash.

It's working. :)

@kriegste Glad to hear it's working, closing this issue then


Account history not reloading

Selecting 'Reload account history' clears all transactions and resets the balance to 0, except it doesn't appear to trigger a reload.

After about 25-30 minutes it appears to have resynced, as all transactions are once again displayed. Doesn't appear that this syncing is happening, as the UI doesn't update as it is syncing and there is no indictor that it is syncing. This is as opposed to the first sync, where the UI updates as it syncs and there is a loading indicator at the bottom of the balance card.


Publications citing xESMF

This thread is just to collect all publications that cite xESMF. If you cite it in your paper, if would be very helpful if you can leave a note here.
Here're what I am aware of:

Wayand, N. E., et al. "A Year‐Round Subseasonal‐to‐Seasonal Sea Ice Prediction Portal." Geophysical Research Letters 46.6 (2019): 3298-3307. https://doi.org/10.1029/2018GL081565
Pothina, Dharhas, et al. "EarthSim: Flexible Environmental Simulation Workflows Entirely Within Jupyter Notebooks." (2018): 48-55. http://conference.scipy.org/proceedings/scipy2018/pdfs/dharhas_pothina.pdf
Sherwen, Tomás, et al. "A machine learning based global sea-surface iodide distribution." Earth System Science Data Discussions (2019): 1-40., https://doi.org/10.5194/essd-2019-40
Zhuang, J., et al., 2019. Enabling immediate access to Earth science models through cloud computing: application to the GEOS-Chem model. Bulletin of the American Meteorological Society, (2019). https://doi.org/10.1175/BAMS-D-18-0243.1
Feng, Zhe, et al. "Spatiotemporal Characteristics and Large-scale Environments of Mesoscale Convective Systems East of the Rocky Mountains." Journal of Climate 2019 (2019). https://doi.org/10.1175/JCLI-D-19-0137.1

Hi Jiawei,
I cited xESMF in a couple recent papers and came across this request to gather all xESMF-citing publications.
Kerr, G. H., et al. "Jet Stream-Surface Tracer Relationships: Mechanism and Sensitivity to Source Region." Geophysical Research Letters 48.1 (2021): e2020GL090714. https://doi.org/10.1029/2020GL090714
Kerr, G. H., et al. "Surface Ozone‐Meteorology Relationships: Spatial Variations and the Role of the Jet Stream." Journal of Geophysical Research 125.21 (2020): e2020JD032735. https://doi.org/10.1029/2020JD032735
Thanks for your work producing a great package!

Gaige

Hi Jiawei,
I cited xESMF in a couple recent papers and came across this request to gather all xESMF-citing publications.
Kerr, G. H., et al. "Jet Stream-Surface Tracer Relationships: Mechanism and Sensitivity to Source Region." Geophysical Research Letters 48.1 (2021): e2020GL090714. https://doi.org/10.1029/2020GL090714
Kerr, G. H., et al. "Surface Ozone‐Meteorology Relationships: Spatial Variations and the Role of the Jet Stream." Journal of Geophysical Research 125.21 (2020): e2020JD032735. https://doi.org/10.1029/2020JD032735
Thanks for your work producing a great package!

Gaige

Hi Jiawei,
I cited xESMF in a couple recent papers and came across this request to gather all xESMF-citing publications.
Kerr, G. H., et al. "Jet Stream-Surface Tracer Relationships: Mechanism and Sensitivity to Source Region." Geophysical Research Letters 48.1 (2021): e2020GL090714. https://doi.org/10.1029/2020GL090714
Kerr, G. H., et al. "Surface Ozone‐Meteorology Relationships: Spatial Variations and the Role of the Jet Stream." Journal of Geophysical Research 125.21 (2020): e2020JD032735. https://doi.org/10.1029/2020JD032735
Thanks for your work producing a great package!

Gaige

Hi Jiawei,
I cited xESMF in a couple recent papers and came across this request to gather all xESMF-citing publications.
Kerr, G. H., et al. "Jet Stream-Surface Tracer Relationships: Mechanism and Sensitivity to Source Region." Geophysical Research Letters 48.1 (2021): e2020GL090714. https://doi.org/10.1029/2020GL090714
Kerr, G. H., et al. "Surface Ozone‐Meteorology Relationships: Spatial Variations and the Role of the Jet Stream." Journal of Geophysical Research 125.21 (2020): e2020JD032735. https://doi.org/10.1029/2020JD032735
Thanks for your work producing a great package!

Gaige


Switching to use external name / description for the program card in the program list view

Description
The name associated with the draft version of the program is preferred over the name associated with the active version of the program.
Release notes:
Describe the change as it should be communicated to partners in the release notes.
Checklist

[ ] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
Fixes #<issue_number>; Fixes #<issue_number>; Fixes #<issue_number>...

Codecov Report

Merging #3417 (42d620a) into main (f220c1f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #3417   +/-   ##
=========================================
  Coverage     80.29%   80.29%
  Complexity     2359     2359
=========================================
  Files           291      291
  Lines          9360     9360
  Branches        627      627
=========================================
  Hits           7516     7516
  Misses         1597     1597
  Partials        247      247

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Dependabot does not upgrade go module dependencies

Expected Behavior

Dependabot should open PRs or update the existing ones, in order to upgrade the go modules.
Current Behavior

Dependabot does not update the existing PR https://github.com/paketo-buildpacks/jam/pull/300 . The last time dependabot opened a PR or updated the existing one was on 12th of September 2023 (~ 1 year ago).
Possible Solution

Probably something with the configuration? Not sure.

@paketo-buildpacks/tooling-maintainers

Fixed, dependabot is able to open PRs


Corrected typo in "DefaultLayout" filename

File was previously called "DefaultLaout.tsx", this is clearly incorrect - corrected the filename and all appropriate imports to reflect the name change.
This was really bugging me 😆.

Fixed


C5 (Germany) Support

This one also uses a 2-column approach.

Is it really coming soon?? Issue has been opened for 3 years. 😜

I see there is a 'help wanted' tag. Is there any guidance on how to help and steps to adding support for a new compliance program? I'd be willing to help, but not sure where to begin (apart from trying to reverse-engineer the code to figure it out).


Unify response for list operations

Motivation
All List operations must return the same response scheme
Approach
{
    "num_items": <the number of items returned>,
    "items": [
         { ... }
    ]
}

Coverage increased (+0.009%) to 89.634% when pulling 95a9c1be8e7ff3c3ca1cb93031b70b20f0a7dfaa on unify-list-response into f479b10d3d8570afeef586a0aaab276de5084e43 on paging-topic.


[ko] Update outdated files dev-1.24-ko.2 (M44-M50)

Outdated Korean contents in the dev-1.24-ko.2 #34903
변경 사항 PR 입니다. M48 건의 경우 공백으로 변경사항 없습니다.

[ ] M44. content/en/docs/contribute/_index.md | 8(+XS) 1(-)
[ ] M45. content/en/docs/contribute/advanced.md | 3(+XS) 3(-)
[ ] M46. content/en/docs/contribute/new-content/open-a-pr.md | 299(+L) 270(-)
[ ] M47. content/en/docs/contribute/participate/_index.md | 1(+XS) 1(-)
[ ] M48. content/en/docs/contribute/participate/pr-wranglers.md | 2(+XS) 2(-)
[ ] M49. content/en/docs/contribute/participate/roles-and-responsibilities.md | 1(+XS) 1(-)
[ ] M50. content/en/docs/contribute/review/for-approvers.md | 2(+XS) 2(-)

/language ko

/assign @yoonian
:)

@yoonian I committed your suggestion. Thank you very much for your review.

/lgtm

Thanks ! @Seo-yul @yoonian
/approve


Fix for the formatting issues with bullet points for exported docx plans

when viewed in an old Word editor.
The fix follows the solution suggested in  the HtmlToWord bug "List item
bullets corrupted in Microsoft Word"
https://github.com/karnov/htmltoword/issues/73 suggested by David
Verhasselt @dv.
Changes:

Firstly, removed earlier attempted fix in commit
5ef7e05e5dff86a038f875fe3f5ab9e52ac24183 (Fix for format issues for
bullet points in Plan docx exports).
Made a copy of Htmltoword (1.1.0) xslt stylesheets functions.xslt
and numbering.xslt and made changes suggested by https://github.com/karnov/htmltoword/issues/73
Prepended the Htmltoword library XSLTHelper method xslt_path() in
config/initializers/htmlto_word_xslt_helper.rb. This method ensures
the Htmltoword library picks up the changed  numbering.xslt template instead of
the library's version.

Fix for issue #2147.
@dsisu Tested the downloaded docx in an old Word editor.
Test_Bullets_2 (8).docx

@johnpinto1 please pin the version of the gem in the the Gemfile

@briri @xsrust Pinned gem version of htmltoword to 1.1.0 and rebased as suggested.


Stop building Ubuntu:Artful packages

Ubuntu Artful reached end of life support on July 19, 2018. For that reason, we're going to cease publishing new bits for this platform.
Once this PR is merged, I'll need to update our release pipeline as well.

Seeing as this is just a change to our CI system, and we can already see that the relevant changes worked in azcli-CI, I'm going to go ahead and merge these changes without waiting for CI to finish.


Could not get the lib running

Steps to reproduce

Library version: 0.20.0
JDK version: 17
Operating system: mac/linux
Complete executable reproducer: private
Camunda Platform version: 7.20-ee
Spring Boot: 3.2.5
Steps: built a Bean factory exposing an AdminProcess and started the application. The process neither appeared in the task list inside the list of start-able processes nor the log statement "deploying admin process..." was visible in the output of the application. Manual instantiation of the AdminRegistry bean with the one admin process was not successful either.

Expected behaviour
Library works
Actual behaviour
Could not get it running

Please check running example: https://github.com/holunda-io/camunda-admin-process-registry/blob/737c46915b2e921872829ee98aa262ef779b36b1/src/test/java/io/holunda/camunda/platform/adminprocess/java/_test/CamundaAdminProcessRegistryTestJavaApplication.java
Maybe the  issue was that this lib did not support camunda 7.21 and camunda-data 1.5.0?


Add qemu-user-static

Tool name
qemu-user-static
Tool license
GPLv2
Add or update?

[X] Add
[ ] Update

Desired version
no particular version
Approximate size
13MB
Brief description of tool
A generic and open source machine emulator and virtualizer.
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
To run arm/ppc/mips Docker containers by simply adding `container: 'multiarch/debian-debootstrap:arm64-bullseye'`.

Platforms where you need the tool

[ ] Azure DevOps
[X] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
https://github.com/actions/runner-images/pull/119

Hello, @Kojoley.
Considering the installation time, we wouldn't like to bake this tool into the image for now.

@al-cheb
can we have custom property or something to install the desired package  in runner image before launching?
jobs:
myjob:
runs-on: ubuntu-latest
packageToinstall: qemu, docker ....
this way, we don't have to install have to bake the packages in to runner images.
if you agree, I can work on this.
hoping for your response....


Global classes conflict with boostrap

We want to use ngx-resizable in a project that also uses bootstrap, but the global row and col classes are stomping on the bootstrap grid classes.
Part of the problem is the use of ViewEncapsulation.None:
https://github.com/3DGenomes/ngx-resizable/blob/master/projects/ngx-resizable/src/lib/resizable/resizable.component.ts#L9
https://github.com/3DGenomes/ngx-resizable/blob/master/projects/ngx-resizable/src/lib/resizable/resizable.component.scss#L10-L28
bootstrap grid classes:
https://getbootstrap.com/docs/4.0/layout/grid/

Any updates?

It seems that ngx-resizable is no longer updated so I switched to angular-split
Works similar and has no conflict with bootstrap.

The same problem in my project. Any news from the author's side?


This repository is over 1 GiB - can we prune it down a little?

Obviously it's good to preserve history, but holy moly is it slow when I forget shallow clones exist.
Here's the worst offenders discovered with the first script I found - 15 files over 20MB (I pondered for a long time how much to include, but it would've been a whopping 748 rows if I included everything over 1MB):

Bytes
Filepath

46,784,255
backends/gdx-backend-android/libs/android-9.0.jar

40,002,291
backends/gdx-backends-gwt/libs/gwt-dev.jar

35,291,301
demos/superjumper/superjumper-html/gwt-unitCache/gwt-unitCache-0000013915ACE9EF

34,734,577
demos/dev-guide/my-gdx-game-html/gwt-unitCache/gwt-unitCache-00000136B5AEA243

34,622,170
backends/gdx-backend-android/libs/android-7.1.jar

33,235,402
backends/gdx-backends-gwt/libs/gwt-dev.jar

33,018,022
backends/gdx-backends-gwt/gwt-unitCache/gwt-unitCache-00000134CCFCD7DD

32,757,583
backends/gdx-backends-gwt/gwt-unitCache/gwt-unitCache-00000133E4DA458E

32,565,585
backends/gdx-backends-gwt/gwt-unitCache/gwt-unitCache-00000133E4E6BFF7

29,045,358
backends/gdx-backends-gwt/libs/gwt-user.jar

28,661,546
backends/gdx-backends-gwt/libs/gwt-user.jar

28,313,631
backends/gdx-backends-gwt/libs/gwt-dev.jar

21,792,859
backends/gdx-backend-android/libs/android-4.4.jar

21,500,314
backends/gdx-backend-android/libs/android-30.jar

21,371,904
extensions/awesomium/gdx-awesomium/src/com/badlogic/gdx/awesomium/natives/Awesomium.dll

With some more scrolling, it gets less interesting - just duplicate filenames, such as 70(!) versions of gdx-backend-jogl.jar. Fortunately, most of the weight seems to be old stuff, so I don't see it getting all that much bigger anytime soon.
Some of this will no doubt be important, but we can get rid of some of it... right? Or move it somewhere. I don't know what the repercussions would be. The repository just feels unnecessarily bloated.

Well deleting it from the repo wouldn't do anything, since it would still be in .git's history. You'd need to delete it, commit, and then scrub with a tool like bfg.jar ... which rewrites the history of the repo to remove those files. And when you use bfg.jar, everyone with their own fork needs to re-clone the repo. It's a huge hassle, and if anyone forgets, the old file history is back. I believe this process also does stuff to open PRs (probably it closes them to avoid mix-ups). If anyone has a better way, I'd love to hear it, since I just today was dealing with a 4GB repo that I got to about 1GB.

Oh, that's unfortunate. Was hoping they'd just disappear on the next pull. But that makes sense.


Is it possible to install on Raspberry Pi 3?

I tried installing it on Raspberry Pi 3. But MongoDB has failed many times. How can I install it correctly?

@mstfcan
Hey, I tried on RPi3 and he is not happy to run. So try to use RPi4, which I tested.


Custom editor support

Hi,
Thanks for the great library. I needed to have support for editing with drop down, which I have implemented as per this pull request. This implementation allows any custom component to be embedded as editor.
How it works:

import or create own custom editor. I've added dropdown editor to the package. TextEditor and DropDownEditor can be imported like: import cellEditFactory, { DropDownEditor } from 'react-bootstrap-table2-editor';
define column like this:
const columns = [{ dataField: 'name', text: 'Product Name', editor: (<DropDownEditor dropDownKey="productName" items={ ['A', 'B', 'C'] } />) }];
enable cell editing as you normally would: <BootstrapTable keyField="id" data={ products } columns={ columns } cellEdit={ cellEditFactory({   mode: 'click',   afterSaveCell: (oldValue, newValue, row, column) => { console.log(\Value changed from '${oldValue}' to '${newValue}'`); }
}) }
/>`

Main Changes:

Added an EditorWrapper. This wrapper clones the editor element and adds properties. The purpose of this wrapper is to standardize the way how the editing cell can access the value from the editor component. That is, it adds the updateValue callback as property to the editor component. The editor component needs to call this callback to update the value.
Added DropDownEditor. This is a component very similar to TextEditor, except it uses a dropdown to select values from a list.
Modified EditingCell to use EditorWrapper instead of directly using TextEditor. It also passes on the editor property to the wrapper. By default the TextEditor is used.

I've also added a Storyboard example to illustrate usage (see last item under cell edit).
Note: open item is where have events  like onblur, onkeydown handled. I've left it as it is currently implemented (Editing Cell has handleBlur, handleKeyDown defined). However, it might be better to have the editor component handle the events. As these events differ among HTML elements (e.g., select has no onblur event). My proposal would be to manage events at the editor component level and have a callback in EditingCell for managing value changes.

@dpnolte thanks your contribution, it's amazing PR to have a start for customization on cell edit, i'll have a look on it and give feedback to you in this couple day. thank you again :)

@AllenFang I see the functionality from this PR was already added. Perhaps it's okay to close down this PR?

I've closed it, thx


WPF Input.ChoiceSet incorrectly defaults to "expanded"

Platform

.NET WPF

Version of SDK
Latest master as of 2/21/2019 (so 1.2 feature set).
Also 1.1 behaved this way too (just cloned 1.1 branch and tried WPF Visualizer), so this is NOT a new regression
Also 1.0 behaved this way too... so since the very beginning it's been like this.
Issue
Input.ChoiceSet is supposed to default to "style": "compact". However, in the WPF visualizer, when style isn't specified, it's displayed as expanded...
Style: undefined
Expected

Actual

{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "\"style\": undefined"
        },
        {
            "type": "Input.ChoiceSet",
            "id": "myChoiceSet",
            "value": "Choice 1",
            "choices": [
                {
                    "title": "Choice 1",
                    "value": "Choice 1"
                },
                {
                    "title": "Choice 2",
                    "value": "Choice 2"
                }
            ]
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.0"
}

Ideally this should be fixed; @paulcam206 FYI; if we run through existing 1.2 bugs we tackle this next. Should include documentation as well as part of the fix.


PCSG00881 Y's VIII JPN - Not working (stuck at splash screen)

It works on old repatch plugin (silica's version of the plugin).
Game: YS VIII - Lacrimosa of Dana
GAMEID: PCSG0881
NPS Dump: Yes
Region: JPN
rePatch plugin version: v1.00 - v2.61
Notes: applied with patch files for English assets with v1.02 update (all decrypted) placed in ux0:rePatch folder
Note 2: AIDS also crash when scanning the folder PCSG0881 (as I also have some decrypted DLC applied on it).
Issue: Stuck at splash screen.
the only workaround for now is use a the old plugin.

There is no such thing as a silica version, I wrote every single version of rePatch. Make sure you have an updated vitashell.
Are you using all decrypted dlc or encrypted along side the decrypted?  Where is the DLC atm?
Make sure you follow the modding guide in the wiki and Radziu's guide.


Use SIMD

We need faster computation in machines where SIMD is available. Furthermore, now that Rust has landed the SIMD stabilization RFC, we should start thinking on implementing it.

This is implemented in the develop branch, but requires further testing to find the most efficient solution.


Loading drivers on ubuntu broken because of invalid $

https://github.com/piraeusdatastore/piraeus/blob/cdb550b31533b1b7c1558ffd3af504cbec0ae526/dockerfiles/piraeus-init/config-node.sh#L41
That $ clearly shouldn't be there. Will post PR shortly.

Fixed via a98b07a


Csv download improvements

Hi,
This PR does two things:

names csv and json files (with extension) via a Content-Disposition header
includes a header in CSV output where data is meaningful (i.e. index is not generic). Currently, for example, time series data is outputted without timestamps and pivot table data is exported without row names

Coverage increased (+0.03%) to 71.338% when pulling 1c840f7776e51987d5d7a11f9e6ba2a51b472253 on andrewhn:csv_download_improvements into 81de51bf6ff772c3f44c2022e1f170c506c3d5b7 on airbnb:master.

Coverage increased (+0.03%) to 71.302% when pulling f6afaa3e19328fe8e8b3ecb9aa8e0a48d2e6459b on andrewhn:csv_download_improvements into 31758827aeeea65063f4a92d7a86a0ce993dde25 on airbnb:master.

Coverage increased (+0.03%) to 71.302% when pulling d04919987086cf0bf37b5a1211a67dda942dfae1 on andrewhn:csv_download_improvements into c2baa53b060cda4352582d238f53369e3f7773d0 on airbnb:master.

LGTM, thanks for the PR


Made ToConstant singleparam

Made ToConstant into a single-parameter class with an associated Const type. In correspondence with #154 and useful for simpler implementation of #222.

I'm wary of this change.

Haskell's toInteger :: Integral a => a -> Integer and toRational :: Real a => a -> Rational that toConstant abstracts, the b type is not determined by a.
In an algebraic sense toConstant is "there is some natural or standard injection of a into b".* Fixing the types removes composability of natural injections, which have good properties.
Adds a type family

(*which is why I renamed it to :: Into a b => a -> b in hierarchy proposal)

Consider the following definition
to' :: forall b a. (ToConstant a, FromConstant (Const a) b) => a -> b
to' = fromConstant . toConstant

(I was naming it cast, but let's call it to' as it is actually the same function that you consider)

Both to' @Integer and to' @Rational can be inferred from single ToConstant a with Const a ~ Integer
are associated types problematic? I would like to know more as I was using them here and there, maybe we would need to change these places...
to' @a @a = id can be a property of ToConstant class

But then you're mixing FromConstant in, which is a different sort of natural morphism together with the assumed property that to . from = id.
In #154, the concept is that from :: From x a => x -> a is a natural projection onto a subset, like projection of free Semiring Natural, Ring Integer and Field Rational onto the sub-{semiring,ring,field} generated by 0 & 1 and that to :: Into y a => y -> a is as I said a natural injection. The properties are similar but because one is an algebraic projection and the other is an inclusion, they're kept separate and separately compositional.
-- prop> from . from = from
-- prop> from @a @a = id @a
-- prop> to . to = to
-- prop> to @a @a = id @a
-- prop > to . from = id

This conversation has been resolved ^

@vlasin what do you think?


Separate loading of Identity and Permission Certificate Authorities

Related: https://github.com/ros2/sros2/pull/66

#301 merged


Temporarily redirect monthly statistics

I've left a bunch of now-unused and inaccessible code here because it's being reverted soon.
Context
The underlying stats code apparently needs changing.
Changes proposed in this pull request
Before

After

 Create a redirect from the Monthly statistics page to a new page with copy (temporarily)

@frankieroberto The copy was straight from the google doc in the trello ticket, could you confirm with the relevant stakeholders that these changes are OK?  If so yep no worries.

Copy changes approved (sight unseen) by @johndoates


Wheel on pypi?

Greetings,
It would be great to ship a wheel to pypi and test the project on newer python versions to ensure it continues to function with python updates. I opened a PR to enable this.

Awesome. Thanks a ton!


Adds CN to classic driver.  Still includes verbose option.

Initial pull request for adding CN to VIC.
What are our (@bartnijssen and @mabrunke) thoughts on:

Basic implementation,
Portability,
Documentation,
Location of CN/src code, and
Merging recent cleanup changes to the feature/CN branch.

Ok, I just finished a first read through the code and here are some initial comments:
Logistics:

Update branch using current develop branch.  feature/CN branch is now quite a ways out of date with thedevelop branch.  The update/merge will require a bit of work but will make comparing to the develop or driver/RASM branches much easier.
After the merge, the following tasks will need to be completed:

[ ] Convert "#define" variable names to enums where applicable (see #36 and #175).  This applies to "Carbon model choices" and "Output Variable Types".
[ ] Use logging functions rather than print statements.
[ ] Add documentation to function and structure members (see example in #162)

Code Review/Style/Comments:

We should think about how the C/Fortran interface looks.  vic2clmtype_() takes 192 arguments which screams fragile.  @bartnijssen and Tony Craig may have suggestions on how to do this.
Handle error codes.  For example, here in vic_run(),if(options.CARBON == CN_NORMAL || options.CARBON == CN_ADECOMP) {
    ErrorFlag = VICCNInterface(rec, Nveg, npfts, dmy, gp, atmos, all_vars, soil_con, veg_con, veg_lib, cn);
...

  Once the branch is updated to the current develop branch, `log_err()` will be available allowing:
   ```C
if (!ErrorFlag) {
        log_err("Error calling VICCNInterface");
}

Variable types and memory usage.   cn_data_struct is quite large  and includes only double precision variables.

What is 21 (e.g. onset_flag[21])?  It would probably be better use a global size variable #define MAX_CN_LAYERS 21 and onset_flag[MAX_CN_LAYERS]
Use integer or bool datatypes for flags and counters (e.g. double onset_flag[21]; --> bool onset_flag[21];

Move "Record Carbon Cycling Variables" out of "Collect Water Balance Terms" function in put_data.c.  Rather than putting this code in an existing function, its probably worth creating a collect_carbon_terms() function that is only called when CARBON == TRUE.
Remove hardcoded paths from Makefile
Remove verbose comments
Remove hard coded literals when possible from cn/src/VICCNInterface.c.  Physical constants are in vic_run/include/physical_constants.h

Relevant Upcoming Changes:

Timestep units in global_param.dt are changing from hours to seconds.
MPI in driver/image.  @bartnijssen can comment on which, if any changes will be necessary in this regard.

Next Steps:
Once we've settled on the changes to the classic driver, the next step is to port to the image mode and RASM drivers.

I agree with moving "collect carbon terms" into its own function - I should
have done it that way to begin with!
On Fri, Jan 9, 2015 at 4:07 PM, Joe Hamman<EMAIL_ADDRESS>wrote:

Ok, I just finished a first read through the code and here are some
initial comments:
Logistics:

Update branch using current develop branch. feature/CN branch is now
quite a ways out of date with thedevelop branch. The update/merge will
require a bit of work but will make comparing to the develop or
driver/RASM branches much easier.
After the merge, the following tasks will need to be completed:

Convert "#define" variable names to enums where applicable (see
#36 https://github.com/UW-Hydro/VIC/issues/36 and #175
https://github.com/UW-Hydro/VIC/pull/175). This applies to
"Carbon model choices" and "Output Variable Types".
Use logging functions rather than print statements.
Add documentation to function and structure members (see example
in #162 https://github.com/UW-Hydro/VIC/issues/162)

Code Review/Style/Comments:

We should think about how the C/Fortran interface looks.
vic2clmtype_() takes 192 arguments which screams fragile. @bartnijssen
https://github.com/bartnijssen and Tony Craig may have suggestions
on how to do this.

Handle error codes. For example, here in vic_run()
https://github.com/mabrunke/VIC/blob/feature/CN/vic_run/src/vic_run.c#L370-L374
,
if(options.CARBON == CN_NORMAL || options.CARBON == CN_ADECOMP) {
ErrorFlag = VICCNInterface(rec, Nveg, npfts, dmy, gp, atmos, all_vars, soil_con, veg_con, veg_lib, cn);
...
Once the branch is updated to the current develop branch, log_err()
will be available allowing:
if (!ErrorFlag) {
log_err("Error calling VICCNInterface");
}
-

Variable types and memory usage. cn_data_struct is quite large and
includes only double precision variables.
- What is 21 (e.g. onset_flag[21])? It would probably be better use a
global size variable #define MAX_CN_LAYERS 21 and
onset_flag[MAX_CN_LAYERS]
- Use integer or bool datatypes for flags and counters (e.g. double
onset_flag[21]; --> bool onset_flag[21];
- Move "Record Carbon Cycling Variables" out of "Collect Water
Balance Terms" function in put_data.c. Rather than putting this code
in an existing function, its probably worth creating a
collect_carbon_terms() function that is only called when CARBON == TRUE
.

Remove hardcoded paths from Makefile
Remove verbose comments
Remove hard coded literals when possible from cn/src/VICCNInterface.c.
Physical constants are in vic_run/include/physical_constants.h

Relevant Upcoming Changes:

Timestep units in global_param.dt are changing from hours to seconds.
MPI in driver/image. @bartnijssen https://github.com/bartnijssen
can comment on which, if any changes will be necessary in this regard.

Next Steps:
Once we've settled on the changes to the classic driver, the next step is
to port to the image mode and RASM drivers.
—
Reply to this email directly or view it on GitHub
https://github.com/UW-Hydro/VIC/pull/174#issuecomment-69416192.

Some more comments with respect to organization (I haven't gone through the actual code yet):

Cleanly separate the CLM code that will be imported as a "block" or module (i.e. we will make no changes inside this) from the wrapper around it that will let this module be called from VIC.

Separate all the I/O from the physics (akin to vic_run() and the different drivers). We should be able to use the CN code with all the drivers (even if we originally implement it for only a subset), without any changes to the physics code.

Determine where all the pieces will live within the vic repo directory structure. In VIC5 this will have to be broken out into separate pieces rather than as 60+ files in cn/src

@mabrunke - I'm going to close this PR.  Can you address the issues that @bartnijssen and I have brought up and open a new PR against this branch: https://github.com/UW-Hydro/VIC/tree/driver/cesm.
Also, while you are moving things around a bit, we have reorganized the VIC directory structure a bit to better support adding extensions into VIC, such as CN. This PR is a good example of how we're structuring things: https://github.com/UW-Hydro/VIC/pull/231.  Following how the extension was added in #231, you'll want to add two extensions:

dynveg_stub
synveg_cn


Process Explorer: Does not recognize ptyHost when the pty host starts while the Process Explorer is already open

Testing #188720
It shows utility-process instead of ptyHost when the pty host starts while the Process Explorer is already shown:

I also see this on my end, thanks

Revalidated this today using stable 1.95.3 on Windows 11 and Ubuntu 24, in both cases the process correctly named as ptyHost, so closing as fixed ✅


[Question] About FANBOX downloads

Hmm. I have a lot of questions lately. Haha. Hope you don't mind. I just got all the time in the world... kinda.

Have you thought about keeping records of FANBOX download? A database or data table would help the management a lot. Not so important though. I am using excel so far...
Also have you thought about downloading FANBOX posts by post ids? Because sometimes, the author has soooooooooo many posts and they just update a few of them. It feels like years to watch it going through pages... especially that it takes longer now.

I'm not using FANBOX, so I don't have plan for it.

You can duplicate the existing member and image tables to separate table (e.g. fanbox_image and fanbox_member)
This should be easy, some adaptation required so it can get the member details for given post id.

Okay, I will start working on it then. Haha.

https://github.com/Nandaka/PixivUtil2/pull/679
Please confirm


Updated the Minetest Game screenshot in /media/gallery, issue #265

Updated the Minetest Game screenshot in /media/gallery to show dynamic shadows and bloom, as wanted in issue #265. Screenshot was taken in Minetest version 5.9.0-dev.

I do have the same screenshot with the HUD and a higher resolution (1920 x 1011) if that is preferable.

Yes, that would be preferable. Why such an odd resolution though? I would expect 1920 x 1024.

You should full screen Minetest so it takes a complete 1920x1080 screenshot.

The screenshot needs some antialiasing :)

I took a new screenshot. How does it look? It's 1920 x 1080, with SSAA turned up to 4. The odd resolution before was because the screenshot wasn't taken in full screen.

I have this screenshot lying around, which I think showcases the dynamic shadows better. Unfortunately it's not exactly 1080p:

I like it. Can I use it for my pull request?

Sure.

Alt text in _data/gallery.yml also needs updating.

Why does it need updating?

Nevermind, I accidentally looked at an old revision where it still said "An underwater jungle in Minetest Game".


aws-sdk-cpp: 1.11.318 -> 1.11.336

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/aws-sdk-cpp/versions.
meta.description for aws-sdk-cpp is: A C++ interface for Amazon Web Services
meta.homepage for aws-sdk-cpp is: https://github.com/aws/aws-sdk-cpp
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.11.330 with grep in /nix/store/i3cahd3bcpbfdgk49c8kyrczf2777awx-aws-sdk-cpp-1.11.330
found 1.11.330 in filename of file in /nix/store/i3cahd3bcpbfdgk49c8kyrczf2777awx-aws-sdk-cpp-1.11.330

Rebuild report (if merged into master) (click to expand)

395 total rebuild path(s)

395 package rebuild(s)

First fifty rebuilds by attrpath

apacheHttpdPackages.mod_tile
apacheHttpdPackages_2_4.mod_tile
appvm
arrow-cpp
arrow-glib
attic-client
attic-server
aws-sdk-cpp
browsr
bundix
cabal2nix
cached-nix-shell
cachix
ceph
ceph-client
ceph-csi
ceph-dev
chatgpt-retrieval-plugin
cloudcompare
colmena
common-updater-scripts
crate2nix
crystal2nix
databricks-sql-cli
dbx
dep2nix
devenv
disko
dub-to-nix
dydisnix
entwine
fusionInventory
gdal
gmt
gplates
grass
harmonia
haskellPackages.cabal2nix-unstable
haskellPackages.cachix
haskellPackages.cli-nix
haskellPackages.hercules-ci-agent
haskellPackages.hercules-ci-cli
haskellPackages.hercules-ci-cnix-expr
haskellPackages.hercules-ci-cnix-store
haskellPackages.hgdal
haskellPackages.niv
haskellPackages.nix-paths
haskellPackages.nix-serve-ng
haskellPackages.nix-thunk

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/i3cahd3bcpbfdgk49c8kyrczf2777awx-aws-sdk-cpp-1.11.330 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A aws-sdk-cpp https://github.com/r-ryantm/nixpkgs/archive/7e9a0c7c65da7509aa9fc4968261f1ba28d405b4.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7e9a0c7c65da7509aa9fc4968261f1ba28d405b4#aws-sdk-cpp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/i3cahd3bcpbfdgk49c8kyrczf2777awx-aws-sdk-cpp-1.11.330
ls -la /nix/store/i3cahd3bcpbfdgk49c8kyrczf2777awx-aws-sdk-cpp-1.11.330/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 120m and timed out

Maintainer pings
cc @edolstra @orivej for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/aws-sdk-cpp/versions.
meta.description for aws-sdk-cpp is: A C++ interface for Amazon Web Services
meta.homepage for aws-sdk-cpp is: https://github.com/aws/aws-sdk-cpp
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.11.336 with grep in /nix/store/f5298y8r7c5123kjxki5m0c57fc864bc-aws-sdk-cpp-1.11.336
found 1.11.336 in filename of file in /nix/store/f5298y8r7c5123kjxki5m0c57fc864bc-aws-sdk-cpp-1.11.336

Rebuild report (if merged into master) (click to expand)

424 total rebuild path(s)

424 package rebuild(s)

First fifty rebuilds by attrpath

apacheHttpdPackages.mod_tile
apacheHttpdPackages_2_4.mod_tile
appvm
arrow-cpp
arrow-glib
attic-client
attic-server
aws-sdk-cpp
browsr
bundix
cabal2nix
cached-nix-shell
cachix
ceph
ceph-client
ceph-csi
ceph-dev
chatgpt-retrieval-plugin
cloudcompare
colmena
common-updater-scripts
crate2nix
crystal2nix
databricks-sql-cli
dbx
dep2nix
devenv
disko
dub-to-nix
dydisnix
entwine
fusionInventory
gdal
gmt
gplates
grass
harmonia
haskellPackages.cabal2nix-unstable
haskellPackages.cachix
haskellPackages.cli-nix
haskellPackages.hercules-ci-agent
haskellPackages.hercules-ci-cli
haskellPackages.hercules-ci-cnix-expr
haskellPackages.hercules-ci-cnix-store
haskellPackages.hgdal
haskellPackages.niv
haskellPackages.nix-paths
haskellPackages.nix-serve-ng
haskellPackages.nix-thunk

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f5298y8r7c5123kjxki5m0c57fc864bc-aws-sdk-cpp-1.11.336 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A aws-sdk-cpp https://github.com/r-ryantm/nixpkgs/archive/720d3ed3a8c9fd84b4471837d7479713e84816f6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/720d3ed3a8c9fd84b4471837d7479713e84816f6#aws-sdk-cpp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f5298y8r7c5123kjxki5m0c57fc864bc-aws-sdk-cpp-1.11.336
ls -la /nix/store/f5298y8r7c5123kjxki5m0c57fc864bc-aws-sdk-cpp-1.11.336/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 120m and timed out

Maintainer pings
cc @edolstra @orivej for testing.


Update sbt-typelevel-ci-release, ... to 0.7.2-32-7850a9b-SNAPSHOT

About this PR
📦 Updates

org.typelevel:sbt-typelevel-ci-release
org.typelevel:sbt-typelevel-scalafix
org.typelevel:sbt-typelevel-settings

from 0.7.2-12-17ac909-SNAPSHOT to 0.7.2-32-7850a9b-SNAPSHOT
Usage
✅ Please merge!
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.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel" }
}]

labels: sbt-plugin-update, early-semver-pre-release, semver-spec-pre-release, version-scheme:early-semver, commit-count:1

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

We'll wait for the proper release


Prompt user to install func cli before debugging

C# was already handled in pickFuncProcess, this leverages FuncDebugProviderBase to add the logic to other languages. Also removes prompt after creating project
Fixes #358

Correct


bower pkg

Awesome work :smile:
Would be nice to have a bower package, what do you think? :dancers:

Soon) When I make it stable with all features from my security list)

:broken_heart:


Home Assistant version none

I've installed the latest version of hacs 0.13.2 with the latest version of hassio 0.98.0 as of today. When I try to install anything I get the following message:
Unsupported Home Assistant version
You have version '0.98.0' of Home Assistant, but version 'v2.0.0' of 'Alexa Media Player' require version 'None' of Home Assistant, installation and upgrades are disabled for this integration untill you upgrade Home Assistant.

As a note, this was previously reported to us in alexa_media. My understanding is that the homeassistant key for min version is optional. We plan to add a min version in our next release this may hit other integrations.

I tried a few components and got this, including the spotify playlist. Just come back to it today after not getting anything to install and I get the following: 'HacsManifest' object is not subscriptable.
I also noticed yesterday on the overview page I could see the HACs component itself, when I clicked in to it there was an error also. I can't get to it at the moment as both the store and overview pages have the same error displaying: 'HacsManifest' object is not subscriptable

@mcinnes01 I think you should leave this open for @ludeeus to review. I'm pretty sure there's some error checking that needs to be added and it'll probably be obvious once its reviewed.

leaving open for review

HacsManifest does not exist in the current released version (0.13.2), if you see this you did not download it correctly and are running the master branch, you should never run the master branch of HACS, it will contain bugs!
This is the reason you get the "require version 'None' of Home Assistant," message.


Config option for custom directory

It's possible to use a GITEA_CUSTOM environment variable to define where the custom/ directory is located, but managing an environment variable to run a daemon. It would be nice if this could also be a run-time and configuration option.

i want this feature/need too and this doe snot repect the unix standar layout for installing property...

this iisue was solved? why marked stalled?

OK, I think just adding a --custom-dir="" option to the commands isn't really worth it. Especially as the cheapest way to implement that would be just to do os.Setenv("GITEA_CUSTOM", providedCustomDir).
We need to look again what $GITEA_CUSTOM really represents. It provides the basis of the following paths: (I will use $GITEA_CUSTOM for setting.CustomPath here)

$GITEA_CUSTOM/options the base directory of local "gitignore", "license", "readme", "label" files.
$GITEA_CUSTOM/public a directory of custom public assets
$GITEA_CUSTOM/templates a directory of custom templates
$GITEA_CUSTOM/robots.txt the robots.txt
$GITEA_CUSTOM/conf/app.ini the default location of the app.ini <- the only separately configurable one of these

Is it acceptable for all of these things to be under say /etc/gitea/? (with the exception of app.ini being maybe pointed to /etc/gitea.ini)
What I suspect is really wanted to provide a build option that would change the default of $GITEA_CUSTOM and app.ini then you don't need this new option or -c making /usr/bin/gitea just work - however, in terms of the necessity of providing this, would it be possible to explain why you can't just make the gitea binary be shadowed by a sh script that adjusts the environment like many programs which don't necessarily obey the FHS e.g. Firefox or chrome? So the original gitea binary ends up as /usr/lib/gitea/bin/gitea  and the shell script is /usr/bin/gitea with it setting the GITEA_CUSTOM and passing -c  as appropriate.

El sáb., 13 de abr. de 2019 a la(s) 13:31, zeripath (
<EMAIL_ADDRESS>escribió:

What I suspect is really wanted to provide a build option that would
change the default of $GITEA_CUSTOM and app.ini then you don't need this
new optionor -c making /usr/bin/gitea just work - however, in terms of
the necessity of providing this, would it be possible to explain why you
can't just make the gitea binary be shadowed by a sh script that adjusts
the environment like many programs which don't necessarily obey the FHS
e.g. Firefox or chrome? So the original gitea binary ends up as
/usr/lib/gitea/bin/gitea and the shell script is /usr/bin/gitea with it
setting the GITEA_CUSTOM and passing -c as appropriate.

That its the idea! thanks for your explanation! as i always said why not
center effors to real needs like this?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/go-gitea/gitea/issues/2228#issuecomment-482846919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAL7XDGGYCZZKNZGFBXEZODPQIKFRANCNFSM4DU6FVWQ
.

But why can't you use a script to shadow the Gitea binary like is done for Firefox or Chrome?

it's not stanar, firefox and chrome does are not installed on that way in
debian systems.. quality and organization are primary goal
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
El dom., 14 de abr. de 2019 a la(s) 17:17, zeripath (
<EMAIL_ADDRESS>escribió:

But why can't you use a script to shadow the Gitea binary like is done for
Firefox or Chrome?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/go-gitea/gitea/issues/2228#issuecomment-483059009,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAL7XDBN6MQMNRNZKHYTQ4LPQONQDANCNFSM4DU6FVWQ
.

distributions does not use those horrendous scripts.. set right paths in filesystems
it's not stanar, firefox and chrome does are not installed on that way in debian systems.. by example
a script produces issues due confuses gitea paths

simple! reasons!

I'm fairly certain that /usr/bin/firefox is a script on Debian but I'm not on my box right now to prove it.
Anyway, the best we can achieve is a LDFLAGS on go install approach LDFLAGS="-X modules/setting.CustomPath=/new/default" this would require a simple change here:
https://github.com/go-gitea/gitea/blob/783cd649276c472aa3af97dd311eb4766ff3adfb/modules/setting/setting.go#L479-L484
So that it would check if GITEA_CUSTOM is set before trying to use it. E.g. replace L479 with:
giteaCustom, ok := os.LookupEnv("GITEA_CUSTOM")
if ok {
     CustomPath = giteaCustom
}

In terms of changing the default app ini location (aka the -c option) that might be a little more involved but should also be doable. Similarly for some of the other environment variables.
We'd have to come up with a way of explaining why custom path is different so that users can work out why things aren't changing.
But this kind of behaviour would make the docker build a little easier overall.
Hmm... @techknowlogick what do you think?

I've put the above changes in to #6631 which if merged means we can close this issue as not-needed.

thanks @zeripath and, umm about firefox:
ls -l /usr/bin/firefox-esr
lrwxrwxrwx 1 root root 30 dic 13 06:34 /usr/bin/firefox-esr -> ../lib/firefox-esr/firefox-esr

I'm not going to get into a cat match with you but /usr/bin/firefox and /usr/bin/google-chrome are both scripts on my system.

revised and confirmed, but seems i just to parse compatibility:
/usr/bin/firefox its a scritp to property use /usr/bin/firefox-esr
BUT google chrome its not a package from debian... so marked as non-valid ;-)

Fixed by#6631


can't open popup window in views examples

steps to reproduce:

compile 'views_examples_with_content_exe' target
open Weston with 'WAYLAND_DEBUG=1 ./src/weston 2>&1| grep popup'
open views examples running './views_examples_with_content_exe --no-sandbox'
click in the bar at the top of the window where it says "Bubble"
a popup window was supposed to open now with a dropdown style of menu and several options
in Weston's output, you will see a popup_done event being erroneously sent for closing the popup window that was supposed to open.

My hunch of the problem is that there's still some input event that is about to process in the toplevel surface just after the popup is opened.
This all works on Aura X11/Linux.

Works with master.


Generalize TransactionRequest struct

Feature description
Currently the TransactionRequest struct only allows to create custom notes with 4 inputs per note.
However, it would be useful if the input_notes field for TransactionRequest had the type BTreeMap<NoteId, Option<NoteInputs>>, where NoteInputs is defined here:  https://github.com/0xPolygonMiden/miden-base/blob/64e3f28a7c24a3b935d3df09445854771bd23680/objects/src/notes/inputs.rs#L21
TransactionRequest is defined here: https://github.com/0xPolygonMiden/miden-client/blob/c273847726ed325d2e627e4db18bf9f3ab8c28ba/src/client/transactions/transaction_request.rs#L29
Why is this feature needed?
Makes it easier to create custom notes.

One thing to clarify here: NoteInputs and NoteArgs are two different things:

NoteInputs are a part of the note itself (i.e., once a note is crated, its inputs cannot be changed). When we execute a note script, these can be accessed via note::get_inputs procedure.
NoteArgs are user-defined values which are put onto the stack right before a note's script is executed. These values are set by the user who executes a transaction and so are not fixed at note creation time.

Currently, NoteArgs is a simple Word (i.e., 4 elements) and I think you'd like to make them more flexible. There is a way to do it, but it won't work quite the same way as for NoteInputs. The main reason is that at the time a note script is called, we can put at most 12 values onto the stack (this is due to some restrictions within the VM which run pretty deep). So, if we want to provide more data via NoteArgs directly, that's the most we could do.
However, there is another approach. Specifically, we could treat these 4 values as a commitment to some data structure and then "open" this data structure during execution. This way, we could pass theoretically unlimited amount of data via NoteArgs. To support this, we'd need to do the following:
First, add advice inputs to the TransactionRequest struct. We could start with just AdviceMap, but eventually should add MerkleStore as well. With just the AdviceMap, the struct could look like so:
pub struct TransactionRequest {
    account_id: AccountId,
    input_notes: BTreeMap<NoteId, Option<NoteArgs>>,
    expected_output_notes: Vec<Note>,
    expected_partial_notes: Vec<NoteDetails>, // I wonder if expected_future_notes is a better name here
    tx_script: Option<TransactionScript>,
    advice_map: AdviceMap,                    // new field
}

The user creating the transaction request would be able to load any data into the advice_map field.
Then, at the time when TransactionRequest is converted into TransactionArgs, the data from the advice_map would be copied into TransactionArgs.advice_map field (for this, we'll need to make minor modifications to TransactionArgs in miden-base).
Then, the user, in their note script would be able to move the data from the advice map into memory (e.g., using pipe_preimage_to_memory procedure) and access this data from memory.
Separate from the above, TransactionRequest has a couple more issues:

As described in #243 having TransactionScript in TransactionRequest is problematic and we should find a good solution for this.
As it stands, TransactionRequest does not support input notes with delayed inclusion proofs introduced recently in miden-base and miden-node. For this, we may want to introduce a separate field to keep track of these notes  - e.g., something like this:

pub struct TransactionRequest {
    account_id: AccountId,
    input_notes: BTreeMap<NoteId, Option<NoteArgs>>,
    unauthenticated_input_notes: Vec<Note>,   // new field
    expected_output_notes: Vec<Note>,
    expected_partial_notes: Vec<NoteDetails>, // I wonder if expected_future_notes is a better name here
    tx_script: Option<TransactionScript>,
    advice_map: AdviceMap,                    // new field
}

Though, there may be other ways of doing this.

Regarding your last point @bobbinth (maybe we should open a new issue for this), I don't think we need to add unauthenticated_input_notes separately. The input_notes field should cover this: Eventually the DataStore retrieves note data from the store, where a note can either be InputNote::Authenticated or InputNote::Unauthenticated. I'll let @mFragaBA explain further since he's currently testing and working on this and noticed this should be sufficient, but there might be something else you could have been thinking about.

@bobbinth is there an example somewhere in base/miden-vm where we get a commitment (is this a regular Digest?) to an  arbitrary data structure and then opening it during note execution? I'd like test the change of adding the advice_map field to TransactionRequest.
Also, I was wondering if we should provide a constructor in TransactionRequest that receives a Vec as the note args and it already takes care of building the commitment to it, updating the advice_map accordingly and using the commitment as the NoteArgs

@bobbinth is there an example somewhere in base/miden-vm where we get a commitment (is this a regular Digest?) to an arbitrary data structure and then opening it during note execution? I'd like test the change of adding the advice_map field to TransactionRequest.

We do this internally in the transaction kernel quite a lot - but I can't think of a good "user-facing" example. To test this, we'd need to execute a note with a custom script (so, just regular P2ID note won't work). But the script for this note would be pretty simple.
First, in Rust we'd define the data that needs to go into the advice map. We could just take a vector of [1, 2, 3, 4, 5, 6, 7, 8] field elements and hash it using Rpo256::hash_elements(). The hash would be the key for the data when we insert it into the advice map.
Then, the script itself would push the hash onto the stack (we could hard-code it in the script) and then call pipe_preimage_to_memory procedure from miden-stdlib (the parameters for this procedure would be num_words=2, write_ptr=0 (but could also be any other value), COM = hash of [1, 2, 3, 4, 5, 6, 7, 8]. If this procedure succeeds, then the advice map was initialized correctly.

Closing this as:

Support for unauthenticated_input_notes was added in #417.
advice_map was added in #422 and now it is possible to supply arbitrarily large amount of data to note scripts (though, in the future we may also consider adding MerkleStore).
The remaining issues are described in #243.


Player unable to Leave the Contest

We encountered several UI bugs: players couldn't leave a contest after entering and couldn't unReady a roll to reselect dice.

This could be related to connectivity issues, needs investigation

Duplicate of #4


UMAP in R package

Dear James:
Sorry to bother again. I try to be brief.
Since I don't know python programming, I could not really take advantage of the UMAP tutorial on this site.
Instead, I am quite experienced with R. I searched Google and found that R package for UMAP (
https://cran.r-project.org/web/packages/umap/umap.pdf). However, this R documention is really short, only described umap(), predict.umap(), and umap.knn() in limited details. This made me wonder that R is not ideal for runnning UMAP. Am I right?
I also noticed there is a umpr R package, https://www.rdocumentation.org/packages/umapr/versions/<IP_ADDRESS>01. But this time, the example even did not work. So, I guess it is something not well adopted.
So, can you please help with my question: can I use R to run UMAP? Specifically, I want to use UMAP to analyze the SARS-COVS-2 virus data.
Thank you very much & best regards,
Jie

Hi Jie, umapr is no longer maintained so don't use that. But the umap package CRAN page shows it has several Reverse imports and Reverse suggests entries, which means there are lots of other packages making use of it.

Dear James:
Thank you very much! I will not use umapr then.
So, you think that I could just use UMAP R package to do pretty much what can be done with the native UMAP python package?
Best regards,
Jie

So, you think that I could just use UMAP R package to do pretty much what can be done with the native UMAP python package?

The umap package provides an R interface to this Python package (as well as a native R implementation), so the answer is "probably" but I haven't used it a lot. This is the sort of question that is best answered by working out what you want to do with UMAP and then trying it.

OK, I see. i wish there is a comprehensive tutorial for the R version of UMAP. But I will try things out.
Best regadrs,
Jie

Dear James:
it seems that the UWOT R package is quite similar to UMAP. I think this UWOT R package is also created by you https://github.com/jlmelville/uwot, correct?
Best regards,
Jie

I think this UWOT R package is also created by you https://github.com/jlmelville/uwot, correct?

Yes. It does not have all the features of this UMAP Python package so I would never recommend uwot in favor of the official Python version, but if you are more comfortable working with R it might do what you want. If you have problems with installing or running it, please open an issue at https://github.com/jlmelville/uwot/issues.

thanks! will do.


[SUPPORT] :  Fix unstable screenshot on ethereumStacking tests

✅ Checklist

[x] npx changeset was attached.
[ ] Covered by automatic tests.
[ ] Impact of the changes:

...

📝 Description
Fix unstable screenshot on ethereumStacking tests
❓ Context

JIRA or GitHub link:

🧐 Checklist for the PR Reviewers

The code aligns with the requirements described in the linked JIRA or GitHub issue.
The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
There are no undocumented trade-offs, technical debt, or maintainability issues.
The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
Any new dependencies have been justified and documented.
Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

/generate-screenshots


Hyper window has gone, and wont come back

[x ] I am on the latest Hyper.app version
[x ] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: win10 1607
Hyper.app version: 1.3.1
Link of a Gist with the contents of your .hyper.js: default (fresh install)
Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): n/a
The issue is reproducible in vanilla Hyper.app: Vanilla

Issue
Some time ago, I think after I unplugged a monitor or something, the Hyper window went 'off screen', however trying to get it back has proved impossible. I'm not sure if this is a Hyper issue or a issue with windows in general, but this has never happened to any other programs.
Things I have tried:

alt + tab  'ing to Hyper and then win + up/down/left/right
cascading all windows
show windows stacked
uninstalling and reinstalling hyper

screencap of issue
Trying to fix with cascade windows

Thank you for your feedback.
Closed in favor of #1869


[Fix #10325] Enhance Style/RedundantCondition for the case that variable assignments in each branch

Fixes #10325.
The example using nil? given in the issue is not supported here, as it would destroy the code whose intent is to execute else_branch when value  == false.
# not supported
def lock_retrier=(value)
  if value.nil?
    @lock_retrier = NullLockRetrier.new
  else
    @lock_retrier = value
  end
end

# supported
def lock_retrier=(value)
  if value
    @lock_retrier = NullLockRetrier.new
  else
    @lock_retrier = value
  end
end

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Should the following patterns be covered as well?
if foo
  test.bar foo
else
  test.bar 'baz'
end
# => test.bar foo || 'baz'

if foo
  test.bar = foo
else
  test.bar = 'baz'
end
# => test.bar = foo || 'baz'

@rubocop/rubocop-core I pushed af27f01 with the split as I dared. If you give me your thoughts, I'd like to squash or revert it.

The changes look reasonable to me. Thanks!


Prime Factorising a number in LogN time (Using seive of Eratosthenes)

Prime Factorising a number in O(logN) in Java/Cpp and explain the algorithm (proper documentation).
Note :
The code should be well commented so that anyone can understand that.
Proper documentation should be provided (either edit the readme or create a new md file and add a link in the readme file under relevant header.

@Vishal1003 can i work on this?

It is already implemented. You can work on #93.


AZ-204_lab_03.md

English:
vector-graphics
Current Translation:
向量圖形
Suggested Translation:
vector-graphics
Description:
According to the context, they should keep English. Global check

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Run bugfix tool and waiting for result ICMS QUERY


sass Code Formater

hello @larsgrefer  can you adding keyword List<>
and code formatet sass?

What do you mean?

What do you mean?

Well, now your library is a sass code executor, this is true, well, this code executor works like jdk, so it needs to support a sorter and keywords, I mean the same beautiful print that is in all ide and for  A better display of the code is used

  private String formatJson(String code) {
    Gson gson = new GsonBuilder().setPrettyPrinting().create();
    JsonParser jp = new JsonParser();
    JsonElement je = jp.parse(code);
    return gson.toJson(je);
  }

For example, this is a code sorter for Json with the help of the Gson library

This library only maps the features of the sass-embedded-protocol into java.
Code formatting and syntax higlighting is not part of the protocol.
See https://github.com/sass/sass/blob/main/spec/embedded-protocol.md

Sass Formatting is currently not part of the protocol spec.
If it gets implemented in the protocol and dart-sass, I can implement it here


Update contributing guide for adding new lint rules

Noticed when doing #1621

Oh gosh, sorry, I literally just did this like two seconds ago. Thank you 🙏

Great! BTW it'd be nice to have some docs about adding auto-fixes.

Totally agree...

https://github.com/charliermarsh/ruff/issues/1625


Most recent version of safe-eth-py isn't working with addresses

Using ape-safe 0.5.1 with safe-eth-py="4.3.0" and above or 0.6.0 with safe-eth-py="^4.5.0" isn't working.
Here is the error.
File "brownie/_cli/run.py", line 51, in main
    return_value, frame = run(
  File "brownie/project/scripts.py", line 110, in run
    return_value = f_locals[method_name](*args, **kwargs)
  File "./scripts/33_test_ape_safe.py", line 10, in main
    safe_tx = safe.multisend_from_receipts()
  File "ape_safe.py", line 115, in multisend_from_receipts
    data = MultiSend(self.multisend, self.ethereum_client).build_tx_data(txs)
  File "gnosis/safe/multi_send.py", line 199, in __init__
    assert fast_is_checksum_address(address), (
AssertionError: EthereumClient for url=http://<IP_ADDRESS>:8545 proxy factory address not valid
Terminating local RPC client...

this is due to #42
you can see it passes the EthereumClient object where now an address is expected
will pr a fix


openshift/odo -> redhat-developer/odo

Updating import paths and links to point to the new location

/lgtm

/approve

/hold
running tests locally

All tests are green on IBM Cloud OpenShift + Kubernetes clusters


VM metadata - Base + Openstack

So far only openstack as I could not figure out the others yet.
This should help when Sprout happens to lose an appliance due to some network issue or something. Sprout will store some metadata that will enable full object recovery.

Lint report for commit c1af1ace9da76eb73958cd6643ef3dbb67d9b19b:
Everything seems all right :smile: .
CFME QE Bot

Coverage decreased (-0.02%) to 30.707% when pulling c1af1ace9da76eb73958cd6643ef3dbb67d9b19b on mfalesni:vm-metadata into b57742e50b06fd4724cd941e002bed5cad72cc45 on RedHatQE:master.


Make proposals to improve PRs

Is there any way to improve the changes in  https://github.com/haesleinhuepf/git-bob/pull/195 , especially from a security perspective?

This message was generated by git-bob (version: 0.2.4, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
To improve the changes in PR #195 from a security perspective, consider the following proposal:

Sanitize User Input: Ensure that any data retrieved from GitHub (e.g., issue bodies, comments) and passed into your system is sanitized. This helps prevent injection attacks or unexpected behavior if the content contains malicious code.

Environment Variables: Use environment variables securely and ensure that the token retrieval is protected:
import os
from dotenv import load_dotenv

load_dotenv()  # Load environment variables from a .env file

access_token = os.getenv('GITHUB_API_KEY')
if not access_token:
    raise ValueError("GitHub API key not found. Please set it in the environment variables.")

HTTP Requests: When sending requests to external URLs, include timeout settings to prevent hanging requests and consider using session handling:
import requests

def get_github_diff(url):
    try:
        response = requests.get(url, timeout=10)
        response.raise_for_status()
        return response.text
    except (requests.exceptions.HTTPError, requests.exceptions.Timeout) as e:
        print(f"Error retrieving diff: {e}")
        return None

Error Handling: Improve error handling around GitHub API interactions. For example, wrap calls in try-except blocks and handle exceptions gracefully instead of allowing the application to crash.

Please review these suggestions and incorporate security practices in your code enhancement.

How could we do the sanitazion?
git-bob think about this

ok, I'm not afraid of HTML


[feature request] zoom box

In any design application I use – there is a zoom box feature. Holding Z + click and drag to make a rectangle for zooming. It's the only basic functionality that I'm missing in Excallidraw. Please consider adding it. It will improve my (and hopefully many others) experience drastically.

While not the same, we're about to ship zooming using cmd/ctrl-space-drag: https://github.com/excalidraw/excalidraw/pull/6760

Hi David
Thanks for updating me with exciting and much-welcomed news!
It will improve my experience dramatically!
Best
Pavel
On Thu, Jul 13, 2023 at 12:34 PM David Luzar @.***>
wrote:

While not the same, we're about to ship zooming using cmd/ctrl-space-drag:
#6760 https://github.com/excalidraw/excalidraw/pull/6760
—
Reply to this email directly, view it on GitHub
https://github.com/excalidraw/excalidraw/issues/6762#issuecomment-1634550576,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKT4BKJZBVFP4H3C6MGPITXQAPQFANCNFSM6AAAAAA2IYLWM4
.
You are receiving this because you authored the thread.Message ID:
@.***>


v8.0.1: chore(project): update dependencies

What does this PR do?
Updates all the project dependencies to their latest versions.
How should it be tested manually?
yarn test
# or
npm test

Pull Request Test Coverage Report for Build 245

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 242:
0.0%

Covered Lines:
604

Relevant Lines:
604

💛  - Coveralls


Sends addresses to Sessions API

It sends the billing address and shipping address to Sessions API.
Magento Docs

\Magento\Sales\Model\Order
\Magento\sales\Api\Data\OrderAddressInterface

@reneos can you help us review this PR, please?


Keys to focus on the chat prompt and send messages

Probably these keys (and commands) already exist and I couldn't find them.
If not I guess they should be introduced:

focus on the chat (the command show twinny just open the sidebar but doesn't focus on the chat input)
key to send message (I though it should the "standard" cmd-Enter but it's not)
key to stop message generation

Hey, I just added new keybindings.


nvidia-vaapi-driver: 0.0.6 -> 0.0.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/elFarto/nvidia-vaapi-driver/releases.
meta.description for nvidia-vaapi-driver is: "A VA-API implemention using NVIDIA's NVDEC"
meta.homepage for nvidia-vaapi-driver is: "https://github.com/elFarto/nvidia-vaapi-driver"
meta.changelog for nvidia-vaapi-driver is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.0.7 in filename of file in /nix/store/zzya0wzxjdbbrsyxny9z1xpf0ck3s7gb-nvidia-vaapi-driver-0.0.7

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
nvidia-vaapi-driver

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zzya0wzxjdbbrsyxny9z1xpf0ck3s7gb-nvidia-vaapi-driver-0.0.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A nvidia-vaapi-driver https://github.com/r-ryantm/nixpkgs/archive/cc5e84e4df8e8e60c1ed4e14d855b64a887c9d15.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zzya0wzxjdbbrsyxny9z1xpf0ck3s7gb-nvidia-vaapi-driver-0.0.7
ls -la /nix/store/zzya0wzxjdbbrsyxny9z1xpf0ck3s7gb-nvidia-vaapi-driver-0.0.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

nvidia-vaapi-driver

Maintainer pings
cc @NickCao for testing.

Result of nixpkgs-review pr 195851 run on x86_64-linux 1

1 package built:

nvidia-vaapi-driver


Develop a 'nutritional supplementation' pattern and add new terms

I'm trying to consolidate several open tickets into one (and add several NTRs).
Reference #4 #41 #42 #88 #66. Will close most of those tickets when everything is captured in new tickets.
| Term
-- | --

[ ] | Betaine supplements,
[ ] | folate supplementation
[ ] | carnitine supplementation
[ ] | methionine supplementation
[ ] | creatine supplementation
[ ] | arginine supplementation
[ ] | biotin supplementation
[ ] | folinic acid supplementation
[ ] | chenodesoxycholic acid supplementation
[ ] | CoQ supplementation
[ ] | glycine supplementation
[ ] | N-acetylcysteine
[ ] | ornithine supplementation
[ ] | riboflavin supplementation
[ ] | beta-hydroxybutyrate supplementation
[ ] | pyridoxine supplementation
[ ] | citrulline supplementation
[ ] | thiamine supplementation
[ ] | amino acid supplementation
[ ] | L-serine supplementation
[ ] | uridine supplementation
[ ] | medium chain supplementation
[ ] | essential fatty acid supplementation
[ ] | cholesterol supplementation
[ ] | zinc supplementation
[ ] | Hydroxycobalamin supplementation
[ ] | cyanocobalamin supplementation
[ ] | methylcobalamin supplementation
[ ] | digestive enzyme supplementation

I'll just note that FoodOn will have an interest in referencing or possibly reusing these terms.  We have an additives section we are building out, hopefully through importation of CHEBI terms. Are above terms processes (except for first one?)

@ddooley Thanks for this note!    I have an initial list of both CHEBI and whether FOODON has the term (either imported from CHEBI or a separate term).  I initially went with CHEBI because it was more complete, but really, we would want to import from FOODON because these are obviously being used for nutrition supplements.
To answer your question, we are trying to keep MAXO as entirely as processes.  With our patterns, though, we could import a material and add it to our process term.  The first entry is a mistake.  Given the way we develop patterns, this would be corrected.
Currently, this is the link to our nutrition_supplementation pattern https://github.com/monarch-initiative/MAxO/blob/master/src/patterns/dosdp-patterns/nutrition_supplementation.yaml
We currently use CHEBI in this pattern, but it would be preferable to switch to FOODON (with CHEBI terms imported) instead of having to develop a separate FOODON pattern for additional terms.
Also, note, there will be additional FOODON tickets. ;) Cheers.

Added these currently from Chebi.  Will revisit if/when FOODON adds terms.


Add a standard performance test script

Once APIs have stabilised, create a standard performance test script. We need a tool to measure how changes to core code have affected performance.

Until API has stabalised this does not seem viable.


[SP-5854] - Backport of PDI-19013 - Get data from XML: "Size field" value not saved when the transformation is saved in repository (9.1 Suite)

@pentaho-lmartins
@ssamora
@smmribeiro

:white_check_mark: Build finished in 5m 42s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/xml/core

:ok_hand: All tests passed!
Tests run: 76, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 5m 42s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/xml/core

:ok_hand: All tests passed!
Tests run: 76, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message