Problem with Spanish FP2

Hi, I am having problems with the FP2 of the Spanish GP. When trying to resample, the script crashes.
This is the error
WARNING:root:Ergast lookup failed INFO:root:Loading Spanish Grand Prix Practice 2 INFO:root:Getting summary... INFO:root:Formatting summary... INFO:root:Getting telemetry data... INFO:root:Fetching car data INFO:root:Parsing car data INFO:root:Getting position data... INFO:root:Fetching position INFO:root:Parsing position INFO:root:Resampling telemetry... Traceback (most recent call last):   File "main2piloti-2.py", line 22, in <module>     giri = sess.load_laps()   File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\fastf1\utils.py", line 118, in decorator     return func(*args, **kwargs)   File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\fastf1\core.py", line 340, in load_laps     telemetry, lap_start_date = self._load_telemetry()   File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\fastf1\core.py", line 448, in _load_telemetry     self._augment_position()   File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\fastf1\core.py", line 600, in _augment_position     driver_ahead = self._make_trajectory(lap)   File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\fastf1\core.py", line 719, in _make_trajectory     dmap[:, index] = fix_suzuka(projection_index.copy(), reference_s) ValueError: could not broadcast input array from shape (33114) into shape (64013)

The problem is caused by Williams changing their drivers mid session (developement driver to Russel). Therefore only about half of the session is available for Russel and that's why the array size doesn't match. I'll see how this can be fixed.
This problem occurs when calculating the "DistanceToDriverAhead" column.
A very crude fix is to go into core.py and replace line 446 like this:
# can_find_reference = position != {}
can_find_reference = False

This will disable the calculation of the "DistanceToDriverAhead" completely.
You'll still get some warnings though because of the missing data, but I think at least the data for other drivers should be fine.

Ok, thanks.
Edit:
I report that the FP3 data of the GP of Spain are wrong. I do not know if it is the script or the F1 data

FP2 should be fixed as good as possible. I think Williams' reserve driver wasn't even driving in that session but only in FP1. There is timing data for RUS for the whole session. But position and car data changes from Aitkin to Russel mid-session. You will get a warning about this now. The two datasets are not merged. That would just be too much effort to do. Car and position data will simply be missing for Russel for the first part of the session.
About FP3, do you mean the car data (Speed, RPM, ...)? Or is there more stuff that's wrong?
There's nothing I can really do about the car data. The api is returning data for all these drivers: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '33', '44', '55', '63', '77', '99']
Last time I checked, there were only 20 drivers, not 36.... Something is messed up there by F1(again)
Someone would need to manually puzzle together which data actually goes were.

yes, by FP3 I mean the car data. doing the plot are staggered and do not absolutely respect the track.

Do you maybe have a short code example of what you are trying to plot?

`
import fastf1 as ff1
from fastf1 import plotting
from matplotlib import pyplot as plt
anno = 2020
gp = 'Spanish Grand Prix'
sessione = 'FP3'
sess = ff1.get_session(anno, gp, sessione)
giri = sess.load_laps()
fastPilota1 = giri.pick_driver('LEC').pick_fastest()
fastPilota2 = giri.pick_driver('VET').pick_fastest()
Pilota1Space = fastPilota1.telemetry['Space']
Pilota1Y = fastPilota1.telemetry['Speed']
Pilota2Space = fastPilota2.telemetry['Space']
Pilota2Y = fastPilota2.telemetry['Speed']
fig, ax = plt.subplots()
ax.plot(Pilota1Space, Pilota1Y, color='RED')
ax.plot(Pilota2Space, Pilota2Y, color='YELLOW')
plt.show()
`

This should be fixed now and hopefully also for upcoming events


Column re-size enhancement.

Can an option be added to re-size the columns dynamically like ng-grid instead of only on mouse-up?

I'm not entirely clear what you mean - do you mean dynamically to the data at all times, or do you mean that it drags the column width as you resize it?  If the latter, then probably it could be added, but we don't really have anyone who specialises in that kind of css stuff, so it'd be quite low priority unless someone submitted a pull request.

No further information provided, and resize has quite patchy support at the moment.  I don't believe this is a clear enough request to be implemented by anyone other than the original requestor, whom doesn't appear inclined to submit a PR.


WIP: chore(sdk): update to latest vcs.

Codecov Report
Patch and project coverage have no change.

Comparison is base (7baaec7) 89.83% compared to head (8f8b4c4) 89.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #595   +/-   ##
=======================================
  Coverage   89.83%   89.83%
=======================================
  Files          98       98
  Lines        3927     3927
=======================================
  Hits         3528     3528
  Misses        265      265
  Partials      134      134

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


chore: use YYYYMM.DD.rev as VHD version instead of YYYY.MM.DD

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

have now made the switch


Let compute_ctl accept environment variables for compute

Problem
Summary of changes
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

Closing for now as we've found a different solution to the problem this was solving


Move user compactions to the manager

The is follow on work to #3460.  User compactions needs to be moved to the manager.  The FATE operation needs select files, store the selected files in the metadata table, and refresh hosted tablets (like the bulk import operation does).  Need to remove the code on the FATE operation that asks tablet servers to compact.  The tablet management iterator should react to tablets that have a set of selected files and cause compactions to be queued.

This was mostly done in #3513.  For what #3513 did not cover, more specific follow on issues were opened.  So closing this issue out as its covered by #3513 and its follow on issues.


[READY] Feature/explorer frontend modification

What does this pull request do? Explain your changes. (required)

This is an update for changes to be made within the explorer.
Specific updates (required)

Removes MultiMerkleMine and Token pages.
Changes default page to transcoders.
Changes Landing page to about page and redesign page's look and feel.
Updates links in the explorer and introduces ne links.

How did you test each of these updates (required)

Any browser.
Does this pull request close any open issues?

Nope
Screenshots (optional):

It's a surprise!!!
Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

@ericxtang the merge conflicts have been fixed.

Thanks for the review @ya7ya!


ES6 plugin refactor

Here is a proposed approach to building plugins based off an ES6 class.    This change is backwards compatible; existing plugins can continue to work with the new code.  The Accordion plugin has been refactored as an example of how to use the new ES6 Plugin base class.

@mrecachinas traditionally the reason I haven't done that is that I wanted all the plugin classes to be optional.  The only real technical motivation for that is that it keeps the js file smaller if you don't use the plugins; non-technically, it just felt right to have them separate.  I'm reluctant to change it because somebody may still desire the old method of packaging; but I'm willing to create a `sigplot.all.js' that includes both the base sigplot and the plugins.
In general, if you are using a modern development paradigm, I think you should be avoiding using the files in dist and instead use webpack for your entire project to create a bundle.js.  Then you can do things like this:
import { Plot } from 'sigplot'
import {AccordionPlugin} from 'sigplot.accordion'

@maihde Understood on the reasoning and desire to keep it small. The issue is if I npm install sigplot and then attempt to do the imports in your snippet above, I get an error (or AccordionPlugin is undefined or some such).
As I understand it, that’s because the entrypoint per package.json is sigplot.js (the default is index.js), which does not export (or import?) the plugins. Also, consider, you can’t import from anything other than “sigplot” (because “sigplot” is the package name in node_modules).

Ping @maihde


Lost onSuggestionSelected by mouse click if the action changes page structure

Description.
I have in the following order:

an INPUT,
a DIV,
an Autosuggest

The Autosuggest is always showing an initial suggestions set (alwaysRenderSuggestions={true})
The INPUT onBlur close ("nullify") the DIV.
See the Codepen
Steps:

Focus on the first input field
Click on a suggestion on the Autosuggest
Look at Autosuggest: it does not receive the selected suggestion, while the intermediate DIV is gone.

Yes. The DOM tree is changed.
Expected behaviour: The selected suggestion should be in Autosuggest input (and state.value)
Use case
In my real application the first input and div group is an Autosuggest. The second Autosuggest changes its initial suggestions array depending on value from the first (via redux).
So, when I select the required value in the first Autosuggest the second show a new default suggestions set (input value===""), ready to be clicked.
If the user clicks on the second suggestions set, then the first blur closing its suggestions container.
Thanks!

I might have a related issue.
If you have a onSuggestionSelected() method that logs the details of the selection, like so:
onSuggestionSelected = (event, { method }) => {
    console.log(method)
}

Do you find that the click method is never logged, but the enter method will be?

I don't view any reaction from the method.
Yes. I found the issue via logs (in a complex component wrapping Autosuggest).
I can not use enter because focus is on other input.
The codepen is a super simplification/generalization based on the "Basic" example:
what happen if DOM change after click on a suggestion in an not focused Autosuggest ?

I too am experiencing this now!

@OllieJennings  Without alwaysRenderSuggestions={true} I can not get an alway open suggestions list to click (when focus is in the first input field. See codepen).
How do you get an open suggestions list when focus is out of the autosuggest input field ?

Adding console.log() to Autosuggest.js I observe:

onDocumentMouseDown respond selecting the right suggestion DOM element.

No activation of "React synthetic event" onClick. (bound to this.onSuggestionClick)

Maybe a React problem (or expected behaviour due to dom change "on the run") ?

@ghiaia I cannot get this to work as well

Simple React page (without Autosuggest) show the same behaviour.
It is a "problem" (or my misunderstatement) about React.
see Codepen

@moroshko
Looking around I found: https://stackoverflow.com/questions/35784671/why-does-a-react-components-onclick-event-handler-not-fire-when-the-display-a

A click event is one mousedown followed by one mouseup, without leaving or changing the element.
If the element moves before the mouseup, or you put something over the button before the mouseup, or the mouse moves before the mouseup, or you manually reset input.focus() before the mouseup, or...
...anything else...
Then there's no click.

Any idea ?
Tnx!

I assume this is a bug that won't be fixed, if so surely the ReadMe should state this side-affect

This is not a react-autosuggest bug.
Read my previous comments and codepen.


ARROW-11177: [Java] ArrowMessage failed to parse compressed grpc stream

InvalidProtocolBufferException will be thrown in ArrowMessage.frame if we use gzip compress in Grpc.
The reason is, stream.available is still a 1 after we read compressed data. It need another read to change InflaterInputStream.reachEOF to be true, and make stream.available to be 0.
Thus we need check stream.available agian after read first byte from stream.

@lidavidm @stczwd what is the status of this PR?

I still believe we should not be polling available().

sure. I have changed the code with checking -1.

@emkornfield @lidavidm any more comments?

@lidavidm Do you want to take this up and finish it, or perhaps one of @lwhite1 @davisusanibar is interested in doing it?

Yes, we should finish this up. I won't have a chance to until at least next week but if David or Larry want to take it up I'm happy to review.

This would still need taking up :-)

Closing because it has been untouched for a while, in case it's still relevant feel free to reopen and move it forward 👍


Move source out of templates package

Rename the package to "robot" so it's consistent with 2015.

Done...I think.


[firebase_storage] Include List API.

Is your feature request related to a problem? Please describe.
As described in the Firebase docs, the List API allows the client to list all files and subdirectories inside a given folder. This is very helpful for when the contents of a directory are not known in advance, and avoids temporary workarounds (such as a Cloud Function that populates an index in Cloud Firestore)
Describe the solution you'd like
A list and listAll method for StorageReference that provides access to the List APIs.
Additional context
Again, this removes the need for complicated and buggy workarounds, as well as minimizing the connection between Firebase services -- by introducing users to Cloud Function and Cloud Firestore, chances are something will go wrong as opposed to simply using Cloud Storage.

This seems like a good idea! I don't have a timeline on implementation but PRs would be most welcome.

I am also surprised I cannot list all files. Is there any way I can do this with firebase_storage: ^3.0.6?

I use metadata.
Say you want to list all the articles in a folder. You can have a file named, say, articles.txt inside with metadata: issues = ["article_1.pdf", "article_2.pdf"]. Since metadata can only have String keys and values, you can either encode the list as json or, if it's just a list, use Iterable.join and String.split: metadata = {"issues": "article_1.pdf, article_2.pdf"}

Any news on this? Having to track all the filenames my users upload to know them in advance is a huge pain. If I could just list the filenames in a bucket or folder, that would be extremely helpful

Well it seems that #232 is working on this. It's almost done, just some minor cleanup needed. Fair warning it doesn't lazy load -- all filenames are loaded in memory at once. Only a problem if you have literally thousands of files in the same folder.

@Levi-Lesches

Only a problem if you have literally thousands of files in the same folder.

That would probably be the case most of the time with user-generated content.

Yep, totally agree, at least I'm lucky enough to not have that particular issue. According to the PR:

I will try to implement also the "pagination" feature, but for the moment I have some crazy days so maybe next week.

@Levi-Lesches

Only a problem if you have literally thousands of files in the same folder.

That would probably be the case most of the time with user-generated content.

Won't be an issue for me thankfully. Can't imagine having more than 15 files in the same folder. Thanks for the responses

How is this not possible yet? I don't understand the point of folders if I cannot simply get the files inside the folder. I might just throw the images into firestore documents if this can't be done

How is this not possible yet? I don't understand the point of folders if I cannot simply get the files inside the folder. I might just throw the images into firestore documents if this can't be done

You can use this until the PR is merged:
dependencies:
  firebase_storage:
    git:
      url: git://github.com/danysz/flutterfire.git
      ref: master
      path: packages/firebase_storage

@collinjackson and @kroikie, @danysz has made a PR over at #232 that solves this issue any chance it can be merged?

This seems like a fairly basic functionality, critical to most applications using Storage. Is there anything holding up the merge?

It's like 8 months since I made it. They just made me to stop publishing and contributing to the "flutter/firebase" community. Sorry

No worries, I was aiming the question more at the Google people in charge of the repository.
From what I can tell after testing it on Android, it works fine, so I'd love to see it in the official package.

I am sure is working fine, I have it in apps which are published both on
Android and iOS for production and with users.
DANIEL SZASZ
CTO & Co-Founder
From: Zalán Meggyesi<EMAIL_ADDRESS><EMAIL_ADDRESS>Reply: FirebaseExtended/flutterfire
<EMAIL_ADDRESS><EMAIL_ADDRESS>Date: 15 May 2020 at 16:54:53
To: FirebaseExtended/flutterfire<EMAIL_ADDRESS><EMAIL_ADDRESS>Cc: Daniel Szasz<EMAIL_ADDRESS><EMAIL_ADDRESS>Mention
<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject:  Re: [FirebaseExtended/flutterfire] [firebase_storage] Include
List API. (#83)
No worries, I was aiming the question more at the Google people in charge
of the repository.
From what I can tell after testing it on Android, it works fine, so I'd
love to see it in the official package.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseExtended/flutterfire/issues/83#issuecomment-629249261,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMXGQDUJNZCFAOXNA3QIALRRVCSZANCNFSM4ITKB3HQ
.

OK, Google, I need this now.  Please don't make me resort to JavaScript.

@collinjackson What's holding up this PR? People need this functionality, and there's a solution for it - what's keeping Google from merging this?

Can someone please review the PR? We need this functionality.

God help us all.
So we need to keep track of our own files?

What I had is a .txt file in each directory with the names of all the files inside, and used cloud functions to keep it up-to-date.

@kroikie do you think you could champion this PR for integration? People are looking for this functionality, and having to resort to all sorts of workarounds to get it.

God help us all.
So we need to keep track of our own files?

Yup. One implementation I wrote cloud functions which update firestore documents to keep track of all the file names. In another, I just wrote the small images as base64 to firestore documents directly and avoided firebase storage entirely.
I have no idea how they intend one device to upload a photo, and another to download it, if you need the exact filename. You need another system to keep track of the file names, or you need to name the files in a very precise way where you can know the filename based on what it might be associated with.

Keep in mind this feature does exist in Firebase, just hasn't been ported over to Flutter yet. And it's happening soon (although it did take a VERY long time). They're completely reworking most if not all of the Firebase plugins so they're not gonna use that specific PR but it's in the works.

@Levi-Lesches Do you have any infos regarding an ETA?

The original PR was https://github.com/FirebaseExtended/flutterfire/pull/232, but it got moved (with a different implementation) under the new reworks to https://github.com/invertase/flutterfire/pull/53, but it's marked as a work in progress. According to a medium article:

To make sure that we’re working on the highest impact plugins for Flutter developers, our next round will likely be Crashlytics, Functions, Messaging, and Storage.

So they're probably picking up the pace now.

Any Updates? It's about a year now.

Any Updates? It's about a year now.

They made good progress recently.
Check out this branch https://github.com/invertase/flutterfire/tree/%40ehesp/storage-wip
It has working listAll method. Let's hope it will be merged soon.

https://github.com/invertase/flutterfire/pull/53 has merged! Only a matter of time until it gets merged to this repo as well.

Follow https://github.com/FirebaseExtended/flutterfire/pull/3612 for progress

@Levi-Lesches Thank you so much for pushing this!

Hey all, as @Levi-Lesches mentioned above, our rework PR is up at #3612 and is now going through dev release cycles. A firebase_storage dev release is now available (5.0.0-dev.1) with all the changes in that PR including the listing API - please could you try it out and provide feedback on the PR :)
Thanks


Adding PandaSpigot to Server Software

Importance: 7/10
Problem:
I would like to use PandaSpigot along with AutoPlug, which is a well maintained fork of Paper for Minecraft 1.8.8.
Solution:
Add the feature, it shouldn't be so hard since there is an API for it available at https://downloads.hpfxd.com which seems based on OpenAPI and using GET requests stuff can be retrieved.

I will try looking into this, if you can give me the direction of the existing ones that use this maybe. I am pretty sure Paper or something itself also uses this API to retrieve stuff?

Found out the external MCServerUpdater library is responsible for this, I will try and see if I can make changes at them and then PR them into there.

Changes are made and it's working! I hope it to get merged into MCServerUpdater soon. As soon as that library gets a new release, the only thing that needs to happen here is to upgrade the version of the library linked to the AutoPlug-Client project!

Great! My PR got merged. Now it's pure time to wait for the next release of their library.

@Minionguyjpro nice while you are at it, if you are interested take a look a the other open issues over there

As we know this has now been integrated by #264


fix extensible enums mock api tests

Cadl Ranch Contribution Checklist:

[x] I have written a scenario spec
[x] I have meaningful @scenario names. Someone can look at the list of scenarios and understand what I'm covering.
[x] I have written a mock API
[x] I have used @scenarioDocs for extra scenario description and to tell people how to pass my mock api check.

@timotheeguerin yeah I was wondering too if it should've caught it. Is there a way to catch verb and endpoint once the scenario names are linked?


examples/winit: Implement proper resumed() semantics

On Android the backing buffer (NativeWindow) disappears when the application is not focussed and/or the screen is locked.  Winit handles this by requiring apps to create their raw_window_handle() consumers after Event::Resumed and to clean it up before returning from Event::Suspended.  For consistency Winit also sends Resumed on all other platforms during init.

Draft until this is transplanted to all the other examples, even though that doesn't magically make them run on Android yet.

This was done as a part of #314, so I'll close this PR

@notgull I've started reworking this patch into https://github.com/MarijnS95/softbuffer/compare/examples-resumed-semantics, let me know what you think before I start reworking the other examples and PR.
Note that there is some confusion currently in the winit APIs that we're cleaning up upstream in https://github.com/rust-windowing/winit/pull/3765 and https://github.com/rust-windowing/winit/issues/3779.

Oh @notgull if you can reopen I can just (force)push the rebase/rework here and we can keep all this discussion context :)

Note that, to actually implement the Android backend, there are ideas to (temporarily?) provide the user a fake Vec without stride and the current fixed pixel format. This buffer will be "transformed/converted" into the Android buffer on "submit".
If we do that, we could also pretend to the user that their Surface "always" exist (and give them a buffer), and handle the lifetime internally.

@MarijnS95 rebasing on #228 should fix the remaining CI.

Only nightly seems to fail on #[path = ...] mod winit_app;, perhaps irrelevant to this PR?

Yikes, this relative path error, that we first only saw on nightly, is now only showing on stable:
---- src/../README.md - (line 69) stdout ----
error: couldn't read src/../../examples/utils/winit_app.rs: No such file or directory (os error 2)
Error:   --> src/../README.md:78:1
   |
11 | mod winit_app;
   | ^^^^^^^^^^^^^^

error: aborting due to 1 previous error

Couldn't compile the test.

failures:
    src/../README.md - (line 69)

test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

Did the fix (assuming it is a fix to how relative paths from content in include_str!() are resolved) get reverted, removed, or regressed on nightly again?
After all, I'd argue the path should be relative to README.md no matter what, not to wherever this file in #[doc = include_str!()]'d which could be at any arbitrary level in our directory tree...
Pushed a "fix", let's see if nightly would then start to break again...

It breaks both stable and our MSRV... How do you want to fix this, @ids1024 @notgull?


refactor: Split tc.rs for each command

/claim #2281
Summary:
Refactored tc.rs into separate command modules within tc directory.
Issue Reference(s):
Fixes #2281
Details:
Created individual module files (check.rs, gen.rs, helpers.rs, init.rs, start.rs) within the tc directory.
Moved corresponding command implementations into their respective files for better organization.
Updated tc/mod.rs to declare each module (check, gen, helpers, init, start).
Updated main.rs and other relevant files to import and use the tc module correctly.
Build & Testing:
I ran cargo test successfully.
I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.
Here's a suggested PR description for your changes:
Summary:
Refactored tc.rs into separate command modules within tc directory.
Issue Reference(s):
Fixes #2281
Details:
Created individual module files (check.rs, gen.rs, helpers.rs, init.rs, start.rs) within the tc directory.
Moved corresponding command implementations into their respective files for better organization.
Updated tc/mod.rs to declare each module (check, gen, helpers, init, start).
Updated main.rs and other relevant files to import and use the tc module correctly.
Build & Testing:
I ran cargo test successfully.
I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.
Checklist:
I have performed a self-review of my code.

Copy of #2286

no i have made my own

Closing in favour of https://github.com/tailcallhq/tailcall/pull/2286

but why i have made my mehnat

@tusharmath see there is errors in his prs

@Anshgrover23 https://tailcall.run/docs/contributors/bounty/


Client "Amethyst" is unable to read the relay

Check for "Amethyst" client and review whether it can connect to rsslay or not.
Reported by: npub1c3twfcadj7szhcmt8quctan4pdn6whujn3khk9qvsy59fv5nd02q4qm42k,

Seems like Amethyst connects ok to current relay:

Nevertheless, for newer created profiles, it takes a bit to discover them and several tries.

Seems that "Amethyst" can read the relay correctly, nevertheless tracking this in #48


nuitka build not working

workflow publish.yml fails
Run python -m nuitka --mingw64 --standalone --onefile easy2homeassistant\easy2homeassistant.py
Nuitka-Options: Used command line options: --mingw[6](https://github.com/steinerthomas/easy2homeassistant/actions/runs/11729243014/job/32674430682#step:5:7)4 --standalone --onefile easy2homeassistant\easy2homeassistant.py
Nuitka: Starting Python compilation with Nuitka '2.4.11' on Python '3.12' commercial grade 'not installed'.
Nuitka-Plugins:anti-bloat: Not including 'socket' automatically in order to avoid bloat, but this may cause: can break calls of 'email.utils.make_msgid()'.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Non downloaded winlibs-gcc 'C:\mingw64\bin\gcc.exe' is being ignored, Nuitka is very dependent on the precise one.
Nuitka will use gcc from MinGW64 of winlibs to compile on Windows.
FATAL: Only this specific gcc is supported with Nuitka.

Is it OK to download and put it in 'C:\Users\RUNNER~1\AppData\Local\Nuitka\Nuitka\Cache\DOWNLO~1\gcc\x[8](https://github.com/steinerthomas/easy2homeassistant/actions/runs/11729243014/job/32674430682#step:5:9)6_64\13.2.0-16.0.6-11.0.1-msvcrt-r1'.

FATAL: Failed unexpectedly in Scons C backend compilation.
Nuitka:WARNING:     Complex topic! More information can be found at https://nuitka.net/info/scons-backend-failure.html
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.
Fully automatic, cached. Proceed and download? [Yes]/No :
Error: Process completed with exit code 1.

fixed with https://github.com/steinerthomas/easy2homeassistant/commit/aa2dd82b2cd54260dac62b16f1a9b1604eae0b85


Allow user.* keys everywhere we store configuration

Issue #7870 -- this allows configuration keys starting with user.* in server config (lxc config). In a cluster, user.* keys are replicated across the cluster.

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

@grant-he looks like that should take care of the server part of the issue, are you looking at the remaining ones:

networks
projects
storage pools
storage volumes

@stgraber In our testing, networks, projects, storage pools, and storage volumes were already able to accept user keys. It was just the server that couldn't.

Looks good, I'll do a quick rebase and run tests on it.

jenkins: test this please

Testsuite passed


x/tools/gopls: Request to decrease or make configurable background import refresh frequency

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

$ go version
go version go1.15.6 darwin/amd64

$ gopls version
golang.org/x/tools/gopls v0.6.6
<EMAIL_ADDRESS>h1:GmCsAKZMEb1BD1BTWnQrMyx4FmNThlEsmuFiJbLBXio=

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="$HOME/Library/Caches/go-build"
GOENV="$HOME/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="$HOME/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="$HOME/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.15.6/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.15.6/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="$HOME/workspace/pls-gopls/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/p8/_ykby0cs2x36vll5y_hrsr7c0000gn/T/go-build537755662=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Have been using gopls with emacs (via lsp-mode) and noticed that even with a brand new golang project using go modules, it was incredibly slow to get the LSP to recognize any new packages I'd create. There were multiple instances where I observed that it took minutes (~5-15) for the LSP to recognize that a new struct I'd made in a new package existed, albeit providing logs of the following form immediately on package creation:
2021/02/28 20:31:18 go/packages.Load
	snapshot=61
	package="jwal.dev/pls-gopls/two"
	files=[$HOME/workspace/pls-gopls/two/foo.go]

These appeared to indicate to me that gopls knew my packages existed, as well as their source files which contained my new structs I wanted to interact through the LSP with (e.g. completions). However, it reality they remained unknown until I saw logs of the form background refresh finished after Xs.
Digging into it more, it appears that this background refresh process scans either the entire gopath or the go module from its root then doesn't try again for 50 x (however long that took) seconds: https://github.com/golang/tools/blob/f5a4005dda57a682af872b31ea2ae6999aa44971/internal/lsp/cache/imports.go#L117
More often than not, I observed this taking only 1-3 seconds (which is still concerningly slow for a brand new go project with only two source code files) in turn meaning that the next refresh wouldn't happen for 1-2 minutes. There was a not insignificant number of times it took even longer, like say 10-20 seconds (not sure why) which in turn meant it wouldn't refresh again for another 10-15 minutes which is far too long.
I don't quite entirely understand the intention behind that frequency calculation; regardless though, it seems like something that should be configurable for those of us who are content to do that tuning ourselves. At the very least, we should decrease the frequency because it seems like a very unnecessarily large backoff.
What did you expect to see?
Background import refresh happening at a reasonable frequency on the order of seconds (< minute)
What did you see instead?
Background import refresh happening at an unreasonable frequency on the order of minutes

It sounds likely that there is a different issue happening here, since gopls should not be slow on small projects, and the background refresh would not be causing this slowdown. Can you please share a gopls log by following these steps?

Attaching my logs below, but would love if you could clarify why you don't believe the background imports cache refresh is the issue though please.
I have consistently seen that new packages are not recognized by the LSP until the background imports refresh completes. I will close buffers, write files, etc., but not until the instant when the refresh process completes (I follow gopls logs up side-by-side) do I receive my newly-created package in my list of completions for using a variable in that package or it even being considered valid when I manually enter the package in my import (...) statement.
Also fwiw regarding the timing of those background imports refreshing processes: it appears that it consistently takes a few seconds (~10-15) on its first run sometime after the server first starts up then each subsequent refresh takes around ~1-2 seconds. These are again, my observations from creating simple go modules projects from scratch and adding one or two new packages each with one new struct in them.
LSP logs

2021/03/02 16:52:50 go env for $HOME/workspace/gopls-wat-do
(root $HOME/workspace/gopls-wat-do)
(go version go version go1.15.6 darwin/amd64)
(valid build configuration = true)
(build flags: [])
GOPROXY=https://proxy.golang.org,direct
GOMODCACHE=$HOME/go/pkg/mod
GONOPROXY=
GONOSUMDB=
GO111MODULE=
GOFLAGS=
GOINSECURE=
GOMOD=$HOME/workspace/gopls-wat-do/go.mod
GOSUMDB=sum.golang.org
GOPRIVATE=
GOROOT=/usr/local/Cellar/go/1.15.6/libexec
GOCACHE=$HOME/Library/Caches/go-build
GOPATH=$HOME/go
2021/03/02 16:52:50 go/packages.Load
snapshot=0
directory=$HOME/workspace/gopls-wat-do
query=[builtin jwal.dev/gopls-wat-do/...]
packages=2
Creating watch for $HOME/workspace/gopls-wat-do
2021/03/02 16:53:20 background imports cache refresh starting
Creating watch for $HOME/workspace/gopls-wat-do/foo
2021/03/02 16:53:30 background refresh finished after 9.857008216s
Command "gopls" is present on the path.
Command "gopls" is present on the path.
Command "gopls" is present on the path.
Found the following clients for $HOME/workspace/gopls-wat-do/foo/structs.go: (server-id gopls, priority 0)
The following clients were selected based on priority: (server-id gopls, priority 0)
2021/03/02 16:53:33 go/packages.Load
snapshot=5
directory=$HOME/workspace/gopls-wat-do
query=[file=$HOME/workspace/gopls-wat-do/foo/structs.go]
packages=1
2021/03/02 16:53:33 go/packages.Load
snapshot=5
package="jwal.dev/gopls-wat-do/foo"
files=[$HOME/workspace/gopls-wat-do/foo/structs.go]
2021/03/02 16:53:33 go/packages.Load
snapshot=5
directory=$HOME/workspace/gopls-wat-do
query=[file=$HOME/workspace/gopls-wat-do/foo/structs.go]
packages=1
2021/03/02 16:53:33 go/packages.Load
snapshot=5
package="jwal.dev/gopls-wat-do/foo"
files=[$HOME/workspace/gopls-wat-do/foo/structs.go]
2021/03/02 16:53:35 go/packages.Load
snapshot=9
directory=$HOME/workspace/gopls-wat-do
query=[file=$HOME/workspace/gopls-wat-do/foo/structs.go]
packages=1
2021/03/02 16:53:35 go/packages.Load
snapshot=9
package="jwal.dev/gopls-wat-do/foo"
files=[$HOME/workspace/gopls-wat-do/foo/structs.go]
Cancelling textDocument/documentLink(82) in hook after-change-functions
Cancelling textDocument/codeAction(81) in hook after-change-functions
2021/03/02 16:53:37 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:4:2: expected ';', found 'EOF' (and 2 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:38 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:4:2: expected ';', found 'EOF' (and 2 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:38 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:3:7: expected type, found newline
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:38 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:4:2: expected ';', found 'EOF' (and 2 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:39 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:4:2: expected ';', found 'EOF' (and 2 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
Cancelling textDocument/codeAction(90) in hook after-change-functions
Cancelling textDocument/codeAction(91) in hook after-change-functions
2021/03/02 16:53:41 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:4:2: expected ';', found 'EOF' (and 2 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
Cancelling textDocument/codeAction(94) in hook after-change-functions
Cancelling textDocument/codeAction(98) in hook after-change-functions
2021/03/02 16:53:45 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:8:2: expected '(', found 'EOF' (and 4 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:45 no signature help: cannot find an enclosing function
position={6 6}
Cancelling textDocument/codeAction(101) in hook after-change-functions
2021/03/02 16:53:46 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:7:8: expected 'IDENT', found newline (and 4 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
Cancelling textDocument/codeAction(102) in hook after-change-functions
2021/03/02 16:53:46 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:7:10: expected 'IDENT', found newline (and 4 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
Cancelling textDocument/codeAction(103) in hook after-change-functions
2021/03/02 16:53:47 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:7:15: expected 'IDENT', found newline (and 4 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:47 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:7:16: expected 'IDENT', found newline (and 4 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:48 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:7:16: expected 'IDENT', found newline (and 4 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:49 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:7:21: expected '(', found newline (and 3 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:49 no completions found: this is a definition of func (Thing).Hello(invalid type)
position={6 20}
2021/03/02 16:53:49 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:7:21: expected '(', found newline (and 3 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:49 no completions found: this is a definition of func (Thing).Hello(invalid type)
position={6 20}
2021/03/02 16:53:49 no completions found: this is a definition of func (Thing).Hello(invalid type)
position={6 20}
2021/03/02 16:53:49 no signature help: cannot find an enclosing function
position={6 21}
Cancelling textDocument/codeAction(114) in hook after-change-functions
Cancelling textDocument/codeAction(120) in hook after-change-functions
2021/03/02 16:53:54 go/packages.Load
snapshot=100
package="jwal.dev/gopls-wat-do/foo"
files=[$HOME/workspace/gopls-wat-do/foo/structs.go]
2021/03/02 16:53:54 go/packages.Load
snapshot=100
directory=$HOME/workspace/gopls-wat-do
query=[file=$HOME/workspace/gopls-wat-do/foo/structs.go]
packages=1
2021/03/02 16:53:57 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:10:14: string literal not terminated (and 7 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:57 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:10:14: string literal not terminated (and 7 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:58 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:10:17: missing ',' in argument list (and 7 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:53:58 imports fixes: AllImportsFixes: $HOME/workspace/gopls-wat-do/foo/structs.go:10:17: missing ',' in argument list (and 7 more errors)
file="$HOME/workspace/gopls-wat-do/foo/structs.go"
2021/03/02 16:54:00 no signature help: cannot find an enclosing function
position={10 1}
2021/03/02 16:54:02 background imports cache refresh starting
2021/03/02 16:54:03 background refresh finished after 1.010874132s
Cancelling textDocument/documentLink(180) in hook post-command-hook
Cancelling textDocument/codeAction(179) in hook post-command-hook
Cancelling textDocument/codeAction(186) in hook after-change-functions
2021/03/02 16:54:33 background imports cache refresh starting
2021/03/02 16:54:34 background refresh finished after 984.486551ms
2021/03/02 16:54:41 go/packages.Load
snapshot=138
package="jwal.dev/gopls-wat-do"
files=[$HOME/workspace/gopls-wat-do/main.go]
2021/03/02 16:54:41 go/packages.Load
snapshot=138
directory=$HOME/workspace/gopls-wat-do
query=[file=$HOME/workspace/gopls-wat-do/main.go]
packages=1
Cancelling textDocument/codeAction(212) in hook after-change-functions
2021/03/02 16:55:09 background imports cache refresh starting
2021/03/02 16:55:10 background refresh finished after 979.343914ms

I have consistently seen that new packages appear to be not recognized by the LSP until the background imports refresh completes. I will close buffers, write files, etc., but not until the instant whenever the refresh process completes (I follow gopls logs up side-by-side) do I receive my newly-created package in say, my list of completions for using a variable in that package for instance (this example is the primary issue I'm having with it). I am uncertain of what triggers the actual refresh process to kick off in the first place, so I suspect perhaps your better knowledge of that is why you believe it is not causing an issue?

The background imports refresh is only used by the import organization logic, and based on your first description, it seemed like the issue was with diagnostics:

LSP to recognize that a new struct I'd made in a new package existed

When you mention completion above, are you referring to completions for a package you have already imported into your program or a package that has not yet been imported? A repro case would be best here.
It also looks like those logs are not verbose--is there a way for you to add -rpc.trace as a flag when the gopls process is started? I'm not too familiar with lsp-mode so I'm sorry I can't advise on exactly how to do that. Also, it looks like you created a repro project, so if you'd be willing to share the code you're working with that would be easiest.

Thank you for clarifying re: background imports refresh.

When you mention completion above, are you referring to completions for a package you have already imported into your program or a package that has not yet been imported? A repro case would be best here.

The latter: fails to provide completion for a package which was just created, but yet to be imported in the current file.
Repro that I've been doing looks something like this:

go mod init a new project
Create the most minimal main.go
mkdir $PROJECT_ROOT/newpkg
(Hopefully did the following heredoc correctly)

cat << EOF > $PROJECT_ROOT/newpkg/newtypes.go
package newpkg

type NewThing struct {}
EOF

Open main.go in editor
Start typing newpkg expecting to see newpkg show up as a package completion or newpkg.NewThing to show up as a possible completion (instead no completions related to the newpkg package are provided, at least until LSP server is manually restarted or some other unknown, slow event which I attributed to the background imports refresh originally)

It also looks like those logs are not verbose--is there a way for you to add -rpc.trace as a flag when the gopls process is started?

Not quite certain myself either haha, but I will try to figure it out and attach them here/a separate comment when I get the time. Just wanted to respond since it had been a few days and didn't want this going stale.

Combating Sunday scaries a bit strangely here with this late debugging, but figured out how to increase the logging level with lsp-mode (if anyone else is curious: (setq lsp-go-gopls-server-args  '("-rpc.trace")))
I noticed that doing my above repro actually worked as expected: my package was suggested as a completion almost immediately multiple times (not always, but maybe we can just gloss over those for now).
I decided to try and carry on with the project I was originally working in which I was creating a new package called client. Once I resumed that, I ran into the same issue where the package was no longer suggested as a completion, instead receiving completions for various other client packages from various go projects in my system's go cache.
Modified the original repo above to instead:
3. mkdir $PROJECT_ROOT/client
4. Create a new type in that package:
cat << EOF > client/my_client.go
package client

type MyClient struct {}
EOF

Start typing client expecting to see completion for my package, instead saw completions for various client packages from other random projects in my system's go cache

I noticed in the logs (attached below) pretty much always had a isIncomplete: true for textDocument/completion requests related to whenever I was typing out client hoping to get a completion for my project's client package. Seems like this is the culprit then?
In which case I'm wondering if it's intentional or not that gopls doesn't prioritize local packages for completion?
Logs: https://gist.github.com/jspawar/538af493d62f8d9d8b659933c0799983

I tried reproducing this and noticed that it would take a couple of seconds before the imports cache refreshed, at which point client.MyClient was the top result. @heschik will be able to weigh in on this, in case there are other issues here, but I think the imports logic does prioritize packages in the workspace. The amount of time it takes to refresh the cache may depend based on how large your module cache is. To confirm that it works as expected, you can reload the editor to force a gopls restart.

I noticed in the logs (attached below) pretty much always saw a isIncomplete: true for textDocument/completion responses related to whenever I was typing out client hoping to get a completion for my project's client package. Seems like this is the culprit then?

The isIncomplete setting is unrelated--it is set so that the editor client continues requesting completion results as you type more characters.

Closing as there hasn't been any activity on this in some time.


google.cloud.datastore add_filter warnings

refs https://github.com/googleapis/python-datastore/issues/504
To get rid of:
UserWarning: Detected filter using positional arguments. Prefer using the 'filter' keyword argument instead.

Untested locally, so do not merge unless CI passes and CI uses one of these filters.

3 CI tests failed due to
FAILED articat/tests/utils_test.py::test_download__empty - FileExistsError: [Errno 17] File exists: '/tmp/tmpsmeymxih'
FAILED articat/tests/utils_test.py::test_download__weird_valid_pattern - ValueError: Invalid pattern: '**' can only be an entire path component
FAILED articat/tests/utils_test.py::test_download__embedded_dir - FileExistsError: [Errno 17] File exists: '/tmp/tmp06uvrlun'

But this occurs on main as well.

I'm running down the test failures that you mentioned, and believe it may be related to a newer version of fsspec being released since we last updated the repo. I'll continue working on that, and make sure that tests pass on both 3.10 and 3.11

Sounds good. I don't think there is any need for articat to support dependency versions lower than what we use internally in facets in case that simplifies the code updates.


New add a source modal link to AWS IAM console is wrong

Describe the bug
New add a source modal link to AWS IAM console is wrong
To Reproduce
Steps to reproduce the behavior:

Go to Overview
Click on 'Add a Source'
Click through setting up AWS account
Click on 'AWS Identity Access Management* (IAM) console' Link
Link takes you here: https://koku.readthedocs.io/en/latest/providers.html#download-and-configure-ocp-usage-collector-korekuta

Expected behavior
We should link to the correct AWS service
Screenshots

Additional context
Testing on CI insightsbeta

Thanks. I will take care of that too.

@lcouzens @chambridge @nlcwong
I believe that's the right link: https://docs.aws.amazon.com/IAM/latest/UserGuide/console.html
Can you confirm?


WIP: Move to packit

Fixes #46
TODO

[ ] Waiting for #45 to land.
[ ] Rename the python package.

http://whatthecommit.com/

@siteshwar WIP :P I'm not done, waiting for Franta to finish #45 and then I complete this PR.
(I'm using f to indicate that I'm meaning to f[ixup] the commit in future)


MCP2551 and MCP2515 or just MCP2551?

Hi
I was wondering if you quickly could clarify the hook of the MCP2551 to the Teensy.
The Arduino libraries i have found seem to work on SPI and need MCP2551 and MC2515 together. As per this schematic: http://cdn.sparkfun.com/datasheets/Dev/Arduino/Shields/SparkFun_CAN-Bus_Shield_v13a.pdf
Does you library only need the MCP2551and needs it's CANL and CANH pins connected to the teensy?
Thanks,
Stephan

you will need a transcriever between the teensy and canh canl lines

do you have a suggestion which transceiver chip i should use or a link to a sample schematic?
the MC2515 on the spark fun board is a SPI chip, so not the right thing to use.
thanks.

i use ti svn chip like
http://www.dx.com/p/bus-transceiver-sn65hvd230-can-communication-module-blue-385988#.Vsys8cvUUqI
you will have to follow this schematic for wiring
https://upload.wikimedia.org/wikipedia/commons/9/9e/CAN-Bus_Elektrische_Zweidrahtleitung.svg

oh i see.
i am already using the MCP2551 (which you refer to as the transceiver). so i am good to go i guess.
i just wanted to make sure i am not missing some other electronics.
my goal is to have multiple teensy's talk to each other via the CAN transceivers.

yes, you are got to go, can rx and tx will go to teensy can pins, tx to tx rx to rx, just remember about the termination of the bus

great.
one last question.
the CanTest example that comes with the github download, should i upload that to both teensys or would the echo node need a different sketch?
thank so much for your help.

chanche just line 85 to avoid the 2 nodes send on the same id

great thanks again.
i ended up using this receiver and sender test code:
http://www.mikrocontroller.net/topic/370955#4189341


Mention the operators we're using for map and apply.

:+1: Nice catch.

One comment but rebase and merge after that!


Adds missing await to startParticipantEgress

Using the startParticipantEgress method on the EgressClient always returns a 401 because the auth header's not actually being set, due to a missing await.
Confirmed this was the issue by trying the same request with the livekit-cli which was capable of starting a participant egress without issue.

 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.


Line chart with only one value

Hi
I have line chart with only one value.
The label and the actual point is not below each other.
See two screenshots for more data.
Any idea what I am missing.

Thanks

What version of Chart.js? Can you build a jsfiddle that reproduces your issue?

Hi
chart.js": "2.5.0
I don't have the option to put the code in jsfiddle, but you can see from first screenshot the data.
Thanks

This issue has been fixed in #4545, please try to upgrade to 2.7.1.

Thanks!

@tssobe I'm closing this ticket, feel free to re-open if it's still an issue in 2.7.1.


Fixes issue when putting focus to an input outside of the modal.

Fixes #8442.
It doesn't make sens to have these event handles attached to the whole document at all.
See this pen using the updated version.

As @josh-h confirmed this is working, I will merge the PR.

I request to revert the pull request, since it introduces an issue with inputs within the reveal. Because of the preventDefault() it's not possible to type into the inputs within the reveal at all.


Fix failure if image package index is outdated

We failed to lift a kubernetes cluster, because the available Ubuntu image
on the nodes had outdated package indexes, and python-minimal was not installed.
This is fixed by running apt-get update before the apt-get install python-minimal.
Yours, Steffen

@sneumann thx for the PR.
can you sign the cla/linuxfondation so we can merge it?


Add camaro96.neocities.org

Important: Please read all instructions carefully.
Select the appropriate category for what this PR is about
This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

- domain: camaro96.neocities.org
  url: https://camaro96.neocities.org/
  size: 76
  last_checked: 2022-11-16

GTMetrix Report: https://gtmetrix.com/reports/camaro96.neocities.org/NjC8ukOF/
I'm unsure if the report should be considered as the main source of truth since all I can see is measuring the main site rather than everything mine that I have (not counting external links such as to archive.org). I believe a better way of measuring is just reporting how much the files I host weigh on my filesystem: 76.0 KB.

You report 76, but the GT Metrix results say 10.9KB?

GTMetrix simply meausures the landing page size, which is why it lists 10.9kb instead of your full site, which is 76.

As per the process for every other site on 512KB Club, we measure the home page. As the instructions say, please provide data for your homepage, not the entire site.

@kevquirk OK, apparently I got it wrong earlier. Updated that one line and pushed the changes. Thanks for the feedback!


shuffle -incl: Fall out of -incl include.bed file

Dear developer,
I want to replace genomic blocks (A.bed) randomly on blocks of specified genomic regions (include.bed). However, the new genomic coordinates fall out of the "include.bed". human.genome
$cat A.bed
chr1	0	100
chr2	0	1000
$cat include.bed
chr1	200	203
chr1	204	400
chr1	300	325
chr2	2000	4000
$ head human.genome
chr1	240000000
chr2	240000000
$bedtools shuffle -i A.bed -g human.genome -chrom -incl include.bed
chr2	2811	2911
chr2	2666	3666
After shuffling, it exceeds the include.bed and the chromosome number was not kept. Did I misunderstand what the command does? Also, what if there is not enough room in include.bed to place the blocks in A.bed?
Thank you!
Best,
Chenlu

In addition, I used betools v2.30.0.

@chenludi
is there any update? I came across this situation as well


changed authentication key, I don't know how to access the block now

hi, am a newbie but I've been read about rfid tags for sometime now, my issue is-
i used the changekey example code to change the authentication keys of my rfid cards now i can't access the block where i changed authentication key, so i tried to run the dumpinfo example code and it shows

uhh, I actually changed authentication key from sector 2 to sector 15

so how can I gain access to my cards with my new authentication key
thanks in advance

you need to authenticate to block with new key, if you do not know what is the new key you write, throw chip away and start with new one :)

okay, so I know the new key, please how do I authenticate the block with the new key thanks

here is how I define my key
 MFRC522::MIFARE_Key key;
//  for (byte i = 0; i < 5; i++) key.keyByte[i] = 0xFF;
 key.keyByte[0] = 0xFF;
 key.keyByte[1] = 0xFF;
 key.keyByte[2] = 0xFF;
 key.keyByte[3] = 0xFF;
 key.keyByte[4] = 0xFF;
 key.keyByte[5] = 0x77;

if you cannot understand that part, should move your question to arduino forums for complete solution

okay thanks, well, I made some changes like this
void loop() {
// Prepare key - all keys are set to FFFFFFFFFFFFh at chip delivery from the factory.
MFRC522::MIFARE_Key key;
for (byte i = 0; i < 6; i++) key.keyByte[i] = 0xCC;//my new authentication key
//some variables we need
byte block;
byte len;
MFRC522::StatusCode status;
//-------------------------------------------
and when I tried to execute the readpersonaldatafromtag example I edited, it still showed authentication failed

*my new authentication keys were set to 0xCC

😢 thanks, but am not satisfied, I don't think the sector is broken😕,  I'll read some more though

what code you use to set new authentication key?

https://github.com/miguelbalboa/rfid/wiki/How-to-change-keys%3F

Well I never used that function, I was writed my own, but on different platform to change keys. I'm not sure if that function set properly access bits. You can play with another sector/block and experiment before throw chip on garbage, you have 14 more sectors to brick :)
meanwhile I was starting to looking for alternative library since this one cannot hangle some readers.

HI, thanks so much,
for (byte i = 0; i < 6; i++) key.keyByte[i] = 0xCC;//my new authentication key
this did the trick, the problem was my code, I was busy trying to read block1 that had a different authentication key, but now I've changed all my sectors from 1 to 15 authentication key to 0xCC and am good to go. thanks😃.

good, now close that issue please

oww.    I thought I did thanks


Black screen after dismiss after viewWillTransition

HI,
i want to dismiss the menu if the screen is on landscape.
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {         if(UIDevice.current.orientation.isLandscape){             dismiss(animated: false, completion: nil)         }     }
but I have black screen, and App no work.

This isn't a bug; this is a design change which I am not supporting. You'll have to figure this one out for yourself.

@jonkykong Actually he is asking for a design change and pointing out a bug. When I open SideMenu then bring down Apple's notification center and come back to the app, the view is black and becomes unresponsive.

@Ro4ch I am unable to reproduce that issue using the demo project on iOS 10. Make sure you're using the latest SideMenu code.


Tip Party 2.0 Updates

Before you push these updates, we should discuss the changes. These are fairly drastic for the underlying app

Before you push these updates, we should discuss the changes. These are fairly drastic for the underlying app

Absolutely, these changes will most likely be added much further down the road


Call for Suggestions - Category Name for Prisma Client

Hey all 👋🏼,
As the Prisma 2.0 launch approaches, we're brainstorming a category name for Prisma Client and we'd love your feedback. Our main goal at Prisma is to make working with databases easy, and we see Prisma Client as central to that goal. Naming is an extension of that goal and the name should express its functionality.
Prisma Client is not an ORM, but what is it?
Up until now, we've likened Prisma Client to Query Builders with the term Advanced Query Builder, but the term Query Builders is slightly misleading as it's used in the context of SQL Query Builders. While Prisma Client is compatible with SQL databases, its querying interface is more universal, given its database-agnostic nature and data-centric approach. We believe that the name should reflect that and ask for your input.
Poll
To vote, click on one of the options below:

hey, Massive.js maintainer here! 👋 Prisma and Massive share some conceptual DNA such as API-style interactions, schema introspection, and so on. I've usually defaulted to calling this not-a-classical-O/RM category (also inclusive of tools like MyBatis) "data mappers". It's a loose reading of Fowler to say the least, but then so's the common usage of "object/relational mapper" to mean active record or at least model-driven styles. I could get behind a sufficiently expressive new term, but what I think "data mapper" does well is to establish both a similarity of purpose and a difference of method vis-à-vis classical O/RMs.
Of the suggestions so far, "universal query builder" seems more concerned with vendor/flavor support than with the mode of interaction, and "dynamic" and "progressive" don't mean much. "Schema-based" has promise! "Schema-driven" pops a little more, but like you I think "query builder" sells the category a bit short. Query building is naturally involved, but to me the most important thing about these tools is that they present a holistic interface for data access and manipulation.
"Schema mapper", perhaps?

I think Prisma client is more than a query builder, which is why I always liked the term “Typesafe Database Client”, since it’s basically a database client but typesafe regardless if you’re building a query (where: { .. }) or receiving data (if (result.user.posts…)).

Prisma Client is a Universal DPI — a Universal Database Programming Interface (as opposed to an API) 😄 (I have no clue if this is an even remotely accurate description though).

Omnipotent Database Adapter

Let’s just call it the Force and be done with it. 😁

“Database client” is really good. Type safe and universal database client.
“Query builder” is also good. Type safe and DB agnostic query builder.
“Advanced query builder” doesn’t tell me anything. Like, aren’t all query builders advanced? :sweat_smile:
"Universal query builder" makes sense, but I prefer “db agnostic” since it’s more concrete. I.e universal query builder could also include a query builder for graphql

Thank you all for the feedback.
Based on the response to Prisma so far, we’ve decided to stick to query builder.
Ultimately, Prisma Client is a query builder with features that differentiate it from SQL query builders.
Those features can be denoted before query builder depending on the context and the intended emphasis, e.g. “type-safe, auto-generated query builder” or "database agnostic query builder".


How to download

I was wondering how it is possible to download tabster?
All the links from tabster.org are down.

Same here? That's a shame as the program looked exactly like what I was looking for.


Notary list requires admin permission in 0.6.0

We have some images in our registry (and corresponding information in notary) that is read-only to most users. Since updating to notary 0.6.0, that read-only content hasn't been accessible. We get:
$ notary -D list registry.eu-de.bluemix.net/ibmliberty
DEBU[0000] Configuration file not found, using defaults
DEBU[0000] Using the following trust directory: /home/molepigeon/.notary
DEBU[0000] No yubikey found, using alternative key storage: no library found
DEBU[0000] Making dir path: /home/molepigeon/.notary/tuf/registry.eu-de.bluemix.net/ibmliberty/changelist
Enter username: token
Enter password:
DEBU[0005] received HTTP status 401 when requesting root.

* fatal: you are not authorized to perform this operation: server returned 401.

Output of notary version:
notary
 Version:    0.6.0
 Git commit: d25e8c4e

We're using token auth for both Registry and Notary.
We've traced the problem to that Notary goes to the Oauth server asking for a * permission when performing a list. Because the user only has read-only access to the GUN, they're (correctly) given a 401, which is presented to the user.
For 0.4.3 clients, our auth server logs:
Requested scopes: [{{repository registry.eu-de.bluemix.net/ibmliberty } pull}]
But in 0.6.0:
Requested scopes: [{{repository registry.eu-de.bluemix.net/ibmliberty } *}]
As shown above, this is a regression from 0.4.3.
The server returns a well-formed auth challenge with the correct scope if you make a request without auth:
$ curl -v https://registry.eu-de.bluemix.net:4443/v2/registry.eu-de.bluemix.net/ibmliberty/_trust/tuf/root.json 2>&1 | grep "<"
< HTTP/1.1 401 Unauthorized
< Server: nginx
< Date: Fri, 02 Mar 2018 16:43:57 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 180
< Connection: keep-alive
< Www-Authenticate: Bearer realm="https://registry.eu-de.bluemix.net/oauth/token",service="notary",scope="repository:registry.eu-de.bluemix.net/ibmliberty:pull"
<

I spent some time investigating the issue, and making sure that the problem is client side. I found that tufCommander.tufList used to call getTransport with readOnly as the permission in 0.4.3. Now, it calls ConfigureRepo, which in turn calls getTransport with admin.
The way I see it, there's at least two options for how we can address this; the quick fix would be to make notary list use the readOnly permission again, and the harder one would be to make the notary client attempt the request to the specific resource without auth and craft an auth request according to the auth challenge the server sends.
I'm happy to work on a fix for this, but would like to know which option to take before starting coding.
What are your thoughts?

Thanks for finding this @molepigeon and apologies for the regression!  It seems like maybe updating ConfigureRepo to take readOnly or admin permissions would be simplest.


rustfmt missing

Hi @ianks, thanks for creating this! I'm currently testing it with Tokenizers and ran into an error, which I believe is due to this commit.
  thread 'main' panicked at 'rustfmt is required to generate bindings', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/rb-sys-build-0.9.44/src/bindings.rs:78:9

Using the setup option to add rustfmt fixes it, but it'd be nice if the action included this.
          setup: |
            rustup component add rustfmt
            bundle install

Hi there, the newest images now include rustfmt. Let me know if that works for you!

Thanks @ianks, but still seeing the error.
Workflow: https://github.com/ankane/tokenizers-ruby/blob/b8e42bf0e5be4eb58dd9fffc915a4d6c4caaaae7/.github/workflows/release.yml
CI output: https://github.com/ankane/tokenizers-ruby/actions/runs/3569221870/jobs/5998956489

Nevermind, version: latest fixed it (which looks like will be the default in a future release - 5d286c263b0a4ec3a82f4caaf58b05b0e7dda0d9).


[QUERY]Question regarding Pagination page size

Hi I have a question regarding the difference between  Iterable<FeedResponse<Family>> and Page<Family. The former is the native way to loop through all the pages, the later is the Spring way.
The page size for each page has huge different between two implementation so I would like to understand what make this difference and which one is the correct one.
Here are the snippet for my test.
This is the native approach and I am able to get 297 pages total and have some pages has the size less than 100 that is because that is the indication of the end of a particular phyical partion I understant that and have no issue with it.
          int pageSize = 100;

          Iterable<FeedResponse<Family>> feedResponseIterator = container.queryItems(query, queryOptions, Family.class)
                    .iterableByPage(continuationToken, pageSize);

          for (FeedResponse<Family> page : feedResponseIterator) {
               // do whatever we want for each page
          }

Here is the Spring approach. From the doc, it already mentioned:

Due to this variable number of returned items in every iteration, user should not rely on the totalPageSize, and instead iterating over pageable should be done in this way.

But the pages that return from this implementation is 2088 and lots of pages just has 1 record!
         int pageSize = 100;
          int pageNumber = 0;
          String token = null;
          CosmosPageRequest pageRequest = new CosmosPageRequest(0, pageSize, token);

          Page<Family> recoveryRecordResult = this.repository.getRecoveryRecord(pageRequest);
          if (recoveryRecordResult.getContent().size() < 100) {
               log.info("page: {} has size: {} which is less than {}", pageNumber, recoveryRecordResult.getContent().size(), pageSize);
          }

          while (recoveryRecordResult.hasNext()) {
               CosmosPageRequest temp = (CosmosPageRequest) recoveryRecordResult.nextPageable();
               token = temp.getRequestContinuation();
               pageNumber++;
               Pageable nextPageable = recoveryRecordResult.nextPageable();
               recoveryRecordResult = this.repository.getRecoveryRecord(nextPageable);
               if (recoveryRecordResult.getContent().size() < 100) {
                    log.info("page: {} has size: {} which is less than {}", pageNumber, recoveryRecordResult.getContent().size(),
                             pageSize);
               }
          }

So you see the issure here? If I want to show the pagination on the UI (contiunation token will be used) and use the Spring implemation, it will have 2088 pages and lots of the page only has 1 record.
Why the Spring approach has such huge different regarding pagination? And how to resolve it if our dev team insist on use the Azure-spring-data-cosmos

This is screenshot for the Spring approach. I would like to know that why after detected the cross partition activity then the pages increased (244 -> 297) and return less record in a page?

@trande4884 - can you please take a look at this, thanks!

One more thing to add, when I use one of the token from those pages that only has 1 record, I am getting 100 record back actully.

@loudywen I am looking into this and trying to understand what is going on with the page sizes, although it is a challenge as I have no test datasets as large as the one you are working with.
I do not understand what you mean when you say using the token from a page with 1 record, you get 100 records back. I am assuming you mean using the request continuation token for a pageable that got 1 record? This will just simply get the next page I believe as every time you call nextPageable() there is not a new token, the same token is used for every page so you can't simply use the token to get page x again.

@loudywen as for the pages going from 244 to 297, can you share the offset, total, ect for page 31 like you did for page 32? Just expand out recoveryRecordResult in that screen shot also.

@trande4884  Thanks for the reply :)
For this   I am assuming you mean using the request continuation token for a pageable that got 1 record . Yes
For this This will just simply get the next page I believe as every time you call nextPageable() there is not a new token, the same token is used for every page so you can't simply use the token to get page x again..  I believe I checked each page has a new token but it only has 1 record in that page. Then I tried to use that token to see if I will get 1 record back but it is not . I got 100 instead.
Would you please first explain from the screenshot I posted, why the pages incresead from 244 -> 297 after reached the end of the partition?
Also here is the log I got with Spring code snippet. this just portion of the log, lots of them only has 1 record.
2022-08-22 19:31:49,307 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2282 has size: 1 which is less than 100

2022-08-22 19:31:50,379 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2283 has size: 1 which is less than 100

2022-08-22 19:31:51,224 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2284 has size: 1 which is less than 100

2022-08-22 19:31:52,115 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2285 has size: 1 which is less than 100

2022-08-22 19:31:53,126 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2286 has size: 1 which is less than 100

2022-08-22 19:31:53,932 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2287 has size: 1 which is less than 100

2022-08-22 19:31:54,746 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2288 has size: 1 which is less than 100

2022-08-22 19:31:55,549 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2289 has size: 1 which is less than 100

2022-08-22 19:31:56,471 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2290 has size: 1 which is less than 100

2022-08-22 19:31:57,420 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2291 has size: 1 which is less than 100

2022-08-22 19:31:58,330 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2292 has size: 1 which is less than 100

2022-08-22 19:31:59,175 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2293 has size: 1 which is less than 100

2022-08-22 19:32:00,027 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2294 has size: 1 which is less than 100

2022-08-22 19:32:00,913 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2295 has size: 1 which is less than 100

2022-08-22 19:32:01,785 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2296 has size: 1 which is less than 100

2022-08-22 19:32:02,615 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2297 has size: 1 which is less than 100

2022-08-22 19:32:03,459 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2298 has size: 1 which is less than 100

2022-08-22 19:32:04,274 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2299 has size: 1 which is less than 100

2022-08-22 19:32:05,147 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2300 has size: 1 which is less than 100

2022-08-22 19:32:06,015 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2301 has size: 1 which is less than 100

2022-08-22 19:32:06,857 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2302 has size: 1 which is less than 100

2022-08-22 19:32:07,687 INFO  [restartedMain] com.walmart.intech.armada.api.mystuff.MyDemo simulateCreateRecoveryRecord - page: 2303 has size: 1 which is less than 100

@trande4884  here you go, here is the page from 27 to 33.  the size of each page will just keep decreasing and at the end only 1 record on the page.  Also, the token is requestContinuation is different for each page (plz ignore the token with the blue color that is just a reference.)

HI @trande4884 is any update regarding the issue? Since our design is base on the page size thing.

@loudywen I have been investigating this issue and we developed a plan of action today. I will be working on implementation and will link the PR here once I have the code ready.

thanks @trande4884

@trande4884  i got work aroud for the issue here is my code.  Instead of pass the nextPageable to repository, I just explicit define a new CosmosPageRequest and use it.
  int pageSize = 100;
          int pageNumber = 0;
          int documentCount = 0;
          String token = null;

          Instant start = Instant.now();
          try {
               do {

                    CosmosPageRequest pageRequest = new CosmosPageRequest(pageNumber, pageSize, token);

                    Page<AuditTransaction> recoveryRecordResult = this.repository.getRecoveryRecord(pageRequest);
                    if (recoveryRecordResult.getContent().size() < 100) {
                         log.info("page: {} has size: {} which is less than {}", pageNumber, recoveryRecordResult.getContent().size(),
                                   pageSize);
                    }

                    addToRecoveryRecord(recoveryRecordResult, pageNumber, token);
                    documentCount += recoveryRecordResult.getContent().size();
                    token = ((CosmosPageRequest) recoveryRecordResult.nextPageable()).getRequestContinuation();
                    pageNumber++;

               } while (token != null);

          }
          catch (Exception ex) {
               log.error("========== Page {} encounter error ==========\n {}", pageNumber, ex.getMessage());
               throw new RuntimeException(ex);

          }

Also the reason why the size of each page changed after the end of partition, I guess that is because in the CosmosTemplate you are setting the pageSize like this

        contentSize = result.size();
        int pageSize;
        if (contentSize < pageable.getPageSize() && contentSize > 0) {
            pageSize = contentSize;
        } else {
            pageSize = pageable.getPageSize();
        }

@loudywen yes that is a good work around until we can improve this functionality. You are correct about that block of code being a big part of the issue and I am working on the new solution currently and hope to have it in PR very soon!

@trande4884  I read your Task12Notes.doc. So in the PR will you implement the accepted solution? If yes that would be nice :)

The root cause is not actually in the total pages calculation, but in the way we handle the end of a partition. If the requested page size is 10 but we only get 7 results on the first partition, we should get results from the next partition to fill out the last 3 results and not simply return the 7 from the first partition.

@loudywen that is correct, you can see the PR linked to this issue now and I am hoping to have it closed out very soon!

@trande4884 what version should I use?

@loudywen It will be in the 3.27 version which is not yet released, you can monitor here for when that release does come out:
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-spring-data-cosmos/CHANGELOG.md#bugs-fixed-1

@trande4884  got it. thx again. by the way just one question when use the azure spring data cosmos where can I set the continuation token size limit? from the native implementation I know where to do it but not the spring

@loudywen can you please open a new issue for this? I believe you are referring to ResponseContinuationTokenLimitInKb which we do not yet have a way to set from Spring. If you open a new bug for this I can work on the implementation so that you can set the property.


Hygiene: enable additional linter presets.

Changes
This PR enables golangci presets format, import, metalinter, module, test, unused. 🧼 🧹
Code changes correspond to the issues found by linters -- specifically, the goimports
linter deterministically orders import statements for consistency.
There are no expected functional changes in this PR.
Context: https://github.com/tektoncd/pipeline/issues/5899
/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[N/A] Has Docs included if any changes are user facing
[N/A] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[N/A] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[N/A] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/test pull-tekton-pipeline-beta-integration-tests

/retest-required

I think the test failures are #6228 -- waiting for that to resolve...
/retest
CI failures should be resolved by https://github.com/tektoncd/pipeline/pull/6239

/lgtm


DO NOT MERGE: VXLAN Dataplane API testing

A simple tool to check the operability of the VXLAN enablement code.
In a vagrant deployment:
    make k8s-save-deploy

    kubectl exec nsm-vppagent-dataplane-<ID> vppctl show vxlan tunnel

@edwarnicke I was thinking that maybe this binary can be made part of NSMD container and can be invoked through kubectl exec. Of course it will need some refactoring. But it can become a generic datplane query tool. Does it make sense?

We have integration testing now :)


Issues from 2024-10-09 test run

[x] Bug in end_date in parameters file for old right truncation: tracking in https://github.com/cdcent/cfa-parameter-estimates/pull/90#issuecomment-2405097327
[x] #73
[x] #70
[ ] #120
[ ] #74
[x] #75
❯ checking R code for possible problems ... NOTE
extract_draws_from_fit: no visible binding for global variable
‘reports’

Can "Consistency in geo_value or state_abb or group" be made into an issue?
Is there anything blocking #74?

Can "Consistency in geo_value or state_abb or group" be made into an issue?

Done

Is there anything blocking https://github.com/CDCgov/cfa-epinow2-pipeline/issues/74?

No, just my split focus.


How is infima actually working?

Using v2, I deleted the "custom.css" which contained the Infima variables. But when I inspect the styles on the home page, infima variables are still injected,  --ifm-hero-background-color.
I looked at the v2 documentation which linked to the Infima website but nothing is clear there, descriptions still have Lorem Ipsum. I am kind of confused on how to style the site.
Help :)

D2 site by default uses the infima stylesheets. For basic customization, you may change the variables in custom.css. We do not include all the css variables there, but you can add more (those variables you hope to change when you inspect).
Infima not yet a public project and the docs are work in progress, we'll prolly need a bit of geeky spirit for now and learn the variable names by ourselves.

Infima not yet a public project and the docs are work in progress, we'll prolly need a bit of geeky spirit for now and learn the variable names by ourselves.

What I am doing right now is, inspecting the Infima site and figuring out the class names. Is that the way to go? :sweat_smile:  If there are any WIP docs on Infima, can you link them? I tried looking at npm and GitHub but couldn't find one.

What I am doing right now is, inspecting the Infima site and figuring out the class names. Is that the way to go?

Unfortunately that is probably the best way to go atm 😅
It sounds to me that you are looking into more customized styling than tweaking Infima variables, in which case you can check out my personal no-style starter, or learn from there how to customize your site.

Thank you @wgao19 :slightly_smiling_face:

Infima not yet a public project and the docs are work in progress, we'll prolly need a bit of geeky spirit for now and learn the variable names by ourselves.

Thanks. Is there any reason this project is private? What are the downsides of making it public while it's being developed?


CRI: Add '--working-dir', '--supplementary-gids', '--readonly-rootfs' flags

Add these flags for 'rkt app add', 'rkt run', 'rkt prepare'.

cc @lucab @s-urbaniak @squeed @iaguis @alban

Should probably add functional tests on these new flags. But I'd like to address them later when we finished adding all flags.
Tested with https://github.com/kubernetes-incubator/rktlet/pull/31 These flags all works.

@s-urbaniak Fixed comments, ptal.

Also a thing to rethink, but not in this PR: the code to convert common/types/app to RuntimeApp is getting long and should be refactored?

Also a thing to rethink, but not in this PR: the code to convert common/types/app to RuntimeApp is getting long and should be refactored?

Right, should pull it out as a function.

Merging as the PR is green now.