Environment Lights

I have to say that I'm very enthusiastic about this enhancement and here is why:

Everything we can see, every beauty comes from lights. They are the main factor of every visual things and so our physical rendering SDK. From spectacular to realistic results, everything is about lighting.
Sceneform had a big lack on this part and was archived just after the ARCore HDR lighting release.
Sorry for original developers on this part but just as a quick example setUseHdrLightEstimate(boolean) was defined in 5 different classes calling each others every frames.
As an other example, the directional light retrieved from ARCore was implemented as a SunNode which could have been great considering it should correspond to an anchor in the real world. But the fact is that it was enormously frame consuming for just handling a direction and intensity (you will be convinced when testing this release).
This PR is the entry point to Kotlin migration and every new features will also be written in Kotlin.
This will bring a lot to Sceneform Maintained which can actually be pretty hard to understand since everything is fragmented in not very clear classes.
As a quick example, this PR removes 5 unnecessary/understandable classes in favor of a unique EnvironmentLights.kt with only 350 lines of code and only 4 internal calls: EnvironmentLights(scene: Scene, assetManager: AssetManager), setSessionConfig(config: Config), doFrame(frame: Frame) and destroy()
The old LightProbe was the last SFB user so this PR is opening the gate to a big cleanup of unused classes and most important, we will be able to remove the SFB, JNI and lull parts.

Let's stop speaking and see what a good light management is bringing

Help wanted!!!!
Lightning could just be about applying the right light physical functions like Filament is doing very nicely (if you want to go further: Filament Materials Guide) but Sceneform Maintained is facing the challenge of applying ARCore guessed values to Filament concrete values.
Over than letting users chose from Realistic or Spectacular depending on their usage, we inevitably have to define a static ajustement factor value between the estimation and the rendering.
For that, here comes, included in this PR, a good friend app that let's you adjust indirect/directional lights, enabled ARCore light estimation modes and share annotated screenshots.
@RGregat @imbrig @grassydragon @issacclee @Venthorus @miftahulbagusp @suryanadiminti99 @fvito @KonsanAlide @Methew5 @Oleur @senthil5053 @D-Lav @VojtaMaiwald @SimonMarquis or anyone seeing this PR, we need as much as possible annotated screenshots of various lighting conditions to refine the magic conversion numbers.
Could you install the sample app available or soon (pending publication validation when writing) here Google Play - AR Environment lights and send your screenshots here?
The sample source code is in samples/environment-lights
@devbridie Could you have a quick look here to confirm that every lighting estimation is called correctly:
https://github.com/ThomasGorisse/sceneform-android-sdk/blob/56b281da1d73002a33148709580da27249ca2add/core/src/main/java/com/google/ar/sceneform/lights/EnvironmentLights.kt#L1-L396
@prideout @pixelflinger @romainguy @bejado I have annotated with todos some parts of this PR concerning the camera exposure, defaults indirect/directional light intensities and ARCore cubemap to reflections texture parts, would you mind if I mention you on the review comments?
Sorry for the spam but this PR is a big entry point to a new world for Sceneform Maintained and we want to be sure to have a good/clean restart.
Thanks

Just taking a precursory look for now, but the results look fantastic! Great work here.
I'm going to be out of office for the next two weeks but will try to slot in some time to look over the implementation.

Absolutely bonkers!

@devbridie You (ARCore team) are half part (Filament for the other half) responsible of those great results and it confirms one more time that your versions are better and better.
BTW, thanks for your quick configuration push when we have a device issue.
And I also confirm that a lot of leaks are gone with the 1.26 specially with the Image reader.

Some info about this:
//    private static final float ARCORE_HDR_LIGHTING_CAMERA_APERATURE = 1.0f;
//    private static final float ARCORE_HDR_LIGHTING_CAMERA_SHUTTER_SPEED = 1.2f;
//    private static final float ARCORE_HDR_LIGHTING_CAMERA_ISO = 100.0f;

Filament uses a physically based camera model, with aperture, shutter speed, and sensitivity (ISO). This plays nicely with physical light units (for instance if you measure the sun outside on a sunny day in California you'll get ~110,000 lux and if you set your camera settings to ƒ/16 1/125s ISO 100, exposure will be correct). However many engines use "relative exposure" instead, where exposure is just a float and set to 1.0 by default. ARCore's light estimation was designed to work with those engines and that's why the constants above are what Sceneform uses. When used together, these constants yield an exposure factor of 1.0. There is now an API in Filament (Camera.setExposure(float)) which does this for you, but all it does internally is:
    void setExposure(float exposure) noexcept {
        setExposure(1.0f, 1.2f, 100.0f * (1.0f / exposure));
    }

So you have two choices: keep a relative exposure model or scale light intensities. To do so you should be able to multiply the values provided by ARCore by 1.0 / log2((aperture * aperture) / shutterSpeed * 100.0f / sensitivity) (source). This should raise ARCore's values to something that's physically plausible for the chosen exposure.
Filament also provides a (native) library called libiblprefilter that lets you do what cmgen does at runtime, but on the GPU. You may find it useful if you want developers to be able to load an arbitrary env map at runtime. On the Java side, the API is part of filament-utils-android, see IBLPrefilterContext.

Awesome work! I do my best to collect as many annotated screenshot as possible!

Thanks for the clarification and advice.
I will respond to the line code comments after pushing.
I'm quite near from the final result but I need one or two more nights with my bedside book/bible
I'm not physically based rendering engine fluent but I think I can now at least understand a Filament team discussion.
Forced directional light color for test purposes to (RGB) 1.0, 0.0 ,0.0

Still some work to do on the spherical harmonics and reflections.
@romainguy

So you have two choices: keep a relative exposure model or scale light intensities. To do so you should be able to multiply the values provided by ARCore by 1.0 / log2((aperture * aperture) / shutterSpeed * 100.0f / sensitivity) (source). This should raise ARCore's values to something that's physically plausible for the chosen exposure.

From what I saw on different engines (mostly Unreal - Physical Lighting Units), the unit-less intensity has been deprecated in favor to cd and lux.
More over, that makes the sdk lighting usage more constant/consistent for different cases including non AR usage.
So I went to the intensity scaling solution.
val Camera.ev100: Float
    get() = log2((aperture * aperture) / shutterSpeed * 100.0f / sensitivity)

val Camera.exposureFactor get() = 1.0f / ev100

Filament also provides a (native) library called libiblprefilter that lets you do what cmgen does at runtime, but on the GPU. You may find it useful if you want developers to be able to load an arbitrary env map at runtime. On the Java side, the API is part of filament-utils-android, see IBLPrefilterContext.

/**
 * ### Utility for decoding an HDR file and producing a Filament environment resources.
 *
 * Consumes the content of an HDR file and optionaly produces the results
 *
 * @param reflections the reflections texture with a specular filter. Keep it null if you don't need
 * it.
 * @param ibl the indirect light. Keep it null if you don't need it.
 * @param skybox the environment map. Keep it null if you don't need it.
 */
fun HDRLoader.loadHdr(
    assets: AssetManager,
    hdrFileName: String,
    reflections: ((Texture) -> Unit)? = null,
    ibl: ((IndirectLight) -> Unit)? = null,
    skybox: ((Skybox) -> Unit)? = null,
    error: (Exception) -> Unit = {}
)

...and I confirm that I'm using only one IBLPrefilterContext, EquirectangularToCubemap, SpecularFilter instance per Engine context.
Do you think it's reasonable to apply the Spectacular Filter (Launch the heaver computation. Expect 100-100ms on the GPU.) to the AR ML Cubemap or should I just call the setImage() on the unique Texture instance ?

The ARCore ML cubemap is small (16x16 per face), it seems perfectly reasonable to run it on the GPU, it shouldn't take 100ms. It will however take GPU time away from scene rendering, so it's a tradeoff. Texture.generatePrefilterMipmap() will do the same as libiblprefilter, except on the CPU. It was meant for ARCore's ML cubemaps and should take ~1ms on a Pixel 4 for a 16x16 cubemap.

@ThomasGorisse  Hi Thomas,  I've been busy with some company affairs these days. I've seen your notice. I can't submit the test results to you because I don't bring a test cell phone. Now I've taken some pictures. I don't know if it's still time. Maybe you need some videos yet?
I had saved all screenshots  and video files to the github directory:  https://github.com/KonsanAlide/sceneform-android-sdk/tree/master/EnvironmentLightsTest
some files such as :

@ThomasGorisse I'm sorry for my lateness. I'm surprised at what you did，it's a very meaningful thing，i support you very much, if you need other help, please tell me.
I am also changing some content recently for this SceneForm project. My AR community application is very unstable. For example, the environment detection fails due to the rotation of the mobile phone, and the models ware lost. For example, some models suddenly disappear after moving a certain distance, such as a crash of the program, many, many. Maybe I need to study filament next, which is a very headache and difficult thing.

@ThomasGorisse I found  the pictures in the previous comment can't opened, following are some of them.

And total screenshot files and video had uploaded in: EnvironmentLightsTest

![Screenshot_20210907_101124_com gorisse thomas ar environmentlights](https://user-images.githubusercontent.com/3441535

I'm a little bit late to this game :)
Here are some annotated screenshots https://github.com/RGregat/sceneform_environment_test

Better/Faster/Stronger
...and more dynamic with the server side models and environments (@romainguy including HDR and KTX).
...and funnier with the reflections skybox = Move inside a virtual environment with your phone or see what ARCore is actually seeing.
There is so much app ideas coming from this PR.
Test app on Google Play: https://play.google.com/store/apps/details?id=com.gorisse.thomas.ar.environmentlights

Hello there! I would like to use Environment Lights on a Video texture. Could you provide an example and give me a little help?

@MihajloAndrejicNis Please create a new discussion instead of here.
You can try this but it's very experimental and consuming.:
val surfaceTexture = SurfaceTexture(0)
surfaceTexture.detachFromGLContext()

val surface = Surface(surfaceTexture)
player.setSurface(surface)

val texture = Texture.Builder()
    .sampler(Texture.Sampler.SAMPLER_EXTERNAL)
    .format(Texture.InternalFormat.RGB8)
    .build(Filament.engine).apply {
        setExternalStream(
            Filament.engine, Stream.Builder()
                .stream(surfaceTexture)
                .build(Filament.engine)
        )
    }

and them apply the texture to the environment on your stream frames:
val cubemap = Filament.iblPrefilter.equirectangularToCubemap(texture)
sceneView.environment = Environment(
    indirectLight = IndirectLight.Builder()
        .reflections(Filament.iblPrefilter.specularFilter(cubemap))
        .build(),
    skybox = Skybox.Builder()
        .environment(cubemap)
        .build()
)

If you have great results, please create a PR with the sample.

Hey Thomass,
do you still need annotated screenshots or any other help with this PR?

@RGregat thanks for asking but not yet.
I'm style working on the lasts little details to make sure every ARCore lightning values are correctly applied to Filament lights.
I'm currently a little bit locked by the specular filter wich is completely blurring the AR cubemap reflections and by the choice between a Directional or Sun light.
It tooks me a lot of time to figure out the correct ARCore outputs formats since the documentation is very light but every data seems realistic now.

congrats on the merge Thomas, this is such an important feature for AR !

Thanks @issacclee
I have to admit it has been a lot of work to make things simple and realistic (right ARCore values applied to right Filament entities)
I will release soon and update the .md.
Note that this release will probably be for now the end point of future shared improvements coming from myself.
Over contributors can still make PR like @fvito and @grassydragon awesome work here: https://github.com/ThomasGorisse/sceneform-android-sdk/pull/93 or @RGregat fixes like here: https://github.com/ThomasGorisse/sceneform-android-sdk/pull/150
The fact is that I spent days and nights working on this repo and even if I love it, I didn't get even $1 of sponsoring in one year of work.
I'm not asking for sponsoring from contributing or basic users but I see a lot of apps on the store using Sceneform Maintained with billions of paying users for only 3 lines of code because Sceneform is doing all the job.
This repo is not just a little library for helping Android developers making app simpler but it's a complete SDK which let developers create an AR app.
So, for now, I make the choice to work on private remunerative apps until the spent time sharing new features (Depth point, instant placement, ML,...) and bug fixes is bringing me even $1 of revenue sharing.
One more time, it's not against the community but it seems normal to get a little financial return for my daily work when people/companies make billions of users pay for it.

The new version of the testing app is available here: https://play.google.com/store/apps/details?id=com.gorisse.thomas.ar.environmentlights


update pypi publish workflow

The workflow is updated with ghga-de/gh-action-pypi (An example use of it is available on ghga-transpiler).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

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

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
1021

Relevant Lines:
1081

💛  - Coveralls


Implement refresh functionality for the refresh buttons

Now appropriately refreshes the view with the latest content. The refresh button from Resources was removed, as it'll update whenever anything updates (e.g. updating the scene will update the resources view). Maybe in the future the resources view should be per-scene rather than all of them as well.
cc @jacobcoughenour

When will this land in the live extensions? Is there anything I can do to make extensions update quicker? Anything blocking you from upstream?


Upgrade deprecated runtime nodejs14.x

CloudFormation templates in config-report have been found to include a soon to be deprecated Lambda function runtime (nodejs14.x). The affected templates have been updated to a supported runtime (nodejs16.x).
Please note, this pull request has been generated by a bot; please check the base branch and files changed before merging.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tried to manually update ConfigReport.template.json but it doesn´t work, it will revert back to nodejs14.x for some reason.


New version: Glyphy v0.6.0

Registering package: Glyphy
Repository: https://github.com/cormullion/Glyphy.jl
Created by: @cormullion
Version: v0.6.0
Commit: 626ce01319cc59d7caf8b900284a56a7319999a3
Reviewed by: @cormullion
Reference: https://github.com/cormullion/Glyphy.jl/issues/4
Description: I will look for you. I will find you. And I will print you.

[noblock] I'd like to skip the releases before v0.6 and just go with v0.6. Sorry... :)


Roll engine 00f23b2e7356..d3c60acef82c (2 commits)

git@github.com:flutter/engine.git/compare/00f23b2e7356...d3c60acef82c
git log 00f23b2e7356..d3c60acef82c --no-merges --oneline
2019-09-18<EMAIL_ADDRESS>More controls for Screenshot tests (for web) (flutter/engine#12284)
2019-09-18<EMAIL_ADDRESS>Roll src/third_party/skia 8391bac5c6f0..f19f9caab2b4 (8 commits) (flutter/engine#12341)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


Add ext- prefix to json data and support call with -ext/vendor/rep

ext-vendor/repo or ext-name is the current format used in composer itself.
Supporting this syntax will allow composer dependencies solver to call pickleweb directly before calling pickle

I will write a full spec about that. It may not be as easy than expected. A lot of codes must change to actually support that. So maybe getting composer/pickle to simply remove the ext- while calling pickleweb would be much easier.


Create "Profile detail" page

This page will have details about the profile:

sent payments
received payments
uploads
downloads
address/QR code

This page should exist, but should be for a given address, not profile.

Not necessary anymore, because these details are combined into the profile page.


Use pyarrow.substrait to execute scans on Pyarrow Datasets

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The current Dataset TableProvider is ugly and converts DataFusion Exprs to Pyarrow expressions in large match statements. I propose we move towards using Substrait as the method for translating from DataFusion to / from Pyarrow. This was not available yet when this TableProvider was made.
Describe the solution you'd like
Now that both Pyarrow and Datafusion support substrait we could clean up and improve the Pyarrow DataSet TableProvider and ExecutionPlan by using pyarrow.substrait to execute the scan.
Describe alternatives you've considered
Keep the existing ugly Dataset code.

Hi @kylebrooks-8451. I'm working on thinking about what would be a better API / protocol for datasets in https://github.com/apache/arrow/issues/33986#issuecomment-1542788913, and I'd welcome your input. Making Substrait expressions part of the dataset API is something we are considering, but it's not yet clear the ecosystem for it is strong enough yet.


[labs/router] Base routes (without slash) appear not to match

Which package(s) are affected?
Other/unknown (please mention in description)
Description
https://github.com/keviddles/lit-routing-bug
If I define the following route definitions:
@customElement('x-parent')
class XParent extends LitElement {
  private _routes = new Routes(this, [
    { path: 'some-path/*?', render: () => html`<x-child></x-child>`},
    { path: '', render: () => html`X-Parent Blank Match`},
  ], {
    fallback: {
      render: () => html`X-Parent Fallback Route`,
    }
  });
  render() {
    return this._routes.outlet();
  }
}

@customElement('x-child')
class XChild extends LitElement {
  private _routes = new Routes(this, [
    {path: 'child/foo', render: () => html`X-Child foo`},
    {path: '', render: () => html`X-Child Blank Match`},
  ], {
    fallback: {
      render: () => html`X-Child Fallback Route`
    }
  });
  render() {
    return this._routes.outlet();
  }
}

The URL /some-path fails to match any routes within <x-child />, and its this._routes.outlet() returns undefined (though <x-child /> itself renders fine, as demonstrated in the repo).
I would expect the URL /some-path to match the empty path: '' route, or, failing that, the fallback route.
The URL /some-path/ (with a trailing slash) matches the base route correctly.
Reproduction

git clone https://github.com/keviddles/lit-routing-bug
cd lit-routing-bug
pnpm install
pnpm start
Navigate to localhost:5173
Click on the link /some-path. Observe no text matching X-Child Blank Match. (It should appear).
Click on the link /some-path/. Observe text matching X-Child Blank Match.

Workaround
I have not found a workaround.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
2.4.1
Browser/OS/Node environment
Browser: Chrome 106

@AndrewJakubowicz Mind taking a look for initial triage?

Unsure whether to categorize this under a bug/feature request or if this is working as intended. Justin can weigh in once back from vacation.
This happens because we use tail groups for Nested Routes. E.g.:
The parent declares a pathname: some-path/*?, which contains /* to signal a tail group. We create a URLPattern from this pattern. However when we match against the pattern, it's sensitive to trailing slashes.
Navigating to some-path/, returns a pathname group containing the empty path: '' which then matches the child route.
However, navigating to some-path (without trailing slash) does not match the parent URLPattern and thus we never even enter the childs Routes.
Tested in Chrome dev tools console:
const pattern = new URLPattern({ pathname: "some-path/*" })

console.log(pattern.exec({pathname: "some-path/"}).pathname.groups) // -> {0: ''}

console.log(pattern.exec({pathname: "some-path"})) // -> null

I noted a similar conversation in the discussion for URLPattern. In that thread, it's suggested that adding {/}? to the pattern enables an optional trailing slash, which does appear to match the second example:
const pattern = new URLPattern({ pathname: "some-path{/*}?" })
console.log(pattern.exec({pathname: "some-path/"}).pathname.groups) // -> {0: ''}
console.log(pattern.exec({pathname: "some-path"})) // -> {hash: {…}, hostname: {…}, inputs: Array(1), password: {…}, pathname: {…}, …}

However, adding that pattern still doesn't cascade down to the X-Child component's routes.


[VS Code] Could not load file or assembly 'System.Runtime.Serialization, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.

Error:
Could not load file or assembly 'System.Runtime.Serialization, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.735

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.20.1

platformName
MacOS

platformVersion
17.4.0

Hey @ijakaric , thanks for reporting. This indicates a corrupted install (we have a check in place that should give you a better error message, but it looks like it may be buggy). Could you try uninstalling and reinstalling the extension?


implied index-entry-list not recognized

Although the index spec is confusing on this, it appears to indicate that if an index-group has a single ul element then index-entry-list is implied:

... or (2) there must be only one child that contains entries and it must be a ul element whose epub:type attribute value will have the implied value of index-entry-list ...

(I don't understand what "will have" means here, though. Is it suggesting that explicitly declaring is illegal?)
I'm getting errors if the value is not explicitly declared, however, which seems to come from the html usage context (which looks incorrect) that states the opposite, that it has to be explicit:

must contain one and only one element carrying the child semantic index-entry-list

Good catch, thanks. I agree the "will have" wording sounds weird, but I thing you got the gist in your first interpretation: if it's the single ul the property is implied but can still be set explicitly.

@mattgarrish do you have a test case? I can't reproduce here, the schema  does contain the check for implied entries...

and btw, the HTML usage context

must contain one and only one element carrying the child semantic index-entry-list

is not incorrect: as I recall "carrying the child semantic" was our way of saying it had the property, whether implied or explicit.

"carrying the child semantic" was our way of saying it had the property, whether implied or explicit

That's awfully confusing. Whenever I see "carrying" used in markup it indicates that the feature must be present, so if I only looked at the usage context I'd expect I'd have to explicitly call out all the semantics.
I know this is the wrong forum, but the usage contexts would be clearer if they ended with ", whether explicit or implied".
But back on topic, when I validated the linear algebra sample in the edupub repo I got a whole host of these errors that only would go away if I added the semantic explicitly:
https://github.com/IDPF/edupub/tree/master/samples

That's awfully confusing. Whenever I see "carrying" used in markup it indicates that the feature must be present, so if I only looked at the usage context I'd expect I'd have to explicitly call out all the semantics.
I know this is the wrong forum, but the usage contexts would be clearer if they ended with ", whether explicit or implied".

Right, in retrospect I agree.
Anyway, thanks for the sample, I could reproduce and locate the issue, which came from nested lists deep down in the structure. I'm on it :wink:


⚠ Bofrost.at has degraded performance

In d33509b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1074 ms

Resolved: Bofrost.at performance has improved in 588d20a after 6 minutes.


Problem: "Database empty"

Hi!
Enjoying using elfeed since 2013, thanks Christopher!
Size of my index is 215 MB. Saving takes 8 secs on SSD.
Since last week index file is not loaded anymore:

Upgrading Elfeed index for Emacs 26 ...
Elfeed index upgrade complete.

and then

Database empty. Use elfeed-add-feed...

The above behaviour occurs also if I'am using a backup of .elfeed or .emacs.d directory.
Deleting all *.elc files inside elpa directory didn't help either.
Emacs version: GNU Emacs 26.3 (build 1, i686-pc-linux-gnu, GTK+ Version 3.18.9) of 2019-12-31
Elfeed version: elfeed-20200209.1942
Please help.

There was a major breaking change to cl-defstruct between Emacs 25 and
26 which necessitated a change in the database format. When Elfeed
detects that you're loading an Emacs 25 index while in Emacs 26, it does
an irreversible upgrade to the new format.
However, package.el has a fatal design flaw: It doesn't track which
version of Emacs produced the .elc files it loads, so when upgrading
Emacs you can easily end up loading invalid .elc files. With Elfeed,
that means it sees that it's running under Emacs 26, but it still has
all the old, now-invalid macro expansions from an earlier version of
Emacs. At this point it just gives up and starts over with a fresh
database there's nothing else it can do. It's trapped in some undefined
state.
The good news is that your pre-upgraded index file, the only important
part of the database, can be found at .elfeed/index.backup. So it's not
lost. To restore it under Emacs 26: Close own all Emacs instances, purge
your .emacs.d/elpa/ directory — always do this when upgrading Emacs to
work around the package.el defect — rename index.backup over your now
empty index, start Emacs, and reinstall your packages. It will do the
upgrade again, but now you'll have a properly-compiled Elfeed that can
make use of it.

Thank you for response.
Should I really delete the elpa directory or can I just delete the all *.elc files inside elpa (maybe byte compile all the sources)?

package.el does byte compilation, generates autoloads, and maybe a
couple other things I'm forgetting. The only way I know to properly
recompile a package is to reinstall the package from scratch.


Support storing neuroglancer json file location

[ ] Create fields to store the path to the neuroglancer json file for a tomogram.
[ ] Update script to write valid data for this field

Depends on https://github.com/chanzuckerberg/cryoet-data-portal/issues/55


calendarList.patch not updating backgroundColor.

I'm not sure what I'm doing wrong. I'm sending the data correctly. It gives me a response, but the color won't change.
This is my code:
async patchCalendarMetadata (calendarId) {
      let backgroundColor = '#f899ff'
      let payload = {calendarId, resource: {id: calendarId, backgroundColor}}
      await window.gapi.client.calendar.calendarList.patch(payload)
      .then(res => {
        console.log('res → ', res)
      })
      .catch(error => dispatch('error', error))
    },

From the docs:

The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.

So set the colorRgbFormat to true in the parameters.


Projection is never None at this point of the code and the if-clause is ill defined

If a user sets projection to None the create_parcelsfig_axis will create one with PlateCaree, making this if-clause ill defined and it will fail in some cases with the cryptic ValueError: A LinearRing must have at least 3 coordinate tuples that will confuse newcomers.
I'm not sure if this is the best solution but it does fix an issue some users I'm helping are experiencing. For now they are defining a projection explicitly to avoid setting the x-axis with the wrong values.

Thanks for reporting this Issue, @ocefpaf. And also for proposing this quick fix!
I dug in a bit this morning, and have now proposed a slightly more thorough implementation; can you check if this version also fixes your Issue? if not, please let me know when and where it goes wrong, so I can try fix it again

Thanks for reporting this Issue, @ocefpaf. And also for proposing this quick fix! I dug in a bit this morning, and have now proposed a slightly more thorough implementation; can you check if this version also fixes your Issue? if not, please let me know when and where it goes wrong, so I can try fix it again

It does fix the issue. I did not check all the ramifications of that change. Looking at your PR I believe that parcels could probably use a re-factor. That is not something I can do and I believe most parcels devs are also quite busy.
Have you consider participating in outreachy or Google Summer of Code? I can help you with that. If you are interested feel free to contact me.


Ending.html

Ending screen after the user rates all the images generated

Basic structure done; TODO: remove bloat space


URL Shortener for common users

Currently, the site can shorten URLs for authenticated users only. But need to add Shortener for common users too.
Do follow the contributions guidelines and do not make such changes which breaks the code😥

Hey i would like to contribute to this issue.

@hsrambo07 You're welcome buddy.

Thanks

are you still working on it @hsrambo07 ?
if you are not free, I can do this.
Do let me know

are you still working on it @hsrambo07 ?
if you are not free, I can do this.
Do let me know

Yeah, please go ahead.


.css theme 切换无用

Describe your operation with evermonkey commands step by step.

I open a note by ever open
I edit my md file.
I publish the note ever publish

Copy and paste your Markdown file contents here
The Error vscode prones.

"evermonkey.markdownTheme": "/home/face/moon/AILab_System/dark-material.css",

"evermonkey.markdownTheme": "/home/face/moon/AILab_System/dark-material.css",

更改后 publish 到印象笔记中的样式还是不变


DBZ-2588 Introducing dedicated functional interface for key/value gen…

…erators;
Also keys are always KC Struct instead of generic j.l.Object.
https://issues.redhat.com/browse/DBZ-2588
@rk3rn3r, @jpechane can one of you review and merge?
We can discuss whether to put this into 1.3.0.Final or not; it's certainly not needed, but I don't see much risk. If we want to not have it in, we'd have to fork a 1.3 delivery branch before this one.

@jpechane, good to merge as per what you said earlier today?


alibaba.dingtalk Multi Manifest

@lychichem
#16507
#17080

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Missing metadata for alibaba.dingtalk.locale.zh-CN.yaml:
PublisherSupportUrl: https://page.dingtalk.com/wow/dingtalk/act/dd-server-y
PrivacyUrl: https://terms.alicdn.com/legal-agreement/terms/suit_bu1_dingtalk/suit_bu1_dingtalk202010070946_49604.html
PackageName: 钉钉
LicenseUrl: https://tms.dingtalk.com/markets/dingtalk/service-terms-zh
CopyRightUrl: https://tms.dingtalk.com/markets/dingtalk/service-terms-zh

And I wonder whether different packagename will cause winget validation fail.

Thank you, this is exactly why i left those fields open 😁 No way i would find my way around the website in Chinese 😁
If there is a Chinese Installer which shows up as 钉钉 in Windows Control panel i think that will work, if its still DingTalk it won't work.

So, in your opinion, it is the different Packagename in local.zh-CN and local.en-US that causes the check fail? Another question is if I add 钉钉 to tags and use dingtalk as packagename, will winget upgrade work properly for Chinese users? As dingtalk register itself as 钉钉 in "add or remove programs"

So, in your opinion, it is the different Packagename in local.zh-CN and local.en-US that causes the check fail? Another question is if I add 钉钉 to tags and use dingtalk as packagename, will winget upgrade work properly for Chinese users? As dingtalk register itself as 钉钉 in "add or remove programs" for Chinese users.

Hmm sounds like it should be 钉钉 then, is the Publisher different too?

So, in your opinion, it is the different Packagename in local.zh-CN and local.en-US that causes the check fail? Another question is if I add 钉钉 to tags and use dingtalk as packagename, will winget upgrade work properly for Chinese users? As dingtalk register itself as 钉钉 in "add or remove programs" for Chinese users.

Hmm sounds like it should be 钉钉 then, is the Publisher different too?

No, the Publisher is the same for Chinese users and foreign users.

So, in your opinion, it is the different Packagename in local.zh-CN and local.en-US that causes the check fail? Another question is if I add 钉钉 to tags and use dingtalk as packagename, will winget upgrade work properly for Chinese users? As dingtalk register itself as 钉钉 in "add or remove programs" for Chinese users.

Hmm sounds like it should be 钉钉 then, is the Publisher different too?

No, the Publisher is the same for Chinese users and foreign users.

Alright, you can test if its detected as alibaba.dingtalk right now by doing winget list if its not you can do winget list once this is merged.
If the ID matches whatever the PackageIdentifier is in the Manifest then winget upgrade will work.

So, in your opinion, it is the different Packagename in local.zh-CN and local.en-US that causes the check fail? Another question is if I add 钉钉 to tags and use dingtalk as packagename, will winget upgrade work properly for Chinese users? As dingtalk register itself as 钉钉 in "add or remove programs" for Chinese users.

Hmm sounds like it should be 钉钉 then, is the Publisher different too?

No, the Publisher is the same for Chinese users and foreign users.

Alright, you can test if its detected as alibaba.dingtalk right now by doing winget list if its not you can do winget list once this is merged.
If the ID matches whatever the PackageIdentifier is in the Manifest then winget upgrade will work.

The ID is 钉钉……

@lychichem thank you so much for helping us to have better localized metadata!
I've been discussing making it easier to add localizations for manifests using wingetcreate. If you think that is something you would be interested in, let me know.  https://github.com/microsoft/winget-create/issues/78

@lychichem thank you so much for helping us to have better localized metadata!
I've been discussing making it easier to add localizations for manifests using wingetcreate. If you think that is something you would be interested in, let me know.  https://github.com/microsoft/winget-create/issues/78

Yes, It's an amazing feature, however, here, the problem is, seems some package will provide different ID for different locale. I don't know whether we can deal with this situation now.
I will test again to confirm later today, as I installs it directly from the installer now but not from winget. However, if it really provides different ID, maybe we'll need a new issue to discuss it.


feat: adds stackoverflow icon

Hello @SSmale
Thanks for PR.
But as I said in the previous issue, I had decided to keep the project supporting only a specific set of popular social icons.
Rather, I think it is better to make a blog post (under #FAQ tag) to show how it can be done if a user wants to add a social icon for their specific need.
Would you like to write a blog post about that and make a PR? If not, I'll do one.
Again, thank you and hope you understand.

No dramas, post submitted for PR


(PUP-8531) Remove unused app_management config setting

The config setting has been deprecated for a while, and has not done anything during that time.

Jenkins please test this

ping @adreyer

CLA signed by all contributors.

Ping might be a little early. There's still some references in the acceptance tests I wanted to look at, which is why the "Do Not Merge" tag is on here.

@joshcooper I'm not 100% clear about the plans for the app management functionality, but it hasn't been deprecated, so it seems like we shouldn't remove it.

@nicklewis ah k, I was confused because the app_management defaulted to false (but was ignored). What you said makes sense. Removing the language features is a different matter.


Allow input to be a Stream.

From conversation in issue #16.
The idea is that the first four bytes are read, then check file type. If not a zip, stop reading and return empty array. If it is a zip, buffer the stream and unzip as per normal.

@kevva did you go on vacation? Would love to have some guidance on this if you are available.

@kevva Would love to get this PR ready for merge while the information is still fresh in my mind.
Also, it might be worth separating the "streaming file-type" part since something similar will likely need done for the decompress module.

Closing because questions have gone unanswered.

@CodeMan99, I don't see the point in allowing a stream as input if we're going to buffer it anyway. That misses the whole point of streaming. Unless yauzl start supporting streams, or if there is a alternative module that supports it, I'm not going merge this.


Protected commands fail at runtime with cryptic error

trait VersionFileModule extends Module {

  /** The file containing the current version. */
  def versionFile: define.Source = T.source(millSourcePath / "version")
  /** The current version. */
  def currentVersion: T[Version] = T { Version.of(os.read(versionFile().path)) }
  /** The release version. */
  def releaseVersion = T { currentVersion().asRelease }
  /** The next snapshot version. */
  def nextVersion(bump: String) = T.command { currentVersion().asSnapshot.bump(bump) }

  /** Writes the release version to file. */
  def setReleaseVersion = T {
    setVersionTask(releaseVersion)()
  }

  /** Writes the release version to file. */
  def setNextVersion(bump: String) = T.command {
    setVersionTask(nextVersion(bump))()
  }

  /** Writes the given version to file. */
  def setVersion(version: Version) = T.command {
    setVersionTask(T.task { version })()
  }

  protected def setVersionTask(version: T[Version]) = T.command {
    T.ctx.log.info(generateCommitMessage(version()))
    writeVersionToFile(versionFile(), version())
  }

  def writeVersionToFile(versionFile: mill.eval.PathRef, version: Version) =
    os.write.over(
      versionFile.path,
      version.toString
    )

  def generateCommitMessage(version: Version) =
    version match {
      case release: Version.Release => s"Setting release version to $version"
      case snapshot: Version.Snapshot => s"Setting next version to $version"
    }
}

If you try to run mill versionFile.setVersion --version 0.3.0, the above code will crash on runtime with a cryptic error:
Exception in thread "main" java.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:366)
        at scala.None$.get(Option.scala:364)
        at mill.eval.Evaluator$$anonfun$3.applyOrElse(Evaluator.scala:468)
        at mill.eval.Evaluator$$anonfun$3.applyOrElse(Evaluator.scala:447)
        at scala.PartialFunction$Lifted.apply(PartialFunction.scala:228)
        at scala.PartialFunction$Lifted.apply(PartialFunction.scala:224)
        at mill.define.Graph$.$anonfun$groupAroundImportantTargets$1(Graph.scala:20)
        at mill.api.AggWrapper$Agg$Mutable.$anonfun$flatMap$1(AggWrapper.scala:70)
        at mill.api.AggWrapper$Agg$Mutable.$anonfun$flatMap$1$adapted(AggWrapper.scala:70)
        at scala.collection.Iterator.foreach(Iterator.scala:941)
        at scala.collection.Iterator.foreach$(Iterator.scala:941)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
        at mill.api.AggWrapper$Agg$Mutable.flatMap(AggWrapper.scala:70)
        at mill.define.Graph$.groupAroundImportantTargets(Graph.scala:20)
        at mill.eval.Evaluator$.plan(Evaluator.scala:447)
        at mill.eval.Evaluator.evaluate(Evaluator.scala:54)
        at mill.main.RunScript$.evaluate(RunScript.scala:208)
        at mill.main.RunScript$.$anonfun$evaluateTasks$1(RunScript.scala:194)
        at scala.util.Either.map(Either.scala:353)
        at mill.main.RunScript$.evaluateTasks(RunScript.scala:193)
        at mill.main.RunScript$.$anonfun$runScript$4(RunScript.scala:67)
        at ammonite.util.Res$Success.flatMap(Res.scala:62)
        at mill.main.RunScript$.runScript(RunScript.scala:66)
        at mill.main.MainRunner.$anonfun$runScript$1(MainRunner.scala:94)
        at mill.main.MainRunner.watchLoop2(MainRunner.scala:57)
        at mill.main.MainRunner.runScript(MainRunner.scala:71)
        at mill.MillMain$.main0(MillMain.scala:213)
        at mill.MillMain$.main(MillMain.scala:30)
        at mill.MillMain.main(MillMain.scala)

This line assumes that all commands are public:
https://github.com/com-lihaoyi/mill/blob/0a87641adc5e0dde04eb54ea7b5785e6380b2782/main/core/src/eval/Evaluator.scala#L468
There should rather be a descriptive error message that explains that the command it tried to look up is not a public member of the module. Though, a runtime error isn't really ideal, it should rather fail at compile time if you try declare something that by design is never going to work at runtime.
Also, the documentation for tasks does not make it clear that a command has to be runable from the command line. The closest that is explicitly mentioned is that anonymous tasks cannot be run from the command line, but that isn't really the same as explicitly saying the other kinds have to be runable.

I think this is no longer an issue


Problem with keyboard navigation

When you navigate with keyboard, it's important to have navigation colour surrounding the selected button.
Problem is that I don't see it with Flat. (Using Flat.so in home/non-packaged... as I'm on nightlies.)

Figured it out. I was distracted by the fact there are two different colours surrounding buttons with default ControlLook. First, Control border colour is used to suggest an answer; the seccond navigation control is used to highlight the selected control.
Here the button is bigger in both cases. We are loosing a bit of information but it is ok.
Closing


Upgrading the kafka client library used by driver-kafka of SBK to ver…

Upgrading the kafka client library used by driver-kafka of SBK to version 3.0+
api "org.apache.kafka:kafka-clients:2.4.1"
to
api "org.apache.kafka:kafka-clients:3.1.0"

@Amartya-Mahato  After upgrading to latest version of kafka client , the build is failing ; fix the compilation issues

@kmgowda hi, sir i think the error is in kafka.java
it's not supporting the import import org.apache.kafka.common.requests.IsolationLevel;
instead it's requesting me to import import org.apache.kafka.common.IsolationLevel;

@kmgowda hi, sir i think the error is in kafka.java
it's not supporting the import import org.apache.kafka.common.requests.IsolationLevel;
instead it's requesting me to import import org.apache.kafka.common.IsolationLevel;
Should i go with it?

@kmgowda hi, sir i think the error is in kafka.java it's not supporting the import import org.apache.kafka.common.requests.IsolationLevel; instead it's requesting me to import import org.apache.kafka.common.IsolationLevel; Should i go with it?
Ok let me try without it!

yes , you can import org.apache.kafka.common.IsolationLevel  and submit again.. build should pass to accept this PR.


210 media source generator

This PR updates the MediaSource rails generator to bring it into line with new type signatures and methods. It also updates comments and organization in the individual MediaSource class files.
Callouts
I've changed the type signature of the valid_host_name method so that it no longer accepts lone Strings or nil objects. The return type of valid_host_name must now be Array[String]. Thoughts? All scrapers pass arrays right now. If we don't want to validate hosts in a future scraper, we can leave the array empty.
Someday we should consider moving Birdsong over to Hypatia. The move will slow down scraping, but will bring TwitterMediaSource into line with the rest of the MediaSource subclasses.
Testing

rails t test/media_sources/ should test all changes here, but feel free to run the whole suite.
To test the generators, try running rails generate media_source Mastodon from the command line. Check out the newly generated files. Do they look okay?

May come back to this later


[table] add option to force table cell texts to truncate

Summary
The wrapCellText prop can currently have the values:
• ‘auto’ we apply wrapping only for tables with normal columns. For tables with fixed or resizable columns we use truncation.
• ‘always’ we wrap in all scenarios including tables with fixed or resizable columns (i.e. current situation).
• ‘never’ we never wrap and as a consequence the tables with normal columns* get wide cells and more often horizontal scrolling. For tables with fixed or resizable columns we use truncation.
Feedback and questions shows to some confusion where app developers want to force text truncation for non resizable/fixed width tables. So we should add the option alwaysTruncate to support this.
Additional context
The reason that we only truncate for tables with fixed or resizable columns, and this is important but difficult to communicate, is that if we would add truncation for tables with dynamic widths the column widths would be based on the table headers rather than the actual content of the tables. Hence for “normal” tables we would go from a smart column width distribution like this

To a truncated but not very optimized layout like this

But at least the app developer would have the choice to accept such column width distribution in order to get cell text truncation.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


.podspec Add s.swift_version = "4.2" , Please

@MengTo

I feel as if this project is basically unmaintained - it's a shame really.

@AlexCatch https://github.com/lixiang1994/spring


slack: add icon_emoji parameter

I was not able to run the tests using a docker container based on golang:latest.
I managed to get make config to run, but it rewrote large parts of config/generated/config.pb.go.
However, I only commited the parts relevant to this PR.
Is there a canonical docker image where all the deps are installed, or installable which I can use to do make config and make test?

Thanks. We are currently rewriting the alertmanager in alertmanager/dev. So we will most likely not release another version of the current one.
It might more sense to look into integrating this in the new branch.

This was added in the new AM in #253


ConsentDeniedEvent and GrantsRevokedEvent is missing in GrantsController

Hi
I am trying to follow through this article to understand how identityserver4 works.  I am trying to add the mvc client. As per the instruction, I downloaded the assets and controllers.
ConsentDeniedEvent and GrantsRevokedEvent seems missing. Can some one suggest me where can I find them?
Thanks

Those events were added to Identityserver4 v2.2.
https://github.com/IdentityServer/IdentityServer4/pull/2199

Thank You, it worked. You saved lot of time.!!!!


OnServerShutdown hook print and unloading issues

Printing works in OnServerShutdown, plugins unloaded, NRE

Reign of Kings
NullReferenceException: Object reference not set to an instance of an object
CodeHatch.Thrones.Networking.SpawnProtection.Update ()

Printing not working in OnServerShutdown, no plugins unloaded

Rust

Printing not working in OnServerShutdown, plugins unloaded

7 Days to Die
Rust Legacy
Unturned
Hide & Hold Out
Nomad

No quit/shutdown/exit commands to test with yet

The Forest
Terraria
Space Engineers

Printing working in OnServerShutdown, plugins unloaded

Hurtworld

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35056022-onservershutdown-hook-print-and-unloading-issues?utm_campaign=plugin&utm_content=tracker%2F6855523&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6855523&utm_medium=issues&utm_source=github).

Updated the first post with some more details from testing.

Fixed for Rust and Unturned. Working on the rest.

Hide & Hold Out and 7 Days to Die fixed.

Fixed the NRE with Reign of Kings, thanks @mughisi.

Fixed Nomad.


BUGFIX: shutil.move can lead to "operation not permitted" error

I am using GEOparse on a platform with distributed docker images (FASTGenomics), where the user does not have root permissions. The system is Ubuntu 20.04 LTS. When I execute
gse = GEOparse.get_GEO("GSE6207", destdir="./GEO/")

I get the following error message:
10-Nov-2020 09:37:57 INFO GEOparse - Downloading ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE6nnn/GSE6207/soft/GSE6207_family.soft.gz to ./GEO/GSE6207_family.soft.gz
100%|██████████| 17.3M/17.3M [00:01<00:00, 9.59MB/s]
10-Nov-2020 09:38:00 DEBUG downloader - Size validation passed
10-Nov-2020 09:38:00 DEBUG downloader - Moving /tmp/tmpvhh3omno to /analysis/GEO/GSE6207_family.soft.gz
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
/opt/conda/lib/python3.8/shutil.py in move(src, dst, copy_function)
    787     try:
--> 788         os.rename(src, real_dst)
    789     except OSError:

OSError: [Errno 18] Invalid cross-device link: '/tmp/tmpvhh3omno' -> '/analysis/GEO/GSE6207_family.soft.gz'

During handling of the above exception, another exception occurred:

PermissionError                           Traceback (most recent call last)
/opt/conda/lib/python3.8/site-packages/GEOparse/utils.py in download_from_url(url, destination_path, force, aspera, silent)
     79         else:
---> 80             fn.download(silent=silent, force=force)
     81     except Exception as err:

/opt/conda/lib/python3.8/site-packages/GEOparse/downloader.py in download(self, force, silent)
     81             else:
---> 82                 _download()
     83         finally:

/opt/conda/lib/python3.8/site-packages/GEOparse/downloader.py in _download()
     56             logger.debug("Moving %s to %s" % (self._temp_file_name, self.destination))
---> 57             shutil.move(self._temp_file_name, self.destination)
     58             logger.debug("Successfully downloaded %s" % self.url)

/opt/conda/lib/python3.8/shutil.py in move(src, dst, copy_function)
    801         else:
--> 802             copy_function(src, real_dst)
    803             os.unlink(src)

/opt/conda/lib/python3.8/shutil.py in copy2(src, dst, follow_symlinks)
    432     copyfile(src, dst, follow_symlinks=follow_symlinks)
--> 433     copystat(src, dst, follow_symlinks=follow_symlinks)
    434     return dst

/opt/conda/lib/python3.8/shutil.py in copystat(src, dst, follow_symlinks)
    371     mode = stat.S_IMODE(st.st_mode)
--> 372     lookup("utime")(dst, ns=(st.st_atime_ns, st.st_mtime_ns),
    373         follow_symlinks=follow)

PermissionError: [Errno 1] Operation not permitted

During handling of the above exception, another exception occurred:

OSError                                   Traceback (most recent call last)
<ipython-input-6-d172bf3b10bf> in <module>
----> 1 gse = GEOparse.get_GEO("GSE6207", destdir="./GEO/")

/opt/conda/lib/python3.8/site-packages/GEOparse/GEOparse.py in get_GEO(geo, filepath, destdir, how, annotate_gpl, geotype, include_data, silent, aspera, partial, open_kwargs)
     91
     92     if filepath is None:
---> 93         filepath, geotype = get_GEO_file(
     94             geo,
     95             destdir=destdir,

/opt/conda/lib/python3.8/site-packages/GEOparse/GEOparse.py in get_GEO_file(geo, destdir, annotate_gpl, how, include_data, silent, aspera)
    250     if not path.isfile(filepath):
    251         logger.info("Downloading %s to %s" % (url, filepath))
--> 252         utils.download_from_url(url, filepath, silent=silent, aspera=aspera)
    253     else:
    254         logger.info("File already exist: using local version.")

/opt/conda/lib/python3.8/site-packages/GEOparse/utils.py in download_from_url(url, destination_path, force, aspera, silent)
     80             fn.download(silent=silent, force=force)
     81     except Exception as err:
---> 82         raise IOError(
     83             "Download failed due to '%s'. ID could be incorrect or the " % err
     84             + "data might not be public yet."

OSError: Download failed due to '[Errno 1] Operation not permitted'. ID could be incorrect or the data might not be public yet.

afaik the root of the problem is that shutil.move tries to set the owner/group + permission with chmod but the user has no permission to change these settings in my case. As there is anyway a os.remove(self._temp_file_name) command at the end, I would suggest to use shutil.copyfile instead of shutil.move.

Hi, thank for this PR!


Getting error listing: directory not found in rclone log

New install, mounting rclone through an alias to a local mounted HDD. Omnimount keeps failing, in the rclone logs states error listing: directory not found. Please help. thank you in advance.

@kelinger  I'm not sure what I'm doing wrong for omnimount to fail.


Tables using the search API fail with 403 error

Describe the bug
When querying any tables using LinkedIn's search API, Error: {"status":403} is returned.
Steampipe version (steampipe -v)
v0.20.9
Plugin version (steampipe plugin list)
v0.1.0
To reproduce
Run select * from linkedin_search_company where query = 'foo'
Expected behavior
Results are returned
Additional context
Add any other context about the problem here.

I think all tables except linkedin_profile are not working at the moment.


feat: update Appwrite dependencies for 0.14

Updated dependencies for 0.14

@gewenyu99 we should add a wildcard hostname for in the todos project for  *.vercel.app so it works with previews also.


adding a blue colour in whiteboard box button

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

i want to add a colour in whiteboard box button like save ,clear,line so that website looks good
please assigned me this issue


Error while mounting raw images

With a big partition image file, running .\clonezilla-util.exe mount --input L:\test\nvme0n1p4.img --mount E:\ spits out a lot of Error while finding parent of #### errors. The img file is in a smb server. Also when extracting the backup, System.Exception: Unknown partclone image version is thrown.
Below is the clonezilla-img file
This image was saved by Clonezilla at 2023-02-25 22:08:47 UTC.
Saved by clonezilla-live-20230212-kinetic-amd64.
The log during saving:
----------------------------------------------------------
Starting /usr/sbin/ocs-sr at 2023-02-25 19:39:54 UTC...
*****************************************************.
Clonezilla image dir: /home/partimag
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
The selected devices: nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4 nvme0n1p5 sda1 sda2
PS. Next time you can run this command directly:
/usr/sbin/ocs-sr -q2 -c -j2 -z9p -i 0 -fsck -senc -p choose saveparts 2023-02-25-19-img nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4 nvme0n1p5 sda1 sda2
*****************************************************.
The selected devices: nvme0n1p1 nvme0n1p2 nvme0n1p3 nvme0n1p4 nvme0n1p5 sda1 sda2
The following step is to save the hard disk/partition(s) on this machine as an image:
*****************************************************.
Machine: System Product Name
nvme0n1p1 (529M_ntfs_修復(In_INTEL_SSDPEKKW010T8_)_INTEL_SSDPEKKW010T8_BTHH91210SCW1P0E)
nvme0n1p2 (100M_vfat(In_INTEL_SSDPEKKW010T8_)_INTEL_SSDPEKKW010T8_BTHH91210SCW1P0E)
nvme0n1p3 (16M_MS_Reserved_Partition(In_INTEL_SSDPEKKW010T8_)_INTEL_SSDPEKKW010T8_BTHH91210SCW1P0E)
nvme0n1p4 (952.5G_ntfs(In_INTEL_SSDPEKKW010T8_)_INTEL_SSDPEKKW010T8_BTHH91210SCW1P0E)
nvme0n1p5 (715M_ntfs(In_INTEL_SSDPEKKW010T8_)_INTEL_SSDPEKKW010T8_BTHH91210SCW1P0E)
sda1 (16M_MS_Reserved_Partition(In_CT500MX500SSD1_)_CT500MX500SSD1_1804E10BDD52)
sda2 (465.7G_ntfs(In_CT500MX500SSD1_)_CT500MX500SSD1_1804E10BDD52)
*****************************************************.
-> "/home/partimag/2023-02-25-19-img".
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Starting saving /dev/nvme0n1p1 as /home/partimag/2023-02-25-19-img/nvme0n1p1.XXX...
/dev/nvme0n1p1 filesystem: ntfs.
*****************************************************.
*****************************************************.
Use partclone with zstdmt to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -c -s /dev/nvme0n1p1 --output - | zstdmt -c -3 > /home/partimag/2023-02-25-19-img/nvme0n1p1.ntfs-ptcl-img.zst 2> /tmp/img_out_err.0rFqEE
Partclone v0.3.23 http://partclone.org
Starting to clone device (/dev/nvme0n1p1) to image (-)
Reading Super Block
memory needed: 20988452 bytes
bitmap 16928 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
done!
File system:  NTFS
Device size:  554.7 MB = 135423 Blocks
Space in use:  10.5 MB = 2561 Blocks
Free Space:   544.2 MB = 132862 Blocks
Block size:   4096 Byte
Total block 135423
Syncing... OK!
Partclone successfully cloned the device (/dev/nvme0n1p1) to the image (-)
>>> Time elapsed: 7.19 secs (~ .119 mins)
*****************************************************.
Finished saving /dev/nvme0n1p1 as /home/partimag/2023-02-25-19-img/nvme0n1p1.ntfs-ptcl-img.zst
*****************************************************.
Starting saving /dev/nvme0n1p2 as /home/partimag/2023-02-25-19-img/nvme0n1p2.XXX...
/dev/nvme0n1p2 filesystem: vfat.
*****************************************************.
*****************************************************.
Use partclone with zstdmt to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.vfat -z 10485760 -N -L /var/log/partclone.log -c -s /dev/nvme0n1p2 --output - | zstdmt -c -3 > /home/partimag/2023-02-25-19-img/nvme0n1p2.vfat-ptcl-img.zst 2> /tmp/img_out_err.b6ccCD
Partclone v0.3.23 http://partclone.org
Starting to clone device (/dev/nvme0n1p2) to image (-)
Reading Super Block
memory needed: 20997124 bytes
bitmap 25600 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
done!
File system:  FAT32
Device size:  104.9 MB = 204800 Blocks
Space in use:  32.5 MB = 63526 Blocks
Free Space:    72.3 MB = 141274 Blocks
Block size:   512 Byte
Total block 204800
Syncing... OK!
Partclone successfully cloned the device (/dev/nvme0n1p2) to the image (-)
>>> Time elapsed: 7.23 secs (~ .120 mins)
*****************************************************.
Finished saving /dev/nvme0n1p2 as /home/partimag/2023-02-25-19-img/nvme0n1p2.vfat-ptcl-img.zst
*****************************************************.
Starting saving /dev/nvme0n1p3 as /home/partimag/2023-02-25-19-img/nvme0n1p3.XXX...
/dev/nvme0n1p3 filesystem: MS_Reserved_Partition.
*****************************************************.
*****************************************************.
Use partclone with zstdmt to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.dd -z 10485760 -N --buffer_size 16777216 -L /var/log/partclone.log -s /dev/nvme0n1p3 --output - | zstdmt -c -3 > /home/partimag/2023-02-25-19-img/nvme0n1p3.dd-ptcl-img.zst 2> /tmp/img_out_err.NzzP3U
Partclone v0.3.23 http://partclone.org
Starting to clone/restore (/dev/nvme0n1p3) to (-) with dd mode
get device size 16777216 by ioctl BLKGETSIZE64,
get device size 16777216 by ioctl BLKGETSIZE64,
memory needed: 33558528 bytes
bitmap 4096 bytes, blocks 2*16777216 bytes, checksum 0 bytes
Calculating bitmap... Please wait... done!
File system:  raw
Device size:   16.8 MB = 32768 Blocks
Space in use:  16.8 MB = 32768 Blocks
Free Space:     0 Byte = 0 Blocks
Block size:   512 Byte
Total block 32768
Syncing... OK!
>>> Time elapsed: 6.18 secs (~ .103 mins)
*****************************************************.
Finished saving /dev/nvme0n1p3 as /home/partimag/2023-02-25-19-img/nvme0n1p3.dd-ptcl-img.zst
*****************************************************.
Starting saving /dev/nvme0n1p4 as /home/partimag/2023-02-25-19-img/nvme0n1p4.XXX...
/dev/nvme0n1p4 filesystem: ntfs.
*****************************************************.
*****************************************************.
Use partclone with zstdmt to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -c -s /dev/nvme0n1p4 --output - | zstdmt -c -3 > /home/partimag/2023-02-25-19-img/nvme0n1p4.ntfs-ptcl-img.zst 2> /tmp/img_out_err.338Dqn
Partclone v0.3.23 http://partclone.org
Starting to clone device (/dev/nvme0n1p4) to image (-)
Reading Super Block
memory needed: 52184275 bytes
bitmap 31212751 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
done!
File system:  NTFS
Device size:    1.0 TB = 249702007 Blocks
Space in use: 813.7 GB = 198646458 Blocks
Free Space:   209.1 GB = 51055549 Blocks
Block size:   4096 Byte
Total block 249702007
Syncing... OK!
Partclone successfully cloned the device (/dev/nvme0n1p4) to the image (-)
>>> Time elapsed: 6125.94 secs (~ 102.099 mins)
*****************************************************.
Finished saving /dev/nvme0n1p4 as /home/partimag/2023-02-25-19-img/nvme0n1p4.ntfs-ptcl-img.zst
*****************************************************.
Starting saving /dev/nvme0n1p5 as /home/partimag/2023-02-25-19-img/nvme0n1p5.XXX...
/dev/nvme0n1p5 filesystem: ntfs.
*****************************************************.
*****************************************************.
Use partclone with zstdmt to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -c -s /dev/nvme0n1p5 --output - | zstdmt -c -3 > /home/partimag/2023-02-25-19-img/nvme0n1p5.ntfs-ptcl-img.zst 2> /tmp/img_out_err.i29IAk
Partclone v0.3.23 http://partclone.org
Starting to clone device (/dev/nvme0n1p5) to image (-)
Reading Super Block
memory needed: 20994404 bytes
bitmap 22880 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
done!
File system:  NTFS
Device size:  749.7 MB = 183039 Blocks
Space in use: 523.0 MB = 127693 Blocks
Free Space:   226.7 MB = 55346 Blocks
Block size:   4096 Byte
Total block 183039
Syncing... OK!
Partclone successfully cloned the device (/dev/nvme0n1p5) to the image (-)
>>> Time elapsed: 8.68 secs (~ .144 mins)
*****************************************************.
Finished saving /dev/nvme0n1p5 as /home/partimag/2023-02-25-19-img/nvme0n1p5.ntfs-ptcl-img.zst
*****************************************************.
Starting saving /dev/sda1 as /home/partimag/2023-02-25-19-img/sda1.XXX...
/dev/sda1 filesystem: MS_Reserved_Partition.
*****************************************************.
*****************************************************.
Use partclone with zstdmt to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.dd -z 10485760 -N --buffer_size 16777216 -L /var/log/partclone.log -s /dev/sda1 --output - | zstdmt -c -3 > /home/partimag/2023-02-25-19-img/sda1.dd-ptcl-img.zst 2> /tmp/img_out_err.uYFsvD
Partclone v0.3.23 http://partclone.org
Starting to clone/restore (/dev/sda1) to (-) with dd mode
get device size 16759808 by ioctl BLKGETSIZE64,
get device size 16759808 by ioctl BLKGETSIZE64,
memory needed: 33558524 bytes
bitmap 4092 bytes, blocks 2*16777216 bytes, checksum 0 bytes
Calculating bitmap... Please wait... done!
File system:  raw
Device size:   16.8 MB = 32734 Blocks
Space in use:  16.8 MB = 32734 Blocks
Free Space:     0 Byte = 0 Blocks
Block size:   512 Byte
Total block 32734
Syncing... OK!
>>> Time elapsed: 6.19 secs (~ .103 mins)
*****************************************************.
Finished saving /dev/sda1 as /home/partimag/2023-02-25-19-img/sda1.dd-ptcl-img.zst
*****************************************************.
Starting saving /dev/sda2 as /home/partimag/2023-02-25-19-img/sda2.XXX...
/dev/sda2 filesystem: ntfs.
*****************************************************.
*****************************************************.
Use partclone with zstdmt to save the image.
Image file will not be split.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Running: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda2 --output - | zstdmt -c -3 > /home/partimag/2023-02-25-19-img/sda2.ntfs-ptcl-img.zst 2> /tmp/img_out_err.DpeU1u
Partclone v0.3.23 http://partclone.org
Starting to clone device (/dev/sda2) to image (-)
Reading Super Block
memory needed: 36233060 bytes
bitmap 15261536 bytes, blocks 2*10485760 bytes, checksum 4 bytes
Calculating bitmap... Please wait...
done!
File system:  NTFS
Device size:  500.1 GB = 122092287 Blocks
Space in use: 277.2 GB = 67666710 Blocks
Free Space:   222.9 GB = 54425577 Blocks
Block size:   4096 Byte
Total block 122092287
Syncing... OK!
Partclone successfully cloned the device (/dev/sda2) to the image (-)
>>> Time elapsed: 2643.88 secs (~ 44.064 mins)
*****************************************************.
Finished saving /dev/sda2 as /home/partimag/2023-02-25-19-img/sda2.ntfs-ptcl-img.zst
*****************************************************.
Saving block devices info in /home/partimag/2023-02-25-19-img/blkdev.list...
Saving block devices attributes in /home/partimag/2023-02-25-19-img/blkid.list...
Checking the integrity of partition table in the disk /dev/nvme0n1...
Reading the partition table for /dev/nvme0n1...RETVAL=0
*****************************************************.
Saving the primary GPT of nvme0n1 as /home/partimag/2023-02-25-19-img/nvme0n1-gpt-1st by dd...
34+0 records in
34+0 records out
17408 bytes (17 kB, 17 KiB) copied, 0.00104782 s, 16.6 MB/s
*****************************************************.
Saving the secondary GPT of nvme0n1 as /home/partimag/2023-02-25-19-img/nvme0n1-gpt-2nd by dd...
32+0 records in
32+0 records out
16384 bytes (16 kB, 16 KiB) copied, 0.00133859 s, 12.2 MB/s
*****************************************************.
Saving the GPT of nvme0n1 as /home/partimag/2023-02-25-19-img/nvme0n1-gpt.gdisk by gdisk...
The operation has completed successfully.
*****************************************************.
Checking the integrity of partition table in the disk /dev/sda...
Reading the partition table for /dev/sda...RETVAL=0
*****************************************************.
Saving the primary GPT of sda as /home/partimag/2023-02-25-19-img/sda-gpt-1st by dd...
34+0 records in
34+0 records out
17408 bytes (17 kB, 17 KiB) copied, 0.00107957 s, 16.1 MB/s
*****************************************************.
Saving the secondary GPT of sda as /home/partimag/2023-02-25-19-img/sda-gpt-2nd by dd...
32+0 records in
32+0 records out
16384 bytes (16 kB, 16 KiB) copied, 0.0023863 s, 6.9 MB/s
*****************************************************.
Saving the GPT of sda as /home/partimag/2023-02-25-19-img/sda-gpt.gdisk by gdisk...
The operation has completed successfully.
*****************************************************.
Saving the MBR data for nvme0n1...
1+0 records in
1+0 records out
512 bytes copied, 0.00160802 s, 318 kB/s
Saving the MBR data for sda...
1+0 records in
1+0 records out
512 bytes copied, 0.00249263 s, 205 kB/s
End of saveparts job for image /home/partimag/2023-02-25-19-img.
Checking if udevd rules have to be restored...
This program is not started by Clonezilla server, so skip notifying it the job is done.
This program is not started by Clonezilla server, so skip notifying it the job is done.
Finished!
Finished!
### End of log ###
### Image created time: 2023-0225-2208

Here is part of the output of the Mount raw images command
[05:46:27 INF] clonezilla-util v2.0.4
[05:47:54 INF] [nvme0n1p4] [partition0] Finding optimal decompressor (seekable/sequential)
[05:48:05 INF] [nvme0n1p4] [partition0] Loading partition information
[05:48:05 INF] Waiting for E:\ to be available.
[05:48:05 INF] [nvme0n1p4] [partition0] Retrieving a list of files.
[05:54:21 INF] [nvme0n1p4] [partition0] 7zFM.exe will be used to extract files from this partition.
[05:55:45 ERR] Error while finding parent of 107計算機科學.pdf
[05:55:45 ERR] Could not find Users\danielpclin\Desktop\考?箤考古\考古題\清大 in folderLookup
[05:55:46 ERR] Error while finding parent of 107ds.pdf
[05:55:46 ERR] Could not find Users\danielpclin\Desktop\考?箤考古\考古題\成大 in folderLookup
[05:55:47 ERR] Error while finding parent of 110ds.txt
[05:55:47 ERR] Could not find Users\danielpclin\Desktop\?珙箤考古\考古題\交大 in folderLookup
[05:55:53 ERR] Error while finding parent of 106年軟體.pdf
[05:55:53 ERR] Could not find Users\danielpclin\Desktop\考研\考古\考古題\?璊j in folderLookup
[05:55:56 ERR] Error while finding parent of 98年 市北教大 資科所 離散數學.pdf
[05:55:56 ERR] Could not find Users\danielpclin\Desktop\考研\考?j\Ｐ~市北教 in folderLookup

Thanks for reporting it Daniel, and posting the clonezilla-img file :)
I think the issue is caused by some of those filenames containing special characters, which causes the program not to be able to work out the parent folders.
If you already have the img file (L:\test\nvme0n1p4.img) extracted, you should be able to right-click it and open it using 7-Zip.
Thanks!
Fidel


Does this sdk support all the regions or only us-east-1 ?

Does this sdk provide support for all the regions amazon connect instance or only us-east-1 ?
I am having the problem with eu-central-1 amazon connect instance. initccp() is not getting successful. Please let me know.

are you trying to use params.alias()? that is deprecated and only works with us-east-1.  if you specify the whole ccpUrl instead it should work for all supported regions. you may need to pass us-east-1 in because aws-configure requires a region but the region used in the ccpUrl will be ultimately respected.

Thanks a lot for your response. Its working fine with the ccpURL :)


Fix some additional minor nullability issues

These are a few minor nullability issues that don't seem to be caught by the C# compiler or Visual Studio, but Rider marks them as errors. They seem to be legitimate issues, so here are some fixes:

ExternalRewriteSteps.cs: T could be a value type, in which case unboxing the potentially null result from ?.Invoke could throw an exception. Using default handles both value and reference types without errors.
ProjectLoader.cs: p.Name is known to be not null here, but p.Name?.ToLowerInvariant() implies that it could be null, and should convert the type from string to string?. But the value is used as a dictionary key which must be non-null.
LanguageServer/Utils.cs: TResult may be null, but it is not known to be either a value type or a reference type, so it's not possible to use TResult?. A [MaybeNullWhen(false)] out parameter can't be easily used either, because local functions don't support attributes until C# 9. The simplest thing here seems to be to use the null-forgiving operator, because the return value is used safely in the code below.

/AzurePipelines run

/AzurePipelines run


Linux-based communication tool

I'd really like to see command line tool to communicate with watch (list/get/put files, sync time, ...). I started such tool at https://gitlab.com/tui/tui/-/blob/master/bwatch/wt?ref_type=heads but maybe someone already has better tool and it would make sense to share an effort?

I suspect you already know about the Espruino Command-line tool?

I believe this already exists (at least for loading apps) as https://github.com/espruino/EspruinoAppLoaderCore/blob/2328a68b36a9af63c4d425f6879a62949fd69868/tools/apploader.js
USAGE:

apploader.js list
  - list available apps
apploader.js devices
  - list available device addresses
apploader.js install [-b1] appname [de:vi:ce:ad:dr:es]

So I feel like adding to that would be preferable - but as mentioned for lower level stuff, the Espruino command-line tool is probably what you need, and it already handles stuff like setting time and uploading files to storage.


Tweet not found

Tweet not found, even though It exist. No tweets are being rendered.

Same here, it's only happened on Vercel, local it's fine.

Getting the same here. Working locally, not working on Vercel

It works on localhost and vercel edge.
My guess is that cdn.syndication.twimg.com where the tweets are fetched from, might be blocking some vercel / AWS IP ranges.
A workaround is:

get the tweet json from https://react-tweet.vercel.app/api/tweet/${tweet_id}
store the file locally in order to avoid future cdn.syndication.twimg.com outages on build time
use <EmbeddedTweet tweet={tweet_json.data} /> instead of <Tweet id={id}/>

@panayiotis It's working, Thank you so much.
https://blog.nekochantw.xyz/posts/hello-world#twitter

Check the solution: https://github.com/vercel/react-tweet/issues/137#issuecomment-2036823051


installation on debian 7 problem

Failed installation on Debian GNU/Linux 7

Go en the required dependencies are corrected installed.

The command "go get github.com/omniscale/imposm3" gives te error:
go get github.com/omniscale/imposm3
package github.com/omniscale/imposm3 imports code.google.com/p/goprotobuf/proto: unable to detect version control system for code.google.com/ path

How can I fix this ?

There is a small problem that is caused by goprotobuf's transition from Google Code to GitHub. The easiest option would be to get imposm3 via godep. The installation description is given there: https://github.com/omniscale/imposm3#godep
But of course it would be great if someone changed the import path in imposm to the new URL https://github.com/golang/protobuf

Dear thomersch, indeed, with installing imposm3 via godep, imposm3 has been installed !
it would be great it someone changed the import path, as you suggested...

Could it be that you missed the C dependencies? On Debian you have to install the packages libgeos-dev, libprotobuf-dev and libleveldb-dev

when installing those packages:
godep go install ./...
# github.com/jmhodges/levigo
could not determine kind of name for C.leveldb_free
# github.com/omniscale/imposm3/geom/geos
/usr/bin/ld: cannot find -lgeos
collect2: error: ld returned 1 exit status
godep: go exit status 2

I fixed the error:
/usr/bin/ld: cannot find -lgeos
cd /usr/lib
 sudo ln -s libgeos-3.3.3.so libgeos.so
 sudo ln -s libgeos-3.3.3.so libgeos.so.1
The error with C.leveldb_free still remains...

Found some issues on google topics => It sees that you're getting the apt leveldb in addition to building it from source.  The problem I think is with the leveldb from the apt repo. I think it's an old one and you're running into this issue. In the steps remove libleveldb libleveldb-dev libleveldb1 and libsnappy-dev from the apt-get install. Once you just have the 1.15, go get github.com/jmhodges/levigo should work.
normaly : apt-get install git libleveldb libleveldb-dev libleveldb1 libgeos libsqlite3-0 libsnappy-dev mercurial
but you have to remove some installations: apt-get remove libleveldb libleveldb-dev libleveldb1
Install levelDB yourself:
wget https://leveldb.googlecode.com/files/leveldb-1.15.0.tar.gz
tar -xvf leveldb-1.15.0.tar.gz && cd /leveldb-1.15.0/
make
cp -r include/leveldb /usr/include/
cp libleveldb.* /usr/lib/
and then use godep go install ./..  (https://github.com/omniscale/imposm3#godep)
everythings works fine !

Might be a more portable way to fix the geos lib problem:
https://docs.djangoproject.com/en/1.8/ref/contrib/gis/install/geolibs/#geos-library-path

GEOS_LIBRARY_PATH is GeoDjango specific.


An argument without a type confuses automatic type inference for a generic function

Bug Report
I am sorry for a dry bug report, I am not sure why it happens and what area of TS this si concerned but I have a repro in hopes this would be fixed.
🔎 Search Terms
No idea, really.
🕗 Version & Regression Information

This is the behavior in every version I tried.

⏯ Playground Link
Playground link with relevant code
💻 Code
export const data = {
  fails: castType({
    // NOTE: It fails if this function has an argument
    subscribe: (_foo) => ({ foo: "bar" } as const),
    resolve: (data) => data.foo,
  }),
  works: castType({
    // NOTE: It works if argument is not defined
    subscribe: () => ({ foo: "bar" } as const),
    resolve: (data) => data.foo,
  }),
};

export function castType<TPayload>(resolver: {
  subscribe: (foo: boolean) => TPayload;
  resolve?: (parent: TPayload) => any;
}) {
  return resolver;
}

🙁 Actual behavior
It fails to determine the correct type in a generic if an argument is specified.
🙂 Expected behavior
It should determine the correct types for a generic.

Duplicate of #43371.


stuck at waiting issue persisting

I am on windows 10 and I have uninstalled 0.2.0, downloaded and reinstalled 0.2.1 and I am having the same issue with this version as the last. It is still stuck at waiting. I tried re-downloading and fresh install twice, just to be sure, and I have left it open for 5 minutes now.

You need to open the Pokemon GO app with the account you're using in the Electron Desktop Map. Once you access with that account you'll be presented with TOS that you need to accept. Once you accept the terms and conditions the map will start working fine.

I had the same issue because I didn't initiate the game with fake PTC account.

in my console i got that: "Python: C:\Users\Profile\Desktop\PokemonGo-DestopMap-master\pywin\phyton.exe: can't open file './runserver.py':[Errno 2] No such file or directory" I search folder and i don't find any runserver.py file :cry:

Can I do this on my desktop, or do I have to log in on my phone? Im paranoid about making that connection

@drippybutt sorry I missed this post - As I mentioned on the other thread, I'm afraid that you need to use the mobile app to accept the TOS of the game. It doesn't matter "where" (other phone, other tablet...) but it has to be accepted after logging into the game.


bru run: allow running from anywhere

Description
Implement a todo for running anywhere inside the collection.
Walks back up from filename arg to find the bruno.json to determine collection root.
If filename is the collection root, run recursively; like you would for not specifying filename.
Thanks for your time! 🙏🚀

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[ ] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.

Thanks for taking the time to work on this @logandavies181 !
PR looks good to me.
I’m in the process of refining and prioritizing our PR backlog to determine which ones we can merge first. We'll follow up with an update in the next two weeks.


Updating mbed-os to mbed-os-5.3.4

Please test/merge this PR and then tag Master with mbed-os-5.3.4

mistype of version closing!


MolGraph for cyclic structures

In the previous implementation of mol_graph for JTVA (https://github.com/wengong-jin/icml18-jtnn/blob/1d298810e193ce2eef1252f653ea2a3794bdf66b/fast_jtnn/chemutils.py) the code included the following  block which merged rings, this step seems to be missing from the new implementation. Could you please clarify if this is the case.
  #Merge Rings with intersection > 2 atoms
  for i in range(len(cliques)):
      #only focus on rings skip other cliques
      if len(cliques[i]) <= 2: continue
      for atom in cliques[i]:
          for j in nei_list[atom]:
              if i >= j or len(cliques[j]) <= 2: continue
              inter = set(cliques[i]) & set(cliques[j])
              if len(inter) > 2:
                  cliques[i].extend(cliques[j])
                  cliques[i] = list(set(cliques[i]))
                  cliques[j] = []
  cliques = [c for c in cliques if len(c) > 0]  `

Hi,
Yes. This is now handled by the motif extraction script generation/poly_hgraph/find_fragments.py
Wengong

Thank you for the quick response and clarifying Wengong.


New document sync and save

I have been looking in to how we might determine if a document is not available on the network. As a side effect, I was investigating how sync messaging is triggered.
At the moment, if we create a document on the repo, we set up a new empty document but don't persist anything to storage. We do, however, immediately start to sync it with other peers (if the sharePolicy allows).
When we find a document which doesn't exist, the same process happens, only the document stays in a requesting state.
Any connected peer will have no way of determining if the first (empty?) sync message is regarding an empty doc which has been created elsewhere and will shortly begin syncing changes or if it is a non existing document that the other peer is looking for.
I would suggest that the most logical solution would be to have a new document only sync over the network if it contains changes?
It might not matter, and we could be happy that a connected peer could respond to the initial sync in either case to say that it the document isn't available from it. If so, we just ignore the message when it arrives at the creating peer.

Yeah, this has always been a little underbaked conceptually, though really I'm surprised how far its gotten. Perhaps we should consider making the offer() and accept() a bit more explicit in the system? That would imply reifying peers a bit which honestly is probably the right idea.

@alexjg pointed out earlier that the counterpoint to this is that when a document is created locally, there now exists a document URL. If the document isn't saved somewhere (be it over the network or locally) then it is dead.
In this case the argument would be that all created docs should be saved locally whether they contain data or not

I had a little time this afternoon to look at this some more, and have started to see what happens if we call the first sync message triggered by find a request instead of a sync. Essentially it has the same body, just a different type.

i support this concept. i agree that saving empty documents is a healthier design than just dropping them.

Do we want to block 1.0 on this?

Ideally we would design our network messages such that we can backwards compatibly implement this. I.e. add a request message and handlers for it which don't do anything different to the current logic and we can implement the "I don't have this" logic later. That way I think we don't need to block 1.0?

Closed by #154 and #142


Update data to include West US 3

Please update this page with fresh data and include newer regions, such as West US 3.

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

ID: 311b6efb-2d93-6130-96a9-867fad56bd52
Version Independent ID: a17faabf-04c6-c3da-9a37-a86b0d00cbfd
Content: Azure network round-trip latency statistics
Content Source: articles/networking/azure-network-latency.md
Service: virtual-network
GitHub Login: @nayak-mahesh
Microsoft Alias: kumud

Hello @brianlo-ms
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

I am creating a doc bug for the Azure Latency chart issuez. Since there are multiple issues related to this page, I am currently investigating this issue with the Product team and will be closing all the open issues.
#please-close


How to know if the user uses a 12 or 24 hour time format in the setting of phone?

I want to display the time appropriately  no matter the languages selected :
12-hours :  1:00 PM
24-hours: 13:00

This question should better be asked on StackOverflow
See https://docs.flutter.io/flutter/widgets/MediaQueryData/alwaysUse24HourFormat.html

Closing as there is no known issue here

Thank you @zoechi  , but I don't want the value of DateTime changes with the locale, so alwaysUse24HourFormat can not do that , I just want to display am or pm , so I need know the setting .

So, how to know what user wants to see? 16:00 or 4:00 PM ?


code release

Really excellent work, how long will the code be released

We just released the code and checkpoints: https://github.com/PrieureDeSion/visualnav-transformer/releases/tag/code_release


[DataFactory]Added new features into 5.5.0

swagger PRs:
Fixed Expression mode for SqlServerStoredProcedureActivity:https://github.com/Azure/azure-rest-api-specs/pull/18419
Added Policy property into ExecutePipelineActivity:https://github.com/Azure/azure-rest-api-specs/pull/18413
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

/azp run net - mgmt - ci


Buy or build help

Hi, I'am just wondering if there is a place to buy this bridge or any firm that could build it ?
Thanks for your help !

Currently there is no way to buy this board. You can try to build it yourself or hire us on a project basis to build it for you.
We are working on making the board available on a shelf through a parnter but this is not available yet. We will let you know when it happens.

We are actually quite interested in integrating this sort of thing onto a DepthAI/OAK baseboard directly.  We are making open-source MIT-licensed hardware as well which seems to be quite complementary actually:
https://github.com/luxonis/depthai-hardware
And it's also Altium based (which some of ANT-Micro boards are).  We'll likely want to combine your Xavier board with some power-over-coax converters for example.  And do the same with our system on module.
Thoughts?
We can also help manufacturing these by the way if that's of interest.
Thanks,
Brandon
Luxonis // OpenCV Team


Cannot operate the tree when openNodes is set in

I set the tree like below
<TreeMenu
  data={location_tree}
  onClickItem={(props) => location.href = `#/locations/${props.id}` }}
  openNodes={['location-1', 'location-1/location-2']}
>
  {({search, items}) => (
    <Fragment>
      <TextField
        label="Search a location"
        type="search"
        margin="normal"
        variant="outlined"
        fullWidth
        onChange={e => search(e.target.value)}
      />
      <List component="nav">
        {items.map(props => (
          <Item {...props} />
        ))}
      </List>
    </Fragment>
  )}
</TreeMenu>

Whenever the openNodes exists, the designated tree node can be opened successfully. However the whole tree is then not working, neither expandable nor collapsable.
Thanks!

It's intended behaviour. The use case of openNodes is to allow the parent component to control the state of TreeMenu.
To give an initial state of open nodes, please use initialOpenNodes. Please note that currently this is only available in the beta version<EMAIL_ADDRESS>Later it will be released as 1.0.6.

1.0.6 has been released.

Thanks @iannbing, I will give 1.0.6 a try then.
👍

Hey,
Unfortuantely initialOpenNodes is not working for me when using version 1.1.2. I am able to control the open nodes using the property openNodes instead of initialOpenNodes, but the user is not able to interact with the tree in this case. I want the user to be able to interact with the tree and to control the open/collapsed items from my code.
Below you can find the code for my tree menu component.
class GraphPropertyView extends React.Component {
  handleClick = (key, label, ...properties) => {};

  render() {
    const { classes } = this.props;

    const properties = this.processProperties(this.props.properties, {
      index: 0,
    });
    const openNodeKeys = this.determineOpenNodes(properties, {
      currentLevel: 0,
    });
    console.log(openNodeKeys);
    return (
      <div className={classes.graphPropertyContainer}>
        <TreeMenu
          data={properties}
          initialOpenNodes={openNodeKeys}
          onClickItem={this.handleClick}
          hasSearch={false}
        />
      </div>
    );
  }

  // emulate call by reference by using a context object
  processProperties(properties, context) {
    let treeData = [];
    for (let property of properties) {
      let addedProperty = {
        key: context.index.toString(),
        label: property.name,
        nodes: []
      };
      ++context.index;
      if (typeof property === "object" && property.children) {
        addedProperty.nodes = this.processProperties(
          property.children,
          context
        );
      }
      treeData.push(addedProperty);
    }
    return treeData;
  }

  // emulate call by reference by using a context object
  determineOpenNodes(properties, context) {
    let openNodeKeys = [];
    for (let property of properties) {
      if (this.props.currentLevel > context.currentLevel) {
        openNodeKeys.push(property.key);
      }
      if ((property.nodes) && (property.nodes.length > 0)) {
        ++context.currentLevel;
        openNodeKeys.push(...this.determineOpenNodes(property.nodes, context));
        --context.currentLevel;
      }
    }
    return openNodeKeys;
  }
}

Btw, thank you so much for your great work!


Remove kubemark-100 from merge blockers.

cc @eparis

I've not seen this test causing problems so I don't know why it should be removed.  Thus I'm not going to click the merge button   :)

Oh sorry - we're removing the suite and will substitute it with kubemark-500 after few changes to merge queue.


feat(AMBER-704): Small updates to Eigen artwork page for private works

This PR resolves []
Description

As discussed with Peter, we would like to re-add the COA info to the artwork details, move the edition radio buttons to match web, and make some small design adjustments

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Adds COA back to artwork details and adjusts styling - lfp

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against dfd20fdd0f2989a2a405ebfceb3390a7e2753c90


Underscores don't draw anymore

Check out dev (I used 6eef950). Run a main.lua containing
require "a_b"
You will see

Notice: The underscore is rendering as a space.
I am seeing this on both Oculus Quest and desktop driver on Windows. I'm pretty sure I didn't see this problem before.

Changing the font's padding from 2 to 3 fixes it.  Need to figure out why

Fixed in 3a35f81918d37369b895357a6a7c6c1f341ece62, it was integer overflow


Toggles display opposite to vrchat if default = true, set = false

I'd like a special case added where toggles are displayed the other way around if default = true, set = false, to match how it works in vrchat.
We discussed this in discord, I don't really know how to word it lol.

Added in 83b6bf237c8e537b7f0ccf188bb5d5724de4d261


fix: use clamp to ignore line sizes when --lines is 0 for rect

Hi there, I'm using this library in an enterprise project and will hopefully be making further issues/pull requests with any tweaks I think are helpful in the future. Please let me know if you have any contribution guidelines you'd like me to follow. Happy to chat about it further if you'd like!
This change uses the clamp function to only take the line height, line gap and group gap into account if lines is > 0. That way you can have pure block skeletons.

Hi 👋 I'm happy to get my first PR! Thank you so much. But I didn't understand exactly what you want to do. What was the issue, maybe I can suggest you another way. Can you create a jsfiddle demo I can peek at?
I don't have a contribution guideline for now. Feel free to submit pull requests or create issues, I'd be happy!
I'll also try to add comments to make the code clearer when I have time.

Sure, here's a codepen that demonstrates what the change does: https://codepen.io/themagickoala/pen/JjELmZK.
You can see that there's a 5px gap beneath the rect in the current version, but the new version has no such gap, while maintaining consistent behaviour when you don't have lines set to 0.
This 5px is the difference between --l-gap and --g-gap, as you're getting -1 of the former and 1 of the latter.

ok get it thanks! released v1.0.5

Thanks! A member of my team has put together a React component system based on your library which we're keen to open source at some point. It's not ready for release yet, but we'll look into doing so soon!
I'll take a look at some ways to tidy up the repo in terms of making contribution easier. How do you tend to make your changes? Do you update the SCSS and use that to build the .css and .min.css files?

It would be great! Unfortunately I was wrote this repo very complicated. Just update the .scss file and run gulp command. If you need any help feel free to write to me.


How to configure an instance installed with snap

When installing using snap, the routr installation is in /snap/routr-server, but I can't change the configs there because it's a read-only filesystem. Where do I put the files instead?

@raffomania
The snap distro stores the config on a Redis server instead of files. You can use the rctl tool in order to add Agents, Domains, etc.
Sorry for the late response.

@raffomania
The snap distro stores the config on a Redis server instead of files. You can use the rctl tool in order to add Agents, Domains, etc.
Sorry for the late response.

thanks for the info! might be useful to include this in the docs :)

thanks for the info! might be useful to include this in the docs :)


Extra PR information required

A PR is not showing who created it nor if it is in conflict.

These seem to both be implemented already 😁

sry!


Move test data away from midas server

Testing fails since data can't be provided by the midas server outside the Kitware network. See #56.

Data have been uploaded to Slicer/SlicerTestingData and external data url template updated in e2426bf


Adjust font size when tags overlap

Also now fixes the pytest versioning issue that was introduced to main by this commit: https://github.com/reworkd/tarsier/commit/9b61c4a8c71547cd862a308c8fef9aa5e03090de


john the ripper can't find $JOHN/john.ini

As the title says john cannot find its john.ini file. Checking $JOHN returns empty. Am I missing something here or is this the intended behavior?
cc @offlinehacker

@offlinehacker ping? ;)