post method throw error

after usign it with get, it worked but when i wanted to use it with an api with post methode it  therows error
this is my code
`    const oauth = new OAuth.OAuth(
      "https://api.twitter.com/oauth/request_token",
      "https://api.twitter.com/oauth/access_token",
      TWITTER_CONSUMER_KEY,
      TWITTER_CONSUMER_SECRET,
      "1.0A",
      null,
      "HMAC-SHA1"
    );
    oauth.post(
      "https://api.twitter.com/2/tweets",
      TWITTER_ACCESS_TOKEN, //  user token
      TWITTER_SECRET_TOKEN, //  user secret
      { text: "hi" },
      "application/json",
      async function(e, data) {
        if (e) console.log(e);
        console.log(data);
      });`

it return this error
{
statusCode: 400,
data: '{"errors":[{"parameters":{},"message":"Requests with bodies must have content-type of application/json."}],"title":"Invalid Request","detail":"One or more parameters to your request was invalid.","type":"https://api.twitter.com/2/problems/invalid-request"}'
}

@maychine-fatima Any update on this? Is it working for you now? I am also facing similar issue. FYR: https://twittercommunity.com/t/how-to-use-twitter-v2-apis/163669

Not sure if this issue is specific to node-oauth but using axios I was able to tweet using twitter v2 APIs. Working code snippet added for reference:
const express = require('express');
const router = express.Router();
const OAuth = require('oauth-1.0a');
const axios = require('axios');

router.post('/twitter/tweet', async (req, res) => {
    try {
        const oauth = OAuth({
            consumer: {
                key: process.env.TWITTER_CONSUMER_KEY,
                secret: process.env.TWITTER_CONSUMER_SECRET
            },
            signature_method: 'HMAC-SHA1',
            hash_function: (baseString, key) => crypto.createHmac('sha1', key).update(baseString).digest('base64')
        });

        const token = {
            key: '',
            secret: ''
        };

        const authHeader = oauth.toHeader(oauth.authorize({
            url: 'https://api.twitter.com/2/tweets',
            method: 'POST'
        }, token));

        const data = { "text": "Hello world!!" };

        await axios.post('https://api.twitter.com/2/tweets',
            data,
            {
                headers: {
                    Authorization: authHeader["Authorization"],
                    'user-agent': "v2CreateTweetJS",
                    'content-type': "application/json",
                    'accept': "application/json"
                }
            }
        );

        res.status(201).send({ message: "Tweet successful" });
    } catch (error) {
        console.log("error", error)
        res.status(403).send({ message: "Missing, invalid, or expired tokens" });
    }
});

FYR: @maychine-fatima

what's matter with the authors？Why don't resolve this issue？

@maychine-fatima @aditodkar I fixed this problem with the following code：
      oauth.post(
        `https://api.twitter.com/2/users/${twitterUserId}/following`,
        accessToken,
        accessTokenSecret,
        JSON.stringify({ target_user_id: '1613090899432722432' }),
        'application/json',
        (err, result) => {
        },
      )


medication request request prequalify fix #2891

https://github.com/edenlabllc/ehealth.api/issues/2891

Coverage increased (+0.09%) to 91.174% when pulling 5ab6c7af1372a30182539266ecac11600266329a on mrr_prequalify_fix#2891 into 75361ab2b5cc50aee146b138730f93923c7277fa on develop.


Clarify whether non-blocking or stateless is the more important aspect of nb

In reference to @japaric's comment here.

In my mind operations that return nb::Result signal that they can't be started and completed right
now via WouldBlock but once you get an Ok you know that the operation started and completed in one step, without blocking. This also means that operations that return nb::Result carry no program
state -- there may be some state in the hardware registers or in the kernel but it's not on the
program stack / heap.

Unfortunately this is not always possible, as an example consider the embedded_hal::serial::Write implementation from the nrf51_hal crate:
pub struct Tx<UART> {
    _uart: PhantomData<UART>,
}

impl hal::serial::Write<u8> for Tx<UART0> {
    type Error = !;

    fn flush(&mut self) -> nb::Result<(), !> {
        Ok(())
    }

    fn write(&mut self, byte: u8) -> nb::Result<(), !> {
        /* Write one 8bit value */
        unsafe { (*UART0::ptr()).txd.write(|w| w.bits(u32::from(byte))) }

        /* Wait until written ... */
        while unsafe { (*UART0::ptr()).events_txdrdy.read().bits() } == 0 {}

        /* ... and clear read bit, there's no other way this will work */
        unsafe { (*UART0::ptr()).events_txdrdy.write(|w| w.bits(0)) };
        Ok(())
    }
}

This is currently a blocking implementation. To convert it to a non-blocking implementation we need to introduce some state of whether we're currently transmitting a byte (as far as I can tell, there is no way to derive this from the microcontroller registers):
pub struct Tx<UART> {
    _uart: PhantomData<UART>,
    busy: bool,
}

impl hal::serial::Write<u8> for Tx<UART0> {
    type Error = !;

    fn flush(&mut self) -> nb::Result<(), !> {
        let uart = unsafe { &*UART0::ptr() };
        if self.busy {
            if uart.events_txdrdy.read().bits() == 1 {
                uart.events_txdrdy.reset();
                self.busy = false;
                Ok(())
            } else {
                Err(nb::Error::WouldBlock)
            }
        } else {
            Ok(())
        }
    }

    fn write(&mut self, byte: u8) -> nb::Result<(), !> {
        let uart = unsafe { &*UART0::ptr() };
        self.flush()?;
        uart.txd.write(|w| unsafe { w.bits(u32::from(byte)) });
        self.busy = true;
        Ok(())
    }
}

In my mind the whole purpose of nb is to support implementing non-blocking IO primitives suitable for integrating into something like a futures event loop (although, I'm still trying to work out how to support interrupt-driven task notifications without having to have event loop specific implementations anyway...). If implementations are going to be forced to block to not have a tiny bit of important state, that undermines the entire utility of this crate.
Once this is clarified I will try and open a PR documenting this along with other stuff mentioned in that comment.
cc @therealprof (in case you have some other ideas about non-blocking uart support on the nrf51)

@Nemo157 I haven't tried but maybe it's possible to set uart.events_txdrdy to 1 in the code. In that case it should be possible to have the write method like this:
fn write(&mut self, byte: u8) -> nb::Result<(), !> {
    let uart = unsafe { &*UART0::ptr() };
    if uart.events_txdrdy.read().bits() == 1 {
         uart.events_txdrdy.reset();
         uart.txd.write(|w| unsafe { w.bits(u32::from(byte)) });
         Ok(())
    } else {
        Err(nb::Error::WouldBlock)
    }
}

I can give it a whirl later.

maybe it's possible to set uart.events_txdrdy to 1 in the code.

I just attempted that and it doesn't seem to take, I'm pretty sure the event registers are clear-only.

@Nemo157 The documentation is not quite clear about that. But another person in the interwebs attempted the same and also failed. ;) I'll try a few more variants later, maybe just send a dummy character into the void before setting up the peripheral pins...

Leaving aside the implementability of this on the concrete hardware, I'd interpret the stateless aspect of a nb method to pertain to state from the individual calls (like the arguments being stored from one method call to the next), not internal management state of the callee.
A UART implementation can get away with having all its management state in registers, but can just as well be a statefull component (like a bit-banging UART that has its registers in software and clocks out bits inside interrupts), or might be a hybrid of that (eg. this UART peripheral that needs additional management that lives inside its wrapper).

I suppose one thing i'm influenced by is that i'd often consider a generator implementation for a nb call to be reasonable.


[Collector]Hope to Add application name in service search view

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[X] New feature provided

[ ] Improve performance

Related issues
#1176

New feature or improvement

Describe the details and related test reports.

Add application id and code into ServiceInfo.

Coverage decreased (-0.0006%) to 23.983% when pulling a9287741a3d2c5b7a4503ac3503cf15be1006b4c on peng-yongsheng:feature/1176 into d56ad5ec5df1fc739ad33b97dc85e8835dbda63b on apache:master.


Flow docs incomplete

For flow you also need to install babel-eslint and use this in package.json:
"standard": {
    "parser": "babel-eslint",
    "plugins": [
      "flowtype"
    ]
  }

Check out this issue on standard as its relevant: https://github.com/feross/standard/issues/592
TL;DR: Check out https://github.com/Gozala/standard-flow by @Gozala
Closing this for now, but feel free to comment!


Jenkins pipelines need timestamps

I noticed none of the Jenkins pipelines currently have timestamp blocks. Timestamp blocks are an easy addition to pipeline code that adds invaluable information to the console output. Generally I wrap my entire build process in a timestamp block to ensure everything is timestamped.

I'll take this up. I'm working on this in parallel to https://github.com/AdoptOpenJDK/openjdk-build/issues/1101


Dynamic Exit Fee

Our current exit fee (set to 0.5%) is kind of a catch-all to prevent abuse of our vault contract, deter users from redeeming, and provide a potential revenue source that could increase the APY and/or accrue to governance token holders. In our recent discussion about removing oracles from the rebase calculation, @tomlinton proposed making the exit fee variable based on asset prices in a way that "makes it net-zero to exploit in case of peg loss".

Based on the currencies you are receiving for your OUSD, we use the oracles to calculate the exit fee and make the whole thing viewable so we can display the exit fee in real time without gas... We don't care about stablecoins deviating from their peg unless someone is redeeming, we can just assume they'll always return to 1.

Peg loss / asset prices are not the only thing the exit fee protects us against. The exit fee makes flash loan shenanigans much less attractive because the more money you bring in and out, the more the exit fee hits. Even something as simple as 3pool entrance/exit fees would be a major problem for us without the exit fee, since the pool is paying for these.
On-chain oracle prices are not entirely trustworthy. The current exit fee was initially created because the oracles lag reality. The exit fee was designed as a buffer against the oracles being wrong. If whatever price related situation we are protecting against happens quickly, simply looking at the current oracles isn't going to detect the problem.
I think our current exit fee is okay for now - our fee is less than swapping in and then swapping out via Uniswap. Tether essentially has a 100% exit fee, and it's the most popular thing ever.

One addendum that didn't get captured is that the exit fee would still have a minimum, i.e. what we have now would be the minimum. It'd get larger with stablecoin price deviations.

3pool entrance/exit fees
What is this? is there a place where I can read more about this?


Add documentation that Red Hat certified is available

Our RH image has been approved and now we are Red Hat certified
This PR adds the following:

Add content to README and CONTRIBUTING docs defining publish process

Connected to: https://app.zenhub.com/workspaces/palmtree-5d99d900491c060001c85cba/issues/cyberark/secrets-provider-for-k8s/112

@eladkug any news on oc3.10. Cannot merge doc change :(


fix: Could not remove metrics in Explore

SUMMARY
This PR https://github.com/apache/superset/issues/22707 moved the stopPropagation event downstream but wasn't removed upstream causing a bug with removing metrics.
BEFORE
https://user-images.githubusercontent.com/60598000/216051640-e7c1309e-bd7e-4a08-b155-616dc7b7dca7.mov
TESTING INSTRUCTIONS

Run query in SQL lab and create chart OR create a chart from a dataset
Add metric
Try to delete it via clicking "x"
The metric should be deleted successfully

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@geido Can we close this in favor of https://github.com/apache/superset/pull/22940? We can remove the stopPropagation because it will trigger the popup when removing the last temporal column before the user confirms the action.


UI demo, Overlaying images/text

hi. thank your example PR.   could you change the .ino file name and the folder name to be the same?  this is the Arduino lib example rule.   else the example can't display in the Arduino IDE example list.....

Fixed - renamed filename


Clean-up FO Github Teams

The 3 Github teams for FO do not represent either the FINOS' revised governance nor the actual historical leaders and participants in the project.

https://github.com/orgs/finos/teams/fo-pmc

Zero members; the PMC was @donbasuno and @HammadNYC

https://github.com/orgs/finos/teams/fo-program

@maoo @mcleo-d How is the group intended to be different from the fo-pmc group?
Currently Colin, Johan, and Jamie

https://github.com/orgs/finos/teams/fo-standards

@maoo @mcleo-d, is this intended to be the "FO project" (not the program) team?

The PMC, for now, should be @donbasuno and @HammadNYC. I am not sure why @jbjonesjr is in the FO teams. Ditto @ColinEberhardt. I can't recall either Jamie or Colin being involved in FO.
@mcleo-d @maoo, Can we delete the PMC group, especially given we have zero people in it and we've done away with programs/PMCs?
Note this will be the first step of clean-up -- there will additional clean up and updates if/as new project leads are chosen.

@maoo @mcleo-d Any update on getting these FO project github teams fixed?

@brooklynrob - I've unassigned fo-pmc and fo-program teams from finos-fo repo, as they dont apply anymore after FO program disband
Now the only non-FINOS team assigned to the repo is @finos/fo-standards , which includes Colin and Johan.
I also see that Johan and Hammad have direct access to the repo (see screenshot); I'd suggest to get rid of these entitlements and use Teams instead.

I'll wait for your input to tackle next cleanup steps.


golist relies on an obsolete release of gopkg.in/urfave/cli.v1 (1.18) and does not work with the current one (1.20)

golist relies on an obsolete release of gopkg.in/urfave/cli.v1 (1.18) and does not work with the current one (1.20)
+ go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags ' -X github.com/gofed/symbols-extractor/version.commit=aecba475bf76f5269c11367da0a190419cd9a133 -X github.com/gofed/symbols-extractor/version=0 -B 0x53a515e8225a08687fb15659311c31138f10deef -extldflags '\''-Wl,-z,relro  '\''' -a -v -x -o _bin/golist github.com/gofed/symbols-extractor/cmd/golist
…
cd /builddir/build/BUILD/symbols-extractor-aecba475bf76f5269c11367da0a190419cd9a133/_build/src/github.com/gofed/symbols-extractor/cmd/golist
/usr/lib/golang/pkg/tool/linux_amd64/compile -o $WORK/b001/_pkg_.a -trimpath $WORK/b001 -shared -p main -complete -installsuffix shared -buildid W7hFQx2bLlwdklLGWaGL/W7hFQx2bLlwdklLGWaGL -goversion go1.10 -D "" -importcfg $WORK/b001/importcfg -pack ./golist.go
# github.com/gofed/symbols-extractor/cmd/golist
cmd/golist/golist.go:25:40: cannot use nil as type string in field value
cmd/golist/golist.go:25:68: cannot use "" (type string) as type bool in field value
cmd/golist/golist.go:25:72: cannot use false (type bool) as type *cli.StringSlice in field value
cmd/golist/golist.go:26:41: cannot use nil as type string in field value
cmd/golist/golist.go:26:74: cannot use "" (type string) as type bool in field value
cmd/golist/golist.go:26:78: cannot use false (type bool) as type *cli.StringSlice in field value
cmd/golist/golist.go:27:42: cannot use nil as type string in field value
cmd/golist/golist.go:27:87: cannot use "" (type string) as type bool in field value
cmd/golist/golist.go:27:91: cannot use false (type bool) as type *cli.StringSlice in field value
cmd/golist/golist.go:28:61: cannot use "" (type string) as type bool in field value
cmd/golist/golist.go:28:61: too many errors

Still applies to tip, is going to force the creation of a compat package
gopkg.in/urfave/cli.v1 1.20 is more than a year old at this point. 1.18 dates from 2016!


Gets stuck on Necrolord Hearthstone when it rolls around

It will work random order until the next is necro, then it will stay necro the whole time. I have 185 toys and only 5 hearthstone toys.

It will work random order until the next is necro, then it will stay necro the whole time. I have 185 toys and only 5 hearthstone toys.

question: are you 80 renown on Necrolords?
there seems to be an issue with the necro stone but I'm having some trouble tracking it down

Just tried it on 80 reknown DK and it gets stuck once you necro-lord rolls around. Happens with or without being necro cov or any level therein.

I still can't reproduce this and I only have one idea of how this could happen:
The "old" Random Hearthstone Toy addon is still installed
can you please check if that's the case and uninstall the old addon if it's there?
Also, just in case, delete the RHT macro, reload ui and use the newly created macro please.


Wrong desklet proportions

I'm using the desklet on latest cinnamon (3.8.3) on Arch Linux, the proportions of the icon and the desklet size seem wrong...

Other desklets work OK

@malteo can you please tell me your resolution and if you are using any scaling? The desklet looks like it has the wrong width. Did you also try to remove and re-add it again?

I'm on a 3840x2160 resolution with cinnamon "Auto" scaling enabled, so HiDPI. Yes I already tried re-adding it.

@malteo can you please try to disable the auto-scaling and see if that will solve the issue?

Yes! It does. But as soon as I switch scaling to Double it changes to wrong proprtions.

@malteo thanks for the feedback! Will try to find a way to fix it.


Sport for fuzzing rust code

Many people in the rust community are excited to see this project! Both because it is in Rust, and because we want to use it on Rust projects.
Is there any information on how to use it on Rust projects?

At least to get things bootstrapped, ie without instrumenting rust's built-in libraries, it looks like building against system rustc/LLVM is pretty easy.
rustc appears to dynamically load LLVM/its LLVM codegen lib at runtime you can't just LD_PRELOAD angora-llvm-pass cause it wont be able to find LLVM hooks at load. This is just that  llvm_mode/Makefile to include $(LLVM_CONFIG) --libs in the flags for angora-llvm-pass so that libLLVM gets loaded at start. I think this should be done upstream, so will open a PR in a sec.
Once you do that, you can just something that looks like LD_PRELOAD="/path/to/angora-llvm-pass.so /path/to/unfold-branch-pass.so" RUSTFLAGS="-C passes=unfold_branch_pass,angora_llvm_pass" cargo build.
For me this results in ICEs that look like this, I presume because I'm using LLVM 7, which is unsupported:
Incorrect number of arguments passed to called function!
%71 = call i32 @__angora_trace_cmp(i32 %69, i32<PHONE_NUMBER>, i64 %70, i64 1), !dbg !232, !nosanitize !56

Note that this is, of course, a little bit awkward, because building Angora requires a nightly rust (ie installed via rustup) and then you have to switch to system-installed rust (ie uninstall rustup/remove it from your PATH) to actually build things with the angora pass. It looks like Angora's nightly-requirement is just for nll (so we can switch to edition-2018 and stable there) and C-linked thread-locals (which I'm worried isn't well-defined anyway, would it be too much of a perf hit to take a function-call into a native-built C wrapper to read these?).

I'm also very confused (and know nothing about LLVM) because the #[thread_local] variables in shm_conds don't appear to be defined as thread-locals in angora-llvm-pass.so.cc (the second-to-last arg is 0, which in LLVM's GlobalValue.h appears to be:
enum ThreadLocalMode {
  NotThreadLocal = 0,

)

Hi, @TheBlueMatt . Thanks for your contribution.  I will merge your pull request soon.
I haven't tried Angora in LLVM 7.  I will put the support for LLVM 7 in my plan. For the thread local issues, I defined __angora_prev_loc, __angora_context in  angora-llvm-pass.so.cc  as:
  AngoraPrevLoc =
      new GlobalVariable(M, Int32Ty, false, GlobalValue::CommonLinkage,
                         ConstantInt::get(Int32Ty, 0), "__angora_prev_loc", 0,
                         GlobalVariable::GeneralDynamicTLSModel, 0, false);
  AngoraContext =
      new GlobalVariable(M, Int32Ty, false, GlobalValue::CommonLinkage,
                         ConstantInt::get(Int32Ty, 0), "__angora_context", 0,
                         GlobalVariable::GeneralDynamicTLSModel, 0, false);

And the LLVM API is
GlobalVariable (Module &M, Type *Ty, bool isConstant, LinkageTypes Linkage, Constant *Initializer, const Twine &Name="", GlobalVariable *InsertBefore=nullptr, ThreadLocalMode=NotThreadLocal, unsigned AddressSpace=0, bool isExternallyInitialized=false)

"The the second-to-last arg is 0" is for "AddreessSpace".

@spinpx, what is the state of this? Is there any way I can help move this forward?

@dragostis the next steps are probably to retrace the steps I took, above, using the llvm6/7 branch and see how far you can get. Note that you'll have to use system-LLVM (and a rustc built against that, eg use debian packages, not rustup, as afaict rustup doesn't ship the necessary bits of LLVM to build against).

We have implemented the new feature for supporting libdft64 here. https://github.com/AngoraFuzzer/Angora/blob/master/docs/pin_mode.md


[React] [Toast] Duplicate Key Warning on Multiple Toast Creation

Description
When triggering multiple toasts in Ark UI by clicking a button, I expected each toast to appear without issue. Although the toasts show up, I receive a console warning about duplicate keys.
Link to Reproduction (or Detailed Explanation)
https://codesandbox.io/p/sandbox/ark-ui-toast-bug-forked-msml7h
Steps to Reproduce

Integrate the Basic Example from the [ark ui documentaion](https://ark-ui.com/docs/components/toast) into a Next.js 14 project
Render the component on any page.
Click the 'Toast' button multiple times quickly.
Observe the error in the browser's developer console.

Ark UI Version
1.0.1
Framework

[X] React
[ ] Solid
[ ] Vue

Browser
Google Chrome
Additional Information
Here’s the warning that is logged to the console:
"Warning: Encountered two children with the same key, toaster. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version."

@damzobridge
Thanks for taking your time to report this issue. A fix will be availabe in the next release.


generalize while_loop vmap rule to handle tuples

@mattjj It took me a while to be able to isolate the error in my function. The following script shows one of  the errors (some are resolved with this PR) which I get when using vmap with while_loop:
def f(key):
    def body_fn(uk):
        key = uk[1]
        u = random.uniform(key, ())
        key, _ = random.split(key)
        return u, key

    u, _ = lax.while_loop(lambda uk: uk[0] > 0.5, body_fn, (1., key))
    #u = random.uniform(key, ())  # this is fine
    return u

print(f(random.PRNGKey(0)))  # no error
print(vmap(f)(random.split(random.PRNGKey(0), 2)))  # TypeError: 'NoneType' object cannot be interpreted as an integer

Thanks so much for the report! Let's open a new issue for this bug.


Change all fields from time.Time to github.Timestamp

This PR introduces breaking API changes as described here #2645
It also fix the related test for the breaking API changes

@willnorris - this is a significant breaking change affecting a large number of fields.
Personally, I'm fine with it, but before we make such a sweeping change, I'd like to make sure you are fine with this too.

In general, I don't really love moving away from standard Go types where it's not actually necessary.  It makes it harder to interop with other libraries and existing code.  In hindsight, I kinda wonder if we could have made Timestamp a time.Time rather than a struct containing a Time.  (type Timestamp time.Time) But whatever, that ship has long sailed.
It looks like github.Timestamp was introduced in c6d364f065a1d24973bfb9b94542b6e4ab29a725 for timestamps in the repo struct.  It looks like we're already using github.Timestamp quite a bit in the library, though I'm curious how much of that is actually needing to parse unix timestamps versus just doing what other parts of the library are doing.  At the end of the day, I guess it probably doesn't matter too much.
Given that timestamps are almost exclusively read (I don't know of any GitHub API off the top of my head that involves providing a timestamp), and github.Timestamp includes all of the same methods as time.Time, I think this is probably fine.  I haven't reviewed all of the changes in this PR, but the general approach sounds okay.

Thank you, @ganeshkumarsv !
Merging.

Fixes: #2645.


Update diego-enabler

Got tired of seeing "Setting webapp Deigo support to true" so decided to bump this for myself :smile:
Signed-off-by: Anthony Emengo<EMAIL_ADDRESS>

thanks kris hicks!!!!


Animating the container itself.

Hey, first I wanna say thank you a lot for this library.
I've been using it and it seems to me that only the children of the container ViewGroup gets animated, is there any way it could animate the container itself too? (Without needing to pass in the parent as the container to beginDelayedTransition())
Thanks

Hey, thanks!
Actually it can animate container itself. Probably except case when it the root in Activity. Can you show code with example?

I just did some tests and it looks like it does animate it, but for some reason in my specific case it isn't working.
<ScrollView>
    <RelativeLayout>
        ...
        <LinearLayout android:visibility="gone"
            ...>
            <com.drivfe.rocketfriend.ui.views.RankView
                android:id="@+id/profile_rank_view_duel"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" />

            <com.drivfe.rocketfriend.ui.views.RankView
                android:id="@+id/profile_rank_view_doubles"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" />

            <com.drivfe.rocketfriend.ui.views.RankView
                android:id="@+id/profile_rank_view_solo_standard"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" />

            <com.drivfe.rocketfriend.ui.views.RankView
                android:id="@+id/profile_rank_view_standard"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" />
        </LinearLayout>
    </RelativeLayout>
</ScrollView>

RankView is just a RelativeLayout with some TextViews.
Relevant code snippet:
TransitionManager.beginDelayedTransition(ranksLayout, Utils.createEnterTransition());
ranksLayout.setVisibility(View.VISIBLE);

Utils.createEnterTransition() returns a TransitionSet that I use everywhere throughout the app and it works fine.
ranksLayout is the LinearLayout.
In this case the ranksLayout becomes visible instantly, no fade ins or anything. The only way I can get it to work correctly is if i do setVisibility(View.VISIBLE) to every individual RankView and make the LinearLayout visible by default.

between, try the same but when you set android:visibility="invisible" for LinearLayout before transition. so it will be animation from invisible to visible. it can make sense because actually setVisibility(View.VISIBLE) for LinearLayout can also change the size of RelativeLayout and ScrollView

Yep, invisible works. Thanks.


is it possible to jump diagonal?

Hello @mikolalysenko
is it possible to add a option that the way can also diagonal?
Regards
Dexus

You can get a diagonal path by shearing.  I need to write this up, but haven't had time.

Have you a example for that? I'm not family with it...

It is a little tricky conceptually, but straightforward to implement.  The idea is to apply a shear using the linear map:
(x, y) ->  ( x + y,  x - y )

Then a diagonal shortest path in the (x,y) domain is an L1 shortest path in the warped domain.  So you solve the shortest path there, then invert it to get back to the original domain.

Hey @mikolalysenko happen to have any plans here? If not, I'd be happy to work on a PR.
Cheers and thanks!

It definitely would be great to see implemented.

I am also interested in diagonal as a feature. Would shearing happen in user-land or library-land @mikolalysenko ?

User land

@mikolalysenko @chinedufn is there any idea about when the diagonal feature could be up and running? If not, could you please guide me on to how to get it done? Thanks.

It is a little tricky conceptually, but straightforward to implement. The idea is to apply a shear using the linear map:
(x, y) ->  ( x + y,  x - y )

Then a diagonal shortest path in the (x,y) domain is an L1 shortest path in the warped domain. So you solve the shortest path there, then invert it to get back to the original domain.

@mikolalysenko , would this limit the movement to only diagonal then?

Vertical and horizontal movements are not optimal if the cost of moving diagonally is the same.

Hmmm shouldn't be diagonal movement preferred?
Since it moves two "coordinates" at once?
Technically even if the agent moves in a zigzag pattern horizontal or vertical it still reaches the goal in the same time.

Hey guys, I did not read the literature to understand how this algorithm worked but I tried porting it to another language by doing a 1:1 copy, and after I did the copy I wanted diagonals so I removed the thing where it discerns a path between two points but adds one if they are not equal and I told it instead to just go from the one point to the next point.
It is giving me solutions like the following that look good, and it is like a 2 line change instead of doing some linear transformation thing like described above.

Is this trivial solution that appears to work somehow not as trivial as it would appear? Should I think that I broke something horribly that will fail later in an unexpected way? I mean it was literally about a 2 line change. Where we have this stutter:
https://github.com/mikolalysenko/l1-path-finder/blob/4aa05fd85eb58cf332ec416079948d9860b1eefc/lib/graph.js#L93
I literally only edited the "stutter" when going from {x1, y1} to {x2, y2} so that it does not add a point at {x1, y2} when decoding the solution back in "getPath()". I don't understand why users wouldn't be recommended to remove this "stutter" instead of doing some crazy linear transform, but I also don't understand the inner workings of how this l1 path finder is functioning yet. I need to do more reading on that.


typo: Double word "error"

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/connect-your-device/DISM.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


build_imagebuilder: stop logging stderr as ERROR

imagebuilder uses stderr for normal operation. In order to avoid
alarming ERROR logs, these are now logged at INFO level like stdout.
Because the two streams are not always logged in the same order as
they're produced, prefix them with stderr/stdout to distinguish the
streams. The final line of stderr is used as the error message if the
return code is failure.

On a related note, https://github.com/openshift/imagebuilder/issues/84

Updated release notes draft:

build_imagebuilder logs stderr as INFO


Support RISCV chips with only single program buffer.

The current RISCV debug implementation assumes that all targets have at least two program buffer slots. The debug specification also allows for implementations with only a single program buffer slot, and an implict ebreak at the end.
To support this, the number of program buffer slots has to be checked, and the usage of the slots has to be adapted.
See #144

Good news: seems like I got my hands on HW, that only supports a single progbuf slot. Enough reason to fix this I guess.
Although I think this particular hw might just have a broken debug implementation...


[Snyk] Upgrade @spectrum-web-components/button from 0.34.0 to 0.35.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @spectrum-web-components/button from 0.34.0 to 0.35.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 21 days ago, on 2023-07-31.

Release notes

Package name: @spectrum-web-components/button

0.35.0 - 2023-07-31v0.35.0

0.34.1-rc.0 - 2023-07-12

0.34.0 - 2023-07-11v0.34.0

    from @spectrum-web-components/button GitHub release notes

Commit messages

Package name: @spectrum-web-components/button

1ee5a6c chore: release new versions #publish
d864e6f build: force linters onto project shared version
ff03f28 build: skip file test in linting packages
6cd751a refactor: make internal projects private
851c57d build: exclude linters from CEM generation
36d0537 fix: setting title when textfield is invalid
6be9a5f chore: new contributing guidelines (#3485)
0cd3bcf chore: update PRs with main based on labels (#3425)
59358c7 fix(meter, progress-bar, progress-circle): use innerText when label is not provided (#3483)
78e8c80 build: check CEM for "tagName" when building
ac91d6f ci: update golden images cache
a71b499 chore: take latest breaking Spectrum CSS updates
89c288e fix(swatch): warn when mixed-value used with selects !== 'multiple' (#3460)
ea10049 fix(tabs): allow bi-directional arrow key navigation in both orientations (#3410)
67a21f0 chore: bump stylelint-config-prettier from 9.0.3 to 9.0.5
c3e2995 chore: bump css-loader from 6.7.1 to 6.8.1
a94cb29 chore: bump mocha-junit-reporter from 2.0.2 to 2.2.1
80ed2e0 chore: bump esbuild-plugin-lit-css from 2.0.0 to 2.0.4
b4c9595 fix(split-button): update more button label application (#3354)
1c68175 chore: bump http-cache-semantics from 4.1.0 to 4.1.1
fb5f166 fix(grid): added lit dependency (#3489)
815fa8d docs: fix element resolution typo (#3487)
b92daf2 fix(number-field): update button label to use number-field-labels as part of the text (#3474)
3dbda9d ci: update golden images cache

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Already merged in main.


Rust API Guidelines compliance

We should refactor the whole library to adhere to the API Guidelines. This checklist should guide the work.

Are you tracking this somewhere? I'm just getting into Rust and this may be a great opportunity for me to practice the language and pitch in on a good project.

Absolutely, that's much appreciated!
Not really tracking this effort much honestly, due to the fact that the time it takes finding non-complying areas dominates the time it takes fixing them -- it's mostly very small refactorings/renames and stuff can and will slip through in the future anyway so it's faster to just change stuff as one finds it.


Appsync Simulator does not support class property on maps and array

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
18
Amplify CLI Version
2.4.0 (appsync simulator)
What operating system are you using?
WSL2 Ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Amplify Categories
Not applicable
Amplify Commands
Not applicable
Describe the bug
Velocity variables are proxies to Java objects. Properties like .class available on all java object are present and visible in Velocity on AppSync.
The amplify appsync simulator does not expose .class.
Expected behavior
## count keys in an array or map
#if( $context.arguments.value.class.name == 'ArrayList' )
   #return($context.arguments.value.length)
#else
   #return($context.arguments.value.size())
#end

Reproduction steps
See expected behavior
GraphQL schema(s)
No response
Log output
No response
Additional information
No response

Hey @thantos :wave: thanks for raising this! Out of curiosity what are you looking to accomplish?

We are writing a compiler from typescript to velocity and we need to handle ambiguous inputs.
Typescript/javascript supports 1 in array and "key" in mapOrObject, but java has different APIs for List and Object. Because VTL exposes most of the Java interface, included class. The class name is one heuristic  we are using to determine an array vs a map at (VTL) runtime.
And we are using your simulator for our tests (thanks for this, by the way, we've used it to find a ton of bugs).
We have some other use cases like trying to implement toJson by using the reflection exposed through .class.


OOM killer - actor is dead

I have 4x16GB GPU cards, I'm loading the vicuna 13b.v1.3 model, and I'm getting the following error;
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker unexpectedly exits with a connection error code 2. End of file. There are some potential root causes. (1) The process is killed by SIGKILL by OOM killer due to high memory usage. (2) ray stop --force is called. (3) The worker is crashed unexpectedly due to SIGSEGV or other unexpected errors. The actor never ran - it was cancelled before it started running.
The command I'm using is this:
RAY_memory_usage_threshold=0.7 RAY_memory_monitor_refresh_ms=0 CUDA_VISIBLE_DEVICES=0,1,2,3 python -m vllm.entrypoints.api_server --model ../models/vicuna-13b-v1.3/ --gpu-memory-utilization 0.9 --swap-space 1 --tokenizer hf-internal-testing/llama-tokenizer --tensor-parallel-size 4

I'm getting the same error when trying to load Llama-2 13b (meta-llama/Llama-2-7b-chat-hf) to 4x Titan Xp 12GB (Cuda v.12.0).

Maybe the OOM occurs because your cpu memory it too small to reserve exough cpu_swap_space(pin_memory) for 4 GPUs? Or can't now load vicuna13(26GB~) since you have to launch 4 process, and each process need to use 26GB cpu memory.

@irasin, wow that's a lot of CPU memory. just curious to know if there's any metric on how to calculate the needed CPU memory.

I'm getting the same error when trying to load Llama-2 13b (meta-llama/Llama-2-13b-chat-hf) to 4x Titan Xp 12GB (Cuda v.12.0).

i dont think cuda v12 is supported. look at the requirements here:
https://vllm.readthedocs.io/en/latest/getting_started/installation.html

@iRanadheer it still works with v12 through cuda backwards compatibility. Serving 7B models on GPUs work just fine, the OOM error occurs only starting with 13B models.

Oh, Thanks for the info. 7b model is running just fine but 13b is leading to OOM error.

Please try to reduce swap memory via specifying --swap-space 1 or less to avoid this error. Feel free to reopen the issue if there is any other issue.

@zhuohan123 I have actually done that, not entirely clear how much RAM and VRAM are required for deploying Vicuna 13B model. I have 64 gb of gpu memory and 40gb of CPU memory, yet I still couldn't deploy the 13B model.

It seems that swap space is a part of your storage disk, used as temporary memory while memory is full.
This seems to be some sort of resource usage used by vllm in order to manage heavy models such as this.
I'm running in a cluster (baremetal) with 4 gpus, and the /dev/shm is like 64mb, however the /tmp has something like 96 gb available.
Given what was pointed out that trying to use 4 GPUs means 4 process trying to move up to 26gb to swap space, of course it won't be able to handle.
What you're telling @zhuohan123  is that adding swap space 1 would reduce this to 1gb as swap space, controlling the error, while probably slowing down the model loading process?

Getting this OOM error while trying to load TheBloke/WizardCoder-Python-34B-V1.0-AWQ with --tensor-parallel-size=2 (2x4090 GPUs) with 64GB CPU memory. Increased the shm size to 48GB, it did not help. Trying to load on a single GPU causes "CUDA out of memory", while the model should fit.


cmd/go/internal/work: building Go can fail on FreeBSD due to chmod failure

The current git tip will fail to build on FreeBSD under some circumstances because it attempts to make a directory in /tmp setgid and under some (possibly common) situations this will fail. The root of the issue is a FreeBSD feature where directories always behave as if they had the sticky bit set as far as mkdir(2) is concerned, per the FreeBSD mkdir(2) manpage.
How the bug happens:

/tmp ownership is, say, user root and group wheel.
you (the UID building Go) are not in group wheel
you mkdir /tmp/GroupSticky. Due to the FreeBSD mkdir(2) feature this new directory winds up with owner you but in group wheel, which you are not a member of.
you attempt to set setgid on something that is in a group that you are not a member of. FreeBSD correctly rejects this with EPERM.

There are two ways for the Go build to still succeed on FreeBSD as far as I know. The first is for the UID doing the build to be in the group that owns /tmp. The other is to set TMPDIR to a directory which you've created and that has the group owner as one of your groups; this will typically be the case if you create it under $HOME.
What version of Go are you using (go version)?
I am trying to build the latest git tip, 42e97468 as I write this. However this build failure happens as of commit e9bb9e5 which introduces this test. Reverting to 4e0f63940c results in a tree that will build.
What operating system and processor architecture are you using (go env)?
GOARCH="386"
GOHOSTARCH="386"
GOHOSTOS="freebsd"
GOOS="freebsd"

What did you do?
Attempted to build Go from git tip or any version since
What did you expect to see?
Success (ignoring issue #19592 for now, which also prevents the build from succeeding).
What did you see instead?
--- FAIL: TestRespectGroupSticky (0.00s)
        build_test.go:203: chmod /tmp/GroupSticky: operation not permitted
FAIL
FAIL    cmd/go/internal/work    0.015s

This machine's /tmp and a manually created /tmp/GroupSticky directory have the ownership:
drwxrwxrwt  146 root  wheel  13824 Mar 17 16:03 /tmp/
drwxr-xr-x    2 cks   wheel    512 Mar 17 16:02 /tmp/GroupSticky/

(I am not in group wheel on this FreeBSD server; it is run by another group entirely.)

I would be inclined to just skip the test on FreeBSD.

Seeing this on Mac OS X too.
--- FAIL: TestRespectGroupSticky (0.00s)
build_test.go:203: chmod /tmp/GroupSticky: operation not permitted
FAIL
FAIL	cmd/go/internal/work	0.015s

The TestRespectGroupSticky test will fail whenever you cannot set setgid on a directory in os.TempDir().
Apparently normal (operating system) user accounts that are not root cannot set setgid on a directory in the os.TempDir() directory on FreeBSD, macOS, and Google NativeClient (it might not work on other BSD operating systems either). That doesn't mean that the behavior that the test is checking for is not working on these systems but that the behavior cannot be tested due to the user doing the build lacking permissions to perform the test.
Maybe the best solution is to just skip the test whenever the build user lacks the permission to modify setgid on a directory in os.TempDir().

If you create directories two levels deep in /tmp on FreeBSD, it's possible to make the inner dir setgid without being root, if we do this then I think the test should pass there.  This trick doesn't work on darwin though.

Unfortunately commit e4852aaa7e95e49d8a54584370644714fbcf2c8c does not fix this issue because it is missing a vital step. It is not sufficient to make a directory in /tmp, make a subdirectory, and attempt to make the subdirectory setgid; this will (and does) fail, because your initial directory inherits group wheel from /tmp and then your subdirectory inherits group wheel from your directory. Instead, you must make your directory, chgrp the directory to your group, and then make the subdirectory, which will inherit the now-correct group from your directory. Alternately, once you've chgrp'd the directory in /tmp you can proceed to immediately make it setgid, since you're no longer trying to make it setgid for a group that you're not a member of.

I will finish bringing up my FreeBSD VM and test this properly.  I will also try to refactor this test a little to make it work on Darwin.

The change above seems to work for me on Linux, FreeBSD and Darwin (10.12.4).

On Darwin (10.9.5), I had to follow what @siebenmann said to make the tests pass.

@nehaljwani please open a new issue.


Docker Version

How to use the latest (0.17.4) version? Docker Hub has version 0.17.1 from 1 year ago.

The GitHub action that pushes the builds to docker has been/is broken. Trying to find time to fix it.
If you're using docker-compose you can always build the image directly from GitHub.
xfinity:
    image: repo-image
    build: https://github.com/zachowj/xfinity-data-usage.git#main
    ...

fixed


runtime reconfiguration remove code

Remove runtime reconfiguration doc code snippets, sample implementation and content related to them

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/patterns/runtime-reconfiguration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


running as service in python3.10

hi all,
i see the following error
sudo systemctl status miflora.service
● miflora.service - Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon
   Loaded: loaded (/etc/systemd/system/miflora.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2022-05-25 16:26:24 CEST; 7s ago
     Docs: https://github.com/ThomDietrich/miflora-mqtt-daemon
  Process: 936 ExecStart=/usr/bin/python3 /opt/miflora-mqtt-daemon/miflora-mqtt-daemon.py (code=exited, status=1/FAILURE)
 Main PID: 936 (code=exited, status=1/FAILURE)

May 25 16:26:24 raspberrypi systemd[1]: Failed to start Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon.
May 25 16:26:24 raspberrypi systemd[1]: miflora.service: Service RestartSec=100ms expired, scheduling restart.
May 25 16:26:24 raspberrypi systemd[1]: miflora.service: Scheduled restart job, restart counter is at 5.
May 25 16:26:24 raspberrypi systemd[1]: Stopped Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon.
May 25 16:26:24 raspberrypi systemd[1]: miflora.service: Start request repeated too quickly.
May 25 16:26:24 raspberrypi systemd[1]: miflora.service: Failed with result 'exit-code'.
May 25 16:26:24 raspberrypi systemd[1]: Failed to start Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon.

I just upgrade my python version from 3.7.3 to 3.9 and also i tried 3.10 but with both versions its not starting.
When i run it manually it works

Executing this on the console works?
/usr/bin/python3 /opt/miflora-mqtt-daemon/miflora-mqtt-daemon.py

If so, this sounds like a systemd issue

Executing this on the console works?
/usr/bin/python3 /opt/miflora-mqtt-daemon/miflora-mqtt-daemon.py

If so, this sounds like a systemd issue

Yes that works

ixed it by linking python3 to the correct python version in de /usr/bin directory


Form Labels don't forward class property

Hello,
I was hoping to add class overrides to a form input label like so:
    <.form_label
      form={f}
      field={:name}
      label={dgettext("jobs", "A label with a class override")}
      class="!mb-0"
    />

Yet, I noticed that the rendered output doesn't seem to include the desired override.
<label class=" mb-2 font-medium text-sm block text-gray-900 dark:text-gray-200" for="user_name" phx-feedback-for="user[name]">

      A label with a class

  </label>

Can I request that the overriding behavior be extended to include labels?
Please let me know if there is something I'm missing.  Thanks so much!

The class attr currently gets passed on to the . We could have another attr called label_class that passes the class to the label?

This should work in the latest version:
  <.form_label
    form={f}
    field={:name}
    label={dgettext("jobs", "A label with a class override")}
    label_class="!mb-0"
  />


Fixes #29

Why still not mergred/fixed?

Done in https://github.com/pludoni/simple-captcha/commit/f1efa05a6fb8a2f43278d2d51df8c9cd1cbf5d8c


Streaming for chains

now we have streaming for the open ai client we want to implement the current chains with streaming

done just needs a proper test and maybe a code example although there is one in the docs


Improve functional workflow performance

Comes from #397. Improve:

SpikesFinder
SpikesFinderFFT

From https://github.com/poldracklab/mriqc/issues/397#issuecomment-282933456

The output of SpikesFinder is not used anywhere
median_filter  in SpikesFinderFFT is making it run twice as long as without it
SpikesFinderFFT saves float64 files


Ability to import from clipboard [spec for mobile]

Description
I enabled the "auto convert into MD" option from setting but the HTML I paste is never converted. I assume it may be an assue about the data type in the clipboard. Also I suspect the content of my HTML which is only a fragments (starting at a div)
Reproduce
Set Obsidian in editor "Auto Convert to markdown= on"
Copy HTML code to clipboard
Create an empty note and paste (I also tried to paste in source code view)
Context
The platform : mobile
Issue: Feature request
Obsidian version: 1.4.16 (114)

I'm following my request by an idea:

A drop-down to pick the format in the clipboard
A text box to paste in

OR simply another option in the list of current ones (Notion, Apple Note, HTML files ...)

This is out of scope for the Importer plugin. I would recommend opening a feature request on the Obsidian forum.


[July] Board Review: Azure.Core

Contacts and Timeline

Responsible service team: Azure SDK .NET Team
Main contacts: @annelo-msft @christothes @JoshLove-msft
Expected code complete date: 6/27
Expected release date: 6/29

About the client library

Name of the client library: Azure.Core
Languages for this review: .NET

APIView Links:

Client Certificate Auth
Remove extraction of failure content from ClientDiagnostics

Champion Scenarios:
For custom error creation scenario - see the PR https://github.com/Azure/azure-sdk-for-net/pull/28466
For the client certificate auth - see the Issue https://github.com/Azure/azure-sdk-for-net/issues/28640

Scheduled for 6/27

Recording (MS INTERNAL ONLY)


Suggestion: Update the dataset download link

Hi, I just noticed that the bop datasets are moved to huggingface, it's better to update the source_url to https://huggingface.co/datasets/bop-benchmark/datasets/resolve/main  for convenience of others.

also corresponding changes in download_test_bop23.py

The address has been updated to: https://huggingface.co/datasets/bop-benchmark/datasets/tree/main.


[ENH] Automatically register dask-sql as Fugue's default Dask SQL engine when it's installed

Is your feature request related to a problem? Please describe.
Currently there are manual steps in the code to start using dask-sql with Fugue.
Describe the solution you'd like
I want to automate this, as long as dask-sql is installed, it should replace qpd to be the default dask engine for Fugue.
This now can be done easily, I will go ahead make the code change in your repo to make the auto registration.

Is there anything else to be done on the Fugue end of things, or can this be closed with #640


CI: Use a github workflow to run west command tests.

@mbolivar I'm not familiar with pytest - but this shows we fail the bossac test on macos x.  Is there a way to filter based on platform?

@mbolivar I'm not familiar with pytest - but this shows we fail the bossac test on macos x. Is there a way to filter based on platform?

Yes, although I would prefer we not do that. Let me look at the failure.

NVM, let's just skip it. I see what you mean. You can cherry pick https://github.com/mbolivar/zephyr/tree/gh-workflow-west-tests.

NVM, let's just skip it. I see what you mean. You can cherry pick https://github.com/mbolivar/zephyr/tree/gh-workflow-west-tests.

thanks, pulled it in.

@mbolivar on thoughts on PYTHONPATH and windows?

@mbolivar on thoughts on PYTHONPATH and windows?

scripts/west_commands/README.txt says:
Windows users will need to find the path to .west/west/src in their
Zephyr installation, then run something like this:

> cmd /C "set PYTHONPATH=path\to\zephyr\scripts\west_commands && py.test"

That worked the last time I tested it, at least.


Mechanic shows StackOverflowException

Mechanic now shows this error:

/cc @jindraivanek

@tforkmann can you share project?

Sorry for the late response. I will clean it up and then share it.

Got it fixed somehow...closing it now.


API Access Control

@KANGA94 Hi, Could you please share the details on the issue you would like to report or the assistance you require? Kindly provide details in the description of the issue.
/triage needs-information

/close not-planned
@KANGA94  You are welcome to reopen this and add details.


FIX: fixed data reading errors

Fixed data reading for long files. Improved "continue" handling.
Plus test with big table added.
Related with issues #31, #46. May be solving these issues.

Related with issues #31, #46. May be solving this issues.

Had the same problem and I tested this and it works. Should be merged.

btw @sergeilem , you don't need to put your email and FIX as comments, git saves all that info with the commits. Eventually the code becomes full of such comments and that becomes annoying (hence why git saves them separately for when they need to be checked)

OK @alialamine, i removed FIX and email from comments, thank you

@sergeilem Careful with this fix, just discovered instances where it actually gives wrong output (cells on wrong rows, merging two rows, etc). While it fixes the issue of the data missing, it corrupts some of it.


[AutoPR apimanagement/control-plane] typo: apimanagement/control-plane/Microsoft.ApiManagement

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4882

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/3746


[CSL-1192] Extract delegation package

This PR introduces a new package called cardano-sl-delegation.
Summary of changes:

Almost all modules from Pos.Delegation[.*] were moved from lib into the new package except for two. The following modules remain in lib:

Pos.Delegation.Listeners because it depends on Pos.WorkMode.Class and Pos.Communication.{Limits, Message}.
Pos.Delegation.Worker because it depends on Pos.WorkMode.Class.

A new module called Pos.Delegation.HelpersLib was added to lib. It contains mkDelegationVar from the old Pos.Delegation.Logic.Common. The name HelpersLib was chosen to avoid a clash with Pos.Delegation.Helpers.
A new module called Pos.Delegation.RichmenComponent was added to delegation. This module mirrors similar modules from ssc and update.
Pos.Delegation.Logic.Common was refactored. invalidateProxyCaches was moved to f and mkDelegationVar was kept in lib in Pos.Delegation.HelpersLib.
DlgBlock and DlgBlund were introduced (and will probably be removed in CSL-1156).

Other notes:

Tests remain in lib.
pkgs/generate.sh doesn't work on my machine (it almost entirely empties out default.nix), so I will apply stack2nix.patch from CI.
This is a PR to the branch from https://github.com/input-output-hk/cardano-sl/pull/1929. PR base to be changed to master when https://github.com/input-output-hk/cardano-sl/pull/1929 is merged.

ERROR: you need to (run ./pkgs/generate.sh or apply the patch in https://gist.github.com/64bac5ecb23affd698ee85a47d06d401) and commit the changes
(from the travis stack2nix job)


Use mirage-net-lwt instead of mirage-types-lwt

Restarted after https://github.com/mirage/mirage-net/pull/1


dashboard 可以支持下钻吗

dashboard 可以支持下钻吗，另外现在有哪些客户在PROD已经使用了

Support by select & right click operations on dashboard item.
Davinci is open-source, it could be deployed by any users who download the releases, so we do not know who uses davinci in production except those who leave their info in this issue ( #765 ) proactively.


bash: app-name: No such file or directory

When i try to create an app using add-spa command:
bench add-spa --app <app-name> [--tailwindcss]
it is throwing the below error:
bash: app-name: No such file or directory
When I check bench commands by running:
bench --help
it did show the that add-spa command under framework commands list:
Framework commands:
add-spa
  add-system-manager          Add a new system manager to a site
  add-to-email-queue          Add an email to the Email Queue
  add-to-hosts                Add site to hosts
  backup                      Backup

Hi!
The app  should already exist for this command to work. So, you need to first create an app using 'bench new-app ' and then run this command.

ok, but I already have an app.
Also, just tried creating a new app by running bench new-app sample_spa, a brand new app got created successfully,
and then when I ran: bench add-spa --app sample_spa [--tailwindcss], it says this: Error: No such command "add-spa".
and when I run: bench add-spa --app <app-name> [--tailwindcss], it says this: bash: app-name: No such file or directory
Am I still missing anything?

Hey, try this:
$ bench clear-command-cache # To load the command if it was not loaded properly
$ bench add-spa --app sample_spa --tailwindcss

yes, clearing the cache worked, thanks for the support @NagariaHussain.

The same issue(https://github.com/NagariaHussain/digistore/issues/2#issuecomment-991918442) is happening for a new app/site created with this lib as well.
Also, the dashboard is not visible in 'http://localhost:8000/app'

Hi!
I am looking into this. Can you share if there is something in console or bench log?

[vite]: Rollup failed to resolve import "vue" from "../../doppio/libs/resourceManager/index.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
error during build:
Error: [vite]: Rollup failed to resolve import "vue" from "../../doppio/libs/resourceManager/index.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
at onRollupWarning (/Users/saravanan_vij/Documents/Learnings/Other_Learnings/Tryouts/Frappe_15dec2021/frappe-bench/apps/sampleapp/sampleappdashboard/node_modules/vite/dist/node/chunks/dep-7817f5b4.js:43756:19)
at onwarn (/Users/saravanan_vij/Documents/Learnings/Other_Learnings/Tryouts/Frappe_15dec2021/frappe-bench/apps/sampleapp/sampleappdashboard/node_modules/vite/dist/node/chunks/dep-7817f5b4.js:43534:13)
at Object.onwarn (/Users/saravanan_vij/Documents/Learnings/Other_Learnings/Tryouts/Frappe_15dec2021/frappe-bench/apps/sampleapp/sampleappdashboard/node_modules/rollup/dist/shared/rollup.js:22978:13)
at ModuleLoader.handleResolveId (/Users/saravanan_vij/Documents/Learnings/Other_Learnings/Tryouts/Frappe_15dec2021/frappe-bench/apps/sampleapp/sampleappdashboard/node_modules/rollup/dist/shared/rollup.js:22322:26)
at /Users/saravanan_vij/Documents/Learnings/Other_Learnings/Tryouts/Frappe_15dec2021/frappe-bench/apps/sampleapp/sampleappdashboard/node_modules/rollup/dist/shared/rollup.js:22299:26

Hi!
I have pushed some fixes, you have to update doppio and then create a new SPA. Please try and let me know.

I did 2 mistakes. I didn't do 'bench build' and I didn't add my site name to the /hosts file.
Seeing no issues after both of the above

Thanks a lot for your work @NagariaHussain. It will be better to state in the docs that the app should be already installed to avoid confusion.


driver failed programming external connectivity on endpoint bind

docker run -d --name=bind --dns=<IP_ADDRESS> --publish=<IP_ADDRESS>:53:53/udp --publish=<IP_ADDRESS>:10000:10000 --volume=/srv/docker/bind:/data --env='ROOT_PASSWORD=SecretPassword' sameersbn/bind:latest
WARNING: Localhost DNS setting (--dns=<IP_ADDRESS>) may fail in containers.
Unable to find image 'sameersbn/bind:latest' locally
latest: Pulling from sameersbn/bind
Digest: sha256:e15a826c3ded4ea696717fde612f88c5bf205c6bccbb1df67678631496d8b803
Status: Downloaded newer image for sameersbn/bind:latest
b65c626e422aef6ba21f4bfe38d6bd69795ea1090e8f170833e17e938ce00825
docker: Error response from daemon: driver failed programming external connectivity on endpoint bind (46ab9155dd1cdf9c0d5ba344a2d23840171eaff94a57e82a4dca8ee58bf64663): Error starting userland proxy: listen tcp <IP_ADDRESS>:10000: bind: cannot assign requested address.
any ideas ?

➤ UV commented:
does any host interface carries this IP <IP_ADDRESS>

Found the same issue today in trying to run as specified here: Deploying a DNS Server using Docker


Time distribution per virtual host

Hi, we have a cluster of haproxy that send log to a single instance of goaccess. We have many virtual hosts with a lot of traffic and everything works as expectecd (goaccess is indeed a great product). There is a way to split/filter the time distribution per virtual hosts?
Thanks,
Giovanni

Right now, the best way to correlate the virtual hosts field with the time distribution panel is to parse the virtual hosts separately. If they're in the same log, you can make things easier by pre-processing the log using tools like awk, python, perl, or sed. But here's the exciting part: issue #117 is on its way to fixing this correlation problem nicely. So stay tuned, it should be coming soon!


Same code runs on Windows but not on Linux

Please make sure that the boxes below are checked before you submit your issue. Thank you!

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[x] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

code :
firstLSTM = LSTM(40, input_dim=np.array(train_x).shape[-1], return_sequences=True)
model.add(firstLSTM)
model.add(Dropout(0.1))
model.add(LSTM(30, return_sequences=True))
model.add(Dropout(0.1))
model.add(LSTM(20, return_sequences=True))
model.add(Dropout(0.1))
model.add(LSTM(1, return_sequences=True))
model.add(Activation('linear'))
train_x looks like :
[
[[1,2,3,4,5,6,7,8,9],[1,2,3,4,5,6,7,8,9]...]
...
[[1,2,3,4,5,6,7,8,9],[1,2,3,4,5,6,7,8,9]...]
]
This runs on my local windows box just fine. I am using Anaconda2. Installed Anaconda2 on a linux redhat server, exact same code when run gives the following error :
TypeError: ('The following error happened while compiling the node', forall_inplace,cpu,scan_fn}(Elemwise{Composite{Switch(EQ(i0, i1), i2, i0)}}[(0, 0)].0, Subtensor{int64:int64:int8}.0, IncSubtensor{InplaceSet;:int64:}.0, DeepCopyOp.0, Elemwise{Composite{Switch(EQ(i0, i1), i2, i0)}}[(0, 0)].0, lstm_4_U_o, lstm_4_U_f, lstm_4_U_i, lstm_4_U_c), '\n', "Inconsistency in the inner graph of scan 'scan_fn' : an input and an output are associated with the same recurrent state and should have the same type but have type 'TensorType(float32, col)' and 'TensorType(float32, matrix)' respectively.")

Update, the version of GNU C library is really old (GNU libc) 2.12 - I suspect this is the source of my problem. I realized this when I tried to download and use tensorflow vs theano.
I will investigate further and update.


allow data: URLs in images

The specific use-case in mind is to allow SVG images to appear along with the inline images they contain in data: URLs.
In the general case, this patch allows data: URLs in:

src or srcset of <img>
src of <input type=image>
poster of <video>
url(), image(), image-set() in image-related CSS properties
href of <link rel=icon> and similar

Thanks, I got sign off from our security team. Hopefully I'll get this out later today.

Thanks a lot!


GitHub API rate limit exceeded

Proposal
Set a User-Agent header as a part of the request that OpenRefine performs when it checks for a new version.  @Abbe98 thinks this should allow one to make 5000 requests per hour and fix the original comment issue.
Original Comment
To Reproduce
Steps to reproduce the behavior:
Open the application.
Current Results
GET https://api.github.com/repos/openrefine/openrefine/releases/latest
Failed to load resource: the server responded with a status of 403 ()
//<PHONE_NUMBER>5604
// https://api.github.com/repos/openrefine/openrefine/releases/latest

{
  "message": "API rate limit exceeded for <IP_ADDRESS>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"
}

I assume this request is to display the
I suppose there's no safe way to configure the GitHub API token as it's a client request from the browser?
Expected Behavior
No rate limit
Versions

Operating System:
Browser Version:
JRE or JDK Version:
OpenRefine: 3.4

Additional context
You need to be over the github api threshold.

We should probably not be hitting the GitHub API directly, to check if a new version is available. We should rather host a JSON file on openrefine.org (which is also served by GitHub, sure, but is not an API and therefore not rate-limited in the same way I expect), and check it from there.

@wetneb a short-term migration might be to set a User-Agent header as a part of the request, which should allow one to make 5000 requests per hour I think.

Since this request is made by our web frontend I am not sure we have control over the User-Agent there - but if that works, why not!

The User-Agent header isn't modifiable in modern browsers. https://stackoverflow.com/a/71172812/167425

Is this resolved by #6017 or is there still more work to do?

Indeed!


HIVE-28140: Remove unnecessary shading of test jars in Kafka module to speedup build

Why are the changes needed?
When the shadeTestJar option is enabled it tries to fetch the test jars from all dependencies and include them in the shaded artifact. For every dependency, and every available repository, there is a download attempt that fails most of the time (since most dependencies do not publish the test artifacts).
Downloading from confluent: https://packages.confluent.io/maven/com/sun/jersey/contribs/jersey-guice/1.19.4/jersey-guice-1.19.4-tests.jar
Downloading from central: https://repo.maven.apache.org/maven2/com/sun/jersey/contribs/jersey-guice/1.19.4/jersey-guice-1.19.4-tests.jar
Downloading from repository-release: https://repository.apache.org/content/repositories/releases/com/sun/jersey/contribs/jersey-guice/1.19.4/jersey-guice-1.19.4-tests.jar
Downloading from shibboleth: https://build.shibboleth.net/nexus/content/groups/public/com/sun/jersey/contribs/jersey-guice/1.19.4/jersey-guice-1.19.4-tests.jar
[WARNING] Could not get tests for com.sun.jersey.contribs:jersey-guice:jar:1.19.4:compile

All these download attempts increase build time noticeably, especially on slow internet connections.
Shading the test jars in Kafka module is not necessary since we are not using the resulting jars (kafka-handler-4.1.0-SNAPSHOT-tests.jar) anywhere inside the project (no occurrence of kafka-handler along with tests).
Does this PR introduce any user-facing change?
No.
It may have an impact on projects/developers that use the tests artifacts of kafka-handler from Maven central but this highly unlikely. At the given moment, nobody seems to use the kafka-handler module [1] outside Hive so shading the tests just adds build overhead.
[1] https://central.sonatype.com/artifact/org.apache.hive/kafka-handler/dependents
Is the change a dependency upgrade?
No
How was this patch tested?
Existing tests

I think Druid/Kudu module also has similar issue which often makes the my mvn build slow.

Druid & Kudu are not so easy to address cause the shaded jars are used internally by other Hive modules.

Hey @zhangbutao , tests are green how do you feel about merging this change?


Translate Key Concepts » Membership into simplified Chinese

Translate Key Concepts » Membership into simplified Chinese

@JulienGuo , this issue can be set as resolved once new updates merged from 1.3 to master branch.


Update README for new contributors

I added latest contributors to the README, also removed the noticed about things being slow :)

I'm not even a little bit concerned about credit, but what ever you want :)

Yeah, I'm not so sure myself. I don't want to come across like we think we're more important than other people.

Generally I avoid contributor blocks in README's for this reason. I prefer Changelogs (like http://keepachangelog.com/en/0.3.0/) with attribution to whomever wrote a thing.


Data Export of Postgres tables can result in duplicate keys and inconsistent data

This looks like an old bug resurfacing. [https://github.com/dbeaver/dbeaver/issues/735]
DBeaver Version  on OSX 10.15
System information:

OSX 10.15
DBeaver version: <IP_ADDRESS>009201907
eclipse.buildId=unknown
java.version=1.8.0_171
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_CA
Framework arguments:  -keyring /Users/kene/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/kene/.eclipse_keyring

Connection specification:

Database name: Postgres 9.5
Driver name
OpenVPN

Describe the problem you're observing:
When using Data Export to copy data from one Postgres Database into another Postgres Database on a different server, some rows are read more than once, resulting in duplicate key errors. This appears to be due to an old bug where the "order" is not specified.
Steps to reproduce, if exist:
Select a large table in a Postgres Database where the data has large holes or is busy.
Select Data Export
Select another DB to insert the data into, complete the wizard using default settings.
Include any warning/errors/backtraces from the logs
SQL Error [23505]: Batch entry 0 INSERT INTO public.alerts (id,email,,,)
VALUES (508015,'****',101,'string','DATE_TIME') was aborted: ERROR: duplicate key value violates unique constraint "table_pkey"
Detail: Key (id)=(508015) already exists.  Call getNextException to see other errors in the batch.
Possible Solution
There should be an explicit order by column and the last value extracted should be used in a where order_key > last_order_key
this is the only way to guarantee that duplicate data isn't retrieved on subsequent queries.

Is it possible to send a table DDL example? And a file with data to export (CSV or SQL format)?

there is no update on the issue for a long time.
If the issue is still actual for you - feel free to reopen it with additional info.

This is an issue with Postgres not guaranteeing the order without an order by when limit is used. Documentation states:

The query optimizer takes LIMIT into account when generating query plans, so you are very likely to get different plans (yielding different row orders) depending on what you give for LIMIT and OFFSET. Thus, using different LIMIT/OFFSET values to select different subsets of a query result will give inconsistent results unless you enforce a predictable result ordering with ORDER BY. This is not a bug; it is an inherent consequence of the fact that SQL does not promise to deliver the results of a query in any particular order unless ORDER BY is used to constrain the order.

I am currently seeing this issue with tables over 800,000 records.

I am experiencing this with 400k records.  What is the work-around - set batch size to > number of records?


Support changing background color

Closes #207
This PR adds support for changing background color of a terminal and resets it back to the original color when a program exits.
The color can be changed by sending a special internal message, for example in the init function, such as:
func (m model) Init() tea.Cmd {
  return tea.Cmd(func() tea.Msg {
    return tea.SetBackgroundColor(termenv.RGBColor("#eeeeee"))
  })
}

This is the first method in the renderer which accepts an argument.
Happy to discuss alternatives in case this breaks renderer's design.
The method SetBackgroundColor(c termenv.Color) Msg could be changed to accept hex colors via a string SetBackgroundColor(c string) Msg, but the former provides more flexibility with color definition format.

Nice work, just tested this and it seems to work just fine. Code looks pretty good, too. A few things I would change:

Retrieving the current background color of a terminal works in most circumstances, but not always. We should only reset the background color on shutdown if it has actually been manually set before.
We should add a test (similar to the other tests in screen_test.go).
We should probably add an example before we merge this.

I'm wondering if this shouldn't (also) be a ProgramOption however. Similar to AltScreen it's something you're probably(?) not going to change while your program is running.

Thank you for your feedback.
I agree, I'll submit the updates.
I considered the ProgramOption but figured if you only had the ProgramOption available, you would not be able to change the background later. You may want to change it to red in case of an "catastrophic event" for example :)
Happy to implement the ProgramOption as an alternative though. It shall be easier to understand for the users how to use it.

Happy to implement the ProgramOption as an alternative though. It shall be easier to understand for the users how to use it.

Oh yeah sorry, I didn't mean to suggest to remove the command entirely, adding the alternative ProgramOption would be great though.

@muesli this is ready for review now

would love to see this merged.

@muesli feel free to close this PR if you don't feel it adds value.

@muesli feel free to close this PR if you don't feel it adds value.

Definitely adds value and it's something we want! Will come back to reviewing this in a bit!

Would love this as well. :)

Hey! Would love to have this merged if all looks good.

Any progress ?

Fwiw, this now implemented in Bubble Tea v2. You can try it here https://github.com/charmbracelet/bubbletea/releases/tag/v2.0.0-alpha.1


Not able to run command dotnet on terminal

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/hello-world-tutorial/install
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Hi @fireideas007
Have you run the right macOS installer (x64 or arm64)?

If you receive a 'dotnet' is not recognized as an internal or external command error, make sure you opened a new command prompt.


Fix eager tensor concat

Fixes #42254.

Could you please add a test that fails without this change and passes with it?

Could you please add a test that fails without this change and passes with it?

Hi @edloper, this is an issue with keras symbolic tensor, can I use keras as dependencies in tensorflow/python/kernel_tests/* (seems that all kernel_tests do not depend on keras), or is there any way to emulate symbolic tensor?

@WindQAQ Ah ok, yeah, that's kind of tricky to add a test for.  I guess it's ok as long as you verified that this fixes the failing Keras case.


SCSS variables and mixins seem to be ignored

I am using SCSS variables and mixins to do some of the styling of for example my buttons. These variables/mixins are located in different partials than my _buttons.scss, therefore these styles are not used in my hologram Styleguide.
Is there a solution for this? (sorry if this is stated in your docs, i have read them, but can't find it)

I think something else is going on, i am playing around with the hologram-example repository.
When i go into the components/typography/typography.css, and change:
h1{
  font-size: 36px;
}

into:
h1{
font-size: 136px;
}
And then run `hologram -c config.yml`, it still has `36px` for the font-size of the h1.

But changes i make to the `/*doc` part do work...


Migrate to PNPM and Vitest

pnpm workspaces is a huge improvement from Yarn workspaces in my other projects. Now that google-font-metadata is CLI based, we can migrate over to pnpm without any issues (previously gfm used npm explore which then had very awkward hoisting requirements with pnpm).
Switch to Vitest over Jest, which unblocks any deps that had updates to be fully ESM based (e.g. got 👀) and unlocks other goodies such as top-level await! This will require all tests to be modified as Vitest requires explicit imports and mock-fs doesn't work too great with it. This isn't an issue since I wanted to move to mocks and stubs for fs anyways (although I'll possibly get rid of fs-extra and jsonfile in the process since it's very unnecessary bloat).

Closed in #676.


Global exception middleware

Add global excpetion middleware for handling error requests.
Return common ProblemDetails with user-friendly messages instead of a whole exception as a text.

Added in: https://github.com/PanKunik/smuget/pull/27


Shared link of my website on whastapp are not opening in smart webview

I want to open shared link or url of my website in smart webview app. Intent popup when clicked on link but after selecting Smart webview app nothing happens further. Please help and sorry for my bad english.

I'm going to assume that you've already added your intended web address in manifest data filter > host.
If the screen goes white, it probably means there is some port or file request issue, like mixture of HTTP and HTTPS requests. If not that, can you look into logs for more details of the issue.

I have the same issue with WhatsApp and Telegram. When I click on my app urls in there applications, nothing happens.
Here is my setting:

The only link that application can handle from WhatsApp is "https://my.site.com/". When I click on other URLs such as "https://my.site.com/blah" nothing happens.
Note that it tested  the problematic URLs with my Samsung SMS app but have no problem.
My android is Pie.

Does it opens links inside apps internal browser (chrome tab) or force opens your default browser.

It always tries to open such links (my.site.com) with my app. One hint, in first click on url, it seems that it tries to launch MainActivity but maybe the activity crashes and fails to load.

@ATSGIT do you record any logs? I'd need to look into it.

No, I have no log. I think the problem may relates to how the activity
handles the recieved intent.
On Tue, 27 Aug 2019, 12:35 Ghazi Khan<EMAIL_ADDRESS>wrote:

@ATSGIT https://github.com/ATSGIT do you record any logs? I'd need to
look into it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mgks/Android-SmartWebView/issues/86?email_source=notifications&email_token=AC7EYOPZIICLJUHIRL77XETQGTN55A5CNFSM4HEF5MC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5G4DUI#issuecomment-525189585,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7EYOJ6VQDLG5SRBE5RAFDQGTN55ANCNFSM4HEF5MCQ
.

I don't know what or how to look into this, unless I have some log data. I'm not having problem on my end for the same.
Can you share the log next time you use android studio?

intent filter in my app:
		<activity             android:name="com.xmpl.my.MainActivity"             android:screenOrientation="portrait" > <!-- remove or alter as your apps requirement -->             <intent-filter android:label="@string/app_name">                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />                 <category android:name="android.intent.category.BROWSABLE" />                 <data android:scheme="https"                     android:host="my.website.com"                     android:pathPrefix="/" /> <!-- if you want only a specific directory from your website to be opened in the app through external links -->             </intent-filter>         </activity>
Logcat log on Android 7 when clicking on a link:
08-28 17:41:43.490 1590-1924/system_process I/ActivityManager: START u0 {act=android.intent.action.VIEW dat=https://my.website.com/dashboard cmp=android/com.android.internal.app.ResolverActivity (has extras)} from uid 10009 on display 0
--------- beginning of main

08-28 17:41:43.490 1590-1664/system_process W/AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by client
08-28 17:41:43.505 3059-3059/system:ui D/ResolverActivity: sinceTime=1565788303505
08-28 17:41:43.510 2446-2941/com.android.mms D/Mms: cancelNotification
08-28 17:41:43.515 2446-3137/com.android.mms D/Mms: cancelNotification
08-28 17:41:43.522 2446-2446/com.android.mms D/Mms: cancelNotification
08-28 17:41:43.536 1205-1264/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 7753728
08-28 17:41:43.668 2446-2446/com.android.mms W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
08-28 17:41:43.669 1205-2127/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 7753728
08-28 17:41:43.702 1590-1620/system_process I/ActivityManager: Displayed android/com.android.internal.app.ResolverActivity: +200ms (total +60s754ms)
08-28 17:41:44.733 1205-1267/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 7753728
08-28 17:41:46.462 1590-1664/system_process W/AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by client
08-28 17:41:46.464 1590-1611/system_process I/PackageManager: Setting last chosen activity com.xmpl.my/.MainActivity for user 0:
08-28 17:41:46.464 1590-1611/system_process I/PackageManager:   Action: "android.intent.action.VIEW"
08-28 17:41:46.464 1590-1611/system_process I/PackageManager:   Category: "android.intent.category.DEFAULT"
08-28 17:41:46.464 1590-1611/system_process I/PackageManager:   Scheme: "https"
08-28 17:41:46.464 1590-1611/system_process I/PackageManager:   Authority: "my.website.com": -1
08-28 17:41:46.464 1590-1611/system_process I/PackageManager:   Path: "PatternMatcher{PREFIX: /}"
08-28 17:41:46.468 1590-1924/system_process I/ActivityManager: START u0 {act=android.intent.action.VIEW dat=https://my.website.com/dashboard flg=0x3000000 cmp=com.xmpl.my/.MainActivity (has extras)} from uid 10009 on display 0
08-28 17:41:46.971 1590-1615/system_process W/ActivityManager: Activity pause timeout for ActivityRecord{9820d1d u0 android/com.android.internal.app.ResolverActivity t34 f}
08-28 17:41:46.975 2836-2836/com.xmpl.my V/FA: onActivityCreated
08-28 17:41:46.975 2836-2836/com.xmpl.my W/READ_PERM =: android.permission.READ_EXTERNAL_STORAGE
08-28 17:41:46.975 2836-2836/com.xmpl.my W/WRITE_PERM =: android.permission.WRITE_EXTERNAL_STORAGE
08-28 17:41:47.509 2446-2934/com.android.mms D/Mms: cancelNotification
08-28 17:41:47.512 2446-3140/com.android.mms D/Mms: cancelNotification
08-28 17:41:47.521 2446-2931/com.android.mms D/EGL_emulation: eglMakeCurrent: 0xa222b0a0: ver 2 0
08-28 17:41:47.528 3059-3059/system:ui I/Choreographer: Skipped 62 frames!  The application may be doing too much work on its main thread.
08-28 17:41:47.569 1590-1931/system_process W/InputMethodManagerService: Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@26a3c5c3 (uid=10009 pid=2446)
08-28 17:41:47.671 2446-2931/com.android.mms D/EGL_emulation: eglMakeCurrent: 0xa222b0a0: ver 2 0
08-28 17:41:47.707 2446-2446/com.android.mms D/Mms: cancelNotification
08-28 17:41:48.014 2446-2942/com.android.mms D/Mms: cancelNotification
08-28 17:41:48.020 2446-3142/com.android.mms D/Mms: cancelNotification
08-28 17:41:48.023 2446-2446/com.android.mms D/Mms: cancelNotification

I don't know what or how to look into this, unless I have some log data. I'm not having problem on my end for the same.
Can you share the log next time you use android studio?

I debugged the app and found that the problem related to "the following logic in MainActivity:
		if (!isTaskRoot()) {
			finish();
			return;
		}

isTaskRoot() returns false for all external links except root url "https://www.example.com/". So when clicking on such links, the activity exits.

I Found Solution
Uri exturi = getIntent().getData();
if(exturi!=null){
String link = exturi.toString();
aswm_view(link, false);
}else{
aswm_view(ASWV_URL, false);
}

I Found Solution
Uri exturi = getIntent().getData();
if(exturi!=null){
String link = exturi.toString();
aswm_view(link, false);
}else{
aswm_view(ASWV_URL, false);
}


fix: inintialize completer before a new token refresh

This PR is a rework of https://github.com/supabase-community/gotrue-dart/pull/71 pretty much.
Instead of just retrying token refresh every 5 seconds, this PR will use a Completer to return a valid GoTrueSessionResponse upon successful token refresh after retry.

Haven't written tests for it, but am currently working on it. Also still working on some refactoring.


Feature Request: Backup once on close

Hi,
I love your plugin and wanted to feedback on a feature I think would improve it. (Apologies if this is not the best way to make a feature request.)
I was wondering if it would be possible to add an option in the plugin settings for running a backup when the application is closed as opposed to when it opens.
This is how several other word-processing applications that I use run their backups, for example, Scrivener. It just makes more sense to me to have a backup of everything as it was when you used it last. (If you used Obsidian for several hours, closed it, and then some time later had a system failure or the local files were corrupted, you would lose all of that work. If a zip backup was created when the application was closed, everything would be backed up.)
Thanks!

Hi, thank you for your advice, in fact I wanted to add this feature at the early time, but unfortunately Obsidian has no API to make that, so this feature hadn't been done yet

Hi, indeed thank you for this great plugin.
I was also wondering if a backup could be done when Obsidian is closing and i found the Workspace.on('quit') event. I haven't tried but i think it may work it that case.
https://docs.obsidian.md/Reference/TypeScript+API/Workspace/on('quit')
I found this link on the Obsidian Forum https://forum.obsidian.md/t/cleanup-when-obsidian-is-closed/83709


perf: bv_decide inline all lets once at the beginning of preprocessing

This PR changes bv_decide's preprocessing to inline all let at the beginning of the pipeline once. This makes sure that when we actually start to rewrite in the fixed point pipeline, no let are there anymore. As DiscrTree matching in the rewriting steps involves traversing and instantiating the lets over and over again this can bring some drastic speedups:
baseline:
lake exe leanwuzla --maxRecDepth=8000 --maxHeartbeats=2000000 --disableEmbeddedConstraintSubst ../../smt/non-incremental/QF_BV/fft/Sz256_6616.smt2   30.02s

after this:
lake exe leanwuzla --maxRecDepth=8000 --maxHeartbeats=2000000 --disableEmbeddedConstraintSubst ../../smt/non-incremental/QF_BV/fft/Sz256_6616.smt2   4.15s

Obsoleted by the proper fix https://github.com/leanprover/lean4/pull/6220/


Update v0.9.11

Closes: #621
TODO:

[x] authority https://github.com/paritytech/substrate/pull/9987
[ ] benchmarking
[x] weight-meter
[x] xcm
[ ] xtokens

Codecov Report

Merging #622 (dcb974b) into master (72b0e52) will decrease coverage by 0.07%.
The diff coverage is 76.23%.

@@            Coverage Diff             @@
##           master     #622      +/-   ##
==========================================
- Coverage   75.90%   75.82%   -0.08%
==========================================
  Files          78       78
  Lines        6465     6474       +9
==========================================
+ Hits         4907     4909       +2
- Misses       1558     1565       +7

Impacted Files
Coverage Δ

auction/src/lib.rs
91.52% <ø> (ø)

authority/src/lib.rs
89.00% <ø> (ø)

authority/src/mock.rs
75.51% <ø> (+2.04%)
:arrow_up:

benchmarking/src/tests.rs
96.77% <ø> (+0.10%)
:arrow_up:

currencies/src/lib.rs
53.30% <ø> (ø)

gradually-update/src/lib.rs
90.66% <ø> (ø)

nft/src/lib.rs
84.61% <ø> (ø)

oracle/src/lib.rs
80.59% <ø> (ø)

rewards/src/lib.rs
78.44% <ø> (ø)

tokens/src/impls.rs
36.36% <ø> (ø)

... and 16 more

Continue to review full report at Codecov.

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

What is the status of this PR? v0.9.11 is now live on Westend and Kusama and we need to update interbtc to sync the relay chain successfully.

There is no problem with compiling. I am upgrading Acala to test xtoken and benchmarking.
You can start to upgrade

hi @zjb0807 would you minding waiting https://github.com/paritytech/substrate/pull/10031 to be backported to v0.9.11 and update again the commit hash?


Support github mirror

There is a feather request.
Hi, github are very slow in my area. But Github has a lot of mirror website, such as
https://github.xiu2.xyz/https://github.com/microsoft/vcpkg/archive/2020.11-1.zip
https://gh.con.sh/https://github.com/microsoft/vcpkg/archive/2020.11-1.zip
https://gh.api.99988866.xyz/https://github.com/microsoft/vcpkg/archive/2020.11-1.zip
and etc.
I can use proxy to  intercept vcpkg's requests. But if vcpkg support it inside, it's more convenience

In fact #13639 is doing this.

In fact #13639 is doing this.

Duplicated tp #13690.

Duplicated tp #13690.


Insert with Kotlin default arguments for columns with default values

For colums with default values, INSERT statements should have default arguments in the generated Kotlin function.
E.g:
CREATE TABLE foo(
    bar TEXT DEFAULT NULL,
    baz INTEGER NOT NULL DEFAULT 1
);

insert:
INSERT INTO foo
VALUES (?, ?);

Should generate a function like:
fun insert(bar: String? = null, baz: Int = 1) {
    // ...
}

Sorry, I should have specified this is more of a feature request. Your solution does work, but if I want to be able to choose which columns to specify or not from Kotlin, then there has to be a statement for every possible combination of columns.
Now that I think of it, this may be tricky to implement with more complex default values such as expressions, so it may be impossible to implement.
Thanks anyway.

The biggest problem there is we have no way to reconcile column adapters.
If you are storing TEXT but map to OffsetDateTime we can't know how to
create a default from a default string to a default OffsetDateTime.
On Fri, Feb 1, 2019, 10:32 PM David Sommerich<EMAIL_ADDRESS>wrote:

Sorry, I should have specified this is more of a feature request. Your
solution does work, but if I want to be able to choose which columns to
specify or not from Kotlin, then there has to be a statement for every
possible combination of columns.
Now that I think of it, this may be tricky to implement with more complex
default values such as expressions, so it may be impossible to implement.
Thanks anyway.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/square/sqldelight/issues/1198#issuecomment-459931351,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEaFe4IsHtG4gGHvMEh2lsnZoEV4pks5vJQbdgaJpZM4ab0E_
.

Wouldn't it be possible to pass default values in the VALUES part of the INSERT INTO query?
Example:
CREATE TABLE foo(
    buzz TEXT,
    bar TEXT DEFAULT NULL,          -- Default here should not be required.
    baz INTEGER NOT NULL DEFAULT 1  -- Default here should not be required.
);

insert:
INSERT INTO foo (buzz, bar, baz)
VALUES (?, ? = NULL, ? = 1);        -- Notice the default values passed here.


Could not get access token

I'm getting one big issue.
_Could not get access token
500 Internal Server Error - LinkedInApiException_

I'm attaching Screen shot of Error page.

Hey @ketavc,
There is no need of posting you comments in multiple places. I and everybody else will see you comment even though you just post it once.
It seams like an exception is thrown from row 376. Just 2 rows above it (still on your screenshot) it says why the exception is thrown.
If you are using the latest version of the library you will get a more detailed exception message that explains what you are doing wrong.

@Nyholm
Do you know reason behind getting this kind of error?
Could not get access token 500 Internal Server Error - LinkedInApiException_

If you are using the latest version of the library you will get a more detailed exception message that explains what you are doing wrong.


Error: invalid table name: Could not find table/view BIMC REPORTABLE VIEWS in schema SYS BI

Hi Colleagues,
I’m trying to walkthrough the HANA DB migration jorney from NEO to CF Hana Cloud, but I’m stack on the following command
hana-cli massConvert -s C5295502 -t TWITTER_HASHTAGS true -a
Here I'm trying to convert a table calld TWITTER_HASHTAGS into a cds artifact.
The output is
Error: invalid table name: Could not find table/view BIMC_REPORTABLE_VIEWS in schema SYS BI: line 2 col 18 (at Dos 98).
I managed to find the root of this issue in Hana CLI tools source code.  Also in official documentation I found out that this view is only available from HANA 2.0, but in my setup I use Hana 1.0 in Neo and I already checked the view is not defined in SYS_BI shcema.

Is it a prerequisete for hana cli to use HANA 2.0?
Best Regards,
Pavel

I've just pushed an updated version.  Last month I added some new functionality that has special logic for Calculation Views, but this logic requires this BIMC_REPORTABLE_VIEWS.  I've added a check to exclude this functionality if the target HANA system is HANA 1.0. This should fix the error you were receiving on your Neo 1.0 system.

Thanks,
Now I can execute the script
Best Regards,
Pavel


try_or_400! describes the error as JSON

cc #32

In case of an error, the try_or_400! macro returns a Response which contains a JSON body. The JSON has two fields, description and cause corresponding to the two methods of the Error trait. cause can be either null or another field with description and cause.


Components don't render when the Transition mode is "out-in"

Vue version
3.2.33
Link to minimal reproduction
https://sfc.vuejs.org/#eNqdU81y4yAMfhUtlzYztZm4p/W6nez0DXrm4ti4obGBAZEcMnn3CmOncf8OneEifT9CEpzYf2vzQ5CsZJVvnLIIXmKwj0KrwRqHcAK/q/veHJ9lB2fonBnghhQ3F8aTGex6AnI+RtFySSgWhGIiCN0Y7RFqa+HhqtDt6l8Eu6AbVEaD0U+9ava3anUSGsAfFTa7OQJoai9hXaYAolt+qPsgyXO8DpklZOtkvZ+iUVR8Kyq+FLWyq0OPF9U7dhaaTsXTFGl+FKAcbF+jpAig2gZE6mXTxFYeBJubWq8Ee2ziPSueOD/zi5lfLPnoau3VOK/BtDIqAmZKEztdt4oio6VGKJUnnHomsOKXfDLi706UoHBug92xtNJsqG3+6o2mdzPuQEyAF6yEaSuC0ZJjLNgO0fqS86Dt/iWncnxDGHdBoxpk1pphc58X+f1f3iqP1/lc+iHbOnP00lFFwe6uzDklD9JlTupWOul+LPaBuyj4AftUdF4wDeDyvuOXWS74T5aB0p2BLIv7x6pVh2n0uFMe6IzqNOQEXk1X4GQ//o5f2xff25/fACWETzI=
Steps to reproduce
Open the SFC link I submitted and click the button to switch components
What is expected?
Render the component and perform the animation according to the mode, or prompt: it is not allowed to use comments on the first line of the template of the component
What is actually happening?
Components do not render
System Info
no

Any additional comments?
No response

Looks good when remove this comment  in component
 <!-- info -->

I guess the reason is that the Transition can only have one node

You're right, but i don't think comment is node in Transition unless Vue warns: Component inside  renders non-element root node that cannot be animated.

Looks good when remove this comment in component
 <!-- info -->

I guess the reason is that the Transition can only have one node playground

You're right, but i don't think comment is node in Transition unless Vue warns: Component inside renders non-element root node that cannot be animated.

The comment will be rendered into a COMMENT NODE，effect the transition of course

Flat when the node does not filter out the comment node

Root level comments is working when Transition's mode with "default" or "in-out", why not when the mode with "out-in"?

duplicate of https://github.com/vuejs/core/pull/6238


Hide duplicates

Hey, this is  very neat extension, thanks! I would like to hide duplicates for commands without any arguments for completion that are already returned by cmdline.
For example, I get both history entry and cmdline completion for :PackerSync, it''s bit noisy and makes looking through candidates more difficult. Is that achievable?

Works amazing, thank you very much, that was quick!


kotlin api doc but example used groovy

Issue type
Missing information
Problem description
https://docs.gradle.org/current/kotlin-dsl/gradle/org.gradle.api.tasks/-exec/index.html
I don’t have groovy skills，can provide kotlin documentation?
Context (optional)
No response
Page with the problem
https://docs.gradle.org/current/kotlin-dsl/gradle/org.gradle.api.tasks/-exec/index.html

Thank you for providing a valid report.
The issue is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before a fix is made.

There is a general problem with Groovy based snippets in Javadoc because there should be examples for both Groovy and Kotlin.

This issue will be closed as a duplicate of

https://github.com/gradle/gradle/issues/24622

Please add your use case and 👍 to that issue.