Use fs.Dirent objects, and extract metadata in the background

Currently, the app freeze while performing the first phase of the import (listing all the files recursively).
A large portion of this delay in phase 1 is due to stating all the files to see if they are directories. Alternatively using fs.Dirent objects, the following code would be much better:
// Recursively walk through a directory compiling ImageElements
  const walkSync = (dir, filelist) => {
    const files = fs.readdirSync(dir, {encoding: 'utf8', withFileTypes: true});

    files.forEach(function (file) {
      if (file.name) {
        if (!fileSystemReserved(file.name)) {
          // if the item is a _DIRECTORY_
          if (file.isDirectory()) {
            filelist = walkSync(path.join(dir, file.name), filelist);
          } else {
            const extension = file.name.split('.').pop();
            if (acceptableFiles.includes(extension.toLowerCase())) {
              // before adding, remove the redundant prefix: sourceFolderPath
              const partialPath = dir.replace(sourceFolderPath, '');
              // fil finalArray with 3 correct and 5 dummy pieces of data
              finalArray[elementIndex] = [partialPath, file.name, cleanUpFileName(file.name), '', 0, '', 0, 0];
              elementIndex++;
            }
          }
        }
      }
    });

See https://nodejs.org/api/fs.html#fs_fs_readdirsync_path_options
This will be a drastic improvement in speed, especially over networked file systems. Unfortunately, this is only added in node v10.10.0, which will need to be updated first.
Additionally, it would be much better if the second phase (metadata extraction) was performed in the background like phase 3 (thumbnail generation). This is especially important with the addition of file hashes, which will require reading every file.

master has been updated with node 10 so this is ready for a PR -- whenever you'd like 🥇

I think you're right - https://electronjs.org/releases#3.0.0 electron 3 comes with Node v10.2.0
I suspect electron 4 is coming out soon - before we have our next release 👌

A better way to see which node version is in which Electron version:
https://github.com/electron/releases

Nice! 🎉
I noticed you tried to use v4 in your original upgrade - was there any problems, and would it be possible to have a beta branch to test it out?

It's worth a try -- feel free to give it a go: electron 4 beta 10 came out 30 minutes ago:
https://github.com/electron/electron/releases/tag/v4.0.0-beta.10
I tried it before but something wasn't working (could have been something else), so I just rolled back to decrease the number of moving pieces, fixed the problem, and never tried with the version 4 beta 🐟

When working on this, should be easy to close this issue too: https://github.com/whyboris/Video-Hub-App/issues/24 👍

I just tried beta 11 there on master and it works! 🎉


typescript file extension is truncated when import

Does this issue occur when all extensions are disabled?: Yes/No
Yes.

I know there is a setting typescript.preferences.importModuleSpecifierEnding, which default value is auto, that value will not auto add '.ts` extension.

@mattbierner

VS Code Version: 1.66.0-insider
OS Version: MacOS 12.2.1

Steps to Reproduce:

enter a ts project
import a relative module

This is by-design. The typescript team can add more detail but the gist is that having a .ts ending would cause the compiled javascript  to try importing a typescript file, which is almost never what you want

The js ending exists for JavaScript files because having a .js import is valid (and even required for some module systems)


Add tds.get_field_statistics()

We currently have tds.get_unique_field_values("field_name") that returns the unique values which is useful for categorical data.  I think it would be useful to have something similar for continuous fields such as reference_time, datetime, etc.

The could include number of distinct values which could help with #175 although probably not the solution we are looking for.

Closing.  References old version.


cli: initialize a new git repository on anchor init

resolves #1593

while I think it's overkill for us to implement support for other vcs, we could provide a flag (--no-git?) to disable git init for users of other vcs

thank you!


Way to bypass Windows 10 pair device permission?

Context: I'm working on a Windows 10 app that will allow users to quickly connect to a Bluetooth device. Because the native API is difficult to work with, I'm using the 'In The Hand' library. Anyway, back to the point: whenever I make a connect request. Before allowing me to connect, I receive this Pair a device notification.
I'm wondering if I can set Windows to automatically accept this permission for connecting the device. Is there a method in the Windows API that I can use to accomplish this?
Link to my code: https://github.com/hasham7861/bluetooth-le-experiment/blob/master/Program.cs

BluetoothSecurity.PairRequest can automate the pairing process with a known PIN or numerical value.

Thank you @peterfoot one question though in the windows bluetooth settings, it says my headphones are connected but the device itself does not receive any notification that it is connected already. Is there a helper to communicate to signal the device that it is now connected.
My code is now this:
// pair of the device
BluetoothSecurity.PairRequest(device.deviceAddress, inputPin);
// categorize into audio section for windows
device.setServiceState(BluetoothService.Handsfree,true);


Incorrect handling of multiple revisions for same repo

We may have an erroneous situation when two different revisions are specified for the same repo, used in two different components. For example:
  doma:
    sources:
      - type: git
        url: https://github.com/xen-troops/meta-example.git
        rev: "ABCDEF"

  domu:
    sources:
      - type: git
        url: https://github.com/xen-troops/meta-example.git
        rev: "branch_A"

If we run ninja fetch-domu we will have meta-example fetched and checked out to ABCDEF instead of the expected branch_A.
Seems like the checkout rule is created for the first revision met in yaml-file.
So, the main issue is that this erroneous declaration is handled silently.
Looks like the best way is to fail the generation of build.ninja in case of conflicting revisions.

Should be fixed with #86


feat: add Passkey support on iOS devices with versions 17 and Above

[x] Update BE and FE to the latest version of @simplewebauthn/server and @simplewebauthn/browser.
[x] Implement change in simple webauthn server for an updated version
[x] Implement change in BE for the latest webauthn server
[x] Implement change in FE for updated request/response

Based on the investigation I found that it's not working on Linux devices


Fix broken page references in docs

Hey 👋
While checking out the documentation I've noticed some broken page references in the Labs - Beginner page.
This PR points the references to the correct path. I've made a local build of the docs and tested it as seen in the following gif:

Hope this helps, let me know if anything is missing 👍

Pull Request Test Coverage Report for Build 5002

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 70.104%

Files with Coverage Reduction
New Missed Lines
%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraMetadataDAO.java
2
55.44%

Totals

Change from base Build 4993:
-0.01%

Covered Lines:
13024

Relevant Lines:
18578

💛  - Coveralls

Pull Request Test Coverage Report for Build 5002

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 70.104%

Files with Coverage Reduction
New Missed Lines
%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraMetadataDAO.java
2
55.44%

Totals

Change from base Build 4993:
-0.01%

Covered Lines:
13024

Relevant Lines:
18578

💛  - Coveralls


Can't install async (optional) dependencies in 3.26.2

The Slack SDK version
slack_sdk==3.26.2
Python runtime version
Python 3.9.16
OS info
N/A
Steps to reproduce:

pip install slack_sdk[optional]==3.26.2

Expected result:
Installation with asyncio dependencies included, as described in https://github.com/slackapi/python-slack-sdk?tab=readme-ov-file#dns-performance.
Actual result:
WARNING: slack-sdk 3.26.2 does not provide the extra 'optional', asyncio dependencies aren't installed, and attempting to use that functionality results in an error.
Note: this change was introduced in https://github.com/slackapi/python-slack-sdk/commit/69638bf9970b1d53fc7d47a435826398d85008a1#diff-aa105879908fd2bb65240fade83175ff1ed8f7a989981cd1d5277ad842908afe. In that PR the optional requirements were moved to requirements/optional.txt, but that requires users to clone the repo and then manually install using that requirements file, which is pretty inconvenient.

Hi @drasmuss thanks for writing in 💯
This is a great catch, I'll work on a fix and have it out soon


Fix #1088 for AcroForm fontSize

Allow to specify the AcroForm text fontSize
Can be used like this:
doc.formText('myfield', 10, 10, 200, 20, {
    fontSize: 12
});

Bugfix
#1088

What kind of change does this PR introduce?
Add the option to specifiy AcroForm fontSize

Checklist:

[ ] Unit Tests N/A
[x] Documentation
[x] Update CHANGELOG.md
[x] Ready to be merged

Looks good.
Just two things to be merged:

Remove commit to lock files
add simple test in https://github.com/foliojs/pdfkit/blob/master/tests/unit/acroform.spec.js

I added a unit test and I hope that it is fine.
I also reverted both lock file commits 👍

Many thanks


Tree树形控件-定义循环模版

What problem does this feature solve?
能够让树形控件显示更多自定义字段
What does the proposed API look like?
希望能有个TemplateRef
如同：https://angular2-tree.readme.io/docs/templates

What problem does this feature solve?
Allows tree control to show more custom fields
What does the proposed API look like?
Hope to have a TemplateRef
E.g https://angular2-tree.readme.io/docs/templates

#1221 will support, you can use NzTreeNode.origin to get your custom data

Okay thanks


Added constEnum type for ts

Adds a new enum type for 'ts', which is an Name -> unicode character enum.

Renamed it to 'charEnum' which I think is more clear.


Feature/wdl4s update

Updates WDL4S from version 0.6 to 0.15. This is fine for now, but will have to research WOMtool in the future as a possible replacement.
I've tested the two cases mentioned here and they both succeed now.
https://github.com/ga4gh/dockstore/issues/1211

Coverage decreased (-0.03%) to 75.427% when pulling b505e18983ce8405f7e222e0e6c8bf9b7743118a on feature/wdl4s_update into ad4b177f40d62efc9a93932b6343c4e8b3961e0f on develop.


Bug: Unable to use with Vue Final Modal due to teleport

Describe the bug
After updating Vue Final Modal from 3.x to 4.x, it is now impossible to have tests pass for the modal, due to the weird behaviour of teleporting to the body, I presume. Basically it's impossible to test contents of the base modal, as even when stubbing teleport,
To Reproduce
https://stackblitz.com/edit/github-fcywte?file=src%2Fcomponents%2F__tests__%2FHelloWorld.spec.ts
Expected behavior
Tests would pass as normal, without Vue Test Utils throwing an error
Related information:
Error: Cannot call element on an empty DOMWrapper.
 ❯ Object.get node_modules/@vue/test-utils/dist/vue-test-utils.esm-bundler.mjs:1550:27
    1548|     return (element.nodeName !== '#comment' &&
    1549|         isStyleVisible(element) &&
    1550|         isAttributeVisible(element) &&
       |                           ^
    1551|         (!element.parentElement || isElementVisible(element.parentElement)));
    1552| }
 ❯ eval src/components/__tests__/HelloWorld.spec.ts:46:26

Here what running html() on the modal returns now:
<teleport-stub data-v-e17ea971="" to="body" disabled="false">

</teleport-stub>

Here what it was before (aka it is fully rendered:

  <transition-stub data-v-2836fdb5="" enteractiveclass="ease-out duration-300" enterfromclass="opacity-0" entertoclass="opacity-100" leaveactiveclass="ease-in duration-200" leavefromclass="opacity-100" leavetoclass="opacity-0" appear="false" persisted="false" css="true">

  </transition-stub>
  <transition-stub data-v-2836fdb5="" enteractiveclass="ease-out duration-300" enterfromclass="opacity-0 translate-y-4 sm_translate-y-0 sm_scale-95" entertoclass="opacity-100 translate-y-0 sm_scale-100" leaveactiveclass="ease-in duration-200" leavefromclass="opacity-100 translate-y-0 sm_scale-100" leavetoclass="opacity-0 translate-y-4 sm_translate-y-0 sm_scale-95" appear="false" persisted="false" css="true">

          <transition-stub data-v-c6300b7f="" data-v-90ea3908="" data-v-2836fdb5-s="" name="loader-fade" appear="false" persisted="false" css="true" tabindex="-1">

<svg data-v-c6300b7f="" class="animate-spin h-8 w-8 text-blue-600 dark_text-moon-yellow-600" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
                  <circle data-v-c6300b7f="" class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
                  <path data-v-c6300b7f="" class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
                </svg>

          </transition-stub>

  </transition-stub>

Additional context
I am under the impression that this issue falls under Vue Test Utils, as it should be able to handle teleports better, hence why I am opening this report here instead of the Vue Final Modal repo. Do let me know if you feel like it's out of scope of test utils

Hi @doutatsu
I'm getting a 404 on your repro
Anyway, it looks like you have a teleport stub. If you want to test something that uses Teleport, check out the guide in the documentation
https://test-utils.vuejs.org/guide/advanced/teleport.html

@cexbrayat Apologies for the broken link, I've updated it to make sure it's working now. The issue is that neither stubbing teleporting and not stubbing it doesn't work.
I've read documentation countless times and tried a lot of things, and nothing works I am afraid. I have other teleports in my test suite, which works - it's only specifically the modal associated with this library that started breaking since it's major upgrade.

I know there has been some issues related to teleporting - e.g. this issue (https://github.com/vuejs/test-utils/issues/1781) has been closed, even though one of the latest teleport fixes (https://github.com/vuejs/test-utils/pull/2065) have not fixed it, as mentioned by the PR owner

I took a look at the repro, and if I remove the teleport stub in mount and then log what is in the body element, then I see the empty comment that Vue adds. So the teleportation is working, but maybe you need to do something to display the modal (like calling useModal() or something like that)?
    beforeEach(() => {
      const vfm = createVfm();
      console.log(window.document.body.outerHTML); // displays
      baseModal = mount(HelloWorld, {
        global: { plugins: [vfm] },
      });
      console.log(window.document.body.outerHTML); // displays
    });

I think Teleport is working fine and I don't see an issue with VTU. You probably need to trigger the display of the modal, and you'll be able to test whatever you want.

@cexbrayat I see, that actually makes a ton of sense. Previously due to teleport not being present, modal contents were always present, hence why tests were working just fine. But now I need to make sure to actually "open" modal - in my case modelValue needs to be true - which is what happens in regular usage, which is why even though library was working as is, but not in tests.
I am still having trouble with fixing tests, as passing through props, as before, seems to not actually trigger visibility, unless I mount the modal with modelValue as true, but I imagine it's not a Vue Test Utils issue at this point. I got something to work with now, thanks and sorry for the false positive bug report 🙏🏻

@doutatsu would you mind helping me out please? I'm seeing the same issue attempting to test Vue Final Modal. Would you be able to show how you enabled the modal, within jest/vitest, using either vfm or useModal()?
Would be really helpful. Thanks.

@doutatsu I read you're post again and think I can do it via modelValue = true. However that means me ditching vfm / useModal(). This is likely to be a large change, but cant work out how to include vfm / useModal() in my tests, so I have no option I think,

@doutatsu @adholland, hey!
You should add @update:model-value="emit('update:modelValue', $event)" to the VueFinalModal tag.
See https://github.com/vue-final/vue-final-modal/blob/master/examples/vue3/src/components/MyModal.vue
(vue-final-modal-master/examples/vue3/src/components/MyModal.vue)
Now you can use useModal(...).open() to open the modal window.
const modal = useModal({
  component: MyComponent as DefineComponent<any>,
  attrs: {
    onClose() {
      console.log('Now it works!')
    },
  },
})

await modal.open()


Add rectangle and square methods to Turtle

The newly-introduced Turtle class is mostly being used to generate rectangles and
squares. Add a couple convenience methods to make rectangle and square creation
more succinct.

Current dependencies on/for this PR:

main

PR #1646   👈

This stack of pull requests is managed by Graphite.


Texture artifacts with runtime importer

Hello! I've tried to contact you in your e-mail. I've sent you the GLTF file that I'm trying to import. The issue that I'm having is the following:

On the left, the GLTF was imported using the editor importer. On the right, the same GLTF file was imported using the runtime importer. I see both materials use the same shader. The difference seems to be in the textures. The textures generated at runtime do not seem right but I'm not sure what is the problem with them.
I'd like the runtime importer to provide the same result as the editor importer. I'd appreciate any help.

This is the GLTF file that I'm trying to import:
Gltf.zip

Hi @oprogramadorreal!
Sorry, I did not receive your e-mail for some reason. (My business email address is awesomesaucelabs@gmail.com).
Thanks for providing the test file.  I have not seen that strange banding problem with the textures before.
One possible cause is that the Editor and runtime textures are using different texture compression methods. Editor imports use DXT compression, whereas runtime import use raw uncompressed RGBA. I will try experimenting compression options in the Texture Import Settings in the Editor, to see if that is the cause.
Another possible cause is that Editor imports create mipmaps, whereas (unfortunately) runtime imports do not create mipmaps, due to limitations of the UnityWebRequestTexture API.
I will have a closer look at your file later today.
Also, no problem if you want a refund.  Just let me know the email address for your PayPal account and the original amount you paid for Piglet.

Hi @oprogramadorreal,
The banding patterns (a.k.a. Moiré pattern) occur because Piglet doesn't create mipmaps during runtime imports. You can recreate the same banding effect with the Editor-imported model if you uncheck Generate Mipmaps in the Texture Settings, as shown in the following screenshot.

Actually the whole purpose of mipmaps is to fix this kind of banding/aliasing problem.  For example, there are similar banding patterns in the first example image from the MipMap article on Wikipedia.
So why doesn't Piglet create mipmaps during runtime imports?
So far I have been using UnityWebRequestTexture to load textures at runtime, which doesn't have an option to create mipmaps.
It is possible to use Texture2D.LoadImage instead, which does have an option to create mipmaps. However, that method blocks the main Unity thread during PNG/JPG compression, which is really bad for performance.  (UnityWebRequestTexture performs PNG/JPG on a background thread.)
I'll try to find some workarounds for creating mipmaps at runtime.

Hi @oprogramadorreal :-)
Sorry, I've been meaning to take another look at this issue.
I think your approach makes sense. Try adding this line before your code:
_imported.Textures[i] = TextureUtil.GetReadableTexture(_imported.Textures[i]);

Note: TheTextureUtil.GetReadableTexture method relies on RenderTexture, and in the past I've had trouble getting RenderTextures to work correctly in WebGL builds.  More specifically, I could not get my RenderTexture code to work correctly in Chrome on Windows 10.  Just wanted to mention it in case you are developing for WebGL.

Another possible workaround is replace UnityWebRequestTexture with Texture2D.LoadImage, using the following patch (attached as piglet-loadimage.txt):
diff --git a/Assets/Piglet/Scripts/Texture/TextureUtil.cs b/Assets/Piglet/Scripts/Texture/TextureUtil.cs
index 9bba73f..3d9362c 100644
--- a/Assets/Piglet/Scripts/Texture/TextureUtil.cs
+++ b/Assets/Piglet/Scripts/Texture/TextureUtil.cs
@@ -388,18 +388,15 @@ namespace Piglet
 		/// </summary>
 		static public IEnumerable<(YieldType, Texture2D)> LoadTexturePngOrJpg(Uri uri)
 		{
-			var request = UnityWebRequestTexture.GetTexture(uri, true);
-			request.SendWebRequest();
-
-			while (!request.isDone)
-				yield return (YieldType.Blocked, null);
-
-			if( request.HasError())
-				throw new Exception( string.Format(
-					"failed to load image URI {0}: {1}",
-					uri, request.error ) );
+			byte[] imageData = null;
+			foreach (var (yieldType, data) in UriUtil.ReadAllBytesEnum(uri))
+			{
+				imageData = data;
+				yield return (yieldType, null);
+			}

-			var texture = DownloadHandlerTexture.GetContent(request);
+			var texture = new Texture2D(1, 1, TextureFormat.ARGB32, true, false);
+			texture.LoadImage(imageData, true);

 			yield return (YieldType.Continue, texture);
 		}

I briefly tested the patch with your example Gltf.zip file and it does seem to improve the issue.

Another issue I noticed is that your Gltf.zip file uses the KHR_texture_transform glTF extension, which I haven't implemented in Piglet yet.
In the case of your glTF file, the consequence is that the texture is scaled incorrectly (stretched by a factor of 3X) and that probably makes the banding problem look even worse.
It's on my TODO list to implement KHR_texture_transform because it's a commonly used glTF extension and I've been getting a lot of bug reports about it.

@benvvalk thanks a lot for the suggestions. They indeed helped to mitigate the issue. It would be great if you could add some of theses solutions into a next version of Piglet.
Regarding the support for KHR_texture_transform extension, would you have any idea of when you'll tackle this? I have seen other issues that may be related to this as you mentioned.
I have approaching deadlines and other things to do in my project but since GLTF importing is a critical part of it I would consider try to solve these issues by myself, unless you say you are about to solve them. :)
It would be nice if you could share some roadmap or just give me an idea of your plans for Piglet.
Anyway thank you for the support you already gave me so far!

Hi @oprogramadorreal,
You're welcome and I'm glad I could help!
Yes, for the next Piglet version I will add an option to use Texture2D.LoadImage instead of UnityWebRequestTexture (probably controlled by a compile time define).  Depending on the application, people might be willing to accept the downgraded performance of using LoadImage (i.e. FPS drops) in order to have mipmaps. It is a shame that Unity doesn't provide better APIs for runtime texture loading.
Re: KHR_texture_transform. Yes, I plan to add support in the next Piglet version (1.3.7), which will probably be released in mid-to-late May. (Even though I work on Piglet full time, my release cycles are quite slow because I do a lot of manual testing, across many platforms and Unity versions.) Before the release, I will send you an early implementation so you don't have to wait for all the testing.
Re: deadlines/schedules. I'm currently available for paid contract work, if you need certain fixes/features implemented before a deadline. (Please email me privately at<EMAIL_ADDRESS>to negotiate rates and deadlines.)  Otherwise, I make no promises about timelines (only estimates).
Re: Piglet roadmap. In the long term, I want Piglet to be a feature-complete glTF importer/exporter with support for the most commonly-used glTF extensions. It is a big project and I may be working on it for years! In the short term, I keep track of every requested fix/feature (several per day), and I just work on the fix/feature that I believe will give the most benefit-per-time-spent, one at a time.  In order of descending priority, my current items are:

KHR_materials_unlit
KHR_texture_transform
KHR_mesh_quantization
Mecanim avatar support
EXT_meshopt_compression
glTF export capability

@oprogramadorreal,
I forgot to say: I'd be happy to provide (free) guidance about the Piglet code, for any features you decide to add yourself.  In the case KHR_texture_transform, I would advise waiting unless you desperately need it soon (e.g. < 2 weeks from now).

Thanks for sharing your plans @benvvalk, that's really nice. Also good to know that we can use your free guidance or hire you if we need something faster. For now we gonna keep using Piglet the way it is and wait for the next updates. Hope we can contribute a little to its growth with our feedbacks.

Hi @oprogramadorreal,
Just an update about runtime mipmaps.
I did some experimenting with the LoadRawTextureData approach you suggested in your comment above.  It was a good idea and it causes less stalling of the main Unity thread compared to LoadImage (or none at all).  I will include it in the next Piglet release (still a few weeks away), but for your reference I've also attached the changes as loadraw-patch.txt.
I had to make some minor modifications to make your code work, by following the suggestion provided in this Unity Forum post.
Also, I did some profiling of loadimage/loadraw mipmap-loading methods in order to help me answer the following questions:

Should I enable mipmaps by default in the next Piglet version? No, it will have to be enabled with an option. Even when using LoadRawTextureData there is too much performance overhead and I don't want to give my existing users any bad surprises.
Which has better performance: the LoadImage method or LoadRawTexture method? The LoadRawTexture method is generally better.

With respect to total wallclock time for loading textures, the LoadImage and LoadTexture methods are similar.  Roughly speaking, they both double the texture loading wallclock time:

However, I also measured the individual frame update times, and in that case the LoadRawTexture method was much better than LoadImage. However, no mipmaps is still the best:

Note: I made the histograms by aggregating results across 5 runs (import the same glTF file 5 times).  The LoadImage results are even worse than they appear, because the "100" histogram bin is an overflow bin that contains all values >= 100.

Oops... I discovered a big error in my histogram-plotting script.
I've included the corrected plot below, with the y-axis (count) on a logarithmic scale this time.  The conclusions are still the same, though:
(1) Mipmaps should be disabled by default during runtime glTF imports.
(2) The LoadRawTextureData method is better than the LoadImage method.

@oprogramadorreal
Just a heads up: I finally released Piglet 1.3.7, which adds a CreateMipmaps option (see Runtime Import Options), and also adds support for KHR_texture_transform.
Sorry for the long wait and I hope it is still useful for you!

@benvvalk thanks for the heads up and for the new version. It will sure be useful for me. I'll check it out. Thanks!


[#10] feat - Set auto type detection on cloudinary

Closes #10

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.078%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
45

Relevant Lines:
47

💛  - Coveralls


xdo id hangs indefinitely

New to bspwm so I'm sure this is something I've missed; however, I attempted running the example panel as outlined in the popular bspwm for dummies, and after discovering that I also needed xdo & installed it, the panel hung. It turns out to be this command on this line:
xdo id -a "$PANEL_WM_NAME"

The env var above is set to "bspwm_panel". Running that command in xterm within bspwm (or even with X off) just hangs.
Any thoughts, or any insight into how to debug this?

Ah; I missed a compile time warning that explains it perfectly:
xdo.c: In function 'main':
xdo.c:60:69: warning: comparison is always true due to limited range of data type [-Wtype-limits]
     while ((opt = getopt(argc, argv, "rcCdDsn:N:a:p:k:t:x:y:h:w:")) != -1) {

I'm compiling on a Raspberry Pi 3 -- armv7


Add DD_LOGGING_FORMAT variable, celery logger section

Follow-up from #3062
It turns out that celery hijacks the logger settings from django, so logging was not following what was set.
This PR addresses that.
Also, the PR introduces a new variable called DD_LOGGING_FORMAT to be able to override the console logging format.
I also added a django.security logger, because I stumbled upon it and thought it would not hurt.
When submitting a pull request, please make sure you have completed the following checklist:

[x] Give a meaningful name to your PR, as it may end up being used in the release notes.
[x] Your code is flake8 compliant.
[x] Your code is python 3.6 compliant (specific python >3.6 syntax is currently not accepted).
[ ] If this is a new feature and not a bug fix, you've included the proper documentation in the ReadTheDocs documentation folder. https://github.com/DefectDojo/Documentation/tree/master/docs or provide feature documentation in the PR.
[ ] Model changes must include the necessary migrations in the dojo/db_migrations folder.
[ ] Add applicable tests to the unit tests.
[x] Add the proper label to categorize your PR.

Moving to draft, I will do so that the DD_CELERY_LOG_LEVEL is honored directly in the settings.py (e.g. current set in the Dockerfile.django), as it's in used across celery entrypoints and helm file. Makes sense?


Updated readme files based on changes to FTDI config file location

Updated readme files based on changes to FTDI config file location and incorporated revision list for RDB v1.6 into the readme (deleting separate change list file).

Have updated the readme file for the P-FTINT project,


python3Packages.dipy: init at 1.1.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[NA] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[NA] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @lheckemann @drewrisinger

Don't know why I'm mentioned, but can you run some tests at least? Other
than just import checks?
Drew Risinger
On Wed, Mar 25, 2020 at 10:10 AM Ben Darwin<EMAIL_ADDRESS>wrote:

Motivation for this change Things done

Tested using sandboxing (nix.useSandbox
http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox on
NixOS, or option sandbox in nix.conf
http://nixos.org/nix/manual/#sec-conf-file on non-NixOS linux)
Built on platform(s)

NixOS
macOS
other Linux distributions

[NA] Tested via one or more NixOS test(s) if existing and applicable
for the change (look inside nixos/tests
https://github.com/NixOS/nixpkgs/blob/master/nixos/tests)
[NA] Tested compilation of all pkgs that depend on this change using nix-shell
-p nixpkgs-review --run "nixpkgs-review wip"
Tested execution of all binary files (usually in ./result/bin/)
Determined the impact on package closure size (by running nix
path-info -S before and after)
Ensured that relevant documentation is up to date
Fits CONTRIBUTING.md
https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md.

cc @lheckemann https://github.com/lheckemann @drewrisinger
https://github.com/drewrisinger
You can view, comment on, or merge this pull request online at:
https://github.com/NixOS/nixpkgs/pull/83359
Commit Summary

python3Packages.dipy: init at 1.1.1

File Changes

A pkgs/development/python-modules/dipy/default.nix
https://github.com/NixOS/nixpkgs/pull/83359/files#diff-4336360be21e2369d6c3a1a7d375d3e3
(83)
M pkgs/top-level/python-packages.nix
https://github.com/NixOS/nixpkgs/pull/83359/files#diff-2afbba83e1b14f9e0c304c769831a0e2
(2)

Patch Links:

https://github.com/NixOS/nixpkgs/pull/83359.patch
https://github.com/NixOS/nixpkgs/pull/83359.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/83359, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNZYI26F46P6UWISOJMV7LRJIGD7ANCNFSM4LTPAMYQ
.

The main issue is that the recommended way of running tests, dipy.test(), seems to run nose (which is unfortunately in the closure for some reason even though not required by the package) and then this hangs in multiprocessing.

Just if you had any comments about how cvxpy is integrated here.

Just if you had any comments about how cvxpy is integrated here.

Depends on if cvxpy is a hard requirement or optional. Seems fine if optional.

Result of nixpkgs-review pr 83359 1

2 package built:

python37Packages.dipy
python38Packages.dipy

@GrahamcOfBorg build python37Packages.dipy python38Packages.dipy


Added my article information resource

Published on daily.dev.

thank you ❤

Thanks to you guys for this wonderful library and the quick response! 🤗

Thanks to you guys for this wonderful library and the quick response! 🤗

no worries, thank you for your article too. V7 is coming soon. hopefully you find it even more performant and powerful.

Yes, waiting!! And I might write on how to migrate or use new features. 😊


python312Packages.minio: 7.2.10 -> 7.2.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.minio is: Simple APIs to access any Amazon S3 compatible object storage server
meta.homepage for python312Packages.minio is: https://github.com/minio/minio-py
meta.changelog for python312Packages.minio is: https://github.com/minio/minio-py/releases/tag/7.2.12
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.2.12 with grep in /nix/store/dbkh84wk4mj1q6b1c0w9im1llyhbqk80-python3.12-minio-7.2.12
found 7.2.12 in filename of file in /nix/store/dbkh84wk4mj1q6b1c0w9im1llyhbqk80-python3.12-minio-7.2.12

Rebuild report (if merged into master) (click to expand)

10 total rebuild path(s)

10 package rebuild(s)

First fifty rebuilds by attrpath

chatgpt-retrieval-plugin
healthchecks
home-assistant-component-tests.minio
open-webui
python311Packages.minio
python311Packages.pymilvus
python312Packages.minio
python312Packages.pymilvus
sourcehut.gitsrht

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dbkh84wk4mj1q6b1c0w9im1llyhbqk80-python3.12-minio-7.2.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.minio https://github.com/r-ryantm/nixpkgs/archive/32e4542ae6197e84daf98774b45e240c64eca748.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/32e4542ae6197e84daf98774b45e240c64eca748#python312Packages.minio

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dbkh84wk4mj1q6b1c0w9im1llyhbqk80-python3.12-minio-7.2.12
ls -la /nix/store/dbkh84wk4mj1q6b1c0w9im1llyhbqk80-python3.12-minio-7.2.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:fast_forward: 2 packages marked as broken and skipped:

chatgpt-retrieval-plugin
chatgpt-retrieval-plugin.dist

:white_check_mark: 14 packages built:

healthchecks
home-assistant-component-tests.minio
open-webui
open-webui.dist
python311Packages.minio
python311Packages.minio.dist
python311Packages.pymilvus
python311Packages.pymilvus.dist
python312Packages.minio
python312Packages.minio.dist
python312Packages.pymilvus
python312Packages.pymilvus.dist
sourcehut.gitsrht
sourcehut.gitsrht.dist

Maintainer pings
cc @peterromfeldhk for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 362485

aarch64-darwin

:fast_forward: 2 packages marked as broken and skipped:

chatgpt-retrieval-plugin
chatgpt-retrieval-plugin.dist

:white_check_mark: 13 packages built:

healthchecks
open-webui
open-webui.dist
python311Packages.minio
python311Packages.minio.dist
python311Packages.pymilvus
python311Packages.pymilvus.dist
python312Packages.minio
python312Packages.minio.dist
python312Packages.pymilvus
python312Packages.pymilvus.dist
sourcehut.gitsrht
sourcehut.gitsrht.dist


os/signal: SIGINT cannot be catched with cgo system("ls") call

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.9.3 darwin/amd64
Does this issue reproduce with the latest release?
Yes with
go version go1.10.3 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/wujeff/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.9.3/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.9.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/s8/rvfmqfnd28qb86358xcy1zbr00_t7y/T/go-build817291637=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
What did you do?
package main
import (
"fmt"
"os"
"os/signal"
)
/*
#include <stdlib.h>
static inline void RunCmd() {
system("pwd");
}
*/
import "C"
func main() {
fmt.Println("let's test...")
wait := make(chan bool)
C.RunCmd()
fmt.Println("run command finished")
c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt)
go func() {
for sig := range c {
fmt.Println(sig.String())
os.Exit(0)
}
}()
select {
case <-wait:
os.Exit(0)
}
}
build the go file then press command+c in Mac to interrupt
What did you expect to see?
process exit successfully
What did you see instead?
lots of error messages:
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0

I can't recreate the morestack on g0 message.  I agree that on Darwin calling the C library system function does seem to disable ^C and ^\.  If somebody can get an strace of the program, that might show the problem.
The system function is documented to ignore SIGHUP and SIGINT, which is probably somehow causing this.  If you can avoid using the system function, you should.  Go provides similar functionality in the os/exec package.

Hi Ian,
Thanks for looking at this, I have attached trace file:
sigmiss.txt
Unfortunately, I need to use system as we are loading an existed c lib for some functionalities.

I can't recreate this problem on Darwin 10.12 with Go 1.12beta1.  The programs works as expected.
What version of Darwin are you using?  Can you try Go 1.12 beta1?


Contract Pruning

This PR adds a route to the worker that allows pruning deleted sectors from a contract, effectively enabling contract pruning functionality. I've thoroughly tested it on my local node (on testnet) and ran some tests on arequipa. I manually verified contract root diffs before and after as well as perform some upload/download testing while pruning was taking place and believe it all works as expected.
Old hosts are quite (read: really) slow at modifying the storage obligation. For now I've simply lowered the batch size and added a means of timing out the request. The plan is to have the autopilot impose a 5' timeout and nibble away at the prunable data for contracts with v1.5.9 hosts. New hosts are really fast and don't pose an issue at all. Soon the majority of the network will upgrade to v1.6.0 anyway so I don't think it's a problem.
When this PR is merged I'll add a mechanism to automatically prune contracts when the total amount of prunable data exceeds some threshold, as well as add alerts and (ask to) integrate it in the UI perhaps.

Seems like jape is failing with Client has wrong response type for POST /rhp/contract/:id/prune (got *int64, should be *uint64)


(GH-1527) Connect to multiple PuppetDB instances

This adds support for connecting to multiple PuppetDB instances and specifying a named PuppetDB instance whenever Bolt connects to PuppetDB.
See commits for more info.

Questions:

Does it make sense to have a separate puppetdb-instances option, or should it be puppetdb.instances instead?
Does specifying a named instance in each of the places you can specify one (plan functions, command line, plugin) seem intuitive?
Should named instances pick up default config from puppetdb.conf?
Should named instances pick up default config from the puppetdb section?
Should there be a 'default' instance? If yes, how is that determined? (Currently it's whatever is under puppetdb.)

Does it make sense to have a separate puppetdb-instances option, or should it be puppetdb.instances instead?

My vote is separate. Having it be "under" puppetdb could be confusing if we are not "sharing/merging" config.

Does specifying a named instance in each of the places you can specify one (plan functions, command line, plugin) seem intuitive?

Yes, i think what you have here is perfect (if you dont use the feature at all you wont even notice this change)

Should named instances pick up default config from puppetdb.conf?

No, this should only apply to the "default" instance (assuming it already does)

Should named instances pick up default config from the puppetdb section?

No, each instance should be complete and independent (if there are named conflicts, the one at the most specific level should win, no merging).

Should there be a 'default' instance? If yes, how is that determined? (Currently it's whatever is under puppetdb.)

Yes, I think this is the best way to support the existing workflows for this and provide the new features for those users who choose to take it.


Problem with External Mod Folders in Psych Engine GitHub

Describe your bug here.
For some reason, in certain scripts, whenever I use the function onUpdatePost, the game crashes.
I've been trying to find ways around this, but it's getting to a point where I can't ignore it for much longer, especially with the Lua icons script that needs onUpdatePost to work properly.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

Show these crashing scripts then, that's the basics of a bug report

Well, the problem is that it's typically random, so it could happen on any of my Lua scripts. I really don't know when, how, or
why it happens. Although I should specify that the crash usually happens in the GitHub version of Psych Engine.

Okay. So I've been testing the mod and I've realized that the main problem may be that I've been running the mod without a mods list created. So unless anything else comes up, I think that really the only thing that could help would be to have the mods list be created on startup or when an external mod is added into the mod folder rather than by just going entering and exiting the mods menu.


General config setting overrides

Adds general config setting overrides to prevent being logged out when the user agent changes (after a browser version update, for example) and to extend remembered user session durations to 1 year.

I like it! Thx.


Operator Mono SSm Lig Book does not work with Vscode

Looks like my Operator Mono SSm Lig Book font doesn't work with Vscode

Put single quotes around your font name, if you have multiple fonts. Also remove "Book". Use fontWeight instead.

Put single quotes around your font name, if you have multiple fonts. Also remove "Book". Use fontWeight instead.

Looks like it doesn't work

That looks like the correct font to me. What does it look like with actual source code?

Again, you need to remove the weight from the fontFamily. It should only be "Operator Mono SSm Lig".
This screenshot looks good. See, you removed the "Book". You re-added it in the other screenshot.

And when I say "source code" I mean something like this, not the settings.json.

hey, i also having problems with the in vscode here is a sourcecode how it looks in PHP

as you can see the -> and ++ as well as -- are not correct

Hmm.. I installed Palenight Theme (selected Palenight Operator).

okay, reinstalling everything and moving to my macbook to generate the fonts did work. i guess the problem was some version conflict on my windows system.
It is working now, for me!


Optimize the branching code in CarvableImage

The branching code to deal with vertical/horizontal seams in CarvableImage.cpp is pretty rough. There's definitely room to make things look better and easier to read. Maybe even room to optimize some of the code.

Upon further investigation, the branching code (although ugly) is more efficient than putting a conditional within the loop. The loop will already run O(n) times where n = # of pixels. Although comparisons are O(1) putting the comparison within the loops adds another n operations.
A better solution would be to split the existing functions into vertical/horizontal only functions when applicable. This would take up more memory because of the almost exact duplication of code, but would ultimately save on time. Since my personal goal is to use this on the web, I'm going to optimize runtime over memory complexity.
Thus, this issue is blocked by #9.


i18n(fr): update the remaining guides/upgrade-to/*

Description (required)
Adds changes from #9240 to the French translations of:

guides/upgrade-to/v1.mdx (except a link to api-reference.mdx)
guides/upgrade-to/v2.mdx
guides/upgrade-to/v4.mdx (except a link to api-reference.mdx)

[!NOTE]
The links to api-reference.mdx  will be updated at the same time as api-reference.mdx to avoid broken links

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

fr/guides/upgrade-to/v1.mdx
Localization changed, will be marked as complete.

fr/guides/upgrade-to/v2.mdx
Localization changed, will be marked as complete.

fr/guides/upgrade-to/v4.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Thanks you @ArmandPhilippot for your contribution with Upgrades files! 💯


parity: UserAgent string for .Net contains wrong protocol version number

The UserAgent string for .Net found here:
https://github.com/Microsoft/botbuilder-dotnet/blob/542b988d84f3ab9cfd9a6260fd39edccc2191b43/libraries/Microsoft.Bot.Connector/ConnectorClientEx.cs#L34
Translates to Microsoft-BotFramework/4.0 (BotBuilder .Net/${package version}).
Compare that with the JS UA string of Microsoft-Botframework/3.1 (BotBuilder JS/${package version}).
My understanding is that the first version number is supposed to be the protocol version which should still be "3.1" correct?

That's right, the JS string is correct.

Fixed in #489


Update README.md

Add support statement per an earlier internal discussion.

@Kushmaro
Sorry to trouble you directly. Toby and I had an internal discussion and he suggested asking for your follow up on how we want to organize the public statement.
The comment for reference - https://github.com/elastic/terraform-provider-elasticstack/pull/346#pullrequestreview-1461812596
Please let us know if anything is not clear or if you prefer to discuss this internally and thanks!
Also thanks @tobio for the detailed comment and internal discussion! 🙏

looks like a charged conversation :)
Let's take this internally, please.


Lack of Location Permissions / Data result in frozen Dining card

Issue Description
If a user hasn't given the app permission to access location or their device has Location settings turned off, the Dining card will not load any eateries, but instead just keeps trying to determine a location.
Steps to Reproduce / Code Snippets
On Android: Turn off Location, then run a fresh install of the app.
On iOS: Deny the app Location permissions on a fresh install or go to Settings / UCSD and disable Location.
Expected Results
Dining card should display eateries with location / distance information omitted. Location / distance data should re-appear after the user has enabled location.

Realized this only happens in an internal build / applies to the v5.6-rc-uprade branches.


feat: warn on mismatch of global and local versions upon generate command

Compared the versions of global and local versions of prisma. If the versions doesn't match throw a warning.
Upon user confirmation ( press any key ) it continues of execution of generate command.

Fixes #1911
/claim #1911

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

@jharrell Thanks for the feedback. Updated the PR with the requested changes.

I was able to test it locally via contribution guide, Please watch the video below

https://www.loom.com/share/6c2def1c11164690a314dc456182c466?sid=138bb99a-8e3e-4332-adfe-27e8933872b1

I need help in writing the tests through spec files. Can you please help me with the steps on how to set up different global and local versions through jest?

Hi @jharrell, did you get a chance to look at this?

@akhill10 thank you very much for the loom video and apologies for the delay on my end!
For this case, I think you should only test what is needed. That is to say, mock the results of isCurrentBinInstalledGlobally, getInstalledPrismaClientVersion, and getLocalPrismaVersion to show in the case of a mismatch we require specific confirmation.

@jharrell I tried mocking the functions but result is not giving the mocked results.
ctx.fixture('example-project')
const versions = { getInstalledPrismaClientVersion, isCurrentBinInstalledGlobally, getLocalPrismaVersion }
jest.spyOn(versions, 'getInstalledPrismaClientVersion').mockReturnValue(Promise.resolve('0.0.1'))
jest.spyOn(versions, 'isCurrentBinInstalledGlobally').mockReturnValue('npm')
jest.spyOn(versions, 'getLocalPrismaVersion').mockReturnValue(Promise.resolve('0.0.2'))

const data = await ctx.cli('generate')

Its still getting the example-project version value i.e 0.0.0 rather than 0.0.1.  am I doing anything wrong here ?

@akhill10 I'm not sure. Please push your changes to this branch so that I can review.

@jharrell Pushed the test case commit

Hello @jharrell , did you get a chance to review this? am I doing anything wrong in mocking the functions ?

Have you tried using .mock instead of .spyOn?

Unfortunately, I'm not sure here. We'll need a way to mock these calls before we move forward.

Okay thank you, I try will some alternative approaches.
If am stuck, Any help from prisma team members would be appreciated.


Bold font not rendered on Linux

Hi,
I'm using Marp both under Elementary OS and Windows.
I modified the default theme to use a custom font by adding at the beginning of the .md file :
.slide {
   font-family: Average Sans !important;
}

It works like a charm under Windows, but under Elementary OS, the bold texts put between asterisks (e.g. **bold** ) aren't rendered properly. If I add font-weight: bold to the css formating mentioned above, all the text is bold except the text put between asterisks.
If i use<div style="font-weight: bold;"> instead of the asteriks, the text is bold as expected.
Sorry for my very bad english

Doesnot work for me in latest marp-app for web.....
Can you please tell me where to add the styles


Improve the README

Expand on the README file to be a welcoming place for anyone coming to your project for the first time. For your project, your README should cater to at least two groups of people (on bigger projects these can be separated and put in different files):

Those potentially interested in using your dashboard

Include motivation behind your project and clearly explain what problem you are solving and why it is important.
You do not have to include detailed usage instructions, just high level what they can do in your dashboard and and the deployed link.
This is a good example

Those interesting in helping you develop your dashboard

Potential contributors are interested in the above as well, but also need to know how they can install your app and how to run it locally (maybe they are great in Altair but have never used Dash).
Suggestions for what you would like help with and how to work in your project, some of this can go in contributing also.
This is an example of a program I made as part of my thesis.

Including a table of contents can be useful, as well as a short GIF of your dashboard doing something impressive. No matter how many nice words you put down, seeing the functionality right when they land on your GH page is very useful to evoke interest.

Resolved by PR #27


Separate used-defined and system object type hierarchies

Currently, we use std::Object as the root object type for everything,
including the object types defined by the system.  This patch separates
the user-defined and system object hierarchies by adding the new
std::BaseObject type which is now the true root type.  std::Object
extends from std::BaseObject and becomes the default base for
user-defined object types.  All types declared in schema::', cfg::andsys::are made to extend fromBaseObject` directly.

This should have a bump of EDGEDB_CATALOG_VERSION too


RC test: Area Model Algebra 1.1.0-rc.2

@kathy-phet, @amanda-phet, area-model-algebra/1.1.0-rc.2 is ready for RC testing. Document issues in https://github.com/phetsims/area-model-common/issues and link to this issue.
Assigning @ariel-phet for prioritization.

General RC Test
What to Test

Click every single button.
Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.

If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Test all query parameters on all platforms. (See QA Book for a list of query parameters.)
Download HTML on Chrome and iOS.
Make sure the iFrame version of the simulation is working as intended on all platforms.
Make sure the XHTML version of the simulation is working as intended on all platforms.
Complete the test matrix.
Don't forget to make sure the sim works with Legends of Learning.
Check this LoL spreadsheet and notify AR if it not there.
If this is rc.1 please do a memory test.

Link(s)

Simulation
iFrame
XHTML
Test Matrix
Legends of Learning Harness

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

@KatieWoe @jonathanolson FYI... This RC, and all of the other 1.1.0-rc.1 RCs for the Area Model suite, will not run on iPad2. Some incompatible ES6 code was added that won't run on iPad2 (or other browsers that aren't ES6 compatible), see https://github.com/phetsims/joist/issues/539#issuecomment-443384951.

https://phet-dev.colorado.edu/html/area-model-algebra/1.1.0-rc.2/phet/area-model-algebra_en_phet.html (rc.2) should have the patch. Should this issue be updated to just test rc.2?

We haven't yet started on this one, so yes.

@KatieWoe since Area Model is already published (and seems to be working without issue) this testing is a lower priority. Area Model was originally published without a formal code review to meet some grant deadlines, so 1.1.0 allows us to properly finish our process. But again, the live sim is working just fine.
Of the Area Model "suite" this sim should be tested first since the others are mainly a subset of this one.

@KatieWoe one other comment - as a general rule of thumb, for this particular testing of the Area Model suite any "new" sims are going to take precedence (ie Graphing Quadratics, Coulomb's law, EFAC, etc)

https://github.com/phetsims/graphing-lines/issues/116 was seen again in this game.  I assume this is because the sim still uses vibe?

This release branch had patches related to https://github.com/phetsims/chipper/issues/720 and https://github.com/phetsims/brand/issues/34 applied since the last RC. This sim should have another RC done, if only to test the brand-related changes briefly.

This branch was patched as part of the batch maintenance release in phetsims/chipper#746.  This should just have added a .gz file to the build artifacts.

QA is done per @ariel-phet

Thanks. I'll have another RC deploy (from new SHAs off of master) soon.


Using svg in template throws warning 'Do not use built-in or reserved HTML elements as component'

Version
2.5.13
Reproduction link
https://github.com/museui/muse-ui/blob/bdb360b7dfc55a17fa115709b6f2660b20c29b3c/src/circularProgress/circularProgress.vue#L7
Steps to reproduce
Import this vue component.
See also (Chinese): https://github.com/museui/muse-ui/issues/824
What is expected?
Working whitout warning.
What is actually happening?
It throws warning [Vue warn]: Do not use built-in or reserved HTML elements as component id: circle.

You're probably creating a component named circle. Couldn't reproduce in a jsfiddle. Next time, please take the time to provide a proper repro using one of the links provided in the vue issue helper, thanks!

@posva It's my mistake. The component circular.vue named circle. Thanks very much.


gh-2660: Update koryphe version to 2.4.0

Related Issue

Resolve #2660

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2-alpha@f217c92). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             v2-alpha    #2661   +/-   ##
===========================================
  Coverage            ?   65.32%
  Complexity          ?     2453
===========================================
  Files               ?      769
  Lines               ?    23367
  Branches            ?     2706
===========================================
  Hits                ?    15264
  Misses              ?     6891
  Partials            ?     1212

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 f217c92...77008c2. Read the comment docs.


Disabling check for domain validity

I am not using ICAAN. And need to disable the check for domains.

Hello,
I don't get it, which check are you talking about ?
Regards

the sld.tld or tld field there
how do i disable checks for that field

@Nim1com give us an example, what you are trying the enter there, please

as i am using a custom dns witch has non icaan domains aka there is domains like site.whateveriswrittenhere and only tld sites.

I've tried to create "site.whateveriswrittenhere" and "test" (for just tld), and didn't get an error.
Are on the latest master-commit?

i am on 4.6.1
and am i supposed to get a 400?

this is where i tried it also without the webgui https://doc.powerdns.com/md/httpapi/README/
{
"account": "",
"api_rectify": false,
"dnssec": false,
"edited_serial":<PHONE_NUMBER>,
"id": "example.org.",
"kind": "Native",
"last_check": 0,
"master_tsig_key_ids": [],
"masters": [],
"name": "example.org.",
"notified_serial": 0,
"nsec3narrow": false,
"nsec3param": "",
"rrsets": [
{
"comments": [],
"name": "example.org.",
"records": [
{
"content": "a.misconfigured.dns.server.invalid. hostmaster.example.org.<PHONE_NUMBER> 10800 3600<PHONE_NUMBER>",
"disabled": false
}
],
"ttl": 3600,
"type": "SOA"
},
{
"comments": [],
"name": "example.org.",
"records": [
{
"content": "ns1.example.org.",
"disabled": false
},
{
"content": "ns2.example.org.",
"disabled": false
}
],
"ttl": 3600,
"type": "NS"
}
],
"serial":<PHONE_NUMBER>,
"slave_tsig_key_ids": [],
"soa_edit": "",
"soa_edit_api": "DEFAULT",
"url": "/api/v1/servers/localhost/zones/example.org."
}

This is the PowerDNS-Version.
We need to know, with which PowerDNS-Admin Version you are working?

ngoduykhanh/powerdns-admin:latest

the one updated 8 days ago latest commit

I think i've found your problem ... are you trying to enter the Domain name with a dot at the end? ex.: site.
If yes, PDA is adding this automatically when creating the domain at PDNS. You can create it simply without the dot.

Just for example:
I've tried to create "test.". PDA is trying the create "test..", and got this error:
ERROR - Unable to parse DNS Name 'test..'
So, this is not a bug, this is a feature :-D

i did nto add a . at the end

anything i do returns this
im not sure if this is my original problem anymore but

Hello,
I can create both TLD domains and registered domains like google.com

You need to provide PDA logs to figure out what happens. Which kind of setup do you use ? (docker, full install with systemd ..)

You can also enable PowerDNS webserver logs and check what happens in the background. (webserver-loglevel = detailed, loglevel = 5)

docker?
● pdns.service - PowerDNS Authoritative Server
Loaded: loaded (/lib/systemd/system/pdns.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-05-05 09:16:45 UTC; 54min ago
Docs: man:pdns_server(1)
man:pdns_control(1)
https://doc.powerdns.com
Main PID: 582166 (pdns_server)
Tasks: 10 (limit: 1132)
Memory: 51.5M
CGroup: /system.slice/pdns.service
└─582166 /usr/sbin/pdns_server --guardian=no --daemon=no --disable-syslog --log-timestamp=n>

How did you install PowerDNS Admin ?

You can check the logs from the container with docker logs. Please provide logs when the error 400 happens
Ex:
docker ps
CONTAINER ID   IMAGE                COMMAND                  CREATED        STATUS                  PORTS                                                                                NAMES
c35e461f3e1f   powerdns-admin-dev   "entrypoint.sh gunic…"   12 hours ago   Up 12 hours (healthy)   <IP_ADDRESS>:9191->80/tcp, :::9191->80/tcp                                                                                powerdns_admin_dev
docker logs powerdns_admin_dev -f

logs shows this all the time [2022-05-05 11:03:52,741] [server.py:60] ERROR - Can not get server statistics. DETAIL: HTTPConnectionPool(host='<IP_ADDRESS>', port=8081): Max retries exceeded with url: /api/v1/servers/localhost/statistics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1d363523d0>: Failed to establish a new connection: [Errno 111] Connection refused'))

yep on 400 it is
[2022-05-05 11:07:29,027] [domain.py:252] ERROR - Cannot add domain 0xnim.xyz. HTTPConnectionPool(host='<IP_ADDRESS>', port=8081): Max retries exceeded with url: /api/v1/servers/localhost/zones (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1d36294460>: Failed to establish a new connection: [Errno 111] Connection refused'))

i cant connect to it but can curl locally

host

LOCAL:
[nim1com@TheIncinirator ~]$ curl -v -H 'X-API-Key: pa8J810Jia0' http://<IP_ADDRESS>:8081/api/v1/servers/localhost/zones/example.org | jq .

Trying <IP_ADDRESS>:8081...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* connect to <IP_ADDRESS> port 8081 failed: Connection refused
Failed to connect to <IP_ADDRESS> port 8081 after 67 ms: Connection refused
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Closing connection 0
curl: (7) Failed to connect to <IP_ADDRESS> port 8081 after 67 ms: Connection refused

HOST:
root@pageifyns:~# curl -v -H 'X-API-Key: pa8J810Jia0' http://<IP_ADDRESS>:8081/api/v1/servers/localhost/zones/example.org | jq .

Trying <IP_ADDRESS>:8081...
TCP_NODELAY set
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8081 (#0)

GET /api/v1/servers/localhost/zones/example.org HTTP/1.1
Host: <IP_ADDRESS>:8081
User-Agent: curl/7.68.0
Accept: /
X-API-Key: pa8J810Jia0

Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Connection: close
< Content-Length: 824
< Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'
< Content-Type: application/json
< Server: PowerDNS/4.6.1
< X-Content-Type-Options: nosniff
< X-Frame-Options: deny
< X-Permitted-Cross-Domain-Policies: none
< X-Xss-Protection: 1; mode=block
<
{ [824 bytes data]
100   824  100   824    0     0  58857      0 --:--:-- --:--:-- --:--:--  114k
Closing connection 0
{
"account": "",
"api_rectify": false,
"dnssec": false,
"edited_serial":<PHONE_NUMBER>,
"id": "example.org.",
"kind": "Native",
"last_check": 0,
"master_tsig_key_ids": [],
"masters": [],
"name": "example.org.",
"notified_serial": 0,
"nsec3narrow": false,
"nsec3param": "",
"rrsets": [
{
"comments": [],
"name": "example.org.",
"records": [
{
"content": "a.misconfigured.dns.server.invalid. hostmaster.example.org.<PHONE_NUMBER> 10800 3600<PHONE_NUMBER>",
"disabled": false
}
],
"ttl": 3600,
"type": "SOA"
},
{
"comments": [],
"name": "example.org.",
"records": [
{
"content": "ns1.example.org.",
"disabled": false
},
{
"content": "ns2.example.org.",
"disabled": false
}
],
"ttl": 3600,
"type": "NS"
}
],
"serial":<PHONE_NUMBER>,
"slave_tsig_key_ids": [],
"soa_edit": "",
"soa_edit_api": "DEFAULT",
"url": "/api/v1/servers/localhost/zones/example.org."
}

and curl -v -H 'X-API-Key: pa8J810Jia0' http://<IP_ADDRESS>:8081/api/v1/servers/localhost/zones/example.org | jq . on host returs same as local

You have to give PDA the <IP_ADDRESS> (docker host ip?) for connecting.
With <IP_ADDRESS> you can not connect from container to the host.

?

Hello,
What happens is that you are querying the loopback address of the host from the container, which has its own loopback. You need to ensure that PowerDNS webserver is listening on another host interface:

does PowerDNS run on TheIncinirator machine ?
does PowerDNS Admin Docker run on TheIncinirator machine ?
is <IP_ADDRESS> the ip adress of TheIncinirator machine ?

If so please configure PowerDNS Admin (Settings > PDNS) to query http://<IP_ADDRESS>:8081

TheIncinirator is my local machine
<IP_ADDRESS>  is host

changing the ip to <IP_ADDRESS>  did not fix the 400 error

it seems i cannot connect to the api from other than localhost

]: [webserver] Listening for HTTP requests on <IP_ADDRESS>:8081
how do i change that

You need to configure PowerDNS webserver to bind on the external IP, by setting webserver-address to the host ip address (and restart the pdns service)
Then once you could be able to use curl on its ip address it should work from the container.

i thonk that broke it Webserver closing socket: remote (<IP_ADDRESS>) does not match the set ACL(<IP_ADDRESS>/32, ::1/128)

config:
#################################
webserver-address     IP Address of webserver/API to listen on

webserver-address=<IP_ADDRESS>
#################################
webserver-allow-from  Webserver/API access is only allowed from these subnets

webserver-allow-from=<IP_ADDRESS>,::1

okay removed the lowerone
progress:
curl: (56) Recv failure: Connection reset by peer

Can you curl <IP_ADDRESS> from your machine ?
curl -v -H 'X-API-Key: pa8J810Jia0' http://<IP_ADDRESS>:8081/api/v1/servers/localhost/zones/example.org

Either it is not listening, or you have a firewall somewhere
sudo ss -tulpn | grep LISTEN on the PowerDNS server should show you if it listens on <IP_ADDRESS>:8081

yep
tcp     LISTEN   0        10         <IP_ADDRESS>:8081          <IP_ADDRESS>:*       users:(("pdns_server",pid=2134,fd=9))
tcp     LISTEN   0        128              <IP_ADDRESS>:53            <IP_ADDRESS>:*       users:(("pdns_server",pid=2134,fd=7))

uhh that last bit is a bit hard to understand but uhh like smth abt priv address and yes it has 1

changed to this
tcp     LISTEN   0        10            <IP_ADDRESS>:8081          <IP_ADDRESS>:*       users:(("pdns_server",pid=23612,fd=9))
tcp     LISTEN   0        128              <IP_ADDRESS>:53            <IP_ADDRESS>:*       users:(("pdns_server",pid=23612,fd=7))

from this to this
root@pageifyns:~# curl -v -H 'X-API-Key: pa8J810Jia0' http://<IP_ADDRESS>:8081/api/v1/servers/localhost/zones/ | jq .

Trying <IP_ADDRESS>:8081...
TCP_NODELAY set
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8081 (#0)

GET /api/v1/servers/localhost/zones/ HTTP/1.1
Host: <IP_ADDRESS>:8081
User-Agent: curl/7.68.0
Accept: /
X-API-Key: pa8J810Jia0

Empty reply from server
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Connection #0 to host <IP_ADDRESS> left intact
curl: (52) Empty reply from server
root@pageifyns:~# curl -v -H 'X-API-Key: pa8J810Jia0' http://<IP_ADDRESS>:8081/api/v1/servers/localhost/zones/ | jq .*   Trying <IP_ADDRESS>:8081...
TCP_NODELAY set
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* connect to <IP_ADDRESS> port 8081 failed: Connection refused
Failed to connect to <IP_ADDRESS> port 8081: Connection refused
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Closing connection 0
curl: (7) Failed to connect to <IP_ADDRESS> port 8081: Connection refused

Better, but you have an empty reply, what do the PowerDNS logs tells ? (you should remove the trailing slash from the request url)

May  6 00:00:05 pageifyns rsyslogd: [origin software="rsyslogd" swVersion="8.2001.0" x-pid="677" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
May  6 00:00:05 pageifyns systemd[1]: logrotate.service: Succeeded.
May  6 00:00:05 pageifyns systemd[1]: Finished Rotate log files.
May  6 00:00:05 pageifyns systemd[1]: man-db.service: Succeeded.
May  6 00:00:05 pageifyns systemd[1]: Finished Daily man-db regeneration.
May  6 00:17:01 pageifyns CRON[37182]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 01:17:01 pageifyns CRON[39970]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 01:38:28 pageifyns systemd[1]: Starting Daily apt download activities...
May  6 01:38:31 pageifyns dbus-daemon[664]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.31' (uid=0 pid=41379 comm="/usr/bin/gdbus call --system --dest org.freedeskto" label="unconfined")
May  6 01:38:31 pageifyns systemd[1]: Starting PackageKit Daemon...
May  6 01:38:31 pageifyns PackageKit: daemon start
May  6 01:38:31 pageifyns dbus-daemon[664]: [system] Successfully activated service 'org.freedesktop.PackageKit'
May  6 01:38:31 pageifyns systemd[1]: Started PackageKit Daemon.
May  6 01:38:46 pageifyns systemd[1]: apt-daily.service: Succeeded.
May  6 01:38:46 pageifyns systemd[1]: Finished Daily apt download activities.
May  6 01:43:37 pageifyns PackageKit: daemon quit
May  6 01:43:37 pageifyns systemd[1]: packagekit.service: Succeeded.
May  6 02:03:59 pageifyns systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
May  6 02:03:59 pageifyns systemd[1]: ua-timer.service: Succeeded.
May  6 02:03:59 pageifyns systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.
May  6 02:17:01 pageifyns CRON[43168]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 02:45:42 pageifyns snapd[680]: storehelpers.go:721: cannot refresh: snap has no updates available: "core18", "core20", "docker", "lxd", "snapd"
May  6 02:45:42 pageifyns snapd[680]: autorefresh.go:539: auto-refresh: all snaps are up-to-date
May  6 03:10:01 pageifyns CRON[45460]: (root) CMD (test -e /run/systemd/system || SERVICE_MODE=1 /sbin/e2scrub_all -A -r)
May  6 03:17:01 pageifyns CRON[45779]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 04:17:01 pageifyns CRON[48259]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 05:17:01 pageifyns CRON[50642]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 06:17:01 pageifyns CRON[53227]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 06:25:01 pageifyns CRON[53614]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
May  6 06:26:00 pageifyns systemd[1]: Starting Daily apt upgrade and clean activities...
May  6 06:26:09 pageifyns systemd[1]: Reloading.
May  6 06:26:09 pageifyns systemd-udevd[597]: Network interface NamePolicy= disabled on kernel command line, ignoring.
May  6 06:26:09 pageifyns systemd[1]: Starting A high performance web server and a reverse proxy server...
May  6 06:26:09 pageifyns nginx[53833]: nginx: [emerg] open() "/etc/nginx/sites-enabled/smartface" failed (2: No such file or directory) in /etc/nginx/nginx.conf:62
May  6 06:26:09 pageifyns nginx[53833]: nginx: configuration file /etc/nginx/nginx.conf test failed
May  6 06:26:09 pageifyns systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
May  6 06:26:09 pageifyns systemd[1]: nginx.service: Failed with result 'exit-code'.
May  6 06:26:09 pageifyns systemd[1]: Failed to start A high performance web server and a reverse proxy server.
May  6 06:26:10 pageifyns dbus-daemon[664]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.36' (uid=0 pid=53890 comm="/usr/bin/gdbus call --system --dest org.freedeskto" label="unconfined")
May  6 06:26:10 pageifyns systemd[1]: Starting PackageKit Daemon...
May  6 06:26:10 pageifyns PackageKit: daemon start
May  6 06:26:10 pageifyns dbus-daemon[664]: [system] Successfully activated service 'org.freedesktop.PackageKit'
May  6 06:26:10 pageifyns systemd[1]: Started PackageKit Daemon.
May  6 06:26:18 pageifyns systemd[1]: apt-daily-upgrade.service: Succeeded.
May  6 06:26:18 pageifyns systemd[1]: Finished Daily apt upgrade and clean activities.
May  6 06:31:21 pageifyns PackageKit: daemon quit
May  6 06:31:21 pageifyns systemd[1]: packagekit.service: Succeeded.
May  6 06:37:19 pageifyns dbus-daemon[664]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.40' (uid=0 pid=54745 comm="/usr/bin/gdbus call --system --dest org.freedeskto" label="unconfined")
May  6 06:37:19 pageifyns systemd[1]: Starting PackageKit Daemon...
May  6 06:37:19 pageifyns PackageKit: daemon start
May  6 06:37:19 pageifyns dbus-daemon[664]: [system] Successfully activated service 'org.freedesktop.PackageKit'
May  6 06:37:19 pageifyns systemd[1]: Started PackageKit Daemon.
May  6 06:37:23 pageifyns systemd[1]: Reloading.
May  6 06:37:24 pageifyns systemd[1]: Starting Message of the Day...
May  6 06:37:24 pageifyns systemd[1]: motd-news.service: Succeeded.
May  6 06:37:24 pageifyns systemd[1]: Finished Message of the Day.
May  6 06:37:24 pageifyns systemd-udevd[597]: Network interface NamePolicy= disabled on kernel command line, ignoring.
May  6 06:37:24 pageifyns systemd[1]: Starting A high performance web server and a reverse proxy server...
May  6 06:37:24 pageifyns nginx[54875]: nginx: [emerg] open() "/etc/nginx/sites-enabled/smartface" failed (2: No such file or directory) in /etc/nginx/nginx.conf:62
May  6 06:37:24 pageifyns nginx[54875]: nginx: configuration file /etc/nginx/nginx.conf test failed
May  6 06:37:24 pageifyns systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
May  6 06:37:24 pageifyns systemd[1]: nginx.service: Failed with result 'exit-code'.
May  6 06:37:24 pageifyns systemd[1]: Failed to start A high performance web server and a reverse proxy server.
May  6 06:37:31 pageifyns CRON[53613]: (CRON) info (No MTA installed, discarding output)
May  6 06:42:29 pageifyns PackageKit: daemon quit
May  6 06:42:29 pageifyns systemd[1]: packagekit.service: Succeeded.
May  6 07:17:01 pageifyns CRON[57229]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 08:17:01 pageifyns CRON[60918]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 08:43:38 pageifyns systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
May  6 08:43:38 pageifyns systemd[1]: ua-timer.service: Succeeded.
May  6 08:43:38 pageifyns systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.
May  6 09:07:40 pageifyns systemd[1]: Starting Refresh fwupd metadata and update motd...
May  6 09:07:40 pageifyns dbus-daemon[664]: [system] Activating via systemd: service name='org.freedesktop.fwupd' unit='fwupd.service' requested by ':1.44' (uid=62803 pid=63598 comm="/usr/bin/fwupdmgr refresh " label="unconfined")
May  6 09:07:40 pageifyns systemd[1]: Starting Firmware update daemon...
May  6 09:07:40 pageifyns dbus-daemon[664]: [system] Successfully activated service 'org.freedesktop.fwupd'
May  6 09:07:40 pageifyns systemd[1]: Started Firmware update daemon.
May  6 09:07:40 pageifyns fwupdmgr[63598]: Updating lvfs
May  6 09:07:41 pageifyns fwupdmgr[63598]: Successfully downloaded new metadata: 0 local devices supported
May  6 09:07:41 pageifyns systemd[1]: fwupd-refresh.service: Succeeded.
May  6 09:07:41 pageifyns systemd[1]: Finished Refresh fwupd metadata and update motd.
May  6 09:17:01 pageifyns CRON[64061]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 09:33:01 pageifyns CRON[64762]: (root) CMD (   test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond)
May  6 09:48:21 pageifyns systemd[1]: Created slice User Slice of UID 0.
May  6 09:48:21 pageifyns systemd[1]: Starting User Runtime Directory /run/user/0...
May  6 09:48:21 pageifyns systemd[1]: Finished User Runtime Directory /run/user/0.
May  6 09:48:21 pageifyns systemd[1]: Starting User Manager for UID 0...
May  6 09:48:21 pageifyns systemd[65475]: Reached target Paths.
May  6 09:48:21 pageifyns systemd[65475]: Reached target Timers.
May  6 09:48:21 pageifyns systemd[65475]: Starting D-Bus User Message Bus Socket.
May  6 09:48:21 pageifyns systemd[65475]: Listening on GnuPG network certificate management daemon.
May  6 09:48:21 pageifyns systemd[65475]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
May  6 09:48:21 pageifyns systemd[65475]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
May  6 09:48:21 pageifyns systemd[65475]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
May  6 09:48:21 pageifyns systemd[65475]: Listening on GnuPG cryptographic agent and passphrase cache.
May  6 09:48:21 pageifyns systemd[65475]: Listening on debconf communication socket.
May  6 09:48:21 pageifyns systemd[65475]: Listening on REST API socket for snapd user session agent.
May  6 09:48:21 pageifyns systemd[65475]: Listening on D-Bus User Message Bus Socket.
May  6 09:48:21 pageifyns systemd[65475]: Reached target Sockets.
May  6 09:48:21 pageifyns systemd[65475]: Reached target Basic System.
May  6 09:48:21 pageifyns systemd[1]: Started User Manager for UID 0.
May  6 09:48:21 pageifyns systemd[1]: Started Session 31 of user root.
May  6 09:48:21 pageifyns systemd[65475]: Reached target Main User Target.
May  6 09:48:21 pageifyns systemd[65475]: Startup finished in 168ms.
May  6 10:17:01 pageifyns CRON[66663]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 10:23:56 pageifyns systemd[1]: Starting Daily apt download activities...
May  6 10:23:57 pageifyns systemd[1]: apt-daily.service: Succeeded.
May  6 10:23:57 pageifyns systemd[1]: Finished Daily apt download activities.
May  6 11:07:42 pageifyns systemd[1]: fwupd.service: Succeeded.
May  6 11:17:01 pageifyns CRON[69087]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  6 11:50:38 pageifyns systemd[1]: Starting Cleanup of Temporary Directories...
May  6 11:50:38 pageifyns systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
May  6 11:50:38 pageifyns systemd[1]: Finished Cleanup of Temporary Directories.
May  6 11:50:42 pageifyns snapd[680]: storehelpers.go:721: cannot refresh: snap has no updates available: "core18", "core20", "docker", "lxd", "snapd"
May  6 11:50:42 pageifyns snapd[680]: autorefresh.go:539: auto-refresh: all snaps are up-to-date
May  6 12:17:01 pageifyns CRON[71858]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)

what else can i try?

You can get help on PowerDNS IRC channel to configure your system for correct logging and interface binding.
Once it will be configured, and you can query the PowerDNS API via it's ip address correctly, we can continue this discussion.
Regards

No update yet, please reopen if you still need more help


1.0.0 Beta0 fails to start with existing configuration

Hi,
I tried updating to the beta from 0.1.0, compiling goes well but upon restarting the service I get the below error.
systemd[1]: Starting Authenticated Resource Chain (ARC) Milter...
openarc[16589]: openarc: /etc/openarc/openarc.conf: refile:/etc/opendkim/TrustedHosts: arcf_list_load(): No such file or directory
systemd[1]: openarc.service: Control process exited, code=exited status=78
systemd[1]: Failed to start Authenticated Resource Chain (ARC) Milter.

Switching back to 0.1.0 works as expected.
Below is the link to my configuration file which works perfectly with 0.1.0.
https://gist.github.com/cshawaus/05e08b939b8ae66644e5340cba1d28c3
System Details
OS: Ubuntu 16.04.4 LTS
OpenDKIM: 2.10.3
Postfix: 3.1.0

Same issue.  Mine reads:
openarc: /etc/openarc.conf: ::/0: arcf_list_load(): No such file or directory
This is due to a change in the parsing of InternalHosts. #101 includes a patch.

On further inspection, I am not clear that #101 is the correct patch.  It seems that the openarc.conf refers to a "dataset" type akin to opendkim.conf, but the implementation always treats the argument for PeerList and InternalHosts as a file.
Why OpenARC treats fields differently from OpenDKIM is beyond me.

I can conform this issue. After starting openarc.service I see:
$ sudo systemctl status openarc
● openarc.service - Authenticated Resource Chain (ARC) Milter
Loaded: loaded (/lib/systemd/system/openarc.service; linked; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-08-11 12:23:22 CEST; 7min ago
Docs: man:openarc(8)
man:openarc.conf(5)
http://www.trusteddomain.org/openarc
Process: 22837 ExecStart=/usr/local/openarc-0.1.0/sbin/openarc $OPTIONS (code=exited, status=78)
Aug 11 12:23:22 lithium systemd[1]: Starting Authenticated Resource Chain (ARC) Milter...
Aug 11 12:23:22 lithium systemd[1]: openarc.service: Control process exited, code=exited status=78
Aug 11 12:23:22 lithium systemd[1]: Failed to start Authenticated Resource Chain (ARC) Milter.
Aug 11 12:23:22 lithium systemd[1]: openarc.service: Unit entered failed state.
Aug 11 12:23:22 lithium systemd[1]: openarc.service: Failed with result 'exit-code'.

I can't reproduce this locally.  What's in your openarc.conf and in your InternalHosts file?

What happens when you run openarc from the shell directly?
I agree with the earlier synopsis: You're apparently using OpenDKIM syntax for "InternalHosts".  OpenARC does not (yet) know what a "refile" is.  It only understands plain text files.  Thus, that prefix is assumed to be part of the filename.

I didn't set InternalHosts yet.

I just set InternalHosts to /etc/openarc/internalhosts
and the contents of internalhosts is just one line:
<IP_ADDRESS>
Next, I tried to start openarc using systemctl and got:
systemctl status openarc
● openarc.service - Authenticated Resource Chain (ARC) Milter
Loaded: loaded (/lib/systemd/system/openarc.service; linked; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-09-17 23:48:37 CEST; 3min 39s ago
Docs: man:openarc(8)
man:openarc.conf(5)
http://www.trusteddomain.org/openarc
Process: 29651 ExecStart=/usr/local/openarc-0.1.0/sbin/openarc $OPTIONS (code=exited, status=203/EXEC)
Sep 17 23:48:37 lithium systemd[1]: Starting Authenticated Resource Chain (ARC) Milter...
Sep 17 23:48:37 lithium systemd[1]: openarc.service: Control process exited, code=exited status=203
Sep 17 23:48:37 lithium systemd[1]: Failed to start Authenticated Resource Chain (ARC) Milter.
Sep 17 23:48:37 lithium systemd[1]: openarc.service: Unit entered failed state.
Sep 17 23:48:37 lithium systemd[1]: openarc.service: Failed with result 'exit-code'.
I created /var/run/openarc and made it owner openarc:openarc.

cat /lib/systemd/system/openarc.service
After=network.target nss-lookup.target syslog.target
[Unit]
Description=Authenticated Resource Chain (ARC) Milter
Documentation=man:openarc(8) man:openarc.conf(5) http://www.trusteddomain.org/openarc
After=network.target nss-lookup.target syslog.target
[Service]
Type=forking
PIDFile=/var/run/openarc/openarc.pid
EnvironmentFile=/etc/default/openarc
ExecStart=/usr/local/openarc-0.1.0/sbin/openarc $OPTIONS
ExecReload=/bin/kill -USR1 $MAINPID
User=openarc
Group=openarc
[Install]
WantedBy=multi-user.target

and openarc.conf:
AuthservID		mx3.mailtransaction.com
AutoRestart		yes
AutoRestartCount	10
AutoRestartRate	10/1h
Domain			mailtransaction.com
InternalHosts		/etc/openarc/internalhosts
KeepTemporaryFiles	no
KeyFile			/etc/openarc/201808.private
MilterDebug		0
Mode			sv
Selector		201808
SignatureAlgorithm	rsa-sha256
Socket			inet:3336@localhost
SoftwareHeader	yes
Syslog			Yes
SyslogFacility	mail
TemporaryDirectory	/tmp
UserID		openarc:openarc

Oh, BTW: when I start openarc from the shell it runs OK. Well, eh..., it runs for a couple of days and then it's gone, not yet had time to investigate that problem.

FYI: compiled and run it on Ubuntu server:
Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-135-generic x86_64)

Status 203 is interesting.  Our exit codes are only the ones defined in <sysexits.h>.

Not sure I did the right thing. As I compiled from source there is no standard systemd startup file, so I copied things from opendkim (IIRC).

I'm sorry, corrected the path to the executable and now I get the error=78 again:
journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit openarc.service has begun starting up.
Sep 18 00:25:32 lithium systemd[29955]: openarc.service: Failed at step EXEC spawning /usr/local/openarc-0.1.0/sbin/openarc: No such file or directory
-- Subject: Process /usr/local/openarc-0.1.0/sbin/openarc could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- The process /usr/local/openarc-0.1.0/sbin/openarc could not be executed and failed.
-- The error number returned by this process is 2.
Sep 18 00:25:32 lithium systemd[1]: openarc.service: Control process exited, code=exited status=203
Sep 18 00:25:32 lithium systemd[1]: Failed to start Authenticated Resource Chain (ARC) Milter.
-- Subject: Unit openarc.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit openarc.service has failed.
-- The result is failed.
Sep 18 00:25:32 lithium systemd[1]: openarc.service: Unit entered failed state.
Sep 18 00:25:32 lithium systemd[1]: openarc.service: Failed with result 'exit-code'.
Sep 18 00:25:42 lithium systemd[1]: Reloading.
Sep 18 00:25:42 lithium systemd[1]: Started ACPI event daemon.
-- Subject: Unit acpid.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit acpid.service has finished starting up.
-- The start-up result is done.
Sep 18 00:25:52 lithium systemd[1]: Stopped Authenticated Resource Chain (ARC) Milter.
-- Subject: Unit openarc.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit openarc.service has finished shutting down.
Sep 18 00:25:57 lithium systemd[1]: Starting Authenticated Resource Chain (ARC) Milter...
-- Subject: Unit openarc.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit openarc.service has begun starting up.
Sep 18 00:25:57 lithium openarc[29997]: openarc: milter socket must be specified
Sep 18 00:25:57 lithium openarc[29997]:         (use "-?" for help)
Sep 18 00:25:57 lithium systemd[1]: openarc.service: Control process exited, code=exited status=78
Sep 18 00:25:57 lithium systemd[1]: Failed to start Authenticated Resource Chain (ARC) Milter.
-- Subject: Unit openarc.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit openarc.service has failed.
-- The result is failed.
Sep 18 00:25:57 lithium systemd[1]: openarc.service: Unit entered failed state.
Sep 18 00:25:57 lithium systemd[1]: openarc.service: Failed with result 'exit-code'.

Hmm, in /etc/init.d/openarc there is a line:
SOCKET=local:$RUNDIR/$NAME.sock
and a line:
CONFIG_SOCKET=awk '$1 == "Socket" { print $2 }' /etc/openarc/openarc.conf
Which one is used?
/rolf

I'd have to see the whole file.  If both the command line flag "-p" and the "Socket" value in the config file are present when the filter is started, the config file's value wins.
But even if that path refers to something that doesn't exist, this wouldn't explain a 78 exit code.  That's explicitly a configuration error.
Where does stderr go from these invocations?  That's where the true error should be visible.

/etc/init.d/openarc:
openarc.txt

/etc/openarc/openarc.conf:
openarc.conf.txt

Not sure where stderr is directed to during startup. Will try to find out.

I think stderr is directed to /var/log/syslog. In /var/log/syslog I see the following:
Sep 28 21:53:11 lithium systemd[1]: Starting Authenticated Resource Chain (ARC) Milter...
Sep 28 21:53:11 lithium openarc[24968]: openarc: milter socket must be specified
Sep 28 21:53:11 lithium openarc[24968]: #011(use "-?" for help)
Sep 28 21:53:11 lithium systemd[1]: openarc.service: Control process exited, code=exited status=78
Sep 28 21:53:11 lithium systemd[1]: Failed to start Authenticated Resource Chain (ARC) Milter.
Sep 28 21:53:11 lithium systemd[1]: openarc.service: Unit entered failed state.
Sep 28 21:53:11 lithium systemd[1]: openarc.service: Failed with result 'exit-code'.

I wonder where the startup line in openarc.service:
ExecStart=/usr/local/openarc/sbin/openarc $OPTIONS
gets its OPTIONS variable from?

I was able to get a proper working startup, by explicitely setting:
PidFile		/var/run/openarc/openarc.pid
in /etc/openarc/openarc.conf and by changing the ExecStart line in the openarc.service file to:
ExecStart=/usr/local/openarc/sbin/openarc -c /etc/openarc/openarc.conf -u openarc
After doing a 'systemctl daemon-reload', openarc started without a problem.


Is this library using blas or fortran libraries for performance?

At this point I'd only recommend using this library for small to medium sized datasets. I have plans to optimize it for large datasets at some point, but not in the near future. That said, I welcome PRs.

@safwank have you seen @remiq's work integrating a CUDA-based Erlang C Node with Elixir?  Might be an interesting approach to sidestep the whole NIF "hang" issue and dealing with Port I/O and provide a more Elixir-like integration to a compute server.
Not sure how well it would work with marshaling large chunks of data...

@arpieb Writing C Nodes for a "collection of functions" would be an overkill. Not only because of (re)writing functions in another language and node sync problems, but also compiling it on different machines is complicated. If you have specific problem in mind (ie. that requires a lot of computing power) and you want to maintain it on your machine then maybe it is worth to use C Nodes. Otherwise I wouldn't recommend to use it, especially at production (but I do).


[dev] fix: properly route to new preview id after reload

Fixes #1082 and might fix #1107
We keep preview_id in an Arc<Mutex so that when a reload is detected on another thread, the dev server can properly route new requests to the new preview_id. Previously, the server would only attempt to acquire the lock every couple of minutes. After moving the lock acquisition to service_fn from make_service_fn, the lock is acquired on every request, making sure that each request is going to the right version of the script.

Previously, the server would only attempt to acquire the lock every couple of minutes

That would explain why small changes sometimes would not take.

Yup! We're going to try to get this fix into a point release today.


feat: add ServerDurableQueue,  providing durable queue option for micro.RegisterSubscriber

With this option, we could further improve the durability of subscribers. thanks.
...

micro.RegisterSubscriber(
  topic,
  microServer,
  eventHandler,
  server.SubscriberQueue(name),
  rabbitmq.ServerDurableQueue(), // durable
)
...

@jochumdev could you pls review and merge this pr ? thanks


artifact name 'raylib' is ambiguous

I get an error if I try to include raylib after updating this package in a project:
Error message:

thread 83664 panic: artifact name 'raylib' is ambiguous
/home/xxx/Downloads/zig/lib/std/Build.zig:1879:41: 0x145b5a8 in artifact (build)
if (found != null) panic("artifact name '{s}' is ambiguous", .{name});
^
/home/xxx/repos/Zig/raylib_test/build.zig:24:48: 0x1418c9e in build (build)
const raylib_artifact = raylib_dep.artifact("raylib");`

I tried compiling in an empty project to see if it is my projects problem. Unfortunately I got the same error in an empty project with a simple build script:
const raylib_dep = b.dependency("raylib-zig", .{
        .target = target,
        .optimize = optimize,
    });

    const raylib = raylib_dep.module("raylib");
    const raylib_artifact = raylib_dep.artifact("raylib");

    const exe = b.addExecutable(.{
        .name = "raylib_test",
        .root_source_file = b.path("src/main.zig"),
        .target = target,
        .optimize = optimize,
    });

    exe.root_module.addImport("raylib", raylib);
    exe.linkLibrary(raylib_artifact);

    // This declares intent for the executable to be installed into the
    // standard location when the user invokes the "install" step (the default
    // step when running `zig build`).
    b.installArtifact(exe);

My Zig version:
0.14.0-dev.1294+df6907f60 (This could be a problem but wasn't a problem before)

Caused by the fix to #170. I'll have to solve it another way