Check { workspace = true, editable = false } support

We need to check the support of non-editable workspace dependencies in pyproject.toml. If it doesn't work remove it from the docs.
See also #5792.

I've confirmed that this isn't supported. The issue is that we have to lock the entire workspace. So we add all the members (as editable), then lock, then install the appropriate subset.
In order to support this, I think we'd need to make editable part of dependencies, rather than its own source... Since we'd need the workspace member to be a directory that can either be installed as editable or non-editable.

Do we want to support or remove? \cc @zanieb

I guess we should remove it for now.

I think I should make a timeboxed effort to fix it.


rely on spring's application-properties documentation for default values

https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html

won't do


Not working in certain angles

Hi, I compiled it with no problems and it works smoothly. But, the ESP only works when I'm looking at a certain angle and it's random. For example, sometimes it only works when I'm looking down at the ground and the moment I look up, the boxes disappear. Other times, I have to look at a certain direction for the boxes to appear (say North, South, ...). I tried to change resolutions and I also tried to recompile it a couple of times. Can anyone please help me resolve this issue?
Thanks

Ok, so after some digging and checking my offsets with the latest offsets from the new offsets issue ticket, I found out that my "m_boneArray" value was wrong. It's supposed to be "128" but I got it "0". It worked completely fine after fixing this value. I used cs2_dumper to get my offsets and only found "m_boneArray" inside "animationsystem.dll". Am I supposed to configure cs2_dumper to get a correct value or does "0" mean "128"? Just asking for future offset updates.


Source member

Code for IBM i v1.7.10
This has happened a few times to me now over recent months but it's not something I've been able to replicate.
I tend to edit RPGLE source via source members and notice the problem with **FREE source.
When I make a change to an existing **FREE source characters beyond column 80 are removed i.e. characters from column 80 to 100, and it's generally not the source lines I've been editing it it the whole source member that is affected. My QRPGLESRC source file record length is 112.
When this occurs the source file open in VS Code still contains the correct code so I've been luck that I've been able to recover.
This happens very infrequently and I've not been able to pin down the exact circumstances.
Could it be the other members that I have open at the time? Possibly from a source file with a record length of 92? Could it be that I have open a mix of **FREE and non-free source members open? I also often have RPGLE source files from a local repository open at the same time.

i had same issue today, v1.7.10 too.
i guess you enabled the SQL, and maybe the source dates too.
your file record lenght is 112, and i guess your code was over the column 112, so Code save only to the column 80..

**free has nothing to do with record format length and characters passed the record format.
I will double check the code today that handles record format lengths and I will get back to you.

i had same issue today, v1.7.10 too. i guess you enabled the SQL, and maybe the source dates too. your file record lenght is 112, and i guess your code was over the column 112, so Code save only to the column 80..

I have SQL and source dates enabled though not the option to show dates in gutter.
My code was NOT over the 112 record length.

So a record length of 112 means you can only edit up to column 100.
I checked the code and it looks fine, as does my tests.
@richardm90 Perhaps if you can provide a screenshot or a video of what you're seeing, or perhaps we can meet some time, that would be great.

@worksofliam It only happens occasionally, maybe once a fortnight, and I've not been able to replicate the problem to date. When I save the source member in VS Code and it goes wrong the source still looks good in VS Code but whats been saved to the member has been chopped off at column 80. I only know I've got a problem when I try compiling. Happy to meet up if it would help clarify the problem.
This is probably a daft question but how does VS Code know the record length? Does it establish this when it loads the source member or when it saves it?

@richardm90 We fetch the record length when the member is opened. I will reach out to you later today or tomorrow to see if we can recreate something :)


Fix captureScreenAudio conditional

Expected
When I pass false to captureScreenAudio, an audio track should not be created/published to the LiveKit room.
Actual
Whenever captureScreenAudio is not null, an audio track is always created/published to the LiveKit room regardless of if the variable is false or not.
Fix
Updated the captureScreenAudio conditional to default to false if the variable is null. Otherwise the actual true/false value is used for the conditional.

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


Fix the "my-scheduler-as-kube-scheduler" ClusterRoleBinding.

The my-scheduler-as-kube-scheduler cluster role binding is missing the system: prefix:
E1120 09:20:58.955249       1 reflector.go:205] k8s.io/kubernetes/vendor/k8s.io/client-go/informers/factory.go:130: Failed to list *v1.PersistentVolumeClaim: persistentvolumeclaims is forbidden: User "system:serviceaccount:kube-system:custom-scheduler" cannot list persistentvolumeclaims at the cluster scope: RBAC: clusterrole.rbac.authorization.k8s.io "kube-scheduler" not found
(...)

I'm a little confused by the GH UI on this one, but I'm also pretty sure this is the thing to do:
/lgtm
/approve


Show time spent by the learner in each course in the user page

updated designs attached in issue 178


add third-party dependencies check

hi @imbajin , please take a look at these failed ci, i have no idea what happen, seems i didn't modify them in this pr.

hi @imbajin , please take a look at these failed ci, i have no idea what happen, seems i didn't modify them in this pr.

seems we need update the repository url & commitID, something wrong with it


Missing OffsetBuilder Error in console along with missing bones when reinitializing or setting up model.

I was having an issue with keeping certain aspects of the model at proper rotations.  The scripts don't seem to be showing up as they do in the example images. As well, Whenever I originally set up the model or reinitialize I receive many missing bone errors along with a null reference error.
I was attempting to use the offsets to remedy a rotation-error in my models arm. My model appears/rotates correctly in Unity, but once in game it seems to be a bit broken in regards to certain limb rotations.
I attempted to use other models and new project set-ups, following through Unity Workflow again and keep getting the same errors at the same times.
Thanks for any help you can give!

Those missing bone messages aren't necessarily an issue and are more of a debug message. The null reference exception is an issue, and looking through the source I can't really determine what that issue is.
A matter that is concerning is that it is consistent across models. That suggests to me that there is some issue regarding your unity or the package installation, and also that there's very little I can do to help.

If you dont mind me asking, what version of Unity do you use for the API?
And do you use the 3D HDR project format or am I choosing the wrong one for
that?
On Wed, Jan 17, 2024, 2:21 AM Bunya Pine Tree @.***>
wrote:

Those missing bone messages aren't necessarily an issue and are more of a
debug message. The null reference exception is an issue, and looking
through the source I can't really determine what that issue is.
A matter that is concerning is that it is consistent across models. That
suggests to me that there is some issue regarding your unity or the package
installation, and also that there's very little I can do to help.
—
Reply to this email directly, view it on GitHub
https://github.com/BunyaPineTree/LethalCompany_ModelReplacementAPI/issues/51#issuecomment-1895221874,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMA6IAH6BOBGTMK77QQGVOLYO53WLAVCNFSM6AAAAABB5AMEY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJVGIZDCOBXGQ
.
You are receiving this because you authored the thread.Message ID:
<BunyaPineTree/LethalCompany_ModelReplacementAPI/issues/51/1895221874@
github.com>

The unity version is 2022.3.9f1, and the project format is 3D HDRP.

Closing for inactivity


SS-28662 Add cvar to force spawn everyone at departures

About the PR
This cvar means everyone must spawn at departures. This could be handy for an admin event? But mostly it's so the tutorial departures terminal can be seen by all newbies on gateway servers.
Why / Balance
For gateway servers.
Technical details
Thankfully turned out to be quite simple.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog
:cl:

add: A server setting to force everyone to spawn at departures. Handy for tutorials and server events.

Thansk to @VasilisThePikachu for help on this PR

https://github.com/space-wizards/space-station-14/issues/28662

Thanks to @VasilisThePikachu for help on this PR

I just told you cvars but you are welcome ;3

I would remove the changelog as it's not really player facing.

Lgtm!


React rewrite alpha: target profile page crashes for (some?) antisense RNA ENSGs

It throws TypeError: Cannot read property 'id' of null on this line in src/public/target/Page.js:
  const uniprotId = proteinAnnotations.id;

Contrived example: ENSG00000180139.
Seen for some pseudogene ENSGs as well, but not all.

Thanks @fedde-s
I have added this to a list of cases for testing the target profile page functionality

Thanks! Please also note these cases also crash the search results page. Probably, because of the  right panel but I haven't investigated it.

I'm investigating the issue.

@fedde-s this has been fixed by @forus PR. Thanks to you both for reporting it and for the PR!
@d0choa made some commits to also fix the search page being broken due to missing protein annotations which was needed to display the functions and accessions in the right panel. Also added a BoundaryError component around the right panel to prevent future errors there that would break the whole page.

Awesome! Thank you all


Update README.md to include prerelease types

https://github.com/stevelacy/gulp-bump/issues/38

Awesome, thanks


replace SYS_CONTEXT macro with cast function

This was already done for the TCTI contexts. We need the same thing for the SAPI context too. See discussion here: https://github.com/01org/tpm2-tss/pull/574

Fixed with https://github.com/intel/tpm2-tss/pull/617


Remove version: Microsoft.Edge.Beta version 123.0.2420.41

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators or/and anyone else

[!Caution]
As a result of several personal problems I've had over the last few months + my final exams coming up very soon, I'm currently unable to look at my GitHub notifications every day and maintain my executions correctly.
If you detect a certain problem on a certain pul request:

Either you can close the pull request directly without mentioning me.
Or you can send me a message on X (Twitter): @Exorcism0666

Thank you for your understanding, and I'm sorry if some pull requests can't be approved due to the situation I'm in.

This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

URL: https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/a713f254-18bb-4213-9883-a0f618c36a65/MicrosoftEdgeBetaEnterpriseX86.msi
OK
(Automated message - build 912)

Close with reason: Package still available;


difference_type/unsigned int conversion warning

difference_type/unsigned int conversion warning is generated for 64-bit build in the following line:
https://github.com/Tessil/hopscotch-map/blob/fc9994548df8bd462fe19564229fb9aeb353258b/src/hopscotch_hash.h#L191
m_iprime = std::distance(tsl::detail_hopscotch_hash::PRIMES.begin(), it_prime);

Made the correction, than you!


Sanitize AppConfig Widget (forward port from 3.1)

Changes Unknown when pulling c1ee201f44a01390ab88a22ed08fded36cc191e2 on mkoistinen:feature/sanitize_appconfig_widget_32 into ** on divio:release/3.2.x**.

Source PR approved, merging.


Update sample datasets to match 0000 zipcodes or use county only

Counties are also broken because of new Alabama County denomination

@ericboucher is this complete?

Nope, not complete yet, might actually be easier to repopulate from DB for California at least. If you have a moment @tetraptych, thought not urgent


“Illegal, another \bibstyle command“ in Ubuntu20.04

When I use the Elegant Paper in Ubuntu 20.04 , and I clone the code and try to make a PDF by compile it XeLaTeX -> BibLaTeX -> XeLaTeX*2. But an error happened when I use the Bibtex
The error gives
Illegal, another \bibstyle command
and I find in the automatically formed file "elegantpaper-cn.aux", the line 18,19 is
\bibstyle{gbt7714-unsrt}
\bibstyle{gbt7714-author-year}
Acturally, it's double defined.
So how can I avoid this?

用 texlive 2021


fix Safari 13 addEventListener on MediaQueryList

Please accept this PR that fixes an error on Safari 13 because addEventListener is not available yet on MediaQueryList.
see https://github.com/mdn/sprints/issues/858 for more description of the issue

onPrint actually looks at its event argument. I don't see any mention of such an object being passed to addListener callbacks in https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/addListener . Are you sure the patch works the way you wrote it? (I don't have a Safari 13 around to test.)

That's the fastest PR review I have ever seen in the whole FOSS world!
I didn't test that it actually works when the print is triggered. Is it what this code is doing?
I was more concerned about having the code execute in general (the whole codemirror was broken because of that).
I have read the code though, and it should work.
I can see we get an argument that looks exactly the same as the one received in the newer API addEventListener:
interface MediaQueryListEvent extends Event {
    readonly matches: boolean;
    readonly media: string;
}

It has a matches boolean and inherits a type from Event.
And yes, the old API addListener doesn't take a type parameter like the new one does (with "change" value)
If you look at the commits of other people who solved this before us, they did exactly like what I propose.
https://github.com/h2oai/wave/pull/394/files

I have checked with a console.log(event) at the beginning of onPrint and this is what I get:
when print is triggered:
{
  media: "print",
  matches: true
}

when the print is finished:
{
  media: "print",
  matches: false
}

so I believe that your guard if (event.type == "change" && !(event as MediaQueryListEvent).matches) return is never going to be useful on Safari 13, but tha's ok, right?
The print works fine.

BTW, you can also test on your end, as the old API is available on all browsers.
Some people have even solved this issue by always using the old API addListener here in this case of media queries, even if it is deprecated.

I've merged this and followed up with a patch that makes the listener ignore matches: false objects.

very nice! do you know when the next release to npm will be?

I've tagged 6.29.1

ok thanks. I ll be looking forward the npm release too, in order to simplify my dependencies

All is good ! thanks for your timely fix


auto-deserialization of parameters broken

It seems the auto-deserialization of parameters is broken as documented in the README:
error[E0277]: the trait bound `msg::std_msgs::UInt64: rustc_serialize::serialize::Decodable` is not satisfied
  --> /home/astraw/src/mycrate/src/ros.rs:96:24
   |
96 |             param.get::<msg::std_msgs::UInt64>().unwrap().data
   |                   ^^^ the trait `rustc_serialize::serialize::Decodable` is not implemented for `msg::std_msgs::UInt64`

error: aborting due to previous error

error: Could not compile `mycrate`.

(This is on current master. Using param.get_raw() instead of param.get::<msg::std_msgs::UInt64>() works fine.)
Without digging in, my guess is that this broke in the transition to serde.
Relatedly, it would be good to get some tests, even simple ones, on the parameter api, as I didn't find any at the moment.

That is correct. The issue should be fixed once xmlrpc-api-rework is merged, as that one uses serde as well, as shown here.
Though the branch is feature complete in an ideal world, a lot of ROS things are poorly documented, so I'll have to handle all the weird cases that some language implementations tend to create (like instead of RPC calls doing method(param1, param2, param3), they do method([param1, param2, param3]).
In any case, I hope to merge it very soon.
And I agree about tests, that's why I made it the #7 issue.

@astraw
I've released a total rehaul. The changes you've added are still in 0.5.1 (I know it's anti-semver, 0.X releases tend to be more like 0.major.minor anyway).
But I think you'll like the new interface much more.
Also, a lot of bug fixes, and more are on the way for sure.

Regarding the parameters - parameters have nothing to do with message types. What you can do is:
param.get::<u64>() rather than using std_msgs::UInt64.  You can look at the example I added to see usage.

Great that you are picking this up again.
I will check things out and file any issues I come across with the refactored code. Things are currently working reasonably well for us with rosrust, so I have a good baseline for real-world testing, I think.


CUSTOM_RENDER_OBJECT: a new type in DisplayObjectType

DisplayObjectType::CUSTOM_RENDER_OBJECT: a new type of object is added so that no other rendering methods are called during custom rendering.
For example, if a custom object is inherited from DisplayObject, it may not need to call the __renderShape method before calling RenderEvent.

What if the object uses __type = null?

__type = null looks  simpler, but now it will not work due to this condition: if (object != null && object.__type != null).  This condition does not allow rendering at all. In addition, a switch with an null enum value will throw an exception in c++ target:

I just merged it in as CUSTOM


Uploading an empty file leads to errors in UI

Package version (if known): invenio-app-rdm==11.0.0.dev13
Describe the bug
When uploading a file with 0 bytes, there are display errors in the deposit UI regarding

size of empty file
total file size

Trying to view the details page results in an error.
Steps to Reproduce

Create a new record
Upload a file with 0 bytes
Witness UI display errors
Fill in required fields
Publish record
Visit record detail page
Witness JinjaTemplateError

Expected behavior
See correct total file size in deposit page.
Be able to view detail page as usual.
Screenshots (if applicable)
Deposit page

Search

Detail page

Additional context
Stack trace:
Traceback (most recent call last):
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/flask/app.py", line 2548, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py", line 187, in __call__
    return self.app(environ, start_response)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/werkzeug/middleware/dispatcher.py", line 78, in __call__
    return app(environ, start_response)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/flask/app.py", line 2528, in wsgi_app
    response = self.handle_exception(e)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/views/decorators.py", line 79, in view
    return f(**kwargs)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/views/decorators.py", line 127, in view
    return f(**kwargs)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/views/decorators.py", line 224, in view
    return f(**kwargs)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/views/records.py", line 95, in record_detail
    return render_template(
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/flask/templating.py", line 147, in render_template
    return _render(app, template, context)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/flask/templating.py", line 130, in _render
    rv = template.render(context)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html", line 344, in top-level template code
    {%- block javascript %}
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_theme/templates/semantic-ui/invenio_theme/page.html", line 72, in top-level template code
    {%- block body %}
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_theme/templates/semantic-ui/invenio_theme/page.html", line 83, in block 'body'
    {%- block body_inner %}
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_theme/templates/semantic-ui/invenio_theme/page.html", line 91, in block 'body_inner'
    {%- block page_body %}
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html", line 135, in block 'page_body'
    {%- block record_body -%}
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html", line 231, in block 'record_body'
    {%- block record_files -%}
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html", line 244, in block 'record_files'
    {{ file_list_box(files, record.id, is_preview, record) }}
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/jinja2/runtime.py", line 777, in _invoke
    rv = self._func(*arguments)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/files.html", line 106, in template
    {% if files %} ({{files|sum(attribute='size')|filesizeformat(binary=binary_sizes)}}){% endif %}
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/jinja2/async_utils.py", line 45, in wrapper
    return normal_func(*args, **kwargs)
  File "/home/david/Documents/invenio-rdm/rdm-v11-dev/env/lib/python3.10/site-packages/jinja2/filters.py", line 1295, in sync_do_sum
    return sum(iterable, start)  # type: ignore[no-any-return, call-overload]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'size'

That sounds a lot like the error I triggered by hitting "publish" too quickly after uploading the file.
Stack trace:
<IP_ADDRESS> - - [01/Mar/2023 12:57:17] "GET /records/zgres-nmq44 HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/flask/app.py", line 2551, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/werkzeug/middleware/proxy_fix.py", line 187, in __call__
    return self.app(environ, start_response)
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/werkzeug/middleware/dispatcher.py", line 78, in __call__
    return app(environ, start_response)
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/flask/app.py", line 2531, in wsgi_app
    response = self.handle_exception(e)
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/flask/app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py", line 82, in view
    return f(**kwargs)
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py", line 130, in view
    return f(**kwargs)
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/views/decorators.py", line 227, in view
    return f(**kwargs)
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py", line 147, in record_detail
    return render_template(
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/flask/templating.py", line 147, in render_template
    return _render(app, template, context)
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/flask/templating.py", line 130, in _render
    rv = template.render(context)
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html", line 343, in top-level template code
    {%- block javascript %}
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/invenio_theme/templates/semantic-ui/invenio_theme/page.html", line 72, in top-level template code
    {%- block body %}
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/invenio_theme/templates/semantic-ui/invenio_theme/page.html", line 83, in block 'body'
    {%- block body_inner %}
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/invenio_theme/templates/semantic-ui/invenio_theme/page.html", line 91, in block 'body_inner'
    {%- block page_body %}
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html", line 134, in block 'page_body'
    {%- block record_body -%}
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html", line 230, in block 'record_body'
    {%- block record_files -%}
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/detail.html", line 243, in block 'record_files'
    {{ file_list_box(files, record.id, is_preview, record) }}
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/jinja2/runtime.py", line 777, in _invoke
    rv = self._func(*arguments)
  File "/home/mmoser/rdm/modules/invenio-app-rdm/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/files.html", line 119, in template
    {% if files %} ({{files|sum(attribute='size')|filesizeformat(binary=binary_sizes)}}){% endif %}
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/jinja2/async_utils.py", line 45, in wrapper
    return normal_func(*args, **kwargs)
  File "/home/mmoser/.local/share/virtualenvs/my-site-OggevyoG/lib/python3.9/site-packages/jinja2/filters.py", line 1295, in sync_do_sum
    return sum(iterable, start)  # type: ignore[no-any-return, call-overload]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'size'

On the deposit edit page, it looks like the file upload hasn't been completed (can't delete it, etc.):

The debugger shows that the file dictionary in question has everything except for a size attribute.


Implemented cookies for login and authentication

The TSS now uses cookies to handle login information. Included are the following cookies:
username: The username of the currently logged in user
role: The role of the currently logged in user
token: The JWT access token used to authenticate the user to the backend
There are no cookies in the cookies tray if the user is not logged in.
There will be the aforementioned cookies if the user is logged in.
The cookies will be wholly removed if the user logs out.
All functionality relating to localStorage EXCEPT language handling were removed.
The most likely breaking points are the places where these values are used e.g. login, token validation, user privileges for actions...
Tests will most likely be broken in some small way.
NOTE: all references to authorization headers alongside HTTP requests are removed, as the backend now checks the validity of the token through the token in the cookies.
ANOTHER NOTE: the token cookie will be HttpOnly for security reasons, and will NOT be available on the clientside by JS. Other cookies can freely be handled using the techniques presented in the pull request. All the handling of the token cookie will be performed serverside.

Can't log in. error below:
[0] (node:479) UnhandledPromiseRejectionWarning: JsonWebTokenError: jwt must be provided                   [0]     at Object.module.exports [as verify] (/home/tuoluo/tss/back/node_modules/jsonwebtoken/verify.js:53:17)                                                                                [0]     at checkJwt (/home/tuoluo/tss/back/middlewares/jwt.js:11:25)                                       [0]     at Layer.handle [as handle_request] (/home/tuoluo/tss/back/node_modules/express/lib/router/layer.js:95:5)                                                                                [0]     at next (/home/tuoluo/tss/back/node_modules/express/lib/router/route.js:137:13)                    [0]     at Route.dispatch (/home/tuoluo/tss/back/node_modules/express/lib/router/route.js:112:3)           [0]     at Layer.handle [as handle_request] (/home/tuoluo/tss/back/node_modules/express/lib/router/layer.js:95:5)                                                                                [0]     at /home/tuoluo/tss/back/node_modules/express/lib/router/index.js:281:22                           [0]     at Function.process_params (/home/tuoluo/tss/back/node_modules/express/lib/router/index.js:335:12) [0]     at next (/home/tuoluo/tss/back/node_modules/express/lib/router/index.js:275:10)                    [0]     at Function.handle (/home/tuoluo/tss/back/node_modules/express/lib/router/index.js:174:3)          [0] (node:479) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)                                                                       ^

Above error happens on Chrome and Edge, not on Firefox.

If connection is unsecure (such as localhost:3000), cookies will be delivered without secure status.

Looks good!


Add Databricks adapter

@zashirah has started work on one: zashirah/harlequin-databricks

I'm progressing this one now over at: alexmalins/harlequin-databricks


Harden logging tests

Recent logging failures were caused by tests logging to TraceSource so I fixed that.
While investigating failures I thought it was caused by an error being logged to console so redirected console output too.

If only we had an IConsole for mocking :trollface:


Remove old stmanager from stboot repo

Once stmgr has parity with stmanager we should remove the old stamanager from here.

we need to change the tooling here first:
https://github.com/system-transparency/system-transparency/pull/147

The CI workflows now pass. So this can be pursued now.


About train.py

Hi! When I tried to train the model through "bash scripts/pda/main_pda.sh officehome b32_ep10_officehome PDA ViT-B/16 2 a-c 0", I found that there are many parameters in train.py that need to be set by myself. Can you provide an example because I am not sure about the capitalization of some model names or the specific location of files.Thanks!

Always prompt "train.py: error: argument --root: expected one argument" error

You need to modify the value of --root to your own directory of data.

非常感谢您的回复！我已经修改了train.py中的 --root路径：parser.add_argument("--root", type=str, default="/home/leejq/leejqsave/Prompt/Prompt-based-Distribution-Alignment/datasets/office_home", help="path to dataset"),但仍然提示：train.py: error: argument --root: expected one argument

If you use .sh file to start the program, you need to modify the value of --root on . sh file.
These argument of the model is referred to the name of the trainer. The dataset name is referred to the dataset config file name.

非常感谢！已经成功运行！

That's great! Hope the code could help you.


feat: add release messaging [PLAT-123]

Message when releasing to production - currently messages are only for when a build goes from one state to another (failed to success)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

59 of 65 (90.77%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-4.2%) to 90.598%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/utils/github.ts
35
36
97.22%

src/main.ts
9
14
64.29%

Totals

Change from base Build<PHONE_NUMBER>:
-4.2%

Covered Lines:
86

Relevant Lines:
94

💛  - Coveralls


Setting SubscriptionID and TopicID in PubSub transport

Adding a new options method to be able to set up subscription and topic id in the pubsub transport. This is needed to be able to load the topic from the transport context.

/assign @n3wscott

LgMT

LgMT

LgMT --> LGTM?

any idea with the test fails? way to re-run?

Fast fingers... Lgtm
Try the tests locally

@n3wscott  master is broken... See https://circleci.com/gh/cloudevents/sdk-go/370
It seems that we are not setting the datacontenttype anymore? I removed them from tests and it passes.

Master is not broken, it is now working and the test is wrong.

/assign @matzew


WARNING: there is no master router defined

Hi,
first let me say a big thank you for your work!
I tried to update to version 5.0.3 and started with a minimal configuration:
    {
        "name": "FritzPlatform",
        "debug": true,
        "devices": [
            {
                "name": "FritzBox 7590",
                "username": "abbanatic",
                "password": "xxxxx",
                "ssl": true,
                "tr064": true,
                "igd": true,
                "readOnly": false,
                "hide": false,
                "model": "7590",
                "serialNumber": "xxxxx",
                "master": true,
                "connection": "dsl",
                "options": {
                    "wifi_2ghz": "switch",
                    "wifi_5ghz": "characteristic",
                    "wifi_guest": "switch",
                    "wps": "switch",
                    "dect": "switch",
                    "aw": "switch",
                    "deflection": "switch",
                    "led": "switch",
                    "lock": "switch"
                }
            }
        ],
        "presence": [
            {
                "ping": false
            }
        ],
        "smarthome": [
            {
                "accType": "false"
            }
        ],
        "callmonitor": {
            "active": false,
            "port": 1012
        },
        "extras": {
            "alarm": {
                "active": false
            },
            "wakeup": {
                "active": false
            },
            "ringlock": {
                "active": false
            },
            "phoneBook": {
                "active": true,
                "accType": "switch"
            }
        },
        "options": {
            "polling": {
                "timer": 10
            }
        },
        "telegram": {
            "active": false
        },
        "platform": "FritzPlatform"
    }

Unfortunately, the box and the switches don't appear in Homekit.
The log says:
Nov 10 15:27:25 abbapie01 homebridge[28075]: [11/10/2020, 3:27:25 PM] [FritzPlatform] Initializing FritzPlatform platform...
Nov 10 15:27:28 abbapie01 homebridge[28075]: [11/10/2020, 3:27:28 PM] [FritzPlatform] WARNING: There is no master router defined!
Nov 10 15:27:28 abbapie01 homebridge[28075]: [11/10/2020, 3:27:28 PM] [FritzPlatform] WARNING: Please define ONE master router to proceed!
But I defined the FritzBox to be the master router.
Please be so kind to tell me, what I'm doing wrong!
Thanks,
Thomas

@abbanatic
You forgot host for your device
https://github.com/SeydX/homebridge-fritz-platform/blob/3eff5e91ce9ae9f45b9d7a6fd0c74a68ad06e000/example/example-config.json#L18

Sorry, I saw it 3 minutes ago. 😩
There's a host field in config-ui-x, but not in the config.json.
Sorry again for bothering you, this issue can be closed.
Thomas

@abbanatic
no problem, I am glad that I could be helpful


feat: setup create blueprint ux workflow

Config-UI / New Blueprints UI v0.12.0

[x] Apply New Blueprints UX Design Strategy

[x] Create Blueprint Workflow

[x] Normal Mode Support
[x] Advanced Mode Support

[x] App Theming and Logo Updates
[x] Setup "Create Blueprint Workflow" Logic
[x] Update App Routing

Create Blueprint <CreateBlueprint />
Blueprint Detail
Blueprint Manage
Connections

[x] Update Sidebar & Menu Configuration
[x] Update Connection Manager and Blueprint Manager Hooks
[x] Added/Updated NPM Packages

@fontsource/inter: ^4.5.11
@babel/eslint-parser: ^7.18.2

[x] Integrate with new Backend API Endpoints
[x] feature #2384
[x] Code Cleanups & Linting
[x] Test New Workflow
[x] Test Production Build

⚠ In-Progress Development & QA Tasks
The following tasks are still in progress and will continue during the QA Cycle after this PR is merged. A subsequent pull request will be issued with continued enhancements and fixes.

[ ] Update Pipeline & Blueprint Validation Hooks + Rules / Error Messaging
[ ] Blueprint Details
[ ] Blueprint Management / List
[ ] Connections Management / List Lower Priority
[ ] Developer UX Testing, CSS Styling Updates & Bugfixes

Description
This PR Applies the new Blueprints Design UX Strategy to Configuration UI (@config-ui). Blueprints are now defined using a 4-step workflow that allows users to quickly setup a data collection plan.
What's Not or Partially Working?
A few notes on what functionality is partially degraded as QA cycle starts.

JIRA Transformation Settings may not be operating fully when re-reading configuration for certain multi-select fields. The "Add/Edit" transformation action may show "Edit" instead of Add then Edit when at least 1 setting is saved.
"Clear All" action for Transformation settings may not automatically close editing mode after settings are cleared.
Blueprint Detail Run Activity -- The detail view is using partial test data, not all information rendered on this page will be reflective of the actual blueprint.
Workflow & Form Validations are being re-applied, so the "NEXT" Action is not fully restricted/disabled based on entered data.
"Save and Run Now" action needs to also Run Pipeline after saving.

Does this close any open issues?
#1951
Screenshots ([<IN_DEVELOPMENT>])

Older Screenshots ([<EARLY_DEVELOPMENT>])

Today I did a round of QA on commit 29f5a7546e8b68061df7f28da0e9cf1ff2ee32de and below are my findings:
Most Severe
Since there will be many screenshots, so I'll duplicate the list here:

"Add Connection" doesn't work during blueprint creation for Jira, GitLab, and Jenkins.

GitHub token text field disappears when typing

GitHub token test connection issue (through Data Integrations page)

Jira transformation rule saving issue

"Add Connection" doesn't work during blueprint creation for Jira, GitLab, and Jenkins.

GitHub token text field disappears when typing

GitHub token test connection issue (through Data Integrations page)

Jira transformation rule saving issue

Medium Priority

Can't unselect issue

Why does Jira have "source code" entities

“Add Connection" doesn't work for GitHub, after filling in all the input fields. The "Test Connection" and "Save Connection" buttons are still disabled.


Delete dns records when listener hostname changes

fixes: #794
The DNSRecord resource does not handle changes made to the rootHost which can cause things to be left around in the provider if it's modified after initial record creation. This change modifies the logic detecting if existing records should be removed to take into account possible hostname changes, removing any that no longer match (qw.listener.hostname != record.spec.rootHost).
related: https://github.com/Kuadrant/dns-operator/pull/219

Looks good. Would it be a good idea to test for the wildcard records as well? Currently rootHost (dns-record) is identical to hostname (gateway) always but I'm worried that it might change

I'm not really sure why it would change, but that said there is no harm in testing it. Test updated now to ensure that other listeners DNSRecords are not modified due to updates to another listener, and also that the wildcard listener DNSRecord can be updated in the same way.


Create devcontainer.json

Escape to Paradise : Embark on a journey to the enchanting island of Bali with Check-in Holiday Pvt. Ltd. Prepare to be captivated by the island's rich culture, stunning landscapes, and warm hospitality as you explore this tropical paradise.

Nice, first time I've seen this kind of ad on GitHub.


ClassCastException when embedding ktlint

Expected Behavior
When embedding ktlint 1.1.1 in another project, I get this exception when running the project:
$ ./server/build/install/server/bin/kotlin-language-server
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.pinterest.ktlint.ruleset.standard.rules.AnnotationRule.<clinit>(AnnotationRule.kt:470)
        at com.pinterest.ktlint.ruleset.standard.StandardRuleSetProvider$getRuleProviders$1.invoke(StandardRuleSetProvider.kt:103)
        at com.pinterest.ktlint.ruleset.standard.StandardRuleSetProvider$getRuleProviders$1.invoke(StandardRuleSetProvider.kt:103)
        at com.pinterest.ktlint.rule.engine.core.api.RuleProvider$Companion.invoke(RuleProvider.kt:41)
        at com.pinterest.ktlint.ruleset.standard.StandardRuleSetProvider.getRuleProviders(StandardRuleSetProvider.kt:103)
        at org.javacs.kt.formatting.Formatter$KtLint.<init>(Formatter.kt:32)
        at org.javacs.kt.KotlinTextDocumentService.<init>(KotlinTextDocumentService.kt:71)
        at org.javacs.kt.KotlinLanguageServer.<init>(KotlinLanguageServer.kt:36)
        at org.javacs.kt.KotlinLanguageServer.<init>(KotlinLanguageServer.kt:25)
        at org.javacs.kt.MainKt.main(Main.kt:42)
Caused by: java.lang.ClassCastException: class org.jetbrains.kotlin.psi.stubs.elements.KtFileElementType cannot be cast to class org.jetbrains.kotlin.com.intellij.psi.tree.IElementType (org.jetbrains.kotlin.psi.stubs.elements.KtFileElementType and org.jetbrains.kotlin.com.intellij.psi.tree.IElementType are in unnamed module of loader 'app')
        at com.pinterest.ktlint.rule.engine.core.api.ElementType.<clinit>(ElementType.kt:13)

I tried to ensure the kotlin compiler version is 1.9.22 as in ktlint 1.1.1, here is the class path:
ls -1 server/build/install/server/lib/
annotations-13.0.jar
checker-qual-2.11.1.jar
ec4j-core-0.3.0.jar
error_prone_annotations-2.3.4.jar
exposed-core-0.37.3.jar
exposed-dao-0.37.3.jar
exposed-jdbc-0.37.3.jar
failureaccess-1.0.1.jar
fernflower-1.0.jar
google-java-format-1.8.jar
gson-2.9.1.jar
guava-29.0-jre.jar
h2-1.4.200.jar
j2objc-annotations-1.3.jar
jcommander-1.78.jar
jline-3.3.1.jar
jna-4.2.2.jar
jsr305-3.0.2.jar
kotlin-compiler-1.9.22.jar
kotlin-compiler-embeddable-1.9.22.jar
kotlin-daemon-embeddable-1.9.22.jar
kotlin-logging-jvm-5.1.4.jar
kotlin-reflect-1.9.22.jar
kotlin-sam-with-receiver-compiler-plugin-1.9.22.jar
kotlin-scripting-common-1.9.22.jar
kotlin-scripting-compiler-1.9.22.jar
kotlin-scripting-compiler-impl-1.9.22.jar
kotlin-scripting-jvm-1.9.22.jar
kotlin-scripting-jvm-host-unshaded-1.9.22.jar
kotlin-script-runtime-1.9.22.jar
kotlin-stdlib-1.9.22.jar
kotlin-stdlib-jdk7-1.9.22.jar
kotlin-stdlib-jdk8-1.9.22.jar
kotlinx-coroutines-core-jvm-1.6.0.jar
ktfmt-b5d31d1.jar
ktlint-cli-ruleset-core-1.1.1.jar
ktlint-logger-1.1.1.jar
ktlint-rule-engine-1.1.1.jar
ktlint-rule-engine-core-1.1.1.jar
ktlint-ruleset-standard-1.1.1.jar
listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
org.eclipse.lsp4j-0.15.0.jar
org.eclipse.lsp4j.generator-0.15.0.jar
org.eclipse.lsp4j.jsonrpc-0.15.0.jar
org.eclipse.xtend.lib-2.24.0.jar
org.eclipse.xtend.lib.macro-2.24.0.jar
org.eclipse.xtext.xbase.lib-2.24.0.jar
poko-annotations-jvm-0.15.2.jar
server-1.3.10.jar
shared-1.3.10.jar
slf4j-api-1.7.25.jar
sqlite-jdbc-<IP_ADDRESS>.jar
trove4j-1.0.20200330.jar

Version of ktlint used: 1.1.1
Relevant parts of the .editorconfig settings N/A ?
Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task): none
Version of Gradle used (if applicable): Error happens at runtime, but gradle version to build is 8.5
Operating System and version: Ubuntu 2022.04 LTS

What do you mean with "embedding in another project"? Do you integrate in another than one of the ways described on https://pinterest.github.io/ktlint/latest/install/integrations/? Why do you want to do it differently?
In ktlint-intellij-plugin there was also a need to really embed ktlint into the plugin. In that project the ktlint library was wrapped into a library; with the shadow plugin the org.jetbrains packages have been moved to a different location to avoid class loading conflict.

I'm trying to add support to https://github.com/fwcd/kotlin-language-server to be able to have it format files using ktlint, see https://github.com/fwcd/kotlin-language-server/issues/303.
At the moment I'm just doing
        val ktLintRuleEngine = KtLintRuleEngine(
            ruleProviders = StandardRuleSetProvider().getRuleProviders()
        )

The problem is most likely caused by conflicting dependencies in your project (https://github.com/fwcd/kotlin-language-server/blob/main/platform/build.gradle.kts#L16-L26) and similar but not identical dependencies of Ktlint. This is the same problem that the ktlint-intellij-plugin had. So in ktlint plugin a lib is created in which the Ktlint dependencies are relocated to a different package (https://github.com/nbadal/ktlint-intellij-plugin/blob/main/lib/build.gradle.kts#L44). Then the lib is included in the plugin app instead of including the Ktlint dependencies (https://github.com/nbadal/ktlint-intellij-plugin/blob/main/settings.gradle.kts#L7).


v2 usage

Hi raix, I'm looking at your current grounddb-caching-2016 branch and hoping to come up with a recommendation for the Guide for offline data with Meteor 1.3.
Common use cases
Are these the two most common reasons why a dev might want to persist data?

Ability to load page while offline and still read data
Ability to change the data while offline and sync up when online
Ability to render a data-filled page sooner during an online pageload (instead of waiting for a subscription to be ready)

For 2, Meteor sends outstanding methods on reconnect, but this package no longer persists them across reloads. There is also no direct syncing of changes from the cached collection to the server collection on reconnect. You can call update on a Ground.Collection, but you'd have to either do your own syncing logic, or be building an app that didn't need syncing, eg an account-less todo list app that only saves data on your browser.
Offline reading
For 1 and 3, I think the easiest and most generally-applicable method would be for entire normal collections to just work / appear to have data. For 1, you'd use the appcache package and the below?
const Lists = new Mongo.Collection('Lists');
const ListsCache = new Ground.Collection('ListsCache');

// Cache Lists
ListsCache.observeSource(Lists.find());

Meteor.subscribe('lists.public')

Lists.find = function(...args) {
  return ListsCache.find(...args);
};

Lists.findOne = function(...args) {
  return ListsCache.findOne(...args);
};

// reload page, and Lists.find() returns data even though the Mongo.Collection
// is empty, and doesn't hydrate

Jumpstart template rendering
And for 3, instead of Template.subscriptionsReady:
{{#if Template.subscriptionsReady}}
  {{> Template.dynamic template=main}}
{{else}}
  {{> App_loading}}
{{/if}}

https://guide.meteor.com/ui-ux.html#subscription-readiness
we'd need a different helper, like listsDataReady:
Template.foo.helpers({
  listsDataReady() {
    const cachedDataAvailable = !! Lists.findOne()
    return cachedDataAvailable || Template.subscriptionsReady()
  }
})

Cache size
When should we recommend trimming the cache?
At some point you'll hit quota, but there's not a good way to tell in advance (see this localForage issue). Perhaps we could listen for quota exceeded errors and call a user-provided a hook?
Ground.onQuotaExceeded(() => {
  ListsCache.keep(Lists.find());
});

Is hitting quota at all likely? How many moderate-size docs would it take to fill eg 10MB? (quotas are dynamic and across the board, but 10MB seems on the low end)
Are there other drawbacks to a large cache size? I'd guess for IndexedDB and SQL, queries wouldn't slow down much with data size like they do with minimongo?
The conservative approach would be trimming on subscription ready:
Meteor.subscribe('lists.public', () => {
  ListsCache.keep(Lists.find())
});

Some people want to write Meteor apps that are purely offline and client-side. So without even a Meteor server component. Using the device as the storage medium. Localstorage has a ~10MB cap. Using "localforage" makes sense because then we can have IndexedDB by default.

@lorensr It looks good - atm Ground DB II doesn't support outstanding method calls - this is probably something to add later on together with multiple tab support (both were in v1 but flaky due to the design of Meteor core packages and Ground db)
I'm thinking that it might be useful to add:

a package for backwards compatibility
helpers for general subscription ready states etc.
intelligent handling when hitting quotas

I followed the examples above (with find and findOne retrieving from collection.cache) and it works great to get client side data working offline.
I do find one problem using React and react-meteor-data with CreateContainer:
the data retrieved from the cached collection (via the modified find and findOne) is not reactive? So I guess ground collections are not reactive in CreateContainer?
If I modify data on the server:

I see it arriving to the client (received ddp message)
the Indexedb data is updated (which means grounddb received it via the observeSource feature)
but the data displayed in the react component does not update

I tried to add a tracker.autorun() in createContainer to log the data retrieved from groundDb (via the find calls above) and the tracked does get.log the updated data but it never goes to the displayed container...
Do you have any idea what I could try to solve this?? This is the only issue I face, otherwise, this is a great way to get an offline enabled mobile app with Meteor.

Indeed @raix I confirm that I (and so other devs)

A reactive data source like .ready() for meteor subs to know when a subscription is ready (very important for me)
The ability (like in V1), in a seperate package if you want (tough I don't see the need), for Meteor.call() to be resumed on reconnection (pretty important also, it's sad that the V2 make all the app who use your package worst than before, isn't it ?)
Mutiple tab support (very important for sure, it's a Meteor principle ...). Wait, NO mutliple tab support does that mean that if I save offline with your package info in a tab user need to ... refresh ... the other tab. But it's horrible as users will think that it's the same when offline as online they will think that they'd lose every data when they change the tab offline. THIS ONE IS the most important I hope it will come very very soon :D
Great work in any way @raix I just hope V2 could be used without destroying the user experience

@NitroBAY I agree with you - the V2 does contain speed improvements (non blocking storage)
atm. I'm not sure where MDG is heading with regard to DDP - it seems like Meteor is in flux which is sad imho. Anyway it's the main reason why ground db II is more decoupled from Meteor. (eg. no reactive helpers)
Determining whether or not a subscription is ready, GDB II is just a cache it has an "loaded" event that could trigger a "ready" reactive variable. Re subscriptions that's handled by regular Meteor - but Meteor publications are not tight to a specific collection, you could have multiple publications pushing data to the same collection, making a "collection" subscription ready flag difficult to generalize.
Using redux you have the option to store things offline - you might even write persisted actions allowing a later resume. (you can reason about this which makes debugging easier)
For tab sync it's mostly a matter of using the localstorage changed event to update all clients - and have them update their state accordingly.
But sure, you'd have to wire everything up yourself, V2 is just the result of preparing / having the option to leave the Meteor stack. You can rig other sources than DDP...

Hum it's interesting, as I'm pretty new (2/3 months) to Meteor I don't know much about low-level mechanisms as DDP, besides, I think, Meteor is voluntarily opaque with low-level mechanisms (I think they explicitly say that in doc).
I may be dumb but I don't know how to use 'event' even after reading that https://github.com/GroundMeteor/db/blob/grounddb-caching-2016/EVENTS.md all I know about Meteor's event is Reactive data source with get and set. When I dive into a grounddb object I just see isLoaded true/false which doesn't seem reactive. So please can you share some code about how to use your event.
Redux ? I don't know what is it. I taught you were just using localstorage/indexeddb (which I know since I learnt how to use Service Worker) and when Meteor.status().connected() you send the change over the wire to the servers.
Do you think you'll re implement yourself tab sync at any moment or you try to keep ground db as simple as possible (I hope than yes but AS you already made such an amazing work for free it would be indecent to complain about your nice package) ?
Why would I want to drop DDP, it is a part of the core of Meteor and it's great for me now ?

@NitroBAY Reading the events.md there are actually some reactive variables :)
Not sure whats going on in the forums - I've stopped following a while back.
I've been using Meteor for +3 years - they had alot of cool ideas - but the last year have felt like things got offrailed.
The CLI build times are ridiculously slow, blaze is being deprecated and it seems like ddp etc. is too. I've produced alot of packages, and hearing that atmosphere and the package system is being deprecated in favor of npm isn't helping - feel like I've waisted time.
The reason why I chose Meteor to begin with was to avoid having to build / glue my own stack... I'm not using Meteor on work we use a plain react/redux/webpack stack allowing us to use the tools out there - something Meteor doesn't quite do... yet? (hope theres still time for mdg to take leadership - wish them the best)

On Mon, Aug 29, 2016 at 2:15 PM, Morten N.O. Nørgaard Henriksen <
<EMAIL_ADDRESS>wrote:

The reason why I chose Meteor to begin with was to avoid having to build /
glue my own stack... I'm not using Meteor on work we use a plain
react/redux/webpack stack allowing us to use the tools out there -
something Meteor doesn't quite do... yet? (hope theres still time for mdg
to take leadership - wish them the best)

hey morten, i'm curious – what kind of tools doesn't meteor allow you to
use? just webpack-based ones? there is a webpack atmo package, but i
haven't tried it. you can use react and redux fine in meteor – you can use
any npm lib on front or back, and you could use them all in lieu of meteor
core libs, and just treat meteor as a nice build and deployment system that
you don't have to write complicated config files for 😊

@raix I need to redirect on my flow router triggersenter based on some custom Meteor.user() informations that I need to publish. In my triggersEnter flowRouter's function I cannot use a simple variable in an else if BUT I need inside an else to do an
if (!Meteor.userId()) FlowRouter.go('/');
else { once('loaded', () => {
  if (whatshouldbeinymyelseif)
}
}

I love Meteor. I tried php (with 7.0, POO, powerful framework as Laravel, node.js (with socket.io, npm, express etc.) and I think Meteor is a game changer.

@raix Anyway I have a problem now I finally figure out the event system.
localUser.once('loaded', () => {
});

(which I don't really like, I mean event emitter with node.js is cool but if you want to make event driven development with Meteor you have to use reactive variable NOT event emitter imho...).
But I have a real problem, it's that localUser which is defined in my api/user.js
  localUser = new Ground.Collection('user');
  localUser.observeSource(Meteor.users.find());

is used to detect if he has some data to redirect if there is no these data BUT when I use loaded event he always says that he's loaded when I ask for it but it's pointless as YES he did load Meteor.users.find() in first time but not already custom data about user. Ground collection should be smarter to dissociate the different sources and understand from which sub does the data comes from, otherwise I don't know how I will do to handle it.

@NitroBAY you could extend with a reactive ready or do a pr. something like eg.
import ReactiveVar from '@meteor/reactive-var';

 class NitroDB extends Ground.Collection {
  constructor(...args) {
    super(args...);
    this.ready = new ReactiveVar(false);
    this.once('loaded', () => this.ready.set(true));
  }
  isReady() {
    return this.ready.get();
  }
}

const db = new NitroDB('db');
Tracker.autorun(() => {
  console.log('ready?', db.isReady());
});

@lorensr Thanks, yeah I know about react in meteor and the apollostack is aiming for redux etc.
Re tooling, sure you have to write a bunch of configurations that's definitely a downside but at the same time most external tools today are also aware of these and use them.
I'm using:

microsoft code as my editor, it can't connect to the meteor node instance for debugging
wallaby so I get tests and code coverage while I type
plain karma and mocha tests for unit tests - plain simple, stable and fast (no extra layers)
HRM with webpack meaning I get fast page reloads - meteor has become slow

Oh interesting, thanks ☺
On Monday, August 29, 2016, Morten N.O. Nørgaard Henriksen <
<EMAIL_ADDRESS>wrote:

@NitroBAY https://github.com/NitroBAY you could extend with a reactive
ready or do a pr. something like eg.
import ReactiveVar from '@meteor/reactive-var';
class NitroDB extends Ground.Collection {
constructor(...args) {
super(args...);
this.ready = new ReactiveVar(false);
this.once('loaded', () => this.ready.set(true));
}
isReady() {
return this.ready.get();
}
}
const db = new NitroDB('db');Tracker.autorun(() => {
console.log('ready?', db.isReady());
});

@lorensr https://github.com/lorensr Thanks, yeah I know about react in
meteor and the apollostack is aiming for redux etc.
Re tooling, sure you have to write a bunch of configurations that's
definitely a downside but at the same time most external tools today are
also aware of these and use them.
I'm using:

microsoft code as my editor, it can't connect to the meteor node
instance for debugging
wallaby so I get tests and code coverage while I type
plain karma and mocha tests for unit tests - plain simple, stable
and fast (no extra layers)
HRM with webpack meaning I get fast page reloads - meteor has become
slow

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GroundMeteor/db/issues/164#issuecomment-243325348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPVmLb_2F9VUfDYGrM3YZMF0J2VrRPrks5qk6f7gaJpZM4IOTFa
.

@raix hmm yeah this is way better. I think this should be how you do it, instead of trying to create your own reactive system.

Im not using my own reactive system, event handling isnt my invention :)

Why did you choose another event handler than Meteor one ?


SSL Certificate

I need to add my own ssl certificate key need help?

Follow the installation guide and just skip the letsencrypt related steps.


Installing on MAC OS X

I’m using MAC OSX and the command:
CXX=/usr/bin/gcc  make –e
Doesn’t work when I’m in the unzipped directory? It seems like it fails on the wget command for the underlying zpar from github. Actual output:
make: wget: No such file or directory
**Actually just solved this part.
Still results in this error eventually though:
error: call to function 'operator>>' that is
neither visible in the template definition nor found by argument-dependent
lookup
Same one that I get in the individual zpar directory when trying to install it independently.
So I downloaded the individual zpar, and tried to install that separately but that one leads to errors that I believe are related to clang. Using the same CXX command within that file also didn’t work.

Are you sure you have wget installed and in your path?
On Wed, Feb 7, 2018 at 11:28 AM atishsawant<EMAIL_ADDRESS>wrote:

I’m using MAC OSX and the command:
CXX=/usr/bin/gcc make –e
Doesn’t work when I’m in the unzipped directory? It seems like it fails on
the wget command for the underlying zpar from github. Actual output:
make: wget: No such file or directory
So I downloaded the individual zpar, and tried to install that separately
but that one leads to errors that I believe are related to clang. Using the
same CXX command within that file also didn’t work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EducationalTestingService/python-zpar/issues/28, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJ3kM7KJqP5OZ8koVQ3dVmCFWjs0W8Hks5tSc80gaJpZM4R8_wM
.

That was my earlier mistake. I fixed that. THe call to function error still persists however.

Did you read the warning in the README about how clang will not work and you need to install gcc via either macports or homebrew?

Yep, I used the CXX command as noted to point to the gcc compiler instead to run. But that still persisted.

Can you tell me what /usr/bin/gcc --version prints out?
On Wed, Feb 7, 2018 at 14:34 atishsawant<EMAIL_ADDRESS>wrote:

Yep, I used the CXX command as noted to point to the gcc compiler instead
to run. But that still persisted.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EducationalTestingService/python-zpar/issues/28#issuecomment-363884459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ3kPuOty0UWAtVbaDfNuAt8vMRWc4nks5tSfqtgaJpZM4R8_wM
.

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
is the result.

This is why I asked you earlier if you followed the instructions properly.
As the README clearly says, the default macOS compiler (clang) will not
work. Please install gcc via MacPorts or home brew and use that.
On Wed, Feb 7, 2018 at 3:12 PM atishsawant<EMAIL_ADDRESS>wrote:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
is the result.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EducationalTestingService/python-zpar/issues/28#issuecomment-363895550,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ3kLfnmwdqOxqhgHxr3j_xK0hAOkKiks5tSgOngaJpZM4R8_wM
.

GCC is already installed. I thought by pointing it to /usr/bin/gcc it would fix the problem?
brew install gcc results in "Warning: gcc 7.3.0 is already installed"

Solved the problem. On newer MAC OS X's brew installing gcc, doesn't make the gcc in /usr/bin point to the gcc compiler and it will still be clang. Have to go to where brew installed gcc, and pick out a gcc version from there to compile with.
It still kicked out an error when compiling from the correct file, but in the second run it worked just fine.


Unable to open the file because the associated text model is undefined..

VSCode Version: 1.4.0-insider, Commit 825a1e71a436007d88796cb1cf0bad85ad534e53, Shell 0.37.6, Renderer 49.0.2623.75, Node 5.10.0
OS Version: 6.3.9600

Steps to Reproduce:
Don't have repro steps, it just stopped working for some files during the evening. The console log is below. Let me know if I can help with reproducing it
messageService.ts:119
Unable to open 'index.js': Unable to open the file because the associated text model is undefined..: Error: Unable to open 'index.js': Unable to open the file because the associated text model is undefined..
    at t.doHandleSetInputError (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:104:9516)
    at file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:104:9122
    at Object.m [as _notify] (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:8153)
    at Object.B.enter (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:11658)
    at i.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:12979)
    at i.Class.define._chainedError (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:12338)
    at i (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:10161)
    at i.Class.define.then (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:13788)
    at Object.P.enter (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:10230)
    at i.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:12979)
    at i.Class.define._setCompleteValue (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:30:12673)

this error is shown when you try to access a file that is existing but being modified.

@rukaelin What exactly do you do when you "open a file two times in the same tab" ?

I get this error opening a single html file (version 1.3.1 ). I have similar html(ish) files that open fine, and I created this file with an earlier version of MS Code. I can't attach an HTML file, the file causing issues can be found here: https://github.com/Sage-Bionetworks/BridgeResearcherUI/blob/develop/app/src/pages/participant_report/participant_report.html

heres my code for opening and showing the file:
let resource = vscode.Uri.file(filePath);
vscode.workspace.openTextDocument(resource).then((doc) => {
  vscode.window.showTextDocument(doc, vscode.ViewColumn.Two);
  }, (reason) => {
    console.log(reason);
});```

between opening the file, I change the content of the file, and also show an html preview in the same tab.

checkig if vscode.workspace.textDocuments contains the document already and only opening it when needed fixed the problem for me

Got the same problem... Can't repro, but worked after restarting VS Code

Seems there are two aspects here:

@rukaelin has an extension that caused the issue originally but doesn't anymore when he checks if the document is already contained in vscode.workspace.textDocuments
@florindaneliuc-cs @alxdarksage @TryingToImprove see a similar issue (but not always) just be using the UI.

@rukaelin can you share the code of the full extension that causes this?
@florindaneliuc-cs @alxdarksage @TryingToImprove please help us reproducing this if you can find reliable reproducible steps.

I get this error consistently whenever I have a lot of tabs open and I press and hold ctrl-w to close them quickly (being careful not to close the final tab which exits vscode)

@kmanley Can you try to run VS Code without extensions? From the command line, execute: code --disable-extensions and try your steps again to see if it reproduces.

@bpasero yup it happens even if I --disable-extensions.  It's always been that way for me with every version of VSCode. Nothing else is involved. Can you dupe?

@kmanley oh yeah, I see it 👍

@bpasero Cool

Here is a link to my source code: Viper IDE
I only get the error when opening the file for the second time. the first time works fine.
after getting the error once the file is "broken", in that the error also occurs when I manually open the file though vscode's file explorer

Visual Studio Code: 1.4.0
Mac OSX: El Capitan 10.11.6
I'm seeing this error when I open several files, then select Close all from a context menu on one of the edit pane tabs that is not selected..
The error seems to happen every time.
It doesn't occur if there is only one edit pane open, because that edit pane is always selected.

Steps to verify: https://github.com/Microsoft/vscode/issues/9865#issuecomment-238054021

VS Code V1.4, Mac OS X EI Captian 10.11.6. suddenly pop up with "Unable to open the file because the associated text model is undefined.。"Then I restart the visual code, there is no wrong.

Why is this issue closed? I'm getting this error as well on Windows 10. My repro steps (roughly):

Open VS Code in a folder with a small project..
Open two files, switch rapidly between the two by double clicking them in the Explorer menu.
While switching, I got a progress bar on top for one of the files. The file itself looked empty.
After some time of "loading" I got this error.


Fix mnemonic and alerts

fix mnemonic import to take into account newlines: FLW-1016
fix screen dismissal when more than one in stack: FLW-1052

Codecov Report

Merging #312 (149966a) into develop (7920849) will increase coverage by 3.15%.
The diff coverage is 41.05%.

@@             Coverage Diff             @@
##           develop     #312      +/-   ##
===========================================
+ Coverage    31.43%   34.59%   +3.15%
===========================================
  Files          462      524      +62
  Lines        19656    23576    +3920
===========================================
+ Hits          6179     8156    +1977
- Misses       13477    15420    +1943

Impacted Files
Coverage Δ

...ataProvider/Sources/JsonSingleProviderSource.swift
0.00% <0.00%> (ø)

...DataProvider/Sources/WebSocketProviderSource.swift
0.00% <0.00%> (ø)

.../Subscription/SingleValueSubscriptionHandler.swift
8.33% <0.00%> (-2.78%)
:arrow_down:

...ion/FearlessUtils/StorageKeyFactory+Implicit.swift
0.00% <ø> (ø)

...s/Common/Extension/Model/WalletAssetId+Chain.swift
0.00% <0.00%> (ø)

...peration/CompoundOperationWrapper+Dependency.swift
0.00% <0.00%> (ø)

...e/CDTransactionHistoryItem+CoreDataDecodable.swift
0.00% <0.00%> (ø)

.../Common/Extension/UIKit/GradientButton+Style.swift
0.00% <0.00%> (ø)

...mon/Extension/UIKit/TriangularedButton+Style.swift
0.00% <0.00%> (ø)

...ss/Common/Extension/UIKit/UIStackView+Manage.swift
0.00% <0.00%> (ø)

... and 231 more


Stop using com.zigbee.chip in Darwin queue names.

Use com.csa.matter instead.
Problem
See above.
Change overview
See above.
Testing
No behavior changes.

Fast tracking platform changes


Bump Jetty 2.35

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
https://github.com/eclipse-ee4j/jersey/releases/tag/2.35
How should we improve?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

this issue should be jersey no jetty?

this issue should be jersey no jetty?

Oops, you are right.


instructions for beginners

any way to update the instructions on how to add this step by step?

Can’t seem to get HACS to show up in integrations despite clearing browser and refreshing

@rahman2007
Had the same problem.... great video to help.
https://www.youtube.com/watch?v=0hDyVoDGFbc


Merge pull request #1 from rugao-web-fullstack/master

1

Coverage remained the same at 99.024% when pulling e6e90706283136283d62535a6822ea327b838eb8 on SummerYch:master into 7a1cb865ed470ce94916e2abe2d16b82b1bbe876 on rugao-web-fullstack:master.


Create IRI reservation process and registry

Maintain a csv of taken IRIs in a directory with instructions on process.
Have a persistent branch for editing it.
When a developer needs an IRI, they edit the file and then make a PR on develop.
Add QC check to confirm no duplicates across the ontologies AND that all IRIs in the ontologies are in registry

@mark-jensen  -- just to capture this while I'm thinking about it: We should probably start a deprecation.ttl file that houses deprecated IRIs. This came to mind in reading the QC query you recommend above, which would then need to know about this file in order to ensure a deprecated IRI didn't sneak back in to circulation in CCO.


[Otto.bot] Add new field to request body

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

@sriyen-msft I've deleted the intro.md file from the PR.


Add columns to reference and describe the provenance of CDEs

It's generally the case that each field in a data dictionary corresponds to a Common Data Element (CDE).  We need some extra columns to provide a reference to the CDE, the source of the CDE etc.
Cc @pwrose and @graybeal

Reference to the CDE should be required to be an identifier (an IRI/URL, since if it's a registered CDE it should have a unique identifier that is resolvable). Possibly that just the @id of the referenced item.
I think there's a useful pattern for this in the DataCite description patterns, this is just a particular digital object that needs provenance.  But I understand not everyone likes the DataCite description patterns.

@matthewhorridge you completed this issues with the new fields: Provenance and SeeAlso.


Broken API response for block

The REST API response for the /eth/v2/beacon/blocks/<blockid> endpoint broke in 21.11.0.  The response for this with block ID 0 on prater is:
{
  "version": "phase0",
  "data": {
    "message": {
      "slot": "0",
      "body": {
        "randao_reveal": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "eth1_data": {
          "deposit_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
          "deposit_count": "0",
          "block_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"
        },
        "graffiti": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "proposer_slashings": [],
        "attester_slashings": [],
        "attestations": [],
        "deposits": [],
        "voluntary_exits": []
      },
      "proposerIndex": "0",
      "parentRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "stateRoot": "0x895390e92edc03df7096e9f51e51896e8dbe6e7e838180dadbfd869fdd77a659"
    },
    "signature": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
  }
}

The issue is that this is returning proposerIndex rather than the standard proposer_index, and likewise parentRoot and stateRoot. This will cause any client that relies on this response to fail.
Note the v1 endpoint suffers the same problem, and this applies for both phase0 and altair blocks.

Thanks Jim and sorry for this. We'll get a fix up and we were already working to fix the way JSON serialisation is done to make problems like this much less likely.  We're really annoyed this got through and have a number of things we're going to improve around testing to make sure it doesn't happen again.
Going to reopen this issue until we get that extra testing in place.

For the record we're intending to release a fix for this in the next 24 hours or so.  The candidate build for that release is https://artifacts.consensys.net/public/teku/raw/names/teku.tar.gz/versions/21.11.0+develop/teku-21.11.0+develop.tar.gz

Moved the swagger documentation testing to centralise and share with validator api, so we can't easily cause this issue again in validator api:
https://github.com/ConsenSys/teku/pull/4636
Also created #4653 as a placeholder to replace the existing beacon-api implementation

Hopefully this is a good account of our response, it does look like it currently. I'm closing this ticket as resolved, but obviously there's an open ticket re. moving the rest api.
Thanks for raising this ticket, we've addressed the tech debt of it being easy to break the rest-api, and now it's just continual improvement that will be scheduled into our priorities.


Pulls from S3 bucket rather than from AWS URL

Hello there folks,
Was making use of this opendata, to get that new 0.25 degree data. I noticed something that I would like investigate.
As is stands now, the tools I see, namely 'client.py', pulls data from a URL. For example, something like:
wget https://ecmwf-forecasts.s3.eu-central-1.amazonaws.com/20240227/12z/0p25/enfo/20240227120000-0h-enfo-ef.index
I believe that, from an amazon AWS EC2 instance, this would be a faster pull mechanism:
aws s3 cp --no-sign-request s3://ecmwf-forecasts/20240227/12z/0p25/enfo/20240227120000-0h-enfo-ef.index .
Those are command line steps, of course, Inside client.py and such, it would be different tools. My description above was simply to show the difference between a pull via HTTPS and AWS S3.
Any chance of adding capability to pull from the S3 bucket (and thus, the AWS 'backbone') into an AWS EC2 instance, rather than HTTP?
Regards,
Brian E.

I would assume that a nice pull request to improve this would be welcome.
Two things to check though:

"I believe ... would be faster"  : Some benchmarks could be needed, is it really faster ? When ? Where (AWS has different regions) ?
"from an amazon EC2 instance": Checking if the code is running in an EC2 instance should be robust. We do not want to break things elsewhere to support this use case.

Hi there,
As for the proper benchmarking, you are correct. For me, anecdotally, it is a good deal quicker. Did this today:
time aws s3 cp --no-sign-request s3://ecmwf-forecasts/20240202/12z/0p25/enfo/20240202120000-0h-enfo-ef.grib2.
real    0m13.074s
user    0m9.010s
sys     0m10.453s

time wget https://ecmwf-forecasts.s3.eu-central-1.amazonaws.com/20240202/12z/0p25/enfo/20240202120000-0h-enfo-ef.grib2
real    1m2.003s
user    0m2.418s
sys     0m5.887s

Indicating that, for this one simple case, the movement from the S3 bucket is a bit quicker (13 seconds vs 1 minute)
As for that EC2 instance: I was merely hoping that would be an option, not that it would replace any other capabilities. That if one wanted to use S3 buckets rather than AWS HTTP sites as the location to get data from, that option would exist.
Regards,
Brian E

To pull files directly from the S3 URI (s3://...), the backend would need to utilize boto3 instead of requests. I think it would be best to start building this capability in the multiurl dependency which executes the downloads.


Add report function (#21)

Add a report button in the options.html, integrated with Ethereum Scam Database
The button doesn't look really good though so you can probably change that.

Just to clarify, where does the report go to and then what's the procedure on getting it to the blacklist on EAL?

All the reports go to slack channel #_bot-reports on the MyEtherWallet slack. From there anyone can investigate if a report is valid and if so, create a pull request on all the necessary blacklists.


Add a json data field that can be used to update any sort of meta data

Is your feature request related to a problem? Please describe.
Looking at whats out there now, it will be very useful to have another column that would be a json field where we can store details like user tenancy data or external details that fall outside the context of authentication.
Example of such a thing was I wanted to some user data that would be available using the /profile api like external API keys.

I think right now I will be not implementing this feature since it is currently it is not required in base cms. If you want to feel free to add this I will review it. Thanks.

will send you a pr.


WIP bpf: nodeport: remove revDNAT for local backends in bpf_lxc

Just let to-overlay/to-netdev handle it.
This fixes a netfilter asymmetry, and the EDT issue.
TODO: can the stale .node_port flag cause us any issue? should we clear it?
Signed-off-by: Julian Wiedmann<EMAIL_ADDRESS>Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Thanks for contributing!

Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

/test


puller(ticdc): make region router global

What problem does this PR solve?

Issue Number: ref #4351
What is changed and how it works?
Check List
Tests

Unit test
Integration test

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Release note
 `None`.

/run-integration-tests

/run-integration-tests /tidb=pr/30558


add make_column and make_unpack

Closes #861

Current dependencies on/for this PR:

main

PR #763

PR #765

PR #767

PR #769

PR #771

PR #862

PR #863   👈

PR #774

PR #795

PR #819

Current dependencies on/for this PR:

main

PR #763

PR #765

PR #767

PR #769

PR #771

PR #862

PR #863   👈

PR #774

PR #795

PR #819

We no longer write FFI for Polars operations. Some code here may be useful in future work, can retrieve it then if so.


[ 33%] Built target spconv_utils Makefile:135: recipe for target 'all' failed

When I try to install spconv v.1.2.1 by command python setup.py bdist_wheel to meet my torch version dependency, it produces following error:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/spconv
copying spconv/modules.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/conv.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/tables.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/pool.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/functional.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/test_utils.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/identity.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/ops.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/init.py -> build/lib.linux-x86_64-3.7/spconv
creating build/lib.linux-x86_64-3.7/spconv/utils
copying spconv/utils/init.py -> build/lib.linux-x86_64-3.7/spconv/utils
running build_ext
Release
|||||CMAKE ARGS||||| ['-DCMAKE_PREFIX_PATH=/home/yhson/anaconda3/envs/monodistill/lib/python3.7/site-packages/torch', '-DPYBIND11_PYTHON_VERSION=3.7', '-DSPCONV_BuildTests=OFF', '-DPYTORCH_VERSION=10400', '-DCMAKE_CUDA_FLAGS="--expt-relaxed-constexpr" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/media/yhson/2c4a7dd4-f03e-462b-a004-60607e96489a/bdkim/CaDDN/spconv_1.2.1/build/lib.linux-x86_64-3.7/spconv', '-DCMAKE_BUILD_TYPE=Release']
-- The CXX compiler identification is GNU 7.5.0
-- The CUDA compiler identification is NVIDIA 10.1.243
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda-10.1/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda-10.1 (found version "10.1")
-- Caffe2: CUDA detected: 10.1
-- Caffe2: CUDA nvcc is: /usr/local/cuda-10.1/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda-10.1
-- Caffe2: Header version is: 10.1
-- Found CUDNN: /usr/local/cuda/lib64/libcudnn.so
-- Found cuDNN: v8.4.0  (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so)
-- Autodetected CUDA architecture(s):  6.1
-- Added CUDA NVCC flags for: -gencode;arch=compute_61,code=sm_61
CMake Warning (dev) at /usr/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (torch) does
not match the name of the calling package (Torch).  This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/home/yhson/anaconda3/envs/monodistill/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:122 (find_package_handle_standard_args)
CMakeLists.txt:23 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Found torch: /home/yhson/anaconda3/envs/monodistill/lib/python3.7/site-packages/torch/lib/libtorch.so
-- Autodetected CUDA architecture(s):  6.1
-- Found PythonInterp: /home/yhson/anaconda3/envs/monodistill/bin/python3.7 (found suitable version "3.7.13", minimum required is "3.7")
-- Found PythonLibs: /home/yhson/anaconda3/envs/monodistill/lib/libpython3.7m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.5.0
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done
CMake Warning (dev) in src/cuhash/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
for policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "cuhash".
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) in src/cuhash/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
for policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "cuhash".
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) in src/spconv/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
for policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "spconv".
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) in src/spconv/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
for policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "spconv".
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) in src/utils/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
for policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "spconv_nms".
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) in src/utils/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
for policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "spconv_nms".
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /media/yhson/2c4a7dd4-f03e-462b-a004-60607e96489a/bdkim/CaDDN/spconv_1.2.1/build/temp.linux-x86_64-3.7
[  4%] Building CUDA object src/utils/CMakeFiles/spconv_nms.dir/nms.cu.o
[  8%] Building CUDA object src/cuhash/CMakeFiles/cuhash.dir/hash_functions.cu.o
[ 12%] Building CXX object src/cuhash/CMakeFiles/cuhash.dir/hash_table.cpp.o
[ 16%] Building CUDA object src/cuhash/CMakeFiles/cuhash.dir/hash_table.cu.o
make[2]: *** No rule to make target '/usr/local/cuda/lib64/libnvToolsExt.so', needed by 'src/cuhash/CMakeFiles/cuhash.dir/cmake_device_link.o'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 20%] Building CXX object src/cuhash/CMakeFiles/cuhash.dir/hash_functions.cpp.o
[ 25%] Linking CUDA static library libspconv_nms.a
[ 25%] Built target spconv_nms
[ 29%] Building CXX object src/utils/CMakeFiles/spconv_utils.dir/all.cc.o
CMakeFiles/Makefile2:153: recipe for target 'src/cuhash/CMakeFiles/cuhash.dir/all' failed
make[1]: *** [src/cuhash/CMakeFiles/cuhash.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 33%] Linking CXX shared library ../../../lib.linux-x86_64-3.7/spconv/spconv_utils.cpython-37m-x86_64-linux-gnu.so
[ 33%] Built target spconv_utils
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "setup.py", line 108, in
zip_safe=False,
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 48, in run
self.build_extension(ext)
File "setup.py", line 92, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/home/yhson/anaconda3/envs/monodistill/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.
How to solve this issue?

hello I met the same problem, have u solved it?


ERROR  [worker reload] [worker init] C:/xampp/htdocs/UMPSA-Connect/.nuxt/dev/index.mjs failed

After updating @vite-pwa/nuxt from version ^0.10.5 to ^0.10.6, I encountered an error when running pnpm dev. The development server starts, but it fails shortly afterward.
PS C:\xampp\htdocs\UMPSA-Connect> pnpm dev -o

> umpsa-connect@ dev C:\xampp\htdocs\UMPSA-Connect
> nuxt dev "-o"

Nuxt 3.13.2 with Nitro 2.10.0                                                                                4:46:09 PM
                                                                                4:46:10 PM
  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

  ➜ DevTools: press Shift + Alt + D in the browser (v1.6.0)                                                                                4:46:21 PM

ℹ Re-optimizing dependencies because lockfile has changed                                                                                4:46:26 PM
✔ Vite client built in 1824ms                                                                                4:46:27 PM
✔ Vite server built in 524ms                                                                                4:46:27 PM
✔ Nuxt Nitro server built in 2405 ms                                                                                nitro 4:46:31 PM
ℹ Vite client warmed up in 0ms                                                                                4:46:31 PM

 ERROR  [worker reload] [worker init] C:/xampp/htdocs/UMPSA-Connect/.nuxt/dev/index.mjs failed                                                                                4:46:31 PM

ℹ Vite server warmed up in 3055ms

the error in this repo https://github.com/zhaolinlau/UMPSA-Connect ?

Provide a minimal reproduction, I cannot test your repo, missing Supabase keys: I've never used it

@userquin Bruh, the problem is gone without reason


chore: remove usage of RichBlock

good point, the block responses for OP are identical so we don't need the otherfields here and I'd like to embed the Block type on the trait anyway.
so should we merge this? looks like we can do that?


Switching between scheduling options causes UI failure

v0.23.0-rc5
Steps to Reproduce

Add Container
Go to scheduling tab
Add a scheduling a rule for input, but don't add in anything
Click on 'Run on a specific host'
Click back on 'Automatically pick a host matching scheduling rules'

Result: The + button is no longer visible so unable to add rules and if I try to click on any other link it doesn't load properly unless i refresh the page.
Expected result: The + button to appear. Clicking on other pages would load like normal.

Same as #1091..

Build from master - June 9th
Verified fixed