[Minor issue] Player numbers removed from BBsite source data

The important bits still work as before, but where it was previously filtering out the number, it now ends up filtering out their first name.
Then there's the potential concern of backwards compatibility (still working with the previous format). Have fun. xD

Fixed in release v1.1.1.


Bootloop

At first I would like to thank you for the work you have invested in this project.
I'm testing wimaging to deploy win7 ATM and wimaging_script_winpe_setup is finishing without errors but then a reboot occurs and, since we did not notify foreman that we have successfully installed the os, the machine is retrieving the images once again, resulting in a bootloop. So I moved the notify foreman part from the finishing scipt to the setup script, but then the finish script cannot run without error since its not allowed to download the provision script (error 405).Such a severe flaw cannot have been overlooked by you so I am wondering if I misconfigured anything?
Again thank you for your help..

@0003088 hey, so in my case machine has HDD boot by default, so it boots into windows after it has an OS on it. Probably not the best way, considering how default PXE template works now with foreman.
Please try it and let me know.

Thank you for your answer!
Hmm, ok, thats a solution I would like to avoid since it would mean that I have to walk to each and every machine which needs a setup and with ~80-100 computers that's no fun. But I found a way: I moved the 'Tell foreman build has finished' part from finish template to setup template and changed  wget.exe <%= foreman_url('provision') %> to wget.exe <%= foreman_url('provision') %>?spoof=<%= @host.ip %> in the finish template and now it's working fine (I do not know foreman well enough to assess if this change introduces any risks or bugs?).

Could you solve the issue?
Basically the 'tell foreman' part should be at the end of of the process. However, you can put it anywhere.

Yes it's kind of solved. The only problem is that foreman_url('provision') is not working anymore after a host tells puppet its built, so the finish script does not run through because the :ntp_testip part is failing. I "solved" the problem by removing that part alltogether, which certainly is not very elegant but I didn't have any issues until this day.

This part fails when there is no puppet master set (the host is @host.puppetmaster).
Do you not use Puppet? However, I sometimes also had this problem as for some reason Puppet Master is not set correctly during host creation in Foreman; it seems like an issue relating to host group inheritance.

You could change the :testip part by setting a static hostname witch is reachable and acts a test to see whenever full tcp/ip stack is up. This test is quite important as time sync will fail and witch in turn might prevent domain join
We could also use something different; but I think @host.puppetmaster is a good choice (implying you use puppet at all)

Oh, I'm using puppet alright.

Puppet Master is not set correctly during host creation in Foreman

I'm not quite sure that this is correct. AFAIK the urls, like foreman_url('provision'), lose their validity from the moment the host tells foreman that its built (which makes perfect sense but is inappropriate in this case here)

:testIP and provision URLs are a different context:
The network test only works when Puppet Master is set. However, it fails if you not use Puppet and there is no Puppet Master.
In more resent foreman versions, we could use @foreman_server_fqdn (foreman 1.12+). Using Puppet Master was more a laziness on my part, as one could use any provision URL to check/ping foreman (yet another URL regex, doh!).
This makes more sense and I will add it to the templates.

Closing because of inactivity - please reopen if you need more assistance.


Publish nightly docs

Taken from pekko-management which is published https://github.com/apache/incubator-pekko-management/blob/main/.github/workflows/publish-nightly.yml#L40-L61

I'd prefer not to start publishing docs until we fix up the Akka and Alpakkka refs and links.

I'd prefer not to start publishing docs until we fix up the Akka and Alpakkka refs and links.

Okay sure, people were asking for the docs which is why I made the PR but its not urgent

@mdedetrich with https://github.com/apache/incubator-pekko-persistence-cassandra/pull/49 merged, we are in a better position to merge this


Reuqested pull request for fixed issues rasied...

Channel4.pm - Channel 4 changed swfURL recently.. The token decoding fails, only worked if encoding a string with a multiple of 8 bytes, avoiding padding removal by not decrypting the last 8bytes.
Channel5.pm - The experiance_id expired/changed by Channel 5. Separate site file, was broken returning facebook links with some util changes, affecting the Brightcove.pm.
Itv.pm - Video string variations for a few downloads. quality selection change to cope with 1200,800,600,400 rates, 400 rate may be larger in pixels than 600.
Brightcove.pm - This was reverted back to pre Channel 5 changes, as Channel 5 now is a separate Site file.
Youtube.pm - Patch used on OpenBSD Distribution.
4od - Patch used on OpenBSD Distribution.
Tags added to the git repository + Download files to match, using in building the OpenBSD version.
Due to lack of proper released versions for build distributions. Combined versions difficult to patch, and, can't use plugins as updates to Sites.

Thanks for these changes. It'd be awesome if you could submit more (but smaller) requests in future.


video problem

if insert in code view mode the video like this: <video controls="" style="width:auto;height:auto;max-width:100%;max-height:100%;"><source src="/uploads/0/iTYiGksjH/1.mp4" type="video/mp4"></video>
it does not appear in the preview mode and even can not be saved

Hi
I don't see code :(

I'm sorry. Here it is
<video class="kv-preview-data file-preview-video" controls="" style="width:auto;height:auto;max-width:100%;max-height:100%;"><source src="/uploads/0/iTYiGksjH/1.mp4" type="video/mp4"></video>

If the source tag is not used, it will be displayed normally.
<video controls="" style="width:auto;height:auto;max-width:100%;max-height:100%;" src="/uploads/0/iTYiGksjH/1.mp4"></video>
I'll fix the source tag to be available in the next version.

ok. thank you!

The 2.30.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


ImageSeriesReader to read DICOM series in correct order

For a project I am currently working on I need to read a lot of dicom series. All series are stored in a seperate folder, so there is no problem there. and the reader does what it has to do. But I have one question: In which order will the slices appear in the array? Is it just randomly reading all the slices or does it place the slices in the order of the correct DICOM position?

Hello @Ingrid1989,
You need to use the GetGDCMSeriesFileNames to obtain the file names in the correct order for the reader. Also if you have multiple series in each directory you need to select one, or go over all of them. The default behavior, if you do not specify a series ID, is to get the file names for the first series encountered in the directory. Please take a look at the DicomSeriesReader and DicomSeriesReadModifyWrite examples.
For future reference, the toolkit's usage examples can be found on read-the-docs and in our Jupyter notebook repository.


renaming idea: rename observe to observer

observe should be observer.
For consistency with Mobx, for previously Mobx developers.
Reason:
observe - mean "to observe" it's an action. But decorator should be not an action.

Or better case, use your own naming.
observe -> component
observe.hook -> hook

There are two functions component, and hook. That are decorators.

Ready https://github.com/re-js/remini/commit/e3f646762a3745b3a623449bca3c3632c5493d79


Weird result based on string case

I've tried to compare the strings, as follow:
stringSimilarity.findBestMatch('bnp', ['BNP Paribas', absolutelyunrelated])

Both rating are 0

stringSimilarity.findBestMatch('BNP', ['BNP Paribas', absolutelyunrelated])

BNP Paribas rating is 0.36363636363636365

I wouldn't expect 0 with bnp, I'd expect something around 0.2+ I guess, the difference is huge based on the string case.

Hi @Vadorequest, the comparison is case-sensitive by design. If you want case-insensitive comparison, please convert all your inputs to uppercase or lowercase before comparing.


Increment package version after release of azure-app-configuration

Increment package version after release of azure-app-configuration

/azp run js - appconfiguration - ci

You'll also need to update src/AppConfigurationClient.ts on line 70 to match what you're bumping to, or else the tests will fail.

@richardpark-msft Is it possible to update code so that the current version is being read from package.json and not being hard-coded in the source files? Hard-coding causes inconsistencies
cc - @danieljurek

@richardpark-msft Is it possible to update code so that the current version is being read from package.json and not being hard-coded in the source files? Hard-coding causes inconsistencies
cc - @danieljurek

If there is that would be awesome. This value is what we use as our user agent string so we'd somehow need to pull this value at runtime.
@bterlson, @chradek   - is there a better way?

@richardpark-msft
I think webpack and parcel would be able to handle that, but I'm not sure if rollup would. That would be my main concern.

It is definitely preferable to refer to a single location for the version of a package instead of having it hardcoded in multiple locations.
We were not able to eliminate all instances of such hard coded version strings (for various reasons including the inability to persist changes to generated files), so we have a workaround. In the package.json file is a //metadata field (npm will always ignore keys that start with //).
https://github.com/Azure/azure-sdk-for-js/pull/6825/files#diff-0e365e4eb92027c94430c8bb91e84bf5L64
Given that packageVersion is the only instance I see of a package version in appConfigurationClient.ts one can add this to the list of places to search for a version to update like so:
{
  ...
  "//metadata": {
    "constantPaths": [
      ...
      {
        "path": "src/appConfigurationClient.ts",
        "prefix": "packageVersion"
      }
    ]
  }
}

It is advisable that you not hard code version strings so this is a workaround and we should have a bug to remove this hardcoded version string if we go this route.

@danieljurek @richardpark-msft Opening a new PR - https://github.com/Azure/azure-sdk-for-js/pull/7259

@richardpark-msft I filed a new issue tracking this - https://github.com/Azure/azure-sdk-for-js/issues/7260


Add jsonpath as a dependency

resolves #37

The apps that support --expression at the moment are processors and router. Introduced the dependencies at that level rather than doing it at the root pom.xml.

Guys, you're also missing the redis sink.. It supports SPeL for the attribute keyExpression . Might be missing others as well

Added the dependencies at the root level so that all apps can make use of those.

LGTM

Rebased and merged as 8395981eac5fbe3e6567c2cef159774e4e02b0c2 after fixing the formatting issue mentioned above.


[Bug]: Subdomains for app doesn't work, while Coolify instance domain does

Description
Traefik configuration doesn't allow for subdomain usage
Minimal Reproduction (if possible, example repository)
Let's assume we own domain xyz.com
If I would set up this domain in Coolify settings and add DNS record pointing to my machine IP address - everything will work.
I'm using Cloudflare and both "Full" and "Full (Strict)" modes work for me.
Then I create web service. Automatically generated domain (http slip io ) works, I can connect to that.
Then I change to api.xyz.com and also add new DNS record for it.
I cannot connect to service.
I gets "404 page not found" on "Full" mode and 526 on "Full (Strict)".
What I've checked as possible source of problem:
Inside /data/coolify/proxy there is acme.json file, it does contain our xyz.com, but not api.xyz.com
Exception or Error
No response
Version
4.0.0 beta 96

I try to reproduce it.
Are you sure about the beta version?

I also get 404 when pointing an A record to the IP, generated domain works. Domain is registered with Cloudflare and has a CF pages app deployed on the root domain example.com. Latest beta (installed a few hours ago)

I'm sure about the beta version.
I've seen some Discord posts related to similar issues already. People were pointing on CORS / 404 errors mostly, but I guess it's related to that.
I've tried manually updating acme.json. First attempt and proxy restart gave no visible change, but after night I've realized that I broke Coolify instance domain ( our xyz.com ) because of that and now I gets also 526 status for that domain, so this file need to have some impact on the case.

I'm sure about the beta version. I've seen some Discord posts related to similar issues already. People were pointing on CORS / 404 errors mostly, but I guess it's related to that.
I've tried manually updating acme.json. First attempt and proxy restart gave no visible change, but after night I've realized that I broke Coolify instance domain ( our xyz.com ) because of that and now I gets also 526 status for that domain, so this file need to have some impact on the case.

Beta version 96 doesn't exist though 😁 Latest is 81

Then I create web service.

Which service exactly? An application, or a complex service (based on a compose file), or a one-click service?
I'm trying to reproduce it, but I cannot.

@andrasbacsai My project is a pnpm monorepo, loaded from git with nixpacks (if that helps).
Is this A record correct or do I need to set it to the root in the "name" column?

I want to point https://api.example.com to the app

@andrasbacsai My project is a pnpm monorepo (nodejs api in packages/api), loaded from git with nixpacks (if that helps). Is this A record correct or do I need to set it to the root in the "name" column?
I want to point https://api.example.com to the app

It looks good.
You have two options with this configuration (orange cloud on):

Set http://api.example.com in Coolify and set Flexible in Cloudflare SSL/TLS configuration.
Set https://api.example.com in Coolify and set Full in Cloudflare SSL/TLS configuration.

Don't forget, if you change the domain in Coolify, you need to redeploy. It is not dynamically changed.
Neither work?

@andrasbacsai My project is a pnpm monorepo (nodejs api in packages/api), loaded from git with nixpacks (if that helps). Is this A record correct or do I need to set it to the root in the "name" column?
I want to point https://api.example.com to the app

It looks good.
You have two options with this configuration (orange cloud on):

Set http://api.example.com in Coolify and set Flexible in Cloudflare SSL/TLS configuration.
Set https://api.example.com in Coolify and set Full in Cloudflare SSL/TLS configuration.

Don't forget, if you change the domain in Coolify, you need to redeploy. It is not dynamically changed.
Neither work?

Thanks, it works now! I missed to set SSL/TLS to "Full" and probably also forgot to redeploy, lol. 🙏

It was 69, not 96, right.
I will check such stuff.
Maybe some notification would be useful like "You changed domain, redeploy for apply change"?

Tested correctly.
What worked:

Cloudflare has to be set up on Strict (but not Strict (full) because it will throw 526, since letsencrypt acme is created for Coolify instance domain only)
redeployed service after domain change

I guess it would be really good to add notification mentioned above and also maybe extend popover info showed when mouse is over domain field in settings of service.
Thanks for answers and wish You all good in this project

Thank you @DevHusariaSolutions,
I have been trying for 3 days to deploy my website correctly but couldn't
Here are my steps if you are seeing SSL 526 errors on Cloudflare with Coolify
Restore the default proxy config, redeploy website with correct subdomain set, disable Cloudflare strict, reach the website, and then enable Cloudflare strict


bpy <> python3.8 compatibility

There are no compatible releases of bpy with python3.8. If I wanted to use the utils.fbx2bvh.py script or programmatically perform the .bvh binding to a reference .fbx file, what would be the recommended way of doing so? How important are the exact dependency versions specified in the environment.yml file?

Hi @rshen36,
The file environment.yml file lists versions on which we successfully ran SinMDM. However, It is not important to use those exact versions. Whatever works for you is ok.
Unfortunately running scripts that use bpy is tricky and often fails in environments not within Blender. An easy workaround is to run them from Blender itself, either

from Blender's internal console, or
from command line: <path to Blender> -b -P <your python script>

Best,
Sigal


Build fails on first step

I somehow managed to read a few minds and get things setup to the point where I could run (ql:quickload :lispos-file) and it would do more than complain that such a thing doesn't exist. Instead, it tells me the compilation has failed. I guess it's progress, after a fashion. Here's the output:
This is SBCL 1.2.14, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (ql:quickload :lispos-file)
To load "lispos-file":
  Load 1 ASDF system:
    lispos-file
; Loading "lispos-file"
..........................
; file: /home/lehi/prog/common-lisp/quicklisp/local-projects/Mezzano/home/iterate-1.4.3/iterate.lisp
; in: DEFUN RETURN-COLLECTION-CODE
;     (ITERATE::WITH-TEMPORARY ITERATE::TEMP-VAR
;       (LET* ((ITERATE::UPDATE-CODE
;               `(IF ,ITERATE::COLLECT-VAR
;                    #
;                    #))
;              (ITERATE::MAIN-CODE (COND # # #)))
;         (ITERATE::RETURN-CODE :BODY
;          `((PROGN ,.ITERATE::MAIN-CODE ,ITERATE::COLLECT-VAR)) :FINAL
;          (IF (EQ ITERATE::RESULT-TYPE 'LIST)
;              NIL
;              `(#)))))
;
; caught ERROR:
;   during macroexpansion of
;   (WITH-TEMPORARY TEMP-VAR
;     (LET* #
;       #)).
;   Use *BREAK-ON-SIGNALS* to intercept.
;
;    invalid number of arguments: 1

; file: /home/lehi/prog/common-lisp/quicklisp/local-projects/Mezzano/home/iterate-1.4.3/iterate.lisp
; in:
;      DEFCLAUSE (ADJOINING EXPR &OPTIONAL INTO VAR AT (PLACE 'END) TEST
;             (TEST '#'EQL) RESULT-TYPE (TYPE 'LIST))
;     (ITERATE::WITH-TEMPORARY ITERATE::TEMP
;       (ITERATE::RETURN-COLLECTION-CODE :VARIABLE ITERATE::VAR :EXPRESSION
;        ITERATE::EXPR :START-OPERATION
;        `(SUBST (ITERATE::EXPR ITERATE::VAR)
;                (PROGN
;                 ,ITERATE::TEMP
;                 (ADJOIN ITERATE::EXPR ITERATE::VAR :TEST ,ITERATE::TEST)))
;        :TEST `(SUBST (ITERATE::VAR ITERATE::EXPR) (PROGN (SETQ #) (NOT #)))
;        :END-OPERATION `(SUBST (ITERATE::VAR ITERATE::EXPR) (LIST ,ITERATE::TEMP))
;        :ONE-ELEMENT ...))
;
; caught ERROR:
;   during macroexpansion of
;   (WITH-TEMPORARY TEMP
;     (RETURN-COLLECTION-CODE :VARIABLE VAR ...)).
;   Use *BREAK-ON-SIGNALS* to intercept.
;
;    invalid number of arguments: 1
.
; in:
;      DEFCLAUSE (ADJOINING EXPR &OPTIONAL INTO VAR AT (PLACE 'END) TEST
;             (TEST '#'EQL) RESULT-TYPE (TYPE 'LIST))
;     (ITERATE::WITH-TEMPORARY ITERATE::TEMP
;       (ITERATE::RETURN-COLLECTION-CODE :VARIABLE ITERATE::VAR :EXPRESSION
;        ITERATE::EXPR :START-OPERATION
;        `(SUBST (ITERATE::EXPR ITERATE::VAR)
;                (PROGN
;                 ,ITERATE::TEMP
;                 (ADJOIN ITERATE::EXPR ITERATE::VAR :TEST ,ITERATE::TEST)))
;        :TEST `(SUBST (ITERATE::VAR ITERATE::EXPR) (PROGN (SETQ #) (NOT #)))
;        :END-OPERATION `(SUBST (ITERATE::VAR ITERATE::EXPR) (LIST ,ITERATE::TEMP))
;        :ONE-ELEMENT ...))
;
; caught ERROR:
;   during macroexpansion of
;   (WITH-TEMPORARY TEMP
;     (RETURN-COLLECTION-CODE :VARIABLE VAR ...)).
;   Use *BREAK-ON-SIGNALS* to intercept.
;
;    invalid number of arguments: 1
...
debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#<THREAD "main thread" RUNNING {1002BE6833}>:
  COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "iterate" "iterate">

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY                        ] Retry
                                     compiling #<CL-SOURCE-FILE "iterate" "iterate">.
  1: [ACCEPT                       ] Continue, treating
                                     compiling #<CL-SOURCE-FILE "iterate" "iterate">
                                     as having been successful.
  2:                                 Retry ASDF operation.
  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  4: [ABORT                        ] Give up on "lispos-file"
  5:                                 Exit debugger, returning to top level.

(UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "iterate" "iterate">)))

I fixed this for myself by deleting mbuild/home/iterate-1.4.whatever.  The problem is that iterate before a certain date doesn't build with newer SBCL installs.  If you delete that directory and then re-try the make, it should work.  It did for me, anyway.
Reference

Thank you @cmoore.


env.XYZ is not replaced before introspection in GraphQL Handler

Describe the bug
When using {env.SOME_API_URL} in a GraphQL handler, the variable is not replaced before the introspection query is executed.
To Reproduce
Steps to reproduce the behavior:
A handler like the following:
  - name: Search
    handler:
      graphql:
        endpoint: '{env.SEARCH_SERVICE_ENDPOINT}'

Will result in "Only absolute URLs are supported".
Expected behavior
The env variable is replaced before the introspection query is run.
Environment:

<EMAIL_ADDRESS>
Additional context
I have a fix for this in a PR, however I'm uncertain how to write a test for this. From the looks of it, remote URLs are not tested currently when creating a GraphQL handler. And it seems that replacing {env.SOME_VALUE} prior to the conditional statement about whether or not the endpoint is a .graphql or .js file creates a bunch of edge cases which the fix doesn't cover.
If possible, I'd like some guidance on this.

I think this issue has been fixed by the PR :)


Initial Linux support

The third time's lucky? Hopefully...
This have been tried to build on Ubuntu 16.10 with Swift versions:
3.0.1
3.0.2
DEVELOPMENT SNAPSHOT 2016-12-14
and successfully passed all tests.

@hkellaway Do we really need all those ([)(U)Int32(]), ([)U(Int64)(]) encoders and decoders? Asking for friend...

is there a reason not to have them besides the failing Linux tests..?

Well, is there anybody insane who uses Int32 or UInt64 directly in code instead of Int/UInt? :smirk:
I just hope not...
BTW The build using the new .travis.yml file which uses swift toolchain, instead of Xcode, fails too for macOS on ([)UInt64(])... :roll_eyes:

And of course, directly on my girlfriend's Mac it builds normally without problem...
Why me?

someone uses them https://github.com/hkellaway/Gloss/pull/168

I see... Madness, but OK. Thanks.

@hkellaway

So I have reverted back to using NSNumber. I've tried to get all the code to use "natural" types, because NSNumber doesn't work for those size-specific Ints and UInts on Linux, but I have failed. 😢
That means, Gloss wouldn't be able to support ([)(U)Int32(]) & ([)(U)Int64(]) on Linux. There is something fundamentally broken in Swift or Foundation library on Linux, so I have "removed" tests for these on Linux and added remark to README file.
If you accept this PR, please squash the commits (you can do it directly here within this PR, Github will make squashed merge commit to your develop branch) and leave there this commit message:
Initial Linux support. (Or do you want me to redo this?)
I will monitor future developments of Swift and will try to move to those mentioned "natural" types again when Swift/Foundation is fine again on Linux.

Thank you. For this library and your patience.

@rbukovansky thanks for your work on this! apologies its taken me a while to get back around to it.
one stipulation i have about this is - i'm not at all familiar with Linux and cannot personally provide a guarantee from version to version that Linux won't break. can i hold you accountable for fixing issues if raised by Linux users? otherwise i cannot with good conscience offer Linux support.

regarding squashing - would you mind doing so ?

@hkellaway 1. Time - that's OK. We all had holidays... ;)

Support for Linux: Yes, I will take care of it. No worries...
Gloss is IMHO the best JSON library for Swift and I'm happy it can be used on Linux.

Ad squashing those commits: I will take care of it, no worries here either.

@hkellaway OK, I have squashed those commits, but the Travis build fails and it's not fault of the new code... 😩 Could you please try force the rebuild of this PR directly on Travis CI? It passed on my Travis CI https://travis-ci.org/rbukovansky/Gloss/builds/189431942
Thanks.

@hkellaway To get this all going I will need you to accept #258 #250 and then this PR... Then we will have Linux support in Gloss and tests of any new code for both platforms (OS X and Linux) on Travis CI.
I have merged all those three PRs to one branch in my repo and it builds OK https://travis-ci.org/rbukovansky/Gloss/builds/189439692 to prove it.
Thank you.

@hkellaway Rebased on top of develop branch. #250 needs to be merged first.
Test build of both PRs merged is here: https://travis-ci.org/rbukovansky/Gloss/builds/192286539

@hkellaway Thanks. Hooray, another Mt. Everest conquered! 😉

🎉

hello @rbukovansky - i didn't have your email but wanted to put you in touch with another developer who would like to help support Gloss on Linux: @crspybits
i'm going to add you both as Collaborators so i can tag you on Linux issues; i'd leave it to you two to communicate on who had the bandwidth to address the Issue. despite being Collaborators, i ask that you make pull requests (only against the linux branch) - and i'll be the one to make a final review and merge.
if you're okay with sharing your email - please email me at<EMAIL_ADDRESS>so i can put you in touch with @crspybits that way

@hkellaway Reply over e-mail sent. And it's good I'm not alone in this effort. Hooray to @crspybits!


Non-community group submodules

One thing we've recently been thinking a lot about on Chakra is our testing story for WebAssembly. I think it would be ideal if we could use this as a submodule, and have our testing build wasts using sexpr-wasm on the fly. This would allow us to run WebAssembly tests through our CI without needing to check in a whole bunch of binary files.
However, what makes me hesitant to do this is that V8 is a submodule of sexpr-wasm, and (for obvious reasons) I'd rather not have V8 as a submodule of ChakraCore. So what do you guys think? Feasible to remove that dependency? Also, I'm wondering how V8 handles wasm testing? Presumably you don't have this as a submodule either (that seems like there would be some weird recursion), so do you check in .wasm files, or something else?

Yes, this make sense. Originally d8 was useful for testing as it was the only binary format consumer, and I wanted to make sure I was generating something that could actually work :) Since then I've added sexpr-wasm's wasm-wast and wasm-interp utilities, so at least can prove that it's self-consistent.
A couple thoughts:

I've spent some effort to ensure that sexpr-wasm builds without any submodules. So you could include sexpr-wasm as a non-recursive submodule and it should build properly. (It's not really tested, though, so there likely will be regressions. It shouldn't be too hard to add this to Travis, however.)
I recently changed all references from d8 to js instead, and made it possible to choose the JavaScript engine via the --js-executable flag. I tested this against the SpiderMonkey engine, and added functionality to download+build it, so we could do something similar w/ Chakra. The v8 repo is more self-contained (read: smaller), so I made it a submodule, but AFAICT SpiderMonkey requires the entire mozilla dev repo, so I didn't make it a submodule.

Perhaps the nicest solution here is to demote v8 from submodule, to building the same way SpiderMonkey does, and add similar scripts to build via Chakra. It's nice being able to test against real wasm consumers locally. See scripts/build-d8.sh, scripts/build-sm.sh, scripts/download-sm.sh, etc.
Also: I recently added the WebAssembly/testsuite-js repo, which contains a single JavaScript file per spec test file, generated by sexpr-wasm.
What do you think?

WebAssembly/testsuite-js is interesting, however same issue regarding submodule (since it has sexpr-wasm).
I think having sexpr-wasm as a non recursive submodule might do the trick.
I've been fiddling around with to make it compatible on Windows and with ch.exe.
Soon I should have fixes ready for Windows, then I'll start looking into integrating this tool into our CI and I'll which issues comes up then.

How would you feel like about breaking down this repo into separate projects.
I was thinking something like

WebAssembly/Tools: Would contain most if this repo as in sexpr-wasm, wasm-interp, wasm-wast and maybe wasm-interp-sq. It would also contain necessary testing only for those executables (nothing needed a javascript engine).

WebAssembly/CommonTests: A repository of shared test cases to run in the different wasm implementation, but nothing to actually run the tests. Would contain a reference to the Spec testsuite.

WebAssembly/EngineTesting: A repository to actually do testing of the different wasm implementation. It would have a reference to WebAssembly/Tools and WebAssembly/CommonTests.

This way, it would allow external project to use WebAssembly/Tools and/or WebAssembly/CommonTests without any reference to things related to the specific implementors

What tests would be in WebAssembly/CommonTests? I originally wrote the tests in sexpr-wasm-prototype because the tests in the spec repo were not exhaustive enough. But in general I think it would be better to move anything substantive into the existing testsuite.
Is it enough to just move the engine tests out? I think that makes a lot of sense. It's not really the responsibility of sexpr-wasm to validate the engine's implementations. :)

https://github.com/WebAssembly/sexpr-wasm-prototype/pull/89 is a quick PR to remove the JavaScript engine stuff. What do you think?

I guess I was thinking about WebAssembly/CommonTests because sexpr-wasm contained more tests than the official test suite namely the d8 test folder.
I don't know if it's appropriate to add those tests to the test suite, it might be interesting to look into this.
For the PR, at quick glance it looks good. I made a similar change to test it out, I'll compare with mine and get back to you.

I don't know if it's appropriate to add those tests to the test suite, it might be interesting to look into this.

Nah, most of those tests aren't very exhaustive. They include all the different operators, but don't really test much else about them. The testsuite has (or at least should have) better tests for all this. The only thing we may want to include as well are tests that exercise the JavaScript API. But I imagine that should be added to the official testsuite in some way too.


Item #8853: Ontology, Form insert and update

Rationale
Item #8853: Ontology, Form insert and update
Related Pull Requests

https://github.com/LabKey/ontology/pull/43

Changes

Adds the ConceptSubtree DomainProperty so we can apply a specific ontology hierarchy path to a field

I reviewed the changes and made a few comments, but @labkey-matthewb I think it would be good if you took a look at the changes for OntologyManager.java and the related classes. I am not familiar with that code.

Looking at the commits, maybe you were the one that made those changes @labkey-matthewb. Is that correct?


massive slowdown when using the ALSAWidget

I am on Fedora linux 37, qtile and qtile_extras latest git build.
Starting Qtile, changing monitor configuration and reloading the config takes about 5 to 15 seconds. I tested with UPowerWidget and ALSAWidget, ALSAWidget was the problem. I have no tested any other widgets (Except for the LightControll widget in the pull request I submitted, which is based on the ALSAWidget).

nothing in the logs. The LightControl widget I based on it has the same problems too.

both

Can you share your config (ideally a minimal version that still has this behaviour) and the steps to trigger the issue?
I can't recreate it at the moment.

I was curious to test this also, and I can confirm i see the same behavior.
From SDDM i can start qtile almost instantly.
If ever ALSAwidget is there with the below config, then there ~ 5s delay before qtile start.
                 widget.ALSAWidget(
                       mouse_callbacks={"Button3": lazy.spawn("pavucontrol")},
                       mode='both',
                       theme_path="/usr/share/icons/Papirus-Dark",
                       icon_size=36,
                       fontsize=20,
                       padding=5,
                       bar_width=60,
                       bar_colour_high=colors[10],
                       bar_colour_loud=colors[15],
                       bar_colour_normal=colors[13],
                       bar_colour_mute=colors[7],
                       foreground=colors[5],
                       background=colors[7],
                       update_interval=5,
                       hide_interval=2,
                       **decor_general,
                       ),
def init_colors():
    return [["#cdd6f4", "#cdd6f4"], # color 0 Text (Blue)
            ["#1e1e2e", "#1e1e2e"], # color 1 Base #1e1e2e
            ["#9399b2", "#9399b2"], # color 2 Overlay 2
            ["#f5c2e7", "#f5c2e7"], # color 3 Pink
            ["00000000", "00000000"], # color 4 Transparent
            ["#f3f4f5", "#f3f4f5"], # color 5 White
            ["#45475a", "#45475a"], # color 6 Surface 0
            ["11111bbf"], # color 7  Crust 75% transparency # Base 85% transparency 1e1e2ed9
            ["#f3f4f500", "#f3f4f500"], # color 8 White 66 % tranparency for highlight
            ["#11111b", "#11111b"], # color 9 Crust
            ["#fab387", "#fab387"], # color 10 Peach
            ["#f9e2af", "#f9e2af"], # color 11 Yellow
            ["#a6e3a1", "#a6e3a1"], # color 12 Green
            ["#94e2d5", "#94e2d5"], # color 13 Teal (Blue/Green)
            ["#eba0ac", "#eba0ac"], # color 14 Maroon (Reddish/pink)
            ["#f38ba8", "#f38ba8"], # color 15 Red
            ["#89dceb", "#89dceb"], # color 16 Sky (Blue)
            ["#585b70", "#585b70"], # color 17 Surface 2 (grey)
            ["#74c7ec", "#74c7ec"], # color 18 Sapphire
            ["#89b4fa", "#89b4fa"], # color 19 Blue
            ["#b4befe", "#b4befe"], # color 20 Lavender
           ]
colors = init_colors()

Removing the decoration doesn't help.

I tried with widget.ALSAWidget() (no config), and i see the same issue.
Removal of config maybe remove 1-2 s delay.

Thanks. This is very odd but clearly there's an issue somewhere.
Frustrating that I can't recreate it but let me test some more tonight.

Sorry was asleep and did not reply, I hope the config provided by @Crystal4276 is enough.
I just finished setting up a virtual machine (Fedora 37 i3 spin) to test in a minimum environment, and had the same problem. too bad no logs are being produced to indicate where this delay is happening.

My suspicion is that it's something to do with when the widget is configured.
In your light widget, could you try commenting out the self.get_brightness() line and see if that makes a difference.
If it doesn't, can you try removing all references to the ExtendedPopupMixin i.e. remove the import, the inheritance in your class definition and then these two lines:
        ExtendedPopupMixin.__init__(self, **config)
        self.add_defaults(ExtendedPopupMixin.defaults)

I tried both, non of them made a difference. The other widget I am working on latte.py is very simple and has no popups and it still slows down, not as much as the alsa and light ones, but still noticeable.

Can you share the latte.py code? I can see if there are any common themes.

sure, https://github.com/ronniedroid/qtile-extras/blob/latteWidget/qtile_extras/widget/latte.py

OK. For the alsa widget, can you just set mode to bar? All of these widgets try to load images during configuration so I wonder if that's the issue.

How are you changing the volume?

Through the widget or directly?

I see, my bad.

Back to the original issue, it seems like there's a problem with loading images.
What distro are you on? (@Crystal4276 you too please)

Fedora 37

I tried 'both' and 'bar' there are no big differences between the two (bar a bit faster).

Hmm. I'm on Arch too. Let me test this widget with icons tonight.

Still can't recreate this. Not seeing any difference in startup time between when I'm using the alsa widget and when I'm not. reload_config() is almost instant too.

This is weird, not sure if this will help you debug, I am on python 3.11.0, latest git version of qtile and qtile-extras, linux kernel 6.0.8.

@elParaguayo what icon theme are you using? it is loading gnome icons fast, no slow down at all, but Papirus and Numix-circle are slow.

Tried with Paper. However, I'm not entirely convinced it's this given Crystal4276's comments (plus this widget uses the same image loader as standard qtile widgets so you should see the same issue with them too).

I couldn't try gnome icons on Arch (because the volume icons were not there -> crashed of widget).
So i checked other icon sets.
I saw some variability in loading speed. For instance kora is noticeably faster than Papirus.
However, whatever the icon set, startup remains very much slower compared to no ALSA widget

But it's still slow when not using icons at all?

Yes, using ' bar' mode is still slow compared to no widget.

I have no slowdown using bar mode, and no slowdown with icon and both mode using gnome icons

I think your theory is correct. My latte widget has only two icons and it loads faster than the other two.

I went to select and extract only the 4 icons needed to run the widget and placed them alone in
theme_path="/home/crystal/.config/qtile/assets/bar_icons"
Performance back to normal.

One additional thought about what i think is still weird.
I'm running Status.Notifier which is also configured to look for the 'papirus' icon folder.
Why this widget is not impacting loading time as much as ALSA.widget ?

StatusNotifier uses the xdg module to locate icons whereas the alsa widget uses qtile's built in code which is clearly less efficient but is more flexible.
I think the xdg module limits its search to certain folders based on icon size.

I went to select and extract only the 4 icons needed to run the widget and placed them alone in theme_path="/home/crystal/.config/qtile/assets/bar_icons" Performance back to normal.
EDIT: loading time is still (much) faster without Alsa.widget. (almost instant vs. 1-2 s loading time)

It does feel like there's another issue here too.
Can you try commenting out the self.get_volume() line in the _configure method and see if that has any impact?

Can you try commenting out the self.get_volume() line in the _configure method and see if that has any impact?

You found it !!!!!
Commenting that line solve the problem.
Now, loading is instant.

Ok. However, if reading the volume is slow for you then this widget may not be much use for you.
Can you try setting the volume through the widget (using "volume_up/down ()" commands) and see how responsive the widget is for you. I'm wondering if amixer is slow for you.

Can you try setting the volume through the widget (using "volume_up/down ()" commands) and see how responsive the widget is for you. I'm wondering if amixer is slow for you.

No issues on that side. The volume is changed instantly.
I have been using this widget functionality for a while.

Commenting that line also dramatically increased qtile reload config speed.

Thanks both for the help debugging
I'll remove that offending line from _configure.
As for the icons, I could try bumping that into a background progress to make them load after the widget is configured.

I see no difference when removing the self.get_volume() from _configure.
Also, the alsa widget when using the gnome Icons works really well, no slowdowns.
I changed the icons to a cairo drawing in my light widget and it is working perfect no slowdowns at all.
Maybe I can try making the volume Icon a cairo drawing too, if you wish.


Fix failing mypy check

The mypy check currently fails at
mypy..........................................................................Failed
- hook id: mypy
- exit code: 1

src/astro/utils/delete.py:34: error: Incompatible types in assignment (expression has type "Table", variable has type "TempTable")
Found 1 error in 1 file (checked 84 source files)

This PR fixes it

Fixed by https://github.com/astro-projects/astro/commit/ad923fb60d8767feb11b5569df453beeee6bd119


Slow advanced optimization

Processing of css file with ~15k lines with advanced optimization option takes about 25-30 sec.
Benchmarking
With advanced optimization:
23.884616 ms: CommentsProcessor#escape
0.442265 ms: ExpressionsProcessor#escape
1.566624 ms: UrlsProcessor#escape
28.464184 ms: FreeTextProcessor#escape
26700.448209 ms: Function#undefined

Without:
26.222667 ms: CommentsProcessor#escape
0.50272 ms: ExpressionsProcessor#escape
1.7571 ms: UrlsProcessor#escape
29.464543 ms: FreeTextProcessor#escape
257.27162 ms: Function#undefined

Hardware:
CPU 2.3 Ghz Core i7
RAM 16 gb
What could be the reason of such slow process of optimization?

Could you try with restructuring: false option? It's the slowest part and may have some bad performance characteristics.

On 25 Jun 2015, at 20:49, Andrey Antipov<EMAIL_ADDRESS>wrote:
Processing of css file with ~15k lines with advanced optimization option takes about 25-30 sec.
Benchmarking
With advanced optimization:
23.884616 ms: CommentsProcessor#escape
0.442265 ms: ExpressionsProcessor#escape
1.566624 ms: UrlsProcessor#escape
28.464184 ms: FreeTextProcessor#escape
26700.448209 ms: Function#undefined
Without:
26.222667 ms: CommentsProcessor#escape
0.50272 ms: ExpressionsProcessor#escape
1.7571 ms: UrlsProcessor#escape
29.464543 ms: FreeTextProcessor#escape
257.27162 ms: Function#undefined
Hardware:
CPU 2.3 Ghz Core i7
RAM 16 gb
What could be the reason of such slow process of optimization?
—
Reply to this email directly or view it on GitHub.

@AndreyAntipov any luck with restructuring off?

@jakubpawlowicz Yes, it's work significant faster (consumed over ~2/3 of all time ) but still require a quite more time than without advanced optimisations. So i decided to use this optimisations only on production final stage. Thank you for the help.
Stats with disabled restructuring:
30.925105 ms: CommentsProcessor#escape
0.440962 ms: ExpressionsProcessor#escape
1.349413 ms: UrlsProcessor#escape
24.735598 ms: FreeTextProcessor#escape
8779.592214 ms: Function#undefined

Yup, running it in production build only would make better sense. :+1:


DemoApp: dependencies issue

Just fresh from cloning this repo the problem becomes apparent:
npm install
<lots of packages are installed, with an error at the end:>
npm WARN<EMAIL_ADDRESS>requires a peer of react-native@>= 0.30.0 but none was installed.

RN version on the demo repo needs updating, we'll get round to it sometime - should fix this issue on the demo app.

what is the last working version? since master is broken for the time being, do you have a commit hash that is known to work? I didn't see any branches or tags on the repo

I tried modifying the package.json to previous versions of dependencies, and also adding react, which seems to be a dependency of react-native, but for some reason it is missing on the demo-app repo. These are the ones I tried:
"react": "15.1.0",
"react-native": "0.27.0",
"react-native-action-button": "^1.0.8",
"react-native-android-statusbar": "0.1.2",
"react-native-material-design": "git+https://github.com/react-native-material-design/react-native-material-design.git"

here is the link of the "requiring module 627" error screenshot.

Guys, I'm having dependencies issues too:
Error building DependencyGraph:
 Error: Naming collision detected: /Users/michael/dev/demo-app/node_modules/react/node_modules/fbjs/lib/warning.js collides with /Users/michael/dev/demo-app/node_modules/react-native/node_modules/fbjs/lib/warning.js
    at HasteMap._updateHasteMap (/Users/michael/dev/demo-app/node_modules/react-native/packager/react-packager/src/DependencyResolver/DependencyGraph/HasteMap.js:132:13)
    at /Users/michael/dev/demo-app/node_modules/react-native/packager/react-packager/src/DependencyResolver/DependencyGraph/HasteMap.js:103:28
    at tryCallOne (/Users/michael/dev/demo-app/node_modules/promise/lib/core.js:37:12)
    at /Users/michael/dev/demo-app/node_modules/promise/lib/core.js:123:15
    at flush (/Users/michael/dev/demo-app/node_modules/asap/raw.js:50:29)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
~

I've tried to update rn to 0.18.1 (read something about this version fixing dupe fbjs) and install react as a dependency, but no lucky too.

@Salakar when will the package.json be corrected? We are facing a lot of issues.

@ammichael facing this exact issue too.

@CharlesJQuarra are you not facing this issue on using the dependencies you mentioned:
demo-app/android/app/src/main/java/com/demoapp/MainActivity.java:32: error: constructor StatusBarPackage in class StatusBarPackage cannot be applied to given types;
.addPackage(new StatusBarPackage())
^
required: Activity
found: no arguments
reason: actual and formal argument lists differ in length
1 error
:app:compileDebugJavaWithJavac FAILED


Select component doesn't respond to changes to error

If you dynamically change the error for a Select component, it doesn't get reflected in the component.  It seems to only work if set at create time.  This works fine for TextField components.  For example:
<script>
let number, name
let numberError, nameError
const buy = () => {
    numberError = "Select a number"
    nameError = "Choose a name"
}
</script>

<Select bind:value={number} label="Number" error={numberError} />
<TextField bind:value={name} label="Name"  error={nameError} />
<Button on:click={buy}>Buy</Button>

The error shows up for the Name textfield, but nothing happens with the Number select.

Thank you! This has been fixed in 1.0.10.


Ignore the time out during job completion polling

@mkarg75 found out that the default time out polling for the workloads to complete is too low. Removing the time out and letting the playbook poll until the workload pod is active like how we are doing in the scale-ci-pipeline ( https://github.com/openshift-scale/scale-ci-pipeline/blob/master/jjb/dynamic/scale-ci_mastervertical.yml#L40 ) will solve this issue. This way, we need not set the time out manually.

It already checks the pod status, just the poll attempts time out needs to removed: https://github.com/openshift-scale/workloads/blob/master/workloads/nodevertical.yml#L179.


Normalizing App Structure

The main goal of this PR is to create the setup.py file in a similar manner to that of pyethereum and to ensure that the entry point works for the casper daemon after a python3 setup.py install

Adding a MANIFEST.in
Changing the entry_points syntax to casper-daemon
Installing from requirements.txt via setup.py in the same manner as in pyethereum
Adding full paths to imports across the repo
Updating .gitignore to include more unwanted files

Fixes for daemon. Should be closed if daemon dev is no longer under development.
@karlfloersch @ChihChengLiang


Network acl

A continuation of #198 - started by @tyler-ball

[x] Rule create, update, delete
[x] Subnet associations
[x] Tests
[x] Allow Array or Hash for inbound/outbound_rules?

One note - AWS SDK v1 API only supports linking ACLs from the subnet. I added the support on the aws_subnet object and added tests for that, too.
Example:
aws_network_acl 'ref-acl' do
  vpc 'ref-vpc'
  inbound_rules(
    { rule_number: 100, action: :allow, protocol: -1, cidr_block: '<IP_ADDRESS>/0' },
    { rule_number: 200, action: :allow, protocol: 6, port_range: 443..443, cidr_block: '<IP_ADDRESS>/24' }
  )
  outbound_rules(
    { rule_number: 100, action: :allow, protocol: -1, cidr_block: '<IP_ADDRESS>/0' }
  )
end

Changes to aws_subnet:
aws_subnet 'ref-subnet' do
  vpc 'ref-vpc'
  cidr_block '<IP_ADDRESS>/24'
  availability_zone az
  map_public_ip_on_launch true
  route_table 'ref-route-table'
  network_acl 'ref-acl'
end

Once again @dblessing this looks FANTASTIC!  Thank you for the awesome contribution.  I have two requests but I think they should be easy to accommodate.

Yeah, those suggestions shouldn't be a problem. I'll work this up in the next few days.

I opted for the 'TODO' on the network_acl disassociation. I don't think I have the time right now. Thanks again for your help with the tests @tyler-ball - it worked great. All integration tests pass for NACLs and Subnets now.


RDK-30925 : added getLastWakeupKey call.

Let's avoid IARM code in RDKShell. I'll add a new RDKShell library call today that will allow the RDKShell thunder plugin to query the last key press. Then we can update the RDKShell thunder plugin to use the new library API to query the last key press.

Got rid of IARM code, used CompositorController::getLastKeyPress call instead.


[Documentation]: References to Azure DDoS Standard plan should be changed to Azure DDoS Network Plan

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions
N/A
Description
Documentation references Azure DDoS Standard, which has been replaced with Azure DDoS Network Protection.
Describe the bug
Still some references to the older Azure DDoS Standard plan in the documentation and on diagrams, these should be swapped over to the Azure DDoS Network Protection.
Steps to Reproduce
References seen on:

[User Guide] Connectivity Resources:

The module can also create and link DDoS Protection Standard to Virtual Networks, and manage centralized public and private DNS zones.

In the ALZ overview diagram
In the connectivity diagram
In the virtual wan diagram

Might be others.  I note that the Enterprise Scale Architecture Visio diagram that these diagrams are based on has been updated, and that @jtracey93 updated the ns-arch-cust-expanded.svg diagram on the Microsoft CAF ES doc pages last month.
Screenshots

Additional context

Hey @SteveBurkettNZ,
Good spot. Do you want to submit a PR to fix these references in the docs?


About overlapping problem while run the demo.py

Hello.
First of all, I really appreciate your works!
Thank you for opening your code.
The reason why I leave this issue is that,
how to resolve the overlapping problem to one hand during rendering the estimated hand meshes with demo.py.

As we can see in the upper image, the rendered right hand is overlapped by two estimated meshes. (red-dotted boxes in the third row)
Does this problem occur, since the detectron2 estimates these bounding boxes, which are fed into HAMER model?
If not, can I solve this problem?
Sincerely.
TY.

In this. case, you could consider suppressing the duplicates. At inference time, you have two hands with their keypoints being in almost exactly the same 2D locations. This should be easy to detect and remove the duplicate detections.


Check out Ranger Protocol (chain) integration

Feature branch first. Let's see if it works and if there's any gotchas.

After a quick check it's mostly trivial to implement with one big gotcha.
Here's the standard node info for everything except one important detail:
https://doc.rangersprotocol.com/network.html
https://www.coincarp.com/chainlist/rangers-protocol-mainnet/
Resources:
https://rangersprotocol.com/img/logo.svg
<EMAIL_ADDRESS>The one missing detail is how to fetch existing transactions. It's unknown if the rangerscan supports API.
It should be easy to find it, as rangerscan looks like a fork of covalent. Compare it with PolygonScan:
RangerScan: https://scan.rangersprotocol.com/
PolygonScan: https://polygonscan.com/
I tried a few things but couldn't find any API to fetch transactions:
https://scan.rangersprotocol.com/api?action=txlist&address=0xc41bbf3810f754014441a70e4201be3e2972e5a7
I also tried Covalent directly, but it's not supported:
https://api.covalenthq.com/v1/2025/address/0xc41bbf3810f754014441a70e4201be3e2972e5a7/transactions_v2/?block-signed-at-asc=true&key=...

@JamesSmartCell thanks for checking, let's see if our friends can help. Checking…

Yep good idea - the explorer is the same code as Polygonscan so it's a fork, just need to switch on the API

Hold for now.


Control for attributes parameter

Might be of interest to include the reachability attribute to the isochrone output or alternatively add a control parameter for which attributes to get.
Also, we have a new smoothing parameter. It's not really documented yet, but it's working. Here you can see some documentation on it inline. Its range is [0.0, 1.0] and it's a float.

Hi Nils, thanks very much for the suggestions. Regarding the first point, just checking I'm correct that this is the reachfactor attribute? If so, is there any further information available on this other than what is mentioned in the API docs that it is a score between 0 and 1? e.g. What the score is based on etc.
I'll have a look at the smoothing parameter as well, thanks for letting me know.

Oops, so sorry, didn't see this one.
You're right, it's not documented.. It basically calculates the ratio of actual isochrone area over the theoretically possible area one could reach if there were no roads (i.e. as the crow flies). That assumes a certain speed and is not actually modelled like the routing, just a plain circular "isochrone/equidistant" with constant mode speed. Hope you understood what I mean.
We're rebuilding a bit of that currently, since these constant speeds were waaay too high (50 km/h for bike haha), so reachibility was ALWAYS < 0.2 or so, even in super accessible areas like central squares in cities.

No problem at all Nils, really appreciate your feedback and input.  Thanks very much for the clarification.  Please could you let us know when you've finished updating this aspect?

Hi @nilsnolde, just picking up on this one again whilst preparing the new version of the plugin to use the V2 API.  I've implemented the smoothing parameter and am now looking at reachfactor.  Please can you confirm that reachfactor is only returned when range_type = "time" not "distance"?

Hm, shouldn't be, but you're right! I'll look into it real quick and might open an issue on our side.

Thanks as always Nils for your fast response. Hope it's not a pain to fix!

No worries:)
I actually did fix that while fixing general issues with reachfactor here. However, it's not in master yet, which confuses me a little. Let me talk to our git lord tmrw when he's back and get back to this.

That's great, glad you've already fixed it! I'll handle it in the plugin so that if reachfactor is requested and it's not available it won't error, then when your change is present in master it will just work as expected.
Thanks again Nils!

Release v2.0.0 implements everything discussed here so closing this now. Nils, please feel free to add further comments regarding reachfactor if neccessary.  Thanks very much.


Development: Increase code quality for notification target

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[x] I documented the Java code using JavaDoc style.

Motivation and Context
@krusche asked me to refactor the way notifications had been used to extract their target property to make a valid URL on the server-side for the use in emails.
I refactored the code by replacing explicit NotificationTarget.java classes and a GSON (from JSON->String parser) with a transient database property.
Description
Previouse Workflow of Notifications -> Email (Similar for Group or SingleUser Notifications)

NotificationService.java triggered by external REST Resource event (e.g. Exercise updated)
Notification is created in a Notification Factory
-- a notification has a String "target" property that is intended to store useful information (like elements for a valid URL) in the DB and send them to the client
-- at the client the target property is used to extract a valid URL/Link
-- the target contains also other elements, e.g. messages or exam problem statements
-- e.g. "{"problemStatement":"PROBLEM STATEMENT","exercise":3,"exam":1,"entity":"exams","course":1,"mainPage":"courses"}"
the target property is created by filling a JsonObject.java with the needed properties and later on converting it to a String.
There was no issue so far but with the new notification emails the needed arose to also extract valid URLs/Links from the notifications on the serverside (because the emails are made on the server)
This has been done by using GSON and explicit java classes (e.g. NotificationTarget.java)

This implementation works but it can be improved.
What did I change:

I removed the explicit notification target java classes
I moved the e.g. URL extraction logic into the NotificationTargetService.java
I added a transient "targetTransient" property to the entity class Notification.java (It is only used during runtime operations and has no connection to the DB)
-- The benefit here is that we no longer need explicit JSON (GSON) parses but we can simply reuse the JsonObject that is created in the NotificationFactories for extracting the needed attributes for the email links.

I also renamed the NotificationTargetService into NotificationTargetProvider (based on one of @krusche's change requests)
Steps for Testing
Look at the changed code.
Play around with the notification & email system. The goal is to check if the Links / URLs are still valid and no server errors occur.
Review Progress
Code Review

[x] Review 1
[ ] Review 2

Manual Tests

[x] Test 1
[ ] Test 2

Test Coverage
NotificationTargetProvider ~ 100%
GroupNotificationService ~ 100%
SingleUserNotificationService ~ 100%
GroupNotificationFactory ~ 90%
SingleUserNotificationFactory > 90%

I applied the requested changes.
The Codacy issue just states that the naming of the new factory class is wrong, but I followed the legacy naming for the GroupNotificationFactory as well as the SingleUserNotificationFactory, so I think it is fine this way.


fix nodered crash if a yeelight bulb is offline

if you install the package via node-red this error is present. the github version works.


changing port?

I modified the default value in razzle/packages/razzle/config/create-config.js,
but i'm assuming there is a non-hacky method of changing the port?
I tried NODE_PORT=4000 in the npm run start script, but that didn't work.

@paOol See https://github.com/jaredpalmer/razzle#environment-variables

don't prepend it with NODE_, also yea, see the link @d4rky-pl posted.


bench serde-json using simd-json

Thanks, could you rename it to 4-i.rs as the underlying simd-json crate uses unsafe code and simd intrinsics

@hanabi1224

-i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)
Simd-json is a library, that means the impl doesn't use intrinsics directly.

@hanabi1224

-i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

Simd-json is a library, that means the impl doesn't use intrinsics directly.

I guess I should rephrase it as via standard library.


.NET apps are crashing in pod with entire host file system mounted as volume

I'm working on the neon-node-agent service and am trying to mount the entire host file system so the service can perform operations directly on the node.
Unfortunately, the service crashes shortly after stopping logging a deep FileSystemWatcher related exception which seems to have been thrown 170K+ times:
This seems to be an issue for non-Windows environments like Linux, where the do watch the entire file system by default and Linux doesn't have a way to watch subfolders without creating new watches link and adding the watches can take 100ms!  So this problem impacts services that are not mounting the host filesystem.
λ neon logs -f daemonset/neon-node-agent
[2022-01-07T19:22:33.244+00:00] [INFO] [version:0.3.0-alpha] [index:1] Starting [neon-node-agent:0.3.0-alpha]
Stack overflow.
Repeat 174341 times:
--------------------------------
   at System.IO.FileSystemWatcher+RunningInstance+WatchedDirectory.Write(System.Text.StringBuilder, Boolean)
--------------------------------
   at System.IO.FileSystemWatcher+RunningInstance+WatchedDirectory.GetPath(Boolean, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory, System.String)
   at System.IO.FileSystemWatcher+RunningInstance..ctor(System.IO.FileSystemWatcher, Microsoft.Win32.SafeHandles.SafeFileHandle, System.String, Boolean, System.IO.NotifyFilters, System.Threading.CancellationToken)
   at System.IO.FileSystemWatcher.StartRaisingEvents()
   at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
   at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean)
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher()
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(System.String)
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider.Watch(System.String)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.<.ctor>b__1_0()
   at Microsoft.Extensions.Primitives.ChangeToken.OnChange(System.Func`1<Microsoft.Extensions.Primitives.IChangeToken>, System.Action)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider..ctor(Microsoft.Extensions.Configuration.FileConfigurationSource)
   at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(Microsoft.Extensions.Configuration.IConfigurationBuilder)
   at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
   at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()
   at NeonNodeAgent.Service+<OnRunAsync>d__4.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[NeonNodeAgent.Service+<OnRunAsync>d__4, neon-node-agent, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]](<OnRunAsync>d__4 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Int32, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[NeonNodeAgent.Service+<OnRunAsync>d__4, neon-node-agent, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]](<OnRunAsync>d__4 ByRef)
   at NeonNodeAgent.Service.OnRunAsync()
   at Neon.Service.NeonService+<RunAsync>d__108.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Neon.Service.NeonService+<RunAsync>d__108, Neon.Service, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]](<RunAsync>d__108 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Int32, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Neon.Service.NeonService+<RunAsync>d__108, Neon.Service, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]](<RunAsync>d__108 ByRef)
   at Neon.Service.NeonService.RunAsync(Boolean)
   at NeonNodeAgent.Program+<Main>d__0.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[NeonNodeAgent.Program+<Main>d__0, neon-node-agent, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]](<Main>d__0 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[NeonNodeAgent.Program+<Main>d__0, neon-node-agent, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]](<Main>d__0 ByRef)
   at NeonNodeAgent.Program.Main(System.String[])
   at NeonNodeAgent.Program.<Main>(System.String[])

I betting that we're running into some kind of inotify limit in the container.  The .NET runtime seems to be working OK, so this issue probably isn't related:
https://github.com/dotnet/runtime/issues/27272
We're seeing this problem when starting the ASPNET site.

It looks like we need to pass reloadOnChange: false when adding configuration files:
https://github.com/Azure/bicep/pull/3044/commits
Here's one of their commit changes:
https://github.com/Azure/bicep/pull/3044/commits/13277e067f9a675f35001ec63eeda7ccdc6d49cd

@marcusbooyah: So I fixed this for the operators by adding this code to disable loading of config files (which we don't currently use):

We should do this for all of our ASPNET services.  I'll let you do this for neon-dashboard.
There may also be a problem with Blazor watching for razor template file changes to trigger a recompile.  You may also need to find a way to constrain that too.

DONE


chore(v2): cleanup & update deps

Motivation
Continuation of #1503
Renamed useBaseUrl back to withBaseUrl so that it doesn't get misconfused as react hooks.
Replace all hardcoded baseUrl + link to use withBaseUrl
Other

Update dependencies

Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Development

All link is OK

Production

Netlify link is all OK
Related PRs
#1503

Deploy preview for docusaurus-2 failed.
Built with commit cc02d1da1c7e9bbe6585734d44066addf5ac4339
https://app.netlify.com/sites/docusaurus-2/deploys/5ce532852ee045000a324cb2


Bech32 format？

How do I convert an ETH address to a Bech32 address to request the project's interface?
For example: '0x810c73180147ab5b22e94a3a109a22354ca1d09e' convert 'tbnb1syx8xxqpg744kghffgappx3zx4x2r5y7v8ajmy' kind of address.

https://slowli.github.io/bech32-buffer/


allow _section to target object properties

I expected this to already be working, since I can access object properties in an _if (_if="book.title == 'The Dark Tower'"), but it appears to not work on _section.
I've written a unit test so you can see what I expected to happen.

That is a good point. I added it in 1.6.3. Thanks for the consideration


Play On Opponents Side (like .exe)

Describe your problem here.
can someone give me a code for playing on a opponent's side, like in vs .exe triple trouble
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
idk

You can use this custom event #893 and move player's arrows to opponent side, and opponent's arrows to player's side, etc.

This is not the place for requesting code from other people.


Page Transitions

good work
i suggest to work around of page transitions (slide, fade, circle reveal, swipe, ... ) and parallel transitions

What do you mean @halimpuckjava , like triggering the animation on page transition? can you explain it a little bit more about this possible new feature?


loosen dependency range for language-glsl

0.3.0 was recently released, and appears to work fine.  eases
packaging process for source-based distros.

This is a duplicate of https://github.com/elm/compiler/pull/1784.

Sure is -- sorry, should've searched first!

Duplicates are not something to be sorry about. The idea that people reporting issues should have full knowledge of all issues and how they interrelate is a bad idea!


perf: cache get_active_state in code splitting

Summary
get_active_state costs so much time, cache it can reduce about 30% time in code splitting phase

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

!bench


Easy display options...

Is your feature request related to a problem? Please describe.
One problem I ran into is running an app that opens a gui for display such as gedit. When I attempt, it gives me the following error:
(gedit:2030): Gtk-WARNING **: 13:49:50.254: cannot open display:
Then I goto stack exchange to find simple solutions to this and those didn't work for me either. I'm sure there's many other apps that can benefit from this feature.

Can you take a peek at https://github.com/microsoft/wslg/wiki/Diagnosing-"cannot-open-display"-type-issues-with-WSLg

I was able to load gedit but I had problems with other apps, particularly qt apps.  I found I needed the dbus daemons (system and settings).  I posted on reddit how you can launch from your .bashrc/.bash_profile

@pcause yeah, WSL distro today are typically not pre-configured for desktop usage and are either missing packages and don't launch things like dbus. Makes sense given WSL used to be a console only experience. We would like to evolve this overtime to have distro either preconfigured for WSLg or very easy to configure after install. If you have tips for getting your scenario working, please feel free to post them here and on the discussion channel in addition to reddit to help other user trying out the same scenarios.

@NeoForce0 was https://github.com/microsoft/wslg/wiki/Diagnosing-"cannot-open-display"-type-issues-with-WSLg helpful in diagnosing your issue? Did you get things to work?

To get most apps running I found you have to launch dbus-daemon , both system and session. Since there is no systemd you need to create a script that gets run when wsl launches to start the dbus-daemon system daemon. Sort of like the pre-systemd days.  In my wsl.conf I run an /etc/rc.local script at launch.  This starts sshd and other thungs I like to have running.  I use this to start the system dbus:
if [ ! -e /run/dbus ];then
mkdir /run/dbus
chmod 755 /run/dbus
fi
/usr/bin/dbus-daemon --system --fork
To get the session dbus running in my home directory .bashrc I can check for a dbus-daemon session daemon running and if not launch , using:
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
if not found, launch a new one
eval dbus-launch --sh-syntax
echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
fi
Might be better to start in .bash_profile.  Not sure

@NeoForce0 was https://github.com/microsoft/wslg/wiki/Diagnosing-"cannot-open-display"-type-issues-with-WSLg helpful in diagnosing your issue? Did you get things to work?

I didn't see this before I got things running.  I did look at a few of the same things but didn't look at this.


Enterprise Application Patterns using .NET MAUI eBook: Content suggestion

I have read the Enterprise Application Patterns using .NET MAUI eBook and noticed the eBook misses an opportunity to clarify the following;

Describe Platform support in .NET MAUI

List all the supported Platforms in .NET MAUI
Clarify when a Networked Mac will be required for iOS or Mac OS development and how to configure this on Windows
Describe how to develop and debug for Tizen

Describe Processor architecture support in .NET MAUI

Describe how to target specifically x86/x64 processors
Describe how to target specifically ARM64/ARM64EC (hybrid x64+ARM64 code)

Include Accessibility improvements developers can use in applications
e.g. SemanticProperties, AutomationProperties and Header changes

Include ways to profile performance of the application across different platforms
e.g. Compare if code runs slower on Android, iOS or Mac OS with the base Windows version

Please can you consider these areas for the next revision of this eBook?

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

ID: 21fe200d-00df-a106-b698-a9077e24bd62
Version Independent ID: 89636211-e3e6-38cc-a560-07147aee5ca4
Content: Introduction to .NET MAUI
Content Source: docs/architecture/maui/introduction.md
Product: dotnet-architecture
GitHub Login: @michaelstonis
Microsoft Alias: nanil

These are great observations, and I agree with them. It makes sense to address these in the eBook. Say, @michaelstonis and @nishanil what do you think?


No selection mark in the strings list

There is no selection mark (which indicates that the string/row is selected) in the strings list.
OS: Windows 10
PoEdit version: 1.8.7 (4193 build)

This is absurd, you contradict yourself: your screenshot shows that the selected row is indicated (1st one) — and in exactly same manner as in any other Windows application when it's out of keyboard focus (which is something you did as the user).

What I meant is the blue background of the row.
In other applications (Like VLC, HexChat), the selected row background turns to grey, so it still tells the user that this specific row is selected (the user doesn't have to guess from the list which is the selected row).
This is an example where the playlist item in the left panel is selected and has focus (light blue background), and the current track (in the table view) is selected also but doesn't have focus, that's why it appears with a grey background.

Please look at your own screenshot of Poedit, which plainly shows the very same thing.


Android - Scan - "Wrong attachment" pop-up is not in light mode and incorrect 'filetype' spelling

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.13-4
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation:
Action Performed:
Precondition: App is in light mode.

Launch New Expensify app.
Tap + > Request money > Scan.
Upload an unsupported file.

Expected Result:
The pop-up for "wrong attachment type" is in light mode. No spelling issue in the error message.
Actual Result:
The pop-up for "wrong attachment type" remains in dark mode. Also, 'filetype' is written instead of 'file type'.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

Not worth blocking the deploy. Will likely be resolved along with other Modal theme issues

This deployed to prod a while ago.


prevent error if no textarea is present

on a page without forms I get the error "Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')"
This fix prevents this.

That is because it tries to add an eventListener even if the element does not exist

Thanks! I have added your suggestion to the JS file.


norns: study 3: fixes arguments to params:add_control()

params:add_control("cutoff",controlspec.new(50,5000,'exp',0,555,'hz'))

If you paste this line of code as-is while following study 3, matron complains with the following message.
/home/we/norns/lua/core/screen.lua:130: bad argument #1 to 's_text' (string expected, got table)
stack traceback:
        [C]: in function 's_text'
        /home/we/norns/lua/core/screen.lua:130: in function 'core/screen.text'
        /home/we/norns/lua/core/menu.lua:579: in field 'redraw'

This change avoids that.

thank you!! this was a missed 2.0 change.


Make JSON rendering configurable for error responses

Combining flask-oidc with Flask-RESTful for Anitya, we've run into a problem where the error responses that flask-oidc pre-renders to JSON strings are then rendered again as encoded JSON text responses by Flask-RESTful: https://github.com/release-monitoring/anitya/issues/443
The lowest impact solution that occurred to me is to have accept_token accept an extra parameter (defaulting to json.dumps) that defines how the error rendering happens.

https://github.com/puiterwijk/flask-oidc/pull/26 adds a new render_errors parameter to accept_token, as well as corresponding test cases for the render_errors=None case.

So, the problem with this way is that we are currently sending JSON objects as they are defined in the OAuth2 specification, to improve compatibility.
If we were to allow anything, it would require users of this function to figure out how they are supposed to encode it themselves.

I'm fine with using a boolean toggle instead (for lazy-encoding-or-not). The key problem with the status quo is that it's incompatible with frameworks like Flask-RESTful that expect a dict object that the framework then encodes.

https://github.com/puiterwijk/flask-oidc/pull/27 is an alternative PR that just lets users turn off the eager error rendering for compatibility with REST frameworks that automatically encode all responses as JSON.

#27 has now been merged.


Switch to stable version of spatie/laravel-package-tools

The branch master is renamed to main and a stable version preferred to avoid breaking changes.

@nickknissen Thanks for this, didn't realise this was using dev-master!

Looks like the CI is failing, I'll have a look later today to fix this so this can get merged.

@nickknissen That did fix it, thanks!


Update dependencies.

Remove unused babel plugins.
Update broccoli-babel-transpiler to use babel@6.

I am not aware of any downstream consumers using the exported babel
utility, but updating here likely requires a bump to 0.2.0.

FWIW, I did this because we are currently emitting a warning (due to babel@5 using minimatch@2) on install.


pivotal-cf/brokerapi does not support unauthorized brokers

This means the config.json we have in the root of the project does not work.

https://github.com/cloudfoundry-incubator/blockhead/commit/a0025c7cc38af54293338e5b217e06dc2e233227#diff-69effbe94d43b1bac9dc3ee2a5245e0eR6


Rotating the keyvault secret does not make functions use the latest version of secret

This pages says the following:
"If a version is not specified in the reference, then the app will use the latest version that exists in Key Vault. When newer versions become available, such as with a rotation event, the app will automatically update and begin using the latest version within one day. Any configuration changes made to the app will cause an immediate update to the latest versions of all referenced secrets."
Within one day? How could that be an option. Within one day ? I'm curious about the coding done in Azure functions that make a one day delay when the url specifies no version.
This page says also "Any configuration changes made to the app will cause an immediate update to the latest versions of all referenced secrets". What does Microsoft mean by "any configuration change"? Even resetting the app configuration itself does not make it change the secret to the latest version.
But again, Microsoft, how did Microsoft manage it? Where could you cache the specific version and why will you do it? Even restarting the Azure function app does not change the version. Microsoft, my humble advice, please do not build these auto-magic in your software. This is what went miss in Microsoft-windows OS. You cannot maintain these kind of illogical and undocumented bugs. You cannot expect customers to just restart a thousand times and accept how it is.

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

ID: 7feaa3d0-7233-a3cb-cb9b-a9a55b1f0d7a
Version Independent ID: f41f9d51-52f8-1f45-1043-1344a3b74458
Content: Use Key Vault references - Azure App Service
Content Source: articles/app-service/app-service-key-vault-references.md
Service: app-service
GitHub Login: @mattchenderson
Microsoft Alias: mahender

@sijucm - Thanks for brining this to our attention. We will investigate it further and update you shortly.


conect the opc to other pins

hi , i need to coenct two opc to my raspberry, i saw other pins for the spi comunications
gpio 21 = sclk
gpio19 = miso
gpio20 = mosi
gpio 7=ce1
when i try to conect mi opc to that pins and run the code y have de firmware version problem,so how i can use that gpio pins ?

Which version of the Raspberry Pi are you using? Or is it another device?

pi zero w , i find this in internet:
https://raspberrypi.stackexchange.com/questions/83610/gpio-pinout-orientation-raspberypi-zero-w
El jue., 11 oct. 2018 a las 9:33, David H Hagan<EMAIL_ADDRESS>escribió:

Which version of the Raspberry Pi are you using? Or is it another device?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dhhagan/py-opc/issues/79#issuecomment-428972758, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcnPjob3FKWM8QOsldmLz2IjMcgiJXg3ks5uj1a2gaJpZM4Wf7-b
.


TypeError: this.csrf is undefined

Following the instruction in the README exactly.
my application route has no csrf object or method defined on 'this', inside the beforeModel hook.
Using ember-cli 0.1.9
rails 4.2.0

Did you restart your ember server after installing the addon?

Unsure. I took a different approach in the end and so I don't have anything useful to contribute to this issue anymore. If nobody else experiences this issue, I think it could be closed.

Sorry for the late reply, you had to call the initializer, I think I'm just going to make it run automatically and read from the config also automatically.


Finish event emits twice

Hello!
Since v3.6.6 of npm mongodb library gridfs-stream emits close event along with finish event. The behaviour is changed by this commit. But in your jalik:ufs-gridfs library finish event emitting manually after close here, as a result we have finish event emitted 2 times.
So at this moment to work properly npm-mongo package of meteor should be at version v3.8.1 or less, since it depends on older version of mongodb.

@jdme thanks for your precise report and sorry for the very late response.
The issue has been fixed in the latest release 1.0.4.


No speedup when training ImageNet

Hi ffcv team,
This is an awesome work! I tried to use ffvc in my currect project but I got 0% speed up. I create beton files like this:
from torchvision import datasets
dataset = datasets.ImageFolder('/home/train/')

from ffcv.writer import DatasetWriter
from ffcv.fields import RGBImageField, IntField
writer = DatasetWriter(f'ffcv_output/imagenet_train.beton', {
    'image': RGBImageField(write_mode='jpg',
                           max_resolution=400,
                           compress_probability=0.5,
                           jpeg_quality=90),
    'label': IntField(),
},
    num_workers=16)
writer.from_indexed_dataset(dataset)

and then I make the DataLoader per suggested:
data_loader = Loader('ffcv_output/imagenet_{}.beton'.format(phase),
                     batch_size=RunningParams.batch_size,
                     num_workers=8,
                     order=OrderOption.RANDOM,
                     os_cache=True,
                     drop_last=True,
                     pipelines={'image': [
                      RandomResizedCropRGBImageDecoder((224, 224)),
                      RandomHorizontalFlip(),
                      ToTensor(),
                      ToDevice(torch.device('cuda:0'), non_blocking=True),
                      ToTorchImage(),
                      # Standard torchvision transforms still work!
                      NormalizeImage(IMAGENET_MEAN, IMAGENET_STD, np.float32)
                     ], 'label':
                     [
                        IntDecoder(),
                        ToTensor(),
                        Squeeze(),
                        ToDevice(torch.device('cuda:0'), non_blocking=True),
                            ]}
                     )

However, I got no speedup. The speed is the same when I used the original torch.DataLoader  .
Do I need to use DDP to see the speedup? I am using DataParallel only.
Any suggestions?

@lengstrom @GuillaumeLeclerc @NicolasHug any help?

@giangnguyen2412 Hi! Using DataParallel is likely to incur significant slowdown and be the bottleneck---check out the ffcv-imagenet example https://github.com/libffcv/ffcv-imagenet for an example of how to use FFCV with distributed training! Let us know if this does not answer your question.


Cloud Build [cloud-build-samples-testing] firebase-test-nightly: FAILURE

Project: cloud-build-samples-testing
Build: 66d6c5da-3e5e-4503-8d2e-7b6d24f025f1
Status: FAILURE
Trigger name: firebase-test-nightly
Logs: View in Cloud Build
I'm an automation. Googlers: go/cloud-build-samples-docs

Step #0 - "clone-install-builder": i  database: downloading firebase-database-emulator-v4.11.0.jar...
Step #0 - "clone-install-builder":
Step #0 - "clone-install-builder": i  firestore: downloading cloud-firestore-emulator-v1.17.2.jar...
Step #0 - "clone-install-builder":
Step #0 - "clone-install-builder":
Step #0 - "clone-install-builder": Error: download failed, expected 64907894 bytes but got 64723779
Step #0 - "clone-install-builder": The command '/bin/sh -c apk add --no-cache python3 py3-pip openjdk11-jre bash &&     npm install -g firebase-tools &&     firebase setup:emulators:database &&     firebase setup:emulators:firestore &&     firebase setup:emulators:pubsub &&     firebase setup:emulators:storage &&     firebase setup:emulators:ui &&     rm -rf /var/cache/apk/*' returned a non-zero code: 1
Step #0 - "clone-install-builder": ERROR
Step #0 - "clone-install-builder": ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
Step #0 - "clone-install-builder": --------------------------------------------------------------------------------

This was a flake with npm pulling dependencies.


Replacing content of element

All the examples seem to append by doing e.g. $$(#app).append <todolist>.
I can't seem to find any reference in the ElementTag to a function that would replace the content. Am I missing it or could this be something that that could be added?
Could be nice for e.g. placeholders.

Loading...

and then e.g. like in jQuery:
$$(#app).html <todolist>

Sorry for the extreme lack of documentation at the moment. Usually you would not even use append, as static rendering (like in http://imba.io/#/examples/dynamic.imba) is much easier and more intuitive. You should be able to do $$(#app).children = ["Loading...",
] or if it is just text, you can do $$(#app).text = "Loading..."
If your div has id #app you don't need $$(#app) to select it by the way, all elements with id can be accessed directly through #myid. So it would be:
#app.text = "Loading..."
# wait for something

#app.empty.append <todolist>

# or #app.children = [<todolist>]

Oh, I see. Thanks for clearing that up. It's sometimes a bit of a hassle, but maybe also fun to be more pushed towards the source and figuring out how it works. None the less, loving the language so far!


License

Dear @amitabhyadav,
Could you please clarify how your code is licensed? For example, QISKit is licensed under Apache 2.0.
Many thanks!

Thank you for pointing it out. I have updated the project with the MIT License.

Thank you @amitabhyadav, and good luck with this project!


Hardcoded network settings?

Hi, upon installing tredly on a aws instance where we have the vpc network <IP_ADDRESS>/16 I needed to change the network settings when building tredly-host.
I changed to <IP_ADDRESS>/24 when installing (option 5) tredly-host.
However, in the end of the installation I get an error message:
✖ Error: tredly-host: IP <IP_ADDRESS> falls within your container subnet. If you wish to use this ip address, please change your container subnet
✖ Error: Failed```

As I had already changed this during the initial dialogue I am guessing you have soime hardcoded stuff in the script(s).

I am also seeing that tredly-host.conf and ipfw.rules doesn't get populated with the selected settings.

In cases where I am not using 10/16 as subnet (for instance in my homenetwork where I am running <IP_ADDRESS>/24) this works as expected.

Hi dinapappor
Thanks for the bug report & descriptive explanation - I was able to replicate right away.
Fixes are ready to go in the PR, just awaiting @pointybeard to merge these in


Improve layout detection

Improve layout detection

Fix .gds.gz handling
Unify codepaths for layout detection
Unify log messages during regeneration

Tested with:

.gds root layout
.gds.gz root layout
.mag root layout

@mole99 :  Are you planning to merge this?

Yes, from my side this is ready.


Thursday 15-02-2024 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

Hello

Good morning

gud mrng

good morning

salut

Hallo

morning

Good morning!!

good morning

Hi

hi


work from before

You can merge this in now @Roquibat and your old work will get to your main branch.


[msbuild] GenerateDocumentation is VB-only

I was confused by a user asking about this property in https://github.com/Microsoft/msbuild/issues/2403, so I wanted to clarify its mention in the documentation.

@rainersigwald,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/msbuild/common-msbuild-project-properties.md
:white_check_mark:Succeeded

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


Change never-cache-regions setting into the positive: cache-regions

Currently, we indicate which regions in the account to not scan for inventory that is maintained in the content table. The problem with this approach is that new regions will be cached as they're introduced and the operator must update that setting to exclude them.
We should turn this into cache-regions and list the region names to scan for inventory, which would not require updating when new regions are introduced in AWS.
This change requires minor UI adjustments, and probably a change to the setting name.  The bulk of this change would be required in back-end node collection.

Provide a group of checkboxes or multi-select list of valid regions on the UI. This will help users manage the list of scanned regions. Today we use a freeform text field.

Settings key is inventory-regions stored as a list.

We need an update to the default settings custom resource to upgrade the never-cache-regions into the inventory-regions value.


Upgrade to pac4j-1.8 RC1

Make vertx-pac4j depend on RC1 of 1.8 now it's available

This is committed on a local branch, which I'll merge to master once PR #45 has been approved


[BUG] Searching for games with special characters, for example the + leads to less optimal results

Describe the bug
Searching for apps that contain special characters, for example with a + for Notepad++ leads to not getting search results back that even include Notepad++
To Reproduce
Steps to reproduce the behavior:
When I search the steamgriddb website for "Notepad++" I see the application I expect (Notepad++ (2003)) as the top result.
However, using the library, when searching for:
"Notepad", I get 3 results:
Windows Notepad (Program)
Notepad++
Notepadqq (Program)
"Notepad++", I get 1 result, which is the wrong one:
Windows Notepad (Program)
I could first subtract odd characters from my initial search and then do a fuzzy matching on the results for the actual name (including ++) but I'm a bit stumped it does not return what I expect initially, searching for the actual program name in the first place.
Searching for the following:
Notepad%2B%2B returns classic notepad (1 result)
Notepad%252B%252B returns 3 results, with the expected Notepad++ at the top
As a workaround, together with Zennn from the SteamGridDB API, we found that URL encoding twice leads to the expected result. This C# code is sufficient:
                string originalString = appl.ApplicationName;
                string encodedString = HttpUtility.UrlEncode(appl.ApplicationName);
                string encodedencodedString = HttpUtility.UrlEncode(encodedString);

                var gameSearchResults = await steamGridDb.SearchForGamesAsync(encodedencodedString).ConfigureAwait(false);

For some reason, SteamGridDB server only accepts the double-encoded variant, even Insomnia fails the first encoding, and only returns "Windows Notepad" result.
Double encoded variant:

Unfortunatelly, I don't think there is any fixes possible, other than double-encoding search term like this:
public async Task<SteamGridDbGame[]> SearchForGamesAsync(string searchTerm)
{
    searchTerm = Uri.EscapeDataString(Uri.EscapeDataString(searchTerm));
    var response = await Get($"search/autocomplete/{searchTerm}");
    if (response.Data != null) return response.Data.ToObject<SteamGridDbGame[]>();
    return null;
}

So, I'll make changes to the library and update the library


Custom content widgets / sites?

Ist it possible to add custom widgets / sites to misskey?

You can modify code of your instance.


Publish this repo on the web

What: Publish this website at oc.greensoftware.foundation
Why: So this groups rules and policies can be easily shared with other members in the Foundation.
Success: A website with the current contents at oc.greensoftware.foundation, anytime main branch is commited to the website updates.
Note this repo uses the same logic as https://toc.hyperledger.org/ to build and run the website, just github pages and jeckll theme.

@jawache Please edit the DNS for oc.greensoftware.foundation to work with github pages

@jawache Also, I've tried to customize the colors but this template have issue I can do much to that purple color

@jawache to give @osamajandali access so he can do himself

Done!

Great, I see things when i visit https://oc.greensoftware.foundation/


How we deal with pathing

I think the Transform task/PR (here). Has shed light on how we deal with pathing in this repo. Currently the configs are getting quite large. Because we want to keep the jobs flexible e.g.:
Let's assume two pipelines (where things in brackets are a Task).
# Pipeline 1
path1 -> [TRANSFORM] -> path2 -> [DATA LINTER] -> path3

# Pipeline 2
path1 -> [DATA LINTER] -> path2 -> [TRANSFORM] -> path3

If we want to be completely flexible on putting tasks together: each Task should follow a standard of how data is written to and from each location. Otherwise in your config you would have to manually specify the exact paths (1, 2 and 3) in your config, knowing the nuance of how each task expects an input path for your table (e.g. does it want a single file? Does it want a table folder (HIVE) or does it want the parent folder and assumes the table name is the subfolder).
In order to solve this I think we should do the following:
BASEPATH: Generic term used for the directory on where the data is coming from/to for this task.
TABLE: Name of the table that the task is working on
Anytime a we want to read data for a given table it will expect all data to be in this folder path <BASEPATH>/<TABLE>/*. So for data linter we would be reading data to and from  for our data in table1.
s3://land/
       |--- table1/
              |--- some_data.csv
              |--- some_more_data.csv
# In this case s3://land/ is data linters input basebath

It could write out data to:
s3://pass/
       |--- table1/
              |--- some_data-0.csv
              |--- some_more_data-1.csv

# In this case s3://pass/ is data linters input basebath

If we did this approach we would also be able to cut down the configs a lot by always inferring table locations based solely on a table name and a given base path.
Questions

Does this sound reasonable?
Does s3table store already do this sort of thing?

Wrong repo!


Omitting a property from an interface with an index signature causes bug

Bug Report
I have an interface Feature which has an index signature and two properties defined explicitly. I then define a new FeatureNoWidth type which uses Omit to omit one of the explicitly defined properties. FeatureNoWidth ends up having a weird type.
🔎 Search Terms
omit, index signature
🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about Types, Omit.
⏯ Playground Link

Playground link with relevant code
💻 Code

interface Feature {
  id: number;
  width: number;
  [key: string]: any;
}

type FeatureNoWidth = Omit<Feature, 'width'>;
// Hovering over the type in the playground yields this:
// type FeatureNoWidth = {
//     [x: string]: any;
//     [x: number]: any;
// }
// what?

export function noWidthToFeatureMapper(noWidth: FeatureNoWidth): Feature {
  return {
    ...noWidth,
    width: 4,
  }
}

🙁 Actual behavior
FeatureNoKeys is
type FeatureNoWidth = {
    [x: string]: any;
    [x: number]: any;
}

🙂 Expected behavior
Expected FeatureNoKeys to be
type FeatureNoWidth = {
  id: number;
  [key: string]: any;
}

See #42436.