How do I install this on Mac OS?

I installed node.js and i downloaded the package for better discord but there's only a install.bat file and the install.sh file just opens in a code editor by default, havent worked with node so I don't really what to make of the manual isntallation, sorry for the noob question.

Run the install.sh in terminal

I try and use install.sh to run it and I open it in a terminal and all I get is an error saying it can't find the module index.js or something.

Why the heck is this closed?!?!?!?! The install.sh is broken. Could someone tell me where to place these files, or fix the installer??

yeah what the hell man! i cant even find a frickin download for this! not even a old repo.... therefor this is not supported on mac :/ the creator here cant just make it for mac and not keep it updated...... noot cool at all...... they dont even redirect you or anything.....

Are you kidding me? Are they even still working with better discord for mac? why is this closed? install.sh doesn't work!

@FredericMills75 it has nothing to do with OS X itself, it's just that they never seem to test their new scripts (and probably dont even have any reviews on the OS X installer, which is sad). I dont know why they dont care, but it needs a bit manual file adjustment to get it to work, especially with the different combinations between Discord and BetterDiscord - and an installer / DMG wouldn't be a good solution the way they have to inject BD. I'll probably create a small explanation repo in the coming days if I find some time where I'll explain the basic installation for OS X, including some tipps and tricks how to fix it yourself if it's not working on the first try.

I got it to work. You just have to put it in your users/username folder for
some reason.
On Mon, Sep 19, 2016 at 1:00 PM, Roman Schläpfer<EMAIL_ADDRESS>wrote:

@FredericMills75 https://github.com/FredericMills75 it has nothing to
do with OS X itself, it's just that they never seem to test their new
scripts (and probably dont even have any reviews on the OS X installer,
which is sad). I dont know why they dont care, but it needs a bit manual
file adjustment to get it to work, especially with the different
combinations between Discord and BetterDiscord - and an installer / DMG
wouldn't be a good solution the way they have to inject BD. I'll probably
create a small explanation repo in the coming days if I find some time
where I'll explain the basic installation for OS X, including some tipps
and tricks how to fix it yourself if it's not working on the first try.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Jiiks/BetterDiscordApp/issues/38#issuecomment-248052970,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJfhsMn4Atu1hgapuftZM2MpGgc3EECsks5qrr-TgaJpZM4Gm5C8
.

--
-Eddy
<EMAIL_ADDRESS>

@appleseedxm its not even about that though..... Its about how they dont even provide a damn download link anymore..... I dont even have a sh file link or anything... They removed it from their site.... Therefor it isnt supported at all until the creators provide us mac users a working link.... That is the issue right now....

Another issue is that if they can make a damn exe installer on windows.... Then they can make a damn pkg installer or dmg file... If they cant create that...  If the creators can't do that.... Then its not for mac..... And that's false accusations that it works on mac.....  because so far... It doesn't... I went to collage for Cisco systems networking and C++ development and python deployment... Ive even Served 4 years in Iraq..... And I am beyond serious when I say its easy to make a pkg file under Mac software... So since I dont have a download link for the program.... Its not for mac.... And lime i said.... A sh file is for linux.... And umless your on a power mac.... You need to do a bit of kernal moding in recovery mode and install homebrew in terminal to download stuff from terminal.... So no its not supported...

FredericMills75 so why dont you make one then if its so easy. The program is free so don't expect the person to work on updating the program all the spare time he have. Maybe one day he's gonna do it.

1: its a node.js application so they just have to package it differently so it involves almost no programming whatsoever. 2. I don't think I can speak for anyone else here, but they should really stop advertising it on their site as working on a platform that it does not work on.

But if you want to download the outdated one so here. knock yourself out
you can still get it from the page via the source code, so its kinda there.
but again if its so easy to fix the problem so why dont you just do it.

I did, but if they aren't going to support it they shouldn't advertise that they do. If they are working on it and its going to be disabled until they finish they need to have something more than an inactive button to show that.

well they dont "need" to do anything. a inactive button is a good way to show that they are working on it tho.

no its not....but that is just from a professional web designer's point of view that takes into account best practices. But that is just my opinion......and best practices. Because its misleading at worst and confusing at best. Does it mean they are working on it? does it mean they no longer support it? This has been an issue for almost a year now. If they were working on it they should put something along the lines of "coming soon" not an unresponsive button with no explanation.

You're the reason people don't like working on open source software. Work hundreds of hours, and as payback, get retards that have absolutely no idea what a sh file is, or what a "nodejs app" is. I'm amazed.

Thats not what Im talking about, Im talking about how they have a disabled button with no explanation on their website and it has been that way for a while now. Yes I can get it to work because its not THAT hard, but most people who want this just want to click download and run an executable.

 Disabled button means disabled feature.  And the app is great, I love what they are doing, but if you aren't going to support a platform or if you are taking forever to update it either have a current download up that you don't have to go through inspect element to get to, or remove it all together. Its not that big of an issue, you are acting like I'm saying better discord is shit, I don't I love it and if you do some digging its not that hard to install.

Also you seem to think that I served in the military,

No. I gather you didn't get an education, so I'll spell it out for you:

the other living tumbleweed

"other" means it's not you I'm talking about. Quoting said person from this thread:

Ive even Served 4 years in Iraq.....

It's okay, it's fine if you can't read.

  Not a place to insult people.....  No one. I'm glad you realized that.

Wait someone really referenced their military history ITT?  Thanks for your service but it's not really relevant here.

Gentlemen.
Emotions seem to be running high in this thread, for some reason. I find it crucial to stress that this and almost every other project maintained on GitHub is done by well-meaning people in their spare time.
Some of the comments are less than amicable, even disrespectful. There is no false advertising involved. If you go to the website, you will find that the OS X / macOS option is currently inaccessible, suggesting to users that it is currently unavailable, but will be eventually.
The developers don't owe you anything. They've provided you with the source code and if you're capable, you can make it sing & dance on any platform of your choice. You will have to put in the work, or wait until someone is nice enough to do it for you.

that is true, I would like to apologize for anything heated I said, I love better discord and the developers don't owe us anything. But from a UI design standpoint, choosing that over other methods is misleading. That is my only gripe with it, the rest is great, Im not asking them to keep working on it for OS X, as you said, its easy enough to make it run on other platforms.  And I would assume thats probably close to what it was.

Theres this dude that made an installer on betterdiscord for mac. You can heck out the link here

When I try to do the installation, this pops up... Is someone able to help me?

@GsmerJXA Try downloading regular discord first. Make sure the Discord.app is in the /applications folder!


This is not a issue ticket: Do you have any example of telephonify?

hI, I am trying to use this, Do you have any example project?

Hi!
Have you tried looking over the Getting started page? Let me know if there is anything unclear from that tutorial.


Custom tag group directory filter - support wildcards

Is your feature request related to a problem? Please describe.
When using the custom tag group with directory filter, today it supports exact prefix - i.e. path/to/dir-tree. I'd like to be able to tag with a specific tag all the directories which match a specific regex / joker. Example - tag everyhing that's in a directory named infra/networkign as Component: Networking.
Describe the solution you'd like
Extending the existing HasPrefix to support regex correctly.
https://github.com/bridgecrewio/yor/blob/389382c952147a12c8e0f825334b6c1096837996/src/common/tagging/external/tag_group.go#L92
Describe alternatives you've considered
Writing out all the possibilities is time consuming and not scalable.

Thanks ;)


test bumping RecursiveArrayTools compat

To test CI with v3.4 (which StartUpDG.jl may require in the future)

For context: I am trying to move NamedArrayPartition from StartUpDG.jl into RecursiveArrayTools.jl. However, migrating to requires RecursiveArrayTools.jl v3.4, which SummationByPartsOperators.jl restricts.

Should be fixed by #234

Thank you!


[BUG] Submission History API doesn't show Filtered reports

Describe the bug
When filters are triggered for receivers they do not show up when calling Submission History API {{url}}/waters/report/{reportId}/history. The submission status says Waiting to Deliver and should say Failed to Deliver and under destinations filteredReports should be populated.
Impact on ReportStream
Senders, if using the history endpoint, may not get accurate information as to the real status of their submitted report and may lead to confusion.
Engagement team uses API to troubleshoot submission and ensure filters are working as expected.
Steps to reproduce
Send a report locally and make sure the submission triggers a qualityFilter. You can do this by updating a receiver's quality filter to false:qualityFilter: ["false"]
Call the Submission History API  {{url}}/waters/report/2558/history
It seems like the new steps added to the Universal Pipeline are breaking this API. The API was probably looking at the Action Log Route step records to return this information.
Expected behavior

"Failed to deliver" should be the status that is displayed when a report fails quality filters.
Destinations object should return filters triggered.

@victor-chaparro when a report fails quality filters (or any routing filter) should we use status "not delivering / partially delivered" instead of "failed to deliver". I don't think failed to deliver is a status?


Does not work with windows path separators

process.env.npm_execpath in windows environments returns the path with a backslash separator for the path, instead of a forward slash like on unix systems. Because there's an explicit check for a forward slash, this package doesn't function on windows environments.
Maybe it's a good idea to normalize the paths using the slash package?

@Mitjan11 Thanks for reporting. Did not test on Windows. @chilijung do you think it would be sufficient to check if the env var exists at all?

@AndersDJohnson Sorry I don't get it, why should we check the env variable exists?  In this case, slash(process.env.npm_execpath) might just work on windows (haven't test yet).

I just tested it on Windows 10 and it's working perfectly.
Any idea when the use-yarn package could be updated to include this change, or should I make an issue for it there?

@Mitjan11 Thanks for testing. Glad it works. I've just published a new version of use-yarn that uses the updated version here.
FYI @chilijung


feat: PipelineBuildListener handles 4 different message types.

a plain text with a build id only
a plain text with a JSON string
a bytes message with a build id only
a bytes message with a JSON string

The corresponding test case has been added to this PR. The formats have been documented in doc/repairnator-kubernetes.md .
Signed-off-by: Long Zhang<EMAIL_ADDRESS>

Thanks a lot Long. @jianguda any change to make on the Github app side?

Thanks a lot Long. @jianguda any change to make on the Github app side?

I think it's fine on the GitHub app side. We may have some joint debugging though. I have already deployed the latest version of the pipeline and done some manually testing (by pushing build ids to the queue). The pipeline is working well :)
@jianguda you could also test if the Github app succeeds in pushing messages to the queue, which should be dequeued in seconds :)

hey @gluckzhang
I tested with the build of id 650537580 from travis-ci.org and it works.
enqueued and dequeued in an instant!

No pull requests from the K8 workers arrive on https://github.com/monperrus/failingProject/pulls.
Any idea?

No pull requests from the K8 workers arrive on https://github.com/monperrus/failingProject/pulls. Any idea?

Hi @monperrus , it seems that the worker missed some configurations. Could you point me to the doc about how to set up arguments to make PRs to this repo? Thanks!

Could you point me to the doc about how to set up arguments to make PRs to this repo?

@henry-lp is the expert, WDYT Henry? How to configure a K8 worker such that it does the automated pull-requests?

@monperrus you can specify in our yaml file between line 29 to line 39 . CREATE_PR has to be set to "1", GITHUB_OAUTHneeds a git token , whileGITHUB_USEREMAIL` can be a dummy email such as<EMAIL_ADDRESS>or a real email address, the other env entries can be left as it is.
This should works if

the docker file location has not been moved,
our pipeline docker container kubernetes mode functions normally
K8s updates do not affect anything related to the network config related to our pods after the time I tested it.

Thanks @henry-lp , I will try to update the deployment asap. Will be back to you if I have further questions :)

Hi @monperrus , the configuration of the pipeline has been updated. I just tried build id 650519841 in your forked failingProject, which led to a PR here: https://github.com/monperrus/failingProject/pull/6


Inconsistency in bar colors and legends after update

Hi,
I tried to update config of my chart which was
data.groups, data.columns, axis.x.categories which changes with every request. As soon as I update the chart I faced 2 issues

Inconsistency in colors between bar and legends.
Bar height is less although having correct data.

Images before and after refreshing are provided in the link.
The above issue is also posted on stack overflow where you can have a look on code snippet

Hi @DivyanshuD ,
Could you provide working example (maybe simplified) in which you'll be able to reproduce this problem? Maybe on jsFiddle, Plunker or other?
Thank you, that would really make it easier to help solve this problem :)
BR,
Peter


Bug report: Racket 6.7 64-bit crashes on macOS w/ Touch Bar

Description of issue
The DrRacket application bundled with Racket 6.7 crashes on macOS w/ Touch Bar, as detailed here: https://github.com/racket/racket/issues/1520
The current suggested workaround is to install the 32-bit version instead. Perhaps we can add a flag that installs the 32-bit version.

Might be better to add a caveat, something like the message displayed on the download page.

Could you link an example of a caveat?

Agreed regarding the caveat: https://github.com/caskroom/homebrew-cask/pull/28668
@ed1d1a8d For reference, caveats docs.


[Feature] staticConstructor should use already defined private constr…

…uctor if available
to solve issue https://github.com/rzwitserloot/lombok/issues/2100

Thanks a lot!
To be legally covered, can you please add your name to the AUTHORS file and ajust the pull request?
I'm still reviewing the code, looks good so far.
Great that you included the tests for both delombok and ecj!

I've added a comment in the code. This comment applies for both Eclipse and Javac.

Thanks a lot!
To be legally covered, can you please add your name to the AUTHORS file and adjust the pull request?
I'm still reviewing the code, looks good so far.
Great that you included the tests for both delombok and ecj!

Added to Authors, the tests are good was easy to figure out how to add new cases etc


⚠ Bofrost.be has degraded performance

In 8cd1cd7, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2727 ms

Resolved: Bofrost.be performance has improved in ae5c21a.


APP.APP.AI

https://github.com/seleniumhq/selenium/issues/805#issue-95636153

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@AfirstS


[ServiceBus] Set message count limit for tryAdd on message batch

Currently, the service only allows 4500 messages in a batch. To accommodate for this, we should make tryAdd on a message batch fail if trying to add more than 4500 messages. The failure used for the message size limit should also be applied when the message count limit is reached.
Related: https://github.com/Azure/azure-service-bus/issues/397
Edit: Instead of adding this hard limit client-side, we are instead going to place information in the documentation for tryAdd, since the limit for Basic and Standard tier is 4500 and the limit for Premium is ~15885. It would be best to link to Service Bus documentation on these limits instead of hard-coding into our reference documentation. However, we'd have to wait until they publish that information.

two things worth notes after some experiments:

there is a different between basic/standard and premium tier, the premium could handle around ~15000 messages in a batch while basic/standard tier could only handle 4500 according to the service team
python single message encode side is 60 bytes, while other languages are just 29bytes for .net and 30bytes for js, need to check what makes up the encoded bytes and see if we could save some cost

should categorize the issue whether this could be a post-GA improvement or has to be tackled before GA

Instead of adding this hard limit client-side, we are instead going to place information in the documentation for tryAdd, since the limit for Basic and Standard tier is 4500 and the limit for Premium is ~15885. It would be best to link to Service Bus documentation on these limits instead of hard-coding into our reference documentation. However, we'd have to wait until they publish that information.


Updating a view inside an existing slide

Hi, here's my issue:

My slider consists of 4 slides.
Each of these slides has a unique 'ui-view' that loads content.
This works fine initially, but when i try to update one of the views:
It doesn't do anything to the existing slide.
It adds another version of the updated slide outside of the slide-track.

In the Elements tab in Chrome tools i can see the 'slick-cloned' slides in 'slide-track'. However it looks like the angular inserted markup e.g.  remains outside 'slide-track'.
Can anyone suggest how to resolve this issue? Below is how the code looks at different stages:
Original HTML:
<slick settings="slickPanels">

</slick>

Before view update:
<slick settings="slickPanels">

</slick>

After update:
<slick settings="slickPanels">

</slick>

could you make a PR? thanks

While i was creating a plunkr i found a workaround, but here is the issue so you can see the problem:
http://plnkr.co/edit/RZ5ImTSd7dWZBPkvFpiI?p=preview
Here's my current workaround:
I added a child
 inside each slide, and moved the ui-view to the new div.
http://plnkr.co/edit/bV7cZuBDzQdfcRv1I7tP?p=preview

I found another issue with the ui-view regarding infinite carousel.
Slick essentially duplicates the slides and adds them to the slick-track to give the impression of infinite?  Well the duplicate slides don't contain the ui-view.
I'm guessing either:

the duplicate/copy/clone method doesn't account for ui-view
or angular messes up when it sees two versions of the same ui-view

Is there a possible workaround for this?

sorry for delay reply.
http://plnkr.co/edit/cQj6Qjw5Mc43NTpK3MDM?p=preview
all you have to updated data attribute. so that slick can refresh slides.

I simplified my example for this issue.  This solution isn't really for my case and seems to change all the data at once regardless which button is clicked.
I'm using the route to update the template inside each view separately, and each slide will have different content and layout.

Probably the same issue http://jsbin.com/maqokememe/1/edit?html,js,output


Error running provided usage example code with release 0.1.8

When I run usage example code with the latest release of q-transformer pip package, I get following error:
python example1.py
using memory efficient attention
/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
Traceback (most recent call last):
  File "/home/ram/github/q-transformer/example1.py", line 47, in <module>
    agent = Agent(
  File "<@beartype(q_transformer.agent.Agent.__init__) at 0x7f21fa1563a0>", line 145, in __init__
  File "/home/ram/github/q-transformer/q_transformer/agent.py", line 208, in __init__
    self.states      = open_memmap(str(states_path), dtype = 'float32', mode = 'w+', shape = (*prec_shape, *state_shape))
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/numpy/lib/format.py", line 945, in open_memmap
    marray = numpy.memmap(filename, dtype=dtype, shape=shape, order=order,
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/numpy/core/memmap.py", line 254, in __new__
    fid.seek(bytes - 1, 0)
OSError: [Errno 22] Invalid argument

pip show q-transformer
Name: q-transformer
Version: 0.1.8
Summary: Q-Transformer
Home-page: https://github.com/lucidrains/q-transformer
Author: Phil Wang
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages
Requires: accelerate, beartype, classifier-free-guidance-pytorch, einops, ema-pytorch, numpy, torch, torchtyping
Required-by:

@ramkumarkoppu hi Ram, and thanks for your interest in this repo
i couldn't reproduce your bug, but found another one when i ran the example (should be fixed in the latest version)
could you try the latest version and see if it incidentally resolves your issue?

@ramkumarkoppu just curious Ram, are you interested in this repo for academia or for some company you work at?

@ramkumarkoppu just curious Ram, are you interested in this repo for academia or for some company you work at?

this is for personal research project.

@ramkumarkoppu do you have enough disk space for the memmap files? I had to decrease the demo hyperparams because my disk wasn't big enough to hold them. I think the error was similar to this.

Hi @lucidrains,
Tried new version, but still have the same problem:
pip show q-transformer
Name: q-transformer
Version: 0.1.9
Summary: Q-Transformer
Home-page: https://github.com/lucidrains/q-transformer
Author: Phil Wang
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/ram/github/q-transformer
Editable project location: /home/ram/github/q-transformer
Requires: accelerate, beartype, classifier-free-guidance-pytorch, einops, ema-pytorch, numpy, torch, torchtyping
Required-by:

python example1.py
using memory efficient attention
/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
Traceback (most recent call last):
  File "/home/ram/github/q-transformer/example1.py", line 47, in <module>
    agent = Agent(
  File "<@beartype(q_transformer.agent.Agent.__init__) at 0x7f5dbc1953a0>", line 145, in __init__
  File "/home/ram/github/q-transformer/q_transformer/agent.py", line 208, in __init__
    self.states      = open_memmap(str(states_path), dtype = 'float32', mode = 'w+', shape = (*prec_shape, *state_shape))
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/numpy/lib/format.py", line 945, in open_memmap
    marray = numpy.memmap(filename, dtype=dtype, shape=shape, order=order,
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/numpy/core/memmap.py", line 254, in __new__
    fid.seek(bytes - 1, 0)
OSError: [Errno 22] Invalid argument

my python environment is:
conda list
# packages in environment at /home/ram/anaconda3/envs/q-transformer:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
_openmp_mutex             5.1                       1_gnu
accelerate                0.26.1                   pypi_0    pypi
anyio                     4.2.0            py39h06a4308_0
argon2-cffi               23.1.0                   pypi_0    pypi
argon2-cffi-bindings      21.2.0           py39h7f8727e_0
arrow                     1.3.0                    pypi_0    pypi
asttokens                 2.4.1                    pypi_0    pypi
async-lru                 2.0.4            py39h06a4308_0
attrs                     23.2.0                   pypi_0    pypi
babel                     2.14.0                   pypi_0    pypi
backcall                  0.2.0              pyhd3eb1b0_0
beartype                  0.17.0                   pypi_0    pypi
beautifulsoup4            4.12.3                   pypi_0    pypi
bleach                    6.1.0                    pypi_0    pypi
brotli-python             1.0.9            py39h6a678d5_7
ca-certificates           2023.12.12           h06a4308_0
certifi                   2023.11.17       py39h06a4308_0
cffi                      1.16.0           py39h5eee18b_0
chardet                   5.2.0                    pypi_0    pypi
charset-normalizer        3.3.2                    pypi_0    pypi
classifier-free-guidance-pytorch 0.5.2                    pypi_0    pypi
comm                      0.2.1                    pypi_0    pypi
cryptography              41.0.7           py39hdda0065_0
cyrus-sasl                2.1.28               h52b45da_1
dbus                      1.13.18              hb2f20db_0
debugpy                   1.8.0                    pypi_0    pypi
decorator                 5.1.1              pyhd3eb1b0_0
defusedxml                0.7.1              pyhd3eb1b0_0
einops                    0.7.0                    pypi_0    pypi
ema-pytorch               0.3.2                    pypi_0    pypi
exceptiongroup            1.2.0            py39h06a4308_0
executing                 2.0.1                    pypi_0    pypi
expat                     2.5.0                h6a678d5_0
fastjsonschema            2.19.1                   pypi_0    pypi
filelock                  3.13.1                   pypi_0    pypi
fontconfig                2.14.1               h4c34cd2_2
fqdn                      1.5.1                    pypi_0    pypi
freetype                  2.12.1               h4a9f257_0
fsspec                    2023.12.2                pypi_0    pypi
ftfy                      6.1.3                    pypi_0    pypi
glib                      2.69.1               he621ea3_2
gst-plugins-base          1.14.1               h6a678d5_1
gstreamer                 1.14.1               h5eee18b_1
huggingface-hub           0.20.3                   pypi_0    pypi
icu                       73.1                 h6a678d5_0
idna                      3.6                      pypi_0    pypi
importlib-metadata        7.0.1            py39h06a4308_0
importlib_metadata        7.0.1                hd3eb1b0_0
ipykernel                 6.29.0                   pypi_0    pypi
ipython                   8.18.1                   pypi_0    pypi
ipywidgets                8.1.1                    pypi_0    pypi
isoduration               20.11.0                  pypi_0    pypi
jedi                      0.19.1                   pypi_0    pypi
jinja2                    3.1.3                    pypi_0    pypi
jpeg                      9e                   h5eee18b_1
json5                     0.9.14                   pypi_0    pypi
jsonpointer               2.4                      pypi_0    pypi
jsonschema                4.21.1                   pypi_0    pypi
jsonschema-specifications 2023.12.1                pypi_0    pypi
jupyter                   1.0.0            py39h06a4308_8
jupyter-core              5.7.1                    pypi_0    pypi
jupyter-events            0.9.0                    pypi_0    pypi
jupyter-lsp               2.2.2                    pypi_0    pypi
jupyter-server            2.12.5                   pypi_0    pypi
jupyter-server-terminals  0.5.2                    pypi_0    pypi
jupyter_client            8.6.0            py39h06a4308_0
jupyter_console           6.6.3            py39h06a4308_0
jupyter_core              5.5.0            py39h06a4308_0
jupyter_events            0.8.0            py39h06a4308_0
jupyter_server            2.10.0           py39h06a4308_0
jupyter_server_terminals  0.4.4            py39h06a4308_1
jupyterlab                4.0.11                   pypi_0    pypi
jupyterlab-pygments       0.3.0                    pypi_0    pypi
jupyterlab-server         2.25.2                   pypi_0    pypi
jupyterlab_pygments       0.1.2                      py_0
jupyterlab_server         2.25.1           py39h06a4308_0
jupyterlab_widgets        3.0.9            py39h06a4308_0
krb5                      1.20.1               h143b758_1
ld_impl_linux-64          2.38                 h1181459_1
libclang                  14.0.6          default_hc6dbbc7_1
libclang13                14.0.6          default_he11475f_1
libcups                   2.4.2                h2d74bed_1
libedit                   3.1.20230828         h5eee18b_0
libffi                    3.4.4                h6a678d5_0
libgcc-ng                 11.2.0               h1234567_1
libgomp                   11.2.0               h1234567_1
libllvm14                 14.0.6               hdb19cb5_3
libpng                    1.6.39               h5eee18b_0
libpq                     12.17                hdbd6064_0
libsodium                 1.0.18               h7b6447c_0
libstdcxx-ng              11.2.0               h1234567_1
libuuid                   1.41.5               h5eee18b_0
libxcb                    1.15                 h7f8727e_0
libxkbcommon              1.0.1                h5eee18b_1
libxml2                   2.10.4               hf1b16e4_1
lz4-c                     1.9.4                h6a678d5_0
markupsafe                2.1.4                    pypi_0    pypi
matplotlib-inline         0.1.6            py39h06a4308_0
mistune                   3.0.2                    pypi_0    pypi
mpmath                    1.3.0                    pypi_0    pypi
mysql                     5.7.24               h721c034_2
nbclient                  0.9.0                    pypi_0    pypi
nbconvert                 7.14.2                   pypi_0    pypi
nbformat                  5.9.2            py39h06a4308_0
ncurses                   6.4                  h6a678d5_0
nest-asyncio              1.6.0                    pypi_0    pypi
networkx                  3.2.1                    pypi_0    pypi
notebook                  7.0.7                    pypi_0    pypi
notebook-shim             0.2.3            py39h06a4308_0
numpy                     1.26.3                   pypi_0    pypi
nvidia-cublas-cu12        <IP_ADDRESS>                 pypi_0    pypi
nvidia-cuda-cupti-cu12    12.1.105                 pypi_0    pypi
nvidia-cuda-nvrtc-cu12    12.1.105                 pypi_0    pypi
nvidia-cuda-runtime-cu12  12.1.105                 pypi_0    pypi
nvidia-cudnn-cu12         <IP_ADDRESS>                 pypi_0    pypi
nvidia-cufft-cu12         <IP_ADDRESS>                pypi_0    pypi
nvidia-curand-cu12        <IP_ADDRESS>               pypi_0    pypi
nvidia-cusolver-cu12      <IP_ADDRESS>               pypi_0    pypi
nvidia-cusparse-cu12      <IP_ADDRESS>               pypi_0    pypi
nvidia-nccl-cu12          2.18.1                   pypi_0    pypi
nvidia-nvjitlink-cu12     12.3.101                 pypi_0    pypi
nvidia-nvtx-cu12          12.1.105                 pypi_0    pypi
open-clip-torch           2.24.0                   pypi_0    pypi
openssl                   3.0.12               h7f8727e_0
overrides                 7.6.0                    pypi_0    pypi
packaging                 23.2                     pypi_0    pypi
pandocfilters             1.5.1                    pypi_0    pypi
parso                     0.8.3              pyhd3eb1b0_0
pcre                      8.45                 h295c915_0
pexpect                   4.9.0                    pypi_0    pypi
pickleshare               0.7.5           pyhd3eb1b0_1003
pillow                    10.2.0                   pypi_0    pypi
pip                       23.3.1           py39h06a4308_0
platformdirs              4.1.0                    pypi_0    pypi
ply                       3.11             py39h06a4308_0
prometheus-client         0.19.0                   pypi_0    pypi
prometheus_client         0.14.1           py39h06a4308_0
prompt-toolkit            3.0.43           py39h06a4308_0
prompt_toolkit            3.0.43               hd3eb1b0_0
protobuf                  4.25.2                   pypi_0    pypi
psutil                    5.9.8                    pypi_0    pypi
ptyprocess                0.7.0              pyhd3eb1b0_2
pure_eval                 0.2.2              pyhd3eb1b0_0
pycparser                 2.21               pyhd3eb1b0_0
pygments                  2.17.2                   pypi_0    pypi
pyopenssl                 23.2.0           py39h06a4308_0
pyqt                      5.15.10          py39h6a678d5_0
pyqt5-sip                 12.13.0          py39h5eee18b_0
pysocks                   1.7.1            py39h06a4308_0
python                    3.9.18               h955ad1f_0
python-dateutil           2.8.2              pyhd3eb1b0_0
python-fastjsonschema     2.16.2           py39h06a4308_0
python-json-logger        2.0.7            py39h06a4308_0
pytz                      2023.3.post1     py39h06a4308_0
pyyaml                    6.0.1            py39h5eee18b_0
pyzmq                     25.1.2           py39h6a678d5_0
q-transformer             0.1.9                     dev_0    <develop>
qt-main                   5.15.2              h53bd1ea_10
qtconsole                 5.5.1                    pypi_0    pypi
qtpy                      2.4.1            py39h06a4308_0
readline                  8.2                  h5eee18b_0
referencing               0.32.1                   pypi_0    pypi
regex                     2023.12.25               pypi_0    pypi
requests                  2.31.0           py39h06a4308_0
rfc3339-validator         0.1.4            py39h06a4308_0
rfc3986-validator         0.1.1            py39h06a4308_0
rpds-py                   0.17.1                   pypi_0    pypi
safetensors               0.4.2                    pypi_0    pypi
send2trash                1.8.2            py39h06a4308_0
sentencepiece             0.1.99                   pypi_0    pypi
setuptools                68.2.2           py39h06a4308_0
sip                       6.7.12           py39h6a678d5_0
six                       1.16.0             pyhd3eb1b0_1
sniffio                   1.3.0            py39h06a4308_0
soupsieve                 2.5              py39h06a4308_0
sqlite                    3.41.2               h5eee18b_0
stack-data                0.6.3                    pypi_0    pypi
stack_data                0.2.0              pyhd3eb1b0_0
sympy                     1.12                     pypi_0    pypi
terminado                 0.18.0                   pypi_0    pypi
timm                      0.9.12                   pypi_0    pypi
tinycss2                  1.2.1            py39h06a4308_0
tk                        8.6.12               h1ccaba5_0
tokenizers                0.15.1                   pypi_0    pypi
tomli                     2.0.1            py39h06a4308_0
torch                     2.1.2                    pypi_0    pypi
torchtyping               0.1.4                    pypi_0    pypi
torchvision               0.16.2                   pypi_0    pypi
tornado                   6.4                      pypi_0    pypi
tqdm                      4.66.1                   pypi_0    pypi
traitlets                 5.14.1                   pypi_0    pypi
transformers              4.37.1                   pypi_0    pypi
triton                    2.1.0                    pypi_0    pypi
typeguard                 4.1.5                    pypi_0    pypi
types-python-dateutil     <IP_ADDRESS>40106          pypi_0    pypi
typing-extensions         4.9.0            py39h06a4308_1
typing_extensions         4.9.0            py39h06a4308_1
tzdata                    2023d                h04d1e81_0
uri-template              1.3.0                    pypi_0    pypi
urllib3                   2.1.0                    pypi_0    pypi
wcwidth                   0.2.13                   pypi_0    pypi
webcolors                 1.13                     pypi_0    pypi
webencodings              0.5.1                    pypi_0    pypi
websocket-client          1.7.0                    pypi_0    pypi
wheel                     0.41.2           py39h06a4308_0
widgetsnbextension        4.0.9                    pypi_0    pypi
xz                        5.4.5                h5eee18b_0
yaml                      0.2.5                h7b6447c_0
zeromq                    4.3.5                h6a678d5_0
zipp                      3.17.0           py39h06a4308_0
zlib                      1.2.13               h5eee18b_0
zstd                      1.5.5                hc292b87_0

python --version
Python 3.9.18

the code I am using is copied to example1.py from Usage from this repo:
import torch

from q_transformer import (
    QRoboticTransformer,
    QLearner,
    Agent,
    ReplayMemoryDataset
)

# the attention model

model = QRoboticTransformer(
    vit = dict(
        num_classes = 1000,
        dim_conv_stem = 64,
        dim = 64,
        dim_head = 64,
        depth = (2, 2, 5, 2),
        window_size = 7,
        mbconv_expansion_rate = 4,
        mbconv_shrinkage_rate = 0.25,
        dropout = 0.1
    ),
    num_actions = 8,
    action_bins = 256,
    depth = 1,
    heads = 8,
    dim_head = 64,
    cond_drop_prob = 0.2,
    dueling = True
)

# you need to supply your own environment, by overriding BaseEnvironment

from q_transformer.mocks import MockEnvironment

env = MockEnvironment(
    state_shape = (3, 6, 224, 224),
    text_embed_shape = (768,)
)

# env.init()     should return instructions and initial state: Tuple[str, Tensor[*state_shape]]
# env(actions)   should return rewards, next state, and done flag: Tuple[Tensor[()], Tensor[*state_shape], Tensor[()]]

# agent is a class that allows the q-model to interact with the environment to generate a replay memory dataset for learning

agent = Agent(
    model,
    environment = env,
    num_episodes = 10000,
    max_num_steps_per_episode = 1000,
)

agent()

# Q learning on the replay memory dataset on the model

q_learner = QLearner(
    model,
    dataset = ReplayMemoryDataset(),
    num_train_steps = 10000,
    learning_rate = 3e-4,
    batch_size = 32
)

q_learner()

# after much learning
# your robot should be better at selecting optimal actions

video = torch.randn(2, 3, 6, 224, 224)

instructions = [
    'bring me that apple sitting on the table',
    'please pass the butter'
]

actions = model.get_optimal_actions(video, instructions)

@ramkumarkoppu do you have enough disk space for the memmap files? I had to decrease the demo hyperparams because my disk wasn't big enough to hold them. I think the error was similar to this.

It seems it has enough disk space:
df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p5  288G  163G  111G  60% /

@ramkumarkoppu could you try changing your Agent initialization to
agent = Agent(
    model,
    environment = env,
    num_episodes = 100,
    max_num_steps_per_episode = 10,
)

@justindujardin thanks Justin, think you are right https://stackoverflow.com/a/54205996

@lucidrains yes, that fixes it for me

@justindujardin @ramkumarkoppu it works fine on my m1 mac book, just as an aside

running modified code as per your suggestion on Ubuntu with Nvidia GPU with 24GB, after running 100 episodes, it throws this:
episode 99
 90%|████████████████████████████████████████████████████████████████████▍       | 9/10 [00:09<00:01,  1.02s/it]
completed, memories stored to /home/ram/github/q-transformer/replay_memories_data
/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3526.)
  return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
Traceback (most recent call last):
  File "/home/ram/github/q-transformer/example1.py", line 66, in <module>
    q_learner()
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/ram/github/q-transformer/q_transformer/q_learner.py", line 598, in forward
    loss, (td_loss, conservative_reg_loss) = self.learn(
  File "/home/ram/github/q-transformer/q_transformer/q_learner.py", line 525, in learn
    td_loss, q_intermediates = self.autoregressive_q_learn_handle_single_timestep(*args, **q_learn_kwargs)
  File "/home/ram/github/q-transformer/q_transformer/q_learner.py", line 403, in autoregressive_q_learn_handle_single_timestep
    return self.autoregressive_q_learn(text_embeds, states, actions, next_states, rewards, dones, monte_carlo_return = monte_carlo_return)
  File "/home/ram/github/q-transformer/q_transformer/q_learner.py", line 462, in autoregressive_q_learn
    q_pred_all_actions = self.model(states, text_embeds = repeated_text_embeds, actions = actions)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/classifier_free_guidance_pytorch/classifier_free_guidance_pytorch.py", line 138, in inner
    return fn_maybe_with_text(self, *args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/classifier_free_guidance_pytorch/classifier_free_guidance_pytorch.py", line 131, in fn_maybe_with_text
    return fn(self, *args, **kwargs)
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 1210, in forward
    encoded_state = self.encode_state(
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 1169, in encode_state
    tokens = self.vit(
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "<@beartype(q_transformer.q_robotic_transformer.MaxViT.forward) at 0x7f4cad184c10>", line 78, in forward
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 471, in forward
    x = windowed_attn(x, rotary_emb = rotary_emb)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 136, in forward
    return self.fn(x, **kwargs) + x
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 319, in forward
    q = apply_rotary_pos_emb(rotary_emb, q)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/amp/autocast_mode.py", line 16, in decorate_autocast
    return func(*args, **kwargs)
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 84, in apply_rotary_pos_emb
    return t * pos.cos() + rotate_half(t) * pos.sin()
**torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 1.15 GiB. GPU 0 has a total capacty of 23.64 GiB of which 1.12 GiB is free. Including non-PyTorch memory, this process has 22.52 GiB memory in use. Of the allocated memory 22.22 GiB is allocated by PyTorch, and 94.04 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF**

How much GPU memory it is needed?

@ramkumarkoppu instantiate the QLearner as
q_learner = QLearner(
    model,
    dataset = ReplayMemoryDataset(),
    num_train_steps = 10000,
    learning_rate = 3e-4,
    batch_size = 1,
    grad_accum_every = 16,
)

Hi @lucidrains, thanks for your support. but I do share the info on this issue:
Mine is 64-bit,

and after training completes, I get this:
training completed
Traceback (most recent call last):
  File "/home/ram/github/q-transformer/usage.py", line 78, in <module>
    actions = model.get_optimal_actions(video, instructions)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 1107, in get_optimal_actions
    encoded_state = self.encode_state(*args, **kwargs)
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 1169, in encode_state
    tokens = self.vit(
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "<@beartype(q_transformer.q_robotic_transformer.MaxViT.forward) at 0x7f9f8e77faf0>", line 78, in forward
  File "/home/ram/github/q-transformer/q_transformer/q_robotic_transformer.py", line 447, in forward
    x = self.conv_stem(img)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/container.py", line 215, in forward
    input = module(input)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/conv.py", line 460, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "/home/ram/anaconda3/envs/q-transformer/lib/python3.9/site-packages/torch/nn/modules/conv.py", line 456, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same or input should be a MKLDNN tensor and weight is a dense tensor

@ramkumarkoppu yea i see, ok i'll invest some time for a chunked memmap solution
as for the latter error, retry on the latest version


Document the need to avoid commit() during event dispatch.

References

Related to #8756

Description
Add comments to warn against committing the current context during event dispatch, to avoid infinite recursion.
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:

Warning added to Consumer.
Sketched a package-info to explain the package and again warn against recursive commit().

Checklist

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[ ] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies REST API endpoints, I've opened a separate REST Contract PR related to this change.
[x] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

Are there other methods which should not commit the Context?


Add comments to dom (maybe on debug mode only)

Library should allow to render html comments on dom.
In order to keep been the fastest library it should also include a "mode" setup that will disable the process of the comments, example:
IncrementalDom.debugMode = true;
IncrementalDom.comment('Hi there');
In some big projects the library is called from lots of places before the real page rendering... it's very hard to follow the code without any comments.
Thanks.

This could be implemented Incremental DOM, but I'm not sure how valuable it would really be. With tree shaking, this wouldn't necessarily add any more payload for those that aren't using comments, but does add a bit more code to the core library. This could also be accomplished with the current public APIs:
function comment(text) {
  const currentElement = IncrementalDOM.currentElement();
  const currentPointer = IncrementalDOM.currentPointer();
  let comment;

  if (currentPointer.nodeName === '#comment') {
    comment = currentPointer;
  } else {
    comment = document.createComment('');
    currentElement.insertBefore(comment, currentPointer);
  }

  comment.data = text;
  IncrementalDOM.skipNode();
}

Thank for you response @sparhami,
making this as a trick is not a bad idea, but i think that the extra code on the library worthwhile in order to have an easy debugging.
Think about a framework or application using the library in many distributed files that are all patching the dom or are included (called in) one inside others... debug and follow when, where and what code generates the dom element you're checking is very complex, unless you have added some comments indicating why or where the dom was created or executed.
Of course you will want to disable the comment processing later on, in order to get the best performance from the library in production mode.
Thanks once again, i will try your code!

BTW, here is a fixed version, it work very good, thanks!!!!
`
function comment(text) {
const currentElement = IncrementalDOM.currentElement();
const currentPointer = IncrementalDOM.currentPointer();
let comment;
  if (currentPointer && currentPointer.nodeName === '#comment') {
    comment = currentPointer;
  } else {
    comment = document.createComment('');
    currentElement.insertBefore(comment, currentPointer);
  }

  comment.data = text;
  IncrementalDOM.skipNode();
}

`


Time out while retrieving Player list.

Describe the bug
When trying to retrieve Player list from a Garry's Mod server through the example in the documentation, program returns a timed out.
Expected behavior
It should have returned me a list of SourcePlayer.
Thanks for your help.

I have the same issue, have you managed to resolved it?

Closing. Feel free to re-open if issues are still present at v1.0


Update jul-to-slf4j, log4j-over-slf4j to 2.0.3

Updates

org.slf4j:jul-to-slf4j
org.slf4j:log4j-over-slf4j

from 2.0.1 to 2.0.3.
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.slf4j" } ]

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

labels: test-library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #981.


queue submitted twice

It looks like the queue is submitted twice and synchronized once with wait idle and once with a fence.

If this is on purpose, could you explain the reasoning?

No, that was not on purpose. The submit info you removed was a left-over. Thx for the PR :+1:


Set selecteNode to null break the tree

Hello,
When a put selectedNode to null i have an issue.

that's strange.
In the example (http://wix.github.io/angular-tree-control/#selected) it works.
Have you tried using undefined instead of null?

yes, undefined works.

I have a lot of error when i try to put something not in the tree in the expandedNodes.
I know that what is in this array should be in the tree :D But it should be great if in this state, module jsut  raise an exception.

Same as here (#194)  where you can find the fix.


Auto-Map Transaction Types upon Import

Create an auto mapping to Transaction types based on keywords

This was implemented in an older commit a few months back.


Publish 1.3.0 to npm

Looks like it is already published.

@mikolalysenko hmm... 1.2.1 is what npm/regl has. See screenshot

ah interesting... this is npm failing at caching!


Refactor miden-tx-prover features

Feature description
I've been working on removing the async and concurrent features from the tx-prover crate, both of which have posed significant challenges. These features introduce issues when activated across the entire workspace:

async: This cascades to miden-tx and bench-tx, requiring the use of maybe_await in tests and internal calls.
concurrent: This enables std for all other miden-related crates (objects, tx, lib), making it impossible to compile with no-std.

Moreover, some features conflict within the crate itself. For instance, RemoteTransactionProver in miden-tx requires the async feature. However, enabling this feature causes issues with the worker, as certain components of LocalTransactionProver are not Send.
To resolve these conflicts, I propose splitting tx-prover into two distinct crates and potentially moving them to a more appropriate workspace. Additionally, a solution similar to the miden-rpc-proto crate could be implemented, or the proto file could be included there under a feature flag to facilitate file sharing among users.
Why is this feature needed?
No response

It is not really clear to me why concurrent feature is causing issues (we use it similarly in other repos) - but I think the general recommendation makes sense.
Maybe we should create a separate repo for proving services - something like miden-provers. For now, miden-tx-prover will be the only crate there, but in the future we'll also add miden-batch-prover and maybe miden-block-prover.
Could you try a separate repo approach locally and see if it solves the problems?

It is not really clear to me why concurrent feature is causing issues (we use it similarly in other repos) - but I think the general recommendation makes sense.

I think the problem stems from the fact that the prover proxy crate really holds 2 separate (but related) components:

The binary, meant to be compiled assuming std support
The library, which holds RemoteTransactionProver and requires no-std support

So probably importing miden-base crates with concurrent causes the no-std build to fail. Although maybe it could be imported separately, without concurrent when the target architecture is wasm32 and with concurrent when the target architecture is not (haven't tried this so maybe there's some other blocker). In general, it seems any solution which continues to hold both these targets in a single crate could be problematic so I agree with Santiago's suggestion.

So, would we split the crate and keep the resulting crates in this repo? Or should we create a new repo?


Minimal API parameter binding for argument lists

Minimal API parameter binding for argument lists
see https://github.com/dotnet/aspnetcore/pull/41325
Put code in https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/minimal-apis/arg-lists/readme.txt and delete readme.txt
Use
var connection = new SqliteConnection("DataSource=:memory:");
connection.Open();

@brunolins16 to review

@fiyazbinhasan  @martincostello  anyone interested in writing this sample code?

Sure, I can put something together for this.

@Rick-Anderson I'll put together a specific example a bit later today or tomorrow, but I'd already written a sample app for an internal talk at my work last month, so I've just put the whole file for all the new features I did examples for as far as preview 5/6 here. The specific one for [AsParameters] is here.

@martincostello  can you put your sample in https://github.com/dotnet/AspNetCore.Docs.Samples/tree/main/fundamentals/minimal-apis/samples ?

@martincostello  do you have an ETA on when you'll be able to write this sample? If possible, use a variation of todoitems

Sorry for the delay with this - been quite busy with other things at the moment to get around to this. I'll aim to get you something for that other repo by the end of next week.

https://github.com/dotnet/AspNetCore.Docs.Samples/pull/26


SSL support for Longhorn UI

We need to add SSL support to the UI.
We will support self-signed certificate by default with the option to change to user provided or integrated with Let's Encrypt.

Is this not responsibility for the ingress?

I am currently doing this via ingress, however the current UI will not work when behind an SSL ingress because it keeps trying to perform commands via websockets and uses the insecure (ws://) protocol instead of the secure one (wss://).
Perhaps this should be a different ticket, but I think this would be solved if the javascript would just detect that the page is https and use wss for opening the websocket.

While an ingress can do this, this would still mean that the connection between the ingress and the UI is still not secure, as the ingress would connect over HTTP and WS still. As a policy, we require all communication being TLS.

Is it possible to run longhorn-backend over TLS at least?
Documentation (https://longhorn.io/docs/1.4.0/advanced-resources/security/mtls-support/) claims that it is possible but it would at the same time means that UI would stop working (https://github.com/longhorn/longhorn-ui/blob/ed7e12083e46c23a651fc062206f71c4fd1a6ee3/webpack.config.development.js#L43) ? Am I right?

Is this issue still unresolved, or has a solution or workaround been implemented? When accessing the Longhorn UI through Ingress, the WebSocket connections fail with the following error message: "WebSocket connection to 'wss://****/dashboards/v1/ws/1s/nodes' failed: "
In the Ingress logs, entries similar to the ones below can be observed:
2023-04-02 22:32:59 | <IP_ADDRESS> - - [02/Apr/2023:20:32:59 +0000] "GET /dashboards/v1/ws/1s/events HTTP/1.1" 200 578 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" 548 0.002 [longhorn-system-longhorn-frontend-80] [] <IP_ADDRESS>:8000 578 0.002 200 25b8d656184ccf6f300622233ba15ee2


DumpUpdate is too slow. Even slower than dumping all data again

🐛 Bug Description
I used the script DumpDataAll get stocks eod data from 2008-1-1 to 2021-4-1. After that, I tried to used DumpDataUpdate to add the data from 2021-4-1 to 2021-4-20 to the database. However, the second step was too slow. It nearly need 1.5 hours. It takes only 20 mins for the DumpDataAll step. So I guess there may be something wrong or someing can be improved.

Sorry, there's a typo in my code which misslead the year 2021 to 2012.......


R stands for what?

https://www.google.com/search?q=What+is+R+class+android+site%3Astackoverflow.com


install gcc on msys2

Hi,
whats the right package to install gcc on msys2?
pacman -S gcc
pacman -S mingw-w64-x86_64-gcc

I use: msys2-x86_64-20150512.exe
Thanks,
A

Which GCC do you want? MSYS2 GCC or MinGW-w64 GCC?
Please read the wiki: sourceforge.net/p/msys2/wiki/Home/

i tried to install http://sourceforge.net/projects/mingw-w64/files/latest/download
and get the error: Cannot download repository.txt [0]

Why did you try to do that? If you want MSYS2's MinGW-w64 x86_64 GCC then you should install the mingw-w64-x86_64-toolchain package group via:
pacman -S mingw-w64-x86_64-toolchain

ok. where is mingw-w64-x86_64-gcc installed to? which mingw-w64-x86_64-gcc or which gcc doesnt find gcc...

PATH=/mingw64/bin:$PATH which gcc

Again, please read the Wiki. Here is a clickable link: https://sourceforge.net/p/msys2/wiki/Home/
You should use mingw64_shell.bat as that sets the correct environment for using our MinGW-w64 x86_64 toolchain.

ok. i didnt see that minw64_shell.bat was installed...

Please read the wiki. Everything is explained there.


Question: what is "module" the second argument of storiesOf?

For this code, what is module? and what can you do with it?
storiesOf('Button', module)
  .add('with text', () => (
    <Button onClick={action('clicked')}>Hello Button</Button>
  ))

A colleague at my workplace has suggested that module relates to the ES5 export syntax module.exports.

that's indeed it @elisechant !
Storybook needs a reference to the file/module where your story-code is int to enable hpt-module-replacement.
If you do not supply it, you'd need to refresh your browser for every change you make to your component & story code.
I hope this helps!


Update

Main was not caught up I guess, so this catches it up.

I messed up the CLA - either we need to change the CLA repo main branch (which I just asked to be done) or we find a way to undo that change


export getBin, but without prepending node

It would be nice to be able to get the path to a binfile of a package. getBin is not exported, but it also prepends node.
So I propose adding const runBin = (...args) => `node ${getBin(...args)}`  internally and exporting getBin
My very specific use case would be to be able to run Jest under ndb like
const {getBin} = require('nps-utils')

module.exports = {
 test: {
   inspect: `ndb ${getBin('jest')} --runInBand`
 }
}

PRs welcome 👍


Duplicate field data type entry in table

There is an identical duplicate entry for "string or Text field" in section "Query field data types and values".

String or Text field (single line) | Short text string that can contain up to 255 Unicode characters. String text fields are often used to support picklists or drop-down menus.
String or Text field (single line) | Short text string that can contain up to 255 Unicode characters. String text fields are often used to support picklists or drop-down menus.

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

ID: 5a718268-1105-4def-5f9e-20ea21afc0d7
Version Independent ID: 0f08fa18-3075-4275-22c7-d5d1c1e260b0
Content: Query fields, operators, and macros/variables - Azure Boards
Content Source: docs/boards/queries/query-operators-variables.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@zeusk -- Shantanu, thank you for your feedback & fix.
@KathrynEE -- Kathryn, please review the above-mentioned PR.

@zeusk - Thank you for your contribution which has been merged.


Issues with bulk messages in the new aioapns dependency (apns_async)

Hi, i have been trying out the latest async version at scale (Im sending to 200k+ devices in production) and it does not really work for bulk messaging. Already around sending messages to 100 devices it justs hangs indefinitely and never terminates.
I have been trying to fix the issue, however i have zero experience with the underlying libraries (aioapns, h2, aiohttp) and dont really know how its supposed to work. But i managed to make it somewhat stable by using semaphores limiting the number of paralell requests and raising the connection limit. Implementation can be viewed here: https://github.com/mikaelengstrom/django-push-notifications/commit/9a95da876cb25f64d751450a976061b4863c929e
Unfortunatly, performance take quite a hit when done this way.
Very thankful if someone who knows this stuff better could check it out. The original contributor @pomali maybe? :)

I worked a bit further on this and it appears to be related to https://github.com/Fatal1ty/aioapns/issues/41 (which in turn probably is related to another issue in h2). I did manage so send a several hundred thousand push notifications with this retry-logic: https://github.com/mikaelengstrom/django-push-notifications/commit/ad9bd17b7e9b30d10205dbd611ba18540ac462b6

So digging deeper, one of the core issues was having non-legit registrationIds (such as BadDevice) in the device-list, making the connection overload and crash for some reason. But appart from that i had some issues with concurrency and the lib simply never terminating properly. I managed to develop a version where bulk-messaging works fast and performant as long as there are few or none non-legit registrationids: https://github.com/mikaelengstrom/django-push-notifications/blob/master/push_notifications/apns_async.py
This update does these main things:

Make sure everything regarding to aioapns happens in an async context and by doing so getting rid of the asyncio.get_eventloop-try-catch and instead just going for asyncio.run()
Setting devices to inactive on the failcodes "BadDeviceToken" and "DeviceTokenNotForTopic"
Integrated uvloop for blazing fast delivery

Any thoughts on this or should i just create a PR?

Nice catch! I think creating PR is a good idea, and we can sort out issues inside the PR (tag me too pls). (Btw don't make same mistake as me creating PR from your master branch, it gets messy with permissions if I remember correctly)
Is there some additional work to be done in aioapns or h2?

@pomali I have added support for mutable-content in aioapns #745 . It was available in apns2, Don't know if it is deliberately removed or missed when replacing **kwargs with fixed parameters.

@pomali sorry for late reply, i have been very busy. I have now opened a PR https://github.com/jazzband/django-push-notifications/pull/746 - I do think there is some further work to be done in aoiapns/h2 or its sub-dependencies for 100% reliablity, however im unable to pinpoint what, but there are still some SSL errors going on when the connections are going super warm. In my pretty extensive testing the delivery rate is way above 99.9% though.
@HashimJVZ - I think it would be great if your patch was applied after my more excessive refactor of the module.


[XLON] Bank Holiday for the coronation of King Charles III

Hi Guys!
It seems that we are missing a bank holiday on 2023 may the 8th for exchange XLON.
Best,
Gilles

https://github.com/gerrymanoim/exchange_calendars#calendar-is-missing-a-holiday-has-a-wrong-time-should-have-a-break-etc


add support for transmuting to/from structs and arrays

Have to be tricky because this will NOT be a no-op on the wasm side, all are represented differently (potentially) on the wasm value stack

We can do this with "virtual variables" as we've done for for loops and indexing of rval arrays

Implemented in a3a58f3f463c76332ebb6cd0c01d7babf9325bf5


[🚀 for site]:  add github reference on the documentation pages

As an ESL site consumer, I want to be able to navigate from the site documentation page to the most related github source.
E.g. from https://esl-ui.com/components/esl-animate/  to https://github.com/exadel-inc/esl/tree/main/src/modules/esl-animate
Please consider page-level metainformation.
TODO: github link design tbd

@ala-n to add design notes

:tada: This issue has been resolved in version 4.14.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


python/its-iqm: neighbours broken

What:

messages from a neighbour's inter-queue are not copied to the local out queue

How to reproduce:

start two MQTT brokers; 1234 is considered "local", and 1235 is considered the "neighbour":$ mosquitto -p 1234
$ mosquitto -p 1235

Install IoT3 Core SDK and its-iqm:

start a docker container with python 3.11 (if you already have python 3.11 or later on your machine, you don't need the container):$ docker container run \
    --rm \
    -ti \
    --network host \
    -e http_proxy \
    -e https_proxy \
    -e no_proxy \
    --user $(id -u):$(id -u) \
    --mount type=bind,source=$(pwd),destination=$(pwd) \
    --workdir $(pwd) \
    --entrypoint /bin/bash \
    python:3.11.9-slim-bookworm

create and activate a venv to install into:(docker)$ python3 -m venv /tmp/iot3
(docker)$ . /tmp/iot3/bin/activate

install IoT3 Core SDK and its-iqm:(docker)$ pip3 --disable-pip-version-check install python/iot3/ python/its-interqueuemanager/

Start its-iqm with those configuration files:

its.cfg[general]
instance-id = test-iqm
prefix = default
suffix = v2x
[local]
host = <IP_ADDRESS>
port = 1234
interqueue = interQueue
[authority]
type = file
reload = 5
path = neighbours.cfg

neighbours.cfg[nghb]
type = mqtt
host = localhost
port = 1235
prefix = custom
queue = interQueue
suffix = v2x

start its-qm: its-iqm -c its.cfg

Send a message to inQueue on the local broker:$ mosquitto_pub -p 1234 -t default/inQueue/v2x/cam/1/2/3/0 -m '"test-local"'

Send a message to wrong queue on the local broker:$ mosquitto_pub -p 1234 -t custom/intQueue/v2x/cam/1/2/3/0 -m '"test-local-wrong"'

Send a message to backQueue on the neighbour broker:$ mosquitto_pub -p 1235 -t custom/interQueue/v2x/cam/1/2/3/0 -m '"test-neighbour"'

Send a message to wrong queue on the neighbour broker:$ mosquitto_pub -p 1235 -t default/inQueue/v2x/cam/1/2/3/0 -m '"test-local-wrong"'

What happens:

The messages on the local broker are both received and handled as if they were both received on inQueue (duplicated to interQueue and outQueue).
The messages from the neighbour broker are never received on the local broker.

What was expected:

The message on the inQueue on the local broker is copied to outQueue and interQueue.
The message on the wrong queue on the local broker is not copied at all.
The message on the neighbour broker on interQeueue is copied on the local broker on outQueue.
The message ion the neighbour broker on the wrong queue is not copied.

@tigroo FYI. Thanks for the initial report!


Mirror mrcyjanek/monero_c to cypherstack as of 9/11

This works on both 24.04 and 20.04 so we should just merge it to main and delete the ubuntu-24.04 branch.

This can be closed and https://github.com/cypherstack/flutter_libmonero/pull/78 merged instead.  Or that should be merged and this then rebased on that...  But we would need to mirror MrCyjaneK/monero_c to cypherstack/monero_c again (unnecessary)


assert in soleil-x master branch at runtime/realm/metadata.cc:95:  on piz daint

this assert does not happen on sapling
srun -n 4 -N 4 --ntasks-per-node 1 --cpu_bind none /lib64/ld-linux-x86-64.so.2 /users/aheirich/PSAAP/soleil-master/src/piz_daint_jobs/Job_4_master/taylor-512x512x256-shardsize1 -ll:cpu 2 -ll:util 2 -ll:dma 2 -ll:io 1 -ll:csize 40000 -ll:rsize 8192 -hl:sched -1 -level legion_prof=2,5 -logfile soleil_prof_% -hl:prof 4 -hl:serializer ascii | tee Job_4_master
taylor-512x512x256-shardsize1: /users/aheirich/PSAAP/legion/runtime/realm/transfer/channel.cc:629: long int Realm::XferDes::default_get_requests(Realm::Request**, long int, unsigned int): Assertion src_bytes == dst_bytes' failed. taylor-512x512x256-shardsize1: /users/aheirich/PSAAP/legion/runtime/realm/transfer/channel.cc:629: long int Realm::XferDes::default_get_requests(Realm::Request**, long int, unsigned int): Assertion src_bytes == dst_bytes' failed.
legion repo is at
commit a2b971e6c34cce166b3ba4181ebfadc1a71dd1c8
Author: Sean Treichler<EMAIL_ADDRESS>Date:   Fri Oct 27 04:21:11 2017 -0700
release candidate for legion-17.10.0

soleil-x repo is at
commit ab8068b7c3b5637776c688145ae7a98ac47c10e5
Author: Alan Heirich<EMAIL_ADDRESS>Date:   Fri Oct 27 20:07:55 2017 +0200
running on piz daint

The environment is fairly complex to set up, let me know if you want me to either (a) set up an environment for you to use or (b) run experiments for you in my environment

the previous run used -ll:cpu 2 which looks like a bug.   rerunning with -ll:cpu 4 gives a different result
srun -n 4 -N 4 --ntasks-per-node 1 --cpu_bind none /lib64/ld-linux-x86-64.so.2 /users/aheirich/PSAAP/soleil-master/src/piz_daint_jobs/Job_4_master/taylor-512x512x256-shardsize1 -ll:cpu 4 -ll:util 2 -ll:dma 2 -ll:io 1 -ll:csize 40000 -ll:rsize 8192 -hl:sched -1 -level legion_prof=2,5 -logfile soleil_prof_% -hl:prof 4 -hl:serializer ascii | tee Job_4_master
taylor-512x512x256-shardsize1: /users/aheirich/PSAAP/legion/runtime/realm/metadata.cc:95: Realm::Event Realm::MetadataBase::request_data(int, Realm::ID::IDType): Assertion `owner != my_node_id' failed.
Legion process received signal 6: Aborted

note that it would be useful to identify the source of the error in the case where we are running with -ll:cpu 2 but should have -ll:cpu 4.  I don't know whether this is possible.

@aheirich please run both cases (i.e. -ll:cpu 2 and -ll:cpu 4) with -level inst=1,dma=2 and put the log files on sapling where I can look at them.  While the -ll:cpu 2 case may be unintended, the error you're getting shouldn't happen even with a "bad" partitioning or placement.

@streichler logs are at http://sapling.stanford.edu/~aheirich/soleil_prof_cpu2_0 and http://sapling.stanford.edu/~aheirich/soleil_prof_cpu4_0

@aheirich unless you've got a new reproducer for this, I'm going to close it out.


[Bug]: the newcomer example immediately turns into troubleshooting

Module
PostgreSQL
Testcontainers version
1.18.0
Using the latest Testcontainers version?
Yes
Host OS
Microsoft Windows [Version 10.0.19045.3570]
Host Arch
amd64
Docker version
Docker version 24.0.6, build ed223bc

What happened?
As a newcomer,
I installed docker Desktop for Windows.
Following  https://testcontainers.com/guides/getting-started-with-testcontainers-for-java/ got error:
[INFO] -------------------------------------------------------
[INFO] Running com.testcontainers.demo.CustomerServiceTest
15:14:48.055 [main] DEBUG org.testcontainers.utility.TestcontainersConfiguration -- Testcontainers configuration overrides will be loaded from file:/C:/Users/ppku/.testcontainers.properties
15:14:48.071 [main] WARN org.testcontainers.utility.TestcontainersConfiguration -- Attempted to read Testcontainers configuration file at file:/C:/Users/ppku/.testcontainers.properties but the file was not found. Exception message: FileNotFoundException: C:\Users\ppku\.testcontainers.properties (The system cannot find the file specified)
15:14:48.078 [main] INFO org.testcontainers.utility.ImageNameSubstitutor -- Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
15:14:48.335 [main] DEBUG org.testcontainers.dockerclient.DockerClientProviderStrategy -- Trying out strategy: NpipeSocketClientProviderStrategy
15:14:48.335 [main] DEBUG org.testcontainers.dockerclient.DockerClientProviderStrategy -- DOCKER_HOST socket file '//./pipe/docker_engine' does not exist
15:14:48.335 [main] DEBUG org.testcontainers.dockerclient.DockerClientProviderStrategy -- strategy NpipeSocketClientProviderStrategy did not pass the test
15:14:48.335 [main] INFO org.testcontainers.dockerclient.DockerMachineClientProviderStrategy -- docker-machine executable was not found on PATH ([C:/app/eclipse-2022-09//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.4.v20220903-1038/jre/bin/server, C:/app/eclipse-2022-09//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.4.v20220903-1038/jre/bin, C:\WINDOWS\system32, C:\WINDOWS, C:\WINDOWS\System32\Wbem, C:\WINDOWS\System32\WindowsPowerShell\v1.0\, C:\WINDOWS\System32\OpenSSH\, C:\Program Files (x86)\Pulse Secure\VC142.CRT\X64\, C:\Program Files (x86)\Pulse Secure\VC142.CRT\X86\, C:\Program Files (x86)\Symantec\VIP Access Client\, C:\Program Files\Docker\Docker\resources\bin, C:\Users\ppku\AppData\Local\Microsoft\WindowsApps, C:\Users\ppku\AppData\Local\GitHubDesktop\bin, C:\app\Microsoft VS Code\bin, C:\app\node-v18.17.1-win-x64, , C:\app\eclipse-2022-09])
15:14:48.335 [main] ERROR org.testcontainers.dockerclient.DockerClientProviderStrategy -- Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
As no valid configuration was found, execution cannot continue.
See https://www.testcontainers.org/on_failure.html for more details.

Following the on failure link has not helped a lot.
There must be missing some trivial assumption. If I start PowerShell I get:
PS C:\Users\ppku> docker --version
Docker version 24.0.6, build ed223bc

so docker is on path.
Quite not understand why probing failed.
Could you investigate, pls?
Relevant log output
No response
Additional Information
No response

This looks to me, like the actual Docker Engine is not running (is Docker Desktop itself running?). What is the output of docker info?

I agree that for newcomer, a stopped docker engine is the elephant in the room.
The troubleshooting doc should mention such cause, and the test containers should explicitly detect stopped docker engine and try to start it.
Hope it helps


Proposal: Encoding CRS information

This proposal describes how to tag coordinate reference system information in a JSON-FG
Without any other information, for a JSON-FG file the defaults are:

coordinate reference system: CRS84 or CRS84h (if there is a vertical dimension)
vertical reference system: whatever the vertical reference system used for CRS84h is (I think it is meters above the ellipsoid).
temporal reference system: Gregorian

Otherwise:
Reference system values can be specified as:

a simple URL reference,
by reference with additional information such as an epoch,
by value
or as an array for a compound reference system.

The keys coord-ref-sys can be used to assert coordinate reference system information at the collection, feature or value levels.
The value-ref-sys key defines a lookup table that allows reference systems to be asserted for simple JSON-FG values. Unlike object values, additional properties (i.e. coord-ref-sys) cannot be added to simple values to assert a reference system.
The ref-systems key can be used to declare, at the collection level, a dictionary of reference systems used in the document. Values from this dictionary can be referenced within the document using the aforementioned coord-ref-sys key and relative URL references/JSON pointer values.
https://github.com/opengeospatial/ogc-feat-geo-json/blob/main/proposals/ref-sys.adoc

Meeting 2021-08-09:

We identified a few small consistency improvements (@pvretano will update).
Currently no comments on the options.
Which mechanisms should be included in Part 1?
Here is the link to the related section in the GeoPackage standard. GPKG uses a dictionary. The CRS is specified on the table/collection level (link for Features and for tiles). This is in particular also because of the goal to make GPKG work in an offline context, so the dictionary has to be in the SQLite database.
How important is it to support offline uses cases in the first part of JSON-FG? The main driver for the SWG charter was API support. For the first release of Part 1 we decided to focus on CRS by reference/identifier (as done by Features Part 2). We should also support also ad-hoc compound CRS (i.e., a an array of CRS URIs).
We will also include the epoch option and see if that gets implemented.
@pvretano will update the proposal and move the parts that we have excluded for now to an "annex" and restrict the technical proposal section to the scope that is identified above.

@pvretano

Without any other information, for a JSON-FG file the defaults are:
. coordinate reference system: CRS84 or CRS84h (if there is a vertical dimension)
. vertical reference system: whatever the vertical reference system used for CRS84h is (I think it is meters above the ellipsoid).

Need to more clearly distinguish between 2D such as CRS84, 2.5D (compound CRS with horizontal and vertical spatial components) and genuine 3D such as CRS84h. There is no global vertical 1D CRS yet available, the nearest currently either an undefined mean sea level (EPSG:5714) or the surface generated by the most recently published global geoid model, EGM2008 (EPSG:3855) although this is about to be replaced with a later model). I don't think either of these is appropriate for a JSON-FG default. The text should read:
Without any other information, for a JSON-FG file the defaults are:
. 2D spatial coordinate reference system: CRS84 (WGS 84 longitude-latitude)
. 3D spatial coordinate reference system: CRS84h  (WGS 84 longitude-latitude-ellipsoidal height)
. temporal coordinate reference system: xxxx [identifier] (Proleptic Gregorian calendar using ISO 8601-1 syntax)

Referencing the CRS has been included in the draft spec. We can close this issue and discuss new issues/comments on the draft.


Prevent malformed protobuf messages from crashing runtime

Upstream protobuf-as handles malformed protocol buffer bytearrays by allowing the program to crash.
In some environments this may be acceptable however in metashrew we will be accepting untrusted messages as protocol buffers so an attacker could trivially DoS by including a broken protocol buffer appended to a protocol tag in an OP_RETURN.
The sandshrewmetaprotocols/protobuf-as fork should be modified such that the compiler produces AssemblyScript code which does not ever crash on a message decode. Instead, it should return a null pointer when a decode fails, and the calling context can thus check for a null pointer before attempting to interpret the decoded structure.

Accidentally posted this on the upstream protobuf-as instead of our fork but keeping this issue present as it will likely be relevant to the code author of protobuf-as


Small images (as textures) such as skins appear blurry

you can set the texture filtering option to nearest

As @Creeper553 has said you can control this in the texture properties by changing the filtering mode from Linear to Nearest. Feel free to reopen if you're having issues.


feat: use VarBinView as the new canonical string type

Supplants #476.
VarBinView is the new canonical representation for string types across the repo. There are still many places that natively use VarBin arrays internally, we can replace those over time.

Canonical::VarBin -> Canonical::VarBinView
FSSTArray, ConstArray, DictArray now all canonicalize into VarBinView
Updated the TPC-H setup to use Utf8View schemas

I think https://github.com/apache/arrow-rs/issues/6366 is going to make python tests fail

Yea, even bumping PyArrow from 15 -> 17 (latest) did not seem to change that

Blocked on https://github.com/apache/arrow-rs/pull/6368

Converting back to draft while this is blocked

I think with arrow 53.1.0 this is no longer blocked

Time for a take3 PR 🥲

git cli is a lot smarter than github ui but probably still hard


Proposal: Make the shared space size configurable

Is there a reason why the Build Storage (Shared Space) is not configurable when the Job Cache storage is? The shared storage size appears to be hardcoded to 50Mi.
I would like to be able to configure the Build Storage size just like the Job Cache size.

That is a good idea. We might have to make it configurable at the project level, instead of within JS, but I will go look.


Missing FBbt --> CL mappings

Background
UberGraph has CL, FBbt and the CL-FBbt bridge.
Versions loaded to UberGraph:
http://purl.obolibrary.org/obo/uberon/bridge/cl-bridge-to-fbbt/2022-09-30/uberon/bridge/cl-bridge-to-fbbt.owl
http://purl.obolibrary.org/obo/fbbt/fbbt-base.owl,http://purl.obolibrary.org/obo/fbbt/releases/2022-12-01/fbbt-base.owl
h
Some examples of useful bridging in UberGraph resulting from this: https://api.triplydb.com/s/WnK-lbvyS
General question: is this now out of date?  Should we be pointing UberGraph to a release file on this repo instead?
Evidence for missing mappings
There are quite a number of terms in CL that are obviously superclasses of FBbt terms but which have no subclasses in the combined CL & FBbt in UberGraph (as judged by IC = 100 indicating leaf node status:  https://api.triplydb.com/s/J3OcIK_ge), e.g.

'imaginal disc cell' should subsume 'imaginal disc epithelial cell'
'Kenyon cell' - has many subClasses in FBbt

From spot checking it looks like these are missing from the mappings file here (based on recent PRs I'm guessing that this is where the mappings live):
https://github.com/FlyBase/drosophila-anatomy-developmental-ontology/blob/master/src/ontology/mappings.tsv

General question: is this now out of date? Should we be pointing UberGraph to a release file on this repo instead?

No to both questions. The bridge generation logic is in the Uberon repository (the make-bridge-ontologies-from-xrefs.pl script), so this is still where the bridge files live and Ubergraph is right to get them from there. FBbt only provides the SSSOM file.
Ultimately I hope to overhaul the bridge generation process to produce the bridges straight from the SSSOM file (which could allow FBbt to generate its own bridge file instead of being dependent on Uberon for that), but the available SSSOM tooling is not up to the task for now.
(Strictly speaking, the bridges that are part of the 2022-09-30 Uberon release are slightly out-of-date, but that is simply because another Uberon release happened on 2022-12-13; I don’t know how often is Ubergraph rebuilt, but the last build was probably before that date. I expect the next Ubergraph build will automatically use the latest Uberon.)

From spot checking it looks like these are missing from the mappings file here

That’s very likely. When working on those mappings I have mainly focused for now on removing or fixing existing mappings that were problematic for one reason or another, and not so much on adding new mappings that might be missing.
I’ll add missing mappings as needed, but before I add too much of them I’d very much like to come up with a way to easily and efficiently detect whether the new mappings are going to cause downstream issues (without having to wait for a new Ubergraph release to detect any problem), as described in INCATools/ontology-development-kit#765.

based on recent PRs I'm guessing that this is where the mappings live

Indeed.

A few missing mappings to add based on matching names:
https://api.triplydb.com/s/1vU8Ua6aM

x
y
xlab
z

http://purl.obolibrary.org/obo/CL_0000196
100
flight muscle cell
http://purl.obolibrary.org/obo/FBbt_00003360

http://purl.obolibrary.org/obo/CL_0000380
100
thecogen cell
http://purl.obolibrary.org/obo/FBbt_00005173

http://purl.obolibrary.org/obo/CL_0000673
100
Kenyon cell
http://purl.obolibrary.org/obo/FBbt_00003686

http://purl.obolibrary.org/obo/CL_0000729
100
tertiary pigment cell
http://purl.obolibrary.org/obo/FBbt_00004233

http://purl.obolibrary.org/obo/CL_0000534
100
primary interneuron
http://purl.obolibrary.org/obo/FBbt_00052517

http://purl.obolibrary.org/obo/CL_0000727
100
primary pigment cell
http://purl.obolibrary.org/obo/FBbt_00004231

http://purl.obolibrary.org/obo/CL_0000728
100
secondary pigment cell
http://purl.obolibrary.org/obo/FBbt_00004232

http://purl.obolibrary.org/obo/CL_0000482
100
juvenile hormone secreting cell
http://purl.obolibrary.org/obo/FBbt_00058020

Looks like CL terms lack definitions, so either a generalised definition should be added to CL or the term dropped from CL.    I think we should probably take the former strategy for all except the primary, secondary and tertiary pigment cells, which I suspect might be highly taxonomically specific, and possibly for "primary interneuron".
Mapping also needed for

'imaginal disc cell' -  should subsume 'imaginal disc epithelial cell'

Happy to call this ticket complete when all these mappings have been addressed.  I suspect we will find more that don't match exactly on label by reviewing IC=100 terms
in CL.  I'll make a separate ticket for that.

Looks like CL terms lack definitions, so either a generalised definition should be added to CL or the term dropped from CL. I think we should probably take the former strategy for all except the primary, secondary and tertiary pigment cells, which I suspect might be highly taxonomically specific

I agree for those three terms. The parent term (visual pigment cell (sensu Nematoda and Protostomia)) is already mapped to the parent term in FBbt (pigment cell), so I think CL does not need the primary/secondary/tertiary subclasses – I’ll propose them for obsoletion in CL.

possibly for "primary interneuron"

Not sure about this one (and the associated “primary neuron”, “primary sensory neuron”, “primary motor neuron”).
In FBbt, “primary neuron” is clearly defined as a neuron born during embryonic neurogenesis (as opposed to a neuron born during larval neurogenesis). This concept of “two-stages neurogenesis” is not specific to flies – from a cursory look, it seems to also happen at least in zebrafish and frogs. So having “primary neuron” in CL with that meaning would be justified.
But because neither “primary neuron” nor any of its subclasses have a definition in CL, it’s unclear what their intended meaning was, or what it should be. I note that in Uberon, “neurectoderm” is a subclass of has_parts some "primary neuron", which suggests that “primary neuron” was not intended to be applicable only to species with two-stages neurogenesis.
We should clarify the intended meaning of “primary neuron” (and the “primary interneuron“, “primary motor neuron“, “primary sensory neuron“ subclasses) in CL (which includes deciding whether those terms are actually needed in CL or not) before mapping them, or not, to the corresponding FBbt terms.

The missing mappings flagged in this ticket have been added where necessary. Closing here.


Username missing in the jenkins homepage.

Hi,
I have Jenkins configured with openID plugin. I have CAS running as an openID provider which has LDAP for authentication. Everything is functioning properly. This means that I am able to successfully login to Jenkins using CAS login page and it gets redirected to Jenkins homepage. However, instead of my username as a logged in user, Jenkins shows the openID URL. I have hunch that there somewhere a variable value which needs to be changed but I cannot figure out where. I have attached a screenshot highlighting the problem.

Any help ?
Thanks.

I recommend your post questions to the CAS Mailing lists first.
http://jasig.github.io/cas/Mailing-Lists.html

I did https://groups.google.com/forum/#!topic/jasig-cas-user/TYDzlk0_w6g
But i will do it again.


test: add test to check if containerd+runc can pull and spawn an image

What this PR does / why we need it:
Adds a test to gardener feature, that checks if containerd can pull and spawn a container successfully.
Which issue(s) this PR fixes:
No issue reported yet.
In 1312 we have docker.io included and a test using docker to spawn a container. See test_docker.
However, we can utilise ctr which is the cli for containerd to test it in version that do not have a user friendly overlay like podman or docker.

need #2191 first so this PR can be tested

@fwilhe you are right. The tests are not run with dev workflow, because dev workflow only uses ./test, and ./test uses chroot test environment only. Hmm. need to test with kvm locally

https://github.com/gardenlinux/gardenlinux/actions/runs/9792450496

https://github.com/gardenlinux/gardenlinux/actions/runs/9793004182


Reports List Page

Notion card
https://www.notion.so/saeloun/Create-the-Reports-List-page-b36ccfd750af40f39864b342cdbc2ca9
Summary

Created a page to show list of projects.
Preview

https://user-images.githubusercontent.com/104751221/176164798-cd790f5a-202f-40e5-975e-b93a13f05cce.mp4
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tested Manually
Checklist:

[ ] I have manually tested all workflows
[ ] I have performed a self-review of my own code
[ ] I have added automated tests for my code

@onkar-saeloun can we hide the rest of the empty reports

Ohh like for now we will show only Time entry report on list?
@supriya3105 your view?

@onkar-saeloun .  Please hide the rest of the reports for now.

@akhilgkrishnan Please review this PR again for feedback that has been implemented


Navbar Title Attribute does not work with font-awesome.

Title Attribute is not being set correctly when the label is set to a font-awesome icon

This has been updated to use the link attribute field and default back to the title field. Complete and Merged into Master


Cannot access service remotely via mapped ports

Hi there,
I've been attempting to set up a Rancher controlled Jenkins node, just a simple setup. I've created a Rancher server on a VPS from DigitalOcean, and then added my dedicated server as a host. I've ensured that the IP of the host in Rancher is the dedicated server's public IP address (not the docker0 interface's IP address which it seems to default to).
From there, I added my service. The following settings were used:
https://www.dropbox.com/s/nauv8tqhtg97lcc/Screenshot 2015-08-05 23.01.42.png?dl=0
This all goes fine, I'm only trying to start right from the basics here after all. I hit start and it boots up fine. If I then go onto the service page, the only public IP address I can attempt to access is the host IP, which does not work via the port I mapped.
If I SSH onto the host and attempt to cURL the container IP with the original, exposed port defined by the image (in this case, 8080, not the 13001 I had chosen), then I can get a response. That is the only interface / IP I seem to be able to get a response on. No matter which interface / IP I use, I cannot get the port I mapped to work, and I cannot get access publicly as I would like to.
The only way I've been able to get around this is by setting the networking mode to "host" while setting up the service, but that still doesn't do anything with the port I decide to map it to, and it just works on port 8080, which makes trying to launch multiple jenkins nodes on the same host impossible (which is the main reason I want to do this!)
Is there anything I can check? Anything I'm doing wrong?
Rancher: v0.31.0
Cattle: v0.73.0
User Interface: v0.39.0
Rancher Compose: beta/latest
Docker version 1.7.1, build 786b29d (on both the host, and the rancher UI VPS)
Both running on Ubuntu 14.04.
If you need more information, iptables, etc then feel free to ask.

I found the issue. I had UFW enabled. Two options from there, disable UFW, or change /etc/default/ufw so that:
DEFAULT_FORWARD_POLICY="ACCEPT"
Is set.


Single click event setting

Hi,
first, thanks for great addon.
I have some spectial requiriments for grid component.
I found double click for opening editor useful, because I use selection in the grid.
Could please make the "single click to open editor" feature optional?
I'm using GridFastNavigation version 0.5.6 for Vaadin 7.7.7.
Thank you for response.
Milan

Adding API to control this should be easy to implement, I will check this after we have released the Vaadin8 version.

Change is included in version 0.5.7

Hi, thanks for your effort, but I still have an issue with editor opening on single click - even if I do set the property like
nav.setOpenEditorWithSingleClick(false);
Do you have an idea what is wrong?
Thank you,
Milan

Did you remember to recompile the widgetset?

I'm quite sure I did, but today I tried it once more and now it works pretty well, so it's alrigth, thank you very much.