Can't build go-flutter, request contributing guide

Is your feature request related to a problem?
I have the readme in go-flutter and go-flutter/embedder

To build this package set the CGO_LDFLAGS and run go build. For example:
export CGO_LDFLAGS="-L/home/${HOME}/.cache/hover/engine/linux/"
go build
This works if hover has cached the flutter engine for the local user.

But it not works, hover dose not cached engine.
hover doctor
14:35:36  › hover doctor
hover: Running on darwin
hover: Docker installed: true
hover: Sharing flutter version
Flutter 1.10.7 • channel beta • https://github.com/flutter/flutter.git
Framework • revision e70236e36c (5 周前) • 2019-10-02 09:32:30 -0700
Engine • revision 9e6314d348
Tools • Dart 2.6.0 (build 2.6.0-dev.0.0<PHONE_NUMBER>)
hover: Flutter engine commit: https://github.com/flutter/engine/commit/9e6314d348
hover: Finding out the C compiler version
clang version 8.0.0 (tags/RELEASE_800/final)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

Describe the feature you'd like
A clear contributig guide

You have to adapt the export CGO_LDFLAGS string to your os (see the linux at the end).
Hover should cache the engine in the /home/${HOME}/.cache/hover/engine/ dir.
Is the engine cached ls -R /home/${HOME}/.cache/hover/engine/ ?
While I don't have written a contributing guide, I have spend a lot of time writing a wiki.
One of the available section is: How to work on go-flutter.
And BTW, we don't recommend directly importing go-flutter/embedder in your code:
Note that this package does not promise a stable API: types, functions, methods may all change in a breaking way.

I don't feel like writing a contributing.md file.
If you want to PR one, I'll merge it, but to me the wiki stands for itself.

Yeah, wiki is great.
But there's no hover folder in ${HOME}/.cache
You said /home/${HOME}/.cache/hover/engine/. Is it a typo?
I hava nothing in /home
9:25:39  › pwd && ls -a
/home
.  ..

fixed by #305


Correct netcat package name for RHEL >= 7

We should fix this for new redhat Versions
https://access.redhat.com/solutions/1422873
Greetings
Reamer

All the tests are failing because facter doesn't populate anything by default. You can fix this by adding the operatingsystemrelease fact to the hash down the bottom of each file, like here: https://github.com/michaeltchapman/puppet-galera/blob/master/spec/classes/galera_init_spec.rb#L104


If subtask in concurrent mode fails, the renderer gets stuck and fails silently

If a subtask throws an error in concurrent mode the renderer stops animating the rest of the subtasks. No error is printed and listr2 fails silently. Not sure if I have to use manager.indent for this to work.
const manager = new Manager();

manager.add({
  title: 'Do stuff',
  task: async () => {
    return new Listr([
      { title: 'Task 1', task: async () => { throw new Error('FAIL') } },
      { title: 'Task 2', task: async () => { await delay(1000); return true; } }
    ], { concurrent: true })
  }
});

manager.runAll();

Hmm. Manager indent is just a jumper function that does the same thing without writing to whole thingy, which made things more cleaner for me. So I think they should have the same effect.
I will have a look this evening for this. But I think this issue can also occur from not catching the promise properly.
let ctx: SomeCtxType
try {
  ctx = await manager.runAll()
} catch (e) {
  console.error(e)
}

I do have the catch at the end in my code. Sorry skipped it for brevity purposes 😅

@IgnusG Merged and publish with #7. I am having a look at the other issue #5 to inject custom functions. There will be no type checking in my solution but I am thinking something like the one below:
  manager.add([
    {
      title: 'Something',
      task: (ctx, task): void => {
        task.extend('logThis')('string')
      }
    }
  ])

  try {
    ctx = await manager.runAll({ extend: { logThis: (string): void => { console.log(string) } } })
  // eslint-disable-next-line no-empty
  } catch (e){

  }

Will this work for your application?
It will now clean up the render. And mark the rest of the tasks with red. I made my effort to make only the subtasks red instead of the sibling tasks, but I have to change the whole structure to do that, which seems unnecessary.
Case 1
manager.add([
  {
    title: 'Do stuff',
    task: async () => {
      return new Listr([
        { title: 'Task 1', task: async () => { throw new Error('FAIL') } },
        { title: 'Task 2', task: async (ctx, task) => { await delay(1000); task.title = 'I succeed'; return true } }
      ], {
        concurrent: true,
        exitOnError: false
      })
    }
  },
  ...someMoreTasks
], { exitOnError: true })

Result

Case 2:
manager.add([
  {
    title: 'Do stuff',
    task: async () => {
      return new Listr([
        { title: 'Task 1', task: async () => { throw new Error('FAIL') } },
        { title: 'Task 2', task: async (ctx, task) => { await delay(1000); task.title = 'I succeed'; return true } }
      ], {
        concurrent: true,
        exitOnError: true
      })
    }
  },
  ...someMoreTasks
], { exitOnError: true })

Result

As a more wider view in example.ts


[renderer] consider switching to a proper framework

Currently the renderer is using the Bun.serve() api to serve the service maybe I should switch it to something like Elysia for performance and to improve the  code quality

addressed by #15


Refactor Topic API to conform to new design

We want to refactor the Topics API to address compatibility issues with Micronaut and Quarkus arising from the library's reliance on Spring framework.
We would like to have the Events API migrated to the new REST dependency and ensure the on going updates to the unit tests to validate the modifications and uphold code quality.
For guidance on the expected changes, kindly refer to this pull request #54.
 Assigning this to you right away @piyushchhabra

Assigned ⭐


how to find my Routed /64 prefix/subnet. ?

Good mornig sir.
can you tell me how to find my Routed /64 prefix/subnet.  for my ubuntu docker ?  i just create it on digitalocean VPS .
please help

You will find it on the tunnel broker page, where you sett your tunnel endpoint IP.


Update unsorted_bin_attack for 2.27

Fixes issue #103 by updating the table in README.md, enhancing the introductory message in unsorted_bin_attack.c and increasing buffer sizes to a more universally working value.

thanks!


Frida got terminated

Did i do something wrong?
Also the Il2cpp game is protected using libpairipcore.so (Google Play Integrity).
I tried setting the start up delay to 10s to 50s but app crashes after the test code executes by couple seconds.
The test code:
Java.perform(function () {
    var context = Java.use('android.app.ActivityThread').currentApplication().getApplicationContext();

    Java.scheduleOnMainThread(function() {
            var toast = Java.use("android.widget.Toast");
            toast.makeText(Java.use("android.app.ActivityThread").currentApplication().getApplicationContext(), Java.use("java.lang.String").$new("This is works!"), 1).show();
    });
});

Thanks for future respond.

I can't really help with app specific protections especially if I don't know what the app is supposed to be. This module does not bypass everything but only some specfpific kinds of checks.

I can't really help with app specific protections especially if I don't know what the app is supposed to be. This module does not bypass everything but only some specfpific kinds of checks.

it's Unity game, it was working until last update they attached the new Google Play integrity thing (libpairipcore.so)
Some links that explain more about this:
https://github.com/vfsfitvnm/frida-il2cpp-bridge/discussions/431
https://github.com/rednaga/APKiD/issues/329
https://developer.android.com/google/play/integrity/overview
it's not really custom/special protection, but rather google started offering it for games as solution for generic game integrity protection but its if you want to use normal Mod-Menu hooking by editing the dex, but it resists frida mostly, so if you got frida server opened on the phone the game closes immediately, i hope you got it.
Thanks 😊

and what is the game you're testing this on?

and what is the game you're testing this on?

https://www.apkmirror.com/apk/kabam/marvel-contest-of-champions/

It uses a svc call to detect if frida is running on the device. You'll have to intercept it to bypass the detection

It uses a svc call to detect if frida is running on the device. You'll have to intercept it to bypass the detection

which lib uses a svc call?

It uses a svc call to detect if frida is running on the device. You'll have to intercept it to bypass the detection

Just checked libpairipcore.so SVC calls and it's none.

It uses a svc call to detect if frida is running on the device. You'll have to intercept it to bypass the detection

Just checked libpairipcore.so SVC calls and it's none.

/ad/ svc

It uses a svc call to detect if frida is running on the device. You'll have to intercept it to bypass the detection

Just checked libpairipcore.so SVC calls and it's none.

/ad/ svc

It uses a svc call to detect if frida is running on the device. You'll have to intercept it to bypass the detection

Just checked libpairipcore.so SVC calls and it's none.

/ad/ svc

Nothing shows...

This isn't the right place to talk about this
You gave the offset of the found svc call.

It uses a svc call to detect if frida is running on the device. You'll have to intercept it to bypass the detection

Just checked libpairipcore.so SVC calls and it's none.

/ad/ svc

Nothing shows...

This isn't the right place to talk about this
You gave the offset of the found svc call right there in the command response

would it be possible to try contact you in discord?

I will close this as this is no longer related to the tool.


Reproducible Razor LSP InvalidOperationException on generating CSS autocompletions in MVC

Describe the bug
I have a fully reproducible exception that brings down all of Visual Studio when the Razor language client runs into an InvalidOperationException when attempting to generate completions after opening a brace (e.g. {) for a new CSS class definition in a
}

Depending on whether asynchronous completions are enabled or not, the IDE will either immediately hang and then crash or it will crash some ms thereafter in the Razor language completions module.
The error generated as reported in the Event Viewer:
Fault bucket<PHONE_NUMBER>568643789, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: devenv.exe
P2: 16.0.28711.60
P3: 5c86b603
P4: Microsoft.AspNetCore.Razor.Language
P5: <IP_ADDRESS>04
P6: 9b6dfb8b
P7: 10c6
P8: 75
P9: System.InvalidOperationException
P10:

The exception in the Razor language module:

An unhandled exception of type 'System.InvalidOperationException' occurred in Microsoft.AspNetCore.Razor.Language.dll
Additional information: The reference is invalid. The node 'Microsoft.AspNetCore.Razor.Language.Intermediate.DirectiveIntermediateNode' could not be found as a child of 'Microsoft.AspNetCore.Razor.Language.Intermediate.DirectiveIntermediateNode'.

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
   at Microsoft.AspNetCore.Razor.Language.Intermediate.IntermediateNodeReference.InsertAfter(Microsoft.AspNetCore.Razor.Language.Intermediate.IntermediateNode)
   at Microsoft.AspNetCore.Razor.Language.Extensions.SectionDirectivePass.ExecuteCore(Microsoft.AspNetCore.Razor.Language.RazorCodeDocument, Microsoft.AspNetCore.Razor.Language.Intermediate.DocumentIntermediateNode)
   at Microsoft.AspNetCore.Razor.Language.IntermediateNodePassBase.Execute(Microsoft.AspNetCore.Razor.Language.RazorCodeDocument, Microsoft.AspNetCore.Razor.Language.Intermediate.DocumentIntermediateNode)
   at Microsoft.AspNetCore.Razor.Language.DefaultRazorDirectiveClassifierPhase.ExecuteCore(Microsoft.AspNetCore.Razor.Language.RazorCodeDocument)
   at Microsoft.AspNetCore.Razor.Language.RazorEnginePhaseBase.Execute(Microsoft.AspNetCore.Razor.Language.RazorCodeDocument)
   at Microsoft.AspNetCore.Razor.Language.DefaultRazorEngine.Process(Microsoft.AspNetCore.Razor.Language.RazorCodeDocument)
   at Microsoft.AspNetCore.Razor.Language.DefaultRazorProjectEngine.ProcessCore(Microsoft.AspNetCore.Razor.Language.RazorCodeDocument)
   at Microsoft.AspNetCore.Razor.Language.RazorProjectEngine.ProcessDesignTime(Microsoft.AspNetCore.Razor.Language.RazorProjectItem)
   at Microsoft.VisualStudio.Editor.Razor.BackgroundParser+BackgroundThread.WorkerLoop()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

The exception in devenv.exe that brings down the actual IDE as it fails to handle the exception thrown by the razor client:
Faulting application name: devenv.exe, version: 16.0.28711.60, time stamp: 0x5c86b603
Faulting module name: KERNELBASE.dll, version: 10.0.17763.348, time stamp: 0x53015794
Exception code: 0xe0434352
Fault offset: 0x0011c632
Faulting process id: 0x82b8
Faulting application start time: 0x01d4db5daf72ae00
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\devenv.exe
Faulting module path: C:\windows\System32\KERNELBASE.dll
Report Id: bb214052-f940-4bfc-af1f-b574e937f043
Faulting package full name:
Faulting package-relative application ID:

Some potentially relevant info:

I'm not able to debug it directly as basically everything has been optimized away, but I suspect that when the following code returns null (due to the null coalescing)
https://github.com/aspnet/AspNetCore-Tooling/blob/f7e10ccacbe0d2d7b897dff7b27fcd58544445c4/src/Razor/src/Microsoft.AspNetCore.Razor.Language/Extensions/SectionDirectivePass.cs#L22
it should bail before reaching
https://github.com/aspnet/AspNetCore-Tooling/blob/f7e10ccacbe0d2d7b897dff7b27fcd58544445c4/src/Razor/src/Microsoft.AspNetCore.Razor.Language/Extensions/SectionDirectivePass.cs#L45
but I would have to build my own debug copy of Microsoft.AspNetCore.Razor.Language to be sure.

More importantly, this is not the first time or the only case that I have had Visual Studio completely crash on me due to an InvalidOperationException in Microsoft.AspNetCore.Razor.Language.dll. Please consider this bug report to also encompass the issue that devenv.exe is not catching the exception when generating intellisense completions, i.e. addressing this particular crash in Microsoft.AspNetCore.Razor.Language.dll is noble and worthy but it is perhaps more important to make sure that Visual Studio is resilient to such exceptions, which are bound to happen with some (in)frequency even in the most robust codebases. Ideally, this failure to generate intellisense completions should not bring down the entire IDE, and hopefully would not even impact future intellisense generation from the same language/module/service.

/cc @ajaybhargavb

@mqudsi, thanks for the nice detailed report 👍 . I couldn't repro this crash from just what you included above but I suspect the crash you are seeing is because we had a bug in how we handle nested sections. Simpler repro here. This has been fixed and will be part of the next preview servicing update.
I suspect what happens in you case is you probably have another section below the head section. Something like this,
@section head {

}

@section foo {
    <environment>...</environment>
}

So when you start typing the { in the style tag, it happens to nest section foo under head causing the crash.
Please re-open if this is not the case or if you see it crash even with just a single section or no section directive at all.

Thanks for the reply and information, @ajaybhargavb. I do indeed have @sections below this one in the document, additionally the template itself I'm using has a parent template so it contains things like @section head { Html.RenderSection("head") }.
Any word on making Visual Studio itself resilient to module crashes?


onDocumentLoaded callback, rate limits  & queue for NotionAPI document Loader

The updates to the NotionAPILoader class uses a queue to manage loading pages from the Notion API. Pages or page IDs are added to the queue during instantiation or during the loading process if child pages are detected while loading a database. The queue is used to ensure orderly access and management of the pages to be loaded.
This class also supports a callback for when each document is loaded. This call back return the current queue position, the total queue length, the current page title, and the root page title.
To manage the rate at which requests to the API are made, the NotionAPILoader uses the Bottleneck library. This library allows for rate limiting, ensuring that the rate of API requests doesn't exceed the API's rate limits. It makes use of a limiter instance from Bottleneck to schedule requests and load blocks in a rate-limited manner.

At the request of @jacoblee93 I have removed the EventEmitter and replaced it with an onDocumentLoaded callback.

I believe this is ready for final review and merge.

There were a couple of conflicts from the docstrings commit and I updated the docs string to reflect the new usage.

@jacoblee93 I think we're good to go.

I think the diff went a little crazy - are you ok with cherry picking and recreating this PR?

I'll fix this up right away.

I haven't woken up yet, as I missed a couple of the doc strings in the merge. It's all good now.

Looks good! I did see a few of these:
    @notionhq/client warn: request fail {
      code: 'object_not_found',
      message: 'Could not find page with ID: 42485ae5-a22d-4fbe-8576-c29656900f54. Make sure the relevant pages and databases are shared with your integration.'
    }

Might be good to suppress them, but we can do that in another PR since this one has gone on a while and I know you're keen to get it merged.

I guess the idea is you don't know ahead of time whether it's a page or a block? So you try them both?

Or actually, would it be possible to add a check? Feel like it'd freak people out a bit.

Unfortunately this is the only check, and it only happens once per request.
I had it that I would first check for a page, then continue but I realised that they are light calls to the notion API, only returning the page properties, or the database schema. It's faster to do both calls at the same time with Promise.all() then continue the one without errors.
I deprecated the explicit page or database filter, because it complicates the code, doesn't add any time efficiency and can lead to a bad user experience as there is no difference between a page id or a database id.
I can however supress notion's logging, so the user won't be notified.

Makes sense - suppressing is fine in this case.
Thank you! Will get this merged today.


@sveltejs/enhanced-img causes a coredump

Describe the bug
Using @sveltejs/enhanced-img causes the server to fail with this message:
munmap_chunk(): invalid pointer
[1]    341224 IOT instruction (core dumped)  pnpm dev

Reproduction

Install a fresh version of sveltekit, then add @sveltejs/enhanced-img and set it up as described in the docs.
Run pnpm run dev.
Browse http://localhost:5173
Watch the terminal for the error.

Logs
No response
System Info
System:
    OS: Linux 6.6 Arch Linux
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
    Memory: 5.85 GB / 15.58 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
    pnpm: 8.11.0 - ~/.local/share/pnpm/pnpm
    bun: 1.0.15 - ~/.bun/bin/bun
  Browsers:
    Chromium: 120.0.6099.62
  npmPackages:
    @sveltejs/adapter-auto: ^2.1.1 => 2.1.1
    @sveltejs/enhanced-img: ^0.1.5 => 0.1.5
    @sveltejs/kit: ^1.27.7 => 1.27.7
    svelte: 5.0.0-next.19 => 5.0.0-next.19
    vite: ^5.0.6 => 5.0.6

Severity
blocking an upgrade
Additional Information
I couldn't reproduce in stackblitz.

I can't reproduce this. https://stackblitz.com/edit/sveltejs-kit-template-default-xw6jml?description=The default SvelteKit template, generated with create-svelte&file=vite.config.js&title=SvelteKit Default Template
Please provide a minimal reproduction.

@eltigerchino If it helps anyone, I've got it here https://github.com/pockethost/pockethost/actions/runs/7152645710/job/19478195164#step:6:342
Builds fine on local (OS X) but not in CI

@benallfree you need to provide a newly created project that reproduces the coredump.

@benallfree Have you been able to fix it?

I'm experiencing the same.
  System:
    OS: Linux 6.5 Ubuntu 23.10 23.10 (Mantic Minotaur)
    CPU: (8) x64 AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
    Memory: 7.07 GB / 30.78 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
    pnpm: 8.12.1 - ~/.nvm/versions/node/v20.10.0/bin/pnpm
    bun: 1.0.8 - ~/.bun/bin/bun
  Browsers:
    Chrome: 120.0.6099.109
  npmPackages:
    @sveltejs/adapter-auto: ^2.1.1 => 2.1.1
    @sveltejs/enhanced-img: ^0.1.6 => 0.1.6
    @sveltejs/kit: ^1.27.6 => 1.27.6
    svelte: ^4.2.4 => 4.2.4
    vite: ^4.5.0 => 4.5.0

Please provide a minimal reproduction in a repository. It will help us identify the issue more easily

For anyone who can devote some time, I think the easiest reproduction is to create a github action that attempts to build a Sveltekit project that uses this feature. There is something about the github CI environment that causes the core dump.
@eltigerchino

Update:
I was able to narrow down the issue to another package NOT related to svelte, which uses an outdated version of sharp.
So this issue should be closed, I will however put my solution here for future reference.

Explanation
The issue in my case was the using of @dotlottie/player-component along with @sveltejs/enhanced-img in the same project.
@sveltejs/enhanced-img uses sharp===0.33.1 while @dotlottie/player-component uses sharp as follows:
> pnpm why sharp
dependencies:
@dotlottie/player-component 2.7.3
└─┬ @dotlottie/common 0.7.4
  └─┬ @dotlottie/dotlottie-js 0.6.0
    ├── sharp 0.32.5
    └─┬ sharp-phash 2.1.0
      └── sharp 0.32.5 peer
@sveltejs/enhanced-img 0.1.7
└─┬ vite-imagetools 6.2.8
  └─┬ imagetools-core 6.0.3
    └── sharp 0.33.1

Solution
Apart from waiting for @dotlottie/dotlottie-js to update their dependencies, there's another solution to force pnpm to use sharp 0.33.1 for all of my dependencies.
This is done by the following steps:

Delete node_modules directory
Delete pnpm-lock.yaml
Create a new file .pnpmfile.cjs with the following:

module.exports = {
  hooks: {
    readPackage(packageJson) {
      if (packageJson.dependencies && packageJson.dependencies['sharp']) {
        packageJson.dependencies['sharp'] = '^0.33.1';
      }
      return packageJson;
    },
  },
};

Install dependencies again pnpm i

The interesting part is that using @dotlottie/player-component without @sveltejs/enhanced-img works fine and vice versa, but putting those together causes that error!

module.exports = {
  hooks: {
    readPackage(packageJson) {
      if (packageJson.dependencies && packageJson.dependencies['sharp']) {
        packageJson.dependencies['sharp'] = '^0.33.1';
      }
      return packageJson;
    },
  },
};

Thank you senpai

Hello and sorry to bump this issue, I had the same exact issue as @amr3k
Using linux mint 21.x with pnpm, perhaps this issue should be added to documentation, just in case other linux users face issues


Missing support for 2411 model in GCP client?

Hi, I was using the GCP SDK and noticed I was getting
API error occurred: Status 404 Content-Type application/json Body {"object":"Error","message":"The completion model `mistral-large` does not exist.","type":"invalid_request_error","code":3040}

Looking at the source code, I noticed it was missing here:
https://github.com/mistralai/client-ts/blob/main/packages/mistralai-gcp/src/sdk/sdk.ts#L19
Will this version of Mistral be supported? It exists on the GCP model garden

Hi thanks for opening this issue, could you share the code snippet that you used?

Sure, i'll update the issue with a repro :)

I have a workaround by adding a custom hook to the HTTPClient, but it's not ideal

Thanks for the repro, I will investigate the issue 👀

I have a workaround by adding a custom hook to the HTTPClient, but it's not ideal. I could make a PR to fix this, but the SDK is code gen, so didn't know what the process would be

Could you share it? Might help me debug what we are missing 🙇

In fact I think I know the issue -
Basically since 2411 isn't in the map here:
https://github.com/mistralai/client-ts/blob/main/packages/mistralai-gcp/src/sdk/sdk.ts#L19
then this function  is just returning mistral-large, which is why we get the message
..."The completion model `mistral-large` does not exist....

amazing, thanks!

Hum the automation closed the issue, but feel free to re-open it if the bug persist after the new release 🙇

thanks for your help! Do you know roughly when the release will be out?

Do you know roughly when the release will be out?

The 1.3.5 release include the fix


Update to Gradle 5.2.1

Fix

Closing in favor of https://github.com/jaredsburrows/gradle-license-plugin/pull/61


Feature/drawer current user header

Show the current logged in user's image and name, on the drawer header.

Here is screenshot of the bug

@nikhilbansal97 is this fixed ?

Yes, pushing the code now


Added external data for query processing

I added external data support  for query

Coverage decreased (-7.7%) to 86.992% when pulling 588dd163c820818659df05f246378dc17bbe171f on lexaficus:master into f08a398d81f9fe6a331eec0a79a26ccf37e40f2e on roistat:master.

Coverage decreased (-3.5%) to 91.169% when pulling 1450e07fb9c657ccd104640c6da6bf884f25d60b on lexaficus:master into f08a398d81f9fe6a331eec0a79a26ccf37e40f2e on roistat:master.

Coverage increased (+1.7%) to 96.364% when pulling 19496e81c6a6c02efe10c00f43cf767633f3f2ae on lexaficus:master into f08a398d81f9fe6a331eec0a79a26ccf37e40f2e on roistat:master.


Consolidate code of all website pages in 1 repo

Background
There are some pages code of that is located in other places than https://github.com/ubiquity/ubiquity-dollar-development
The example is landing.ubq.fi
Request
Please, consolidate the code of all website pages in 1 repo https://github.com/ubiquity/ubiquity-dollar-development

Somebody other than me should figure out how to host static pages. Then it will be solved.


add new theme

add webpack-common.loader.js
change theme style
move readme file location

Codecov Report

Merging #63 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   23.74%   23.74%   -0.01%
==========================================
  Files          21       21
  Lines       16637    16596      -41
==========================================
- Hits         3951     3941      -10
+ Misses      12686    12655      -31

Impacted Files
Coverage Δ

src/js/Publish.js
25.77% <0%> (-0.33%)
:arrow_down:

src/js/index.js
25.75% <0%> (-0.26%)
:arrow_down:

src/js/Core.js
20.04% <0%> (+0.04%)
:arrow_up:

src/js/AjaxPage.js
20.04% <0%> (+0.04%)
:arrow_up:

src/js/Menu.js
20.04% <0%> (+0.04%)
:arrow_up:

src/js/Sort.js
20.04% <0%> (+0.04%)
:arrow_up:

src/js/Export.js
20.04% <0%> (+0.04%)
:arrow_up:

src/js/Drag.js
24.17% <0%> (+0.11%)
:arrow_up:

src/js/Config.js
25.12% <0%> (+0.12%)
:arrow_up:

src/js/GridManager.js
25.34% <0%> (+0.13%)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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

3Q 3Q


prefix not found in menu.create_vis

When running tests or examples, an error message states that:
File "/home/dominic.parent/miniconda3/envs/artemis-dev/lib/python3.7/site-packages/artemis-0.5.0-py3.7-linux-x86_64.egg/artemis/configurables/configurable.py", line 217, in build
menu.create_vis(prefix=f"{self._uuid}.menu")
TypeError: create_vis() got an unexpected keyword argument 'prefix'

Discussing with @ryanmwhitephd, the issue was isolated to artemis/meta/DirectedGraph.py. Adding prefix as a parameter to create_vis fixed the issue. Change was merged into master.


Revert "refactor: rework the animation frames"

Reverts kz6fittycent/clera#3

Okay, so, I built the snap locally, and it could use some tweaking. The "bomb" starts way too far down in terms of lines before it lands. As a result, there's a ton of blank space in the terminal after it's done. Additionally, I had included os.system('clear') to the end of the script to actually get the terminal to clear. Otherwise, it only serves to irritate people, rather than make it fun.
If you can fix those two issues, I will do another local test build and look at merging into master.


update for 1.9.12

If I had any idea how to do it I would...
Anyone interested?

Are we certain it's not compatible?

Does not do anything for me too.

FYI: My version works, it's based on this one, but upgraded.
https://github.com/clonemeagain/osticket-slack


Delegate has strong reference of ViewController

Calling methods using delegate keeps the strong reference. Hence viewcontroller never deallocated.

my be you need to use  Weak references
       self.inputField.delegates.textViewDidChange = { [weak self] (growingTextView: NextGrowingTextView) in             guard let selfView = self else { return}             let tex = growingTextView.text             selfView.sendButton.isEnabled = !(tex!.isEmptyField)             selfView.isTyping = !(tex!.isEmptyField)         }

@dangnguyenhuu thanks, fixed for me! sample code in readme should include [weak self] example, as I was struggling figuring out what was causing the retain cycle


Write a Kotlin program to print inverted pyramid pattern

Description
Write a Kotlin program to print inverted pyramid pattern
Input   : 5

Output :
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

Contributed by - @PraaneshSelvaraj

How to contribute

Save the solution in PrintInvertedPyramidPattern.kt file
Add PrintInvertedPyramidPattern.kt file in program/print-inverted-pyramid-pattern folder

!assign


Add configuration opton to white-list tables

It would be nice to have "include" option in configuration that would allow us to specify just the tables that we want to be processed by the generator, as opposite to "exclude".

Can you please describe your use case for this? We actually had this feature at one point but decided to replace it with the blacklist functionality, because our assumption is that it should be a rare scenario for someone to only want to generate support for a few of their database tables (because the whole ORM and database generally acts as a cohesive unit; especially in regard to relationships), but a common scenario to exclude a few tables (like migration tables). Of course, if this assumption is wrong, we're open to the idea.

Sure.
it's problematic to blacklist if you have partitioned tables with table inheritance. So for example you have partitioned tables by month and you have master table which should actually be used for any interaction with that model. With current implementation each of those partitioned tables would have to be excluded individually which is cumbersome especially in development phase where these tables are generated automatically and different environments have different tables.
Also it's useful if you want to logically divide models into two or more packages to separate concerns. With whitelisting you could generate models for a subset of tables (e.g. blog, ecommerce, etc.).
If you don't think these are valid arguments for you to invest time I can probably create a pull request if your policy is to accept them.

Fair enough. I have no problem with it, if @aarondl has no objections we can add this back in some time this week. Thanks.

@ajankovic the feature is in the dev branch now, if you'd like to test it. We're going to work on the other features in the issues list before releasing them together.


[gstreamer] gstDecoder -- failed to retrieve next image buffer

./detectnet --model=models/iha/best.onnx --labels=models/iha/labels.txt --input-blob=images --output-cvg=output --output-bbox=images
[gstreamer] initialized gstreamer, version <IP_ADDRESS>
[gstreamer] gstCamera -- attempting to create device csi://0
[gstreamer] gstCamera pipeline string:
[gstreamer] nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, framerate=30/1, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw(memory:NVMM) ! appsink name=mysink
[gstreamer] gstCamera successfully created device csi://0
[video]  created gstCamera from csi://0
gstCamera video options:
-- URI: csi://0
- protocol:  csi
- location:  0
-- deviceType: csi
-- ioType:     input
-- codec:      raw
-- width:      1280
-- height:     720
-- frameRate:  30.000000
-- bitRate:    0
-- numBuffers: 4
-- zeroCopy:   true
-- flipMethod: rotate-180
-- loop:       0
-- rtspLatency 2000
[OpenGL] failed to open X11 server connection.
[OpenGL] failed to create X11 Window.
detectnet:  failed to create output stream
detectNet -- loading detection network model from:
-- prototxt     NULL
-- model        models/iha/best.onnx
-- input_blob   'images'
-- output_cvg   'output'
-- output_bbox  'images'
-- mean_pixel   0.000000
-- mean_binary  NULL
-- class_labels models/iha/labels.txt
-- threshold    0.500000
-- batch_size   1
[TRT]    TensorRT version 8.0.1
[TRT]    loading NVIDIA plugins...
[TRT]    Registered plugin creator - ::GridAnchor_TRT version 1
[TRT]    Registered plugin creator - ::GridAnchorRect_TRT version 1
[TRT]    Registered plugin creator - ::NMS_TRT version 1
[TRT]    Registered plugin creator - ::Reorg_TRT version 1
[TRT]    Registered plugin creator - ::Region_TRT version 1
[TRT]    Registered plugin creator - ::Clip_TRT version 1
[TRT]    Registered plugin creator - ::LReLU_TRT version 1
[TRT]    Registered plugin creator - ::PriorBox_TRT version 1
[TRT]    Registered plugin creator - ::Normalize_TRT version 1
[TRT]    Registered plugin creator - ::ScatterND version 1
[TRT]    Registered plugin creator - ::RPROI_TRT version 1
[TRT]    Registered plugin creator - ::BatchedNMS_TRT version 1
[TRT]    Registered plugin creator - ::BatchedNMSDynamic_TRT version 1
[TRT]    Could not register plugin creator -  ::FlattenConcat_TRT version 1
[TRT]    Registered plugin creator - ::CropAndResize version 1
[TRT]    Registered plugin creator - ::DetectionLayer_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_ONNX_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_TRT version 1
[TRT]    Registered plugin creator - ::Proposal version 1
[TRT]    Registered plugin creator - ::ProposalLayer_TRT version 1
[TRT]    Registered plugin creator - ::PyramidROIAlign_TRT version 1
[TRT]    Registered plugin creator - ::ResizeNearest_TRT version 1
[TRT]    Registered plugin creator - ::Split version 1
[TRT]    Registered plugin creator - ::SpecialSlice_TRT version 1
[TRT]    Registered plugin creator - ::InstanceNormalization_TRT version 1
[TRT]    detected model format - ONNX  (extension '.onnx')
[TRT]    desired precision specified for GPU: FASTEST
[TRT]    requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT]    [MemUsageChange] Init CUDA: CPU +197, GPU +0, now: CPU 225, GPU 2819 (MiB)
[TRT]    native precisions detected for GPU:  FP32, FP16
[TRT]    selecting fastest native precision for GPU:  FP16
[TRT]    attempting to open engine cache file models/iha/best.onnx.1.1.8001.GPU.FP16.engine
[TRT]    loading network plan from engine cache... models/iha/best.onnx.1.1.8001.GPU.FP16.engine
[TRT]    device GPU, loaded models/iha/best.onnx
[TRT]    [MemUsageChange] Init CUDA: CPU +0, GPU +0, now: CPU 249, GPU 2842 (MiB)
[TRT]    Loaded engine size: 23 MB
[TRT]    [MemUsageSnapshot] deserializeCudaEngine begin: CPU 249 MiB, GPU 2842 MiB
[TRT]    Using cublas a tactic source
[TRT]    [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +157, GPU +159, now: CPU 413, GPU 3007 (MiB)
[TRT]    Using cuDNN as a tactic source
[TRT]    [MemUsageChange] Init cuDNN: CPU +241, GPU +244, now: CPU 654, GPU 3251 (MiB)
[TRT]    [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 654, GPU 3251 (MiB)
[TRT]    Deserialization required 2598739 microseconds.
[TRT]    [MemUsageSnapshot] deserializeCudaEngine end: CPU 654 MiB, GPU 3251 MiB
[TRT]    [MemUsageSnapshot] ExecutionContext creation begin: CPU 654 MiB, GPU 3251 MiB
[TRT]    Using cublas a tactic source
[TRT]    [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 654, GPU 3251 (MiB)
[TRT]    Using cuDNN as a tactic source
[TRT]    [MemUsageChange] Init cuDNN: CPU +0, GPU +0, now: CPU 654, GPU 3251 (MiB)
[TRT]    Total per-runner device memory is 17371136
[TRT]    Total per-runner host memory is 177408
[TRT]    Allocated activation device memory of size 18637824
[TRT]    [MemUsageSnapshot] ExecutionContext creation end: CPU 654 MiB, GPU 3251 MiB
[TRT]
[TRT]    CUDA engine context initialized on device GPU:
[TRT]       -- layers       200
[TRT]       -- maxBatchSize 1
[TRT]       -- deviceMemory 18637824
[TRT]       -- bindings     5
[TRT]       binding 0
-- index   0
-- name    'images'
-- type    FP32
-- in/out  INPUT
-- # dims  4
-- dim #0  1
-- dim #1  3
-- dim #2  640
-- dim #3  640
[TRT]       binding 1
-- index   1
-- name    '438'
-- type    FP32
-- in/out  OUTPUT
-- # dims  5
-- dim #0  1
-- dim #1  3
-- dim #2  80
-- dim #3  80
-- dim #4  6
[TRT]       binding 2
-- index   2
-- name    '490'
-- type    FP32
-- in/out  OUTPUT
-- # dims  5
-- dim #0  1
-- dim #1  3
-- dim #2  40
-- dim #3  40
-- dim #4  6
[TRT]       binding 3
-- index   3
-- name    '542'
-- type    FP32
-- in/out  OUTPUT
-- # dims  5
-- dim #0  1
-- dim #1  3
-- dim #2  20
-- dim #3  20
-- dim #4  6
[TRT]       binding 4
-- index   4
-- name    'output'
-- type    FP32
-- in/out  OUTPUT
-- # dims  3
-- dim #0  1
-- dim #1  25200
-- dim #2  6
[TRT]
[TRT]    binding to input 0 images  binding index:  0
[TRT]    binding to input 0 images  dims (b=1 c=3 h=640 w=640) size=4915200
[TRT]    binding to output 0 output  binding index:  4
[TRT]    binding to output 0 output  dims (b=1 c=25200 h=6 w=1) size=604800
[TRT]    binding to output 1 images  binding index:  0
[TRT]    binding to output 1 images  dims (b=1 c=3 h=640 w=640) size=4915200
[TRT]
[TRT]    device GPU, models/iha/best.onnx initialized.
[TRT]    detectNet -- number object classes:  6
[TRT]    detectNet -- maximum bounding boxes:  25200
[TRT]    detectNet -- loaded 6 class info entries
[TRT]    detectNet -- number of object classes:  6
[gstreamer] opening gstCamera for streaming, transitioning pipeline to GST_STATE_PLAYING
[gstreamer] gstreamer changed state from NULL to READY ==> mysink
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter1
[gstreamer] gstreamer changed state from NULL to READY ==> nvvconv0
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter0
[gstreamer] gstreamer changed state from NULL to READY ==> nvarguscamerasrc0
[gstreamer] gstreamer changed state from NULL to READY ==> pipeline0
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter1
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvvconv0
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter0
[gstreamer] gstreamer stream status CREATE ==> src
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvarguscamerasrc0
[gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline0
[gstreamer] gstreamer stream status ENTER ==> src
[gstreamer] gstreamer message new-clock ==> pipeline0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvvconv0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvarguscamerasrc0
[gstreamer] gstreamer message stream-start ==> pipeline0
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode  = 5
Output Stream W = 1280 H = 720
seconds to Run    = 0
Frame Rate = 120.000005
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
[gstreamer] gstCamera -- onPreroll
[gstreamer] gstBufferManager recieve caps:  video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)30/1
[gstreamer] gstBufferManager -- recieved first frame, codec=raw format=nv12 width=1280 height=720 size=1008
[gstreamer] gstBufferManager -- recieved NVMM memory
[gstreamer] gstreamer changed state from READY to PAUSED ==> mysink
[gstreamer] gstreamer message async-done ==> pipeline0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> mysink
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> pipeline0
RingBuffer -- allocated 4 buffers (2764800 bytes each, 11059200 bytes total)
[TRT]    1: [executionContext.cpp::executeInternal::652] Error Code 1: Cuda Runtime (unspecified launch failure)
[TRT]    failed to execute TensorRT context on device GPU
[TRT]    ------------------------------------------------
[TRT]    Timing Report models/iha/best.onnx
[TRT]    ------------------------------------------------
[cuda]      unspecified launch failure (error 719) (hex 0x2CF)
[cuda]      /home/nano/jetson-inference/build/aarch64/include/jetson-inference/tensorNet.h:698
[TRT]    Pre-Process   CPU   0.06578ms  CUDA   0.00000ms
[cuda]      unspecified launch failure (error 719) (hex 0x2CF)
[cuda]      /home/nano/jetson-inference/build/aarch64/include/jetson-inference/tensorNet.h:698
[TRT]    Network       CPU   0.00000ms  CUDA   0.00000ms
[TRT]    Total         CPU   0.06578ms  CUDA   0.00000ms
[TRT]    ------------------------------------------------
[TRT]    note -- when processing a single image, run 'sudo jetson_clocks' before
to disable DVFS for more accurate profiling/timing measurements
[cuda]      unspecified launch failure (error 719) (hex 0x2CF)
[cuda]      /home/nano/jetson-inference/utils/codec/gstBufferManager.cpp:288
[gstreamer] gstDecoder -- failed to retrieve next image buffer
detectnet:  failed to capture video frame
[cuda]      unspecified launch failure (error 719) (hex 0x2CF)
[cuda]      /home/nano/jetson-inference/utils/codec/gstBufferManager.cpp:288
[gstreamer] gstDecoder -- failed to retrieve next image buffer
detectnet:  failed to capture video frame
....
....
....
Where am I doing wrong above? The ./detectnet command works fine? I would be glad if you help. Good work.

@muttakigenc sorry for the delay - if this is still an issue, please check that your MIPI CSI camera works first with the nvgstcapture-1.0 tool.

First of all, thanks. best.onnx is a yolov5 model file. I guess this is the cause of the error. Because it works with other models. So it has nothing to do with the camera connection. To solve this problem, I did the training I did on yolo here again with pytorch.
This shouldn't normally be a problem, right?

@muttakigenc sorry for the delay - if this is still an issue, please check that your MIPI CSI camera works first with the nvgstcapture-1.0 tool.

First of all, thanks. best.onnx is a yolov5 model file. I guess this is the cause of the error. Because it works with other models. So it has nothing to do with the camera connection. To solve this problem, I did the training I did on yolo here again with pytorch.
This shouldn't normally be a problem, right?

This shouldn't normally be a problem, right?

Oh right, no it shouldn't be - your errors were most likely caused by invalid memory accesses due to the fact that my detection post-processing is setup for SSD-Mobilenet, not YOLO.


JB-531 - Success Page: Please make confetti play for longer

What does this PR do and why?
Closes JB-531
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3794

PR #3795

PR #3796

PR #3797

PR #3798

PR #3799

PR #3800

PR #3801

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@wraeth-eth merged this pull request with Graphite.


TypeError

Hi,
don't know if this is an issue or not...
I'm experiencing a fatal error when trying to make the first (simple) query after package installation.
What Laravel reports is: "Argument 1 passed to BlueFeather\EloquentFileMaker\Database\Eloquent\FMEloquentBuilder::__construct() must be an instance of BlueFeather\EloquentFileMaker\Database\Query\FMBaseBuilder, instance of Illuminate\Database\Query\Builder given, called in /Users/marco.tognon/Documents/Progetti/Laravel/adam3/vendor/bluefeather/eloquent-filemaker/src/Database/Eloquent/FMModel.php on line 268".
It seems like it's unable to correctly load classes...
Installation via Composer went well, and all other steps made was taken from your Readme. Laravel version is 8.46.0.

I have version 0.0.21 installed.

Which version of Laravel are you using?

It's 8.46.0

I was testing this with Laravel 8.83.5 and version 0.0.21 and am not able to reproduce this issue.
I also install 8.46.0 to test your specific version and I'm still not able to reproduce this after running through our tests. What is the function you're calling which is triggering this, or can you post a block of your code where you're hitting this error?
This was an issue with Laravel 9 before it was supported, but I haven't seen it in 8, so I'm not sure what is happening here.

I report the interesting part of the stack trace:
FilemakerController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\FM_Unit;
class FilemakerController extends Controller
{
    public function prova(String $database) {
        $unitaPresaDaFilemaker = FM_Unit::first();
        dd($unitaPresaDaFilemaker);
    }
}

... calls FM_Unit, which is defined here:
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use BlueFeather\EloquentFileMaker\Database\Eloquent\FMModel;
class FM_Unit extends FMModel
{
    use HasFactory;
    protected $layout = "Lista completa US";
    protected $fieldMapping = [
        'anteriore a' => 'anteriore_a',
        .....
    ];
}

At runtime, when FMModel is instantiated, the extended class Model's __callStatic() function is called:
public static function __callStatic($method, $parameters) { return (new static)->$method(...$parameters);}
... then the same class's __call() function:
return $this->forwardCallTo($this->newQuery(), $method, $parameters);
... which needs the result of newQuery():
return $this->registerGlobalScopes($this->newQueryWithoutScopes());
... to have in two passages a new query builder without global scopes nor eager loading through two subsequents calls to newQueryWithoutScopes() and newModelQuery().
In this last function, this code is executed:
return $this->newEloquentBuilder($this->newBaseQueryBuilder())->setModel($this);
...which tries to call FMModel's newEloquentBuilder($query) function, passing in the result of $this->newBaseQueryBuilder() as $query parameter.
This is where all stops, exposing that the $query parameter should have been a FMBaseBuilder type and not a Bulder type.

Unfortunately this is not the case...
In my .env file I added:
FM_CONNECTION=filemaker
FM_HOST=<IP_ADDRESS>
FM_PORT=443
FM_DATABASE="ADaM Cossar 1_9_5"
FM_USERNAME=xxxxx.xxxxxx
FM_PASSWORD=xxxxxx
FM_PREFIX=""
FM_VERSION="vLatest"
FM_PROTOCOL="https"

and in config/database.php:
'filemaker' => [
            'driver' => 'filemaker',
            //'url' => env('DATABASE_URL'),
            'host' => env('FM_HOST'),
            'port' => env('FM_PORT'),
            'database' => env('FM_DATABASE'),
            'username' => env('FM_USERNAME'),
            'password' => env('FM_PASSWORD'),
            'prefix' => env('FM_PREFIX', ''),
            'version' => env('FM_VERSION', 'vLatest'),
            'protocol' => env('FM_PROTOCOL', 'https')
        ],

I think you have FM_CONNECTION instead of DB_CONNECTION to set your apps default database connection.

Also, probably the next issue you're going to run into is that if you're using FM_HOST with an IP address and HTTPS you are not going to be able to get a secure HTTPS connection. An SSL certificate will require a domain name to validate the certificate. You'll need to set that up with a real domain name.

No activity - closing issue.

Hey, commenting here because I have a very similar issue, however in my case it seems to only happen when creating a record. Something like Order::create($attributes);
Also, this only happened after upgrading from version 0.0.21 to 0.0.23. I also tried updating to 0.0.27, but that didn't help. My Laravel version is 9.11.0 in case thats relevant.
In contrast to the previous poster I do not have the filemaker connection set up as the default connection. Instead i set the $connection property on the model.
To maybe give you a starting point, I noticed, that in the 0.0.23 release the __construct method was removed from the FileMakerConnection class and in there you would call $this->setConnection($connectionName, $config);, which I think is missing entirely now.

Can you post an example repo where you have this error? I haven't been able to reproduce this.

I've pushed out a new release which I think will resolve this issue. Please give it a test and let me know if this works for you.

Yep, it works now. Thank you for your help.

I actually have 0.0.21
Il giorno mar 15 mar 2022 alle ore 16:01 Smef @.***> ha
scritto:

I thought this was resolved with the 0.0.21 update. Can you check and make
sure you have the latest version installed?
—
Reply to this email directly, view it on GitHub
https://github.com/BlueFeatherGroup/eloquent-filemaker/issues/15#issuecomment-1068088448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFCDPNW2SCRM6RBU2FZONMDVACQ2VANCNFSM5QYB5PSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Support text representation of the wasm

WASM exported using export-genesis-wasm command are not binary but text.
Those are not supported by subwasm

It is possible to export using --binary so this feature is not needed


failure after finished and start

After it finished downloading and installing Windows it failed although it worked on Windows 7 correctly
That's my docker-compose  and what happens in the log
log.txt
docker-compose.txt

Can you try to add this to your compose file:
environment:
  BOOT_MODE: "windows_plain"

Thanks it solved by


How to temporary apply camera lens calibration parameters and then reset it back to defaults?

I have an instance of DepthCamera (TinTinCDK) and after performing the camera lens calibration (to obtain focal length, principle point, etc), I'd like to test the calibration parameters by trying to fit the resulting point cloud to a plane.
The question is: how to temporary apply the calibration parameters (fx, fy, px, py, distortion params) so that to obtain an undistorted point cloud? After that I'd like to reset the parameters back to defaults. Is it even possible?
Looking at the DepthCamera API, I can see different methods like addFilter() or addCameraProfile() as well as set(). Would it be one of this methods? Or something else?
Thanks!

Victoria
Are you trying to use a different lens calibration or no calibration?
One way they do what you are asking is to create a new calibration profile from a desired parent and then perform only lens calibration on it. Then edit the lens parameter to whatever you want.
The new profile configuration file could be found under .Voxel/conf of your home directory.
-Larry
Sent from my iPhone

On Oct 27, 2017, at 10:09 AM, Victoria Rudakova<EMAIL_ADDRESS>wrote:
I have an instance of DepthCamera (TinTinCDK) and after performing the camera lens calibration (to obtain focal length, principle point, etc), I'd like to test the calibration parameters by trying to fit the resulting point cloud to a plane.
The question is: how to temporary apply the calibration parameters (fx, fy, px, py, distortion params) so that to obtain an undistorted point cloud? After that I'd like to reset the parameters back to defaults. Is it even possible?
Looking at the DepthCamera API, I can see different methods like addFilter() or addCameraProfile(). Would it be one of this methods? Or something else?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Larry,
I'm doing my own calibration. I already got all the coefficients: fx, fy, px, py and lens distortion and want to replace what is used by default. Now I would like to use the calibration coefficients in order to obtain an undistorted cloud. You mention that I should try creating a new calibration profile from a parent. Will I be able to revert the changes back to defaults? If yes, could you tell what methods to use for that?
Currently I'm thinking to use:
int id = depthCamera->addCameraProfile("MyLensOnly", -1);
Voxel::ConfigurationFile* configFile = depthCamera->configFile.getCameraProfile(id);
configFile->setFloat("calib", "fx", intrinsics.fx);
// set other lens params

configFile->write(); // is this correct to use?

// ... and now if I want to restore the default profile, what's the best way to do it?
// ...

Does this sound right?
Btw, thanks for the fast reply!

Well, since the new profile that you create is inherited from a  parent profile, to go back to "default", just select the parent profile instead of your new one.

It is probably easier to create a new profile using Voxel Viewer, and then edit it by hand.  Voxel SDK will read from the .Voxel/conf directory to retrieve all the profiles, then your program selects which profile to load onto the hardware.  Creating and adding new profile programmatically is not the way to go, IMO.

I see, thanks for clarification. Unfortunately, for us, we would need to somehow change the lens parameters programmatically, on the go and then revert them back.
I was looking into the DepthCamera interface and found it has an instance of PointCloudFrameGenerator which uses PointCloudTransform. I noticed that transform contains the parameters that are potentially what I need to change. Do you think it is a way to try to subclass DepthCamera and set the lens parameters through using the generator and transform to what I need, and then reset them back? In your opinion Is it meaningful / doable?

If you have to change configuration parameters, such as lens parameters, the best way is probably load in the "default" configuration and programmatically substitute the lens parameters with your own.  Example of how to read and write configuration parameters can be found under Test/CameraSystemConfiguration.cpp, the parameter write is at this line.
To return to default, just reload the configuration.  Example is here.

Larry, thanks so much for help! I will be looking at those examples; this is probably what I need.


Mention usage of related finetunes

I added an additional info box under the model list in hope that it makes this info more prominent. I think it might not hurt as it is sometimes overlooked by users.

I think it's a better placement.
But what about this: https://github.com/Lightning-AI/litgpt/blob/main/tutorials/download_model_weights.md#finetunes-and-other-model-variants
You want to keep it?

I think it doesn't hurt to keep it because it can be linked directly via the hyperlink ref whereas the box can't unfortunately.

I find it odd to have the block of text twice in the same file


Delete method non working on custom class that implements IEntity

Hello, I have defined this baseclass for my objects. I copied it from the Entity class because extending it would mess the collection name mapping mechanism.
  [DataContract]
    [Serializable]
    [BsonIgnoreExtraElements(Inherited = true)]
    public abstract class BaseObject : IEntity<string>
    {
        /// <summary>
        /// Gets or sets the id for this object (the primary record for an entity).
        /// </summary>
        /// <value>The id for this object (the primary record for an entity).</value>
        [DataMember]
        [BsonRepresentation(BsonType.ObjectId)]
        public virtual string Id { get; set; }

        /// <summary>
        /// This method could be invoked to set up somestuff
        /// </summary>
        public virtual void Init() { }

        public virtual DateTime CreationDate
        {
            get {
                if (!string.IsNullOrWhiteSpace(Id))
                    return ObjectId.Parse(Id).CreationTime;

                return DateTime.MinValue;
            }
        }
    }
}

The problem is that when I call the repository.Delete method nothing happens. I tracked down the code and got to the definition of the method. The problem is in that If statement that only limit the execution to the entity class items while it should be more about who implements the IEntity interface I think.
       /// <summary>
        /// Deletes an entity from the repository by its id.
        /// </summary>
        /// <param name="id">The entity's id.</param>
        public virtual void Delete(TKey id)
        {
            if (typeof(T).IsSubclassOf(typeof(Entity)))
            {
                this.collection.Remove(Query.EQ("_id", new ObjectId(id as string)));
            }
            else
            {
                this.collection.Remove(Query.EQ("_id", BsonValue.Create(id)));
            }
        }

A working solution would be to change it to
 public virtual void Delete(TKey id)
        {
            if (typeof(T).GetInterfaces().Contains(typeof(IEntity<string>)))
            {
                this.collection.Remove(Query.EQ("_id", new ObjectId(id as string)));
            }
            else
            {
                this.collection.Remove(Query.EQ("_id", BsonValue.Create(id)));
            }
        }

Best regards
Marco

Hi Marco,
Okay, this one's a bit tough to explain but I'll try. I must admit you had me convinced at first this was a bug but, now, I do not agree (totally) but I will admit it's a bit sketchy...
I'll try to work this out with an example:
Suppose you implemented a class as IEntity<int> instead; this way it's pretty clear that when you implement IEntity (instead of derive from Entity) you're pretty much responsible yourself for generating (unique) Id's upon inserting items. So you set MyObject.Id = 12345 on creation (or just before insertion) of the object and can then call MyRepo.Delete(MyObject.Id);. Everything's fine here.
Now you implement IEntity<string>. Because the Id is a string Mongo will generate an Id for you (specifically: an ObjectId) as you indicated with the BsonRepresentation attribute. However, upon deletion a string is passed in and Mongo goes off searching for a string which it will never find; it needs to look for an ObjectId. Your proposed fix fixes the specific case where the Id happens to also be an ObjectId. But it will fail if I created an entity implementing IEntity<string> on which I'd like to assign, say, a GUID (Guid.NewGuid().ToString("N")) for the Id property instead of an ObjectId. The IEntity interface implicitly means you have to handle assigning Id's yourself and you loose the ObjectId (MongoRepository tries to abstract as much Mongo-specific stuff away anyway to be as loosely-coupled as possible; the attributes I never recommend although they can come in handy admittedly).
I guess the best solution for you would be to drop the BsonRepresentation attribute and handle assigning Id's, possibly in the constructor or in your derived repository's Add(...) method (using ObjectId.GenerateNewId().ToString()), to make sure the value isn't persisted in MongoDB as an ObjectId but as actual string. This way, the Delete() method will also be able to find the matching object.
I admit it's a bit hairy but I can't break backwards compatibility (or at least: strive to do so as little as possible). I could, alternatively, check in the else clause of the Delete() method if the string 'looks like an ObjectId' (using ObjectId.TryParse()) and pass the string as ObjectId to Mongo or else just as a normal string. But this kind of "autodetection" usually causes more harm than it does good and has the potential to also create edge-cases/bugs that are hard to find/reproduce since you expect a string to be used as id which is then 'automagically' converted to an ObjectId without you knowing (essentially creating a similar issue as you have now).
Your proposed .GetInterfaces().Contains(...) solution is also, potentially, a pretty 'expensive' one, depending on the number of interfaces an object implements. I'm pretty sure this could be implemented like, for example, something along the lines of "if (T is IEntity)" or "typeof(IEntity).IsAssignableFrom(typeof(T))" (but then their 'generic variations') but I don't have an development environment, nor the time, at hand currently to work out what it would look like exactly. I'm just posting this as a hint for people wanting to think along with me/us.
I am, as always, open for suggestions and discussion. Let me know what you think! Meanwhile, I'll try to see if I can come up with a clean, satisfactory, solution that works in all cases.

Hi, thank you for the response.
I kind of understood what you've explained, even if this is my first mongodb project, so I'm new to this world.
As I don't have a solution I will try to explain you why I've implemented the IEntity instead of subclass the Entity class: I wanted some custom fields that comes in handy like the CreationDate property (obtained from the handy objectId) and an Init method that I call from my ultra generic webapi controller.
Obviously I wouldn't pollute the Entity class or ask you to (even if perhaps those fields could be useful to everybody I guess and shouldn't generate so much overhead), so at first I subclassed the entity with a custom class called BaseObject : Entity where I added my fields. Therefore all my business objects inherited from BaseObject.
Everything in the project started to fail at runtime, and after a bit of debugging I found out that MongoRepository was writing this objects into the BaseObject collection instead of the  proper collection that matched the class name: I had a BaseObject collection with subjects, orders, addresses, etc. all mixed.
So I reverted it and done a "intelligent lending" (aka copypaste) of your Entity class, that led me to discover this issue.. and here I am :)
Regarding the GetInterfaces().Contains vs IsAssignableFrom I thought of that issue too but I read somewhere on stackoverflow that the IsAssignableFrom isn't so much reliable (but I mildly assimilated the info without a deeper understanding).
So, getting to the point, I can:

Leave this as is and implement my own modification of your library every release (umh)
Lure you into adding the CreationDate property and the Init() method to the Entity class (ummmmmh)
Revert the BaseObject to be a subclass of entity and somehow fix the collection name resolver bug (if still there... it's been a while). Perhaps decorating the class with the attribute of the collection name should do the trick but I'm lazy :)

thanks for your time
Marco

I don't think you are doing this in a right way.
If you look inside MongoRepositoryTests folder you can see there is an implementation of Custom id property.
[CollectionName("MyTestCollection")]
public class CustomIDEntityCustomCollection : CustomIDEntity { }
You can have any structure for your entities (inheritance etc.) as far as you follow the directions. The scenario you'are describing are almost all covered in Tests.

Yes, as I said I will try decorating the class with the collectionname attribute and that should do the trick.
I would have expected, as long as I was only subclassing the Entity class and not making a custom Id entity, that the collection autonaming mechanism would work without it, but it's no big deal using it.
Regarding the oringial issue, perhaps the "autodetection" mechanism could be implemented in the else clause of the Delete method just to throw an Excepion explaining the issue so the developer is aware that something is wrong, because right now it just silently fail.
Best regards,
Marco


disagg: Set client RPC timeout for FetchDisaggPages

Cherry-pick #8807 and #8795 manually.
What problem does this PR solve?
Issue Number: close #8806
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests


qrencode is packaged twice

Two different packages build the same source in basically the same way. I think only one of them should exist.

libqrencode: pkgs/development/libraries/libqrencode/
qrencode: pkgs/tools/graphics/qrencode/

Both packages use https://fukuchi.org/works/qrencode/qrencode-${version}.tar.gz as their src. libqrencode sets doCheck = true but otherwise neither package overrides any of the build phases. They have somewhat different buildInputs but I'm not sure the differences change the way the package builds.
I'm not sure which one to suggest keeping but I'm pretty sure these packages should be merged somehow.

It is primarily a library so I would keep it in libraries directory, but it is commonly packaged without the lib prefix so I would drop that.
autoconf automake libtool should not be necessary, since the tarball contains pregenerated configure script.
libpng is only used for the binary, we split it out into a separate output. SDL is only used for the tests. Neither should be propagated.


Refine GitHub Permissions

Right now using this requires granting permission read and write permission to both private and public repos. Is this required and if not would it be possible to restrict it down for this app?

Unfortunately it is required for GitLight to ask read and write permissions because the repo scope is needed in order to provide precise data. Without it, notifications would be the same as in the GitHub notifications page (not that good). And there is no scope that only ask for read permissions, which would be great because I don't write anything

Just discovered fine-grained personal access tokens, I'll try to integrate them


Corrupt CBOR payloads in MCUMGR when sending multiple commands together

When using MCUMGR SMP commands in quick succession, corrupt CBOR payloads are seen by the parser.

Suspect that the issue is related to incorrect fifo use for incoming netbuf's:
In mcumgr/smp.c, I replaced k_fifo_put and k_fifo_get with net_buf_put and net_buf_get and can no longer reproduce the issue.
Suggest correcting these calls and auditing other modules within Zephyr to ensure there are no other instances of k_fifo_put/get with net buf's.
For context, see: https://docs.zephyrproject.org/latest/reference/networking/net_buf.html

@jrhees-cae Could you provide more context related to this issue? How to reproduce it? Which Zephyr version did you use, what type of transport protocol was used (BT, UART, SHELL, UDP), etc.? On which side do corrupted CBOR payloads appear (Zephyr or host)?
Looking quickly at net_buf_{get,put} vs k_fifo_{get,put}, I think that using k_fifo API is correct in current context - at least I don't see anything obviously wrong.

According to the docs (and my reading of the buf source code), netbuf references should always use net_buf_put/get in case the netbuf has fragments.
I am using NCS 1.4 (not sure which Zephyr version it includes).
Transport protocol is BT. The corrupted CBOR payloads were on Zephyr side (e.g., parsing CBOR coming from the host).
When I added debug code to look at the netbuf payload contents before the fifo_put() call, the data from the host was intact. When I looked at the payload contents after retrieving from fifo_get, the netbuf payload was not longer intact.
This only would be seen when I was doing multiple SMP commands stacked (e.g. I was using multiple netbufs from the pool before they were freed).

According to the docs (and my reading of the buf source code), netbuf references should always use net_buf_put/get in case the netbuf has fragments.

My understanding of the code is that no net_buf fragments are used. Instead, just single net_buf is allocated and enqueued to FIFO at a time. Then each received net_buf is processes separately. So that is why I think net_buf_{put,get} API is not needed. In fact, using net_buf_{put,get}, as you suggested, could result in dropping some net_bufs (when multiple net_bufs would be enqueued, then just the first one would be processed, rest would be freed).

Hmm, interesting. Is there any sort of debugging info I could provide to help understand this issue better? Changing those function calls definitely cleared up the problem (on my setup anyway), but I completely understand that it might be a red herring.

As a start, you could provide data based on which you have filed this bug. So dump of bytes before putting net_buf on FIFO and after getting from FIFO. I would like to see those "corrupted" packets and their data when they were "okay" before putting them into FIFO. Still, I would like to see what Zephyr version you are using. git describe in Zephyr repo should tell us enough.

per git describe I see: v2.4.0-ncs1
I will work on getting a debug dump within the next day. Thanks.

Do you use the mcumgr cli (https://github.com/apache/mynewt-mcumgr-cli) for the communication? I have not been able to find info on how you contact the mcumgr within Zephyr.
With mcumgr cli you may use -l "debug" to get comm dump

To exercise the MCUMGR, I have been using the "nRF Connect Device Manager" application for Android. This application works OK as-is, and is based on (a Nordic-themed modified fork of) the mcumgr-android library here: https://github.com/JuulLabs-OSS/mcumgr-android
However, the mcumgr-android library was updated with a new feature to speed up firmware uploads by sending multiple upload packets in a row before waiting for the response from the previous write. Attempting to use these new features causes the behavior I am describing.

I'm running into this issue as well and separately reached the same conclusion that the k_fifo_put and k_fifo_get calls are the root cause. struct net_buf uses the FIFO next pointer as it's fragment pointer and requires special put/get logic to make that work as far as I can tell. I added a bit of tracing to zephyr_smp_rx_req() and zephyr_smp_handle_reqs() to show the netbufs. Note the format for this tracing is nb: <net_buf addr> [<frag addr's>, ...]
 The failing case results in the net bufs being re-processed after they've been freed, which naturally leads to all sorts of mayhem.
This fails any time multiple requests are received between each run of the processing loop. This means it's pretty easy to repro by just blocking the work handler from running long enough to get two or more requests in. In my case I'm running into using the mcumgr CLI, and the error occurs while waiting for a flash page erase.

I'm running into this issue as well and separately reached the same conclusion that the k_fifo_put and k_fifo_get calls are the root cause.

@khutchens Thanks for digging into this more deeply. I haven't had cycles to do it myself.

Thanks for testing! I have looked once again into net_buf_put and net_buf_get and it seems that using them is the right thing to do. The problem with k_fifo_get() is that it returns a net_buf object (lets call it nb), which will have nb->frags != NULL whenever there was more than a single element in the queue (FIFO). We can solve that in two ways. One way is to clear nb->frags = NULL after k_fifo_get(). Another way is replacing k_fifo_* with net_buf_* API, as you suggested and tested above. The latter seems to be more future-proof of course.

It may be worth an audit of other modules in Zephyr to see if this change (e.g. using k_fifo... api's with netbufs) needs to be applied elsewhere.

It may be worth an audit of other modules in Zephyr to see if this change (e.g. using k_fifo... api's with netbufs) needs to be applied elsewhere.

I've taken a pretty quick look at other modules and didn't see issues there. But it would be good if others can confirm.

I scrubbed through the codebase and only found one other case where a k_fifo_(put|get) call is made on a struct net_buf object, in canbus/isotp/isotp.c:pull_frags(). That function seems to be doing roughly what net_buf_get() would do so it may be safe. I admittedly didn't think hard enough about what that function is doing to conclude whether it's an acceptable use or not.
There are also many instances of using k_fifo_(put|get) with struct net_pkt. That seems to be correct usage though as struct net_pkt doesn't have the same specialized put/get requirement at struct net_buf as far as I can tell.

@khutchens I got to the same conclusions as you.


Add names to resources  for debugging with NSight/RenderDoc

Fixed by https://github.com/DiligentGraphics/DiligentCore/commit/caab72a09ce3bb26577ad487ea1ea61b5ec33c39


[bug] Tauri creating AppData\locale*app*\EBWebView with privliges

Describe the bug
Hi, I have a problem with tauri as a priveleged program.
I added the manifest so that tauri asks for admin permission, but i have the problem that after it starts it says: "Microsoft Edge doesn't have write or read permission: C:\Users\admin\AppData\Local\EBWebView
now does it really need this folder or can i somehow disable it.
The Programm needs privelges because it's a small programm that executes a few powershell commands to add a computer to a specific domain and install programms.
###Edit
The problem is that Microsoft Edge Webview2 does not have elevated privilegeswhen i execute as admin or with a manyfest can i somehow change the config so that webview also starts with privileges
Reproduction
Write a Tauri app and execute it with admin privliges. But not the Microsoft Administrator but a Domain admin or another use who has admin rights but you don't have them.
Expected behavior
I expected it just starts in the scope as Admin as every other program
Platform and versions
[✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 115.0.1901.183
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.71.0 (8ede3aae2 2023-07-12)
    ✔ Cargo: 1.71.0 (cfd3bbd8f 2023-06-08)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.16.1
    - pnpm: 8.6.8
    - npm: 9.5.1

[-] Packages
    - tauri [RUST]: 1.4.1
    - tauri-build [RUST]: 1.4.0
    - wry [RUST]: 0.24.3
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: 1.4.0
    - @tauri-apps/cli [NPM]: 1.4.0

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../build
    - devPath: http://localhost:5173/
    - framework: Svelte
    - bundler: Vite

Stack trace
No response
Additional context
No response

I think we can solve this by simply not creating the data dir ourselves and leaving it to webview2 to create it. This seems to work on my machine, with and without admin permissions, without any panics we apparently had 2 years ago.

This was not meant as an answer or workaround for you but for how to resolve it inside tauri itself.
For you the workaround would be to find a way to create the directory without admin permissions before the tauri::Builder line in main.rs but i can't think of a way to do that rn.

Oh ok i misunderstood that.
Is this something i could change myself?
That the directory doesn't get created by tauri but by webview to test if this would solve my issue?

First, delete the C:/Users/<username>/AppData/local/<bundle-identifier> folder. Then add this to your Cargo.toml file:
[patch.crates-io]
tauri = { git="https://github.com/tauri-apps/tauri", branch="fix/datadir" }
tauri-build = { git="https://github.com/tauri-apps/tauri", branch="fix/datadir" }

Then, run cargo update in your src-tauri dir and try again.

Ok this doesn't seem to work for me.
My Steps
I log into an domain admin account install the program and execute it.
Than i switch into another (none admin) domain account and try to execetue the program as admin (because the ps scripts it runs need admin permissions) and I instantly get the error "Microsoft Edge doesn't have read and write permissions to: C:\Users\admin\AppData\Local\TauriApp\EBWebView

hmm, i can't think of a way to fix this right now other than somehow checking the folder permissions first and creating a second dir next to it as a fallback, or maybe even try to delete the old folder since you start it with admin).
Does the same error happen when you run the app without admin privileges (after you ran it with a domain admin account first) ?
Also, how did you install the app, via the msi or setup.exe or something custom? And in what dir?
Lastly, that non-admin account is not called admin right? because then i don't get why it tries to access C:\Users\admin in the first place here 🤔

This is a weird Windows thing. Because i start the app as admin but this admin is a another user on the domain, the app runs in the scope of the user admin.
For example if you execute notepad as admin and you go to file -> open you get the directories and files of the user admin and not the currently logged in user Fabio.
Because it runs in the scope of anothre user.
So if i start the App without admin permissions it creates the directory for current logged in user and if I start it with admin rights.
It tries to create it in that users AppData but because I am logged in with a different user and the app just runs in this scope maybe not all subproccesses that are needed for this app get elevated to this scope and so i get this error message.
Or because AppData is usually a hidden directory you are just not allowed to read/write to it from any other user no matter the permission.
I tried both insallers .msi puts it in C\ProgramFiles\ .exe puts it in C:\User*user*\Appdata
Yeah the non-admin account is called Fabio and because i execute a as admin and the admin as another user with admin permissions it runs it in the scope of the user.
I think there is nothing more we could do.
I fixed it by chaning our idea of the program and just do all the configuration and installing of programs inside the admin account without changing to a non-admin account.
But this adventure certaintly is interesting Windows permission handling is really weird.


add FO workstream logos

Product Control Common Template
Commodities Payout Terms

@agitana - could you please call the SVGs <initiative name>.svg , where <initiative name> is lower case and uses - instead of space separators? Please see the other file names. TY!

thanks @maoo, I've updated the file names


📊 climate: total precipitation

closed as didn't see any particularly interesting patterns in the data for now


New App Submission - CoinCircle Wallet

App Logo (Required)

App Details (Required)
Type: Wallet
Name: CoinCircle
Description: Earn, Pay, Buy, Borrow Crypto
Homepage Url: https://coincircle.com
Chains supported: Ethereum Mainnet
Versions supported: 1.0
App Url (Required - at least one)
Browser Url: https://coincircle.com
iOS Url: https://apps.apple.com/us/app/coincircle/id1470350344
Android Url: https://play.google.com/store/apps/details?id=com.coincircle
Mac Url:
Windows Url:
Linux Url:
Mobile Linking (Optional)
Deep Link (iOS): com.coincircle.app://walletconnect
Deep Link (Android): com.coincircle://walletconnect
Universal Link: https://coincircle.com/app
Universal Link for WalletConnect: https://coincircle.com/app/walletconnect
Desktop Linking (Optional)
Deep Link:
Universal Link:
Metadata (Optional)
Short Name:
Primary Color: #2499c4
Secondary Color: #1c2d5a

Hello WalletConnect team, We'd love to have this merged when you guys get a chance?  Thanks!

@pedrouid bump on this sorry to bother.

hey @pedrouid am sure you're super busy, anything we can do to try to get our submission reviewed?  We added WalletConnect to our code & our app, it's pretty stable and working pretty well, our app has had WalletConnect functionality live and working in the app store for about a month now -- we've tested it with a ton of dapps and have handled all the edge cases I think pretty well -- any idea when you'll be able to get to this (or) maybe @grachyov could help?  Let us know if there's anything we can do.  Would love to see this happen, thanks in advance!   WalletConnect rocks.  Thanks

Closing since it was submitted to the cloud registry
(sorry for the delay!)


Allow to configure the compaction checker policy

This PR close #1291 .

@ellutionist can you help to resolve conflicts?

Thanks all, merging...

Thanks for @ellutionist contribution again.


built in mount menu

Please describe the problem you're trying to solve
a way to easily manage drives
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
simply add a menu used to manage different drives/partitions (mount, unmount, CD to), would also be preferable if it showed all mounted partitions in an easily accessible path, though that depends on if yazi was designed from the start to be obscured from the file system or not
Additional context
No response

Hi, it's already included in the Feature Request, but I want to implement it as a plugin, just like https://github.com/SL-RU/ranger_udisk_menu, instead of embedding it, because there are cross-platform issues - it only works for Unix users.
Ideally, built-in commands should satisfy all platforms, and implementing it as a plugin will provide greater flexibility, allowing users to configure them in Lua. If you or someone interested in implementing it, please let me know, and we can further explore it, closing as duplicate.

I mean, I can design great ncurses based UIs, and I could write the entire mounter myself, issue is, idk lua, so there's that
if we could write it in python, and then the init.lua just runs that, then yes, I could do it

Yup this is possible, by implementing it through Python and then using shell --block command to call it as an external TUI program, just requires introducing Python as a separate dependency, the integration of fzf and zoxide is also achieved in this way - they are external TUI apps.

alright, great, I'll write it today, create a repo for it, and send you the link once it's done
would also be useful for people who want to use such a program, but don't want to use yazi, so there's that

There is a bash script called bashmount, I used it in ranger or just in terminal, I tried it in yazi, it works but it doesn't display input.


OpenSearch / OpenSearch Dashboards - Puppet modules

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Provide Puppet modules to manage the deployment of OpenSearch / OpenSearch Dashboard.
Describe alternatives you've considered
There are modules for ElasticSearch components managed by elastic which are available on the Puppet Forge.
The modules are licensed under the Apache 2.0 license, but Elastic still wants the contributors to sign it's CLA before submitting code to them.
The module have some problems, and very low maintenance with more than 30 open PR, most having a broken status because of a broken test suite, and some of them being very trivial (e.g. typos) :sob:
Additional context
Availability of packages is I think a prerequisite.  Related issues:

#28
#27

Then I can either fork the Elastic repositories of the modules and adjust them to manage OpenSearch, fix CI and move on, or start from scratch (I guess both are valid because of the Apache-2.0 license of the module).
These modules could be published under an opensearch account on the Puppet Forge.

These modules could be published under an opensearch account on the Puppet Forge.

That's not a bad idea - just reserve the account for future use.
@peterzhuamazon / @bbarani what do you think?

I move this issue to the devops repo and see if community can help with this. Thanks.


Add support to override hostname and username via env vars

This PR allows you to set ATUIN_HOST_NAME and ATUIN_HOST_USER as a means of overriding the default values from the system calls. I found that controlling the hostname and user when using devcontainers in a container was extremely tedious and this will help a great deal in controlling how things are persisted in atuin.
I chose the names  ATUIN_HOST_NAME and ATUIN_HOST_USER to try to avoid confusion with a user's atuin username, but if anyone has any recommendations I'd be more than happy to change them.

Formatting :'(


Segmentation fault after installation (Arch Linux, arangodb v3.3.3-1)

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[x] 3.3 (3.3.3-1)

Mode:

[x] Single-Server

Storage-Engine:

[x] mmfiles

On this operating system:

[x] Linux

[x] other: Arch Linux (installed from AUR)

this is an installation-related issue:
The following problem occurs:
After a fresh install of arangodb, when I run arango-secure-installation or arangod I get a segmentation fault.
Backtrace (identical for both above mentioned commands) follows:
#0  0x0000555555e1655e in arangodb::ReplicationTimeoutFeature::prepare()
    ()
#1  0x00005555564e1f39 in arangodb::application_features::ApplicationServer::prepare() ()
#2  0x00005555564deace in arangodb::application_features::ApplicationServer::run(int, char**) ()
#3  0x0000555555cba77a in ?? ()
#4  0x0000555555cb93e7 in main ()

I can confirm that my /var/lib/arangodb3/ENGINE file was empty. When I put mmfiles in and fixed some access permissions, both commands worked as expected.
Thank you @jsteemann !

Hi @mrkvon  ,
Thanks for reporting this bug
We have released 3.3.5, and it includes a fix for it
I am closing this ticket now. Please feel free to reopen if the problem persists


DOC: fix the formula typo

fixes #9286

Thanks @akahard2dj the fix looks good to me. You can see the formatted docs here.


Add support for building coordinate system with from_cf/to_cf

Since WKT (or PROJ JSON) is the backend for the CF conversions, additional support for different units and axis order are now possible. Currently the x/y axis order and units of meters for projected degrees for geographic are assumed.
http://cfconventions.org/cf-conventions/cf-conventions.html#coordinate-system
Examples of input units can be accessed from the coordinates:
http://cfconventions.org/cf-conventions/cf-conventions.html#coordinate-types
  double y(y);
    y:units = "km";
    y:long_name = "y coordinate of projection";
    y:standard_name = "projection_y_coordinate";
  double x(x);
    x:units = "km";
    x:long_name = "x coordinate of projection";
    x:standard_name = "projection_x_coordinate";
  double lat(y, x);
    lat:units = "degrees_north";
    lat:long_name = "latitude coordinate";
    lat:standard_name = "latitude";
  double lon(y, x);
    lon:units = "degrees_east";
    lon:long_name = "longitude coordinate";
    lon:standard_name = "longitude";

Additionally, the vertical component can be supported:
http://cfconventions.org/cf-conventions/cf-conventions.html#vertical-coordinate
axis_name:units = "meters" ;
axis_name:positive = "down" ;

See also: https://github.com/cf-convention/cf-conventions/issues/223

Horizontal dimensions are those whose coordinate variables have an axis attribute of X or Y, or a units attribute indicating latitude and longitude.

Issues that would help with this:

https://github.com/cf-convention/cf-conventions/issues/247
https://github.com/cf-convention/cf-conventions/issues/248

This looks useful: https://github.com/SciTools/cf-units
Using:  m.convert(1, "m") on any unit should get the unit conversion factor.
Not going to include in pyproj as it adds unnecessary dependencies for a piece of functionality that may or may not be used. Instead, I am leaning towards documentation for how to do it yourself.

https://github.com/OSGeo/PROJ/blob/master/data/sql/unit_of_measure.sql

Can do fraction of unit - this can be used for unit conversion factor:
>>> from cf_units import Unit
>>> u = Unit("0.5 m")
>>> u.convert(1, "m")
0.5


[FLINK-13632] Port EnumValueSerializer upgrade test to TypeSerializerUpgradeTestBase

What is the purpose of the change
Port EnumValueSerializer upgrade test to TypeSerializerUpgradeTestBase
Verifying this change
This change is already covered by existing tests, such as (please describe tests).
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

verified using the snapshot-data generated on release-1.9
PS: this need merged base on #41 ,because it needs to reference TypeSerializerUpgradeTestBase#migrationVersions


adds new ipynb for combining/using multiple analyses

@kmaphoenix FYI

@matthiasak ping!

it's on my list :-) sorry I'm booked for like 60hrs/wk right now
Cheers,
Matt
On Wed, Oct 18, 2023 at 9:12 AM Patrick Marlow @.***>
wrote:

@matthiasak https://github.com/matthiasak ping!
—
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/142#issuecomment-1768552536,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG35J4SMQ2BS2X4UVBFEIDX77PWHAVCNFSM6AAAAAA4EZKBSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRYGU2TENJTGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


error when build scip-7.0 on windows

i run
cmake ..
got
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17763.
-- The C compiler identification is MSVC 19.24.28316.0
-- The CXX compiler identification is MSVC 19.24.28316.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find GMP (missing: GMP_INCLUDE_DIRS GMP_LIBRARIES)
SoPlex with Boost CPP multiprecision libraries.
-- Performing Test Quadmath_USE_DIRECTLY
-- Performing Test Quadmath_USE_DIRECTLY - Failed
-- Could NOT find Quadmath (missing: Quadmath_LIBRARY Quadmath_INCLUDE_DIR)
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR program_options) (Required is at least version "1.58.0")
CMake Warning at soplex/CMakeLists.txt:162 (message):
Boost could not be found! ONLY the SoPlex library can be built without
Boost.  The SoPlex binary will NOT be built.  If you require the binary,
please make sure Boost is installed and your BOOST_ROOT environment
variable is set.
CMake Error at soplex/check/CMakeLists.txt:66 (if):
if given arguments:
"GREATER_EQUAL" "107000"

Unknown arguments specified
-- Configuring incomplete, errors occurred!
See also "E:/github/scipoptsuite-7.0.0/build/CMakeFiles/CMakeOutput.log".
See also "E:/github/scipoptsuite-7.0.0/build/CMakeFiles/CMakeError.log".

Can you upgrade your CMake to the latest version? I think this should work with newer versions of CMake.

Not a JSCIP issue and probably fixed in newer CMake versions, closing.


Only 3 letters are framed on the sections

The title is pretty much it, how to frame the whole section name, please ?

You could replace the following:
https://github.com/spagnuolocarmine/TwentySecondsCurriculumVitae-LaTex/blob/0ea24a41bca0b22bb400ab01f4c10524c2878114/twentysecondcv.cls#L218-L256
by:
%%%%%%%%%%%%%%%%%%%%%
% Section Color box %
%%%%%%%%%%%%%%%%%%%%%
\newcounter{colorCounter}
\newcommand{\@sectioncolor}[1]{             % <- Changed
  {%
   \round{#1}{                              % <- Changed
      \ifcase\value{colorCounter}%
        maingray\or%
        mainblue\or%
        maingray\or%
        mainblue\else%
        maingray\fi%
    }%
  }%
  \stepcounter{colorCounter}%
}

\renewcommand{\section}[1]{
  \par%\vspace{\parskip}
  {%
    \LARGE
    \color{headercolor}%
    \@sectioncolor{#1}%                     % <- Changed
  }
  \par\vspace{\parskip}
}

\newcommand{\sectionicon}[2]{
  \par%\vspace{\parskip}
  {%
    \LARGE
    #1
    \color{headercolor}%
    \@sectioncolor{#2}%                     % <- Changed
  }
  \par\vspace{\parskip}
}

The output should look something like this:

Perfect, thanks


form level custom validation

How do you best implement form level validation with webshim's messages?
e.g. Ensuring the files selected for upload are combined not more then X bytes.
As far as I can tell webshim.addCustomValidityRule does not work on: form, input[type="submit"], button[type="submit"].
https://github.com/aFarkas/webshim/blob/gh-pages/src/shims/form-validators.js#L14
jQuery limit idea
$("body").one("submit", 'form[data-limit-file-bytes]', function(e) {
	var $form = $(this),
		limit = $form.attr("data-limit-file-bytes");

	var bytes = 0;
	$form.find('input[type="file"]:not(:disabled)').each(function(){
		$.each(this.files, function(i,file) {
			bytes += file.size;
		});
	});

	if (bytes > limit) {
		alert("files over upload limit!");
		return false;
	}
});

// for testing
$("form")
.eq(1)
.attr("data-limit-file-bytes", 10000000)
.attr("onsubmit","return false")
.trigger("submit")

webshim follows the HTML5 form spec. You have basically 3 options:

set all input[type="file"] with at least one file to invalid
set first  input[type="file"] with at least one file to invalid
create a hidden ``input[type="checkbox"] and toggle it's validity according to the your group constrain