"ReferenceError: NPObject deleted

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

I have define a custom plugin, it worked fine in iOS, but for android, it only worked fine for this situation: you have no iframe elements in your page, or the page with iframe has not appeared yet. If the page with iframe has appeared,  you call the cordova plugin, then you  will get error like below
I/chromium(14138): [INFO:CONSOLE(78165)] "ORIGINAL STACKTRACE:", source: file:///android_asset/www/build/main.js (78165)
D/SystemWebChromeClient(14138): file:///android_asset/www/build/main.js: Line 78166 : ReferenceError: NPObject deleted
D/SystemWebChromeClient(14138):     at androidExec (file:///android_asset/www/cordova.js:967:40)
D/SystemWebChromeClient(14138):     at Object.exports.openURL (file:///android_asset/www/plugins/com.siamlian.openinnativ
ebrowser/www/OpenInNativeBrowser.js:5:5)
D/SystemWebChromeClient(14138):     at AboutPage.openEmailInNativeBrowser (file:///android_asset/www/build/main.js:84613:
33)
D/SystemWebChromeClient(14138):     at DebugAppView.View_AboutPage0.handleEvent_9 (/AppModule/AboutPage/component.ngfacto
ry.js:174:34)
D/SystemWebChromeClient(14138):     at DebugAppView.<anonymous> (file:///android_asset/www/build/main.js:136306:37)
D/SystemWebChromeClient(14138):     at HTMLButtonElement.<anonymous> (file:///android_asset/www/build/main.js:58108:53)
D/SystemWebChromeClient(14138):     at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:10284)
D/SystemWebChromeClient(14138):     at Object.inner.inner.fork.onInvokeTask (file:///android_asset/www/build/main.js:3869
2:37)
D/SystemWebChromeClient(14138):     at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:10220)
D/SystemWebChromeClient(14138):     at e.runTask (file:///android_asset/www/build/polyfills.js:3:7637)
D/SystemWebChromeClient(14138):     at HTMLButtonElement.invoke (file:///android_asset/www/build/polyfills.js:3:11397)
I/chromium(14138): [INFO:CONSOLE(78166)] "ReferenceError: NPObject deleted

Expected behavior:

Plugin should worked fine
Steps to reproduce:

Related code:
<ion-header>
    <ion-navbar>
        <ion-title>
            About
        </ion-title>
        <ion-buttons end>
            <button ion-button (click)="takePhoto()" class="right-bar-button">Plugin</button>
        </ion-buttons>
    </ion-navbar>
</ion-header>
<ion-content padding>
    <iframe src="http://www.baidu.com" width="100%" height="100%"></iframe>
</ion-content>

takePhoto() {
    let options = {
        maximumImagesCount: 1,
        width: 300,
        height: 300,
        quality : 75
      };
    ImagePicker.getPictures(options);

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
bash-3.2$ ionic info

Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.1.14
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.0
ios-sim version: 5.0.6
OS: macOS Sierra
Node Version: v6.9.2
Xcode version: Xcode 8.2.1 Build version 8C1002

I  don't know why, when i changed the JDK from 1.8 to 1.7, It's OK, worked fine.

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!


LANG-1406 StringIndexOutOfBoundsException in StringUtils.replaceIgnor…

…eCase

@kinow can you kindly review and comment whether this fix holds good, thank you!

Coverage increased (+0.002%) to 95.235% when pulling 77ad336da790dc522216300bfb20d74b779a9d62 on drajakumar:master into c4d0dbcb56b8980b1b3b7c85d00ad6540788c08e on apache:master.

@kinow What do you think is this a better solution than #340?

Needs conflicts resolved...

Oh, actually the issue has been closed in #423! Closing the PR, but thanks for your contribution @drajakumar !


render Mtext

There are a lot of MTEXT and TEXT content in my file that need to be rendered, what should I do?

@1207702931 probably the best choice would be use ADOBE products.
Text rendering requires FONTs, and rendering engines.

Hello,
I need to render text also. I saw that the data returned by the helper gives also Text data like this:
colorNumber : 7 layer : "1" rotation : 90 string : "  1300.0                                                                        " textHeight : 33.7143 type : "TEXT" x : -33.7143 y : 515.14282
Couldn't I simply render and add each text as SVG text? I don't understand what the limitations would be.  Could you enlighten me a little more? (knowing that I don't need custom fonts)

Hello, I need to render text also. I saw that the data returned by the helper gives also Text data like this: colorNumber : 7 layer : "1" rotation : 90 string : " 1300.0 " textHeight : 33.7143 type : "TEXT" x : -33.7143 y : 515.14282
Couldn't I simply render and add each text as SVG text? I don't understand what the limitations would be. Could you enlighten me a little more? (knowing that I don't need custom fonts)

I have the same problem, did you manage to solve it?

Hello!
Sorry for the late response, I managed to get the text but I didn't need it anymore, so I didn't continue the development, so the code is not clean at all.
Anyway if this can help you, here is my fork. I modified the code in this file to allow the text.
https://github.com/KamyarTaher/dxfWText/blob/develop/src/toSVG.js


Validate endpoint from connection string

From https://github.com/MicrosoftDocs/azure-docs/issues/11680 .
It is possible that the connection string is messed up when it is copied around. SDK can validate the endpoint to be a valid URI and display error message to help troubleshoot.

Fixed by #142


Please add CPython 2.7.10

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/19669228-please-add-cpython-2-7-10?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

duplicated with #380


Make coordinates available depend on grid

Make coordinates available depend on grid instead of allowing the user to dictate any possible coordinate.  For simplicity of implementation, it is acceptable to only directly support grid combinations with a depth of at most 3 grids and deal with other combination grids by allowing all possible coordinate combinations. For directly supported grids, users will only be able to dictate valid coordinates. Input coordinate system is probably the class to keep track of supported coordinates for a grid.

I am no longer going to support only supported coordinates for directly supported grids in that numeric coordinates will always make use of every number in the standard capture used.


Bug: Typo in Sleep

Should say "Living creatures" at the start of sentence two.

This is the text from the latest version of the quickstart which we should be using:


fix: improve error message and handling in syscall-server

Description

Improve error message when attach to unrelated process
Improve syscall server error handle

Now, if one uprobe attach failed, it will continue trying to attach other uprobes.

Thanks for your help!


Support Object.attr_Rw.

Support attr_Rw as a compromise between attr_accessor and attr_reader. attr_Rw generates a public reader and a protected writer, which matches standard the OOP white box pattern: you are allowed to read (using the public getter) but not to write (because the setter is not public).

do we really need this shortcut in the core language?
Why is  writer protected not private?

As @baroquebobcat and @uujava currently do not see sufficiently general usefulness for this macro in the Mirah standard macro library, and as @uujava 's macro registration SPI now exists (thank you :-)), I withdraw this PR for the time being.


Streaming Api fails in test sandboxes

I'm using jsforce 1.4.1 in node.js and I have been getting this error when trying to use the Streaming Api in a sandbox. I remember it used to work correctly so I am unsure where this problem is coming from.
https://jsforce.github.io/document/#streaming-api
/node_modules/jsforce/node_modules/faye/node/faye-node.js:616
uri.protocol = uri.protocol || Faye.ENV.location.protocol;
^
TypeError: Cannot read property 'protocol' of undefined
To reiterate production orgs seem to work fine this is only in test. I am setting my loginUrl to 'https://test.salesforce.com'.

Does this sandbox use a custom domain by any chance? If so, do other jsforce commands work?

The org has a subdomain set but not a custom domain. Also, I am able to use Apis like Bulk and Metadata within jsforce without issue.

I was also able to test the push topic using https://workbench.developerforce.com/streaming.php and that is working correct so I think I can rule out an issue with salesforce.

This was bad code on my end, I was never falling into logic that would correctly set my loginUrl to 'https://test.salesforce.com'


The details procedures of how to change app and sender icon in this app

I can find both steps 2.8 and 5 in deployment guide mentioned can configurate app icon and name.
May I know the relationship of those 2 configurations? Which one is really can change the sender icon and name when user receive message? or Both?

Hi @rex-ma
As mentioned, it can be done from both steps. The preferred way is to do it through Step 5 while creating the team's package. In this, you will have more flexibility if you want to update the icon and name again in the future and re-deploy the team’s package.

For Icon: Please use the different Icon with the same name of color.png under the Manifest folder.
For Name: Please update the [name --> short] in the manifest files for Author and User bot.

Hi @rex-ma
Please let us know if you've any queries or we can close this issue

Looks like changes in app manifests are not enough. In toast notification on Desktop Client, a user will see a standard icon.

Hi @Mikhail2k15 , may we know what is "toast notification on Desktop Client"? Thanks


Add a keycloak module

Keycloak as an open source identity and access management
solution is widely used. Setting it up is pretty straightforward as a docker image
but getting anything useful out of it, such as adding test users and identity providers,
is pretty tedious and needs a lot of context.
I think supporting it as a module makes sense. I am intimately familiar with it and I offer to make an initial MR (if that helps
deciding if it's worth as a module or not).

It is already available and actively maintained by @dasniko:
https://github.com/dasniko/testcontainers-keycloak
Have you tried it? :)

@bsideup Thanks for mentioning.
Should we come up with a page listing worthy community modules? WDYT?
@naderghanbari You're welcome to give my module a try and to leave some thoughts and ideas in https://github.com/dasniko/testcontainers-keycloak/issues.
PRs with new features are also appreciated, but we should discuss them before!

Very nice! Thanks. @dasniko I gave it a quick try and works like a charm. I like the simplicity of importing a realm as a JOSN.
I am about to give it a try in our actual projects as well.
@bsideup Thanks, please feel free to close this issue.


css.preprocessorOptions Invalid configuration, because the *. scss file is not loaded in main.js

Describe the bug
/** package.json start /
{
"name": "admin_chenfengbukeyimi",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
"dependencies": {
"normalize.css": "^8.0.1",
"sass": "^1.43.4",
"vue": "^3.2.16"
},
"devDependencies": {
"@vitejs/plugin-vue": "^1.9.3",
"vite": "^2.6.4"
}
}
/* package.json end */
/** main.js  start */
import { createApp } from 'vue'
import App from './App.vue'
import 'normalize.css';
/**
If the. .scss file is not loaded in main.js file, then css.preprocessoroptions in vite.config.js will not be preloaded.
if loaded .scss in main.js file, then we can use the variables defined in the (./src/cores/variables/index.scss) file.
// import './cores/variables/common.scss'; / *.scss */
createApp(App).mount('#app')
/** main.js  end */
/** ./src/cores/variables/index.scss start /
:root {
/* layout 侧边栏 */
--sidebar_width: 240px;
--sidebar_fontsize: 14px;
--sidebar_color: red;
--sidebar_bgcolor: #4abf8a;
--sidebar-icon_width: 64px;
--sidebar-item_color: blue;
--sidebar-item-active_color: rgb(90, 90, 233);
--sidebar-item_bgcolor: green;
--sidebar-item-active_bgcolor: rgb(66, 255, 66);
--sidebar-item-hover_bgcolor: rgb(66, 255, 66);
}
/** ./src/cores/variables/index.scss"; end */
/** vite.config.js start */
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
css: {
preprocessorOptions: {
scss: {
additionalData: @import "./src/cores/variables/index.scss";,
}
}
},
plugins: [vue()]
})
/** vite.config.js end */
Reproduction
1
System Info
{
  "name": "admin_chenfengbukeyimi",
  "version": "0.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "serve": "vite preview"
  },
  "dependencies": {
    "normalize.css": "^8.0.1",
    "sass": "^1.43.4",
    "vue": "^3.2.16"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^1.9.3",
    "vite": "^2.6.4"
  }
}

Used Package Manager
npm
Logs
not log

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

你好@小一米。请使用 GitHub 存储库或StackBlitz提供最小复制。如果 3 天内没有活动，则标记为 的问题将被关闭。need reproduction

the repositories (css.preprocessorOptions Invalid configuration) has just been created. Please clone it according to the warehouse address and preview the debugging project;
Repositories address: https://github.com/XiaoYimi/vite-issues-demos

the repositories (css.preprocessorOptions Invalid configuration) has just been created. Please clone it according to the warehouse address and preview the debugging project;
Repositories address: https://github.com/XiaoYimi/vite-issues-demos

@sodatea  Reproduction cannot resubmit the information. What should I do？

@Niputi Reproduction cannot resubmit the information. What should I do？

Not a bug.

scss.additionalData is only prepended to scss contents. If you don't load any .scss file (or <style lang="scss"> blocks) in your project, there's no place for it to insert in.
It's a bad practice to use scss.additionalData for CSS variables. CSS variables are runtime properties. scss.additionalData is usually used for compile-time SCSS variables.

@sodatea Thank you for your reply. I see.


UITOOL-590/mvp badge component

Proposed Changes
https://coveord.atlassian.net/browse/UITOOL-590

Revamped Badges!
After discussion with UX we chose to remove the Thin variant to keep a font-weight uniform between all variants.
Potential Breaking Changes
There's 2 new props that are required: type  and iconPlacement. The latest is mandatory only if the badge contain an icon.
The mod-tag was also removed from the css and can be replaced with the BadgeType.Default.
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

From your screenshot I think you still have alignment issues 🤔

From your screenshot I think you still have alignment issues thinking

I think it's because if I place the icon in the first column, the text is then centered on the svg and vice-versa :thinking:
I also don't think this would be too mush of a issue if you don't have both badge with inverses icons next to each other :laughing:


How to tweak Intershop Studio to gain better performance

some ideas (not empirical):

disable Intershop Server Project

disable unnecessary validations

important:
make sure all these settings are not overridden on cartridge level:

prevent automatic refresh

Originally posted by @Vankog in https://github.com/intershop/intershop-dev-community/issues/21#issuecomment-1096157841

https://stackoverflow.com/questions/74558674/how-can-i-make-the-intershop-studio-faster

The described solution at stackoverflow works surprisingly well. Benefit: You get a modern Eclipse  and still can edit pipelines with that. Even pipeline debugging is possible.


Hi, there not really PR, but new vision of tgbotapi with new API

Many refactorings and DRYing, all Send* functions replaces with one Send(), Some other small changes. Tests added, 85% coverage. Everything works. Travis added.
Please, check my code. I know, that public API is changed, but it's really useful. It will be great if it possible to merge my code to upstream, but i can rename project and develop it as my own.
Package Syfaro/telegram-bot-api in my fork changed to zhulik/telegram-bot-api. I will change it back if you will merge my code.
Thanks!
ps: I want to develop some Bot framework based on it, with commands support, sessions, middlewares and so on

Do you happen to know how many public methods changed?
I tried updating a project I'm working on, and it only took a few seconds to make it work, so it doesn't seem like it's incredibly different.
Only issue I can see right now is that golint spits out 50 things, mostly because there aren't comments on your new methods.
Also, what was the reasoning behind removing the tgutils package?
And lastly, I've been playing around with designing a bot framework, you can find it here.

@Syfaro SendMessage, SendPhoto, SendDocument, SendAudio, SendVoice, SendSticker, SendVideo, SendLocation, SendChatAction is replaced with one method Send.
UpdatesChan renamed to GetUpdatesChan, BotAPI has no more Updates channel in struct. Channel will returned from GetUpdatesChan and ListenForWebhook(examples in readme and bot_test.go).  Some public methods added(Like RemoveWebhook). Anybody can update their apps in 5 minutes to use new API.
About tgutils package: i suppose, that encoding audio to correct format is not responsibility of bindings lib, furthermore it support only convertion to OGG, but telegram documentation wants mp3 for SendAudio and Ogg for SendVoice. So, i think that user should prepare audio with other tools.
About golint: i will fix it's issues tomorrow.
My framework will be here.

Alright, cool. Not too many breaking issues, I'd love to merge it after you fix the golint stuff.

@Syfaro Lint issues fixed

Could you fix the package names now and links in the README?
After that, I'll merge it.

@Syfaro Hey, names fixed. Please register Travis CI and add your repository to it. Also, i hardcoded some File IDs, Chat IDs, Message IDs c and test Telegram Bot Token in bot_test, so i will receive messages from tests, it is not problem for me. Bot token is for test only and has opened chat only with me. I suppose there is no security issues.
In the future, i can replace real http requests with mocks, but not now

Registered it.
I don't mind the hardcoded stuff, I might change it to send to me instead at some point.

I think, everything is OK,  you can merge it


Cleanup pod annotation test and only support tailing wildcard.

This is a follow up of #1084.
This PR:

Cleanup passthrough pod annotation test;
Change back to only support tailing wildcard, reason https://github.com/containerd/cri/pull/1084#discussion_r268091851.

/cc @harche I think your original solution is better, because:

Regular expression is not convenient for domain name matching, especially for matching ..
A generic wildcard support requires dynamic planning, which makes the code complicated.
Let's just do tailing wildcard support.

Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

^com\.github\.containers\.virtcontainers\.
not as pretty as I would like but ^ works

@mikebrow Initially I thought wildcard match is just a subset of regular expression, that's why I suggested that. But I'm wrong, sorry :P
Just found that we do have a convention at https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set
So basically the annotation key could only be:

name [required, 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.)];
DNS subdomain / name.

I think we can just use golang path.Match.
User can specify things like:

*.example.com
example.com.*
example.com/*
example.com./

I didn't use path.Match initially, because I thought there might be multiple /, and it is hard for users to add patterns for all that: a/*, a/*/*, a/*/*/*.
However, since there can only be at most one slash, I think path.Match is good enough. :) @mikebrow WDYT?

@mikebrow Initially I thought wildcard match is just a subset of regular expression, that's why I suggested that. But I'm wrong, sorry :P
Just found that we do have a convention at https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set
So basically the annotation key could only be:

name [required, 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.)];
DNS subdomain / name.

I think we can just use golang path.Match. With that, users can specify things like:

*.example.com
example.com.*
example.com/*
example.com./

I didn't use path.Match initially, because I thought there might be multiple /, and it is hard for users to add patterns for all that: a/*, a/*/*, a/*/*/*.
However, since there can only be at most one slash, I think path.Match is good enough. :) @mikebrow WDYT?

Good find on that already existing convention in kube. Additionally, OCI defines: https://github.com/opencontainers/image-spec/blob/master/annotations.md
We should probably link to those in the doc for the field so admins will know how to remain OCI and kube compliant.
Yes, it looks like path.Match and restricting to these patterns is best!

@mikebrow Addressed comments.

/test pull-cri-containerd-node-e2e

@Random-Liu  lgtm

Just squashed the commits. Apply LGTM based on https://github.com/containerd/cri/pull/1096#pullrequestreview-218038021


Add FamilyInstance into bounding box calculation

Hey Jeremy, this is Kevin, I updated the code to compute the bounding box for FamilyInstance in addition to GeomCombinatiom and GenericForm. FamilyInstance requires going through the geometry to get a tight bounding box. The get_BoundingBox(null) is really loose for some reason.
I looked through these sites for reference:
http://thebuildingcoder.typepad.com/blog/2013/10/linq-diy-transformed-geometry-bounding-box.html
https://github.com/jeremytammik/SetoutPoints/blob/master/SetoutPoints/GeomVertices.cs
https://knowledge.autodesk.com/support/revit-products/getting-started/caas/CloudHelp/cloudhelp/2017/ENU/Revit-API/files/GUID-B4F83374-0DF6-4737-91EB-900E676E862B-htm.html
https://knowledge.autodesk.com/support/revit-products/getting-started/caas/CloudHelp/cloudhelp/2017/ENU/Revit-API/files/GUID-F092BCCC-77E9-4DA9-9264-10F0DB354BF5-htm.html
I also tried familyInstance.get_Geometry(options).GetTransformed(familyInstance.GetTransform()) but it was inaccurate.
I tried to follow your coding style as much as possible.

thank you! cool! can you provide a sample model to reproducibly demonstrate the improvement, plus a screen snapshot of the bounding boxes produced before and after the enhancement? that would be brilliant! thx!

Hey Jeremy, sorry I took a while to respond. I was busy with other things.
In the following family, there is a GeomCombination at the top left consisting of a void and solid extrusion.
The rest of the geometries are family instances. Notice with the new code, the bounding box grows to include the FamilyInstances. My images don't really show that the bounding box is tight for the FamilyInstances though. You can verify the bounding box by calculating it in the UI. My way is to just place ReferencePlanes and snoop the coordinates with RevitLookup. I don't know if there is a better way to get the coordinates of a vertex other than this method.
If there's time, we could create ReferencePlanes surrounding the bounding box in the different views or just create an Extrusion or something occupying the space of the bounding box.
importnest.rfa

old:

new:


[Multimodal] Fix eval_metric=spearmanr

Issue #, if available:
https://github.com/autogluon/autogluon/issues/2165
Description of changes:

[x] Fix eval_metric="spearmanr" and "pearsonr".

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yinweisu For this PR, I added new huggingface dataset but not models. Not sure if I need to adjust the model checklist.


Problem accessing all notes from old Tomboy repo

I copied the repo from old Tomboy to a new directory structure.  When I do the original sync only some of the notes are handled correctly. A large number are rejected because of problems in the title. Running tomboy-ng with debug options says it can't find notes in 0/100, 0/200 etc. The notes are actually in 1/100, 2/200 etc. I think this is the problem but not sure. What logs/data can I get for you?

Here is the debug log
debug.txt

cericson, did you close accidentally ?
I'm sure worried about your report, hope you don't mind me reopening ?
I'm traveling at present, about to get on a plane.  But will look a bit more closly at your issue as time permits, well be a day or so I'm afraid.  But will definitely get back to you.
Davo

Glad you did. Wondered where it went. Not a critical problem. Check in when
you return
On Sun, May 5, 2019, 11:50 PM davidbannon<EMAIL_ADDRESS>wrote:

cericson, did you close accidentally ?
I'm sure worried about your report, hope you don't mind me reopening ?
I'm traveling at present, about to get on a plane. But will look a bit
more closly at your issue as time permits, well be a day or so I'm afraid.
But will definitely get back to you.
Davo
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tomboy-notes/tomboy-ng/issues/94#issuecomment-489493883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFRXYT3TFJ3CCKLNKF4DEMLPT6TILANCNFSM4HKVEVHQ
.

Welcome back. Attached is the directory listing of the Tomboy notes directory. It looks like a forked directory so that each sub-directory contains a limited number of files.  It looks like each sub-directory contains a manifest, maybe to keep track of deleted files? Hope this helps.
notes.txt

Wow, there is some very strange sequences in there. But apparently using no more than three digits for the actual working directory. That I really don't understand. And lots of skipped blocks.  I really don't want to be looking back through the Tomboy mono code, there there be dragons !
But maybe thats all I can do to be sure I don't break some obscure Tomboy rule.
If you are still syncing on one or more machines using Tomboy, then you will need to wait until I have gotten to the bottom of this thing.  If you are using tomboy-ng on all clients, then what you could do is start a new sync run, perhaps -

One one machine, with a directory full of notes, perhaps last synced with Tomboy, copy all those notes to the appropriate tomboy-ng directory.  Don't have a windows machine with me (in Zurich at present) but if you open tomboy-ng, settings, it will display where its default notes directory is.

Make a new, empty sync directory and sync that tomboy-ng to it.

Sync the other machines to the same directory.

As a short term fix, I will make tomboy-ng look for intermediate sync directories greater than '0', thats relatively easy. But making it behave in the same manner as Tomboy will be harder. So, until done properly, there will always be a risk that tomboy-ng makes something Tomboy cannot handle. bad for people using a mixed env.
Davo

I have been using Tomboy for years so I am not surprised there are dead ends in the forked directory structure. It has been the "scrap pieces of paper" collecting notes from phone calls and online activity. Lots of adds, changes and deletes.
Presently I am keeping Tomboy and -ng in separate sync files. I am manually using copy/paste to add more notes from the original to -ng, which appears to be stable. I have not investigated the evolving directory structure.
I have -ng going on a Windows 10 desktop and a Linux Lubuntu laptop sharing a sync file in a Dropbox folder. Eventually I plan to add Android access from my Fire 7 and Pixel 3
On May 10, 2019, at 6:27 AM, davidbannon<EMAIL_ADDRESS>wrote:
Wow, there is some very strange sequences in there. But apparently using no more than three digits for the actual working directory. That I really don't understand. And lots of skipped blocks. I really don't want to be looking back through the Tomboy mono code, there there be dragons !
But maybe thats all I can do to be sure I don't break some obscure Tomboy rule.
If you are still syncing on one or more machines using Tomboy, then you will need to wait until I have gotten to the bottom of this thing. If you are using tomboy-ng on all clients, then what you could do is start a new sync run, perhaps -
One one machine, with a directory full of notes, perhaps last synced with Tomboy, copy all those notes to the appropriate tomboy-ng directory. Don't have a windows machine with me (in Zurich at present) but if you open tomboy-ng, settings, it will display where its default notes directory is.
Make a new, empty sync directory and sync that tomboy-ng to it.
Sync the other machines to the same directory.
As a short term fix, I will make tomboy-ng look for intermediate sync directories greater than '0', thats relatively easy. But making it behave in the same manner as Tomboy will be harder. So, until done properly, there will always be a risk that tomboy-ng makes something Tomboy cannot handle. bad for people using a mixed env.
Davo
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.￼
[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tomboy-notes/tomboy-ng/issues/94#issuecomment-491241224", "url": "https://github.com/tomboy-notes/tomboy-ng/issues/94#issuecomment-491241224", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

OK, line #492 of FileSystemSyncServer.cs the the origional Tomboy source has a line function -
		private string GetRevisionDirPath (int rev)
		{
			return Path.Combine (
			               Path.Combine (serverPath, (rev/100).ToString ()),
			               rev.ToString ());
		}

The rule seems to be as the revision number exceeds (eg) 100, move its synced dir to ~/1/100. And at revno=200, we'll move its synced dir to ~/2/200 and so on. Is this to prevent too many synced dirs in one upper directory ?  All modern filesystems can handle at least 32K entries, maybe early windows systems struggled ?  Implies we should expect trouble beyond revision number =100*100 ?
And, all this means a sync repo written to by -ng with a revno greater than 100 is going to be incompatible with Tomboy - Oh, wow, I have stuffed up badly here.
Solution seems to be to write any new synced dir in the Tomboy manner and when reading a sync dir, try (eg at rev number 741) looking for file in both ~/0/741  and ~/7/741 .  Not hard to code up but will require some serious testing before release.
And  a tool that rewrites the -ng sync dir in Tomboy style ?
Not happy !

OK, fix for this will be in next release, v0.23, "a couple of days".
Will seemlessly read either dir structure, will write Tomboy's way.
Davo

OK, 0.23 released, fixes this problem.

Thanks for your efforts. Just getting back to this. Will let you know if any problems.


refactor: move control api endpoints under control context

What this PR changes/adds
Moves all the control APIs under the control context
Why it does that
Api restructure
Further notes

Linked Issue(s)
Closes #2186
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

Codecov Report
Base: 64.20% // Head: 62.90% // Decreases project coverage by -1.29% :warning:

Coverage data is based on head (814f9da) compared to base (5d04f55).
Patch coverage: 66.66% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2250      +/-   ##
==========================================
- Coverage   64.20%   62.90%   -1.30%
==========================================
  Files         823      823
  Lines       17313    17322       +9
  Branches     1083     1084       +1
==========================================
- Hits        11115    10896     -219
- Misses       5755     5990     +235
+ Partials      443      436       -7

Impacted Files
Coverage Δ

...ipse/edc/connector/core/CoreServicesExtension.java
93.93% <ø> (ø)

.../transfer/sync/DataPlaneTransferSyncExtension.java
0.00% <0.00%> (ø)

...connector/dataplane/api/DataPlaneApiExtension.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...se/edc/connector/api/ControlPlaneApiExtension.java
68.00% <93.33%> (-17.00%)
:arrow_down:

...va/org/eclipse/edc/web/jersey/JerseyExtension.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...b/jersey/validation/ResourceInterceptorBinder.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...sferprocess/model/TransferProcessFailStateDto.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...nector/api/management/asset/AssetApiExtension.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ector/dataplane/selector/api/SelectionRequest.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...or/api/management/catalog/CatalogApiExtension.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 20 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


std.regex.internal.tests: Fix a -dip1000 compilable issue

https://github.com/dlang/phobos/blob/master/dip1000.mak with
aa[std.regex.internal.tests]=-dip1000
Error when running: make -f posix.mak std/regex/internal/tests.test
std/regex/internal/tests.d(463): Error: @safe function std.regex.internal.tests.__unittest_L55_C7 cannot call @system function std.regex.internal.tests.__unittest_L55_C7.ct_tests

@wilzbach
It's up to You how to assess the -dip setting:
Being absolutely strict, it's stll -dip25, but as -debug=std_regex_test isn't used (except setting that manually), in practice it may be seen as -dip1000

Oh, I didn't read Dmitry's request for changes when commiting; I'll have a look at that first

debug is allowed to break out of @nogc, @safe,pure and nothrow - see https://github.com/dlang/dlang.org/pull/2209


[Source Request]

    Otakudesu new site
    Name: Otakudesu
    Url:  https://otakudesu.site

    Name : Samehadaku
    url:  https://<IP_ADDRESS>

    Name:  Gatsunime
    Url : https://gatsunime.org

    Name : anoboy
    Url : ttps://anoboy.digital

    Name :  Anime-Indo
    Url : https://anime-indo.one"

Oploverz new domain
Name: Oploverz
Url : https://oploverz.asia
    Name : LK21
    Url : https://<IP_ADDRESS>

    Otakudesu new site
    Name: Otakudesu
    Url:  https://otakudesu.site

  Oploverz new domain
Name: Oploverz
Url : https://oploverz.asia/

if you use DNS over https, it would be fine and it will redirect to the new domain
but for safety let me update that

That's negative, I'm Indonesian and seems like Cloudflare DoH can open otakudesu nicely.

That's negative, I'm Indonesian and seems like Cloudflare DoH can open otakudesu nicely.

Are you using wifi? DNS seems works on wifi but no with cellular data


Add an initializer

This adds an extensible initializer and a basic test for it

Superb, @AW-UC!

why are we setting imagePath in Ember Leaflet? shouldn't that be the responsibility of whatever app uses it? I'm super wary of a hard-coded "assets/images" string inside a general-purpose library -- we should be agnostic to where you put your assets.

@gabesmed they are indeed pros and cons for either way. the alternative to setting this value would be adding an entry in the ReadMe that tells the user to set it himself.
However, I am in favor of hardcoding this, because Ember CLI follows the paradigm of convention over configuration. Thus, if you initialize a new Ember app and install ember-leaflet, the marker PNGs etc. will reside in public/assets/images. This is just the recommended standard path for that stuff (see: http://www.ember-cli.com/asset-compilation/). So the majority of users will be fine with that. If you want to change it, you can easily overide that setting with your own initializer. We could add an entry on how to do that in the ReadMe.

I think that the main argument in favor of this is that an ember-cli addon does more than exposing a codebase to the consuming app. It also takes care of including assets.
However I do agree that we should expose a configuration to the consuming app and an entry in the README.
Example of such a configuration:
//your-app/Brocfile.js

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp({
  'ember-leaflet': {
    assetsPath: 'assets/images'
  }
});

module.exports = app.toTree();

I think this is the correct ember-cli way of doing this.
Still, any consuming app can override this initializer, I think.

The option to define the assets path in Brocfile.js would be a nice addition. It should also default to some value (like assets/images).


feed back

[Enter feedback here]
iam new to animations and this is i think all to much infomation for a new person maby you could make a simple versions of this page

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

ID: bc77c1d3-1268-fad1-9545-d51836b64c91
Version Independent ID: 4f2f3124-1b7d-5c30-bd27-f82f73873e7c
Content: Animation Documentation - Animation Controllers
Content Source: creator/Reference/Content/AnimationsReference/Examples/AnimationController.md
Product: gaming
GitHub Login: @mammerla
Microsoft Alias: v-bbortree

Thank you for reaching out! Animation Controllers can be a complex topic, particularly if you are new! You may benefit from our maker series, which details both creating and animating a custom entity. Here's the link to the article; I hope this helps you on your animation journey!


ARGV: fix 'value' method, make it more predictable

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes?
[x] Have you successfully run brew tests with your changes locally?

The fix changes behavior in same cases, but those cases were all either broken or showed unexpected behavior. The new behavior is very simple:

If an argument starts with --<arg>=, return whatever comes after the equals sign. Don't allow for equal signs or hyphens in <arg> or an empty <arg> to avoid surprising and confusing behavior.

Prior to this change, ARGV.value showed some unexpected behavior:

ARGV.value("foo") returned nil for --foo= because at least one character needed to be present after the equals sign. (All other option parser implementations I'm aware of allow for empty values.)

ARGV.value("bar") returned "baz" for --foo=--bar=baz because the regular expression was not anchored to the start of the argument.

ARGV.value("++") raised an exception because the string wasn't escaped for use in the regular expression. (An unlikely corner case.)

Also fix a somewhat bogus use of ARGV.value in FormulaInstaller revealed by the change.

Tiny nits but otherwise LGTM 👍

Seems good to me overall.
Couple questions:
Why disallow - in option names?
And why disallow empty strings as the argument value? Even though we don't use it for anything now AFAIK, it seems like a legit usage to explicitly set something to an empty string. For example, in Makefiles, you might want DESTDIR or a program name prefix to be the empty string, which would correspond to a command line option like --destdir= or --destdir="" or --program-prefix=''. Allowing syntax for explicitly setting something to an empty string can make option processing code simpler, especially when you're generating argument lists to be passed to another program; otherwise the caller has to both be aware of the callee's default behavior and deliberately remove arguments to get the default value, instead of just setting everything from a key/value set.
Instead of just disallowing - and =, maybe it would make more sense to positively construct the pattern for valid option names, (e.g. /^[a-zA-Z0-9_-]+$/) and disallow everything that doesn't match it. The new logic still allows for spaces, special characters, and wacky unicode stuff, like --☃=frosty.

May be a good opportunity for a reword, too. The use of arg as a variable name and term in prose here threw me off a bit, because it doesn't align with what seems to be conventional use for it. In command line parsing, the whole --foo=bar token is a command line "argument", and when it's interpreted as an option, then foo or --foo is the "option name", and bar is the "option value" or "option argument" aka "optarg". But here we're using "arg" to refer to the foo part (I think). I haven't seen anything else call that part an "argument". A def value(name) or def value(option_name) might make more sense.
In fact, I just realized that I made this mistake while reading this PR: when you said "Don't allow for ... an empty <arg>", I misread that as meaning the bar value part. You can disregard that whole paragraph I wrote about "empty strings as the argument value".

Why disallow - in option names?

You are right. This is simply a mistake and would break a lot of stuff. What I meant to prevent by this was funky stuff like ---option= (notice the third dash), but right now it would also prevent legitimate cases like --program-prefix=.

And why disallow empty strings as the argument value?

I realize you noticed this already, but just to be super clear: The intention is to prevent --=value; --name= is of course perfectly valid and desirable. (In fact one of the aims of this change is to allow for --name=, i.e. ARGV.value("name") should return an empty string but currently returns nil.)

Instead of just disallowing - and =, maybe it would make more sense to positively construct the pattern for valid option names, (e.g. /^[a-zA-Z0-9_-]+$/) and disallow everything that doesn't match it. The new logic still allows for spaces, special characters, and wacky unicode stuff, like --☃=frosty.

That's an excellent suggestion. I like the Unicode stuff, but I guess there's no need to support it in option names (a sane subset of ASCII is more reasonable).

May be a good opportunity for a reword, too. The use of arg as a variable name and term in prose here threw me off a bit, […]

I fully agree. Thanks for this input! What was I thinking when submitting this? I guess sticking to the existing identifiers was too tempting. Back to the drawing board. :wink:

Cool. :+1:, modulo those items. And I think switching to /^[a-zA-Z0-9][a-zA-Z0-9_-]*$/ (which requires first character to be alphanumeric) would fix those other weird edge cases with ---foo=bar and --=bar.

Can this be fixed by a better regex expression, say:
arg = find { |o| o =~ /^--#{Regexp.escape(arg)}=(.+)$/ }

Addressed the variable naming issues. Terminology that I'm using now: --name=value in its entirety is an argument. It consists of two hyphens, the option name, an equals sign, and the option value. Two hyphens plus the option name are called a flag. Does that make some sense?
Decided to completely drop my half-hearted attempt at validating the option name. This needs to be done properly and requires more testing. It also doesn't make sense to restrict the validation to the ARGV.value method, but—once introduced—should be done in all option-handling methods. I'd prefer to postpone this to a future PR (and thanks to your feedback I have a pretty good idea how to do it).

Can this be fixed by a better regex expression, say:

Could be, but there's really no good reason to use a regular expression here. I think the string handling is clearer, possibly a bit faster, and requires no escaping.

Terminology that I'm using now: --name=value in its entirety is an argument. It consists of two hyphens, the option name, an equals sign, and the option value. Two hyphens plus the option name are called a flag. Does that make some sense?

Yep!
Postponing option name validation makes sense.
New parameter/variable names make this a lot more readable imho.
:+1: to merging this as is now.


fix(ffe-form): IE needs charset=utf8 to understand that utf8 is indeed the charset

Solves https://github.com/SpareBank1/designsystem/issues/342

Coverage remained the same at 80.486% when pulling<PHONE_NUMBER>680bdef21141561b8a9a7a06b0cdb9 on marthall:develop into 213bf0f1ae5e0edc11b8ab2fff1f99171bc30bcb on SpareBank1:develop.


error: 400: "Part number must be an integer between 1 and 10000, inclusive"

Hi
I am trying to upload a large file (1.5 TB) and after about 18 hours I get an error.
Here is the entire command
time /backup1/gof3r put --bucket myappdb123-backups --key backups/myapp_2020-12-13.tar --path /backup1/myapp_2020-12-13.tar
gof3r error: 400: "Part number must be an integer between 1 and 10000, inclusive"

real    1082m6.438s
user    293m46.376s
sys     30m27.823s

I am using gof3r version 0.5.0

I added -concurrency 20 --partsize 50000000  along with --debug and after 20 hours I was able to upload the file...
While uploading I saw that part size was regularly doubling also
2020/12/17 08:48:32 part size doubled to 100000000
...
2020/12/17 12:05:54 part size doubled to 200000000
...
2020/12/18 00:52:50 part size doubled to 800000000

I am not sure if gof3r could, based on file size, start off with appropriate part size to avoid exceeding the part number limit..


CRL file support

Any plans for revoked certificates (CRL) file support for server?

Hi @tarvip, we don't have plans to support CRLs at the moment. Go's TLS stack doesn't natively do revocation checking and I'm not convinced it's something we need to implement in Ghostunnel.
Instead, we recommend using short-lived certificates where possible. Ghostunnel supports hitless reloading of certificates at runtime, and for some of Square's new rollouts we are now using certificates with a lifetime of 24h. That means we rotate all credentials on an ongoing basis, re-validating deployments in our infra each time. "Revocation" can then be done by blocking clients from revalidating and they'll be locked out in at most 24h (and we plan to drive this down in the future). This can be done without needing to restart Ghostunnel, just have it reload certificates periodically using the timed reload flag.
Another option is to have rolling CNs (or URIs, or whatever) for access control, e.g. allow client0001 for access and if you want to roll forward issue new certificates with client0002 and update your access control list in Ghostunnel accordingly. This requires a bit more coordination/tracking I think, but your certificates can be long-lived and you'd only do this if you want to "revoke" something. Ghostunnel uses SO_REUSEPORT so you can spin up a new Ghostunnel before you shut down the old one, on the same port, to minimize downtime/dropped connections.
Hope that makes sense!

@csstaub, thank you, makes sense.


fix(curriculum): Removed URL for wrong video solution in all language

Removed video URL in the challenge "Divide the Grid Into an Area Template" for all language.
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #43185

Hey @w286432531
the line with videoUrl: needs to be removed completely, leaving it blank will result in errors, as it can be seen in CI checks.
Could you revert changes made to the non-English languages? Files in other languages shouldn't be changed directly. When needed they will be updated using the translation workflow.
Also for future, it is recommended to use separate branch for changes, instead of using the main branch of fork. See step 3 from https://contribute.freecodecamp.org/#/how-to-setup-freecodecamp-locally?id=making-changes-locally for more information about this.

Thank you for the reply. It's my first time trying to contribute. I will make sure I use a new branch next time. I reverted the changes I made to the other languages and deleted the line with videoUrl: completely.


How to pulling Replicate docker image to local

How to use docker pull to pull a private Replicate docker image? I need this to debug some of my old images, which I don't have their local versions anymore

Hi @ghtelpelight. You can pull a Docker image using the instructions from a model's page on Replicate (for example, https://replicate.com/stability-ai/stable-diffusion/api).
$ docker pull r8.im/daanelson/stable-diffusion-speed-lab@sha256:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf

You may need to authenticate with the r8.im registry first. To do that, run the following command:
$ cog login


Update Github actions to node 16

Upgrade GitHub actions to node 16

here's how we make sure these stay synced with the .nvmrc in other repos:
- name: 🤝 Set Node version from .nvmrc
  run: echo NVMRC=`cat .nvmrc` >> $GITHUB_ENV

- name: ⎔ Setup node
  uses: actions/setup-node@v2
  with:
    node-version: ${{ env.NVMRC }}
    registry-url: "https://registry.npmjs.org"

Would it be worth reinstalling on node 16 while we're at it?  Looks like we're getting old lockfile messages in CI.  Otherwise LGTM!

Would it be worth reinstalling on node 16 while we're at it? Looks like we're getting old lockfile messages in CI. Otherwise LGTM!

definitely


Flatpak package on flathub

It would be nice if you could publish this as a flatpak on flathub e.g.
Flatpaks are a new software distribution mechanism for Linux distros, can thus installed on any distro and are easy to update. They are easy to install and update and work on all Linux distros.
Also, if you publish it on FlatHub you may grow your user base given many distros include that and it is a common software source, so your app can be discovered more easily.
Here is how to get started.

I have used flatpak-builder to create a flatpak application of xstudio.
I have released a single-file bundle https://github.com/jankobler/flatpak-xstudio/releases.
Just follow the installation instructions on the release page.
I have only checked if the GUI of xstudio appears and the Help -> About  Dialog appears.
Please let me know if it really works.

I got it to open using the flatpak, great work. The UI is the only thing that is working right now. Couldn't get any image to load. Tried with .jpg, .png and .exr
The application fails to launch in a Wayland session, it opened in x11. I am unsure if my hardware is too old, or it is a limitation of the app

I have released in the repository https://github.com/jankobler/flatpak-xstudio the flatpak manifest and in some other repositories under https://github.com/jankobler the source code which I used to build the xstudio flatpak application with flatpak-builder.
The intention was to build it at first with a minimum of source code changes. I have not done any further tests with the xstudio flatpak application than described before. This is just a starting point.
I hope this source code release can help you to continue your tests.


Add watcherMessage option

Expected behavior:
tsc -w -wMsg "watching for changes in this awesome directory"
11:04:56 AM - Compilation complete. watching for changes in this awesome directory

Why?
Because I launch several watchers when the server starts and I want to see different logging info than
11:04:56 AM - Compilation complete. Watching for file changes.
11:04:59 AM - Compilation complete. Watching for file changes.
--- etc

At least merge the directory watched with the --project option like this:
11:04:56 AM - Compilation complete. Watching for file changes in /the/directory/of/--project

Thx!!

@hdcos Huh, that's an interesting workflow. So you spawn your watchers as background processes in the same shell instead of in separate tmux/screen panes? Just curious in general.

Yes I have many subprojects watched when I start my development server. I use elixir/phoenix and the framework create a supervisor witch childs processes.
Maybe there is a better way and have only one watcher for all my subprojects

You could always bust out sed:
tsc --watch | sed -e "s%^\(.+\)Compilation complete. Watching for file changes.$%Finished compiling in '$(pwd)'.%

Or you could always prepend the directory to every message:
tsc --watch | sed -e "s%^(\.*\)$%$(pwd) - \1%"

Note: I'm using % as a delimiter to sed's s command to avoid having to escape the result of pwd.
You can extrapolate this to a script as well.

Declining due to lack of additional feedback


Question: How to pass level 8?

I may not be on topic, but how to pass level 8? Is it even possible?

yes it is possible
please discuss in the TIC-80 discord https://github.com/nesbox/TIC-80#community

yes it is possible
please discuss in the TIC-80 discord https://github.com/nesbox/TIC-80#community

Can you take a screenshot of the solution? So that I really have no idea how to solve this.
Then I will close this issue.


RHOARDOC-1358: Fixed some docs modules to comply with Modular Guidelines

Changed headings
Changed anchor IDs and references where used
Changed labels to second-level discrete headings
Removed "Related information" where unnecessary
Added the {context} variable to anchor IDs so that a module can be included multiple times in the same book

[x] Have you followed the guidelines in our Contributing document?
[x] [v2] Have you created a JIRA and used it in the commit message?
[x] [v4] Have you created a GitHub Issue and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[x] Have you built the project locally prior to submission with mvn clean install?

This PR will be followed by others that do different, more localised fixes.
Partially resolves RHOARDOC-1358.

Otherwise LGTM.

All fixed, I believe, thanks for the comments. @Ladicek, is your approval enough for me to self-merge this once CI finishes?

Just one last comment.
@tradej When it comes to merging, I'm not sure anymore. There's a dedicated person each week who takes care of open PRs, AFAIK it's @kenfinnigan this week, so it should presumably be him who merges the PR.

Anyone can merge PRs if they're approved and pass CI.
The PR coordinator role is only for pushing through PRs that aren't being approved/merged appropriately, not to do it all

OK cool :-)

retest this please


tempdb for Gen2

The docs say "399 GB per DW100. Therefore at DWU1000, tempdb is sized to 3.99 TB." But I think that's only correct for gen1. My Gen2 notes say 2TB of tempdb space per node (which is per DW500c). I'm not 100% sure my notes are accurate, so I would confirm that with someone on the DW team. Then please do update the docs with the correct Gen2 number.

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

ID: 99dbdf95-1c64-48c5-cc47-8d06d0975151
Version Independent ID: 0763ac70-8c4b-a8bc-c72c-e87bc45f46ba
Content: Capacity limits - Azure SQL Data Warehouse
Content Source: articles/sql-data-warehouse/sql-data-warehouse-service-capacity-limits.md
Service: sql-data-warehouse
GitHub Login: @sachinpMSFT
Microsoft Alias: anvang

@furmangg Thank you for bringing this to our attention. I have assigned the issue to the content author @sachinpMSFT to review and update as appropriate.

@Mike-Ubezzi-MSFT can you assign this to me?  I'm taking ownership of this doc.  Currently following up with Engineering to get the info to update the doc with.

@Mike-Ubezzi-MSFT Please assign to @mlee3gsd. Thank you.

@mlee3gsd @julieMSFT @happynicolle This doc never was updated. It has Gen1 and Gen2 figures but for TempDB, the figure is for Gen1. Can you please let me know what the value should be and I will update the doc? Thanks!

@furmangg Hi, Thank you again for bring this to our attention. I will open a ticket to track getting this change made. I will notify you once this has been completed. I will proceed with closing out this Git Issue, but please feel free to respond should you need anything further. Thanks!

#please-close

@Mike-Ubezzi-MSFT @julieMSFT I still don’t see the doc reflecting the Gen2 tempdb size. What’s the status of that ticket you opened?

@julieMSFT This document lacks a Gen2 reference for tempdb sizing, like some of the other category items. Please let me know what the value(s) should be and I can update this document?

@sachinpMSFT for awareness.

@Mike-Ubezzi-MSFT Please assign @mlee3gsd

Gen1 and Gen2 sizes haven't changed.  I'm confused by his question as he states that his notes has DWU500 at 2TB and we state that it is DW100 is 399GB (rounding to 400GB).  If we multiply that by 10, you would get 3.99TB or for DWU 500 he mentioned, you would have half that (roughly 2TB rounded).  Is he questioning the .01TB off from his rounding?

@mlee3gsd this is Greg Galloway. I think you clarified it. I wasn’t sure if my notes were right and the calculations were the same for Gen2 or not. Thanks for confirming they are. I see the docs have now been updated to mention DWU1000c so that solves the issue.


ext: add elasticsearch prefix support

bump invenio-search to v1.1.0
add prefix to indeces
test index prefixes
addresses #81

To make the tests pass locally, install the following PRs:

inveniosoftware/invenio-indexer#105
inveniosoftware/invenio-records-rest#257
inveniosoftware/invenio-search#167

closed in favor of #89

closed in favor of #89


'atom' CLI command produces second temporary Atom icon in dock if Atom is already open

Very minor issue but if Atom is already open and one uses the 'atom' command in the Terminal to open a new file the Dock temporarily experiences two Atom icons before returning to the proper one.
In an ideal world, we'd never see this second icon.

Duplicate of #2964, please subscribe there for updates.


cancelNavigation() event is not working properly , removes the app from DOM

The issue is that when tried to cancel navigation from /app1 to /app2 . It prevents from navigating to /app2 but ( /app1) is removed from the DOM  . URL remains /app1
"single-spa": "5.9.4",
"single-spa-layout": "2.1.0",
Code :
_listner(ev){
    if (
      new URL(ev.detail.oldUrl).pathname === '/app1'
    ) {
       if (confirm('Are you sure you want to go back?')) {
          console.log('Yes');
        } else {
          ev.detail.cancelNavigation();
        }
    }
}
    window.addEventListener(
      'single-spa:before-routing-event',
      this._listner
    );

Any suggestions/advice would be greatly appreciated!  @joeldenning
Thank you!

Experiencing the same. It removes the app from the DOM, even the used framework does not get informed (like unMount or something). This is a huge issue, how can I upvote?

Resolved in #190, released in https://github.com/single-spa/single-spa-layout/releases/tag/v2.1.1


Refactor of Microsoft.Bot.Builder.Azure.Queues.

Fixes #4424

@gabog , @chrimc62 , could you please review this change? Thank you.


SthChains improvements

Hey first time I noticed StdChains https://twitter.com/msolomon44/status/1699116841753534877 and checked if we can replace with our internal tooling for this.
Two things that would be quite useful for us is:

explicit constant getters for the chains defined (aka StdChains.Arbitrum)

This is quite handy for when you want to e.g. ensure a script is run on a specific network.

in viem the chain struct also contains the blockexplorer

This is quite handy as you can easily log addresses as blockexplorer link, making them directly clickable.
perhaps could make sense to somehow sync https://github.com/foundry-rs/forge-std/blob/master/src/StdChains.sol#L180 automatically with viem? It's a bit sad that support of chains is so different between:

StdChains: https://github.com/foundry-rs/forge-std/blob/master/src/StdChains.sol#L180
viem chains: https://github.com/wagmi-dev/viem/tree/main/src/chains/definitions
ethers-rs: https://github.com/gakonst/ethers-rs/blob/master/ethers-core/src/types/chain.rs

perhaps could make sense to somehow sync https://github.com/foundry-rs/forge-std/blob/master/src/StdChains.sol#L180 automatically with viem? It's a bit sad that support of chains is so different between:

The best I can think of here is to have all tools start from something like the chainlist  chains.json file and each run their own script to convert that data into the format needed for their supported chains.

explicit constant getters for the chains defined (aka StdChains.Arbitrum)

What do you mean by this? Perhaps an example would be helpful. Since we do have the getChain method currently

in viem the chain struct also contains the blockexplorer

Adding block explorer URL for the reason mentioned is a nice idea. If we only add it to the Chain struct it should be backwards compatible since that's a return type only. If we added it to ChainData so you can call setChain with it that would be a breaking change, so we'd probably want to create a ChainDataV2 struct with a new version of setChain

@mds1, sure an example from a current project is having sth like this.
We currently maintain a separate library which just exposes chainIds via a easy accessible namespace: https://github.com/bgd-labs/aave-helpers/blob/master/src/ChainIds.sol#L4
We use them e.g. to validate that a script is run on the correct network:
https://github.com/bgd-labs/aave-helpers/blob/master/src/ScriptUtils.sol#L31
Or to work around issues with deal on certain networks: https://github.com/bgd-labs/aave-helpers/blob/master/src/CommonTestBase.sol#L34
Generally for us it has proved to be useful having chainIds exposed via human readable name, opposed to hardcoding numbers everywhere. Was just thinking as StdChains exposes this data anyways via getChain() could be useful to also expose supported chainIds via a more straightforward getter.

Makes sense, so you can get the chain ID from a human readable name using the getChain(string) method, for example getChain("mainnet").chainId. Here's a forge-std that does this:
https://github.com/foundry-rs/forge-std/blob/1d9650e951204a0ddce9ff89c32f1997984cef4d/test/StdCheats.t.sol#L404

@mds1 i understand but usability wise it is not the same right?
With ChainIds.ARBITRUM_GOERLI(or similar) I have a constant that autocompletes in a common editor.
With assumeNotPrecompile(addr, getChain("optimism_goerli").chainId); on the other hand i need to know it's optimism_goerli, not Optimism_goerli etc.

Right, it's just a string so it won't autocomplete. Probably could add an enum that has all the same strings as the enum values, along with a getChain(enum ChainAliases) overload


Switch to new Stats API.

Signed-off-by: John Plevyak<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Could you remove wasm.cc from STAT_FROM_STRING_WHITELIST in tools/check_format.py?


[AMQ-9532] Convert DestinationMapNode from recursion to loops.

Because destinations are parsed recursively, it's possible to trigger java.lang.StackOverflowError if a destination has too many nodes.
the PR is converting the recursion to loops.
Ran DestinationMapTest.java to make sure the behavior of the class stays the same. There is no need for additional testing in my opinion, because the behavior is supposed to stay the same as it was before the change.

@Nikita-Shupletsov how many is too-many nodes to trigger a stack overflow? What was the -Xss setting when the SO occurred?

@Nikita-Shupletsov how many is too-many nodes to trigger a stack overflow? What was the -Xss setting when the SO occurred?

with -Xss256k it's around 1300
i've encountered the issue due to this: https://activemq.apache.org/components/classic/documentation/message-redelivery-and-dlq-handling#setting-expiration-on-messages-in-the-dlq
there were DLQs for DlQs and so on


fix: Pin Prometheus and Grafana revisions

This is a temporary patch until we migrate to Juju 3.1:

Pin Prometheus revision when deploying from latest to avoid fetching recent patches of the charm which assume juju >= 3.0.3. Revision 137 was the last one seen working properly in our CI integration tests.
Pin Grafana revision when deploying from latest to avoid fetching recent patches of the charm that fail to install on Juju 2.9. Revision 89 was the last one working properly in our CI integration tests.

Refs https://github.com/canonical/bundle-kubeflow/issues/688
Refs https://github.com/canonical/bundle-kubeflow/issues/690

Retriggered the tests and now the CI is passing, so probably transient (could be a timeout causing the connection to break).


WorkerConfig for runtime: dotnet-isolated not found

I don't see a specific issue for my use case so I'm creating a new one. Azure function app does not start after deployment. This works fine locally. Only when I deploy to Azure do I see this problem.
According to documentation, my configuration settings are correct:

Function runtime version: ~4
Function worker runtime: dotnet-isolated
.NET version: 6.0
OS: linux
Deployment method: run from package
Deployment tool: terraform
Deployment source: Azure pipelines

Error message:

System.InvalidOperationException : WorkerConfig for runtime: dotnet-isolated not found
at async Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcFunctionInvocationDispatcher.InitializeAsync(IEnumerable`1 functions,CancellationToken cancellationToken) at /src/azure-functions-host/src/WebJobs.Script/Workers/Rpc/FunctionRegistration/RpcFunctionInvocationDispatcher.cs : 236
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Script.ScriptHost.InitializeAsync(CancellationToken cancellationToken) at /src/azure-functions-host/src/WebJobs.Script/Host/ScriptHost.cs : 328
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Script.ScriptHost.StartAsyncCore(CancellationToken cancellationToken) at /src/azure-functions-host/src/WebJobs.Script/Host/ScriptHost.cs : 265
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Script.WebHost.WebJobsScriptHostService.UnsynchronizedStartHostAsync(ScriptHostStartupOperation activeOperation,Int32 attemptCount,JobHostStartupMode startupMode) at /src/azure-functions-host/src/WebJobs.Script.WebHost/WebJobsScriptHostService.cs : 309

Fails at: https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/Workers/Rpc/FunctionRegistration/RpcFunctionInvocationDispatcher.cs
var workerConfig = _workerConfigs.Where(c => c.Description.Language.Equals(_workerRuntime, StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault();
if (workerConfig == null && (functions == null || functions.Count() == 0))
{
    // Only throw if workerConfig is null AND some functions have been found.
    // With .NET out-of-proc, worker config comes from functions.
    throw new InvalidOperationException($"WorkerConfig for runtime: {_workerRuntime} not found");
}

I've seen multiple posts about this on Stack Overflow and GitHub but so far I cannot find any resolution or work around.

@brennfoster Could you try deploying using function core tools and see that works?

I tried to publish using function core tools but I get this error:
Your app has an unknown FUNCTIONS_WORKER_RUNTIME defined 'dotnet-isolated'. Only dotnet, node, python, powershell, custom are supported. You can pass --force to update your Azure app with 'None' as a 'FUNCTIONS_WORKER_RUNTIME'

I tried supplying '--force' when publishing using function core tools but the runtime still won't load any functions

@brennfoster Yea,  you need to use the --force flag.(ex: func azure functionapp publish your_app_name --force)
Does it make any difference if you try again to publish (using core tools)?

Just to confirm, are you seeing the value of FUNCTIONS_WORKER_RUNTIME setting to be "None" when you check "Settings->Configuration->Application settings" in azure portal for your app?

Correct

We can investigate why that happened when published using CLI. Could you try manually changing the value to "dotnet-isolated" via portal and see that fixes the issue?

Still seeing the error. When I initially deploy this error says "Microsoft.Azure.WebJobs.Script: WorkerConfig for runtime: None not found.". After manually changing the setting I see the below error:

Oops, wrong screen shot:

Any updates here?

I wanted to get ahead of the curve being that .NET 7 looks like it will only run out of process, but we are getting to a point where we can't wait on this anymore. Should we not be using isolated mode for linux environments?
Please advise.

@brennfoster We are currently investigating this issue.  Our current suspicion is that this is caused by a corrupted deployment package.
When you tried to publish, did the publish operation succeed? For example if you used VS publish option, did you see a "successfully published" message?

I tried direct publish to the Azure (VS 2022, Linux app) and it is failed (System.AggregateException: One or more errors occurred. ---> Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. .)
I also tried 'Docker Container Registry' publish and it was succeed. But the function doesn't start with the mentioned WorkerConfig for runtime: dotnet-isolated not found error

Publishing from Visual Studio 2022 gives me this error:
System.AggregateException: One or more errors occurred. ---> Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.

Thanks @olehgerus @brennfoster for confirming. I will keep this thread updated as we make progress on the investigation.
cc @balag0 FYI

Interestingly, I got this to work by upgrading to v3 of terraforms azurerm provider and using the new modules for function apps.

FYI @eliaslopezgt

Leaving this open as we'll need to continue investigating the deployment issue with the folks @kshyju has tagged above.

I dont know what happening, but in last friday i had the same problem, bu now he dont back happening. had any update on this weekend?

I had the same issue, but after updating my Nuget packages the issue is gone.
I hope that can be helpful for someone

https://docs.microsoft.com/en-us/azure/azure-functions/functions-versions?tabs=isolated-process%2Cv4&pivots=programming-language-csharp

I am having same issue.
Created .NET 6.0 Isolated Function (with Http trigger) in Visual Studio 2022. Then When I run it in VS 2022, same error:

All the required nuget packages are installed

is there any else is also required to run the '.NET 6.0 Isolated functions' locally in Visual Studio 2022?

@sulmanm Could you share your repro(which fails locally as well) as a GH repo?

GitHub Repo can be found here: FunctionAppTest

@sulmanm Thanks! I was able to run this project without any issue.

For me it does not work and fails with error: WorkerConfig for runtime: dotnet-isolated not
I am running Visual Studio 17.1.5 on Window 10

@sulmanm Could you try in a second machine? If still reproducing, please open a new issue and continue the conversation there. Let's keep this issue for azure deployment behavior. Thanks!

For future references:  I had the same issue when I am trying to dockerize the application:
By adding the ENV FUNCTIONS_WORKER_RUNTIME=dotnet-isolated to my docker file. This usually should reside on your local.settings.json or on the configuration of the azure function app.
my docker file:
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS installer-env

# Build requires 3.1 SDK
COPY --from=mcr.microsoft.com/dotnet/core/sdk:3.1 /usr/share/dotnet /usr/share/dotnet

COPY . /src/dotnet-function-app
RUN cd /src/dotnet-function-app && \
    mkdir -p /home/site/wwwroot && \
    dotnet publish *.csproj --output /home/site/wwwroot

# To enable ssh & remote debugging on app service change the base image to the one below
# FROM mcr.microsoft.com/azure-functions/dotnet:4-appservice
FROM mcr.microsoft.com/azure-functions/dotnet-isolated:4
ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
    AzureFunctionsJobHost__Logging__Console__IsEnabled=true

ENV FUNCTIONS_WORKER_RUNTIME=dotnet-isolated

COPY --from=installer-env ["/home/site/wwwroot", "/home/site/wwwroot"]

We have same exception „WorkerConfig for runtime: dotnet-isolated not found„ in logs from time to time. Azure function runs on Windows Operating System with „dotnet-isolated“ properly set in „FUNCTIONS_WORKER_RUNTIME“. Deployed via Azure DevOPS pipeline.
Exception appliers in small batch of 6 - 8 for two minutes. Then dissipater and system works properly.

We have same exception „WorkerConfig for runtime: dotnet-isolated not found„ in logs from time to time. Azure function runs on Windows Operating System with „dotnet-isolated“ properly set in „FUNCTIONS_WORKER_RUNTIME“. Deployed via Azure DevOPS pipeline.
Exception appliers in small batch of 6 - 8 for two minutes. Then dissipater and system works properly.

Same issue here indeed. We deploy to a staging slot, do a warm-up of our eventhub triggered function and when we swap the slot to production. During swap we see the following errors in application insights and they recover themselves but it causes downtime in the processing of events coming from event hubs during that period.

We have set the appsetting FUNCTIONS_WORKER_RUNTIME=dotnet-isolated to both the production and staging slot.

I too had the same problem.
However, I solved this problem by setting the Platform setting to 64-bit.
When Functions are created in Azure portal, they seem to be set to 32-bit by default.

We use this setting in our ARM template, so with us it didn't solve the problem.

I changed the "use32BitWorkerProcess": false , but still seeing the error "WorkerConfig for runtime: dotnet-isolated not found" after each deployment.
This error throws from below code in the azure-functions-host

@kshyju i do the deployment using the azure pipeline and it is successful, i think this issue is happening just after the deployment

Does this issue is fixed? I am facing same issue when trying to deploy from azure devops pipeline. Deployment shows it is succeeded. but can see this error 'Microsoft.Azure.WebJobs.Script: WorkerConfig for runtime: dotnet-isolated not found.' in the portal. As well as navigating to functions i can see the warning 'azure functions runtime is unreachable'.
I am using windows function app.

As mentioned above i have tried changing 32 bit platform to 64-bit still same error. Though i am able successfully publish from visual studio 2022.
Can anyone please help me in this?

Has anybody found a solution to this problem?

Hi,
I am able to fixed this issue by adding and deploying test function in my project. I created empty project and deployed it without any functions.
Adding and deploying test function in my project solution fixed issue for me.

@kshyju What is the proper way to create and configure a Linux app service so this works? I have been trying and trying and keep getting this error.
This is what I have been trying to do in many different variations using the CLI and the portal:

Create function app on a brand new App Service plan az functionapp create --functions-runtime 4 --os-type Linux --runtime dotnet --runtime-version 6 [...]
Set linuxFxVersion az functionapp config set --linux-fx-version "DOTNET-ISOLATED|6.0" [...]
Set FUNCTIONS_WORKER_RUNTIME to dotnet-isolated
And now it's broken

It doesn't matter if I try to deploy any code or not, I only get this error no matter what I do. The Kudu site is up and running and it accepts my zip package and correctly mounts it if I try to deploy, the docker logs seem to indicate that it also starts the function app, but the host is non functional.

@kshyju I have managed to get a successful deployment once or twice using func azure functionapp publish but never using zip deploy.
The one thing I notice that is different is that when I use func azure functionapp publish the zip file that's placed in data/SitePackages contains a folder named .azurefunctions with some assemblies in it. When I use zip deploy the zip I am uploading does contain the same folder but for some reason it is removed from the zip that is then stored in data/SitePackages.
Everything else is exactly identical as far as I can tell.

Oof, I finally got zip deploy to work, it turns out it was my zip that was the problem after all. Because the .azurefunctions folder has a dot in the name it is regarded as a hidden folder on Linux, which caused the folder to be omitted on my Linux build agent but was included like it was supposed to on Windows when I was validating my code and comparing my zip archive so I thought it was included when in fact it was not.
It would be nice with some validation at deploy time, if necessary files are missing from the zip then it probably shouldn't be accepted. Or at the very least it should be validated and logged in the Docker logs.

@DavidZidar so how did you get it to work? Did you change de folder name?

@Joffreyvl No, in my case the problem was that I was building in Linux and did zip -r foo.zip * which I thought included all files and folders but it unfortunately omits hidden files and folders. My solution was to call zip -r foo.zip . instead to bypass shell parameter expansion and tell zip to compress everything in the current folder.
I did try to deploy from Windows as well which produced a correct zip as far as I can tell but that didn't work, maybe my App Service instance was already corrupted at that time.

I am having a similar problem from devops, trying to publish to consumption windows, isolated, .net 6. works from visual studio. Zip deployment are the same. configuration looks the same, DOES NOT work from AzureFunctionApp@1 in a release pipeline
steps:
- task: AzureFunctionApp@1
  displayName: 'Azure Function App Deploy: test'
  inputs:
    azureSubscription: 'sp-devops'
    appType: functionApp
    appName: 'test'
    package: '$(System.DefaultWorkingDirectory)/Artifact/test.zip'
    appSettings: '-FUNCTIONS_WORKER_RUNTIME dotnet-isolated'
    deploymentMethod: runFromPackage

If have spent hours trying to tweak this in every way possible, comparing the difference between devops deploy and visual studio deploy, for the life of me this just doesn't work.....
Can i ask. Is .net 6 isolated officially supported yet ? or is it just the devops tooling stuck in a time warp ?
Do i need to escalate this to our support contract ?

I have the same problem.

Framework: .NET 6
Function version: v4
FUNCTIONS_WORKER_RUNTIME: dotnet-isolated

Deploying using bicep:
    - name: 'Deploy Azure function'
      uses: azure/functions-action@v1
      with:
        app-name: '${{ inputs.azure_func_name }}'
        package: ./${{inputs.azure_func_project_path}}

On startup, the host logs 0 functions loaded, even if there are one HTTP trigger and one ServiceBusTrigger:

Exception:

I have the same problem.
Framework: .NET 6
Function version: v4
FUNCTIONS_WORKER_RUNTIME: dotnet-isolated

At least there seems to be a fix coming for this error when deploying without a payload, ref: fix by @kshyju here: https://github.com/Azure/azure-functions-host/pull/8589
But, I get this error even if I'm deploying to an existing Azure function.
I've tried setting the linuxFxVersion = dotnet-isolated|6.0.

Hey everyone, we got it to work by using this configuration.

Function runtime version: ~4
Function worker runtime: dotnet-isolated
.NET version: 6.0
OS: linux
Deployment method: run from package
Deployment tool: bicep
Deployment source: Azure pipelines

We found the solution in the official Microsoft documentation.

@Joffreyvl .NET version: 6.0 in combination with DOTNET-ISOLATED|7.0 gives me errors of type:
You must install or update .NET to run this application.

The following frameworks were found:
Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)

To install missing framework, download:
7.0.0-preview.6.22324.4 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Are you sure it's working with .NET 6.0?

Documentation says, DOTNET-ISOLATED|7.0 but DOTNET-ISOLATED|6.0 works for me

The following configuration works for us with bicep deployment: linuxFxVersion set to DOTNET-ISOLATED|6.0,
FUNCTIONS_EXTENSION_VERSION to  ~4 and FUNCTIONS_WORKER_RUNTIME to dotnet-isolated.
Unless a .net function code is deployed to the azure function app, the portal shows "WorkerConfig for runtime: dotnet-isolated not found" error. The error goes away after a function using isolated process model is deployed, because if you look at the .net build output directory it includes a worker.config.json file and all necessary libraries.
The worker config comes from the .net function package. While there are no functions in the resource the portal will keep showing the "dotnet-isolated not found" error.

@Dragsaw I think there are two issues here. One is when you deploy without any functions, which is fixed in https://github.com/Azure/azure-functions-host/pull/8589.
But, the error also occurs when you deploy with functions, and I still get this error even if setting linuxFxVersion to DOTNET-ISOLATED|6.0

@hbrotan , I see. Unfortunately, I have not been able to make dotnet-isolated|7.0 work, only 6.0.
When you're using 6.0, are you able to check that worker.config.json file is present in the function package that is being deployed and that the contents are similar to this?
{
  "description": {
    "language": "dotnet-isolated",
    "extensions": [ ".dll" ],
    "defaultExecutablePath": "dotnet",
    "defaultWorkerPath": "MyFunctionApp.dll"
  }
}

Also, there shoulld be a file like MyFunctionApp.runtimeconfig.json with the similar settings:
{
  "runtimeOptions": {
    "tfm": "net6.0",
    "framework": {
      "name": "Microsoft.NETCore.App",
      "version": "6.0.0"
    }
  }
}

These two file are automatically generated during project build/publish, so if they were wrong then some project setting would have to be changed.
Besides that, if you are deploying to an existing Function App, I would suggest clearing the files in the storage account related to the function app. The service bugged out on me once and would not change any configurations until those files in the storage account were removed. However, I cannot say how safe this operation is or if it will have any side effects, most likely it is not recommended.

@Dragsaw Thanks for answering. I have the same worker.config.json and almost the same MyFunctionApp.runtimeconfig.json with the addition of:
"configProperties": {
      "System.Reflection.Metadata.MetadataUpdater.IsSupported": false
    }

I think the dotnet-isolated|7.0 is a dead end. It requires upgrading to .NET7 preview, and that should not be the solution to this issue.

I had the same issue and downgraded the following packages from the latest version and all started to work without any issues.
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.2.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.5.0" />

I tried adding a dummy HTTP trigger (anonymous auth), and the error occurred less, but the error still occurred.
This is the log for an app with 7 functions (ordered by timestamp desc):

Because 1 function is found (the HTTP trigger), it will not fail.
If no functions are found, there are no config, and it will fail.
Seems like this is a startup issue, where the host is not able to detect the functions. (How can 7 functions be loaded, if only 1 function was found?).
Anyways, I hope the fix  from @kshyju might solve this issue.

But, the error also occurs when you deploy with functions, and I still get this error even if setting linuxFxVersion to DOTNET-ISOLATED|6.0

@hbrotan Could you share your function app name & time of deployment so I can take a look at this behavior?

@kshyju Yes, that would be great, thanks!
App name: hmc-func-service-email-dev-we
Time of deployment (UTC): 8/12/2022, 8:23:54.024 AM
Screenshot trace:

Screenshot exception:

@kshyju Will you get a chance to look at this? Much appreciated.

@hbrotan I looked into our logs and can see that, for role instance "6BADE189-637958780685568709", it appears that the deployment was not really successful (function app payload was not deployed correctly), so it had '0 functions found" messages logged. Can you double check the function app files are properly deployed?
Good news is, we have a fix coming out in the next few weeks to address this issue.

@kshyju Thanks for checking! It seems like this error comes and goes. And it seems like the functions are working in spite of the error, maybe because they are able to start after the initial error.
I believe there is a bug in the framework when loading functions metadata.
How can you explain this behavior? (https://github.com/Azure/azure-functions-dotnet-worker/issues/821#issuecomment-1211968960) -> 1 functions found, but 7 functions loaded?
I believe the bug is that the framework is unable to detect all functions, even if they are there. Might be some race conditions?
Anyway, I saw that you made a fix when deploying without functions. It might solve this (hopefully), but not the real issue which I believe is that functions are not found.
If I run my project locally using Azure Function Core Tools (4.0.4679) func start --verbose:
[2022-08-18T10:55:46.065Z] Loading functions metadata
[2022-08-18T10:55:46.069Z] Reading functions metadata
[2022-08-18T10:55:46.070Z] Reading functions metadata
[2022-08-18T10:55:46.073Z] 0 functions found
[2022-08-18T10:55:46.075Z] 0 functions found
[2022-08-18T10:55:46.091Z] Reading functions metadata
[2022-08-18T10:55:46.143Z] 1 functions found
[2022-08-18T10:55:46.146Z] 2 functions loaded

It doesn't fail, but what's happening here with 0 functions found? Why isn't the functions found? Is it the same issue when starting up after deploy, but then it will actually fail because no functions = no config?

@clpo Yes, the error will appear if 0 functions are found, because the config is part of the function. So various errors with the function might result in this.
@kshyju I know you're busy, but I'd really like a response to the behavior I described in my previous post (7 days ago). Thanks.

@hbrotan Could you open a new issue with relevant details / repro steps, so that we can focus on that problem in that issue.

I have Azure function where I was able to fix this issue somehow. Don't know how. Here is the Terraform sample which looks correct but when it is deployed the function gets broken immediately (even without any real code in it). I have compared ARM templates of fixed and broken azure functions and have not found anything important different. Has anybody found a workaround how to make dotnet-isolated functions work?

Here is ARM Template which is for Azure function creation. Immediately after deployment the function is broken.

Here is ARM Template which is for Azure function creation. Immediately after deployment the function is broken.

Are you referring to "WorkerConfig for runtime: dotnet-isolated not found" error? If you see it immediately after creating the Azure Function App then try deploying actual .Net function code there. That can hopefully resolve the problem. That is the case for me as I mentioned before.

Are you referring to "WorkerConfig for runtime: dotnet-isolated not found" error? If you see it immediately after creating the Azure Function App then try deploying actual .Net function code there. That can hopefully resolve the problem. That is the case for me as I mentioned before.

Probably the issue is somehow related to "Consumption Plan" case. Because once function resource is broken it is not possible to deploy a function there.
System.AggregateException: One or more errors occurred. ---> Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.
   --- End of inner exception stack trace ---
---> (Inner Exception #0) Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details. <---

And the uotput says The attempt to publish the ZIP file through https://func-................scm.azurewebsites.net/api/zipdeploy failed with HTTP status code Failed.

The "WorkerConfig for runtime: dotnet-isolated not found" error appears when a dotnet-isolated function app is created, but no function payload was successfully deployed.  We recently made some changes to the host runtime, so that this scenario will not be considered an error case anymore. From host version 4.10.1 onwards, you should be able to create a dotnet-isolated app without the payload deployed and no error will appear.
There has been improvements in the core tools and VS publish pipeline since this issue was originally created. So at this point, I believe this issue is fixed.
@brennfoster Could you try to repro the issue with latest version of tooling/host runtimes?


Create leetcode problem generator

Generate a leetcode problem out of pool of problems (preferably scraped and saved locally)

Closing bcs cscareers.dev


Not seeing release information for Mono.Options

Hello,
We are using Mono.Options, version <IP_ADDRESS> for our .Net Core related project. For legal clearance of this package, we need this to be available in Release field.

Not sure what you're looking for exactly.  You want us to put up a GitHub Release for that version?  All the MIT licenses are in place and the source can be found here: https://github.com/mono/mono/blob/master/mcs/class/Mono.Options/Mono.Options/Options.cs

Hi @Redth ,
Yes basically something like below:
https://github.com/aspnet/AspNetCore/releases

@jaydeept  sorry for the delay but here is the release of Mono.Options -> https://github.com/xamarin/XamarinComponents/releases/tag/<IP_ADDRESS>3
We will be doing thing now for all component publications
Thanks


Send emails to actual email addresses, not attendee objects.

Also: Does not catch all exceptions, only ImproperlyConfigured - which is the relevant one for sending emails.


Broken link

View Source link, front page, top right, is "fundamentally" wrong.
https://developers.google.com/web/fundamentals/

Duplicate of https://github.com/google/WebFundamentals/issues/1132, https://github.com/google/WebFundamentals/issues/1129 and #1133.

I believe this has been fixed and is getting ready for deployment.  We've had a fallow few months in terms of updates and we should be sorting that asap.

:+1:


The result of code coverage

Hello,
Recently I am working on writing jest unit tests for my company's application. After that, I try to run code coverage report in order to trace which file does not have better coverage. However, I find one confusing point which is that the coverage percentage is not accurate as what I expect.
For example, if I have a file called A. In A, I import a third party library called B. Even though I write a fully-covered test for A, I do not get 100% code coverage. The reason is that since A depends on B and B does not have 100% tests, the calculation of code coverage would count B.
So, do you have any idea about how to get code coverage which excludes those dependencies?

Please note this issue tracker is not a help forum (as stated in issue template)
We recommend using our discord channel or StackOverflow where there is an active jestjs tag for questions


Update Raml syntax highlighting and indent use vim license

Update Raml syntax highlighting and indent use vim license

Codecov Report

Merging #3596 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3596      +/-   ##
==========================================
+ Coverage   77.31%   77.34%   +0.02%
==========================================
  Files          99       99
  Lines      139177   139176       -1
==========================================
+ Hits       107608   107643      +35
+ Misses      31569    31533      -36

Impacted Files
Coverage Δ

src/if_xcmdsrv.c
83.63% <0%> (-0.18%)
:arrow_down:

src/diff.c
84.2% <0%> (-0.14%)
:arrow_down:

src/window.c
83.48% <0%> (-0.04%)
:arrow_down:

src/if_py_both.h
76.3% <0%> (-0.01%)
:arrow_down:

src/syntax.c
78.45% <0%> (+0.02%)
:arrow_up:

src/screen.c
79.24% <0%> (+0.06%)
:arrow_up:

src/channel.c
83.26% <0%> (+0.11%)
:arrow_up:

src/os_unix.c
57.47% <0%> (+0.17%)
:arrow_up:

src/term.c
60.57% <0%> (+0.2%)
:arrow_up:

src/message.c
75.57% <0%> (+0.24%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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

I'll include it, thanks.


Display issue for a unique repo

Hi !
Thank you for your incredible work, but I have a strange behavior.
Following your documentation, I configured your card for a single repo but in my view I find all my repos displayed.
I would like only the one that I have configured but they are all displayed.

Do you have an idea to help me?
Thank you

The auto must be set to false. Auto is used to automatically add the entities which match the name pattern


Jest is blocked

Hi,
Since i upgrade jest to last version, jest just stuck. I run it, do nothing and never go back to prompt.
Any ideas to debug that ? I change nothing in my tests.

It was a problem with watchman. Removing watchman and reinstalling it with homebrew fix the bug


grad method changed in paddle2.4

grad method changed in paddle2.4, need to check more code about grad process....grad-cam for example

 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.


Allow colons in file paths

This commit solves the issues that in windows, supplying a full file path through command line arguments will result in a file not found error.
This problem was resolved by adding a colon to the list no non-delimiting characters.

This fix will also solve the issue of Export to GeoTiff in Whitebox on Windows machines.


bug: Background is set to light by default eventhough I have set my colorscheme to tokyonight-moon

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
0.8.3
Operating system/version
macos 13.2
Describe the bug
I have a ~/.config/nvim/lua/plugins/colorscheme.lua file with the following contents:
return {
  -- { "Mofiqul/vscode.nvim" },
  { "folke/tokyonight.nvim", lazy = true, opts = { style = "moon" } },

  -- Configure LazyVim to load colorscheme
  {
    "LazyVim/LazyVim",
    opts = {
      colorscheme = "tokyonight",
    },
  },
}

I expect the background to be dark.
Steps To Reproduce

Copy the plugin config to ~/.config/nvim/lua/plugins/colorscheme.lua
Restart nvim

Expected Behavior
Background should be dark and colorscheme should be tokyonight-moon
Repro
No response

That's not how it works. You can set colorscheme = "tokyonight-moon" explicitly, or set vim.go.background = "dark" in your lua/config/options.lua

Aha! Thanks! that is indeed the case

Hi,
Is it possible to set two different color schemes based on the background color?

background detection will be too late and this will not (always) work. Neovim's background detection is async, so you'd have to listen to option changes, or set the colorscheme later. Do know that a lot of plugins don't properly listen to colorscheme changes and if you load the colorscheme after those plugins, the plugin colors may be off.

Thanks!


[Bug] Web Client: HTTPS > HTTP After Logged in

Issue it self
Once being logged in for x amount of time, when re-opening the page you are greeted with An unhandled error has occurred. Reload.
After checking Console it shows its trying to redirect from HTTPS > HTTP, Only way to fix currently is to clear all site data and not log in.
Screenshot of Console

This may be a caching issue since there are no references anywhere to that account endpoint.
HGM's been asked to clear the cache and attempt to replicate it.

Maybe fixed? Idk. HGM can't replicate.