Spring Boot 3 Compatibility

Hi,
is there any timeline for supporting Spring Boot 3?
The incompatibility of spring-zeebe is currently blocking our SB3-Update.
At least we think that spring-zeebe is not compatible because of the error down below after updating Spring Boot.
Do you have any ideas for a workaround at the moment?
Thanks in advance
2023-01-06 10:49:43.940  WARN ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'subscriptionBuilderPostProcessor' defined in class path resource [io/camunda/zeebe/spring/client/config/processor/PostProcessorConfiguration.class]: Unsatisfied dependency expressed through method 'subscriptionBuilderPostProcessor' parameter 1: Error creating bean with name 'zeebeClientLifecycle' defined in class path resource [io/camunda/zeebe/spring/client/config/ZeebeClientSpringConfiguration.class]: Unsatisfied dependency expressed through method 'zeebeClientLifecycle' parameter 0: Error creating bean with name 'zeebeClientObjectFactory' defined in class path resource [io/camunda/zeebe/spring/client/config/ZeebeClientSpringConfiguration.class]: Unsatisfied dependency expressed through method 'zeebeClientObjectFactory' parameter 0: No qualifying bean of type 'io.camunda.zeebe.client.ZeebeClientBuilder' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2023-01-06 10:49:43.985  INFO .s.b.a.l.ConditionEvaluationReportLogger :

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-01-06 10:49:44.140 ERROR o.s.b.d.LoggingFailureAnalysisReporter   :

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of method zeebeClientObjectFactory in io.camunda.zeebe.spring.client.config.ZeebeClientSpringConfiguration required a bean of type 'io.camunda.zeebe.client.ZeebeClientBuilder' that could not be found.

Action:

Consider defining a bean of type 'io.camunda.zeebe.client.ZeebeClientBuilder' in your configuration.

Process finished with exit code 1

Hi @spalberg - thanks for reporting. We are looking into Spring Boot 3.x in https://github.com/camunda-community-hub/spring-zeebe/issues/289. Unfortunately I/we don't have much time to look into this right now - but target that within the 8.2 (April) - fingers crossed.
Because of Java 17 with SB3 I guess we need to even support both in parallel, which is not a complete nobrainer - unless we managed to really make it compatible with SB2 and SB3 - but we need to investigate first. Happy to take any thoughts!
For the above exception maybe you could check why the ZeebeClientBuilder is not created as with SB2?

I see the same problem when using SB3 - investigating as part of https://github.com/camunda-community-hub/spring-zeebe/issues/289 - so closing this issue as duplicate

Pushed a potential fix to make Spring Zeebe SB3 compatible within https://github.com/camunda-community-hub/spring-zeebe/issues/289 - could you maybe validate that the latest 8.1.15-SNAPSHOT works for you with SB3 @spalberg?

Hi @berndruecker the latest snapshot works with SB3, thank you very much!


Metabolomics lcms preprocess

Here will be our (the W4M project) first contribution to the GTN

It's just a first PR to know if the template is good.
And it looks that it's not the case :)

@lecorguille are you joining the train the trainer and help us to merge this ;)

Unfortunatly, it's just a skeleton. I have excepted to work on that during
the Hackthon :/
Sure this summer, it will grow :)
Le mer. 28 juin 2017 à 01:00, Björn Grüning<EMAIL_ADDRESS>a
écrit :

@lecorguille https://github.com/lecorguille are you joining the train
the trainer and help us to merge this ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/galaxyproject/training-material/pull/355#issuecomment-311509757,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKjyFvxrnO4PD9fI8iQ2Sc8ZHK7GaHTsks5sIYmlgaJpZM4N5yKW
.

Hi there.  Maybe we could contribute to the tutorial. I guess we could do most on the LC/MS part. Any suggestions?

@lecorguille @bernt-matthias any process on this one? We would like to mention metabolomics as part of the GTN :)

@bgruening unfortunatelly I'm out of time at the moment

So I am!
Concerning the preprocessing LC/MS: currently, I'm working on the update of the wrappers to XCMS3. It changes a lot the functions and options names. There should be some changes in the graphics too. So I guess I will wait for this version before writing a tutorial. The slides are almost finish for XCMS1.x but they have to be read.
About the rest of the workflow (normalisation, quality checking, statistics, annotation) and about the other worlflows (GC/MS, FIA/MS, NMR), unfortunately, so far, I didn't manage to motivate the group :(

Hi @lecorguille, we changed the way metadata works in the repository, so I updated your PR accordingly, metadata is now at the top of the slides.html/tutorial.md files.

Hi @lecorguille is this still relevant with https://github.com/galaxyproject/training-material/pull/958 ?

Sure @lecorguille!


fix #183: source list endpoint giving incorrect URLs

Signed-off-by: chankruze<EMAIL_ADDRESS>
What type of PR is this? (check all applicable)

[ ] 💡 Feature
[x] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test

Description
This PR fixes the bug: source list endpoint giving incorrect URLs.

Fixes issue
Fixes #183

Screenshots (if appropriate)

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[x] 🙅 no documentation needed

@MizouziE please review.

@MizouziE please review.

Will do ASAP


Ticker compile error with ESP8266 in Arduino

Hi, when I compile using an Arduino board such as an Uno the sketch with your Ticker library compiles without error. However, when I switch to an ESP8266 board such as a Wemos mini I get the following error Ticker.cpp:27:15: error: expected constructor, destructor, or type conversion before '(' token    27 | Ticker::Ticker(fptr callback, uint32_t timer, uint32_t repeat, resolution_t resolution) { . Is there something I need to specify in the sketch to work with ESP boards?
Thanks

There is also library called Ticker in the esp framework.

Initially that was the problem, however I renamed your library and relevant files to newTicker to avoid the conflict. It then throws the error above, prior to this the compiler was trying to use the esp framework Ticker.

Sorry, just realised I had not updated in the #include in the .cpp to newTicker. Now it is compiling without error. Is there a way to reference your Ticker without renaming it?

No.


DatePicker inside TabView in Modalpage cannot render while open modal page in other component

I have tried to design datetime picker modal-page. I have planned to keep pickers inside Tabview in modal.
Once modal page created, After open the modal Its not showing the Datepicker in date tab.
FYI,

But the timepicker was rendered in time tab.

Regarding this i have created topic on NS forum thread.
Please suggest!
Thanks
.Kumaran

Hi @kumaran-dena,
I tested the described scenario while using ModalPage TabView and DatePicker and the component seems to be shown on the screen as expected. I am attaching the sample code, which is used for testing and screenshot from the simulator.
HTML
<StackLayout class="modal-view-style" sdkExampleTitle sdkToggleNavButton>
            <TabView selectedIndex="0" height="500" backgroundColor="green">
                    <StackLayout *tabItem="{title: 'DatePicker'}">
                        <DatePicker (loaded)="dploaded($event)" id="datePicker"></DatePicker>
                        <Button class="btn btn-primary btn-active" text="Submit" (tap)="submit()"></Button>
                    </StackLayout>
                    <StackLayout *tabItem="{title: 'Second'}">

                    </StackLayout>
                    <StackLayout *tabItem="{title: 'Third'}">

                    </StackLayout>
                </TabView>

</StackLayout>

TypeScript
import { Component, OnInit, NgModule } from "@angular/core";
import { ModalDialogParams } from "nativescript-angular/modal-dialog";
import { DatePicker } from "ui/date-picker";
import { Page } from "ui/page";

// >> passing-parameters
@Component({
    moduleId: module.id,
    templateUrl: "./modal-view.html",
})
export class ModalViewComponent implements OnInit {
    public currentdate: Date;

    constructor(private params: ModalDialogParams, private page: Page) {
        this.currentdate = new Date(params.context);

        this.page.on("unloaded", () => {
            // using the unloaded event to close the modal when there is user interaction
            // e.g. user taps outside the modal page
            this.params.closeCallback();
        });
    }

    ngOnInit() {
    }

    dploaded(args){
        let datePicker: DatePicker = <DatePicker>this.page.getViewById<DatePicker>("datePicker");
        datePicker.year = this.currentdate.getFullYear();
        datePicker.month = this.currentdate.getMonth() + 1;
        datePicker.day = this.currentdate.getDate();
        datePicker.minDate = new Date(1975, 0, 29);
        datePicker.maxDate = new Date(2045, 4, 12);
    }

    public submit() {
        let datePicker: DatePicker = <DatePicker>this.page.getViewById<DatePicker>("datePicker");
        this.params.closeCallback(datePicker.date);
    }
}
// << passing-parameters

The code was tested with [nativescript sdk examples ng](https://github.com/NativeScript/nativescript-sdk-examples-ng/tree/master/app/modal-page/sample-modal-page-module-example

), while making the above-mentioned changes for the modal page.

Hey @tsonevn,
I have tried the attached sample code. But still i don't get what i am expect.
Please see my code,
Modal page -
HTML
<StackLayout class="datetimepic-commonall-stack"> <ScrollView> <StackLayout class="modal-view-style" sdkExampleTitle sdkToggleNavButton>     <TabView selectedIndex="0" height="500" backgroundColor="green">             <StackLayout (loaded)="dploaded($event)" *tabItem="{title: 'DatePicker'}">                 <DatePicker id="datePicker"></DatePicker>             </StackLayout>             <StackLayout *tabItem="{title: 'TimePicker'}">                 <TimePicker id="timePicker"></TimePicker>             </StackLayout>     </TabView> <StackLayout> <Button class="btn btn-primary btn-active" text="Submit" (tap)="submit()"></Button> <Button class="btn btn-primary btn-active" text="Clear" (tap)="clear()"></Button> </StackLayout> </StackLayout> </ScrollView> </StackLayout>
TYPESCRIPT
`import { Component, OnInit, NgModule } from "@angular/core";
import { ModalDialogParams } from "nativescript-angular/modal-dialog";
import { DatePicker } from "ui/date-picker";
import { Page } from "ui/page";
import { TimePicker } from "ui/time-picker";
@Component({
moduleId: module.id,
templateUrl: "./datetimepic.html",
})
export class Datetimepicmodal implements OnInit {
public currentdate: Date;
public currenttime: Date;
constructor(private params: ModalDialogParams, private page: Page) {
    this.currentdate = new Date(params.context);
    this.currenttime = new Date();

    this.page.on("unloaded", () => {
                this.params.closeCallback();
    });
}

ngOnInit() {
 let timePicker: TimePicker = <TimePicker>this.page.getViewById<TimePicker>("timePicker");

timePicker.hour = this.currenttime.getHours();
timePicker.minute = this.currenttime.getMinutes();
}
dploaded(args){
    let datePicker: DatePicker = <DatePicker>this.page.getViewById<DatePicker>("datePicker");
    datePicker.year = this.currentdate.getFullYear();
    datePicker.month = this.currentdate.getMonth() + 1;
    datePicker.day = this.currentdate.getDate();
    datePicker.minDate = new Date(1975, 0, 29);
    datePicker.maxDate = new Date(2045, 4, 12);
}
public submit() {
    let datePicker: DatePicker = <DatePicker>this.page.getViewById<DatePicker>("datePicker");
    let timePicker: TimePicker = <TimePicker>this.page.getViewById<TimePicker>("timePicker");

var date = datePicker.date.toString();
var arr= new Array();
arr= date .split(" ");
var month = arr[1];
var fullDate = arr[2] + "-" + month + "-" + arr[3];
var format = this.addZero(timePicker.time.getHours());
var formatt =  this.addZero(timePicker.time.getMinutes());
var Datetime = arr[2] + "-" + month + "-" + arr[3] + " " + format + ":" + formatt;
console.log("selected datetime " + Datetime );
this.params.closeCallback(Datetime);
}
public clear(){
    this.params.closeCallback("");
}

addZero(i) {
if (i < 10) {
    i = "0" + i;
}
return i;

}
}   `
Actual component -
HTML
----body--------   <StackLayout id="tabitem" *tabItem="audcerttitleAndIcon"> <StackLayout class="stackrit" col="0" row="1">  </StackLayout> <StackLayout class="testkumss" col="1" row="1"> <TextField class="input input-border" [(ngModel)]="adrcert.omeetng" (tap)="createdtpModelView('opening')" editable="false"></TextField> </StackLayout> </StackLayout> -------------
TYPESCRIPT
`     createdtpModelView(args) {
let currentDate = new Date();
let options: ModalDialogOptions = {
context: currentDate.toDateString(),
fullscreen: false,
viewContainerRef: this.viewContainerRef
};
    this.modalService.showModal(Datetimepicmodal, options)
        .then((dateresult: Date) => {
            if (args === "opening")
            {
            this.adrcert.omeetng = dateresult;
            }
             else if (args === "closing")
            {
 //set the datetime
            }
});

}`
Hope you will get what i am trying to do!
If i tried with above codes means,
When the component initialized for the first time its showing the datepicker widget inside tab properly. If i tried again & again means datepicker not rendering only its showing blank tab.
If i do double tap on textfield means that time its showing the datepicker inside tabview.
Why its behaving like this? Please suggest!

Hi @kumaran-dena,
Thank you for the provided description.
I will test it on my side and will write you back as soon as I have some results on the investigation.

Hi @kumaran-dena,
After reviewing your code I was able to recreate an issue with showing the DatePicker component. Also, I found that this issue is caused due too early loading the initial value for the TimePicker component in ngOnInit.  To resolve this you should load this date on the loadedEvent of the TimePicker. For example:
modal-view.html
<StackLayout class="datetimepic-commonall-stack">
    <ScrollView>
        <StackLayout class="modal-view-style" sdkExampleTitle sdkToggleNavButton>
            <TabView selectedIndex="0" height="500" backgroundColor="green">
                <StackLayout (loaded)="dploaded($event)" *tabItem="{title: 'DatePicker'}">
                    <DatePicker id="datePicker"></DatePicker>
                </StackLayout>
                <StackLayout *tabItem="{title: 'TimePicker'}">
                    <TimePicker (loaded)="rpLoaded($event)" id="timePicker"></TimePicker>
                </StackLayout>
            </TabView>
            <StackLayout>
                <Button class="btn btn-primary btn-active" text="Submit" (tap)="submit()"></Button>
                <Button class="btn btn-primary btn-active" text="Clear" (tap)="clear()"></Button>
            </StackLayout>
        </StackLayout>
    </ScrollView>
</StackLayout>

modal-view.ts
import { Component, OnInit, NgModule } from "@angular/core";
import { ModalDialogParams } from "nativescript-angular/modal-dialog";
import { DatePicker } from "ui/date-picker";
import { Page } from "ui/page";
import { TimePicker } from "ui/time-picker";

// >> passing-parameters
@Component({
    moduleId: module.id,
    templateUrl: "./modal-view.html",
})
export class ModalViewComponent implements OnInit {
    public currentdate: Date;
    public currenttime: Date;

        constructor(private params: ModalDialogParams, private page: Page) {
            this.currentdate = new Date(params.context);
            this.currenttime = new Date();
            console.log("--------------------------------------------------------");
            console.log("params.context");
            console.log("--------------------------------------------------------");
            console.log(params.context);
            console.log("--------------------------------------------------------");
            this.page.on("unloaded", () => {
                        this.params.closeCallback();
            });
        }
        ngOnInit(){}
        rpLoaded(args) {
         let timePicker: TimePicker = <TimePicker>this.page.getViewById<TimePicker>("timePicker");
    timePicker.hour = this.currenttime.getHours();
    timePicker.minute = this.currenttime.getMinutes();
        }

        dploaded(args){
            let datePicker: DatePicker = <DatePicker>this.page.getViewById<DatePicker>("datePicker");
            datePicker.year = this.currentdate.getFullYear();
            datePicker.month = this.currentdate.getMonth() + 1;
            datePicker.day = this.currentdate.getDate();
            datePicker.minDate = new Date(1975, 0, 29);
            datePicker.maxDate = new Date(2045, 4, 12);
        }
        public submit() {
            let datePicker: DatePicker = <DatePicker>this.page.getViewById<DatePicker>("datePicker");
            let timePicker: TimePicker = <TimePicker>this.page.getViewById<TimePicker>("timePicker");

    var date = datePicker.date.toString();
    var arr= new Array();
    arr= date .split(" ");
    var month = arr[1];
    var fullDate = arr[2] + "-" + month + "-" + arr[3];

      var format = this.addZero(timePicker.time.getHours());
      var formatt =  this.addZero(timePicker.time.getMinutes());
      var Datetime = arr[2] + "-" + month + "-" + arr[3] + " " + format + ":" + formatt;
    console.log("selected datetime " + Datetime );
     this.params.closeCallback(Datetime);
        }

        public clear(){
            this.params.closeCallback("");
        }

        addZero(i) {
        if (i < 10) {
            i = "0" + i;
        }
        return i;
    }
}
// << passing-parameters

This should resolve the issue with the black screen

Hi @tsonevn,
I have tried as you suggested,
So its load the date on the loadedEvent of the TimePicker. then

both date/time pickers renders as expected.
But the problem is what, In datepicker its showing next month(current month + 1) instead of showing current month.
In modal page constructor and dploaded() function, Its receiving the date values correctly.
FYI,

while setting the month value to the date picker, its taking +1 month.
dploaded(args){             let datePicker: DatePicker = <DatePicker>this.page.getViewById<DatePicker>("datePicker");             datePicker.year = this.currentdate.getFullYear();             **_datePicker.month = this.currentdate.getMonth() + 1;_**             datePicker.day = this.currentdate.getDate();             datePicker.minDate = new Date(1975, 0, 29);             datePicker.maxDate = new Date(2045, 4, 12);         }
So i have tried with follows, I don't get solution.
**datePicker.month = this.currentdate.getMonth() - 1;** **datePicker.month = this.currentdate.getMonth();**
No luck both are failed!

Hi @kumaran-dena,
The problem with showing the wrong month is known issue, which was reported here . The fix is already available for the upcoming version and you could test it on your side by using @next modules.
tns plugin remove tns-core-modules
tns plugin add tns-core-modules@next
Bear in mind to delete node_modules, platforms and hook folders before rebuilding


baseline-Feature doesn't work with Webpack output-Path

If I use something like this in my Webpack config:
output: {         path: 'P:\\Development\\Client\\static',         filename: '[name].bundle.js',         chunkFilename: '[name].bundle.js', },
and the bundle-stats "baseline" feature then I get an error message because of two absolute paths mangled:
Error: EINVAL: invalid argument, mkdir 'P:\Development\Client\static\C:\MainClient\client\node_modules\.cache\bundle-stats'
bundle-stats version: 1.15.6

Hi @HopFlash! We rely on find-cache-dir to get the absolute path to the caching folder, probably something is failing for your setup.
Can you try to install the latest bundle-stats (cli or webpack-plugin) and see if you are still getting the error? There were couple find-cache-dir updates since<EMAIL_ADDRESS>

Hi @vio! Thx for the fast reply.
I updated now to version 2.1.1 and there is the same error.
I have a relative small webpack config and the only path I set is the output path.
Should I report a bug at find-cache-dir ? I don't think so, because if you get the absolute path to the caching folder (whats seems to work fine) then the bug is that you concat this absolute path with the absolute output path.
Or is this concatenation done by find-cache-dir?

Thanks for checking! I will need to investigate a bit deeper, the behaviour is slightly different for cli / webpack-plugin. Can you please tell me if you use the cli or the webpack plugin?

its the "bundle-stats-webpack-plugin".
I uploaded my webpackconfig(s) for you. Perhaps there are other interactions from other parts:
webpack.common.config.js.txt
webpack.dev.config.js.txt
if you need anything more please tell me.
My "workaround" is an empty output path (then all works fine).

@vio it looks like that the path function under windows with different drive letters has problems to find path.relative (and I don't see how that can be made correctly if not giving back the absolute path).
there is a path.win32 but that wouldn't help I think.
but is there any need to use path.relative here when getting an absolute path in "from"?
https://github.com/relative-ci/bundle-stats/blob/a053dd2317a29778ccfb90959cf1081fdd47c2e4/packages/cli-utils/src/baseline.js#L14

@HopFlash thanks for looking into it, I think you are right about the culprit. We need to extract the relative path in order to pass it to the compilation assets - https://github.com/relative-ci/bundle-stats/blob/a053dd2317a29778ccfb90959cf1081fdd47c2e4/packages/webpack-plugin/src/webpack-plugin.js#L85

@HopFlash I managed to build an example project (output.path set and baseline enabled) on windows:
https://github.com/relative-ci/example-bundle-stats-webpack-config/blob/master/webpack.config.js#L9-L17
https://travis-ci.org/github/relative-ci/example-bundle-stats-webpack-config/jobs/669909279#L90
Also, I manually set the output path and it worked ok:

I would recommend you to try couple other things:

use a different directory, maybe on a different disk
use path.join or path.resolve with __dirname if possible

Let me know how it goes if you get the chance to do it ;)

@vio if my cache path is on my drive C and my webpack output path too then all works fine...but the crux is the situation where my cache path is still on drive C but my output path is on drive P or something else...then there is no relative path in an windows enviroment possible and the concatenation produce two mangled absolute paths.
My scenario is an dev enviroment where my Delphi application works among other things as the webserver to show embedded webpages. When I'm developing and debugging I need to work with the (delphi) server side and the react client side and webpack watch server regenerates the files to serve. Drive P is the dedicated Delphi Application workspace (created with "subst" because I can change it for dev, rc or prod enviroment) and so I set my output path to the path on drive P but on P is no cache path.

@HopFlash I think you should be able to workaround this issue by having the baseline and the webpack output on the same disk. You can override find-cache-dir path with CACHE_DIR env variable.


glib: Fix memory leak when aborting tasks

Fixes #1326
It's probably not the most beautiful solution, but it should cover all cases.
Maybe it would be nicer to not erase the type from TaskSource in TaskSource::new and wrap the source stored in JoinHandle into ManuallyDrop(TaskSourceStorage(Source)), but I'm not sure whether this is more elegant. The only advantage would be that you could not pass a non-TaskSource Source to JoinHandle::new, which is currently possible and would cause unsafe behavior (due to freeing unknown memory).

This is unfortunately not thread-safe. I'll take a look at this later or in the next days

Was actually just a one-liner in the end. See https://github.com/gtk-rs/gtk-rs-core/pull/1328 :)


Android auto-linking broken in 0.60.4 - null is not an object evaluating RNFSManager

When creating a fresh RN project using 0.60.4 then running it on Android I see the following error. Usually this would mean an issue with linking but my understanding was that the new auto-linking should take care of this.
Running on iOS works fine (after pod install).
null is not an object (evaluating 'RNFSManager.RNFSFileTypeRegular')

React Native version:
info Fetching system and libraries information...
System:
    OS: macOS 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
    Memory: 22.82 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    Android SDK:
      Android NDK: 20.0.5594570
  IDEs:
    Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
    Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: 0.60.4 => 0.60.4
  npmGlobalPackages:
    react-native-cli: 2.0.1

Steps To Reproduce

Start an Android emulator or connect an Android device via USB
react-native init AwesomeProject
cd AwesomeProject && react-native run-android

Repros 100% for me.
Describe what you expected to happen:
Template app should start correctly.

We have the same problem with all the libraries that should now be linked automatically.

Please make sure you linked the module correctly. And please file an issue https://github.com/itinance/react-native-fs to request auto linking support if it doesn't exists.

@dulmandakh The issue report is for auto-linking, so it shouldn't require any manual linking.
As per my comment in the original report:
"Usually this would mean an issue with linking but my understanding was that the new auto-linking should take care of this."
Also - "Running on iOS works fine (after pod install)." so auto-linking is working fine with react-native-fs on iOS and shouldn't require any additional steps on Android.

Ah. It appears my metro bundler had cached these required libs from my other projects. Clearing my cache and re-running fixed things up. Not sure why a fresh project would not start it's build separate/fresh from other projects though.

@adamkoch FYI, auto-linking is CLI  feature, not RN core. Is it correct that the issue is resolved

Got it. Yes it is resolved. I guess the issue is with the CLI not clearing cache or sharing cache between projects on the local machine. If others run into this, you should clear your RN caches to fix.

@adamkoch How did you clear your RN cache? I am running into this same issue with 0.60.5 and tried watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache which didn't resolve the issue.

@fostahgix I basically ran the same commands to clear everything I could. What I did have to do was run the commands in other RN projects I had on my machine (I guess they were sharing caching dirs). My main project (which used RNFSManager), was somehow contaminating any other projects I had on my machine, so even when creating a fresh new project in a separate dir, it was still throwing this error despite a new project not using RNFSManager.


[ENG-3295] Fix dates being wrong in meetings app

Ticket: ENG-3295
Feature flag: n/a

Purpose
In the meetings admin page, dates are set just as dates, not datetimes. However, they are sent through the API as datetimes. These dates have a time of midnight GMT+0, so if you are in a timezone that is less than GMT+0, the dates will be off by one. This corrects that by setting the interpreted timezone to GMT+0 for the places we are showing these dates.
Summary of Changes

Fix dates on meeting list page
Fix dates on meeting detail page
Make the tests less tautological and more correct

Side Effects
Should be isolated just to those parts of those pages.
QA Notes
The dates set for a meeting in the meetings app should match the date of the meeting on the web page, regardless of the timezone that the computer is set to.

Agreed. Ideally, the dates would be datetimes of the conference/meeting itself in its native time zone, and then we could just display properly for whomever would be viewing in their own timezone. Alas.


Add CLIP model

CLIP is an interesting model with features that have achieved excellent results in several downstream tasks. So I think adding this model will make this repo better.
paper, code
In general, I added the wrapping code for feature extraction in models/clip , modified the corresponding part in main.py and utils/utils.py, and made a Colab notebook. Most of the documentation has also been completed, except for 1. the model figures and 2. the contents of the Colab notebook.

For the first unfinished content, I don't have the original file of the figure, therefore you may need to make one :laughing:. It should look almost the same as ResNet.

For the second, there is a figure in the notebook that needs to change, and it uses my forked repo currently. Therefore you may need to modify it and save to your Google Drive.

I have done test in Colab and my CPU&Windows machine.
Note that show_pred does not work in this model because it's trained with contrastive task but not classification task. (I have added this note in the documentation)

Overall, I think the comments you made are very pertinent, but I may not have time to finish it lately. :open_mouth:
For the  reliability of the extracted feature, I have verified its effectiveness in a downstream task of the video captioning. So I may have overlooked that future users may also need to validate it. (Actually using CLIP features as visual features for video captioning task can bring a big improvement, so if you are still working on video captioning you can give it a try. I used this feature in one of my unpublished papers and cited two of your papers. If you are interested, we can talk more about this.)
I have some ideas for the future, such as setting up more ways to extract frames. Currently this repo is only able to extract frames based on FPS, while some papers extract a fixed number of frames, etc. This should not be discussed here, so I may raise an issue in the future to discuss it.
Thank you for your reply and I hope you are also having a good time.:star:

Have you started working on this already? I get time now.

No, I haven't yet. Pretty much occupied during these weeks already.

OK, I will do this.

Hi, I have done these things:

The CLIP code is added and there is no need to install any new packages (no ftfy is OK)
Improved configuration of model selection (model_name)
Added a method of show_pred. The user provides several sentences, and gets the probabilities of each sentences. You can find the details in docs.
Updated the docs
Updated the CLIP's Colab notebook. But you may need to modify it and the ResNet one.

Merged it to the clip branch. I need to test it a bit.


Filter the display of the EventMap by FloorLevel.

As the title suggests, the display is not currently designed to change depending on 1F/B1F.
This feature would need to be implemented as it was last year.

At any rate, I would like to work on this on my end, as basic functionality should be implemented as quickly as possible. :hand:

@takahirom
I have a question. 🙋♂
Looking at the JSON shown in this Issud, is it unnecessary to filter the EventMap depending on FloorLevel this year? 🤔
I will try to address this as an Issue to fix the Tab design differences for once. 💪

The issue of the Description not being displayed will be addressed in another Issue, so I will not touch that one.
https://github.com/DroidKaigi/conference-app-2024/issues/579

the display is not currently designed to change depending on 1F/B1F.

Is 'the display' referring to how we filter the events or not?
Well, we could have events outside the rooms. So I don't think we need to filter the events.
@mhidaka Thank you for handling the event maps. Do you have any opinions about this?

Thank you for your suggestion and contrib!
This year's DroidKaigi has no plans to hold any events on the 1st floor. Therefore, We think it would be more convenient to display all events in both cases, whether the map is displayed on the 1st floor or the B1 floor.

Thank you for your insight! Let's close this issue. I appreciate your suggestion.


Add support for Postgres RLS

https://github.com/archtechx/tenancy/issues/654#issuecomment-848209019

Closing since this is now tracked in the PR


Release Google.Cloud.AppEngine.V1 version 2.2.0

Changes in this release:
Documentation improvements

Point to Search Console for domain ownership verification (commit e79e82e)

Created release for Google.Cloud.AppEngine.V1-2.2.0


Add property IsAccessible to Get-DbaDatabase

Is this:

[X] feature
[ ] bug:

In cases where a user (or dbatools function) needs to return the databases that are online and accessible (e.g. not a database in an AG secondary) there is no way to accurately determine this simply by checking the "Status" property. The "IsAccessible" column will return a bit value that accurately tells whether you can read objects/data from the database or not.

ouuu good one


Add warning if you forget Async Await

This issue was originally filed by<EMAIL_ADDRESS>
Need warning when you forget to add an await on an async function:
num add(num a, num b) async {
  return new Future.value(a + b);
}
void main() async {
  var a = await add(1, 2);
  var b = add(1, 2); // <--- Should give a warning because the await or assignation to a future is missing.
  print('$a $b');
}
Also, when creating override in a class, should give you a warning if you forget to add the async:
class A {
  void render() async;
}
class B extends A {
  void render() {} // <--- Should give a warning of missing async.
}

See also #24171

We don't plan to add a warning-on-missing-await as a language feature. It is available as an analysis/linter hint if you prefer it, but it's not something that is required for everyone at the language level.
The void main() async {} is a warning since the return type should be Future. The async is not part of the signature, it's a modifier on the body, not the function type, so as long as the override also returns Future, the override is valid.


feat!: remove --json from log tail

What does this PR do?
removes the little-used, non-working --json flag from tail log
Release notes
This command couldn't return valid json because the only way to exit it was Ctrl-C.  --json flag was almost never used, and didn't do anything, so we're making that official.
You can get logs in json format using apex list log or apex get log
What issues does this PR fix or reference?
@W-14478850@
see thread https://salesforce-internal.slack.com/archives/C4LRHH0AD/p1699563812949449

QA: linked the plugin with your branch built, ran sf apex log tail --json --> Nonexistent flag: --json


[Event Request] Codeunit 6620 add parameter NextLineNo on event OnCopySalesDocLineOnBeforeCopyThisLine

Hi,
We need to add the parameter NextLineNo on event OnCopySalesDocLineOnBeforeCopyThisLine call on procedure CopySalesDocLine :
    [IntegrationEvent(false, false)]
    local procedure OnCopySalesDocLineOnBeforeCopyThisLine(ToSalesHeader: Record "Sales Header"; var ToSalesLine: Record "Sales Line"; FromSalesLine: Record "Sales Line"; FromSalesDocType: Enum "Sales Document Type From"; var RecalculateLines: Boolean; var CopyThisLine: Boolean; var LinesNotCopied: Integer; var Result: Boolean; var IsHandled: Boolean ; var NextLineNo: Integer)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


⚠ Processors has degraded performance

In 43187e9, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 114 ms

Resolved: Processors performance has improved in 07b9ff1.

Resolved: Processors performance has improved in 64eac1d.


Update Doctors DM

Design new model
Approve new model
Update specs:
Dev:

Doctor data model refactoring #1844


Glitch in scrolling the main screen

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is not already reported in another issue

Describe the bug

In a specific scenario, the main screen jumps during scrolling. See details below.
Expected behaviour

Smooth scrolling
Steps to reproduce the issue

Reproduce as follows:

start cwa and see the main screen
scroll down to the very bottom.
select "App Informationen", then back to the main screen
now scroll slowly up again.
Expected: smooth scrolling
Observed: during scrolling, the screen suddenly jumps up a bit

Technical details

cwa v 1.1.2 (0)
iOS Version: 13.6
Device: iPhone 8

Possible Fix

Additional context

Internal Tracking ID: EXPOSUREAPP-2007 obsolete
Internal Tracking ID: EXPOSUREAPP-4732 in progress

I've tested this on my iPhone XR, there everything is normal. On an iPhone 6s, the glitch occurs.
Could it be that this only happens on smaller screen iPhones?

Could it be that this only happens on smaller screen iPhones?

yes, definitely. I think the root cause could be some hard-coded numbers / dimensions in the layout that don't match the smaller screens.

Hello @ndegendogo and @Ein-Tim ,
thanks for reporting this issue. I will share it with our developemnt team to work on it as soon as possible.
Thank you,
LMM
Corona-Warn-App Open Source Team

I have now found a different scenario with similar effect, it seems related.
cwa v 1.1.2(0) / iOS 13.6 / iPhone 8
Scenario:

start cwa
scroll to the very top
exit cwa (home button) and start cwa again
see the very top of the screen as expected
now scroll to the very bottom
exit cwa (home button) and start cwa again
Expected: see the very bottom of screen
Observed: visible part of screen is offset from the bottom

And now comes the interesting part:

scroll again to the very bottom
exit cwa (home button) and start cwa again
now you see indeed the very bottom of screen as expected

Dear all,
are these behaviors still reproducible with V1.5.0? On my device (iPhone 7) I can reproduce any of the above mentioned behavior.

@JoachimFritsch you can reproduce with cwa 1.5.0 or you can not? 🤪
We already suspect that it may be related to devices with smaller screen height (like iPhone 8).
I still get those glitched with cwa 1.5.
I'll test and report in more detail later.

Tested again with configuration: cwa 1.5.0(8) / iOS 14.1 / iPhone 8.
I could reproduce this scenario exactly as described above.
The original described scenario, however, does no longer jump, but behaves now as follows:

start cwa and see the main screen
scroll down to the very bottom.
select "App Informationen", then back to the main screen
You see a visible offset from the bottom.
Scroll slowly up again.
Observed: smooth scrolling, as it should be.

Can confirm @ndegendogo's founds

Issue is still here in 1.6.0/1.6.1. Any updates @JoachimFritsch?

@ndegendogo, @Ein-Tim, issue still present in CWA version 1.7.1. We will update the developers. Best wishes, DS

Corona-Warn-App Open Source Team

@dsarkar off-topic:
could you please have a look at this android ticket?
Seems your robot forgot to pick it up ...

Still reproducible with 1.9.1. Only on small screen iPhones.
BTW: You could add the UX lable here

Hi @Ein-Tim, thanks. Info was forwarded to the developer's ticket. Best, DS

This is still reproducible with 1.10.1.
There is also a new behavior (which also affects large screen iPhones):

Scroll all the way down to the bottom
Click on the contact diary box
Leave the contact diary box
See a visible offset from the bottom

First time you do this is the most noticeable offset, second time only a small one and third time everything is normal.
Screenrecordings.zip

Hi @Ein-Tim, thanks. Info was forwarded to the developer's ticket.
Best wishes,
DS

Corona-Warn-App Open Source Team

I can't reproduce this anymore under version 1.11.

I can't reproduce this anymore under version 1.11.

@Ein-Tim Yes, I can reproduce your first vid on the iPhone 6s

@Ein-Tim Yes, I can reproduce your first vid on the iPhone 6s

@Ein-Tim all iOS 14.4 ?

@Ein-Tim all iOS 14.4 ?

@dsarkar
Yes

@dsarkar
Yes

ok, thanks, updated internal ticket.

ok, thanks, updated internal ticket.

@dsarkar the simulator that Apple provides for iPhone app development has a slow-motion mode, where you can watch more closely if an animation is smooth; and you can configure the simulator for different device types ( = screen sizes).
Of course, this does not tell you about the root cause of a broken animation; but is still very useful to verify if a fix has the desired effect.

@dsarkar the simulator that Apple provides for iPhone app development has a slow-motion mode, where you can watch more closely if an animation is smooth; and you can configure the simulator for different device types ( = screen sizes).
Of course, this does not tell you about the root cause of a broken animation; but is still very useful to verify if a fix has the desired effect.

Internal Tracking ID: EXPOSUREAPP-2007 obsolete now
Internal Tracking ID: EXPOSUREAPP-4732 new ticket in progress

Internal Tracking ID: EXPOSUREAPP-2007 obsolete now
Internal Tracking ID: EXPOSUREAPP-4732 new ticket in progress

Another observation, possibly related: the scrollbar of the main screen jumps. Especially when scrolling upwards.
cwa 1.11.0(9) / iOS 14.2 / iPhone 8

Another observation, possibly related: the scrollbar of the main screen jumps. Especially when scrolling upwards.
cwa 1.11.0(9) / iOS 14.2 / iPhone 8

@ndegendogo Good Morning, your observation is forwarded to the devs. Thanks.

@ndegendogo Good Morning, your observation is forwarded to the devs. Thanks.

PR fixing this: #1890

@Ein-Tim @nickguendling wow - thanks!

Just tested it with simulator for iPhone 8 on the release/1.12.x branch.
Very smooth now, exactly as it should be.
Many thanks!
From my side I regard this as fixed.
@Ein-Tim, I assume you would also like to test it?

@ndegendogo
I would suggest to leave this open until 1.12 is released (10.02.) so that I can test this too (I'm sadly not (yet) able to test it via the emulator).
Thanks for asking @ndegendogo ❤

@ndegendogo Thanks for the feedback.

1.12.1 has been released (https://github.com/corona-warn-app/cwa-app-ios/releases/tag/v1.12.1) and I can confirm that this has been fixed. So feel free to close this @ndegendogo, and thanks for waiting!

Dear @ndegendogo  and community.
Thanks again for all the contributions. Best wishes, DS

Corona-Warn-App Open Source Team


Priortize the selected category in list and detail view - details view prio is broken

[ ] prioritize the selected category in the location details view

Not sure when this broke, I don't think it is to do with the age filter, since it isn't working if no age is entered.
When a user selects a filter category and then clicks into the list to see more details on a result, that category should be top of the list. this is a long established convention for gogetta and yourpeer, helping people in crisis find the service they need.
(This should apply whether the age filter is in operation or not and apply to the list summary as well as the details page).

e.g., in this series I select Shelter & Housing, then Rising Ground, but the Shelter and Housing servce is second t personal care, which I have not selected.

To confirm, in detail view, the searched-for category is first, and the dropdown is open, all other categories are closed.

Seems done. Great.

@jbeard4 this is actually working on test


added 2 missing translation for romanian language

added missing translation for reset and select_all buttons in romanian language

Thank you @prodixx I am not a Romanian native speaker so it seems good to me. 👍
I would ask someone that speaks Romanian to verify if I knew someone ... 👀
ping @tabacitu

Pff... no swearwords introduced as jokes?! 😔😅
Thanks @prodixx - will tag on Monday 🙏


Check permissions instead of read in JWT

Here:
https://github.com/huggingface/datasets-server/blob/dd2a81568b2334f69a005f2c1dfa224ad2024e9f/libs/libapi/src/libapi/jwt_token.py#L305-L307
Once https://github.com/huggingface/moon-landing/pull/9306 (internal) is deployed. The new field is:
permissions: {"repo.content.read": true}

Note that meanwhile, the read field will still be provided.

See https://github.com/huggingface/moon-landing/pull/9306/files#diff-9f01a5c8bad78651b5a7da78470337ed07ae5eadc9ad1f46becb6ff0cc457539R1306 for details of the new format


Dataset creation

Hey mate,
I think your project is really cool and very helpful!
It's not clear how and with what stack you built your dataset.
I am trying to build the same service for my city, and I found it hard to do it with script(scraping municode).
Can we talk?
my email<EMAIL_ADDRESS>

Hi Ben,
glad to hear you think so!
The dataset was done manually. I was under a deadline and didn't know if I could pull off a scraper. So, I just copied the pdfs' text into a .json file and then formatted it by hand. A scraper would be a better method and better than that, would be interfacing directly with the government's site.
Sure, I'm pretty available.

Hi Ben,
glad to hear you think so!
The dataset was done manually. I was under a deadline and didn't know if I could pull off a scraper. So, I just copied the pdfs' text into a .json file and then formatted it by hand. A scraper would be a better method and better than that, would be interfacing directly with the government's site.
Sure, I'm pretty available.
[cid:bc111f1e-e295-4f3e-bd47-4d10fd4480b9]
Programmer
INIT FIU
[cid:2f8773d8-1275-4775-a790-327722fe061a]<PHONE_NUMBER>
linkshttps://linktr.ee/AustenCabret

From: Ben @.>
Sent: Friday, October 27, 2023 10:00 PM
To: Generlate/building_code_consultant @.>
Cc: Subscribed @.***>
Subject: [Generlate/building_code_consultant] Dataset creation (Issue #1)
Hey mate,
I think your project is really cool and very helpful!
It's not clear how and with what stack you built your dataset.
I am trying to build the same service for my city, and I found it hard to do it with script(scraping municode).
Can we talk?
my email<EMAIL_ADDRESS>—
Reply to this email directly, view it on GitHubhttps://github.com/Generlate/building_code_consultant/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AULN3CHIQABVZY774RRFMDTYBRRMDAVCNFSM6AAAAAA6TS3QM6VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DMMZWGI2DKNI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hey Austen,
Sorry for the late response. I ended up working on a larger solution for a more extensive problem.
I'm about to launch the first version, which will address a smaller portion of the overarching issue for validation purposes.
By the way, are you an urban planner?
Best regards,
Ben

Hey:)
Let's have a chat—I'm sure your input would be awesome for the project.
When works for you?
Enjoy your weekend!
Ben

Happy new year!
I just sent a Teams invite. Is Saturday @1pm good?

Hey I sent u an email :)


Inconsistent mint ID's

I'm testing this code as a replacement from the Openzeppelin implementation and having issues.
If I mint 1 nft with the mint function it works fine on first trigger.. But subsequent mints (Remix) the batches are odd and we end up with three nfts minted even though I only put 1 in the mint function.
Then when adding 3 mints, it minted 14? This is when viewing maxSupply read function. This seems off but can't imagine why:
{ 	"uint256 _mintAmount": "1" }
[{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x0000000000000000000000000000000000000000000000000000000000000004"],"id":"log_d7432cc2"},{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x0000000000000000000000000000000000000000000000000000000000000005"],"id":"log_d7432cc2"},{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x0000000000000000000000000000000000000000000000000000000000000006"],"id":"log_d7432cc2"},{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x0000000000000000000000000000000000000000000000000000000000000007"],"id":"log_d7432cc2"},{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x0000000000000000000000000000000000000000000000000000000000000008"],"id":"log_d7432cc2"},{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x0000000000000000000000000000000000000000000000000000000000000009"],"id":"log_d7432cc2"},{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x000000000000000000000000000000000000000000000000000000000000000a"],"id":"log_d7432cc2"},{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x000000000000000000000000000000000000000000000000000000000000000b"],"id":"log_d7432cc2"},{"logIndex":1,"blockNumber":47,"blockHash":"0x1a8884d8bec9c019688b85569151c9a92c01b7b038d6ab1da92fbec1ab62f374","transactionHash":"0x2d740ad7f51a046636c6909de0ad80ee22baba360b69c9696544c871f9424e2a","transactionIndex":0,"address":"0xDA07165D4f7c84EEEfa7a4Ff439e039B7925d3dF","data":"0x","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000005b38da6a701c568545dcfcb03fcb875f56beddc4","0x000000000000000000000000000000000000000000000000000000000000000c"],"id":"log_d7432cc2"}]

Case closed. I had a for loop in own mint function which duplicated and trippled the count each time.


binder: support string interval

What's changed and what's your intention?
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
Add a func to parse the argument of interval with specific syntax. Like @xiangjinwu point out in issue.
But now only support like select interval '5 days';

Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
close #3003

@likzn @xiangjinwu Is this update intentionally excluding 'week' as a supported interval unit?

@likzn @xiangjinwu Is this update intentionally excluding 'week' as a supported interval unit?

Sort of. We just supported the basic units (year, month, day, hour, minute, second) first, and other units (millennium, century, decade, week, millisecond, microsecond) can be supported later when needed. It is true that we are far from the complete support.


output_pydantic inconsistencies

Hello everyone,
the docs still mention that output_pydantic is only supported when using OpenAI. However, looking at the code it seems other LLMs are also supported.
In addition Instructor seems to support a lot of other clients now: https://python.useinstructor.com/hub/mistral/#mistral-client
Now, because the docs were unclear I implemented this myself:
def get_visa(input: str) -> Visa:
    parser = PydanticOutputParser(pydantic_object=Visa)
    prompt = ChatPromptTemplate.from_messages([
    ("system", """You an expert on JSON. Use the input given to you and convert it to JSON like {format_instructions}
     """),
    ("user", "{input}")
])
    chain = prompt | json_model | parser
    result = chain.invoke({"input": input, 'format_instructions': parser.get_format_instructions()})
    return result

Visa is my Pydantic model.
First of all as a developer I wonder why crewAI does not implement it like this. I am sure there is a reason, but I would love if you guys would document some design decisions, because it helps me as a developer understand the tools I am using.
Now thanks to some pointers I was able to get the task working as well:
Task(
            description=f"""Map the information given by your colleagues into a JSON object.""",
            expected_output="""A JSON object with the following structure:

            {"visa_information": "A string containing visa information.",
            "visa_required": "True if a visa is needed, False if it is not needed",
             "safe_to_travel": "True if it is save to visit the destination, False if it is unsafe",
             "security_information": "A string containing security information."
             }

                 """,
            agent=agent,
            context=context,
            output_pydantic=Visa
        )

Now funny thing why does the crewAI version need an expected_output if Langchain does not? Well because it is required in the Task. :P
If I pass an empty expected_output, it still works:
Task(
            description=f"""Map the information given by your colleagues into a JSON object.""",
            expected_output="""""",
            agent=agent,
            context=context,
            output_pydantic=Visa
        )

There are multiple ways out of this dilemma:

making expected_output optional, that would be a breaking change and probably break things in other places
add a BaseTask class from which a PydanticTask and Task inherit.
there are probably more possible solutions

I would love to help make this more developer friendly as I think validations are one of the most important things when using AI. I am happy to write a guide for the documentation, but currently I do not know how this is supposed to be used.
Best regards,
Christian

There is a stronger case for validation on other models that are not OpenAI, as they often would need more retries to get a valid output. This seems like an essential thing to be tackled to support local, or at least more local and use of smaller models for some tasks / agents.


[Frontend] Some pipeline refactoring

Move mangling stats, dependency verification, and API dumping to performEndOfPipeline. In the latter two cases this allows us to free the ASTContext before LLVM.
In addition, internalize the creation of the intermodule dependency tracker such that it's only set by CompilerInstance::setup.

@swift-ci please test

@swift-ci please test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 553dadd87ea822afacffe3ac33a6cc157879bbe8

https://github.com/apple/llvm-project/pull/1392
@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 553dadd87ea822afacffe3ac33a6cc157879bbe8

Build failed
Swift Test Linux Platform
Git Sha - 553dadd87ea822afacffe3ac33a6cc157879bbe8

https://github.com/apple/llvm-project/pull/1392
@swift-ci please test Linux

Build failed
Swift Test OS X Platform
Git Sha - 553dadd87ea822afacffe3ac33a6cc157879bbe8

https://github.com/apple/llvm-project/pull/1392
@swift-ci please test macOS


Any plans of expanding this to mobile like with Enmity?

This plugin is super useful to me and I'm wondering if there's an equivalent for the mobile Discord clients or if there's any plans to support mobile in the future.

Great to know that you like it :)
Unfortunately the discord mobile client is completely different than BetterDiscord which uses JavaScript (like mathjax). Probably doable with a java aliucord plugin but I have absolutely no idea how

Looks like Enmity is made for ios anyway. I only do Linux and Android projects


Fix Polish title

Current title seems not to be correct in Polish language.

@zbtn, thanks for the corrections!


Demonstrate ticket 15101 is indeed fixed.

Before Django 1.7 calling extent on a GeoQueryset together with a limit did not work. This test shows that it has been fixed with the aggregrates-with-limit fix from ticket 12886 (see https://code.djangoproject.com/ticket/12886#comment:15).
Reference: https://code.djangoproject.com/ticket/15101

Slightly adapted and pushed in 374c2419e5. Thanks Sander.


Fix link

We were linking to Core's README.md

The branch 0.11.2 is open for critical bugfixes only. This should be directed to master or the to-be-created 0.12 branch.


Unable to extract course idation

HI All,
i am receiving the below error message while using the script to download the Udemy content.
i have read all the previous given article about the error message and i am using latest GIt repo. however still encountering with the same error message. Will appreciate your help.

may you check the url you have put in in wrong way

@harishpal2090 i cannot reproduce the error.


Resolving 'yield may become a restricted identifier in a future releases' warning

With javac 13.0.2 ./gradlew check results in several warnings like this:
...../vavr/src-gen/main/java/io/vavr/API.java:4699: warning: 'yield' may become a restricted identifier in a future release
         return yield(Function.identity());
(to invoke a method called yield, qualify the yield with a receiver or type name)

(Please note that with current build.gradle setup warnings are treated as errors.)
This commit fixes the issue by qualifying the call with this.

Codecov Report

Merging #2581 into master will not change coverage.
The diff coverage is 16.66%.

@@            Coverage Diff            @@
##             master    #2581   +/-   ##
=========================================
  Coverage     92.81%   92.81%
  Complexity     5338     5338
=========================================
  Files            89       89
  Lines         12743    12743
  Branches       1609     1609
=========================================
  Hits          11828    11828
  Misses          727      727
  Partials        188      188

Impacted Files
Coverage Δ
Complexity Δ

src-gen/main/java/io/vavr/API.java
86.76% <16.66%> (ø)
231.00 <0.00> (ø)

Continue to review full report at Codecov.

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


issue with mat expansion panel expansion!

I have a component with a mat-expansion-panel in it. The component is placed in a loop. Here is the view of the component:

I grab it with @ViewChild and based on data that comes from server, I expand some of them. I do that this way:
@ViewChild("expansionPanel") expansionPanel;
and after that, I subscribe to response of server and inside it, based on some conditions, I do this to open the panel:
this.expansionPanel.expanded = true;
Everything is okey and working well.
But problem begins when I navigate with the router to another place in the app.
After coming back to the page that has this component, that line of code doesn't work anymore and does not open the mat-expansion-panel.
I tested it so much and it certainly reaches to this line again but does not work.
If I reload the page, everything is alright and works fine again.
I think the problem is with mat-expansion-panel and angular router.

Closing since this does not follow our issue template, especially since there is no link to a reproduction on StackBlitz for us to investigate with


chore(ModelTheory/ElementarySubstructures): Split elementary substructures into their own file

This PR splits the file ModelTheory/ElementaryMaps into two files, moving elementary substructure code into ModelTheory/ElementarySubstructures, to make room for new API on those.
Two basic lemmas, FirstOrder.Language.Substructure.realize_boundedFormula_top and FirstOrder.Language.Substructure.realize_formula_top, are instead moved to the file ModelTheory/Substructures.

bors r+


Force 4 spaces for constructor args and 2 for extends

From @ms-ati on December 23, 2015 1:10
The option doubleIndentClassDeclaration doesn't do what I would expect, when it says that it meets the scala styleguide description

...put each constructor argument on its own line, indented four spaces:

and

...then indent four spaces with each item being on its own line and two spaces for extensions; this provides visual separation between constructor arguments and extensions.:

In contrast, the current option appears to always indent the constructor arguments two spaces and then confusingly indents the extensions to four spaces, which seems to be the reverse of the style guide, and looks weird.
Copied from original issue: daniel-trinh/scalariform#103

@igormoreno in latest version of scalariform you can use doubleIndentConstructorArguments in place of doubleIndentClassDeclaration.


[SR-15867] Docc Overviews and Links don't work with Package that uses tools-version less than 5.5

Previous ID
SR-15867

Radar
None

Original Reporter
@fabianfett

Type
Bug

Environment
Could reproduce in nightly main, 5.6 on macOS and Linux.

Additional Detail from JIRA

Votes
0

Component/s
Swift-DocC

Labels
Bug

Assignee
None

Priority
Medium

md5: 4ab050b4888cf3bcdf484a612fbce89b

Issue Description:
I noticed that the Docc export off overview files does not work, if the packages tools-version is less than Swift 5.5. I could reproduce this while trying to add docc to a number of open source packages (SwiftNIO, AsyncHTTPClient, PostgresNIO, AWSLambdaRuntime).
One can work around this issue in two ways:
1. Create a<EMAIL_ADDRESS>that matches the existing Package.swift except for the required tools-version
2. Update the Package.swift in CI, before creating the docc bundle:

Expected behavior. Close


Provide way to ensure all variables have values provided

The JS library exposes a function called uses_data which is useful to check if all variables have data in provided data.
https://github.com/jwadhams/json-logic-js/issues/39#issuecomment-339031252
It'd be awesome to have this in this ruby implementation too so that we can do validation that all the variable values are available before trying to evaluate (which could lead to weird errors)

Release v0.4.5 addresses this. Thanks for the PR!


Clean up client cancellation propagation

Codecov Report

Merging #71 into master will decrease coverage by 0.79%.
The diff coverage is 55.55%.

@@             Coverage Diff             @@
##             master      #71     +/-   ##
===========================================
- Coverage     86.09%   85.29%   -0.8%
  Complexity       19       19
===========================================
  Files            15       15
  Lines           302      306      +4
  Branches         48       49      +1
===========================================
+ Hits            260      261      +1
- Misses           15       16      +1
- Partials         27       29      +2

Impacted Files
Coverage Δ
Complexity Δ

...s/coroutines/client/ClientResponseStreamChannel.kt
85.71% <0%> (ø)
9 <0> (ø)
:arrow_down:

...otoplus/coroutines/client/ClientBidiCallChannel.kt
95.65% <50%> (-4.35%)
0 <0> (ø)

...us/coroutines/client/ClientStreamingCallChannel.kt
77.77% <66.66%> (-7.94%)
0 <0> (ø)

Continue to review full report at Codecov.

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


Support display of multiple author for a single post

When a post has several authors (for example https://blog.thunderbird.net/2024/04/adventures-in-rust-bringing-exchange-support-to-thunderbird/), the blog only shows one of them, despite WordPress seemingly registering all relevant users as authors (which can be verified by looking at the value for the meta name="author" tag).

Good catch, I'll take a look at that. Thanks

Implemented this in #51. Needs to be deployed (@MelissaAutumn)

Resolved in the latest release: https://github.com/thunderbird/thunderblog/releases/tag/v1.0.15
This will be deployed shortly.


docker

may i know more specific about the issue may be i can able to solve?

thanks for your kind message, i just add it in my issue to learn more about  docker hub.


[SPARK][EXT] Take care of table cache query stage

Why are the changes needed?

compatible with Spark3.5
see https://issues.apache.org/jira/browse/SPARK-42101
How was this patch tested?

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

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

thanks, merging to master/1.7


Let users access timestamp of reception in promiscuous mode and TX timestamp of sent packets (802.11mc FTM) (IDFGH-8374)

Is your feature request related to a problem?
I am writing bachelor thesis and doing research with focus on realtime tracking technologies and there are some limitations in the provided API regarding the 802.11mc functionality.
To allow users write their own more complicated and resilient multilateration algorithms on top of existing
FTM functionality, it would be nice to have access to some lower level functionality such as obtaining the
timestamps for when a packet was received and when a packet was sent. Even though the expected error of FTM
timestamping is around 2 meters in 80 MHz mode which is far more than regular ultrawideband transcievers
such as DWM1000, it still would be useful to have a functionality that allows to extract these timestamps so
that they can be used not only in custom ToF models, but also potentionally more complex custom TDoA multilateration
algorithms with time synchronization. I would like to pinpoint that TDoA is the main thing that
I am focusing here on, because for larger spaces that have dozen and more meters on width, it should outperform
RSSI based localization while not requiring any additional hardware for the device that is being tracked
and while not requiring any additional software / models for RSSI correction and filtering.
The TDoA works in a way that anchors (static devices with known position) communicate between themselves by
regularly (~10Hz to ~100Hz) sending a beacon for which the TX timestamp of anchor #1, RX timestamp of anchor #2 (and their addresses)
are needed to calculate synchronization function that is used to convert from clocks of one anchor
to the clock of another one. All that is needed is then some data / beacon from the tracked device where
all anchors save the device's address, RX timestamp and their own address and send all of these measurements
to a server (or some other computer) where synchronization functions are calculated and differences of arrivals
are calculated using these functions and plugged into regular TDoA multilateration algorithm. In the
end you end with few linear regression models that can be solved to obtain relatively precise measurement,
given the error in timestamp calculation is few meters and that the distance between receiving anchors is
few times bigger than the error.
Describe the solution you'd like.

(required) Add FTM RX timestamp to wifi_pkt_rx_ctrl_t, and
(optional) either:

a) somehow let the user see when a packet was sent (e.g. by an event, by returning from the esp_wifi_80211_tx()-style like function, etc...)
b) let the user read the current timer value and choose when the packet should be sent in esp_wifi_80211_tx()-style like function

Describe alternatives you've considered.
No response
Additional context.
The values of these timestamps needs to be more accessible to the user so that precision of using various methods such as ToF and TDoA can be assessed and verified. ESP32 is currently one of the cheapest transceiver SoCs and it would be nice to have more control of the 802.11mc functionality.

@dalibor-drgon , in FTM example you can try enabling 'Example Configuration -> FTM Report logging' in the menuconfig to display per packet timestamps. Also for comparing with current time you can use API esp_system_get_time. Please note that timestamps in FTM Report are in picoseconds while the API gets the system time in microseconds. Hope this is helpful for you.

Just a quick note: It is possible to do synchronized TDoA just with the RX timestamping, the TX timestamping isn't that horribly needed and probably a lot harder to do. So if you are thinking about implementing this, the RX timestamping is probably the easier and more important thing to implement. At least in the promiscuous mode, all that is needed to do is  add the RX timestamp from the WiFi hardware (in picoseconds or whatever are the units of choice) to the wifi_pkt_rx_ctrl_t struct (and of course modify the lib80211 library).

the RX timestamping is probably the easier and more important thing to implement. At least in the promiscuous mode, all that is needed to do is add the RX timestamp from the WiFi hardware

This is possible with newer chips since the Rx Timestamp already exists in wifi_pkt_rx_ctrl_t, we're reviewing if we can expose the timestamp variable after internal testing

Hi @nachiketkukade, thanks so much for considering this request! I don't want to nag you, but I was wondering if you have any update on the topic of picosecond-precision RX timestamps in wifi_pkt_rx_ctrl_t that you hinted at in your previous comment?
I'm developing a system where I clock/phase-synchronize multiple ESP32 chips for sensing applications (https://espargos.net/, still WIP), and it is working really well already (for example, I can do AoA estimation in promiscuous mode with the CSI API), but I'm having issues with unknown sampling time offsets. My guess is that the ESP32 has some internal sampling time offset compensation, and that if I have multiple clock-synchronized ESP32 chips in an array, they will end up with slightly different time offset estimates.
So basically, the CSI in wifi_csi_info_t has already undergone time offset compensation, but every ESP32 in my array applied a slightly different offset compensation. My guess is that if I had access to precise packet reception timestamps, those that are used for FTM, I would be able un-do the time offset compensation. So any progress on this topic would be super helpful for me :smile:

Hi @nachiketkukade Is there any update on this?

This is possible with newer chips since the Rx Timestamp already exists in wifi_pkt_rx_ctrl_t, we're reviewing if we can expose the timestamp variable after internal testing

@ProfFan , above changes are currently under internal review

@Jeija , apology for the delay. Sometimes the review takes longer due to other prioritised tasks. To give you a headstart for testing, I'm attaching the IDF side change here, please note there may be some more modifications during the internal review.
0001-fix-wifi-Expose-Rx-pkt-timstamp-related-calculations.patch
I'd be interested to know the testing results from your side!

Thanks for the patch, very useful!
To quickly test if this is working, I built the following test setup:

2 ESPARGOS antenna arrays with 8 ESP32-S2s each, all connected to the same 40MHz clock source. The two antenna arrays were placed at a distance of around 5m to each other.
I collected nanosecond receive timestamps from all ESP32s and streamed them to a central computer. Since all receivers are connected to the same 40MHz clock source, they should all remain synchronous and the timestamps should not drift. All timestamps are calibrated to a reference WiFi packet.
I have a WiFi transmitter (another ESP32) in my hand, and I am walking around in between the two ESP32 antenna arrays.

And it's actually working :smile: !
https://github.com/user-attachments/assets/ae353e8c-9c53-4bb3-b9ca-842a934671b2
As you can see in the video, as I am walking around between the two antenna arrays, the time differences of arrival split into two "groups" of 8 antennas each, corresponding to the two antenna arrays, depending on where I'm standing. The range of the values (around 30-40ns) more or less matches the TDoA values one expect for a distance of 5m (2 * 5m / 300000m/s = 33.3ns). It's still a bit flaky, especially for the antenna array that is further away from me, probably due to significant multipath propagation in the room (metallic ceiling, ferro-concrete, ...). But I found it pretty cool to get any results at all for such "cheap" hardware.
I will keep working on this and keep you posted. My next step is to try and see if I can use the nanosecond timestamps to get rid of the sampling time offset-induced phase shift in the complex-valued CSI channel coefficients in wifi_csi_info_t.

I made some further improvements so that the time of arrival estimates are a bit less noisy now.
https://github.com/user-attachments/assets/d257068c-e921-4dc6-8d0e-fd325e0c4ef0
Source code for the demo and timestamp processing is here, to provide some context (firmware is not open source yet): https://github.com/ESPARGOS/pyespargos

@Jeija , this is pretty impressive! The project and the hardware is even more impressive! very interested in future updates. :D


'Flash' button not used

What a shame.. We have this nice button, but no real use for it..
Could we make it a flashlight (that works in every app) button?

I think you can do that via a service, @rnplus can probably explain how . .

Yup this is doable with a service!


helm-charts: Add proxy for codegen

Allow user to run codegen with proxy settings.
Description
This is to allow users to run codegen with proxy settings.
Issues
fix #79
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

Dependencies
N/A
Tests
N/A

Please rebase. Thank you.

Also please use the correct author name in your commit, current it's sdp which is weird and confusing.

Please rebase. Thank you.

Rebase is done!

Also please use the correct author name in your commit, current it's sdp which is weird and confusing.

I think it's right now. Please help see if I miss anything.


User Bulk Add to Group

Make bulk add user to group work again.

Any progress here?

Not at the moment, no


Add new application icons

Fixes: https://github.com/resin-io/etcher/issues/87

Works fine on Windows.

Works fine on GNU/Linux.

Works on OS X.


Write a test that tests if boot version from build is contained in CompatibilityVerifierProperties.compatibleBootVersions()

Not sure if this is possible, but this will help keep that set fresh.
Also support 2.2.x wildcard style for version greater than 2.1.x

Closed via 7dd88a6e7fb885292f87252e9b07c6f3e003af17


Adding gslc_ElemXGraphReset() to XGraph broke the code base.

The new  gslc_ElemXGraphReset() has syntax errors, also new errors inside gslc_ElemXGraphCreate().
Attached is a repaired version of XGraph.
C:\Users\Paul\Documents\Arduino\libraries\GUIslice\src\elem\XGraph.c:136:52: error: expected ')' before ';' token

     gslc_ElemXGraphReset(pGui, &(pGui->sElemRefTmp);

C:\Users\Paul\Documents\Arduino\libraries\GUIslice\src\elem\XGraph.c:139:3: error: expected ';' before '}' token

   }

   ^

C:\Users\Paul\Documents\Arduino\libraries\GUIslice\src\elem\XGraph.c: In function 'gslc_ElemXGraphReset':

C:\Users\Paul\Documents\Arduino\libraries\GUIslice\src\elem\XGraph.c:233:3: error: 'pXData' undeclared (first use in this function)

   pXData->nBufCnt         = 0;

   ^

C:\Users\Paul\Documents\Arduino\libraries\GUIslice\src\elem\XGraph.c:233:3: note: each undeclared identifier is reported only once for each function it appears in

C:\Users\Paul\Documents\Arduino\libraries\GUIslice\src\elem\XGraph.c:243:10: error: 'pBuf' undeclared (first use in this function)

   memset(pBuf,0,nBufMax*sizeof(int16_t));

          ^

C:\Users\Paul\Documents\Arduino\libraries\GUIslice\src\elem\XGraph.c:243:17: error: 'nBufMax' undeclared (first use in this function)

   memset(pBuf,0,nBufMax*sizeof(int16_t));

                 ^

I restored gslc_ElemXGraphCreate() to it's original version and changed gslc_ElemXGraphReset() from:
void gslc_ElemXGraphReset(gslc_tsGui* pGui,gslc_tsElemRef* pElemRef) {

  pXData->nBufCnt         = 0;
  pXData->nPlotIndStart   = 0;

  // Default scale is
  // - Each data point (buffer row) gets 1 pixel in X direction
  // - Data value is directly mapped to height in Y direction
  pXData->nPlotValMin   = 0;
  pXData->nPlotValMax   = pXData->nWndHeight;
  pXData->nPlotIndMax   = pXData->nWndWidth;

  memset(pBuf,0,nBufMax*sizeof(int16_t));
}

To:
void gslc_ElemXGraphReset(gslc_tsGui* pGui,gslc_tsElemRef* pElemRef) {

  gslc_tsXGraph*  pBox;
  gslc_tsElem*    pElem = gslc_GetElemFromRef(pGui,pElemRef);
  pBox = (gslc_tsXGraph*)(pElem->pXData);

  pBox->nBufCnt  = 0;
  pBox->nPlotIndStart   = 0;

  // Default scale is
  // - Each data point (buffer row) gets 1 pixel in X direction
  // - Data value is directly mapped to height in Y direction
  pBox->nPlotValMin   = 0;
  pBox->nPlotValMax   = pBox->nWndHeight;
  pBox->nPlotIndMax   = pBox->nWndWidth;

  memset(pBox->pBuf,0,pBox->nBufMax*sizeof(int16_t));
}

While I was at it I also addressed issue#439 div-by-zer on XGraph with (still) 0 points by changing line 320 from:
  pBox->nPlotIndStart  = pBox->nPlotIndStart % pBox->nBufMax;

To:
  pBox->nPlotIndStart = pBox->nBufMax ? (pBox->nPlotIndStart % pBox->nBufMax) : 0;

XGraph.zip
Paul--

Crap, Once again i shouldn't answer these before my morning coffee.
void gslc_ElemXGraphReset() needs this added to the end:
  // Set the redraw flag
  // - As we are clearing the buffer, force a full redraw
  gslc_ElemSetRedraw(pGui,pElemRef,GSLC_REDRAW_FULL);

Attached is another version with this fix.
XGraph.zip
Paul--

Hey @Pconti31 -- thanks very much for the alert regarding PR #442 . As I didn't have my regression environment running quite yet (just now unpacking from our reno), I had made an incorrect assumption about the submission's testing status.
Thanks for the revisions to XGraph that you attached to this issue! I intend to go through your proposed changes and merge those into the main as soon as I can rerun my regression.


pull request for e2e test at 11/16/2016 08:15:07

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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


libtirpc: 1.3.5 -> 1.3.6

Changes: https://git.linux-nfs.org/?p=steved/libtirpc.git;a=shortlog;h=refs/tags/libtirpc-1-3-6

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4825


Example with if/else

.pipe(detour(condition, split2()))
.pipe(detour(condition, through2(fnToThrough)))

Is it possible to use just one pipe for the example above?
And is it possible to provide an example in README.md on how effectively divert the stream?
Thanks

If I understand the question correctly, I think this might work:

var branch = split2()
                .pipe(through2(fnToThrough));

top_stream
    .pipe(detour(condition, branch))

// or in-line...

top_stream
    .pipe(detour(condition, split2().pipe(through2(fnToThrough))))

I haven't tested properly because found out that the detour is not working as i thought it would with split2 as it stops after first chunk

I'm not familiar with split2; but I suspect it might have to do with conflicts with Stream2 and Stream3.
detour-stream uses an old version of through2  (v0.x); and hasn't been updated in quite a while.
I'm unlikely to update this module since I don't use it anymore. However, it should be relatively easy to reimplement for your code base:
const through2 = require('through2');

const detour = function(bool, stream, opts) {

    return through2(function (chunk, enc, callback) {

        this.push(chunk);

        // TODO: write to stream

        callback();
    });
}

These modules may be of interest for your needs:

https://github.com/robrich/ternary-stream
https://github.com/robrich/gulp-if

If you write a new implementation and want to maintain it on npm, I can give you ownership of the name: http://npm.im/detour-stream


Cannot dereference 0x1401000: Exceeded higher bound of the address space.

Description

Running the following program (needs dependency on criterion):
import Criterion.Main

-- The function we're benchmarking.
fib m | m < 0     = error "negative!"
      | otherwise = go m
  where
    go 0 = 0
    go 1 = 1
    go n = go (n-1) + go (n-2)

-- Our benchmark harness.
main = defaultMain [
  bgroup "fib" [ bench "1"  $ whnf fib 1
               , bench "5"  $ whnf fib 5
               , bench "9"  $ whnf fib 9
               , bench "11" $ whnf fib 11
               ]
  ]

throws an exception.
Expected Behavior

Should run showing all the benchmark results without crashing.
Actual Behavior
benchmarking fib/1
time                 6.925 ns   (6.734 ns .. 7.256 ns)
                     0.993 R²   (0.987 R² .. 0.998 R²)
mean                 6.935 ns   (6.764 ns .. 7.239 ns)
std dev              480.5 ps   (230.3 ps .. 780.5 ps)
variance introduced by outliers: 84% (severely inflated)

benchmarking fib/5
Exception in thread "Thread-8" eta.runtime.exception.EtaException: JException java.lang.IllegalArgumentException: Cannot dereference 0x2401000: Exceeded higher bound of the address space.
    at eta.runtime.thunk.Thunk.handleExceptionSimple(Thunk.java:282)
    at eta.runtime.thunk.Thunk.handleException(Thunk.java:264)
    at eta.runtime.thunk.UpdatableThunk.evaluate(UpdatableThunk.java:21)
    at statistics.statistics.Regression$$wrnfAll$1.applyN(Regression.hs:-1)
    at statistics.statistics.Regression$sat$37.applyV(Regression.hs:136)
    at eta.runtime.exception.Exception.catch_(Exception.java:132)
    at statistics.statistics.Regression$sat$36.applyV(Regression.hs:-1)
    at eta.runtime.stg.Closures$EvalLazyIO.enter(Closures.java:125)
    at eta.runtime.stg.Capability.schedule(Capability.java:183)
    at eta.runtime.concurrent.WorkerThread.run(WorkerThread.java:16)

Possible Fix

This is most likely due to a race condition in the MemoryManager. Running the above several times caused the exception to occur at different times with different addresses.
Steps to Reproduce

Create a simple Etlas project with an executable component that depends on criterion putting the code mentioned above in Main.hs.
etlas run [exe-name] -- --output result.html

Context

I was trying to get criterion to work out so we can setup benchmarks.
Your Environment

Did you install an older version of Eta/Etlas before? Yes
Current Eta & Etlas version: latest
Operating System and version: OS X 10.11.5
Link to your project: N/A

Fixed with https://github.com/typelead/eta/commit/1e37296508d944b76f2e4000ef1f56a985a6ef88


Option to include parents of new subgraph in filter

Isn't this handled by the new query language? @ilumsden

Maybe it is already supported by defining the query like this?
[
   "*",
  {"name": "P?MPI_.*"},
  "*"
]

Sorry for not noticing this until now. This is already supported by the query language. Just a slight correction to @slabasan's query:
[
    ".",
   {"name": "P?MPI_.*"},
   "*"
]

Or, if you'd rather use the full form:
[
    (".", {}),
    (".", {"name": "P?MPI_.*"}),
    ("*", {})
]


Develop

Added Karyotype plot to CopyNumber analysis

Thanks for the pull request! One questions before merging: What is this makeKaryotype.R script? It is not availble in /hpc/cog_bioinf/common_scripts/freec_v7.2?
If it is developed by yourself please add it to a separate repository or to the scripts folder of the IAP. You can refer to that path by using: $opt{IAP_PATH}/scripts/

Now including the script in scripts folder

Awesome, looks good!


Automated cherry pick of #9123: fix(region): allow delete resource which status is unknown

Cherry pick of #9123 on release/3.6.
#9123: fix(region): allow delete resource which status is unknown

/lgtm
/approve


Rename hipcompiler igemm flag

Addresses #225

@TejashShah Could you please remind the purpose of this macro? To distinguish OCL from HIP compilation in our common headers? Is some other "kind" of compilation possible (i.e. nor OCL neither HIP)?

The definition has changed, but I do not see changes in places where the macro is used. If we do not use this macro, then we do not need its definition.

Added missing files. I forgot to add while i was switching from rocm-framework7 to miopen908-1 machine.

@TejashShah Could you please remind the purpose of this macro? To distinguish OCL from HIP compilation in our common headers? Is some other "kind" of compilation possible (i.e. nor OCL neither HIP)?

Yes, to distinguish OCL from HIP. I treat HIP-clang and HIP-HCC as the same as HIP-clang hasn't created any issue yet.

@TejashShah  Jenkins is showing a bunch of name collisions, and errors.

This PR is showing major compiler errors.

Looking into it.

This PR is showing major compiler errors.

Didn't test on Vega20 kernel so couldn't detect locally. Now, I fixed it.

I recommend removing definitions of HIP_PLATFORM in Solvers and reverting kernel sources back. AFAICS __HIP_PLATFORM_HCC__ is always defined when HIP sources are being built.
Nevertheless this is OK to merge.

What is driving this change of mind? - I was of opinion that let's not change the flag (perhaps not persuasive)

Tejash: I wouldn't want to change anything if I have option to do. I will try to remove the following >code from all igemm solvers and check if it runs fine in hipclang and rocm3.3 and rocm3.5. if it >works, implies that the compiler is setting this variable correctly (no need to set workaround), I > >would remove the following line.
std::string(" -D__HIP_PLATFORM_HCC__=1") +
If I can't run the kernel correctly w/o the above line of code, I will introduce HIP_PLATFORM_HCC >such as
std::string(" -DHIP_PLATFORM_HCC=1") +

Artem: I like conservatism ;) Please be aware that Jenkins uses something older than ROCm3.3. > >Good luck
https://github.com/ROCmSoftwarePlatform/MIOpen/issues/225#issuecomment-636228188

Would you be fine if I just change this PR to remove this line?

std::string(" -D__HIP_PLATFORM_HCC__=1") +
Or are you concerned that releases prior to rocm3.3 where HIP_PLATFORM_HCC was not defined things won't work?

Would you be fine if I just change this PR to remove this line?
std::string(" -D__HIP_PLATFORM_HCC__=1") +

Yes, I think this should work for us.
If some old HIP compiler has issue, we can provide formal workaround as soon as bug report arrives.

What is driving this change of mind?

Less changes. Less code. Removal of code that is actually workaround for not marked/formalized as a workaround.


MarkupEditorView problem

Hello,
I have a problem with run Yours MarkupEditor

I added Package from GitHub link end add to my project
add yours example code

import SwiftUI
import MarkupEditor

struct ContentView: View {
    @State private var demoHtml: String = "
Hello World
"

       var body: some View {
           MarkupEditorView(html: $demoHtml)
       }
}

and I get error
Cannot find 'MarkupEditorView' in scope
when I open I Package Dependencies tree with MarkupEditor 0.3.3 I does not see MarkupEditorView file. This is correct?

Thanks for help,
Piotr

This is because the package references tagged versions, and the MarkupEditorView is only in main. You will need to clone the repo and build. Main should be in good shape except for some problems on touch devices I am still working on.

Could You give me a hand and write how build your MarkupEditor as framework and add this to custom project? I try, but I have still problems, errors... etc... I always add packages via Dependency packages and it's work, but now I'm stuck ...

I just pushed a 0.4.0 release which should be through its tests and merged in another 10 minutes. Hopefully that will sort things out for you if you update the packages.
In the meantime, if you want to use the framework, what I do is work in an Xcode workspace that contains my project and the MarkupEditor project. Once you have both a workspace that contains your project and the MarkupEditor project, build the MarkupEditorFramework target in it. There is a MarkupEditorFramework target in the MarkupEditor project. You just need to select it and build, or if you run either of the demos, they will also build the framework. Then in your project's Target, you add the MarkupEditor.framework as a dependency in the Frameworks, Libraries, and EmbeddedContent section of the General tab in Xcode.

Ok. I'm installed Yours framework to my custom project and build, but only built as on Mac catalyst (on iOS not working), after that when I run my project on iOS I got error (screen shot). Work fine on Mac.

I check package dependencies in 2-3 hours..
once again thanks a lot for Yours work!

with package dependencies on iOS that same error look

You can fix that locally by replacing the iif #available(macCatalyst 15.0, *) with if #available(iOS 15.0, macCatalyst 15.0, *). In case you haven't done that before this is a nice writeup about how to make package changes locally. I will fix it along with some other things at some point, but I'm hoping not to push a tag until Beta. I also need to add a test to make sure iOS builds from the package :)

Thanks for the tips.

Everything works fine ;)

This is fixed in https://github.com/stevengharris/MarkupEditor/pull/50


Integration with DAG framework Prefect

🚀 Feature

Motivation

The library Prefect https://github.com/PrefectHQ/prefect is pretty great at building DAGs and orchestrating then.
In the future, LitData will enables to build a DAG of map, optimize, etc.. operators to perform large distributed processing.
The ideal goal would be the reverse engineer Prefect Orion Engine and monitoring and have an adapted version for the Lightning.AI platform.
Pitch

Alternatives

Additional context

Orion engine is deprecated in Prefect - Release 2.13.0. So, I couldn't find much information.
And, I guess, we can already use litdata and prefect.
So, are we interested in Prefect workpools specific to lightning studio, create a deployment and run the workflows on lightning nodes (studio/jobs)?
Or, is it something else that we want?


FONT NOT Working

When I select a font there is no change -

Font the problrm. Firefox had it set to ignore the font setting og the pagge:)


[Feature Request] Location entries that are hierarchical...?

Just found this program earlier tonight from searching alternativeto.net for alternatives to Scrivener. I liked the features list, so I downloaded and installed right away. All features are working as designed; but I had an idea that carried over from the "adding scenes to chapters" methodology. I wanted to be able to make locations a bit hierarchical, in that the outer location (equating to the chapter model) could add inner locations (equating to the scene model).
I suppose in a way, the tags were a way of dealing with this; however, once I saw how easy scenes could be added to chapters, I wanted this feature for locations as well. In my idea, each outer node in the location list could be like a village or town in my world, and the first indented node to that could be a building or site within the outer node; and further, a second indentation level might be an internal location within a specific building.

I know this is an oldie, but this is a great suggestion and I would also heavily appriciate this feature.


56 save json from tiptap

Linked Issue(s)

closes #56

Description

[x] Feature

Enables saving and retrieval of JSON from Tiptap RichText attribute.
Checklist

[x] I have read the Contributing Guide and Code of Conduct

I just want to illustrate how little work was required to revert to usage of the data attribute instead of dynamic setters: https://github.com/thombruce/helvellyn/pull/57/commits/b19b11ae863d99b896da5d77c64ff2948d9b344e

Modifying the editor to support the new data structure was a cinch too: https://github.com/thombruce/helvellyn/pull/57/commits/cf5d94d93dd17fc068e965a9971ba4c3810f5083

All that actually leaves is... migrating my existing data... and modifying the API to only obtain the one type.

[ ] Modify API - for now, let's just pass the whole new data block and worry about it on frontend websites with a minor modification. Super easy. We can make additional work to customise output a later task as part of a bigger customisation job.
[ ] Mutate existing data... I'll give this some thought. Maybe set Tiptap rendering to HTML for now and make a minor modification to the data through migration: content: '' becomes content: { html: '' }. Then do a manual edit of each record to update it. Then switch to use of JSON rendering.


Update ruby 2.2.2 rails 4.2.2

Ruby Version 2.2.0 -> 2.2.2
Rails Version 4.2.0 -> 4.2.2

We're currently on 2.2.1 so will need to build a new package and container before we merge this.

@mattmb oki doki :+1:

@mattmb Spotted a potential bug with the rails mailers(/rails/mailers in development mode) which I think is related to the ruby upgrade.

These are old versions. Canning this PR in favor of later stable versions.


docs: add "Visualize Dataset" in all dataset management examples

Pull Request Test Coverage Report for Build 856496346

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

Totals

Change from base Build 856455210:
0.0%

Covered Lines:
4243

Relevant Lines:
5250

💛  - Coveralls


Fix some test to check compatibility with scipy's behavior

Jenkins, test this please

Jenkins CI test (for commit e09198005051d321da6970e0b86a6cbfebbd5170, target branch master) succeeded!


[Windows] pin maven version

Description
As we do on ubuntu, otherwise lots of workflows are broken
Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019,windows2022

/azp run windows2019,windows2022


Stub out Bus type

Addressed in #10 and #11. Via the AddressMap type rather than implementing a separate Bus type.

Addressed in #10 and #11. Via the AddressMap type rather than implementing a separate Bus type.