Improve visibility for DataCarrier.

As we received several reports about the usage of DataCarrier queue consume thread is not very high, which could cause CPUs are not fully used. I add a more layer to the DataCarrier queue to avoid the array element change is invisible across threads.
This is a compatible change. I hope someone could verify this in test or product envs. This should make performance of OAP better with less latency in process data.

The old thread graph is like this.

As we have improved many other points for the performance, this seems a missing one. As this was reported, and no one submitted PR, I am trying to do this.

@yantaowu I think you mentioned this before, could you check about this too?

@lkxiaolou As you was working on optimizing DataCarrier multiple times, could you help on rechecking this too?

/run agent-plugin-test-3

/run agent-plugin-test-1

Is it a real different in our case? I used to check on that too

I'm missing the context of PR a little. Do you intend to make consumer threads to observe the change of "queue" with the help of volatile?
If your assumption is correct, some consumers will be busier than others. But from the graph, I didn't check it out.

@hanahmily I was being reported by community, the consumers are not fully working. That is the context

@hanahmily I was being reported by community, the consumers are not fully working. That is the context

What's the state of these consumers? I think that's a clue for us to find out why.

What's the state of these consumers? I think that's a clue for us to find out why.

We just know the threads are not busy from the graph. Don't know why. As we have reduced the number of threads, should be a problem.

@yantaowu I think you mentioned this before, could you check about this too?

I had tested this PR. The issue mentioned before has resolved, but the CPU usage rate is more than our own implementation.

I had tested this PR. The issue mentioned before has resolved, but the CPU usage rate is more than our own implementation.

Hi @yantaowu
I am interesting int this. Could you share how to test? And I have thought that related to 20-millis consume cycle. Changes 20ms to 100ms. Just guess :)
    public DataCarrier consume(IConsumer<T> consumer, int num) {
        return this.consume(consumer, num, 20);
    }

@dmsolr He is running cherry pick test on old release, 6GA. The CPU usage is only a reference. I will try to do a comparison test between this and his, which is using blocking queue.

@hanahmily @kezhenxu94 @dmsolr I run a local benchmark, and YES. In blocking mode(the OAP is using this mode now), the ArrayBlockingQueue has ~30% performance enhancement.
I write a fake Buffer class to run this test
public class Buffer2<T> {
//    private final BufferItem[] buffer;
    private final ArrayBlockingQueue buffer;
    private BufferStrategy strategy;
    private AtomicRangeInteger index;
    private List<QueueBlockingCallback<T>> callbacks;

    Buffer2(int bufferSize, BufferStrategy strategy) {
        buffer = new ArrayBlockingQueue(bufferSize);
        this.strategy = strategy;
        index = new AtomicRangeInteger(0, bufferSize);
        callbacks = new LinkedList<QueueBlockingCallback<T>>();
    }

    void setStrategy(BufferStrategy strategy) {
        this.strategy = strategy;
    }

    void addCallback(QueueBlockingCallback<T> callback) {
        callbacks.add(callback);
    }

    boolean save(T data) {
        try {
            buffer.put(data);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return true;
    }

    public int getBufferSize() {
        return 0;
    }

    public void obtain(List<T> consumeList) {
        buffer.drainTo(consumeList);
    }

    public void obtain(List<T> consumeList, int start, int end) {
        buffer.drainTo(consumeList);
    }

}

And this is my benchmark
public class ChannelWritePerformanceTest {
    private static Buffer buffer = new Buffer(2000, BufferStrategy.BLOCKING);
    private static Buffer2 buffer2 = new Buffer2(2000, BufferStrategy.BLOCKING);

    @Benchmark
    public static void testBuffer1() {
        for (int i = 0; i < 200; i++) {
            buffer.save(new Object());
        }
        buffer.obtain(new ArrayList(2000));
    }

    @Benchmark
    public static void testBuffer2() {
        for (int i = 0; i < 200; i++) {
            buffer2.save(new Object());
        }
        buffer2.obtain(new ArrayList(2000));
    }

    public static void main(String[] args) throws RunnerException {
        Options opt = new OptionsBuilder()
            .include(ChannelWritePerformanceTest.class.getSimpleName())
            .forks(1)
            .warmupIterations(1)
            .measurementIterations(5)
            .build();

        new Runner(opt).run();
    }
}

The following is test report
# JMH version: 1.21
# VM version: JDK 1.8.0_91, Java HotSpot(TM) 64-Bit Server VM, 25.91-b14
# VM invoker: /Users/wusheng/Documents/applications/jdk1.8.0_91.jdk/Contents/Home/jre/bin/java
# VM options: -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=54052:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8
# Warmup: 1 iterations, 10 s each
# Measurement: 10 iterations, 10 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: org.apache.skywalking.apm.commons.datacarrier.buffer.ChannelWritePerformanceTest.testBuffer1

# Run progress: 0.00% complete, ETA 00:03:40
# Fork: 1 of 1
objc[74650]: Class JavaLaunchHelper is implemented in both /Users/wusheng/Documents/applications/jdk1.8.0_91.jdk/Contents/Home/jre/bin/java (0x109a6e4c0) and /Users/wusheng/Documents/applications/jdk1.8.0_91.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x109ae84e0). One of the two will be used. Which one is undefined.
# Warmup Iteration   1: 125181.486 ops/s
Iteration   1: 123915.279 ops/s
Iteration   2: 113945.502 ops/s
Iteration   3: 113637.598 ops/s
Iteration   4: 110179.474 ops/s
Iteration   5: 110066.439 ops/s
Iteration   6: 114997.944 ops/s
Iteration   7: 113754.850 ops/s
Iteration   8: 116012.443 ops/s
Iteration   9: 112262.401 ops/s
Iteration  10: 109717.243 ops/s

Result "org.apache.skywalking.apm.commons.datacarrier.buffer.ChannelWritePerformanceTest.testBuffer1":
  113848.917 ±(99.9%) 6269.203 ops/s [Average]
  (min, avg, max) = (109717.243, 113848.917, 123915.279), stdev = 4146.689
  CI (99.9%): [107579.715, 120118.120] (assumes normal distribution)

# JMH version: 1.21
# VM version: JDK 1.8.0_91, Java HotSpot(TM) 64-Bit Server VM, 25.91-b14
# VM invoker: /Users/wusheng/Documents/applications/jdk1.8.0_91.jdk/Contents/Home/jre/bin/java
# VM options: -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=54052:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8
# Warmup: 1 iterations, 10 s each
# Measurement: 10 iterations, 10 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: org.apache.skywalking.apm.commons.datacarrier.buffer.ChannelWritePerformanceTest.testBuffer2

# Run progress: 50.00% complete, ETA 00:01:51
# Fork: 1 of 1
objc[74661]: Class JavaLaunchHelper is implemented in both /Users/wusheng/Documents/applications/jdk1.8.0_91.jdk/Contents/Home/jre/bin/java (0x10baca4c0) and /Users/wusheng/Documents/applications/jdk1.8.0_91.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10bb444e0). One of the two will be used. Which one is undefined.
 Total time: 00:03:41

REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
experiments, perform baseline and negative tests that provide experimental control, make sure
the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
Do not assume the numbers tell you what you want them to tell.

Benchmark                                 Mode  Cnt       Score      Error  Units
ChannelWritePerformanceTest.testBuffer1  thrpt   10  113848.917 ± 6269.203  ops/s
ChannelWritePerformanceTest.testBuffer2  thrpt   10  152492.905 ± 8046.102  ops/s

Process finished with exit code 0

Do you have any suggestions? Do we need to update this? Such as using BlockingQueue in blocking mode?

When I changed the codes to insert more data, interesting things happened.
I inserted 1200 records to 2000 size queu for both
for (int i = 0; i < 1200; i++) {
            buffer1/buffer2.save(new Object());
        }

Benchmark                                 Mode  Cnt      Score     Error  Units
ChannelWritePerformanceTest.testBuffer1  thrpt   10  30516.424 ± 745.733  ops/s
ChannelWritePerformanceTest.testBuffer2  thrpt   10  33467.919 ± 384.183  ops/s

As @yantaowu told me offline, they are using Queue#offer with accepting queue is full and data lost tradeoff. The result is not so different, as we don't make the queue full in our tests. testBuffer2 is using #offer method in the test.
Benchmark                                 Mode  Cnt      Score      Error  Units
ChannelWritePerformanceTest.testBuffer1  thrpt   10  29020.969 ±  613.798  ops/s
ChannelWritePerformanceTest.testBuffer2  thrpt   10  32102.383 ± 1715.402  ops/s

I dig more into the ArrayBlockingQueue source code, I noticed there is a misguide from the user feedback. ArrayBlockingQueue didn't ever deal with across thread visibility ever. Everyone here could check the source code.
So after I remove the volatile, but keep the BufferItem. There is no advantage of the BlockingQueue.
Benchmark                                 Mode  Cnt      Score      Error  Units
ChannelWritePerformanceTest.testBuffer1  thrpt   10  45184.551 ±  425.330  ops/s
ChannelWritePerformanceTest.testBuffer2  thrpt   10  33548.799 ± 1793.056  ops/s

Furthermore, by using the master codes of DataCarrier, we have much higher throughput. The following result is using the master code as testBuffer1.
Benchmark                                 Mode  Cnt      Score      Error  Units
ChannelWritePerformanceTest.testBuffer1  thrpt   10  47261.798 ± 2850.445  ops/s
ChannelWritePerformanceTest.testBuffer2  thrpt   10  34402.022 ±  356.511  ops/s

For following all these tests, unless we have very specific evidence showing there is across threads visibility issue, I think we should close this PR for now.

Visibility is not provided in BlockingQueue, it provides a global lock, which allows lower traffic.
Adding it could cost more CPU, but without evidence, we should not change this.

OK. An update, the ArrayBlockingQueue processing the across threads visibility by using the lock.
Refer to, https://stackoverflow.com/questions/12429818/does-explicit-lock-automatically-provide-memory-visibility

I will submit another PR to provide a new buffer implementation for oap server side first. The client side needs more research.


Implement e2e upgrade test

/kind feature
After #63 is implemented:
We want to run upgrade-tests like implemented in CAPH.

@batistein @guettli what about this?

the e2e upgarde tests are not implemented yet, but the other tasks we are working on are more important at the moment.
Since there is no production cluster yet, the upgrade test is not that important.


[RFC] New changelog process

Problem
With the Android launch just around the corner, we need to figure out a way to manage independent release notes for iOS and Android.
For iOS we currently generate release notes based on the user_facing portion of a changelog entry in CHANGELOG.yml.
Here's the relevant code in our fastlane script https://github.com/artsy/eigen/blob/d88d47b5a6f7c315b7a1ad63089df766a425ed04/fastlane/Fastfile#L43-L44
Also I think many of us are frustrated by the current process's tendency to cause merge conflicts, so it would be nice to simultaneously find a way around that.
Potential Solutions
Extending the current process
We can't simply replace the user_facing field with two fields: ios_user_facing and android_user_facing because we need to be able to release the app independently on both platforms.
But what we could do is replace CHANGELOG.yml with CHANGELOG_IOS.yml and CHANGELOG_ANDROID.yml. This has a couple of significant downsides though:

Ultimately most changes product engineers make will be cross-platform, so they will often need to touch two files instead of one. Double merge conflicts!
What to do with dev-only changes? Duplicate them on both platforms or move them to their own changelog file? I personally find it useful to cross-reference dev-only changes with user-facing changes, so duplicating would be helpful for me at least. But, again, who wants to do all that copy-pasting and merge conflict resolution?

Building a new system based on PR descriptions
We could use PR descriptions as a source of truth to avoid merge conflicts, manual duplication, and making extra 'update changelog' commits.
How would that work?
PR template section + danger validation
We'd add a new section to the PR template. Something along the lines of:
### Changelog updates
<!-- 📝 Please fill out at least one of these sections. -->
<!-- ⓘ 'User-facing' changes will be published as release notes. -->
<!-- ⌫ Feel free to remove sections that don't apply. -->
<!-- • Write a markdown list or just a single paragraph, but stick to plain text. -->
<!-- 🤷♂ Replace this entire block with the hashtag `#nochangelog` to avoid updating the changelog. -->
#### Cross-platform user-facing changes
-
#### iOS user-facing changes
-
#### Android user-facing changes
-
#### Dev changes
-

And then we'd add a danger rule to validate the requirements outlined in the comments.
Log collation tooling
Firstly, we'd archive the current CHANGELOG.yml and replace it with two markdown files: CHANGELOG.ios.md, and CHANGELOG.android.md. Both of which would feature very visible comments at the top saying something along the lines of "DON'T UPDATE THESE MANUALLY" and we could add lint-staged rules to help reinforce that.
Every time we ship a beta for a particular platform we'll need to collect the user-facing and dev-only changes that have been added since the last public release for the platform. This should be straightforward using git tags, the GitHub API, and some custom scripting.
The release notes will be submitted with the beta, and meanwhile we'll add a commit on master to do one of the following:

Create a new entry in the platform's changelog markdown file like the following
## v6.8.0
- Status: Beta
- Build number: 6.8.0-2<IP_ADDRESS>
- User-facing changes:
  - Added new header styles (David, Brian)
  - Fixed typography on Artwork page (Lily)
- Dev changes:
  - Removed unused Button component (Steve)

We can get people's names from their github accounts, although I'm not sure it is helpful to include the names when submitting public release notes to the app store or play store, so we can decide whether we want to keep doing that.

Update the build number and change lists for an existing beta entry.

Then when we promote the app for that platform we can set the status to In review. And then when we press the release button and do the whole 'prepare for the next release' step we can add some scripting to set the status to 'Released'.
Having independent version numbers.
All of this implies the need to maintain two separate version numbers for iOS and Android. I can't see a sane way of having only one version number that is incremented when each platform makes an independent release, and orchestrating synchronized releases is obviously problematic.
So I'd propose we augment our app.json file and fastlane scripts to support platform-independent version numbers.
How is this RFC resolved?
If we reach a consensus on how to proceed, we can plan a spike to investigate any technical risks, or simply forge ahead with implementing our solution if it's clear what needs to happen. If we don't reach a consensus we need to investigate other ways to enable platform-specific release notes and independent releases.

The new system based on PR descriptions sounds like it would be the most intuitive way for engineers on other product teams to follow best-practices around maintaining the changelog. You guys have already done the work to standardize PR descriptions and have been using it consistently, so this approach seems like an extension of those efforts.
One suggestion would be to clarify on what "consensus" means for resolving this RFC, and whose consensus you would like to gather. I assume that this means a majority of attendees at the Mobile Practice where this is voted upon, but I could be wrong.

This seems reasonable to me. The only concern I have would be with the Dev changes section that would include mainly android specific changes over the next few weeks. But I think that’s fine since we don’t show dev changes to users.
It’s also good to know that this will help us fix the issue with the changelog merge conflicts.

One suggestion would be to clarify on what "consensus" means for resolving this RFC, and whose consensus you would like to gather. I assume that this means a majority of attendees at the Mobile Practice where this is voted upon, but I could be wrong.

I suppose by 'consensus' I mean 'no dissenting voices'. And anyone in the engineering org is welcome to offer their opinion. I'll publicise this RFC at team standup on Monday. We can also discuss further at the mobile practice next week.

The only concern I have would be with the Dev changes section that would include mainly android specific changes over the next few weeks. But I think that’s fine since we don’t show dev changes to users.

That's a good point. One option to mitigate noise in changelogs is to also have android-specific dev changes and ios-specific dev changes. Once we get the tooling in place tweaking this stuff would be simple.

Nothing more to say besides:

Let's do it! I like the suggestion a lot, and I want to help do this.
Oh, also, about

We can get people's names from their github accounts, although I'm not sure it is helpful to include the names when submitting public release notes to the app store or play store, so we can decide whether we want to keep doing that.
I'd keep it. It adds a nice personal touch in the changes. Feels like those Slack updates or Discord etc.

This looks great! 🎉 🙌
One thing I'll note is right now the changelog is only used for release notes for betas, when we release to App Store we still manually specify release notes, I would be in favor of continuing that just so devs don't have to worry about their changelog entries being user friendly and allowing us to personalize the release notes should we want to.
Other thing I am thinking is nice about changelog now being updated on every commit vs. when a beta is shipped is that we can look at it at anytime on a branch and see what changes are in that current build, but I think we could probably easily accommodate that with this proposal with some script to allow for similar.
Very much in favor!

Thanks for the feedback everyone!
Looks like we'll resolve with the following caveats:

We shouldn't imply that user-facing changes will end up in the public release notes, for iOS at least (need to check android release promotion process).
It might be nice to find a way to see changes that haven't made it into a beta release yet (potentially a 'not yet deployed' section at the top of each changelog?)
We can add platform-specific options for dev-only changes too

Next step for me is to create Jira tickets for

Spike to find out how our release process needs to change to support this (git tags etc), and how to switch seamlessly.
PR description parser to extract change notes
Danger check
Changelog updater
Making the changelog updater fire on every commit to master. Also after beta deploys, promotions, and releases.

https://artsyproduct.atlassian.net/browse/CX-1209


How to override prompt for JSON Agent

How can I override the prompt used in JSON Agent (https://github.com/hwchase17/langchain/blob/master/langchain/agents/agent_toolkits/json/prompt.py)
Also, how can I print/log what information/text is being sent on every execution?

When you call create_json_agent() there are parameters you can pass in for the prefix and suffix.
my_prefix = "prefix here"
my_suffix = "suffix here"

def create_json_agent(
    llm=llm,
    prefix=my_prefix,
    suffix=my_suffix,
    verbose=True # verbose will print more detailed output
)

There are also verbosity settings you can set on your model, including different options for different chain types.


Union of index with itself not invariant, sets frequency attribute

When creating the union of an index with itself, the frequency may end up being reset. I would have expected the call to union in the following example to be invariant and return the original index:
In [56]: index = pd.bdate_range('20150101', periods=10)
In [57]: index.freq = None
In [58]: index
Out[58]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-01-01, ..., 2015-01-14]
Length: 10, Freq: None, Timezone: None

In [59]: index.union(index)
Out[59]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-01-01, ..., 2015-01-14]
Length: 10, Freq: B, Timezone: None

This then propagates through to e.g. combine_first, which is also not invariant. This might be desirable behavior in some cases but definitely surprising imo.

so the case is an index that has idx.freq is None with another will NOT take the fast path, but then both compare equal. ok so far.
Then an infererence happens here
I suppose if both have incoming freq is None then don't need to infer.
Not sure what this would break though.
want to do a PR and see?


Discrepancy in rendered dynamic objects on KITTI

Dear Authors,
Thanks for the amazing work!!
Below are the rendered images from kitti 0001 sequence.
The rendered images such as image 023.png (shown below see the black car) and 003.png image (see the rightmost car) fail to render the dynamic objects correctly.
Is this a known issue or am I missing something? Please clarify.
023.png

003.png

Best,

Hi,  there is nothing wrong with the results. I think these two are examples of novel view synthesis, and it is normal not to render dynamic objects exactly correctly. In 003.png, the car on the right is a hard case to predict the precise rgb at a novel timestamp and pose for its dramatic changes in light.

Okay. Thanks for the response.


Experiment/redesign

We've seen amazing numbers already, but it's felt bad that we were performing on roughly the same level as the node proxy on single-cpu workloads.
We knew we had some technical debt on using yggdrasil to upgrade the client features each time we served a request. This simplifies the design down to using dashmaps for all volatile data, including engine states for current client_features verified.
We're seeing about a 300% performance increase. With 3 toggles in features file, we're seeing roughly 40k rps on a single core.

We probably should move/rename the data_source package now. It's no longer a data_source builder.

Also, this moves away from using redis for cache, but we were looking at making a persistence layer available, which would sync to the layer on an interval and flushing when shutting down, as well as hydrating on startup.


Use getPoseData for XRFrame

We now wrap new XRFrame's in NativeXRFrame instances so that we can use more performant JS+Native implementations of functions, starting with getPose, which has been changed to a getPoseData helper function on the native side because a memcpy to an ArrayBuffer is more performant than updating a JS object's members from the native side.
See https://github.com/BabylonJS/Babylon.js/pull/11655 for context.

I'd like to merge #963 first so that planes and meshes aren't broken by this change.


Feature: Add note type Basic (and reversed card)

I often use this note type, so I made a small change to add it to the plugin. Thanks for building this plugin and making it available! Let me know if you find the time to incorporate the changes, so I/we can add the feature to the documentation. If changes are needed, just let me know.
This commit adds a boolean parameter reversed to the configuration. If the note type is not cloze and reversed is set to true, the note type will be set to "Basic (and reversed card)" instead of "Basic". As this is a standard note type, it should be available on all Anki installations. As the fields are identical to the Basic type, no unexpected problems should arise.

Is this plugin not maintained? Seems like a nice feature to have


In "data wrangling", one correction and a new suggestion

First off, at the beginning of the "data wrangling" section, in the example output for the look command, you say that you are running the command look phy|head -n 10 but the output does not show words beginning with phy. It instead shows word beginning with Phi. I would change this section to:
##### Print some words that start with a particular string (e.g. words start with 'phy')
```bash
# If file is not specified, the file /usr/share/dict/words is used.
look phy|head -n 10
# Phyciodes
# phycite
# Phycitidae
# phycitol
# phycochromaceae
# phycochromaceous
# phycochrome
# Phycochromophyceae
# phycochromophyceous
# phycocyanin
```

Secondly, I would add some usage of the command comm to find between two sorted files common lines, lines in one file but not in another; something like:
##### Find common/differing lines
The command `comm` can be used to find lines common to two files (intersection), or to find lines in one file and not in another file. **Warning**: input files must be sorted.
```bash
# Sort input before handing to comm; the -o option lets you sort a file in-place
sort -o bad-actors.txt bad-actors.txt
sort -o invited-guests.txt invited-guests.txt
# Find lines in both files
comm -12 bad-actors.txt invited-guests.txt
# Find lines in invited-guests.txt that are NOT in bad-actors.txt
comm -13 bad-actors.txt invited-guests.txt
# Find lines that are in good-actors.txt but NOT in invited-guests.txt.
# Note that since we didn't sort good-actors.txt above, we need to sort it before handing it to comm
comm -23 <(sort good-actors.txt) invited-guests.txt
```

This can also be combined with use of jq to do things like "compare these two json arrays of strings, and find the strings that are in both arrays".

fixed example output for look phy|head -n 10 in commit ab2ecc0

will further test and include comm, thanks for the cool command

comm examples added in bca6221, thanks for the command!


expose GC events through a native C API directly bypassing service stream

We have internal embedders streaming GC events from their services into monitoring by listening to GC stream via Dart_SetNativeServiceStreamCallback. However they want to run their servers using PRODUCT builds - which excludes this functionality.
Amount of information exposed though this API is very minimal - so we could simply extend our C API to expose the very same events using a pure C API along the lines of
typedef struct {
   ...
} Dart_GCStats;

typedef struct {
  const char* reason;
  Dart_GCStats new_space;
  Dart_GCStats old_space;
  ...
} Dart_GCEvent;

typedef void (*Dart_GCEventCallback)(Dart_GCEvent* event);
void Dart_SetGCEventCallback(Dart_GCEventCallback callback);

@cskau-g Clement could you take a stub at this whenever you have the next free cycle?

I'll have a look.

Do we know which specific information we want to expose through this API?
The Heap GCStats collect {before,after} x {new,old} x {capacity_in_words,used_in_words,external_in_words} as well as some high level stats like GCType and GCReason.
Do we just want to mirror this, or are going for a sub-/superset?

@cskau-g I think we should mirror whatever information is exposed through JSON events you get via Dart_SetNativeServiceStreamCallback - because this is what we stream out of the live service.

This feature has landed and appears to have stuck. Closing.


Perkeep can only be built in $GOPATH in offline mode

Hi,
Even when issues with building on Go >v1.12 are fixed (GopherJS), the build won't go forward unless the directory is named perkeep.org and is placed into $GOPATH.
This makes packaging in offline mode impossible (I've created an ArchLinux package).
Thanks!

This makes packaging in offline mode impossible

why?

This makes packaging in offline mode impossible

why?


Camera not re initialize second time in 5.1.1

Hi Team,
Here is my need is, to record a video in number of clips and i merge these clips by using some other third party tools.
For recording i used setMaxFileSize(<i set 10MB>). So the info listener called when recorder reaches 10MB, I used the below code.
@Override
    public void onInfo(MediaRecorder mr, int what, int extra) {

        Log.e("Max file size reached called what", what + "");
        switch (what) {
            case MediaRecorder.MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED:

              mMediaRecorder.reset();
// Here i store the clip in local storage and i start recording for getting the next part, why because once the max file size reached the recorder will be stopped.
                startRecordingVideo();
        }
    }

The above code is working fine in Android marshmallow, but when i test the same code in 5.1.1 i got the following error.
07-27 20:51:34.167 5810-12582/com.test.video E/CameraDeviceGLThread-0: Received exception on GL render thread:
                                                                       java.lang.IllegalStateException: swapBuffers: EGL error: 0x300d
                                                                           at android.hardware.camera2.legacy.SurfaceTextureRenderer.checkEglError(SurfaceTextureRenderer.java:530)
                                                                           at android.hardware.camera2.legacy.SurfaceTextureRenderer.swapBuffers(SurfaceTextureRenderer.java:523)
                                                                           at android.hardware.camera2.legacy.SurfaceTextureRenderer.drawIntoSurfaces(SurfaceTextureRenderer.java:729)
                                                                           at android.hardware.camera2.legacy.GLThreadManager$1.handleMessage(GLThreadManager.java:105)
                                                                           at android.os.Handler.dispatchMessage(Handler.java:98)
                                                                           at android.os.Looper.loop(Looper.java:211)
                                                                           at android.os.HandlerThread.run(HandlerThread.java:61)
07-27 20:51:34.167 5810-12582/com.test.video I/CameraDeviceState: Legacy camera service transitioning to state ERROR
07-27 20:51:34.275 5810-5810/com.test.video E/CameraCaptureSession: Session 1: Exception while stopping repeating:
                                                                    android.hardware.camera2.CameraAccessException: The camera device has encountered a serious error
                                                                        at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:1478)
                                                                        at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:677)
                                                                        at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:328)
                                                                        at com.test.video.fragments.VideoContentRecording.closePreviewSession(VideoContentRecording.java:871)
                                                                        at com.test.video.fragments.VideoContentRecording.startRecordingVideo(VideoContentRecording.java:812)
                                                                        at com.test.video.fragments.VideoContentRecording.onInfo(VideoContentRecording.java:941)
                                                                        at android.media.MediaRecorder$EventHandler.handleMessage(MediaRecorder.java:1033)
                                                                        at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                        at android.os.Looper.loop(Looper.java:211)
                                                                        at android.app.ActivityThread.main(ActivityThread.java:5389)
                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                        at java.lang.reflect.Method.invoke(Method.java:372)
                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)

Guys, let me know how can i fix this, and please suggest if i'm on the right way or any other solution/possibilities to achieve my need. Thanks in advance.

I'm also having this issue on a Lenovo YT3-850F with Android 5.1.1, any news or comments on this?

You got any solution for this? I am also facing same issue on Nexus 4

Hi @sandeeptengale, I also managed to pull a workaround for this, sadly I don't remember nor find exactly what it was. What I can say is that my code does have closePreviewSession(); on startPreview().
I'll keep looking and if I find something will comment again here.

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


Firefox only:  Reddish border around required input element

"Required" TextInput component such as:

would render a reddish border around the element in Firefox only.

This is similar to what was reported in #141.

box-shadow: unset;    seems to help

Thanks so much for reporting this issue @HeatherZh! Like you noted, it's totally the same issue that's in #141. I'm going to consolidate the two issues into a single implementation task in #304 so that we can tackle them at the same time 😄
If you have any questions or concerns, feel free to reply on GitHub or in the #carbon-react channel on Slack! In addition, if you believe I'm closing this issue erroneously feel free to re-open with the rationale.
Have a great day!


log peerids

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

This is a feature branch from main of cometbft/cometbft, whose latest version was v0.38.13, ahead of ours by at least a "patch".
This one is the one to use instead:
https://github.com/allora-network/cometbft/pull/2


[PT Run] RunAsAdmin button keeps focus

Environment
Windows build number: 10.0.19041
PowerToys version: 0.19
PowerToy module for which you are reporting the bug (if applicable): PT Run

Steps to reproduce

Open PT Run
Search for App
Navigate to "Run As Admin" button by keyboard and press enter
Open PT Run
Try to search or to navigate in results by using keyboard

Expected behavior
Search field is in focus and i can navigate in the results by pressing up/down or tab.
Actual behavior
Search field is NOT in focus and i can NOT navigate in the results by pressing up/down or tab.
Screenshots
Not available at the moment. Can be added if necessary later.

I can't reproduce this on my local system

Image is made from a reproduction after reboot.

Same issue when you calculate something, then click on the "Copy this number..."
Next time you open PT Run it still shows the same calculation and the "Copy this number..." has focus.

is this still happening on 0.19.1

Yes. Can confirm that this bug still exists in 0.19.1.


Set the default app service to expect a database

Ticket
N/A
Changes

What was added, updated, or removed in this PR.

Set the app service to expect a database

Context for reviewers

Testing instructions, background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers.

This might be a controversial suggestion, but I'm making it because the app that comes packaged in this repo (/app) has a healthcheck that requires a database. That means that if you are brand new to the template, the out-of-the-box deploy of the service will fail because the ECS service healthchecks will fail.
I think this hasn't been failing in the platform-test repo because:

In the platform-test repo, the service has_database is set to true
Whereas in this repo (template-infra), the service has_database is set to false

This indicates to me that there's some drift between platform-test and template-infra that we might want to investigate.
Testing

Provide evidence that the code works as expected. Explain what was done for testing and the results of the test plan. Include screenshots, GIF demos, shell commands or output to help show the changes working as expected. ProTip: you can drag and drop or paste images into this textbox.

@rocketnova Looks like the Template CI Infra workflow didn't run. Do we need to update this line to trigger the workflow on changes to infra/** instead of just infra/modules/**?

bringing notes from slack: i think there are two more tiny changes to this PR to complete it

set has_database back to false in template-only-ci
triggering template only ci on infra/** instead of infra/modules/**

CD action failed as expected:

platform-test manually updated in this commit
platform-test-nextjs manually reverted turning on the database in this commit
platform-test-flask manually updated in this commit


Get higher_items and lower_items without extra database queries

On some apps, database performance suffers quite a lot from use of this gem, since many method calls result in their own database queries. Here, I attempt to speed things up by using methods from Enumerable to get the same objects from acts_as_list_list, which we already have in memory. The difference is that these methods now return Arrays instead of ActiveRecord::Relations, so I've added more methods to get those relations back in cases where they're needed.

Hi @exchgr, thanks for doing this PR. I think I'll get a review done by @swanandp on this one as it's a bit of a deviation away from the norm for the gem. My concern would be stale data. There may be assumptions around the way things are currently done that aren't tested properly so it'd be a good idea to ensure it's all well tested.

Also, the test suite failed. Seems to be a trivial error though.

Thanks for taking a look at this!
I could be wrong about this, but it seems that there wouldn't be stale data, unless it's stored in a cache somewhere that I missed. But also, I'm just using this in the context of rendering an action in Rails, which instantiates new ActiveRecord and SQL queries for each request and only caches repetitive ones for the duration of the request. Perhaps there are other use cases I overlooked. I'd love to discuss this more.
As far as I know, I only changed the implementation of these methods, and not (too drastically) the interface. From what I can tell, the only difference is that these methods now return Array instead of ActiveRecord::Relation. What else would need to be tested, if anything?
Re: the test failure, it looks like I just didn't account for the fact that this gem supports multiple versions of Rails, and I used Array#pluck, which isn't supported on some older versions. Should be an easy fix.

Thanks @exchgr, you make a good argument. I'd just like to wait for @swanandp to take a look too. He's pretty busy so it could be a while but he always gets there in the end :)

Thanks for the update!

@exchgr, are you still wanting to progress this one? Looks like it needs some more development :)

Closing due to inactivity.


Headshots for the Teams Page

Need headshots from...

[ ] Nikki Green
[ ] Ynigo Reyes
[ ] Joshua Johnson
[ ] Simon Woldemichael
[ ] Dr. Watson

Completed with #10


Themes

Is there any website where I can preview all the themes?

Please Delete This. I just noticed you can use Edit in the toolbar to change themes...

Please delete this issue


Can not install app

Hi,
I am getting this error when I try to import the app:
NOT COMPATIBLE (Your export may contain calls not supported by your Application Express version)
Any  possibility to install the app?
Thanks

This was already discussed some days ago here:
https://github.com/oracle/apex/issues/23


Use same version of Bazel that is executing the test

rules_bazel_integration_test might be used in a scenario where there's already scaffolding in place to run tests under different versions of Bazel. For example, with Bazel's own CI this might be configured as a test matrix where different rows of the matrix use a specific Bazel version. This could be used to execute an entire test suite, containing both unit and integration tests, with the same Bazel version.
Because this scaffolding would exist at a level higher than rules_bazel_integration_test, it would be desirable to configure rules_bazel_integration_test to simply use the same bazel binary that's executing the top-level bazel test command, rather than configuring an explicit binary via bazel_version or bazel_binary.
Is this something that could be supported?

This is an interesting idea. What feature(s) from rules_bazel_integration_test would be useful in this situation? My mental model for rules_bazel_integration_test is that it provides a means for testing a Bazel ruleset from bootstrap through build/test from within the ruleset workspace. If there is an external system providing the matrix inputs, they could just run Bazel directly in the child workspace.


Showing the outline of the clipped region might be useful

Specially when your initial setting are out of bound due to changing bound across time.

I agree
On Tue, May 17, 2016 at 10:56 AM, Sebastien Jourdain <
<EMAIL_ADDRESS>wrote:

Specially when your initial setting are out of bound due to changing bound
across time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/Kitware/light-viz/issues/33


Injection reworking

Basically a workflow where you don't have a separate importmap.json at all, so that this workflow is additive.
So if you don't want, you can just run import package management directly inside of the HTML.
We did previously, but moved away from it with the inject functionality, but if we can reunify that does still provide a nice workflow.... where either separate importmap.json is being used.

jspm install / jspm uninstall can all operate on import maps in HTML files (-m app.html for changing the input source of truth, and -o out.html for changing the output source of truth). (install traces the pins / top-level imports). By default -m changes both the input map and the output map to the provided map (which defaults to importmap.json). The output map can be changed via -o, and as soon as this is done, we move from tracing pins to not tracing pins (top-level imports in the import map).
jspm link replaces jspm extract and jspm inject. And does this by:

jspm extract becomes jspm link app.js -o outputmap.json. That is, the act of adding an outputmap, moves from a pin trace to not tracing those pins, so it becomes a pruning extraction.
jspm inject then follows the same rule - jspm link test.html works by default - that is we extend link to support HTML tracing as well as JS tracing, as another trace target.
jspm link test.html does not alter test.html, instead it just updates importmap.json with the mappings.
jspm link test.html test.js app can link multiple things and update the importmap.json
jspm link test.html test.js app -o out.json would perform an extraction only providing the minimal map for the linkage.

Then inject can be replaced with the new workflows:

jspm install react -m test.html would replace the inject package installer
jspm link test.html -m test.html would replace the traditional jspm link test.html, but we can give it a sugar syntax - jspm link -m test.html where by default if the input map is an HTML file it will trace that HTML file as if you did jspm link test.html -m test.html

Then jspm inject and jspm extract can be fully removed.

I like the idea of a simpler, more powerful primitive a lot. Less is more 😄 some things I'm wondering about:

It's not super clear what jspm link takes as arguments. So jspm install takes a package specifier, which makes sense since in this case it's behaving as a package manager (similar behaviour to npm install). On the other hand, I feel like jspm link <blah> should take a module specifier (or at least something that resolves like one), since it's basically saying "I want to be able to import "<blah>" in my code, link the necessary dependencies for me". But in that case, jspm link test.html has some ambiguity - technically it would then resolve to a test.html package, not the local file test.html, right? You could write a relative URL like jspm link ./test.html, I guess, but this sort of thing looks like a tripwire.

I think the rule should be "trace top level pins if the output map is the same as the input map", rather than "trace top level pins unless the -o flag was provided". This way things like jspm link app.js -m map.json and jspm link app.js -m map.json -o map.json, which look like they should have the same behaviour, actually do have the same behaviour (tracing top level pins in both cases).

I think (1) is tricky from a UX point of view because you want to support local dev workflows, but also workflows where you need to link against modules coming from an external CDN, right? We could do a fallback to checking if there's a file in the baseUrl matching the specifier, but then someone goes and publishes app.js on npm and your workflow suddenly breaks for no apparent reason...

jspm link: handle own names and imports, files, also allow remote URL, don't allow arbitrary module specs (i.e. point to resource)
jspm install: handle package targets, like it currently does


Make sure signup module is not subject to script injections / explore AWS Cognito

https://smirnov-am.github.io/securing-flask-web-applications/


MAPREDUCE-6619. HADOOP_CLASSPATH is overwritten in MR container. Cont…

…ributed by Junping Du
(cherry picked from commit da18bbedaffad1f3ac9c078675583e7cfb68790f)

LGTM otherwise. Please fix the CHANGES.txt and self-merge


Add support for some texture types

Added support for some texture types so they can be inspected.
Also fixed a typo in the css.

When will this feature be merged...?

Rebased and merged. Thanks @LJ1102!


az cli commands are not valid

az deployment group: 'operation' is not in the 'az deployment group' command group. See 'az deployment group --help'.
(using latest azcli from package repo)

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

ID: 4369e3ef-baf8-5ea9-cba8-87d49bbc21a4
Version Independent ID: 1ba05ac6-f9e2-3c90-c2a9-8efec79f9d23
Content: Deployment history - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/deployment-history.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@howardjones Thanks for your comment. We are actively investigating and will get back to you shortly.

A bit more info: There's a full page of documentation for az deployment group operation on the Azure website, but if you try it in the latest az cli (or cloud shell), you get the error above.
However, the "old way" - az group deployment operation does work.

@howardjones Thanks for your valuable feedback. As the Microsoft Build 2020 is being held soon, all the document edits have been freeze till May 19th.
Assigning to content author @mumian  for documentation update.

@howardjones - thanks for this feedback. I am testing the options available in the latest version, and will update this article.

@howardjones - I have fixed the commands for deployment operations. The update will be published today. I had to update to Azure CLI 2.6.0 because there was a change in the deprecation message.
Thanks again for making us aware of this error in the docs.


[QUERY] Total step generation calculation for esp32

Hi,
I had a few very basic queries regarding the number of steps generated per second given in the Readme.

The Esp32  allows up to 200000 generated steps per second. Do these steps include number of steps generated for setting position,acceleration and velocity in total at that moment?

So let us say at a moment I ask the stepper to move 100mm, at 1000 mm/s and  1000 mm/s^2. It will reach in 0.447s at a max speed of 447mm/s

My steps to mm conversion gives me the following steps requirement -
  stepper[num]->moveTo(2286);
  stepper[num]->setSpeedInHz(22857);
  stepper[num]->setAcceleration(22857);

For this motion the position and acceleration will determine the total time and velocity at any point. So does the total steps generated account for the steps needed to set position and acceleration?
Here I assume, position needs to be generated only at that instant, but the acceleration pulse generation would be constant for the entire 0.447s.

In my case I am trying to run 3 stepper/servo motors using my esp32, and I wanted to know what would be the maximum Velocity and acceleration that I would be able to generate for my motions using a single esp32. My motion plan generates values as shown below in the graph. The motion is such that at specific instants it touches peak velocity of 1000mm/s to 1500mm/s. and acceleration of 30000mm/s^2. The absolute steps values for these  would be 34285 steps/s and 6857142 steps/s^2.

I am currently running a single motor with a single esp32, I want to know if a single esp32 will be able to generate these values for all three motors, for which I need to understand which parameters use up the 200000 total steps generated per second by a single esp32

Esp32 can generate up to 200000 steps/s as a hard limit. The soft limit is the currently set speedLimit, at which the stepper will not accelerate further. These limits refers to the frequency of the generated steps or the speed of the motor. This has no relation to position and acceleration, unless the maximum speed cannot be reached. Does this clarify the first question?
For the second question: With a move of 100mm, at 1000 mm/s and 1000 mm/s^2, the max speed of 1000 mm/s will be reached in 1s. But this would need a distance larger than 100mm, so the max speed cannot be reached. This means for 100mm, the ramp generator need to concatenate acceleration and deceleration phase with same length. In other words, the motor will accelerate for 50mm and decelerate for 50mm. In order to reach 50mm with 1000mm/s², the needed time is t = sqrt(2*s/a) = sqrt(0.1s²) = 0,316s. This means, this is a different value than the 0.447s. Consequently, the motor will accelerate for 0,316, decelerate for 0,316s and the total travel time will be 0,632s. As the maximum speed is not reached, it is correct to say: For this motion the position and acceleration will determine the total time and velocity at any point. What is not clear the question: So does the total steps generated account for the steps needed to set position and acceleration? Because the steps generated will always be in sync with the position.
For the 3rd question: The first question indicates a translation in the system of 1mm needing 22,86 steps. With 200kHz the maximum speed would be 8748 mm/s. With 1500mm/s a step speed of 34kHz is needed. If the application does not generate other heavy load on the esp32, I expect the esp32 to be able to drive all the 3 motors at 200kHz in parallel. So the 34kHz will not be a problem.

Thank you so much for your clarification! that makes it very clear.


Autodiscovery issue

I fixed the issue with the autodiscovery by moving the jwks.json endpoint into the /.well-known path, similar to the OpenIdDiscovery endpoint.

Aha! Thank you! Odd that it wouldn't pick it up from the discovery endpoint.
I'll fix this next time I have a free moment - unless you're able to make a PR?


Documentation of installation issues when connected to VPN

Add note to readthedocs and python notebooks that should not be connected to a corporate VPN when trying to clone GitHub repos

@poorva1209 - Do we need to include images of the error as well?
https://gridappsd-training.readthedocs.io/en/develop/installation/windows10/1.2W-Installing-GridAPPS-D.html#Known-Issues-around-Corporate-VPN-Connectivity

@tonya1 or @poorva1209 , please review and close
https://gridappsd-training.readthedocs.io/en/develop/installation/1.9-Known-VPN-Proxy-Issues.html

Looks great.  Thank you.


merge helm index file while packaging

I realize to support versioning on the helm server it's required to download the current index file from the remote server. It also avoid the error below because the kube-prometheus is missing from the index.yaml
$ helm install --name kube-prometheus coreos/kube-prometheus --namespace=monitoring
Error: file "coreos/kube-prometheus" not found

e2e tests are flake https://travis-ci.org/coreos/prometheus-operator/builds/320600382


#include as aVariable

_ Is refactor
\x Is new feature
_ Concerns documentation

Description of suggestion or shortcoming:
#import <file> as variable
is needed. Result and bindings will be available in the variable which is a squiggle record.

In ReducerProject, we are switching from "Oh we are evaluating files in some order" to "we are compiling object files and linking them" model. Bindings and result are simply the natural part of object files.
Currently users can use namespaces but they have to do so explicitly in the files
MyNamspace.myVar = 1
is valid syntax.
However with this syntax change they will able to import a files bindings into a variable which is a record.   Why private file name spaces? In the future, the global name space will be so crowded that naive bindings merging / differencing hacks will be futile.
This requires a change in the evaluation of files. They have to modify only their private namespaces. Currently there are only global bindings and files do not have private names spaces.

[ ] Create private file name spaces
[ ] Modify the include preprocessor to have variable syntax as well.
[ ] Let the parser generate the code to set the said variable

Once file based name space is there, private name space is a trivial step. Private name space will officially exist. We won't try to emulate it by returning result records!
PS. No, I won't try to emulate or do this by returning records from file evaluation like before the ReducerProject time.
PS. #include will stay a dependency creator without as. "#import as" will be added.

[ ] Test the case of "import fileA; render = "fileA.functionA"

importing into variables is implemented and rejected. I don't have any ideas about a future direction at this point.

Duplicate of #1331.


Update replugged dep and release v1.4.0

Waiting for replugged v4.7.0 (switch from parcel to esbuild) to avoid parcel's overoptimisation causing huge selector lists.

Temp workflow for retrieving v4.7.0 from the github repo rather than from npm, will replace when v4.7.0 is released


Create PaddleOCR 2024-09-25-meeting-agenda.md

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


Clone lset before relabelling.

We need to not change the lset passed into populateLabels, as that
is kept around by the SDs.
Fixes 2377

This should go into release-1.5

Otherwise :+1:

Rebased onto 1.5


worked on likes

Worked on the updating of likes in the homepage

Hi @geekelo ,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
✅ Gitlow is flowed correctly
✅ Project is well structured
✅ Project is running successfully
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.


Installing in virtual environment

Hi! I wanted to install your module in my virtual environment (Python3.6), but it doesn't seem to work.
When I build it using the method provided python setup.py build_ext --inplace, the module is visible only when I run python from the shared_numpy directory. It's not visible in my virtual environment.
When I tried to install it with python setup.py install and later also with 'pip install .', the module was visible in the virtual environment (no error on 'import shared_numpy as snp'), but attributes of the module were not visible.
>>> import shared_numpy as snp
>>> snp.Queue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'shared_numpy' has no attribute 'Queue'

I don't have any experience with creating and installing modules like this, could you help me solve the issue?

Alright, I figured it out. Only later I realized that the directory 'shared_numpy' is not built and shared globally. So the line import shared_numpy as snp is actually referring to the directory, not to the installed module. Copying that directory to a project that I'm working on solved the issue. :+1:

When I follow your step and i run the examples ,but i  got a error.

Have you ever encountered this?

Does it not support windows?


bindgen_test_layout_max_align_t test fails on i686 on cryptoki-sys crate

When running the tests with bindgen for i686 the tests fail due the size of max_align_t

test bindgen_test_layout_max_align_t ... FAILED
failures:
---- bindgen_test_layout_max_align_t stdout ----
thread 'bindgen_test_layout_max_align_t' panicked at 'assertion failed: `(left == right)`
  left: `16`,
 right: `24`: Size of: max_align_t', /builddir/build/BUILD/cryptoki-sys-0.1.0/target/release/build/cryptoki-sys-3b2c9ff8efdc70bf/out/pkcs11_bindings.rs:3:71904
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
    bindgen_test_layout_max_align_t
test result: FAILED. 22 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Hey! Thanks for reporting, looks very similar to the same one you reported on psa-crypto (here). We can apply the same fix.

I figured it was probably similar, I had forgotten about that report, there's also the same issue on the tss-esapi-sys. Seems like a theme ;-)

Alright created a PR on both repos:

https://github.com/parallaxsecond/rust-cryptoki/pull/13
https://github.com/parallaxsecond/rust-tss-esapi/pull/215

By the way, are you compiling those crate with the generate-bindings feature? If you wanted we could add the targets to the list of supported ones so you wouldn't need the bindgen dependency.

By the way, are you compiling those crate with the generate-bindings feature? If you wanted we could add the targets to the list of supported ones so you wouldn't need the bindgen dependency.

Yes, on this only arm/aarch64/x86_64 was created, on tss-esapi-sys only x86_64 was created. We build for armv7/aarch64/i686/x86_64/ppc64le/s390x so we needed to use bindgen to generate the pieces for all the arches.


Swift 4 Support

Could someone upgrade this project to swift 4?

Hi @uditha2233,
Swift 4 support added in the 0.1.3 version.

@evnaz Thank you..


Layout Page

The layout page returns a 404 and is nowhere to be found in the code. Is this a mistake or some kind of forgotten / abandoned feature ?

Can you send a screenshot of the error?

Available at address:
https://github.com/paljs/gatsby-admin-template

Oh, my bad there is no page call form layout. I will remove it from the menu.
thanks


Cursor keys not working on 5250 terminal.

When I open a 5250 terminal from Code for i I am unable to use the up, down, left and right cursor keys. They just seem to print escape character instead of moving the cursor.
I have the 5250 session type set as default except for the language which is set to 285. The matches my user profile language settings . . . the way I have set them for the last 4 decades 🤣.
I'm running VSC on Windows 11.
Any suggestions how I fix the cursor key mappings?
Thanks.

@robinsg Did you play around with the tn5250 settings in the Connection settings of your connection? I am not sure what might solve it but that might be a good place to start!

@robinsg Does the same happen if you ssh into the system using another client and then launching tn5250?

No, it works fine.
I use MobaXterm to SSH in to my LPARs. If I then run TS5250 from the SSH
session it works as expected.
Glenn Robinson
IBM Storage and Power Systems Specialist
RSI Consulting Limited
Tel: + 44 7930 946274
Email: @.***
On Tue, 3 May 2022 at 14:10, barry @.***> wrote:

@robinsg https://github.com/robinsg Does the same happen if you ssh
into the system using another client and then launching tn5250?
—
Reply to this email directly, view it on GitHub
https://github.com/halcyon-tech/vscode-ibmi/issues/662#issuecomment-1116079664,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBSEE3HQI2DNBNB3E5QFDDVIEQUJANCNFSM5U4G3U7Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

Must be something about the way the 5250 session starts up from within VS Code. Terminal type possibly ?  I have the same issue if I start a 5250 session directly.  If I open the PASE terminal and then start a 5250 session it works.

I'm wondering if this has anything to do with the shell program when TN5250 is first started. Does VSC run ksh or bash as the shell?
I'm clutching at straws but I'll try your method and report back.

@robinsg Perhaps it's got something do with the fact I am forcing the users TERM to be xterm.
Try the following:

TERM=xterm /QOpenSys/pkgs/bin/tn5250 ... to see if you get the same issue
/QOpenSys/pkgs/bin/tn5250 to see if the issue goes away.

Maybe I need to remove the hard coded TERM.

Might be worth a try. However see my previous comment. If you exit with Control-Q and run the same sequence with XTERM it works fine the second time when run manually from the same PASE session you started.  Interesting....

For m personally I just start a PASE session and do this in a start5250.sh script:
#!/QopenSys/pkgs/bin/bash export term=xterm tn5250 ssl:localhost:992

Hey @robinsg - any update on this? How is it going?

No further progress I'm afraid. I was hoping that putting export TERM=xterm at the top of my .profile file might fix this but no luck.
When I first set up the OSS environments on these LPARs a few years back I used QSYS2.SET_PASE_SHELL_INFO() to set my shell to bash and then set up my .profile and .bashrc files. Any thoughts on that method for setting up the bash environment using that method?

Exact same problem here, PUB400 untouched profile.
Exiting then launching with XTERM=xterm ... thing works fine.
Exiting then launching without any XTERM gives a black-and-white 5250, cursor keys working but no function keys ...

I believe this issue to be fixed. @robinsg i am going to close the issue, but please feel free to open again if you feel otherwise.


Appstudio update test-component-pac-qolo

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-qolo-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
38 seconds
build-container

✅ Succeeded
17 seconds
sanity-inspect-image

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
44 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
12 seconds
sanity-label-check

✅ Succeeded
12 seconds
sanity-optional-label-check

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-qolo-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
13 seconds
clone-repository

✅ Succeeded
26 seconds
build-container

✅ Succeeded
12 seconds
deprecated-base-image-check

✅ Succeeded
13 seconds
sanity-inspect-image

✅ Succeeded
13 seconds
clair-scan

✅ Succeeded
39 seconds
clamav-scan

✅ Succeeded
12 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
4 seconds
show-summary


Update Frechet Audio Distance to be compatible with Python 3. Various bug and typo fixes.

Upgraded Python Beam to 2.14.0 (supports Python 3)

Updated imports to reflect running fad from root folder

Updated paths to reflect new tensorflow_models structure

Added .gitignore

@googlebot I signed it!

@maniatis take a look at your leisure.

Hi @phi-line,
As I mentioned, each subdirectory in the google-research/google-research belongs to a different research group. I'm only involved in the /cubert subdirectory currently, so I am not able to review your pull request.
Apologies.
Petros

@sun51 @peterjliu any chance you could check this PR out?

Did you mean to add somebody else? I don't have anything to do with that project.


onScrolledToBottom is not triggered after replacing an empty result set

In one case I use ember-light-table to display search results. When changing the search query, I first set the query and then reset the table like so:
  resetTable(canLoadMore = true) {
    this.setProperties({
      pageNumber: 0,
      isLoading:  false,
      canLoadMore
    });
    this.get('table').setRows([]);
  }

This triggers onScrolledToBottom which in turn triggers fetchRecords which gets the query and performs the search.
  fetchRecords() {
    this.set('isLoading', true);

    // ...

    this.get('store').query(modelName, request)
      .then((records) => {
        this.get('table').addRows(records);
        this.set('isLoading', false);
        this.set('canLoadMore', Ember.isPresent(records) && records.get('length') >= pageSize);
      });
  },

If the search does not yield any results, nothing much happens, as expected.
If the user then changes the search query, the whole process starts over and resetTable is called. However, onScrolledToBottom is not called again, because the {{lt-infinity}} does not re-enter the viewport.
Currently I manually issue the action with this.send('onScrolledToBottom'); after resetting the table, but this feels clunky and potentially already triggers an uncalled for request for the second page.
Can I improve my logic or should setRows (etc.) always trigger the onScrolledToBottom action, if {{lt-infinity}} is in the viewport?

Hi there!
I dont think you should depend on the onScrollToBottom action since it greatly depends on the current viewport. Instead, you should just call fetchRecords from resetTable.
One thing I would add as a precaution in fetchRecords is this:
// Prevent multiple fetches from occurring
if(this.get('isLoading')) { return; }

...

Im gonna go ahead and close this issue as it has been abandoned. Feel free to reopen.

@offirgolan my good sir, wrt:

I dont think you should depend on the onScrollToBottom action since it greatly depends on the current viewport.

Do you mean this specifically in this context of resetting the table or even for the general case of scrolling down and loading successive pages of data from the backend? If it's the latter, I would be very interested to hear the alternative to depending on onScrolledToBottom.
Thanks!


Documentation: link to docker2aci docs

The information about converting Docker images to ACI is there.
Fixes #787
Depends on appc/docker2aci#72

LGTM


VS RC2 uses newer Microsoft.CodeAnalysis.XXX assemblies than available via NuGet packages

Modules loaded by VS 2017 RC2:

Version available via RC nuget packages:

As a result, Navigate To does not work:

see https://github.com/Microsoft/visualfsharp/pull/1958#issuecomment-267010118

@Pilchie Is it possible to publish another prerelease of Microsoft.CodeAnalysis that matches what RC2 uses?

I believe the RC2 packages were published this morning.

@Pilchie Yes, they were. Thanks!

Hm. I updated my branch to use RC2 packages, but it has not helped. Same error :(

The versions of assemblies that loads VS and ones from the packages are same.

Is it exactly the same error?  That's odd, since that looks like the F# binary is missing a method.

Yes, exactly the same error. I've clean the working dir and rebuilding everything, maybe some assemblies were not updated.

Yes, I was right. I even cannot build FSharp.Editor - assemblies lay in different directories now.

@cartermp @KevinRansom maybe you guys could update the packages the right way? I'm not sure I'm doing it properly.

Tagging @brettfo too.  Can you take a look here?

I've just created #2013.

The problem is gone, thanks.


Feature Request: Portal Requires Users to Fill a Form & Logo Customization

Hi Jamie,
As discussed I'm working on a project in which it is required that users fill a form containing fields like Name, Email, Phone, ID, etc before they are allowed to use WiFi. This information will then be saved into an online database (like Google Sheets or SQL) after validation of fields filled by a user.
Also, another common feature required by users is to be able to change the background of portal page or add their company's logo to it.
Could you please consider adding these features to this project? They are very commonly required and would help many people.

I'm going to start working on this, by default the project will assume you don't need this feature but will look for optional environment variables such as the driver for the database.
Proposing that when a user authenticates we could write to Google Sheets, a SQL database or fire a webhook to be consumed by any third party service.
Will start with Google Sheets.

Good!
I had used this  for Google Sheets integration on my portal.

I feel like before any changes could be merged #14 needs to be complete to allow people to continue using this repo as before.

That is for a customized login page with logo etc?


Split GPU & CPU tasks to run on different hardware

Hello
We have been looking into cellpose eval function to see if is possible to run network on GPU hardware that complete fast and flow+mask computation on different hardware.
I was thinking about moving https://github.com/MouseLand/cellpose/blob/master/cellpose/models.py#L1195 into the different script. What is your suggestion to split it?
time spent: running network 96.71s; flow+mask computation 1894.61
estimated masks for 1 image(s) in 1997.15 sec

I was able to do this for nucleus segmentation (https://github.com/MouseLand/cellpose/issues/207).  Let me know if you would like any more details, or if I can pass along some code.

closing this issue due to #207


[Dask] Sort and partition for ranking.

Implement automatic local sort.
Implement partitioning by query ID.
Document for distributed ranking.

Please see the changes in the tutorial about the new features. In summary, we can now have two different ways to handle query groups in the Dask interface, depending on whether a global sort is desired.
Please note that, this PR ensures the accuracy of the model at a heavy performance price. A global sort is costly and pushing huge amount of small partitions into the QuantileDMatrix is also inefficient.
related:

[ ] https://github.com/dmlc/XGBoost.jl/issues/160
[ ] https://github.com/dmlc/xgboost/pull/9491

In addition to this PR, I need to work on a distributed version of group weight.

cc @rongou .


Error in current navbar documentation

Currently, the docs indicate that the navbar toggler could be on the left but the example in the documentation shows otherwise.

I have updated the example and here is what it shows at the moment:

Closing as we picked this up elsewhere it seems. Thanks!


perf(jsx/streaming): In multiple Suspense, go ahead in the order of resolved.

Prior to this PR, if there were multiple nested Suspense, they were processed in stages, but in this PR, they will be processed first in the order of termination.
In the test I added this PR, it was
last

first
 before this PR, but now it is
first

last
 with this PR.
Author should do the followings, if applicable

[x] Add tests
[x] Run tests
[x] yarn denoify to generate files for Deno

Looks good. Merge now.


Cordova vue ios does not trigger grant permission to receive notification

Bug report
Current behavior:
Android works properly but iOS does not ask permission for notification setting.

Expected behavior:

iOS device fresh install should be prompt to ask notification setting.
Steps to reproduce:

Screenshots

Environment information

Cordova CLI version

cordova 9

Cordova platform version

cordova platform ls

Plugins & versions installed in project (including this plugin)

Dev machine OS and version, e.g.

OSX

sw_vers

Windows 10

winver

Runtime issue

Device details

e.g. iPhone X, Samsung Galaxy S8, iPhone X Simulator, Pixel XL Emulator

OS details

e.g. iOS 12.2, Android 9.0

Android build issue:

Node JS version

node -v

Gradle version

ls platforms/android/.gradle

Target Android SDK version

android:targetSdkVersion in AndroidManifest.xml

Android SDK details

sdkmanager --list | sed -e '/Available Packages/q'

iOS build issue:

Node JS version

v13.9.0

XCode version

v11.3.1

Related code:
insert any relevant code here such as plugin API calls / input parameters

Console output

console output

// Paste any relevant JS/native console output here

Other information:

I found the workaround which is straight using Firebaseplugin.grantPermission on device ready inside cordovaApp

@wenj5335 Hi there, I'm building an hybrid Vue app with vue-cli and https://github.com/m0dch3n/vue-cli-plugin-cordova and am now trying to use this plugin to add FCM push notifications. I am really struggling and could really use a little bit of help with getting this going.
I'd like to know where you got your start, I'm having a look at your code snippets above and am wondering if you followed a tutorial or came up with all of it yourself? I'm puzzled as to what is f7 for example.
Since you seem to be doing something similar.. also using Vue and this plugin, is there any chance we could connect so I can ask you some questions?
Anything would help.
Many thanks

Hi @vesper8. Previously I have been build the hybrid app using vanilla js with the frontend framework call Framework7. Now I had migrated the whole framework to the same frontend framework but using vue method which call Framework-vue.  https://framework7.io/vue/
I have just follow how the documentation stated and applied in the vue way.


Add FAQ on transferring files

This PR adds a new FAQ that describes how to transfer files between the real computer and CC computer.

I think this message is too long. AFAIK there's a limit of 2k characters.

Thanks!


PR: Use Miniconda 4.7 in Travis because 4.8 consumes too much memory

There are some tests that are failing due to lack of memory in Travis.

This was not necessary at the end.


Add feedback_sound option [add-on: google_assistant]

Description
With a conventional Google Home device, if you want to hear a sound after saying "Ok Google", you would have to enable the option in the settings.
But, since the Google Assistant add-on is recognized as a "speaker" for its device type, this option is not available.

See settings screenshot

I also tried changing the device type and did not found any type that could have the option.
Proposal
This PR adds an option to enable custom feedback sounds before and after saying a command; pretty much identical to the one on a Google Home.
It really improves the user experience, as you get a real feedback and always know when your Google Assistant is or is not listening to you.

I see that paplay has a --volume option. What do you guys think this?:
Maybe I could change the option feedback_sound from a bool to a int between 0-100, to let the user have control over the volume of the sounds (0 being disabled).

Great idea I think. Let set feedback_volume: 80 and the on/off. We have soon a UI for this. Let use somethings like:
feedback:
  enable: true
  volume: 80

With pulseaudio system, you can also mute all other sound output, and all is done, restore it. But maybe somethings for the future :)

Great idea I think. Let set volume: 80 and the on/off. We have soon a UI for this. Let use somethings like:
feedback:
  enable: true
  volume: 80

With pulseaudio system, you can also mute all other sound output, and all is done, restore it. But maybe somethings for the future :)

Great idead, but I'm not sure if this is the best way to go for this configuration. I think it could be simplified to only:
feedback: 80

And if feedback == 0, then we don't play any feedback sounds.
Also, if I do my schema in config.json like below, does that means that users will be forced to update their configuration in order for it to work?
"schema": {
  ...
  "feedback": {
    "enable": "bool",
    "volume": "int(0,100)?"
  }
}

vs
"schema": {
  ...
  "feedback": "int(0,100)?"
}

What do you think?

So I've made the changes to use the volume feature and the defaults value are now:
feedback:
  enable: false
  volume: 0

Everything is wokring as especting on my manual tests.
But I still think that simply one option would be simpler:
feedback: 0

What do you think?

@pvizeli should I add a changelog and update the version number?

Good work


hello.html: Better handling of carousel's mobile display.

Looks like

The test failure seems like an unrelated flake, so we can ignore that.  One thing that looks a bit off is that the distance from the right vs. the left looks very different because of line-wrapping; I'm not sure there's a great solution though?

Yes, this is because since the carousel hides the ::before content, I have to add padding-left: 4px; to show it, add a left: -4px to align it with the line break, then decrease the width to width: 96%; to avoid text cutting off.
At around 312px, the padding-left: 4px; is not great enough to show the before quotes

and I didn't want to make a new media query, so I put it with the max-width: 640px media query. However, in this latest commit I made a hyper-specific media query at 313px for the padding-left: 7%;, so phones above this size will still use the padding-left: 4%; which looks much less "off".

Nice, merged, thanks @gooca!
BTW, have you thought about setting your GIT_AUTHOR_NAME to be your name, rather than your GitHub username?  Since we generate our release notes from the Git history, that'd clean up how you're credited in the release notes.


'>' not supported between instances of 'NoneType' and 'tuple'

I got this error when I check my paper. Can you kindly advise what I should do?
Full error:
Checking paper.pdf
Traceback (most recent call last):
File "aclpubcheck-main/aclpubcheck/formatchecker.py", line 462, in
main()
File "aclpubcheck-main/aclpubcheck/formatchecker.py", line 459, in main
worker(submission, args.paper_type)
File "aclpubcheck-main/aclpubcheck/formatchecker.py", line 424, in worker
return Formatter().format_check(submission=pdf_path, paper_type=paper_type)
File "aclpubcheck-main/aclpubcheck/formatchecker.py", line 77, in format_check
self.check_page_num(paper_type)
File "aclpubcheck-main/aclpubcheck/formatchecker.py", line 336, in check_page_num
if marker > (page_threshold + 1, 1):
TypeError: '>' not supported between instances of 'NoneType' and 'tuple'

Can you share with me the problematic PDF in a private message?

After a quick look at the code, I think that you may have one or more pages without texts.
Is it possible?

This error was gone when I reconvert the file. I guess something was wrong during the conversion. Thanks!


[Feature Fix] GitHub show wrong branch file

Purpose
When clicking view file on github, it will always lead user to the master file link. However, github has different branches, and therefore the file linked is not the one rendering in MFR.
In this PR, it will create the correct link url for file (with current branch).
Changes
Firstly, get the url for the branch. And then use ajax and get file object from waterbulter. The ajax ur is something like -- http://localhost:7777/data?path=%2Fmain.py&provider=github&nid=9j5hu&branch=redesign

In this object, we can get the webView url from file object.  Then assign it to  window.contextVars.file.urls.external
Side Effect
None. This is limited to github.

There may be another way of constructing the external url, but given that it's the definitive link according to github, the extra request is probably merited.
Looks good to me. Pass complete :shipit:


in my it is showing go live is irresponsive Extension issue

Issue Type: Bug
Extension Name: doxdocgen
Extension Version: 1.3.2
OS Version: Windows_NT x64 10.0.19042
VS Code version: 1.62.3

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Hi @Vinayakams67 ,
does this issue still persist for you?

Hi Cschlosser/Doxdocgen
Now it is working fine.
Thank you very much ❤
On Thu, 24 Feb, 2022, 11:43 pm Christoph Schlosser, <
@.***> wrote:

Hi @Vinayakams67 https://github.com/Vinayakams67 ,
does this issue still persist for you?
—
Reply to this email directly, view it on GitHub
https://github.com/cschlosser/doxdocgen/issues/271#issuecomment-1050126303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARFCPS5KISTRASQ7GJIOL23U4ZYL7ANCNFSM5M2LPVTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks a lot. ❤
On Thu, 24 Feb, 2022, 11:58 pm Christoph Schlosser, <
@.***> wrote:

Closed #271 https://github.com/cschlosser/doxdocgen/issues/271.
—
Reply to this email directly, view it on GitHub
https://github.com/cschlosser/doxdocgen/issues/271#event-6134164734, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARFCPS552DYCFWCW4OIVJYTU4Z2F3ANCNFSM5M2LPVTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


update compose to 1.6.2

ping @dnephin

LGTM

LGTM
(failure unrelated on refresh loop detect failure /cc @dongluochen)

Test failure on refresh loop detect failure was caused by image busybox download TLS handshake timeout. I think it a transient network error.
# time="2016-02-24T01:26:45Z" level=debug msg="Engine update succeeded" id="FKYE:5AH6:A5KT:4XYD:ACDJ:L3LN:QZYQ:U6ND:6FOM:PQTF:VZAW:Z2VO" name=node-1
# time="2016-02-24T01:26:45Z" level=error msg="HTTP error: Get https://registry-1.docker.io/v2/library/busybox/manifests/latest: net/http: TLS handshake timeout\n" status=500
# /tmp/tmp.LdUdXlusBi/docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/busybox/manifests/latest: net/http: TLS handshake timeout.


Adshnk.com bypass added

 NOTICE
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Fixes: Link to issue

Added adshnk.com bypass

[x] I made sure there are no unnecessary changes in the code*
[x] Tested on Chromium- Browser OS
[ ] Tested on Firefox

* indicates required

Could you give an example link?

Could you give an example link?

Redirects google:
https://adshnk.com/kzYln2

Merged on #751


Unique property in model definition is not case-sensitive.

Issue
Versions

sequelize:
sequelize-typescript:
typescript:

Issue type

[ ] bug report
[ ] feature request

Actual behavior
I have a model defined as follows:-
import {
  Model,
  Column,
  Table,
  DataType,
  PrimaryKey,
  AutoIncrement,
  BelongsToMany,
  ForeignKey
} from 'sequelize-typescript'
import { Activity } from './activity.entity'
import { HashtagMaster } from './hashtagmater.entity'

@Table({ tableName: 'hashtags' })
export class Hashtag extends Model<Hashtag> {
  @PrimaryKey
  @AutoIncrement
  @Column({
    type: DataType.INTEGER,
    allowNull: false,
    unique: true
  })
  id: number

  @Column({
    type: DataType.STRING,
    unique: true,
    allowNull: false
  })
  name!: string

  @Column({
    type: DataType.INTEGER,
    allowNull: false,
    defaultValue: 0
  })
  count!: number

  @BelongsToMany(() => Activity, () => HashtagMaster)
  activities!: Activity[]
}

Notice the unique property assigned to column name. I have a record in which the name is #test. However, when I attempt to create a new record with name as #Test, sequelize throws a duplicate entry error. Not sure if others are facing the same issue.
Expected behavior
It should accept #test and #Test both, as both are unique given that unique property implies case-sensitivity.

Steps to reproduce
Explained in the actual behaviour section.

I tried a simple User Model which username is unique. And I add two records {username:'#test'} and {username:'#Test'}. It works fine. Then I add {username:'#test'} again. It throw an error. It is case-sensitivity.Maybe your problem is not related to name .


Create Login/Signup Authentication Component

Description:
I would like to implement a login and signup authentication component for the application. This component will allow users to register and log in securely.
Proposed Solution:
Design a user-friendly interface for the login and signup forms.
Implement form validation to ensure all required fields are completed correctly.
Integrate authentication with a backend service (e.g., JWT, OAuth).
Handle error messages for failed login attempts and validation issues.
Include features for password recovery and account verification.
Benefits:
Provides users with a secure way to access their accounts.
Enhances overall user experience by allowing personalized features.
"Please assign this issue to me so that I can work on it."

Can you share your inspired design solution and what the project will look like after implementation?
If you are ready to craft its design, then let's join the Figma link and work together on its design.
Here is the link:
https://www.figma.com/design/Gpp9lztaz36xu9nuGt7FBE/Frontend-Mentor?node-id=0-1&t=vJh3LEbs3Fw4ZmwL-1
If you have any doubts or discussion, join the discord server for better communication.
https://discord.gg/eXrQqgRX

"Hey! I'm not very experienced with UI/UX design or using Figma, but I can definitely help by providing a fully responsive login and signup page with proper authentication. Let me know if that works, and I'd be happy to contribute to the project in that way!"

@beRajeevKumar "Hey! I'm not very experienced with UI/UX design or using Figma, but I can definitely help by providing a fully responsive login and signup page with proper authentication. Let me know if that works, and I'd be happy to contribute to the project in that way!"
i drop on ss

Nice go for it 🚀

@beRajeevKumar  could you please look into this https://github.com/beRajeevKumar/Frontend_Mentor/pull/248#issuecomment-2405672419


feat(Cloud Databases): support isolated compute

PR summary

Updates scaling API with host_flavor parameter to support isolated compute.
Updates deployment groups API to include current specified host_flavor.
Fixes: https://github.ibm.com/compose/compose/issues/35374
Open spec PR: https://github.ibm.com/cloud-api-docs/databases-for-postgresql/pull/137/files
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Testing
https://github.ibm.com/compose/compose/issues/35374#issuecomment-62521393

Integration tests against ca-tor:


update poetry requirements with python311 support

Description
Update on library versions (generated by poetry) to allow local testing with pyenv and tox, mainly to test for the plugins compatibility with Python 3.11.
While running the plugins in the backend locally, our observation is that all plugins are able to run with Python3.11.
Motivation and Context
Test plugins with Python 3.11 to see if they can be run successfully.
Type of Change

How to Test
Run python . in each of the plugin's dir (where main.py is) where Python's version is 3.11.

locally the team uses pyenv and tox to easily test with various Python versions but the configuration files will not be pushed as it is not really relevant to running AI Verify

Checklist
Please check all the boxes that apply to this pull request using "x":

[x ]  I have tested the changes locally and verified that they work as expected.
[ ]  I have added or updated the necessary documentation (README, API docs, etc.).
[x ]  I have added appropriate unit tests or functional tests for the changes made.
[x ]  I have followed the project's coding conventions and style guidelines.
[ ]  I have rebased my branch onto the latest commit of the main branch.
[ ]  I have squashed or reorganized my commits into logical units.
[ ]  I have added any necessary dependencies or packages to the project's build configuration.
[x ]  I have performed a self-review of my own code.

Screenshots (if applicable)

Additional Notes

@imda-benedictlee please help to test end-to-end with python3.11

Tests ran with Python 3.11 support (via Build Scripts) were run successfully.

PR is now pending @imda-kwokwk clarification on the failed pre-merged checks.

@imda-kwokwk says can merged PR to main, but need to fix the Unit Test for it.


How long does it take to build the project from scratch on a Nano 4G dev board?

I'm just asking because I'm a bit flashed from the build speed in your video. I suppose it is not the first build, right?
Otherwise if you tell me, that you reach the same performance on a freshly flashed device, then I would need to know the difference :)

I am working on the same dev kit as well. For me, it took about 15-20 minutes to build the project from scratch.

I am working on the same dev kit as well. For me, it took about 15-20 minutes to build the project from scratch.

@naimulhq Thanks for confirmation :)

@naimulhq Thanks for confirmation :)


Can we integrate Rocket chat (kotlin sdk) with already existing java based android application ? If yes then what might be the challenges ??

I am new to Android Development and Kotlin. I was planning to integrate Rocket chat with my existing app only for one to one chat communication in my project. But the existing app was built with older android sdk's. If I have to integrate rocket chat in my application which is written completely in java, what might be the challenges and hurdles I need to overcome? And can I integrate it without any compatibility issues. Any help on this would be appreciated.
Thank you in advance.

https://github.com/RocketChat/Rocket.Chat.Kotlin.SDK/issues/169