fix: add cleanup of expirred metadata for ReplicaSets and Deployments

Summary: The existing cleanup of resources does not include these kinds. When kelvin encounters them in a cluster, a fatal error is raised and a traceback printed as kelvin crashes (in debug builds). In non-debug builds, the metadata service will just continue to collect these expired resources; never removing them.
This patch adds cleanup of these resources to prevent crashing (in debug builds) and to reclaim resources and do housekeeping in non-debug builds.
Relevant Issues: #1620
Type of change: /kind bugfix
Test Plan: Tests in the metadata_state_test's CleanupExpiredMetadata were enhanced to include tests for these two kinds

@caphrim007 we require our commits to be GPG signed. Would you mind following these instructions? https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

@aimichelle I just forgot to upload it to my GH account. check now?


Feat: Adding a HackerRank Details Scraper

Describe the feature
I will be adding a HackerRank Details scraper which will scrape the data of the user vai their username and display it to the user
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC 23 contributor
[X] I want to work on this issue

Go ahead @Swapnil-Singh-99
Note

Create a separate module for this, as per the folder and project structure
Do not use the `selenium web driver as it is not compatible with all devices as well as cloud platforms.
Before making any changes, check if the module you want to add already exists or not. If yes, then add your functionality as a method only else make a separate module and class for it.

All the best 👨💻


Tabs in ObsEdit always re-mount

Describe the bug
On iOS (because on Android the map does not work), in the ObsEdit screen every time the Data tab is opened, even when it was already opened before in the same page view, the whole tab get's initialized again, so, e.g., the map in the tab starts with the loading indicator. I think we should try to have the tab initialise on the first render only, and then keep it available in the page for re-access. This was brought up in PR https://github.com/inaturalist/iNaturalistReactNative/pull/385
To Reproduce

Select an observation
Tap on "Data" tab
See that the map initializes with loading indicator
Tap the "Activity" tab and back the "Data" tab
See that the map initializes again

Expected behavior
The map should stay on the tab and be immediately available when I tap back there
Context (please complete the following information):
Device: iPhone 7
Additional context
In ObsEdit render there is a ternary that shows either the data tab or activity tab, keeping a reference for those tabs outside might help to fix this.

One solution is using css to hide the component and technically maintain the component on the DOM.
I propose a reusable component something like so:
const HideView = ( { noInitialRender = false, hidden = true, children } ): React.Node => {
    const [rendered, setRendered] = useState( false );

    useEffect( () => {
      if ( !hidden ) {
        setRendered( true );
      }
    }, [hidden] );

    if ( noInitialRender && !rendered && hidden ) {
      return null;
    }

    const props = hidden ? { className: "hidden " } : {};
    return <View {...props}>{children}</View>;
  };

export default HideView;

and on the consumer end can be used simply:
<HideView hidden={currentTabId === someTab}>
    <Text>Hidden!</Text>
</HideView>

The noInitialRender lets us either render the component "in the background" (it will block, so be careful), or lets use render only when the tab is unhidden.
If this is an agreed upon solution, I'd be happy to implement this.
Should note that using this component to hide components has the benefit in preventing re-initialization of components, I feel it should be used sparingly. IMO it's better to just take components off the DOM.

Closed in #412


Speculative decoding

Motivation
[Describe why this change is needed]
Modifications
[Describe the code changes]
Result
[Describe how the changes affects existing behavior and how to test it]
Related Issues
[Resolves #123]

@tdoublep @JRosenkranz we'll have to fix the DCO for this branch

closing in favor of https://github.com/IBM/text-generation-inference/pull/78


Azure sources

Draft PR used for investigating why the QE tests are failing on the azure sources PR.

Closing as we have added a timeout to the azure sources PR itself, no need to duplicate here.


Fix: Remove dependabot configuration without effect

This PR

[x] removes dependabot configuration directives without effect

@localheinz I believe Github actions support is still disabled in Dependabot at the moment.

@Lctrs
Let's see if it will be made available soon!


Deploytime exporter reports too many same rows

If the deploytime monitors multiple namespaces and apps, data can grow really fast.
For each subsequent unique pair of namespace/app there is a new deploy_timestamp with the previous apps already reported.
In case we have 1 pair, there will be 1 deploy_timestamp. If we have 2 pairs, then we will see 1 + (1+1) = 3 rows.
For 3 pairs, we will get 1 + (1+1) + (1+1+1) = 6 rows, meaning we are looking here at sum of an = n+1 numerical sequence.
Attached file with 528 deploy_timestamp, where only 32 should be reported.
For example at 180 apps we would have 16290 lines instead of 180, that would make our deploy time exporter pretty unusable, for 300 apps 45150 lines.
rows.txt

thanks for writing this up.

This happens because the yield metric is inside the for m in metrics instead of being outside it.


[Bug] vts-input--invalid not working in any case

Noticed that vts-input--invalid does not work at all. Seems to be due to a reference to invalid.anyInvalid, which does not exist. Referencing just anyInvalid seems to work. There's few other places in the file with the same reference to this non-existent variable.
Would also make sense to have the vts-input--invalid class to only be added when input is dirty, similar to how it is in your docs (like state.dirty && state.anyInvalid).

Created a pull request: https://github.com/Stegosource/vuetensils/pull/67

Thanks @nles. PR merged. Nice work!


Fixed order of parameters when updating resource cache file

When EditorResourcePreview was updating cache files, the values were written in the wrong order and one was missing, which caused an int overflow when trying to read such files (trying to read a checksum value and store it as a modification date).
The int overflow errors are going to be still triggered once and will disappear afterwards.
Fixes #31930

Thanks!


Extract from JS not working

Hello,
I started using your tool, and it seems to work mostly flawless with HTML, but I don't see any strings coming from JavaScript.
I'm using it in the simple way of for example  this.translate.get('Getting your location...')
where this.translate is public translate: TranslateService
Am I missing something?

Unfortunately this tool only extracts strings from typescript files. The reason is I want to switch away from regular expressions and extract strings using the Typescript parser.

My bad...I'm actually using TypeScript with Ionic 2. (I was just thinking of "script files" as opposed to HTML files.)

That's weird. There are passing tests covering your simple use case. What command are you running to extract the strings? Sure the input dir is correct?

I did everything according to the docs. Gave it another try and found the bug now, it is because I'm running the command with a new line in it, as such:
this.translate
    .get('Uploading image')

Once I removed the new line it worked fine. Could you enhance your script to cater for this, please? :)

Please the experimental ast parser (-e flag). It should be more robust but needs more testing.

Yep, this solved it, thanks, and keep up the good work :)

Nice:-)


A ReadMe file would be nice :)

for beginners to find their way around the addon.
A readme would do the job.. or a quick video on how to use it

wooops sorry was quick to judge didn't even look around first haha


Fix SSL/TLS issue when attempting to read manifest file from github pages

Fix allows the web.DownloadString to download the manifest.txt file when remotely hosting the overlay from github pages

Thanks for this! I'll give this a try during maintenance and then merge it.  Being able to use github pages for overlays was definitely the intention.

I updated this pull request to allow for a local pointer-style file similar to what I did to point to kagerou's overlay.  It adds two static variables to the object, a "realUrl" and "lastConfigUrl" and uses those to prevent expensive file reads and regex operations when unnecessary.  But this worked in testing with the normal file, the URL directly and an html file containing a meta refresh to my test github pages.

Thanks! Looks good to me.  oopsyraidsy doesn't appear to work remotely, possibly due to some race condition.  I probably need to wait for document load before adding ui more properly in the javascript.  I'll see if I can fix this on my end.
2/5/2018 10:11:35 PM: Info: testremote: BrowserConsole: Uncaught TypeError: Cannot read property 'children' of null (Source: https://ezsoftware.github.io/cactbot/ui/oopsyraidsy/oopsyraidsy.js, Line: 159)


Adding more then one event to Roses

Describe your problem here.
I would like to know If I can add more than one event to roses. I would like to add a screenshake event
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
idk what to put here

It's simple, just go into the chart editor for roses and add the events, make sure you click 'load events' first though as the events might be a separate json in the data so the events play on every difficulty.  Once you're done, click 'save events' and save that json into the data folder for the song (making sure not to change the name otherwise it won't work) and save it in there replacing the file that's already there


Example ext ahmed body aerodynamics

Modulus Pull Request
Description
Adding a recipe for Ahmed body aerodynamic evaluation
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is
up to date with these changes.

Dependencies
vtk & pyvista (both are optional)

/blossom-ci


Commit Record Required

I've been running into some errors which boils down to:
http: error: stream error: db="sqlite.db" err=stream ltx (tx 0): write ltx snapshot file: encode ltx header: commit record required

Full Logs
2022-11-11T17:26:02.733 app[50616fcd] fra [info] Starting init (commit: 81d5330)...
2022-11-11T17:26:02.761 app[50616fcd] fra [info] Preparing to run: `docker-entrypoint.sh litefs -- node ./start.js` as root
2022-11-11T17:26:02.793 app[50616fcd] fra [info] 2022/11/11 17:26:02 listening on [fdaa:0:9732:a7b:86:5061:6fcd:2]:22 (DNS: [fdaa::3]:53)
2022-11-11T17:26:02.841 app[50616fcd] fra [info] LiteFS v0.3.0-beta1, commit=f40cf36930e1d0b259bbbdb72c3fd3a508ff1936
2022-11-11T17:26:02.841 app[50616fcd] fra [info] config file read from /app/litefs.yml
2022-11-11T17:26:02.841 app[50616fcd] fra [info] Using Consul to determine primary
2022-11-11T17:26:03.963 app[50616fcd] fra [info] initializing consul: key=<EMAIL_ADDRESS>hostname=50616fcd advertise-url=http://50616fcd.vm.fontsource.internal:20202
2022-11-11T17:26:03.970 app[50616fcd] fra [info] LiteFS mounted to: /litefs/data
2022-11-11T17:26:03.970 app[50616fcd] fra [info] http server listening on: http://localhost:20202
2022-11-11T17:26:03.970 app[50616fcd] fra [info] waiting to connect to cluster
2022-11-11T17:26:03.972 app[50616fcd] fra [info] existing primary found (6414fe27), connecting as replica
2022-11-11T17:26:04.205 app[6414fe27] sjc [info] stream connected
2022-11-11T17:26:04.205 app[6414fe27] sjc [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, resetting to snapshot
2022-11-11T17:26:04.205 app[6414fe27] sjc [info] http: error: stream error: db="sqlite.db" err=stream ltx (tx 0): write ltx snapshot file: encode ltx header: commit record required
2022-11-11T17:26:04.205 app[6414fe27] sjc [info] stream disconnected
2022-11-11T17:26:04.279 app[50616fcd] fra [info] replica disconnected, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-11T17:26:05.398 app[50616fcd] fra [info] existing primary found (6414fe27), connecting as replica
2022-11-11T17:26:05.473 app[6414fe27] sjc [info] stream connected
2022-11-11T17:26:05.473 app[6414fe27] sjc [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, resetting to snapshot
2022-11-11T17:26:05.473 app[6414fe27] sjc [info] http: error: stream error: db="sqlite.db" err=stream ltx (tx 0): write ltx snapshot file: encode ltx header: commit record required
2022-11-11T17:26:05.473 app[6414fe27] sjc [info] stream disconnected
2022-11-11T17:26:05.546 app[50616fcd] fra [info] replica disconnected, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-11T17:26:07.073 app[50616fcd] fra [info] existing primary found (6414fe27), connecting as replica
2022-11-11T17:26:07.148 app[6414fe27] sjc [info] stream connected
2022-11-11T17:26:07.148 app[6414fe27] sjc [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, resetting to snapshot
2022-11-11T17:26:07.148 app[6414fe27] sjc [info] http: error: stream error: db="sqlite.db" err=stream ltx (tx 0): write ltx snapshot file: encode ltx header: commit record required
2022-11-11T17:26:07.148 app[6414fe27] sjc [info] stream disconnected
2022-11-11T17:26:07.221 app[50616fcd] fra [info] replica disconnected, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-11T17:26:08.235 app[50616fcd] fra [info] existing primary found (6414fe27), connecting as replica
2022-11-11T17:26:08.310 app[6414fe27] sjc [info] stream connected
2022-11-11T17:26:08.310 app[6414fe27] sjc [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, resetting to snapshot
2022-11-11T17:26:08.310 app[6414fe27] sjc [info] http: error: stream error: db="sqlite.db" err=stream ltx (tx 0): write ltx snapshot file: encode ltx header: commit record required
2022-11-11T17:26:08.310 app[6414fe27] sjc [info] stream disconnected
2022-11-11T17:26:08.383 app[50616fcd] fra [info] replica disconnected, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

... and so on...

(note the logs indicate an older LiteFS version but the same issue happened with the newer one anyways)

My setup is very similar to litefs-indie but uses Knex and better-sqlite3. We have two regions and I also don't have any persistent volumes setup. Is it necessary to have volumes if I don't mind blasting my DB every deploy?
GH Actions
Repository
This has been tested against the latest Docker version flyio/litefs:sha-fabf62d.
Originally posted in https://github.com/superfly/litefs/issues/167#issuecomment-1312060227

@ayuhito Thanks for reporting this. There's a window of time where a database file can be created but doesn't have any data yet. It looks like the snapshot functionality isn't handling that correctly. I'll add in a fix for it to skip over databases without data.

My setup is very similar to litefs-indie but uses Knex and better-sqlite3. We have two regions and I also don't have any persistent volumes setup. Is it necessary to have volumes if I don't mind blasting my DB every deploy?

You shouldn't need persistent volumes if you're not worried about losing your data if all nodes go down.

@ayuhito This may have been resolved by #184. However, I also added #185 to improve logging for snapshots so it'll help give a bit more info. If you still have your cluster running, can you try it out please? The Docker image is flyio/litefs:pr-185.

A new challenger seems to have appeared.
2022-11-15T22:52:17.699 app[031c32e2] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

Full Logs
```shell
2022-11-15T22:52:06.064 runner[031c32e2] sjc [info] Starting instance
2022-11-15T22:52:06.501 runner[031c32e2] sjc [info] Configuring virtual machine
2022-11-15T22:52:06.504 runner[031c32e2] sjc [info] Pulling container image
2022-11-15T22:52:10.189 runner[031c32e2] sjc [info] Unpacking image
2022-11-15T22:52:11.582 runner[031c32e2] sjc [info] Preparing kernel init
2022-11-15T22:52:11.871 runner[031c32e2] sjc [info] Configuring firecracker
2022-11-15T22:52:11.960 runner[031c32e2] sjc [info] Starting virtual machine
2022-11-15T22:52:12.185 app[031c32e2] sjc [info] Starting init (commit: 81d5330)...
2022-11-15T22:52:12.213 app[031c32e2] sjc [info] Preparing to run: `docker-entrypoint.sh litefs -- node ./start.js` as root
2022-11-15T22:52:12.239 app[031c32e2] sjc [info] 2022/11/15 22:52:12 listening on [fdaa:0:9732:a7b:b385:31c:32e2:2]:22 (DNS: [fdaa::3]:53)
2022-11-15T22:52:12.288 app[031c32e2] sjc [info] LiteFS commit=20d0f7e7f27d3e052e10ae08aeaf1fddac84d04f
2022-11-15T22:52:12.288 app[031c32e2] sjc [info] Using Consul to determine primary
2022-11-15T22:52:12.288 app[031c32e2] sjc [info] config file read from /app/litefs.yml
2022-11-15T22:52:15.692 app[031c32e2] sjc [info] initializing consul: key=<EMAIL_ADDRESS>hostname=031c32e2 advertise-url=http://031c32e2.vm.fontsource.internal:20202
2022-11-15T22:52:15.702 app[031c32e2] sjc [info] LiteFS mounted to: /litefs/data
2022-11-15T22:52:15.702 app[031c32e2] sjc [info] http server listening on: http://localhost:20202
2022-11-15T22:52:15.702 app[031c32e2] sjc [info] waiting to connect to cluster
2022-11-15T22:52:16.006 app[031c32e2] sjc [info] existing primary found (dc1f4bd5), connecting as replica
2022-11-15T22:52:16.241 app[dc1f4bd5] fra [info] stream connected
2022-11-15T22:52:16.241 app[dc1f4bd5] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot
2022-11-15T22:52:16.241 app[dc1f4bd5] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000004
2022-11-15T22:52:16.241 app[dc1f4bd5] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required
2022-11-15T22:52:16.241 app[dc1f4bd5] fra [info] stream disconnected
2022-11-15T22:52:16.318 app[031c32e2] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-15T22:52:17.548 app[031c32e2] sjc [info] existing primary found (dc1f4bd5), connecting as replica
2022-11-15T22:52:17.623 app[dc1f4bd5] fra [info] stream connected
2022-11-15T22:52:17.623 app[dc1f4bd5] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot
2022-11-15T22:52:17.623 app[dc1f4bd5] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000004
2022-11-15T22:52:17.623 app[dc1f4bd5] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required
2022-11-15T22:52:17.623 app[dc1f4bd5] fra [info] stream disconnected
2022-11-15T22:52:17.699 app[031c32e2] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-15T22:52:18.857 app[031c32e2] sjc [info] existing primary found (dc1f4bd5), connecting as replica
2022-11-15T22:52:18.932 app[dc1f4bd5] fra [info] stream connected
2022-11-15T22:52:18.932 app[dc1f4bd5] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot
2022-11-15T22:52:18.932 app[dc1f4bd5] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000004
2022-11-15T22:52:18.932 app[dc1f4bd5] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required
2022-11-15T22:52:18.933 app[dc1f4bd5] fra [info] stream disconnected
2022-11-15T22:52:19.009 app[031c32e2] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-15T22:52:20.166 app[031c32e2] sjc [info] existing primary found (dc1f4bd5), connecting as replica
2022-11-15T22:52:20.240 app[dc1f4bd5] fra [info] stream connected
2022-11-15T22:52:20.240 app[dc1f4bd5] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot
2022-11-15T22:52:20.241 app[dc1f4bd5] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000004
2022-11-15T22:52:20.241 app[dc1f4bd5] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required
2022-11-15T22:52:20.241 app[dc1f4bd5] fra [info] stream disconnected
2022-11-15T22:52:20.317 app[031c32e2] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-15T22:52:21.792 app[031c32e2] sjc [info] existing primary found (dc1f4bd5), connecting as replica
2022-11-15T22:52:21.866 app[dc1f4bd5] fra [info] stream connected
2022-11-15T22:52:21.867 app[dc1f4bd5] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot
2022-11-15T22:52:21.867 app[dc1f4bd5] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000004
2022-11-15T22:52:21.867 app[dc1f4bd5] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required
2022-11-15T22:52:21.867 app[dc1f4bd5] fra [info] stream disconnected
2022-11-15T22:52:21.944 app[031c32e2] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-15T22:52:23.336 app[031c32e2] sjc [info] existing primary found (dc1f4bd5), connecting as replica
2022-11-15T22:52:23.410 app[dc1f4bd5] fra [info] stream connected
2022-11-15T22:52:23.410 app[dc1f4bd5] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot
2022-11-15T22:52:23.410 app[dc1f4bd5] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000004
2022-11-15T22:52:23.411 app[dc1f4bd5] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required
2022-11-15T22:52:23.411 app[dc1f4bd5] fra [info] stream disconnected
2022-11-15T22:52:23.487 app[031c32e2] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
2022-11-15T22:52:24.685 app[031c32e2] sjc [info] existing primary found (dc1f4bd5), connecting as replica
2022-11-15T22:52:24.759 app[dc1f4bd5] fra [info] stream connected
2022-11-15T22:52:24.759 app[dc1f4bd5] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000004 nger available, writing snapshot
2022-11-15T22:52:24.759 app[dc1f4bd5] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000004
2022-11-15T22:52:24.760 app[dc1f4bd5] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required
2022-11-15T22:52:24.760 app[dc1f4bd5] fra [info] stream disconnected
2022-11-15T22:52:24.836 app[031c32e2] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file
```

My first deployment returned with the commit record error, but that was because of the rolling restart behaviour since I'm running two instances. One of them was still running the old version. Do you suggest something like the bluegreen deployment to work with LiteFS in an isolated manner for the DBs? Or will new versions try to interact with old VMs?
I can imagine this being an issue when migrations are deployed and a VM falls out of sync in deployment causing applicate errors and possibly health check fails.
After a full restart, things were fine for a short while until I got these invalid LTX file errors when the second instance tried deployed.
Thanks for your work! Really appreciate it!

@ayuhito I believe the invalid LTX file error was in your original post as well. That's caused because the server is disconnecting because of the commit record required error. I'll do some more testing on my side to try to reproduce. If you have an example app that I can try, that would help too.
I tried one other possible fix (https://github.com/superfly/litefs/pull/187). Can you give this a whirl? I'll backfill some tests if this actually works. :)
The Docker image is: flyio/litefs:pr-187

@ayuhito I believe the invalid LTX file error was in your original post as well. That's caused because the server is disconnecting because of the commit record required error. I'll do some more testing on my side to try to reproduce. If you have an example app that I can try, that would help too.
I tried one other possible fix (https://github.com/superfly/litefs/pull/187). Can you give this a whirl? I'll backfill some tests if this actually works. :)
The Docker image is: flyio/litefs:pr-187

@benbjohnson, ah I'm extremely tired right now so I missed the repeated error in the logs. Apologies :sweat_smile:

Full Logs
2022-11-16T00:00:49.147 app[b871e8d6] fra [info] Starting init (commit: 81d5330)...

2022-11-16T00:00:49.173 app[b871e8d6] fra [info] Preparing to run: `docker-entrypoint.sh litefs -- node ./start.js` as root

2022-11-16T00:00:49.201 app[b871e8d6] fra [info] 2022/11/16 00:00:49 listening on [fdaa:0:9732:a7b:8a:b871:e8d6:2]:22 (DNS: [fdaa::3]:53)

2022-11-16T00:00:49.254 app[b871e8d6] fra [info] LiteFS commit=711005b51b46f17caec55a4af60459b53b52d0c7

2022-11-16T00:00:49.254 app[b871e8d6] fra [info] config file read from /app/litefs.yml

2022-11-16T00:00:49.254 app[b871e8d6] fra [info] Using Consul to determine primary

2022-11-16T00:00:51.571 app[b871e8d6] fra [info] initializing consul: key=<EMAIL_ADDRESS>hostname=b871e8d6 advertise-url=http://b871e8d6.vm.fontsource.internal:20202

2022-11-16T00:00:51.580 app[b871e8d6] fra [info] LiteFS mounted to: /litefs/data

2022-11-16T00:00:51.580 app[b871e8d6] fra [info] http server listening on: http://localhost:20202

2022-11-16T00:00:51.580 app[b871e8d6] fra [info] waiting to connect to cluster

2022-11-16T00:00:52.155 app[b871e8d6] fra [info] existing primary found (75c0f15a), connecting as replica

2022-11-16T00:00:52.166 app[75c0f15a] fra [info] stream connected

2022-11-16T00:00:52.166 app[75c0f15a] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:00:52.166 app[75c0f15a] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:00:52.174 app[b871e8d6] fra [info] snapshot received for "sqlite.db", removing other ltx files:<PHONE_NUMBER>000001-0000000000000008.ltx

2022-11-16T00:00:52.175 app[b871e8d6] fra [info] connected to cluster, ready

2022-11-16T00:00:52.175 app[b871e8d6] fra [info] starting subprocess: node [./start.js]

2022-11-16T00:00:52.179 app[b871e8d6] fra [info] waiting for signal or subprocess to exit

2022-11-16T00:00:52.413 app[b871e8d6] fra [info] Found primary instance in .primary file: 75c0f15a

2022-11-16T00:00:52.414 app[b871e8d6] fra [info] Instance (b871e8d6) in fra is not primary (the primary instance is 75c0f15a). Skipping migrations.

2022-11-16T00:00:52.414 app[b871e8d6] fra [info] Starting app...

2022-11-16T00:00:55.143 app[b871e8d6] fra [info] Remix App Server started at http://localhost:3000 (http://<IP_ADDRESS>:3000)

2022-11-16T00:01:35.731 runner[81db970b] sjc [info] Shutting down virtual machine

2022-11-16T00:01:35.812 app[81db970b] sjc [info] Sending signal SIGINT to main child process w/ PID 520

2022-11-16T00:01:35.814 app[81db970b] sjc [info] sending signal to exec process

2022-11-16T00:01:35.814 app[81db970b] sjc [info] waiting for exec process to close

2022-11-16T00:01:35.814 app[81db970b] sjc [info] signal received, litefs shutting down

2022-11-16T00:01:35.816 app[81db970b] sjc [info] replica disconnected with error, retrying: next frame: context canceled

2022-11-16T00:01:35.816 app[81db970b] sjc [info] litefs shut down complete

2022-11-16T00:01:35.878 runner[75c0f15a] fra [info] Shutting down virtual machine

2022-11-16T00:01:35.890 app[75c0f15a] fra [info] stream disconnected

2022-11-16T00:01:35.982 app[75c0f15a] fra [info] Sending signal SIGINT to main child process w/ PID 521

2022-11-16T00:01:35.985 app[b871e8d6] fra [info] replica disconnected, retrying

2022-11-16T00:01:35.984 app[75c0f15a] fra [info] sending signal to exec process

2022-11-16T00:01:35.984 app[75c0f15a] fra [info] waiting for exec process to close

2022-11-16T00:01:35.984 app[75c0f15a] fra [info] signal received, litefs shutting down

2022-11-16T00:01:35.984 app[75c0f15a] fra [info] stream disconnected

2022-11-16T00:01:35.985 app[75c0f15a] fra [info] exiting primary, destroying lease

2022-11-16T00:01:36.457 app[75c0f15a] fra [info] exit status 1: fusermount: failed to unmount /litefs/data: Device or resource busy

2022-11-16T00:01:36.638 app[81db970b] sjc [info] Starting clean up.

2022-11-16T00:01:37.407 app[75c0f15a] fra [info] Starting clean up.

2022-11-16T00:01:38.169 app[b871e8d6] fra [info] primary lease acquired, advertising as http://b871e8d6.vm.fontsource.internal:20202

2022-11-16T00:01:39.247 runner[dbc7740c] sjc [info] Starting instance

2022-11-16T00:01:39.577 runner[dbc7740c] sjc [info] Configuring virtual machine

2022-11-16T00:01:39.579 runner[dbc7740c] sjc [info] Pulling container image

2022-11-16T00:01:45.398 runner[dbc7740c] sjc [info] Unpacking image

2022-11-16T00:01:46.792 runner[dbc7740c] sjc [info] Preparing kernel init

2022-11-16T00:01:47.105 runner[dbc7740c] sjc [info] Configuring firecracker

2022-11-16T00:01:47.300 runner[dbc7740c] sjc [info] Starting virtual machine

2022-11-16T00:01:47.539 app[dbc7740c] sjc [info] Starting init (commit: 81d5330)...

2022-11-16T00:01:47.567 app[dbc7740c] sjc [info] Preparing to run: `docker-entrypoint.sh litefs -- node ./start.js` as root

2022-11-16T00:01:47.593 app[dbc7740c] sjc [info] 2022/11/16 00:01:47 listening on [fdaa:0:9732:a7b:b385:dbc7:740c:2]:22 (DNS: [fdaa::3]:53)

2022-11-16T00:01:47.644 app[dbc7740c] sjc [info] config file read from /app/litefs.yml

2022-11-16T00:01:47.644 app[dbc7740c] sjc [info] LiteFS commit=711005b51b46f17caec55a4af60459b53b52d0c7

2022-11-16T00:01:47.644 app[dbc7740c] sjc [info] Using Consul to determine primary

2022-11-16T00:01:49.723 app[dbc7740c] sjc [info] initializing consul: key=<EMAIL_ADDRESS>hostname=dbc7740c advertise-url=http://dbc7740c.vm.fontsource.internal:20202

2022-11-16T00:01:49.730 app[dbc7740c] sjc [info] LiteFS mounted to: /litefs/data

2022-11-16T00:01:49.730 app[dbc7740c] sjc [info] http server listening on: http://localhost:20202

2022-11-16T00:01:49.730 app[dbc7740c] sjc [info] waiting to connect to cluster

2022-11-16T00:01:50.045 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:01:50.284 app[b871e8d6] fra [info] stream connected

2022-11-16T00:01:50.284 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:01:50.284 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:01:50.284 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:01:50.284 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:01:50.364 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:01:52.467 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:01:52.542 app[b871e8d6] fra [info] stream connected

2022-11-16T00:01:52.542 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:01:52.542 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:01:52.542 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:01:52.542 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:01:52.621 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:01:53.861 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:01:53.936 app[b871e8d6] fra [info] stream connected

2022-11-16T00:01:53.936 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:01:53.936 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:01:53.937 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:01:53.937 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:01:54.016 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:01:55.333 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:01:55.407 app[b871e8d6] fra [info] stream connected

2022-11-16T00:01:55.407 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:01:55.407 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:01:55.407 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:01:55.407 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:01:55.486 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:01:56.639 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:01:56.713 app[b871e8d6] fra [info] stream connected

2022-11-16T00:01:56.713 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:01:56.713 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:01:56.713 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:01:56.713 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:01:56.793 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:01:58.099 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:01:58.174 app[b871e8d6] fra [info] stream connected

2022-11-16T00:01:58.174 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:01:58.174 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:01:58.174 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:01:58.174 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:01:58.254 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:01:59.573 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:01:59.648 app[b871e8d6] fra [info] stream connected

2022-11-16T00:01:59.648 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:01:59.648 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:01:59.648 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:01:59.648 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:01:59.727 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:02:01.015 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:02:01.090 app[b871e8d6] fra [info] stream connected

2022-11-16T00:02:01.090 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:02:01.090 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:02:01.090 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:02:01.090 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:02:01.169 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:02:02.325 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:02:02.400 app[b871e8d6] fra [info] stream connected

2022-11-16T00:02:02.400 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:02:02.400 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:02:02.400 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:02:02.400 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:02:02.480 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:02:03.726 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:02:03.801 app[b871e8d6] fra [info] stream connected

2022-11-16T00:02:03.801 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:02:03.802 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:02:03.802 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:02:03.802 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:02:03.882 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

2022-11-16T00:02:05.080 app[dbc7740c] sjc [info] existing primary found (b871e8d6), connecting as replica

2022-11-16T00:02:05.154 app[b871e8d6] fra [info] stream connected

2022-11-16T00:02:05.154 app[b871e8d6] fra [info] transaction file for txid<PHONE_NUMBER>000001 no longer available, writing snapshot

2022-11-16T00:02:05.155 app[b871e8d6] fra [info] writing snapshot "sqlite.db" @<PHONE_NUMBER>000008

2022-11-16T00:02:05.155 app[b871e8d6] fra [info] http: error: stream error: db="sqlite.db" err=stream ltx<PHONE_NUMBER>000001): write ltx snapshot file: encode ltx header: commit record required

2022-11-16T00:02:05.155 app[b871e8d6] fra [info] stream disconnected

2022-11-16T00:02:05.234 app[dbc7740c] sjc [info] replica disconnected with error, retrying: process ltx stream frame: peek ltx header: unmarshal header: invalid LTX file

Unfortunately, #187 didn't work. Looking at the logs, the first instance deployed fine but things broke deploying the second instance.
I'll try to get a minimal reproduction for you forking litefs-indie and strip out Prisma for knex for simplicity, however, I probably can't get it to you today, unfortunately.

@ayuhito No problem! Thanks for all the help trying to debug this issue.

@ayuhito I was able to reproduce on my side. I'll get it fixed up. 👍

@benbjohnson, it works great! Thank you so much for your time!


Indentation error message is misleading

I use Solium v1.1.6, and my .soliumrc.json file looks like this:
{
  "extends": "solium:all",
  "plugins": ["security"],
  "rules": {
    "quotes": ["error", "double"],
    "indentation": ["error", 2],
    "security/enforce-explicit-visibility": ["error"]
  }
}

As you can see, I enforce indentation by 2 spaces. It lints correctly, but, when some line breaks the 2-space indentation rule, I get the following error message:
Only use indent of 4 spaces.

In the source code of the rule I see the logic for setting this error message in accordance with actual preferences, but, apparently, it doesn't work for some reason.

Hi @skozin. Is it possible for you to produce the code you're running solium on here?


[Feature Request]: Mode to use SVM and cosine similarity together in simple vector store

Feature Description
There are implementations of SVM vector search and cosine similarity search on simple vector store.
https://github.com/jerryjliu/llama_index/blob/8611c2f0f2a53e4d46f8d76d7be7485077bb206f/llama_index/vector_stores/simple.py#L151
Usually cosine search gets more relevant documents, but sometimes SVM(LEARNER_MODE) is more relevant.
I want any opinion about using multiple search modes at the same time, so that we can get benefits from those modes.
At least in my case with Japanese document search, using multiple modes works better then with only cosine search.
If it's worth implementing this multiple search mode for this repository, I'm willing to PR my implementation.
Reason
Sometimes SVM mode works well more than cosine search
Value of Feature
Better search results in some cases

Yeah i know it is for in-memory vector store, and that is how i using this project. OK, I'll send PR soon.


Fix typos in Auth.ts

Hi @hsbakshi,
The function name has changed, we will fix the typo in our next release.
Thank you.


superscript  renders as subscript

When using the  tag, the result renders as subscript.

@martin-lorenz Yea I just checked it out and seems you were right, I had wrongly written the argument for the method which builds the subscript and superscript elements. I have fixed it with the latest release. PTAL.

Hi @privateOmega thank you very much for taking a look. I just installed 1.1.34, but  still renders a subscript format. Can you confirm that this fix has made it into 1.1.34? Thanks again!!!

@martin-lorenz I have double checked the issue and it seems like it was merged, released, and works with v1.1.34. I am attaching a screenshot of the feature being tried out. Maybe posting the usage and relevant part of html would help narrow down the issue.

Hi @privateOmega just noticed the same issue locally running 1.1.34 the super script are rendered as subscript.
With a simple HTML like this
const htmlString = `
<!DOCTYPE html>

    <meta charset="utf8" />

Hello world

`;

I get the following

I think the issue is that the npm package hasn't been rebuilt? Looking at node_modules/html-to-docx/dist/html-to-docx.esm.js I can see case"sup":return buildVertAlign("subscript") which shouldn't be the case from https://github.com/privateOmega/html-to-docx/commit/2fd87fd406a97732e24d7f191147638ee7053ced

The problem still persists.


reverse reveal

I use circular reveal on a cardview starting from top right corner. Now I also need a reverse of this animation, hiding cardview starting from bottom left corner. I couldn't do it . can you help me? thanks

Ah actually it seems that I done it right , just forgot to call INVISIBLE after reverse animation ends . it works fine now


Remove unused codes

Codecov Report
Base: 90.26% // Head: 91.28% // Increases project coverage by +1.02% :tada:

Coverage data is based on head (d5d9207) compared to base (dda7f75).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   90.26%   91.28%   +1.02%
==========================================
  Files          15       15
  Lines         267      264       -3
==========================================
  Hits          241      241
+ Misses         26       23       -3

Impacted Files
Coverage Δ

Sources/XConfigs/Extensions/UIView++.swift
82.35% <ø> (+6.67%)
:arrow_up:

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

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


lucetc: don't use define_zeroinit for guest_start data

After bytecodealliance/cranelift#1209, the semantics of
DataContext::define_zeroinit appear to only be for truly
zero-initialized data that won't have any relocations applied to it.
Since guest_start is clearly not that kind of data, move to using
DataContext::define instead.

@froydnj you should have a commit bit now, go ahead and merge your PRs once they go green

@froydnj you should have a commit bit now, go ahead and merge your PRs once they go green

I do not have a commit bit for lucet; you might be thinking of my commit bit for wasmtime?

My bad, I jumped the gun, @tyler will add you to the lucet group when he gets a minute

@froydnj you should have an invitation now :) Thanks!


Does this project have to be deployed on top of netlify?

Does this project have to be deployed on top of netlify?
I want to build it locally as a static site, can I?

Hi @shebaoting , this project has two main components to it:

Frontend user interface

This is a static site, and can be deployed to any static-site hosting platforms (e.g. S3 + CloudFront, Firebase Hosting, etc.)

Backend functions (functions directory)

These functions provide additional server-side functionalities (e.g. getting background image information, etc.)
They are currently written to be deployed to Netlify Functions
They should theoretically also work when deployed to other functions-hosting services (e.g. Firebase Cloud Functions, AWS Lambda, etc.) but the functions code will need to be rewritten a bit to match the request handlers signatures that's expected by these other services. The function definitions themselves will likely stay the same

Once you managed to rewrite the functions and deploy to a different hosting service, you'll need to set this environment variable in the .env file to point to where you deployed them:
SNOWPACK_PUBLIC_FUNCTIONS_URL=


fix(polyfill): fetch

Adds cross fetch as a polyfill for window.fetch | fetch
Necessary for use in the web-app to setup a fetch interceptor for use with Geo-blocking

Required by https://github.com/NibiruChain/web-app/pull/445


Front matter alias duplicates itself on save.

🐛 Describe the bug
When saving a file the alias tag value duplicates itself. Noticed that it happened a few times on that particular file. Although I think its just an edge case. I took a screen recording of the bug happening.
https://github.com/epwalsh/obsidian.nvim/assets/42723553/bdcf182e-ef10-4098-8c74-4c1278e0d6c2
Versions
❯ nvim --version
nvim --headless -c 'lua require("obsidian").info()' -c q
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1702233742

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info
[obsidian.nvim (v2.7.0)] Commit SHA: e2d6ce7b07941b0788177e1297699ad99c1470dc
[plenary.nvim] Commit SHA:<PHONE_NUMBER>25062427597964d81d30eaa42ab1e4
[nvim-cmp] Commit SHA: 538e37ba87284942c1d76ed38dd497e54e65b891
[telescope.nvim] Commit SHA: d90956833d7c27e73c621a61f20b29fdb7122709
ripgrep 14.1.0%

Hey @rileyhawk1417, I just pushed a fix in https://github.com/epwalsh/obsidian.nvim/commit/3b4c672e5b5246ba836e6bf52a9ef39c089516f5.

Hi @epwalsh thanks for the fix its working :)
Have been daily driving Neovim so having a plugin for note taking is a game changer 😄

Hi @epwalsh, this issue still seems to occur if there is whitespace following the header without quotes
# Heading<space>   duplicates the alias while # Heading does not and neither does # "Heading<space>"

Hey @pranavTripathi02, thanks for letting me know. I just fixed that in d1c8162.


Linemetrics are not calculated right on Samsung devices

Steps to Reproduce

Clone the project from following github repo: https://github.com/Letalus/auto_size_text_background.git
Run in terminal -->flutter pub get
Run in terminal --> flutter run

There are now two backgrounds to see - a red and a blue one. The red background is the background from the Text widget set in the style property. The blue background is the background calculated by the given linemetric. On iOS devices both backgrounds are the same. On multiple android devices like the Samsung S9 the backgrounds differ.
Expected result would be that the backgrounds dont differ.
Actual result is that on some android screens the result actually do differ.
My guess is that the linemetrics are not calculated right on some of the android devices. In my case, I need to access the linemetrics to calculate the background of the text. Yet due to the fact, that the linemetrics are not always right, the background is then calculated wrong. Here is the code where the linemetrics get calculated:
List<LineMetrics> _calculateLineMetric(BoxConstraints size, TextStyle? style, int? maxLines) {
    final userScale = widget.textScaleFactor ?? MediaQuery.textScaleFactorOf(context);

    final span = TextSpan(
      style: style as TextStyle,
      text: widget.textSpan?.text ?? widget.data,
      children: widget.textSpan?.children,
      recognizer: widget.textSpan?.recognizer,
      semanticsLabel: widget.semanticsLabel
    );

    final textPainter = TextPainter(
      text: span,
      textAlign: widget.textAlign ?? TextAlign.left,
      textDirection: widget.textDirection ?? TextDirection.ltr,
      textScaleFactor: userScale,
      maxLines: maxLines,
      locale: widget.locale,
      strutStyle: widget.strutStyle,
    );

    textPainter.layout(maxWidth: size.maxWidth);
    return textPainter.computeLineMetrics();
  }

And this is the code when the text widget gets laid out including the self painted background of the widget:
Widget text;
      text = Text(
        widget.data!,
        key: widget.textKey,
        style: style.copyWith(fontSize: fontSize),
        strutStyle: widget.strutStyle,
        textAlign: widget.textAlign,
        textDirection: widget.textDirection,
        locale: widget.locale,
        softWrap: widget.softWrap,
        overflow: widget.overflow,
        textScaleFactor: 1,
        maxLines: maxLines,
        semanticsLabel: widget.semanticsLabel,
      );

      return CustomPaint(
        painter: AutoSizeTextPainter(
            lineMetrics: lineMetrics,
            backgroundColor: widget.backgroundColor!,
            padding: widget.backgroundTextPadding ?? const EdgeInsets.all(8),
            radius: widget.backgroundRadius ?? const Radius.circular(20),
            textAlign: widget.textAlign??TextAlign.center
        ),
        child: text,
      );

Here are images from an Iphone 11, Samsung S9 and Samsung J5:
Iphone11:

Samsungs S9:

Samsung J5

Help here is greatly appreciated because I really don't know how to move on from here.

Logs

MacBook-Pro:example hottube$ flutter doctor -v
[✓] Flutter (Channel stable, 2.2.0, on macOS 11.2.3 20D91 darwin-x64, locale en-GB)
• Flutter version 2.2.0 at /Users/flutter
• Framework revision b22742018b (5 days ago), 2021-05-14 19:12:57 -0700
• Engine revision a9d88a4d18
• Dart version 2.13.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/hottube/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (5 available)
• SM J510FN (mobile) • 3485d4c3                  • android-arm    • Android 7.1.1 (API 25)
• SM G955F (mobile)  • ce0417140aad18e10c        • android-arm64  • Android 9 (API 28)
• iPhone 11 (mobile) • 00008030-001565561AE3802E • ios            • iOS 14.4.2
• macOS (desktop)    • macos                     • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
• Chrome (web)       • chrome                    • web-javascript • Google Chrome 90.0.4430.212
! Error: iPhone 11 is busy: Copying cache files from device. Xcode will continue when iPhone 11 is finished. (code -10)
• No issues found!
MacBook-Pro:example hottube$

</details>

Hi @Letalus
This seems to be specific to Samsung device only (Reproduces on my Samsung M02s)
Preview

Samsung M02s
K20 Pro

Reproduced on the following channels

stable
master

✅
✅

Check flutter doctor -v outputs for each channel below

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.0, on Microsoft Windows [Version 10.0.19042.985], locale en-US)
    • Flutter version 2.2.0 at C:\Users\Taha\Code\flutter_stable
    • Framework revision b22742018b (6 days ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java.exe
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.
[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.6)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31313.79
    • Windows 10 SDK version 10.0.19041.0
[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.1
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.56.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0
[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • def0ad20 • android-arm64  • Android 10 (API 29)
    • Windows (desktop)      • windows  • windows-x64    • Microsoft Windows [Version 10.0.19042.985]
    • Chrome (web)           • chrome   • web-javascript • Google Chrome 90.0.4430.212
    • Edge (web)             • edge     • web-javascript • Microsoft Edge 90.0.818.56
! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.3.0-13.0.pre.59, on Microsoft Windows [Version 10.0.19042.985], locale en-US)
    • Flutter version 2.3.0-13.0.pre.59 at C:\Users\Taha\Code\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1e35f4c0c6 (9 hours ago), 2021-05-20 03:14:01 -0400
    • Engine revision 67c537d41b
    • Dart version 2.14.0 (build 2.14.0-129.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.
[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.6)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31313.79
    • Windows 10 SDK version 10.0.19041.0
[✓] Android Studio (version 4.2.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.1
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.56.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0
[✓] Connected device (5 available)
    • Redmi K20 Pro (mobile)  • def0ad20 • android-arm64   • Android 10 (API 29)
    • Windows (desktop)       • windows  • windows-x64     • Microsoft Windows [Version 10.0.19042.985]
    • Windows (UWP) (desktop) • winuwp   • windows-uwp-x64 •
    • Chrome (web)            • chrome   • web-javascript  • Google Chrome 90.0.4430.212
    • Edge (web)              • edge     • web-javascript  • Microsoft Edge 90.0.818.56
• No issues found!

✅ : Reproducible ❌: Not Reproducible

hmm just as a general question: About which time frames are we talking with P4 labels? Are we talking here about months or years? I sadly wasnt able to find any information about this question.

@Letalus I checked this issue on the latest Flutter stable and master channels. It seems to be fixed as I don't see the issue anymore.
Looks like you updated the sample code; I used the latest sample code and the previous change at https://github.com/Letalus/auto_size_text_background/commit/3bc2b3eec622a2461dce1159d699275f1ed173f0 but it renders well as I can see. Verifying this on Galaxy Tab A7 Lite.

Demo

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.6 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (31 hours ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 123.0.6312.124

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.22.0-25.0.pre.5, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.0-25.0.pre.5 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider
      adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding
      /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3a837bd584 (72 minutes ago), 2024-05-06 23:03:25 -0400
    • Engine revision b7bfd94af7
    • Dart version 3.5.0 (build 3.5.0-131.0.dev)
    • DevTools version 2.35.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 124.0.6367.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Closing the issue as fixed on the latest releases. If you still experience this, please write in comments. Thanks!


post-pull-request-checks-automation fails with personal access tokens with fine grained access (OSOE-535)

See the error in this run. Looks like the Lombiq repositories use classic PAT because the problem didn't manifest in our repos.
Based on this comment using the REST resources via the gh api ... command should be a workaround. We can test this on OCC.
Jira issue

Yep, the type of the PATs is indeed different between OCC and the Lombiq repos.

Is this something we can change? (I tried looking into it but found nothing.) It would be easier if we could just use classic PAT for OCC.

In principle yes, but it would be better to do the workaround you linked to. Fine-grained PATs are better, and since in the OrchardCMS org we only need this for OCC (and only for one GH API call), it'd be better to keep using that.


[KYUUBI #1024][FOLLOWUP] Fix source release folder name

Why are the changes needed?

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #1030 (4fad69f) into master (05fc1c0) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1030      +/-   ##
============================================
- Coverage     80.67%   80.65%   -0.02%
  Complexity       14       14
============================================
  Files           159      159
  Lines          5837     5837
  Branches        657      657
============================================
- Hits           4709     4708       -1
  Misses          734      734
- Partials        394      395       +1

Impacted Files
Coverage Δ

...pache/kyuubi/sql/KyuubiQueryStagePreparation.scala
79.41% <0.00%> (-0.99%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 05fc1c0...4fad69f. Read the comment docs.

Thanks, merging to master/1.3


Bump Refinery to Latest Version

Bump Refinery
Update Refinery to latest version

closed by https://github.com/honeycombio/helm-charts/pull/349


Proposal for initialization syntax

Hi,
Right now best we can get with jvar is something like this:
jvar::Variant nestedData;
nestedData.createObject();
nestedData["p1"] = 10;
nestedData["p2"] = "test";

jvar::Variant data;
data.createObject();
data["prop1"] = "val1";
data["prop2"] = 1234;
data["prop3"] = nestedData;

Which is rather good, but still relatively awkward.
In JS, I would just write something like this:
var data = {
  prop1: "val1",
  prop2: 1234,
  prop3: { p1: 10, p2: "test" }
}

It gets even worse when we're talking about arrays.
In JS, there's map-filter-reduce and it's not a problem to take an existing array and filter/transform it for sending over the wire without any problems. In C++03 it is many times more code and rather bulkier. But at least things can be improved in more recent versions of C++.
E.g. using C++11 I was able to come up with this kind of syntax:
jvar::Variant data = v({
    { "prop1", "val1" },
    { "prop2", 1234 },
    { "prop3", v( { { "p1", 10 },  { "p2", "test" } } ) }
});

Which is not JS of course but so much better anyway!
This works with the following simple implementation of v:
#include <initializer_list>

struct prop {
    const char *name;
    jvar::Variant val;
};

jvar::Variant v(std::initializer_list<const prop>&& props) {
    jvar::Variant obj;
    obj.createObject();

    for(const auto& p : props)
    {
        obj.addProperty(p.name, p.val);
    }

    return obj;
}

So my question is, what do you think of introducing some similar syntax in jvar? Of course, as a separate C++11 and up feature, enclosed in corresponding defines.
I can also try to produce arrays/vectors conversion.
P.S. Our project seems to be finally moving to C++11 and probably even further to C++14. All these lambda functions, variable type inferring with auto, list initializers - are very tempting and make C++ almost as modern language, at last! :)

Happy new year!
Sorry for the delay.  I was dealing with Mac build issues.  And issues with GCC5.0.  Apparently, gcc5 changes it's ABI for strings.   http://stackoverflow.com/questions/34571583/understanding-gcc-5s-glibcxx-use-cxx11-abi-or-the-new-abi/34578283#34578283
This looks cool!  Most of my projects are C++11 now too.   I haven't mastered C++11 as much yet--but am aware of most features.  You had already added the C++11 option to jvar so the defines already exist.  Will you be making these changes?

Hi,
I added the PR, and in terms of syntax was able to achieve even better results, but haven't done much in terms of optimization.
I'm pretty sure it is possible to at least reserve memory beforehand when creating jvar objects and arrays. Right now it is allocated via addProperty/push on-the-go. I would appreciate if you reviewed the code and added necessary performance and memory allocation optimizations. Thanks!


Using multiple iOS devices

Everything is working well with the iPhone I used to setup homebridge.  I am having problem getting my other iOS devices to connect.  I thought as long as these devices are signed in using the same iCloud ID with keychain turned on, they should all work.  Can anyone help?

@ttgolf yeah, it should work... So on the other devices, are you not seeing the accessories?

No I don't see any accessories.  I can't even see the homekit menu under Settings/General.  When I open MyTouchHome on the other devices it just show blank.  I know iPhone I used to setup the system is syncing with iCloud because AppleTV sync is working (outside of home network).  I just don't know why it won't work with my other devices.    Still can't get them to work.

@ttgolf not sure why it's not working... did you enabled iCloud Drive?

Yes iCloud Drive is enable.  I am seeing any accessories in my iPad.  But I know it works if I invite my wife.  I just can't get more than one device using my ID.

That's super strange... what happens if you created another home on the other device and add a few rooms to it? Does the new home synced to other devices?

No. Just added a new home in my iPad but it's not showing up on my iPhone.  Both iPhone and iPad are using the same iCloud ID with iCloud Keychain and Drive on.  It makes no sense :-1:

For argument's sake, do other apps sync iCloud Drive files correctly? E.g. pages or Keynote? Does a document created on one device appear on the other(s)? Answer's probably yes, but worth asking.
Oh, and...

I can't even see the homekit menu under Settings/General.

Are you running iOS 9 on everything? That's not there on iOS 8 I don't think.

Yeah, HomeKit settings will only show up on Settings if there is a home on device. In his case, because the home didn't sync across devices, it's normal that HomeKit didn't show up in settings.

Also to note: HomeKit requires iCloud Keychain to be active. Don't think iCloud Drive is involved.

Where you able to resolve your issue?

I have iCloud Keychain disabled. HomeKit works fine.

@eyv its a matter of whether or not you can successfully share your homekit home with someone else

@AppleTechy see my updated comment.

@eyv sounds solid

@eyv This issue is old so my guess is it has been fixed but just want to confirm before I close it up as a courtesy

/me nods

I'm having a similar issue here;  When I add HomeKit on my iPhone, it's available and syncs over to my other IOS devices no problem, and everything works.  However, when I try to add the same HomeKit on someone else's IOS device, the HomeBridge isn't detected.  If I stop the service and change the username in config.json, I can then add the HomeBridge on that person's IOS device.  But then mine stops working obviously.  I tried adding them both at the same time, but one always fails.  It's like it's only accepting a connection from a single account.  I'm running HomeBridge on a raspberry pi, in case that's relevant.

Due to the security reason, HomeKit only allows one user to pair with the accessory directly. For other users, you'll have to share your home in HomeKit with them.
Sent from my iPhone

On Mar 5, 2016, at 7:21 PM, Aaron<EMAIL_ADDRESS>wrote:
I'm having a similar issue here; When I add HomeKit on my iPhone, it's available and syncs over to my other IOS devices no problem, and everything works. However, when I try to add the same HomeKit on someone else's IOS device, the HomeBridge isn't detected. If I stop the service and change the username in config.json, I can then add the HomeBridge on that person's IOS device. But then mine stops working obviously. I tried adding them both at the same time, but one always fails. It's like it's only accepting a connection from a single account. I'm running HomeBridge on a raspberry pi, in case that's relevant.
—
Reply to this email directly or view it on GitHub.

Thanks for the reply, I realized this shortly after I posted, and you're absolutely right.  Went to settings->home kit->(home name) and invited, works great.  Siri controls my TV, LED strip, and lights around the house now.  And everyone in the house benefits from the setup. This is great!

I found this just a little weird from Apple.
Sharing Home work well on both my and my girlfriend iPhone, but the weird thing is that she can't change anything from the shared Home.
Ex : We have two door garage in our house. I've set notifications for both doors. But if she only want notification for left door (where her car is), she can't...
That the missing parts from Apple 👎

Hi,
Same issue here. homebridge running on a CentOS 7 host.
Controlling the lights via a http request works instantly with Chrome/wget/curl/my homebridge setup and I can pair my iPhone. But as discussed I cant pair multiple devices.
I can invite the involved people and their iPhones/iCloud accounts from the Apple Home interface but any iDevice which is isn't logged into my iCloud account says 'Unavailable'  and iOS suggests setting up an 'Apple TV (4th Generation)' for remote access which does not make sense while connected to our WiFi.
An unfortunate case; I was very close to having everybody on the home control train.

I have this working with 4 devices on two different iCloud devices. Nothing special needed.

@jplongo on the home app you can set her to allow edit.

Yep I’ve seen this switch. But I think the main problem with Apple choice is that we can’t have custom Home by Phone. If she change something in home I have the same change on mine. That it’s not what I want.
Ex: I’m using Raspberry CPU temps with homebridge to check my pi temps. She don’t need to know that and she certainly remove this elements from favorite to clean her display.
If she do that temps widget hangs on my home too.

Ymmv for this
For my kids, I run a second instance of homebridge, so they can manage things the way they want to, and have there own automations.  But there are a lot of limitations with this approach, as you need a second ‘homehub’ for remote access, and your devices need to be okay with multiple homebridge’s.   For my kids control is just local, as I don't have a second Apple TV for them.
Sent from my iPad

On Oct 15, 2017, at 3:03 AM, JP Longo<EMAIL_ADDRESS>wrote:
Yep I’ve seen this switch. But I think the main problem with Apple choice is that we can’t have custom Home by Phone. If she change something in home I have the same change on mine. That it’s not what I want.
Ex: I’m using Raspberry CPU temps with homebridge to check my pi temps. She don’t need to know that and she certainly remove this elements from favorite to clean her display.
If she do that temps widget hangs on my home too.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Smart, itdon't correspond to my usage, but thanks for sharing. It can be helpfull

@NorthernMan54 You can add same device in other homebridge?

In my case I was able to control the same device from 2 instances of homebridge, but being able to do this depends on the plugin.  A bit of trial and error may be in order here, as everyone’s setup is different.
Sent from my iPad

On Oct 16, 2017, at 3:07 AM, toshibochan<EMAIL_ADDRESS>wrote:
@NorthernMan54 You can add same device in other homebridge?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


feat(sqllineage): Bump sqllineage to 1.4.3

Bumping sqllineage library to "sqllineage==1.4.3"
The reason for the change is to catch up with the improvements on the dependency. The upgraded version parses some queries using with statements correctly while the older versions cannot.
I'm also removing the fixed version of the sqlparse which was a transitive dependency of sqllineage since the mentioned issue in the comments have been fixed.

Looks like sqllineage dropped python 3.7 support, so this is failing CI
ERROR: Ignored the following versions that require a different python version: 1.4.0 Requires-Python >=3.8; 1.4.1 Requires-Python >=3.8; 1.4.2 Requires-Python >=3.8; 1.4.3 Requires-Python >=3.8; 23.3.23 Requires-Python >=3.8.1; 23.5.9 Requires-Python >=3.8.1

@hsheth2 Oh that is sad, I thought datahub is not on 3.7 too.
Do you plan to upgrade it? 3.7 is reaching its end and will stop getting security updates in one month from now: https://devguide.python.org/versions/ (on 2023-06-27)

@mmmeeedddsss I had been planning on dropping 3.7 when it hit end of life, but it seems like we're still getting a ton of downloads via 3.7 https://pypistats.org/packages/acryl-datahub so it may not happen immediately.

@hsheth2 Okay then I'm closing this PR and will repoen it when we stop support for 3.7.
Thank you for the discussion !

@mmmeeedddsss one other possibility is that we could use flags to require a newer version of sqllineage only for python 3.8+.
See this as an example https://github.com/datahub-project/datahub/blob/b3c790aab6c34c001efcca217a305b9478e5397f/metadata-ingestion/setup.py#L22-L23

@hsheth2 I just very randomly saw your previous suggestion and reopened the PR. Would the new version look like what you were asking?
Could you please review this change once again?

@mmmeeedddsss annoyingly it looks like they changed they tweaked the interface a little bit, so we're getting test errors on python 3.10 which is using the newer sqllineage version
e.g. https://github.com/datahub-project/datahub/actions/runs/5540723604/jobs/10113197629?pr=8098#step:6:4447

@hsheth2 Yes it seems so, then I need to unfortunately close this pull request once again :D


build: Some TypeScript issues were not being identified correctly

Remove types declaration from tsconfig.json

Looking at the documentation, setting this ignores all other @types/* and only uses the types you specify globally: https://www.typescriptlang.org/tsconfig#types

Use a DragListenerEvent type that is used in @deephaven/golden-layout for handling drags

Only pick the attributes that are actually used from JQuery.TriggeredEvent
Now both React and JQuery events can be passed safely

Converted the remaining styleguide examples from jsx to tsx
Remove dependency on @deephaven/tsconfig.json from each package

Only needed from the root itself

Fixes #1368

I'm not sure removing types is the right answer, but maybe we need to add jquery to types? By removing types, all @types/* are now visible globally which probably isn't what we want. Although as more libraries move to native TS, I think this becomes less of a problem
Or maybe we do want it this way. It seems to only expose declare statements from @types from what I can tell, so it shouldn't affect most of the types we have.
With this change you can have React.DragEvent as a type without any imports related to react. Which might not be bad. If you just have DragEvent it will pick the browser version though since react types export in a namespace

@mattrunyon I haven't noticed any weirdness of types. I'd rather use the default settings than override when possible.
When you say "all @types/* are now visible globally", what does that mean? The types are not visible on the global scope, you still need to import the correct module when using it.

@mofojed All things in the @types directory in node_modules
For example, Jest (which we want) declares things that are global in node_modules/@types/jest. That's why you can just call beforeAll or describe in any TS file and there's no complaint.
React adds its types to the global namespace, but doesn't declare that functions just exist AFAIK. With our existing setup, you cannot say React.DragEvent as a type without importing React into the file. With the change, you can. But that's probably fine considering that it's namespaced (DragEvent still refers to DOM event, not React's event) and it's only a type. I don't think any of the libraries (except Jest) declare functions/values that exist globally

@mattrunyon  I haven't noticed anything weird compared to previous behaviour.


test: add test for create with oauth2 generic resource

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


[BUG] Julia exits right away.

Details

Atom version: 1.41.0
Julia version: 1.3.0-rc4.1
OS: Windows 10 1903 build 18362.418
Package versions:

Atom.jl: 0.11.1
julia-client: 0.11.2
ink: 0.11.5

I've just updated Atom 1.40.1 -> 1.41.0. Julia:
Press Enter to start Julia.

Julia has exited.
Press Enter to start a new session.

Julia has exited.
Press Enter to start a new session.

Back on 1.40.1 with Atom.jl 0.11.2. Compiling...Success.

You may wan to watch on https://github.com/JunoLab/atom-julia-client/issues/642

I have the same issue.

Did you try un- and reinstalling julia-client?

Did you try un- and reinstalling julia-client?

I'll try that.

It fixed the issue for me, thanks !

Did you try un- and reinstalling julia-client?

I'll try that.

I've deleted .atom folder and reinstalled "uber-juno". Works nominally.

Windows 10. Atom updated to 1.41.0 and this problem started. Uninstalled julia-client, after which it refuses to reinstall. Log file extract below. I wiped Atom completely and started from a clean install - julia-client refuses to install, even from the command prompt, with admin rights and McAfee disabled completely. Also tried this from Anaconda terminal, as the error displayed stated that the Python executable could not be found. It is in the path and the PYTHON environment variable is set. Typing python at the same prompt as I'm running apm from found Python just fine (Anaconda3 - Python 3.7).
I copied the julia-client package from another machine and could get Julia running in an external console only.
Then the other machine updated Atom (automatic updates - I must remember to switch that off!) and the exact same problem started. Uninstalling the client led to the same problem - it refuses to reinstall with the same errors.  There is likely additional logging output above.
2461 verbose exit [ 1, true ]

Ok, I have no idea what's going on there.
If you're willing to help debug this further: Can you try the dev install instructions and report back?

Happy to. I'll wipe Atom on my home PC and start with a fresh install of 1.41.0. Will report back ASAP.

Clean Atom 1.41.0 install - I uninstalled and wiped the folders, including the packages.
Ran the dev installs from a Git bash and they all went without a hitch:
braam@Braam-PC2 MINGW64 ~
$ apm dev julia-client
Cloning https://github.com/JunoLab/atom-julia-client done
Installing modules done
C:\Users\braam\.atom\dev\packages\julia-client -> C:\Users\braam\github\julia-client

braam@Braam-PC2 MINGW64 ~
$ apm dev ink
Cloning https://github.com/JunoLab/atom-ink done
Installing modules done
C:\Users\braam\.atom\dev\packages\ink -> C:\Users\braam\github\ink

braam@Braam-PC2 MINGW64 ~
$ apm dev language-julia
Cloning https://github.com/JuliaEditorSupport/atom-language-julia done
Installing modules done
C:\Users\braam\.atom\dev\packages\language-julia -> C:\Users\braam\github\language-julia

braam@Braam-PC2 MINGW64 ~
$ apm dev latex-completions
Cloning https://github.com/JunoLab/atom-latex-completions done
Installing modules done
C:\Users\braam\.atom\dev\packages\latex-completions -> C:\Users\braam\github\latex-completions

Ran Atom in dev mode and Julia prompt started up smoothly. All good!
Is there a log file or similar somewhere that I can post? If needed, I'll wipe Atom again and repeat the exercise.


Why do you scale the label when resizing the image?

First of all, great job you did here! I have one question, something I do not get my head around.
 When I look into your code I understand you do scale the labels after resizing the image (main/mono/utils/do_test.py lines 97ff). I have images that I just want to resize to fit the network dimensions. You explain well, that this affects the intrinsics. But why would you scale the depth labels using the to_scale_ratio? Applying the to_canonical_ratio should suffice, shouldn't it?

to the best of my understanding -- the transformer or convnet backbone requires a fixed input resolution.  their solution does, indeed, scale the depth predictions rather than scale the image.  however, there still needs to be a rescaling/padding simply to conform the image to the resolution that the neural network is expecting

(and that rescaling must also propagate through the intrinsics)

I understand the image and depth need to be resized to fit the neural network input dimension. My understanding is that the depths can just be resized without having to scale the depth as well. I understand that this scaling is done in the code, though. I might be mistaken...

Let's say you have a picture you want to infer depths on.  You want to fit the whole thing into the network, so you have to resize it.  In doing so, the intrinsics of the image change.  Crucially they change to some random thing, and are not forced to focal length = 1000 pixels.  The network was trained with f  = 1000.    For example, a typical sized person at a meter away might be 250 pixels wide, say.  If the camera intrinsics are f = 500, then that person will be 125 pixels wide.  But the network is unaware of the true focal length, so it will report the person to be 2 meters away.  Hence the need to scale the depths by the ratio of the true focal length / 1000.

This is a very good explanation @jbrownkramer, Thanks.


Bugfix: Include space in regex capturing group

When the get is not part of the error message, the space won't
appear either, so this regex won't match a genuine error such as:
"go<EMAIL_ADDRESS>invalid version: go.mod has post-v0 module path \"github.com/jenkins-x/jx-api/v3\" at revision v0.0.25\n"

This is a bug from https://github.com/dependabot/dependabot-core/commit/b6fa7eecf7dfaaf1dbd30c80c1838a9e27484e79#diff-491ccbbf0ae3cfe37dca8fba172104cc5466631d946daf9639deac37b014692eR21
I also double-checked the other regexes, and they already correctly include the extra space:
https://github.com/dependabot/dependabot-core/blob/0fd174fd3b49d308030cf57373f106b4fc3aed9f/go_modules/lib/dependabot/go_modules/file_updater/go_mod_updater.rb#L40-L42
The error is only thrown by the tests when upgrading to go 1.18, but
I broke it out as a separate commit because I'm confident this bug is not version-dependent...
It's just that the tests only exposed it in go 1.18. There is a high probability this is present in
go 1.17 and older code.

The bundler test failure is unrelated and tracked in https://github.com/dependabot/dependabot-core/issues/4859.


[Update Request]: Update DuckStudio.FufuDevTools version 2<IP_ADDRESS>0

What type of update are you requesting?
A change to the package metadata
Current Package Identifier
DuckStudio.FufuDevTools
Package Version
2<IP_ADDRESS>0
Please describe the changes you would like to see
ReleaseNotes are changed:

Close with reason: Duplicate of #189988;

Maybe it not Duplicate with any issue...

Close with reason: Duplicate of #189988;

#189988 is update DuckStudio.FufuTools
And this issue is update DuckStudio.FufuDevTools


Cleanup website team

It feels like these could be cleaned up https://github.com/orgs/flathub/teams/website

This has been done


Base image vulnerabilities

Hi Team,
Our scanning tools ( blackduck ) are reporting base image vulnerabilities for the OPAL version 7.2.2 (we found 7 critical and 7 high ),  these issues are not related to OPAL source code. Please address these issue as soon as possible to make OPAL as vulnerability free.
Example :
debian: libzstd1/1.4.8+dfsg-2.1/amd64  - BDSA-2019-5223
Zstandard command-line utility is vulnerable to information disclosure via improper default permissions on output files. Correct file permissions are only set at completion time which could allow a local attacker to read or write to a file during compression or decompression.
Note: The initial fix for this vulnerability was incomplete and a further fix was required. This was disclosed as CVE-2021-24032(BDSA-2021-2294).

Do you know if your tool takes into consideration only the base image or the other attributes of the image?
For example, if the base image has a package with vulnerability but we uninstall it in the next step, will it be able to detect it?
Another question is whether this tool is free to use if we want to check it ourselves?
And last one, do you have a recommended base image that you use, it would be great if you want to help us with this and contribute to Open Source 🥇

Hi @obsd , We are using blackduck  enterprise edition , it will scan all attributes of the image including base images. Please upgrade you base images to latest versions and replace/update the packages which got critical vulnerabilities.
You can use below scanning tool locally.
https://github.com/aquasecurity/trivy

Hi @rgidda, thanks for the details and the link :)
Just opened a ticket on this (PER-8300), we will let you know once we get to it.
Let us know if it is blocking you or if you want to help solve this issue, we will be glad to help.

hi @obsd
I have made an attempt at this. All debian vulnerabilities are resolved in these changes, however there seems to be an issue with OPA running.  In this commit there are docker compose logs to see this sort of log running every couple of seconds:
opal_client.engine.runner               | INFO  | Running policy engine inline: opa run --server --addr=:8181 --authentication=off --authorization=off --log-level=info
opal_client.engine.runner               | INFO  | Running policy engine rehydration callbacks
https://github.com/devine12/opal/commit/f1cbc2b61b0825e9c525a04a4277b65a0be80821

Hi @devine12
Thanks for sharing it with us.
I think that what happens is that our watchdog can't identify OPA running so it tries to run it again.
Can you set the log level to debug it may help us understand this better, anyway, I will ask someone from the team to take a look.

Hi @devine12 , there can be many reasons why OPA restarts in alpine linux.
We did use alpine before for OPAL and moved away towards the official python docker image due to build-time issues, stability issues and DNS issues.
It does look like they finally fixed it in alpine 3.18 - we'll have to check.
@obsd for now i suggest sticking with the least vulnerable official python base image and patch it accordingly until we can field-test alpine stability.

Hi @asafc  and @obsd -
The restarting was fixed by switching asyncio.wait -> asyncio.gather
see https://github.com/permitio/opal/pull/534/commits/68f1e6a2d9c02aa3c203911cce3ee8b1c73b4842

Cool @devine12, is it working now with the new image?
If you can test it we will be glad to get this code contribution from you
Also, have someone from Permit that will guide you on how to make it ready to merge into the main project

Hi @devine12 , thank you very much, your PR is much appreciated!
I will talk with this feature owner and ask him to review this in his next OSS window, once we merge it I will let you know.
Can you send me a private message in our community Slack (It's Oded BD) so I can update you there?


Remove viewURI parameter from HUBContentOperationActionObserver API

Currently API of HUBContentOperationActionObserver looks like this:
- actionPerformedWithContext:viewURI:featureInfo:connectivityState:
Since viewURI is a part of HUBActionContext we can remove it. The final API should be:
- actionPerformedWithContext:featureInfo:connectivityState:

Implemented in #116


Support Cluster Upgrade through automation

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Upgrade Master Nodes on an existing terraform deployed oke cluster
Upgrade Worker Nodes on an existing terraform deployed oke cluster

New or Affected Resource(s)

Potential Terraform Configuration

# Copy-paste any Terraform configurations for how the requested feature may be used.

References
https://docs.cloud.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengupgradingk8smasternode.htm
https://docs.cloud.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengupgradingk8sworkernode.htm

Hi,
This issue should be in https://github.com/oracle-terraform-modules/terraform-oci-oke.
Can you please raise it there?
Thanks


chore(pingcap/tidb): disable status report for unstable mergedci

The following pipelines has a success rate of less than 90% in the last three days, disable the reporting, and wait for the repair pr finished.

merged_e2e_test
merged_integration_copr_test
merged_sqllogic_test

/merge

/hold

/unhold @purelind please notify the owners to fix the issues.

/unhold

/cc @yibin87 @xuyifangreeneyes After the relevant instability test is fixed, the status of the pipeline will be opened again to report.

success rate of merged_e2e_test  https://prow.tidb.net/?repo=pingcap%2Ftidb&type=postsubmit&job=pingcap%2Ftidb%2Fmerged_e2e_test
success rate of merged_copr_test https://prow.tidb.net/?repo=pingcap%2Ftidb&type=postsubmit&job=pingcap%2Ftidb%2Fmerged_integration_copr_test


Create Posts “put-vs-patch”

Automatically generated by Netlify CMS

👷 Deploy Preview for monetaboot processing.

Name
Link

🔨 Latest commit
2006753f9bf721d6941665af034227dfef647574

🔍 Latest deploy log
https://app.netlify.com/sites/monetaboot/deploys/624dd3e55b3f60000905dbaf


Add MLflow, Kubeflow or Metaflow

MLflow: https://github.com/mlflow/mlflow
Kubeflow: https://github.com/kubeflow/kubeflow
Metaflow: https://github.com/Netflix/metaflow
Amazon SageMaker: https://aws.amazon.com/sagemaker
Neptune: https://neptune.ai

Compare

https://valohai.com/blog/kubeflow-vs-metaflow/

https://neptune.ai/blog/mlflow-vs-kubeflow-vs-neptune-differences

Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications

The main drawback of Argo, other than its messy YAML files, is that it can only run on K8s clusters, which are only available in production. If you want to test the same workflow locally, you’ll have to use minikube to simulate a K8s on your laptop, which can get messy.
Enter Kubeflow and Metaflow, the two tools that aim to help you run the workflow in both dev and prod environments by abstracting away infrastructure boilerplate code usually needed to run Airflow or Argo. They promise to give data scientists access to the full compute power of the prod environment from local notebooks, which effectively allows data scientists to use the same code in both dev and prod environments.
Even though both tools have some scheduling capacity, they are meant to be used with a bona fide scheduler and orchestrator. One component of Kubeflow is Kubeflow Pipelines, which is built on top of Argo, and it’s meant to be used on top of K8s. Metaflow can be used with AWS Batch or K8s.
Both tools are fully parameterized and dynamic. Currently, Kubeflow is the more popular one. However, from a user experience perspective, Metaflow is superior, in my opinion. In Kubeflow, while you can define your workflow in Python, you still have to write a Dockerfile and a YAML file to specify the specs of each component (e.g., process data, train, deploy) before you can stitch them together in a Python workflow.
In Metaflow, you can use a Python decorator @conda to specify the requirements for each step—required libraries, memory and compute requirements—and Metaflow will automatically create a container with all these requirements to execute the step. You save on Dockerfiles or YAML files.
Metaflow allows you to work seamlessly with both dev and prod environments from the same notebook/script. You can run experiments with small datasets on local machines, and when you’re ready to run with the large dataset on the cloud, simply add @batch decorator to execute it on AWS Batch. You can even run different steps in the same workflow in different environments. For example, if a step requires a small memory footprint, it can run on your local machine. But if the next step requires a large memory footprint, you can just add @batch to execute it on the cloud.

Split to

https://github.com/Hongbo-Miao/hongbomiao.com/issues/9496
https://github.com/Hongbo-Miao/hongbomiao.com/issues/9497


IGNITE-8435 StorageException is handled like NodeStoppingException du…

…ring failing transaction commit

The ticket is resolved. Closing PR