Product Health Metric: For reports that failed to send, the average time delay between when the report was supposed to send vs when it was actually sent

User Story
As a stakeholder, I want Metabase queries to surface product health metrics, so that I can gauge how well the product is performing its jobs.
Description/Use Case
We need metrics that measure the following: For reports that failed to send, the average time delay between when the report was supposed to send vs when it was actually sent
If there was an initial failure to send a report, we need to know, on average, how much time passes between the initial failure and when the report is successfully resent.
Dev Notes
Acceptance Criteria

[ ] Metabase (or other) queries exist to get this data
[ ] The queries have been integrated into the Product KPIs Dashboard

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @brick-green @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @luis-pabon-tf @mkalish @thetaurean


Add support for RLMDictionary

Add RLMDictionary property type which maps strings to any supported property type.

This may require support for standalone/top level RLMArray and RLMDictionary objects.

:+1:  Yes please!


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

Done


XmlUserManagerTest to use mocks & avoid sleeping

XmlUserManagerTest is almost instant now, < 1s for sure
Refactored UserUtils: extracted real file watching code to a new class: FileWatcher
FileWatcherTest takes 3-4s

-> Better separation of concerns & runs quicker in total
For background, comments in https://github.com/azkaban/azkaban/pull/2240

Pull Request Test Coverage Report for Build 4633

21 of 23 (91.3%)  changed or added relevant lines in 4 files are covered.
27 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.05%) to 38.723%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/user/UserUtils.java
4
5
80.0%

azkaban-common/src/main/java/azkaban/user/XmlUserManager.java
2
3
66.67%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/user/UserUtils.java
1
75.81%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractProcessJob.java
2
52.33%

azkaban-exec-server/src/main/java/azkaban/execapp/JobRunner.java
3
79.66%

azkaban-exec-server/src/main/java/azkaban/execapp/event/JobCallbackRequestMaker.java
21
56.25%

Totals

Change from base Build 4616:
-0.05%

Covered Lines:
11445

Relevant Lines:
29556

💛  - Coveralls

@djaiswal83 here it is..

I apologize for the delay. Will take a look today.

@djaiswal83 ping

@juhoautio When trying to start solo-server, we are seeing below error:
2019/05/29 14:28:44.244 -0700 ERROR [AzkabanWebServer] [Azkaban] Failed to start single server. Shutting down.
com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Error in custom provider, java.lang.RuntimeException: java.lang.NoSuchMethodException: azkaban.user.XmlUserManager.<init>(azkaban.utils.Props)
  at azkaban.webapp.AzkabanWebServerModule.createUserManager(AzkabanWebServerModule.java:94)
  at azkaban.webapp.AzkabanWebServerModule.createUserManager(AzkabanWebServerModule.java:94)
  while locating azkaban.user.UserManager
    for the 8th parameter of azkaban.webapp.AzkabanWebServer.<init>(AzkabanWebServer.java:163)
  at azkaban.webapp.AzkabanWebServer.class(AzkabanWebServer.java:121)
  while locating azkaban.webapp.AzkabanWebServer
    for the 1st parameter of azkaban.soloserver.AzkabanSingleServer.<init>(AzkabanSingleServer.java:51)
  while locating azkaban.soloserver.AzkabanSingleServer

This happens when user.manager.class=azkaban.user.XmlUserManager is configured in azkaban.properties. When starting solo server, it calls azkaban.webapp.AzkabanWebServerModule#createUserManager and fails in getting the constructor userManagerClass.getConstructor(Props.class) because the constructor has been updated with the additional input param FileWatcherFactory.
Can you also take a look and see if this can be resolved? Thanks!

@jamiesjc sorry for the bug. I could've caught this myself by trying to run AzkabanSingleServer locally..
Here's a fix PR: https://github.com/azkaban/azkaban/pull/2258


No error but meccage never comes.

Hello
After I had met this error Bad Request: group chat was upgraded to a supergroup chat I changed
/var/tmp/zbxtg/uids.txt to properly id and I am able to send a message to group from the command line
sudo -u zabbix ./zbxtg.py "Boot_Server_Alerts" "Relax, this is test message :)" "I haven't a new message for you" --debug --group
However, Zabbix doesn't have an error but a message never coming.

Could you help and prompt how to I can debug this, please?

https://github.com/ableev/Zabbix-in-Telegram/wiki/How-to-test-script-in-command-line


Normalizing ExtMap, Stamps, and others to remove empty rows

ExtMap values are now normalized, removing any empty values.
Stamps also normalized
UUID in org.Party is now cleaning UUID.

I still find surprising ExtMap is under tax and not under a more generic package such us cbc, but I believe we already had and settled that discussion.

I think the main confusion there is with the values, I'm not happy with the KeyOrCode type. I'm tempted to convert it into a string without strict validation: most extensions have a fixed list of constants anyway.
I'm also tempted to rename into simply Extensions instead of ExtMap. That way the implications of tax.Extensions is way more obvious.


Add more detail for tracing

Currently tracing message only show dapr api name, give us infomation useless.

What about adding more detail? such as adding component name and operation name for binding

I support extending the trace information with API level and component specific information.

Reopened.

@yaron2 can you please give me some references?.  I would like to start working on this.
Just took a quick look and found the OpenCensus library used quite a bit.


Tesseract cannot read files with backslashes in the name

Environment

Tesseract Version: 4.1.1 (but same bug is present on master)
Platform: Linux gentoo-x230 5.6.18-grsec #2 SMP Tue Jul 7 18:17:17 CEST 2020 x86_64 Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz GenuineIntel GNU/Linux

Current Behavior:
Tesseract cannot read files with a backslash in their name.
$ wc -c /tmp/test\\.jp2
455359 /tmp/test\.jp2
merlijn@gentoo-x230 /tmp $ tesseract /tmp/test\\.jp2 -
Error in fopenReadStream: file not found
Error in findFileFormat: image file not found
Error during processing.

Expected Behavior:
Tesseract should be able to read files with a backslash in their name.
Suggested Fix:
I think the problem might be in leptonica - will follow up shortly.

I didn't have a debug build of leptonica handy, but peeked at the source and searched for fopenReadStream, since that occurred in the failure message.
It looks like genPathname messes up the filename, and changes it from "/tmp/example/427527-\\nagripracharni Patrika Year 60 Vol 2 Ac 2610_0000.jp2" to "/tmp/example/427527-/nagripracharni Patrika Year 60 Vol 2 Ac 2610_0000.jp2".
This then fails to open, which is the file not found message that we see.
Breakpoint 1, 0x00007ffff7aa53b0 in fopenReadStream () from /usr/lib64/liblept.so.5
(gdb) print (char*)$rdi
$9 = 0x7fffffffd094 "/tmp/example/427527-\\nagripracharni Patrika Year 60 Vol 2 Ac 2610_0000.jp2"
(gdb) c
Continuing.Breakpoint 4, 0x00007ffff7aa50b0 in genPathname () from /usr/lib64/liblept.so.5
(gdb) print (char*)$rdi
$10 = 0x7fffffffd094 "/tmp/example/427527-\\nagripracharni Patrika Year 60 Vol 2 Ac 2610_0000.jp2"
(gdb) step
Single stepping until exit from function genPathname,
which has no line number information.
(gdb) print (char*)$rax
$19 = 0x5555555b0570 "/tmp/example/427527-/nagripracharni Patrika Year 60 Vol 2 Ac 2610_0000.jp2"

So I guess this a problem in leptonica.

That's correct. Leptonica "normalizes" path names to use only / (on Linux) or \ (on Windows). We can only fix that with a new Leptonica version.

@MerlijnWajer, I am afraid that you'll have to work around that problem until a fixed Leptonica is available. Either link the image file to a name without \ and run Tesseract on that file, or let Tesseract read the image from standard input by using a pipe. The drawback is that you won't get the original image name in hOCR output. You might also consider using the Python API tesserocr instead of the command line Tesseract.

Yeah, that's fair enough. I'll see what makes the most sense. I am not using the title= in the hOCR output right now, so I might just rename the files for Tesseract for now, if they contain a backslash, and deal with the fact that the hOCR will contain invalid image names in the title= attribute in the page node.

Of course you can also post-process the hOCR file and fix the name again.

This is now fixed in leptonica at head.  See leptonica#558.

I've built a version of leptonica based on Ubuntu 20.04 liblept5 locally with just the commit with the fix added, and it works for me. Not sure when it makes sense to close this (Tesseract) bug report.


"You're not eligible for Azure for Students."

I am a master student at a German university, and want to use Azure for students. However, I came across this issue "You're not eligible for Azure for Students."
Could you please guide me on how to resolve this issue?

Dear @SadiqhAhmed-MSFT,
Thank you for your reply. It means a lot.
I will definitely check it and hope that it could handle the problem.

@sinarazi Thanks for the reply. For now am closing this issue. Please reply if there is any attention required from our end.

I am a  student at a Varsity College NMB, and want to use Azure for students. However, I came across this issue "You're not eligible for Azure for Students."
Could you please guide me on how to resolve this issue?

I am a student at a Varsity College NMB, and want to use Azure for students. However, I came across this issue "You're not eligible for Azure for Students." Could you please guide me on how to resolve this issue?

Refer to the link - https://learn.microsoft.com/en-us/answers/questions/814505/university-id-confirmation-failure#answer-815963 to understand the eligibility criteria.


Add descriptions of assert and assume to specification

assert and assume were recently added to the psa.p4 include file.  This change adds some description of them to the specification document as well.

@mariobaldi Since assert and assume were already in the psa.p4 include file, hopefully this is non-controversial enough, to add descriptions of them in the specification document, that your review should be sufficient.

Should resolve issue https://github.com/p4lang/p4-spec/issues/1185


"Error: invalid triplet: x64-windows" when using custom triplet and --overlay-triplet

I have created a custom triplet in a separate directory:
C:\github\microsoft>vcpkg\vcpkg install magic-enum --overlay-triplets=c:\triplets --triplet=x64-windows-vs2019
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)
set(VCPKG_PLATFORM_TOOLSET "v142")
set(VCPKG_DEP_INFO_OVERRIDE_VARS "v142")
set(VCPKG_BUILD_TYPE release)

I get the error in the title:

Error: invalid triplet: x64-windows
Available architecture triplets
VCPKG built-in triplets:
VCPKG community triplets:
Overlay triplets from C:\triplets:
vcpkg
x64-windows-vs2019-static
x64-windows-vs2019
x86-windows-vs2019-static
x86-windows-vs2019

This seems to suggest that it is for some reason using default x64 triplet in part. If I run from inside vcpkg directory it builds but I do see installed\x64-windows directory created.
Is this a bug? I can copy my custom triplets into the triplet dir I suppose but that masks the problem only.

That's strange, are there files in vcpkg/triplets?

Yes all the normal ones. OK If I forget my custom triplet:

C:\github\microsoft>vcpkg\vcpkg install magic-enum --triplet=x64-windows
Error: invalid triplet: x64-windows
Available architecture triplets
VCPKG built-in triplets:
VCPKG community triplets:

I am guessing you have to run vcpkg in it's own directory for it to find the default triplets, whereas --overlay-triplets explicitly sets them. This might be intended functionality, but my bigger concern is why x64-windows is being built at all. It seems that in installed\x64-windows I only have some tools and helper files, so possibly a false alarm.

Yeah x64-windows is the "host" triplet. If you for example build boost, you need the b2 executable, but not for your target platform, but for your host platform

The host triplet is also used for some pure cmake helper scripts such as the one providing vcpkg_cmake_configure.

I've set my custom triplet to be release-only, but it's building x64-windows-dbg as well as x64-windows-rel for these required parts. But this clears up one part of my question.
So then how can I use overlay-triplets as I wish? Can I separately specify host and target triplet overlay-paths or whatever? I want my custom triplets to be in my own repository but I don't want to copy vcpkg's own triplets into my repo. Am I missing a setting or is this not quite possible?

@jdx-john
Is this custom triplet listed in C:\triplets\x64-windows-vs2019.cmake? Do you use overlay-triplets on your own repo? If possible, could you please help tell us what special for your repo?
I can build successfully on my machine with .\vcpkg.exe install magic-enum --overlay-triplets=F:\custom-triplets --triplet=x64-windows-vs2019.
x64-windows-vs2019.cmake is in F:\custom-triplets\x64-windows-vs2019.cmake.
PS F:\new\vcpkg> .\vcpkg.exe install magic-enum --overlay-triplets=F:\custom-triplets --triplet=x64-windows-vs2019
Computing installation plan...
The following packages will be built and installed:
    magic-enum[core]:x64-windows-vs2019 -> 0.7.3
Detecting compiler hash for triplet x64-windows-vs2019...
Could not locate cached archive: C:\Users\Nancy\AppData\Local\vcpkg\archives\b5\b5872723e2d1e2e00d64141d96af74f87a3832bddc11b35a905c89521c17d0d6.zip
Starting package 1/1: magic-enum:x64-windows-vs2019
Building package magic-enum[core]:x64-windows-vs2019...
-- [OVERLAY] Loading triplet configuration from: F:\custom-triplets\x64-windows-vs2019.cmake
-- Using F:/new/vcpkg/downloads/Neargye-magic_enum-v0.7.3.tar.gz
-- Extracting source F:/new/vcpkg/downloads/Neargye-magic_enum-v0.7.3.tar.gz
-- Using source at F:/new/vcpkg/buildtrees/magic-enum/src/v0.7.3-f7a403c6d5.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows-vs2019
-- Building x64-windows-vs2019-rel
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\Nancy\AppData\Local\vcpkg\archives\b5\b5872723e2d1e2e00d64141d96af74f87a3832bddc11b35a905c89521c17d0d6.zip
Building package magic-enum[core]:x64-windows-vs2019... done
Installing package magic-enum[core]:x64-windows-vs2019...


🚀 Feature Request: Apply D1 migrations by database_id and script location

Describe the solution
When creating our CI/CD, we'd like to split up the build/deploys phases so we can capture the artifacts first, then deploy them in subsequent steps. D1 causes issues here, because the CLI relies exclusively on the toml file in order to locate it's ID as well as migrations.
This requires some additional packaging to move the toml file with the migrations scripts. Other than the values contained within it (which we already have) the toml file doesn't seem necessary in this scenario. It also requires multiple toml files that have the settings for each environment, which seems unnecessary.
It would be nice if migrations_dir and database_id were available to the CLI in order to perform migrations sans a toml file. Ideally, the command would be similar to the following:
> wrangler d1 migrations apply --database-id <GUID> --migrations-dir ./migrations

That's a fair point, we should handle this

As discussed with @rozenmd I'm happy to have a look into this whenever it'll be possible (although we are not too sure when)


Improve Performance of Unification to Linear Time

Current unification is exponential...
The culprit is the tree-based TAnd { left, right } nodes. If we replaced this structure with a sorted array of types then performance would turn linear. I think a small array (not a vector) is the right data structure here.

SRC/and.lm:   (let tt (TAnd( (close lt) (close rt) )))
SRC/apply-plural.lm:      ( (TAnd( t1 t2 )) (
SRC/as-constant.lm:      (set tt (TAnd( (close tt) (close(t1 'Constant_s)) )))
SRC/can-unify.lm:      ( (Tuple( (TAnd( lt1 lt2 )) rt )) (
SRC/can-unify.lm:      ( (Tuple( lt (TAnd( rt1 rt2 )) )) (
SRC/deep-hash.lm:      ( (TAnd( lt rt )) (
SRC/domain.lm:      ( (TAnd( t1 t2 )) (
SRC/get-vararg-inner.lm:      ( (TAnd( t1 t2 )) (
SRC/has-forward.lm:      ( (TAnd( lt rt )) (
SRC/has-infinite.lm:      ( (TAnd( lt rt )) (
SRC/has-representation.lm:      ( (TAnd( lt rt )) (
SRC/index-definitions.lm:type Type TAny | (TVar( name:String )) | (TGround( tag:String , parameters:List<Type>[] )) | (TAnd( left:Type[] , right:Type[] )); zero Type TAny;
SRC/infer-tctx.lm:      ( (TAnd( lt rt )) (
SRC/is-arrow.lm:      ( (TAnd( t1 t2 )) (set r (||( (is-arrow t1) (is-arrow t2) ))) )
SRC/is-constructor.lm:      ( (TAnd( t1 t2 )) (set r (||( (is-constructor t1) (is-constructor t2) ))) )
SRC/is-constructor.lm:      ( (TAnd( t1 t2 )) (set r (||( (is-simple-constructor t1) (is-simple-constructor t2) ))) )
SRC/is-constructor.lm:      ( (TAnd( t1 t2 )) (set r (||( (is-tag t1) (is-tag t2) ))) )
SRC/is-equal.lm:      ( (Tuple( (TAnd( llt rlt )) (TAnd( lrt rrt )) )) (
SRC/is-open.lm:      ( (TAnd( lt rt )) (
SRC/is-parameterized.lm:      ( (TAnd( lt rt )) (
SRC/is-sized.lm:      ( (TAnd( lt rt )) (
SRC/is-t.lm:      ( (TAnd( t1 t2 )) (set r (||( (is-t( t1 t )) (is-t( t2 t )) ))) )
SRC/maybe-local-variable.lm:      (set tt (TAnd( (close tt) (close(t1 'LocalVariable_s)) )))
SRC/print.lm:   ( (TAnd( lt rt )) (
SRC/quick-prop.lsts:               pre = TAnd { close(pre), close(post) };
SRC/quick-prop.lsts:      TAnd { lt=left, rt=right } => (
SRC/quick-prop.lsts:            pre = TAnd { close(next-lt), close(next-rt) };
SRC/range.lm:      ( (TAnd( t1 t2 )) (
SRC/serialize-ast.lm:   ( (TAnd( lt rt )) (
SRC/sizeof-type.lm:      ( (TAnd( lt rt )) (
SRC/slot.lm:      ( (TAnd( ltt rtt )) (
SRC/substitute.lm:      ( (TAnd( lt rt )) (
SRC/substitute.lm:         (set tt (TAnd(
SRC/substitute.lm:      ( (TAnd( lt rt )) (
SRC/substitute.lm:         (set tt (TAnd(
SRC/to-smart-string.lm:      ( (TAnd( lt rt )) (
SRC/unify-hint.lm:      ( (Tuple( _ (TAnd( lt rt )) )) (
SRC/unify-hint.lm:         (set tt (TAnd(
SRC/unify.lm:      ( (Tuple( (TAnd( lt1 lt2 )) rt )) (
SRC/unify.lm:      ( (Tuple( lt (TAnd( rt1 rt2 )) )) (
SRC/with-only-array.lm:      ( (TAnd( lt1 rt1 )) (
SRC/with-only-class.lm:      ( (TAnd( lt1 rt1 )) (
SRC/with-only-representation.lm:      ( (TAnd( lt rt )) (
SRC/with-only-representation.lm:               (set return (TAnd( (close lt2) (close rt2) )))
SRC/with-size.lm:      ( (TAnd( lt rt )) (
SRC/without-constructor.lm:      ( (TAnd( lt rt )) (
SRC/without-platform-props.lm:      ( (TAnd( lt rt )) (
SRC/without-platform-props.lm:               (set tt (TAnd( (close lt2) (close rt2) )))
SRC/without-representation.lm:      ( (TAnd( lt rt )) (
SRC/without-representation.lm:               (set tt (TAnd( (close lt2) (close rt2) )))
SRC/without-size-unless-class.lm:      ( (TAnd( lt rt )) (
SRC/without-size-unless-class.lm:               (set tt (TAnd( (close lt2) (close rt2) )))
SRC/without-size-unless-class.lm:      ( (TAnd( lt rt )) (
SRC/without-size-unless-class.lm:               (set tt (TAnd( (close lt2) (close rt2) )))
SRC/without-size.lm:      ( (TAnd( lt rt )) (
SRC/without-size.lm:               (set tt (TAnd( (close lt2) (close rt2) )))
SRC/without-tag.lm:      ( (TAnd( lt rt )) (
SRC/without-tag.lm:               (set tt (TAnd( (close lt2) (close rt2) )))
root@DESKTOP-B4K7NSE:~/workspace/lambda-mountain# grep TAnd PLUGINS/BACKEND/C/*
PLUGINS/BACKEND/C/compile-c-typedef.lm:      ( (TAnd( lt rt )) (
PLUGINS/BACKEND/C/compile-expr-direct.lm:         (let et (TAnd(
PLUGINS/BACKEND/C/compile-expr-direct.lm:            (close(TAnd(
PLUGINS/BACKEND/C/compile-expr-direct.lm:               (close(TAnd(
PLUGINS/BACKEND/C/is-const-array.lm:      ( (TAnd( t1 t2 )) (set r (||( (is-const-array( t1 )) (is-const-array( t2 )) ))) )
PLUGINS/BACKEND/C/mangle-c-type.lm:      ( (TAnd( lt rt )) (
PLUGINS/BACKEND/C/mangle-identifier.lm:      ( (TAnd( tl tr )) (

Here we have all the lhs and rhs references to the current structure. It is a decent amount but not ridiculous.

TODO:

< method for String, < method for Type
array concatenation, array sort method
type method .as-sorted-union for Type
rewrite can-unify in LSTS to work with union vector
rewrite unify in LSTS to work with union vector
replace all TAnd references to
swap Type definition, "and", ".as-sorted-union" to use internal vector representation


Initializing the database with data

When a non-test database is used and it does not already exist, sample values are inserted into the created database.

Codecov Report

Merging #32 into master will decrease coverage by 3.52%.
The diff coverage is 8.69%.

@@             Coverage Diff              @@
##             master      #32      +/-   ##
============================================
- Coverage     71.71%   68.19%   -3.53%
+ Complexity      115      113       -2
============================================
  Files            12       13       +1
  Lines           442      459      +17
  Branches         35       37       +2
============================================
- Hits            317      313       -4
- Misses          108      128      +20
- Partials         17       18       +1

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/app/App.java
61.11% <ø> (ø)
10 <0> (ø)
:arrow_down:

src/main/java/app/dao/DatabaseCreator.java
0% <0%> (ø)
0 <0> (?)

src/main/java/app/dao/BookMarkDAO.java
58.03% <0%> (-12.62%)
13 <0> (ø)

src/main/java/bookmarks/Bookmark.java
75.6% <100%> (-2.17%)
15 <1> (-2)

Continue to review full report at Codecov.

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


add walking animation from mixamo

Hi folks
I uploaded luke.gltf into mixamo and assigned walking animation and exported it into fbx. And then I opened the fbx in blender and exported it into glb file. But I'm getting this issue

Please give me an advice
Regards

Does the animation work properly inside of Blender?
What 3D framework are you using (Three.js or Babylon.js)?
Not sure it matters, but we've released a major update to the Hosts library. The host character models haven't changed at all, but if you're planning to use any of the programmatic functionality provided by our Hosts JS library, I recommend using the new version of our library. I doubt it would have a positive or negative impact on this particular issue, but it is at least something to try.

I had the same issue. It happens only on Three.js by the way. You can validate if your model and the animations are working fine using https://sandbox.babylonjs.com/

Were you able solve this? My animations are working flawlessly in Sandbox.

Using Three.js or Babylon? Babylon 5+ has an animation problem we need to fix.

#155


⚠ Bofrost.de has degraded performance

In c82bcfb, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1321 ms

Resolved: Bofrost.de performance has improved in 88816c0.


Archive logs

My app just crashed due to bad response from server. But I couldn't capture what was wrong in the response because Chuck also disappeared from notification area. And I can't access logs from the previous session.
Would be nice to be able to access data captured in the previous session (before app crash)

And I can't access logs from the previous session.

I don't understand why that would be the case. Unless you manually clear it, Chuck persists request data for one week by default, and you can set a different retention period with the retainDataFor method. I can't stop the notification from disappearing if your application process crashes, but you can always launch the UI directly via intent.

My bad, didn't realize that data is being stored


Add additional translation files to terra-i18n fixtures

Summary
Resolves #2031

@emilyrohrbough Ah that is a good idea. Want to log an issue and we can enhance it later on.

Logged issue: https://github.com/cerner/terra-core/issues/2034


Localization: Add French translation for notEqualTo method.

This localization seems to be missing in every language.

Thanks a lot for your contribution :)


[🏗 FR] Travel time not working - showing unknown

Is your feature request related to a problem? Please describe.
After adding the functionality for home / not_home state - Thank you very much for that - I tried to use the Google Travel Time together with the person (which only has Xplora attached to it) or with the device tracker but it still shows unknown as it seems to be unable to get the coordinates for the Xplora entities.
Describe the feature you want
I want to use the Google Travel Time together with the Xplora entities, but it seems, that this is not implemented either.

Additional context
No response

Hi @ravor-org , it works for me and is also displayed correctly.

I've tried that again and even enabled debugging for google_travel_time and in my case it looks different.
Heres the log from travel integration:
Sep 21 10:31:38 hwr-server01 hass[28207]: 2022-09-21 10:31:38.121 DEBUG (SyncWorker_0) [homeassistant.components.google_travel_time.sensor] Getting update for origin: not_home destination: 52.5685,13.8941
It does not matter, if device or person is used as origin. I'm not sure, what causes the origin to be displayed as "not_home" as the coordinates are displayed correctly in the map.

I've enabled debugging and somehow home-assistant thinks, that the "not_home" is a nested entity:
Sep 21 11:15:00 hwr-server01 hass[3135]: 2022-09-21 11:15:00.007 DEBUG (SyncWorker_7) [homeassistant.helpers.location] Getting nested entity for state: not_home
But as this is no nested entity, it is not resolved and therefore inaccessible.

I've created a pull request (as a quick fix): #59
Maybe you could also change the underlying API lib to maintain the type.


Add support for building multiple backend simulators

Context:
This PR includes support for building C++ modules of multiple backend simulators via passing a list of devices' names to the PL_BACKEND CMAKE flag. With this support, one can pass PL_BACKEND="lightning_qubit;lightning_kokkos" and build both simulators. This support is used and tested in Catalyst.
Description of the Change:

Update the CMake build structure
Fix methods name conflicts

Benefits:

Build C++ modules of multiple simulators in one interface library successfully

Possible Drawbacks:

Doesn't support Python Bindings due to its target-specific design. (The bindings are not required in Catalyst.)

Don't worry about it @vincentmr! I get time to work on it now.


Add folder attributes

Added some folder attributes from a previous PR.
@shiftkey

@shiftkey Actually, I can see some from PR #1499 that we could add. Should I?

Ugh, this still looks like it's changing the line endings :sob:

@shiftkey Oh, crap! I don't have any global configs, and I used the GitHub editor!
Should I try locally?

@vgturtle127 I guess that's the only option then :(

@shiftkey What are the line endings that won't mess it up, and should I close this and start over? :laughing:

I think I need to review this change outside of the PR view, something doesn't feel right...

@shiftkey I know I suggested this earlier, and I think you said something about it, but why couldn't we add a .gitattributes to the repo? That would automatically normalize all the files to the native OS encodings...

@shiftkey Actually, never mind. I just messed another project up by adding the .gitattributes file...


Unknown condition type "citresewn:type"

The issue
I add new model to my RP mkb.json and others (look in the logs)...

type=item
matchItems=minecraft:netherite_sword minecraft:diamond_sword
model=./mkb.json
nbt.display.Name=iregex:(\u041c\u041a\u0411|MKB)
mkb.properties

But the model is not displayed in the game. Errors appear in the logs - Unknown condition type "citresewn:type"
At the same time, my model "uzi" with properties:

type=item
matchItems=minecraft:bow
model=./uzi.json
nbt.display.Name=Micro-PP
works great

I understand from the error text that the problem is in the "type" field. But why?..
How to reproduce
ELRP-models.zip
Logs
https://pastebin.com/gbE1jTDM
Checklist

[X] I checked the issues(both open and closed) and could not find a duplicate of my issue
[X] I am using the latest version of CIT Resewn for my Minecraft version
[X] I have disabled Broken Paths and the issue persists
[X] I am running the mod using Fabric Loader

If u are using sinytra connecter than that is the problem, connector is not officially supported. But checklist says u are using Fabric Loader dn logs also saying Using legacy nbt.display.Name which would not appear in case with connector.
And Im sure that this bit of logs is not helpful, u probably would like to send the whole log file if u want the problem to be resolved.

https://mclo.gs/woWlSKR full logs

The files are encoded with something called "UTF-8 BOM" instead of the normal UTF-8. As a hotfix you can just save the file with a different encoding.

Leaving the issue open until I fix the issue where it doesnt load it when it should've.

Yes, it helped me
Thanks!


Use index hint for idx_contracts_fcid_timestamp, MySQL does not select it otherwise

I was still seeing SLOW SQL warnings for SELECT * FROM contracts WHERE contracts.timestamp >=<PHONE_NUMBER>000 AND contracts.timestamp <<PHONE_NUMBER>000 AND contracts.fcid = '<binary>' LIMIT 1, after EXPLAINing I found that MySQL doesn't use the index we added.

2 questions before I approve this

Did you manually verify the speedup on gompa to get some numbers for with vs without index hint?
Is SQLite using the index? If not we might want hints for SQLite as well in which case numbers from Arequipa would be great as well.

SELECT * FROM contracts WHERE contracts.timestamp >=<PHONE_NUMBER>000 AND contracts.timestamp <<PHONE_NUMBER>000 AND contracts.fcid = '<binary>' LIMIT 1,

Not really. I deployed this to a node where I was seeing SLOW SQL logs and they disappeared after deploying this. That's not terribly scientific though but since this index was added for exactly this purpose I figured we might as well hint it. The query plan goes from Using index condition; Using where to Using index condition so it can only ever be a speedup I think. Generally I never deploy something to gompa to test because I'm scared of Nate.

Yes. The test I added asserts that exact index is used by SQLite by default.

The hint is great but it would be great to measure the result rather than relying on the logging. You definitely shouldn't deploy to gompa but you can still pick one of the queries that were logged as slow and run it directly against gompa's database with and without the hint.

I measured it on gompa and didn't really see a measurable difference with or without the hint. It hovers around 100ms both with and without the hint. I don't think looking at the execution time is a good way of evaluating query performance though, especially not if it's not an obvious boost. It's somewhat decent if you disable query caching (which I did) but ultimately you have to rely on the query plan I think.
We can close this out if you want, we should maybe remove the index though in that case. We added it here, maybe it was a case of two optimisations where one did the bulk of the work and the other didn't really matter all that much?

The hint is great but it would be great to measure the result rather than relying on the logging. You definitely shouldn't deploy to gompa but you can still pick one of the queries that were logged as slow and run it directly against gompa's database with and without the hint.

I measured it on gompa and didn't really see a measurable difference with or without the hint. It hovers around 100ms both with and without the hint. I don't think looking at the execution time is a good way of evaluating query performance though, especially not if it's not an obvious boost. It's somewhat decent if you disable query caching (which I did) but ultimately you have to rely on the query plan I think.
We can close this out if you want, we should maybe remove the index though in that case. We added it here, maybe it was a case of two optimisations where one did the bulk of the work and the other didn't really matter all that much?

How did you run it on gompa? 100ms seems way too slow. I searched for the query that I ran when I added the index and this is the result I'm getting on gompa.
mysql> SELECT hex(fcid) FROM contracts WHERE contracts.timestamp >=<PHONE_NUMBER>000 AND contracts.timestamp <<PHONE_NUMBER>000 - 86400000 AND contracts.fcid = x'00195BA795481F5941ADB10463ADC89D12BED28EE61B4A684451DF8E3C5F9402' LIMIT 1;
+------------------------------------------------------------------+
| hex(fcid)                                                        |
+------------------------------------------------------------------+
| 00195BA795481F5941ADB10463ADC89D12BED28EE61B4A684451DF8E3C5F9402 |
+------------------------------------------------------------------+
1 row in set (0.00 sec)

mysql> EXPLAIN SELECT hex(fcid) FROM contracts WHERE contracts.timestamp >=<PHONE_NUMBER>000 AND contracts.timestamp <<PHONE_NUMBER>000 - 86400000 AND contracts.fcid = x'00195BA795481F5941ADB10463ADC89D12BED28EE61B4A684451DF8E3C5F9402' LIMIT 1;
+----+-------------+-----------+------------+-------+--------------------------------------------------------------------------+------------------------------+---------+------+------+----------+--------------------------+
| id | select_type | table     | partitions | type  | possible_keys                                                            | key                          | key_len | ref  | rows | filtered | Extra                    |
+----+-------------+-----------+------------+-------+--------------------------------------------------------------------------+------------------------------+---------+------+------+----------+--------------------------+
|  1 | SIMPLE      | contracts | NULL       | range | idx_contracts_timestamp,idx_contracts_fc_id,idx_contracts_fcid_timestamp | idx_contracts_fcid_timestamp | 42      | NULL | 2437 |   100.00 | Using where; Using index |
+----+-------------+-----------+------------+-------+--------------------------------------------------------------------------+------------------------------+---------+------+------+----------+--------------------------+
1 row in set, 1 warning (0.00 sec)

Even without hint it appears to be using the index. So maybe that's why you aren't seeing a difference.

Hm interesting on my personal node it is not using that index. I guess because I'm on SQL 8.0.32 maybe...
mysql> EXPLAIN SELECT hex(fcid) FROM contracts WHERE contracts.timestamp >=<PHONE_NUMBER>000 AND contracts.timestamp <<PHONE_NUMBER>000 - 86400000 AND contracts.fcid = x'00195BA795481F5941ADB10463ADC89D12BED28EE61B4A684451DF8E3C5F9402' LIMIT 1
    -> ;
+----+-------------+-----------+------------+------+--------------------------------------------------------------------------+---------------------+---------+-------+------+----------+------------------------------------+
| id | select_type | table     | partitions | type | possible_keys                                                            | key                 | key_len | ref   | rows | filtered | Extra                              |
+----+-------------+-----------+------------+------+--------------------------------------------------------------------------+---------------------+---------+-------+------+----------+------------------------------------+
|  1 | SIMPLE      | contracts | NULL       | ref  | idx_contracts_timestamp,idx_contracts_fc_id,idx_contracts_fcid_timestamp | idx_contracts_fc_id | 34      | const |    1 |     5.00 | Using index condition; Using where |
+----+-------------+-----------+------------+------+--------------------------------------------------------------------------+---------------------+---------+-------+------+----------+------------------------------------+
1 row in set, 1 warning (0.00 sec)

You're also right by the way, the reason I wasn't seeing a speedup on gompa is because I was testing with and without HINT but never EXPLAINed it on gompa... so I was just running the query using the index all the time. We can close it out but I guess many people might be on an older MySQL version. It's not even that old it's jan 2023...


Is there any way to run UWP apps in MAC and Linux ?

I am planning to develop a cross platform app written using UWP. I know it will run fine in Windows 10. Is it possible to run it in MAC and Linux ?

https://platform.uno/
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Ayananta<EMAIL_ADDRESS>Sent: 14 January 2021 12:09
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: [microsoft/Windows-universal-samples] Is there any way to run UWP apps in MAC and Linux ? (#1271)
I am planning to develop a cross platform app written using UWP. I know it will run fine in Windows 10. Is it possible to run it in MAC and Linux ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/Windows-universal-samples/issues/1271, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAXGPWYT7PPEILW4HT5V7CDSZ3NGTANCNFSM4WCKUHBA.

https://platform.uno/
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Ayananta<EMAIL_ADDRESS>Sent: 14 January 2021 12:09
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: [microsoft/Windows-universal-samples] Is there any way to run UWP apps in MAC and Linux ? (#1271)
I am planning to develop a cross platform app written using UWP. I know it will run fine in Windows 10. Is it possible to run it in MAC and Linux ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/Windows-universal-samples/issues/1271, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAXGPWYT7PPEILW4HT5V7CDSZ3NGTANCNFSM4WCKUHBA.

This is not a question about any of the samples in this repo.

This is not a question about any of the samples in this repo.


integrations: Add pages for hubot integrations.

Two issues:

The links to "Hubot" in the "Integrations available via Hubot" section of the integrations/ page are broken.
Clicking on any of the boxes (e.g. Assembla) takes you directly to the github page.

It would be great to add a integrations/#assembla page, and similarly for the rest. People ask whether "Zulip supports X" (where X is something like voice calls, screensharing, etc), and it'd be great to be able to point them to these pages.

The first item seems likely to be a regression in @TomaszKolek's recent refactoring that we should fix quickly.

@rishig I think this issue is already resolved.

Thanks for looking into this @AasthaGupta!
The /integrations page has changed, which makes the issue description confusing, but the issue still stands; which is that https://chat.zulip.org/integrations/doc/assembla should be a special page for assembla, just like https://chat.zulip.org/integrations/doc/airbrake is a special page for airbrake.
We'll have to reconstruct which hubot integrations we'd like this for, but assembla is a good one to start with.
To be concrete, the first step of working on this issue is:

Create a /doc/assembla page, with installation instructions. You can point to
https://github.com/hubot-scripts/hubot-assembla for much of it.
Add an assembla card on the /integrations page. E.g. the following is the card for airbrake


Feature request - support GLB and GLTF for animated models

Please add support for animated models in GLTF and GLB formats. It is very inconvenient to convert everything to SFB, and there are many problems related to the conversion process. Some of them are listen in my other bug reports.

+1 definitely!

Please add it!


Constructing probabilistic circuits

Hi all,
I'm a bit confused on how exactly to create Prob\DeltaNodes. There are no tests (or documentation) showing how to manually create a Probabilistic Circuit, and I'm basing solely on the code itself (more specifically src/Probabilistic/ProbCircuits.jl:Prob\Delta and constructors). From what I understand, every time I create a Prob node, I have to add its Logic counterpart as an "origin". Is this origin required to be the actual underlying Logic node (with corresponding logic children, etc.) or may it be an "empty shell"? I see this origin is used on structured circuits for checking vtrees. But if I were to use only standard probabilistic circuits, would this be really necessary? If not, is there a more lightweight circuit variant where I won't have to allocate double the memory for each circuit?
Many thanks,
Renato

Hi Renato;
I plan to refactor things starting next week and will keep these questions in mind. Perhaps it would indeed be good to get rid of all decorator patterns and just copy structures as needed. We started moving in this direction last winter when we added data fields to all node structs to avoid flow circuit decorators.

Thanks for the reply! Good to hear the code is getting simpler.
I have a couple of additional questions if you don't mind me asking. I constructed a PSDD and now I'm trying to extract the log-likelihood of some instantiation. When I compute values by my own through a standard bottom-up evaluation, it computes fine and returns the expected probabilities. But when I try to use ProbabilisticCircuits's log_likelihood_per_instance, I get the following error:
ERROR: LoadError: AssertionError: Root probabilities are expected to be 1: Bool[0] ≆ true
Stacktrace:
 [1] pass_up(::Array{UpFlowΔNode{ProbΔNode{UnstLogicalΔNode},BitArray{1}},1}, ::PlainXData{Bool,BitArray{2}}) at /home/renatogeh/.julia/packages/LogicCircuits/2pF03/src/Logical/UpFlowCircuits.jl:155
 [2] pass_up_down(::Array{DownFlowΔNode{ProbΔNode{UnstLogicalΔNode},BitArray{1}},1}, ::PlainXData{Bool,BitArray{2}}) at /home/renatogeh/.julia/packages/LogicCircuits/2pF03/src/Logical/DownFlowCircuits.jl:219
 [3] log_likelihood_per_instance(::Array{DownFlowΔNode{ProbΔNode{UnstLogicalΔNode},BitArray{1}},1}, ::PlainXData{Bool,BitArray{2}}) at /home/renatogeh/.julia/packages/ProbabilisticCircuits/c2NU1/src/Probabilistic/ProbCircuits.jl:319
 [4] log_likelihood_per_instance(::Array{ProbΔNode{UnstLogicalΔNode},1}, ::PlainXData{Bool,BitArray{2}}) at /home/renatogeh/.julia/packages/ProbabilisticCircuits/c2NU1/src/Probabilistic/ProbCircuits.jl:295
...

What exactly does "root probabilities expected to be 1" mean?
I'm also trying to estimate the parameters of a prob circuit. I tried using estimate_parameters with a Prob\Delta and an XData as arguments, but I ran into several errors stating there were no methods matching for component_weights with Prob\Delta as an argument. So I looked into the code and found estimate_parameters2. It ran fine and seemingly increased LL as expected, but estimate_parameters2 is not exported nor used anywhere in ProbabilisticCircuits. Should I not be using that? If so, how can I learn weights given only a prob circuit and data?
Many thanks,
Renato

That error means that you used an input example for which the output of the (logical) circuit is 0/false, which is disallowed for parameter learning. In other words, the example is outside of the support of the circuit's possible distributions.

Hi Guy. Thanks for the quick answer.
Sorry, my questions were worded in a confusing way. What I mean is that the root probabilities are expected to be 1 error happens when I try to simply evaluate the network, and not during learning. Or is log_likelihood_per_instance not simply an evaluation function? If that is the case, how does one do a log-likelihood evaluation of the network?
During learning I get a completely different error, saying that there are no methods matching component_weights with Prob\Delta.
Thanks again,
Renato

What would be the desired output for a log_likelihood outside of the support? Perhaps negative infinity as a float?

Oh ok I see your point now. I would say that negative infinity is reasonable for an input outside the support.

I fixed the likelihood code to properly give -Inf loglikelihood when the example does not satisfy the logical circuit / is not in the support of the distribution: https://github.com/Juice-jl/ProbabilisticCircuits.jl/commit/0930ca0c6b9588908793f7dc942e5aa63e0d5739
The API for constructing circuits has also significantly improved in recent weeks ahead of the 0.2 release, so I'm closing this issue.


Downloading of files via wetty terminal

Hi @butlerx, we're using wetty to provide a web interface to our character based ERP. There was a requirement to also push through binary files for download (mostly reports eg, spreadsheets and pdfs).
I came up with a mechanism to base64 encode binary files then decode them via the wetty client. The end user then will receive a popup box in the bottom right corner with the file blob download (with the mine type and extension set if I can find it via the file-type library).

$ cat wetty-download.sh
#!/bin/sh
echo '^[[5i'$(cat /dev/stdin | base64)'^[[4i'

The terminal escape sequences I'm using to identify the start and end of a file blob are ^[[5i and ^[[4i (VT100 for "enter auto print" and "exit auto print" respectively - https://vt100.net/docs/tp83/appendixc.html)
While this is a bit of a hack - it seems to work really well and has proved very valuable for us. I would like to know what it would take to get this merged :)
Also, any thoughts on a mechanism to allow enabling / disabling of these feature on the frontend (eg, using a query parameter to enable this feature then checking if the feature is set on data receive).

this is a great feature thanks.
I;d Be happy to merge it in. Could you first bump the version number in the package.json and add a doc on downloading files to show users how to use it?

Hi @butlerx,
Great, thank you! I've now added a section in the README and bumped the version.

I'm having trouble with the echo script.    It appears to fail when I try to download a file larger than some (relatively small) number of characters.  A file that is 60607 characters (108 lines) fails for me.   In general, won't the echo approach be limited by getconf MAX_ARG_STRLEN?  For me, that number is 2097152, which is larger than the number of characters for which this is failing so I'm not sure that's the problem I'm having.

I'm having trouble with the echo script. It appears to fail when I try to download a file larger than some (relatively small) number of characters. A file that is 60607 characters (108 lines) fails for me. In general, won't the echo approach be limited by getconf MAX_ARG_STRLEN? For me, that number is 2097152, which is larger than the number of characters for which this is failing so I'm not sure that's the problem I'm having.

small correction, the file that fails is 81876 characters (1064 lines) after base64 encoding.

Hey @kb1ooo, could you possibly send me an example of a file that fails to download so I can reproduce on my end, please? You can reach me at contact(at)benl.com.au

Hi @benletchford thanks very much for the quick response.  So, I went to replicate and figured out that it only happens when I'm in a gnu screen session.  I suppose that this is likely because of the screen TERMCAP entry?

Hi @kb1ooo, I can confirm I can reproduce it running through a GNU screen session.
While I'm making no commitments, I'll do my best to investigate to see if there's a way we can easily fix - having said that, this functionality is fairly dependant upon one's environment and probably has little to do with wetty itself.

Great, thanks so much @benletchford.  Not critical of course, and very much appreciate the clever hack.

@benletchford I found something on this.  I guess that screen buffers the "printing", splitting into multiple start/end segments in order to be non-blocking in some way that I don't quite understand.  Here's a writeup on it with the relevant excerpt below:

With screen intercepting the print commands, however, I tried to print an email and got a whole bunch of pages, with one line each.
The culprit? From screen's manual page:
When the po and pf capabilities are present in the terminal's termcap entry, applications running in a screen window can send output to the printer port of the terminal. This allows a user to have an application in one window sending output to a printer connected to the terminal, while all other windows are still active (the printer port is enabled and disabled again for each chunk of output).
Why would you do that, screen? When my ssh app sees you send the "printer off" command, it assumes (correctly) that you ARE DONE PRINTING!!! The assumption here is that for a LINE PRINTER, like an old dot matrix, it will only print when there is output, even if it takes an hour to fill the page. A laser printer, on the other hand, cannot exactly hold the sheet of paper inside itself waiting for the "next line, or even "next line chunk (if no carriage return is received". This lets me, say, print a 10 page document and switch back to my IM window. Except at the speeds I work, everything prints so fast I never need to leave the window.
My solution workaround in SecureCRT was to go into the printing options, where there is a "Buffer Printing" option. This basically means that securecrt will hold all the printer stuff until there's a pagefull (since it knows all about the printer, the fonts, and the page size, it can make this determination). When I want that last page, I have to go to the mouse and do File-->Print-->Eject Page.
I would MUCH RATHER have gnu screen BLOCK MY INPUT until it is DONE sending the output to the printer. I do not NEED background printing. I certainly don't need this "feature" that lets two programs print to the same printer. Yes, let's have two programs that want to make output make one collided set of unreadable output!
Alternatively, I would love for screen to be able to send a "form feed" along right before it sends the final PF command (since it intercepted it, it knows where it is). I originally hadn't thought there were any form feeds, but lpansi (see below) seems to do it, so... In this way, even though it had sent 40 [on][text][off] requests for a 40 line file, that page gets ejected. Although I just tried this with ansiprint (which has the ability to send a form feed) and it seems that SecureCRT doesn't take that as a "okay, print" command. I should probably try with putty (if putty can buffer at all), or a much newer version of secureCRT.
(I am probably going to wind up contacting the gnu screen developers about this -- it WORKS, but not as well as I'd like -- and I cannot fathom their logic).

@benletchford The only thing I can think of would be to add a start/end tag that you check for and then consume as buffered if it's present.   So, something like:
#!/bin/sh
echo '^[[5i'BEGIN_BUFFERED$(cat /dev/stdin | base64)END_BUFFERED'^[[4i'

@benletchford one last comment, hopefully :), as I look at the code.  Independent of this gnu screen issue, I think that there might be another potential point of failure.   Since the escape sequences are multi-character, isn't there a possibility that they (more likely FILE_END if it's going to happen) can get split across data buffers?  In that case, the current implementation would appear to miss the marker because it's expecting it to be contiguous in the data buffer.  I.e.  data.indexOf(FILE_END) would never return anything but -1.  I know next to nothing about terminals (nor about javascript) so I could be totally wrong, maybe you are guaranteed that those sequences are contiguous?

@benletchford one last comment, hopefully :), as I look at the code. Independent of this gnu screen issue, I think that there might be another potential point of failure. Since the escape sequences are multi-character, isn't there a possibility that they (more likely FILE_END if it's going to happen) can get split across data buffers? In that case, the current implementation would appear to miss the marker because it's expecting it to be contiguous in the data buffer. I.e. data.indexOf(FILE_END) would never return anything but -1. I know next to nothing about terminals (nor about javascript) so I could be totally wrong, maybe you are guaranteed that those sequences are contiguous?

That's an excellent point, thank you for pointing this out. I can confirm we are not guaranteed the character sequences are necessarily contiguous.
I'll create a separate issue for this. Thanks again.

@kb1ooo, in regards to your original issue: I think the issue with the potential for sequences to be missed takes precedence so I'd say we should put our energy into fixing this first :+1:

@kb1ooo, in regards to your original issue: I think the issue with the potential for sequences to be missed takes precedence so I'd say we should put our energy into fixing this first 👍

No worries, sounds good.  It will likely be easier to add once the escape sequence buffering is handled anyway.  Also, regarding my suggestion about the BEGIN_BUFFERED / END_BUFFERED tags, it would probably be best to use something that is guaranteed not to have delimiter collisions instead which is easy since the text is base64.  E.g. just add an open bracket to the end of the start sequence ^[[5i[ and a close bracket to the beginning of the end sequence ]^[[4i and you are guaranteed not to have collisions with base64.  You could even get fancy and add an optional title via parentheses echo ‘^[[5i[(my_file.ppt)’$(cat /dev/stdin | base64)’]^[[4i’


Tooltips reappear after dismissing a dialog.

Bug, feature request, or proposal:
Bug
What is the expected behavior?
After dismissing a dialog, no tooltip should appear on the button that launched it.
What is the current behavior?
If a button which launches a dialog has a tooltip, this tooltip with pop out again when the dialog has been dismissed, even if the cursor is not on the button.
What are the steps to reproduce?

Navigate to: https://angular-material2-issue-k549gg.stackblitz.io
Click the button to launch the dialog window
Click any of the buttons to close the dialog window
Notice that the tooltip of the button pops up, even if the cursor is not near it

What is the use-case or motivation for changing an existing behavior?
The user already knows what the button does at this point, so the tooltip is no longer needed. Moreover, if the cursor is not over a component, it should never show the tooltip.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest, see stackblitz.
Is there anything else we should know?

Fixed in master by https://github.com/angular/material2/pull/7258.


feat(cli): add 'helm chart create'

Closes #240

If at some point we decide to rename, we can do that later.


[BUG] Any exception throw from setter fails to be thrown.

Describe the bug
When ReactiveAttribute is used on a property to stops throwing any Setter Exceptions.
Steps To Reproduce
private GenderType? _gender; [Reactive] public GenderType? Gender {     get => _gender;    set => _gender = value ?? throw new NotSupportedException(nameof(Gender)); }
Expected behavior
Should not eat up an exception, A simple that tests for the exception thrown should pass.
 Assert.ThrowsException<NotSupportedException>(() => model.Gender = null);

This isn't a bug, since the [Reactive] flag indicates to the Fody to replace the auto-property with the ReactiveObject's RaiseAndSetIfChanged extension method. So your code there will be wiped. If you want to have special functionality you will have to remove the [Reactive] flag.


encode_features incorrectly modifies encoded feature_matrix for features with multiple columns

https://github.com/Featuretools/featuretools/blob/f80b5ae1f55a979e24fd8afcea2c1fab280b0c70/featuretools/synthesis/encode_features.py#L95
For features with multiple columns, the following warning is given: "Feature has multiple columns and will not be encoded.  This may result in a matrix with non-numeric values."
Categorical variables are indeed not encoded; however, encode_features is still modifying the resulting encoded feature matrix. Specifically, it is creating new columns with the same feature name and values.
import featuretools as ft
from featuretools.tests.testing_utils import make_ecommerce_entityset
import pandas as pd

es = make_ecommerce_entityset()
feature_matrix, feature_defs = ft.dfs(entityset=es,
                                target_entity="customers",
                                agg_primitives=['n_most_common'])

not_encoded = [x for x in feature_matrix.columns.tolist() if 'cohorts.N_MOST_COMMON(log.zipcode)' in x]
feature_matrix_enc, feature_defs_enc = ft.encode_features(feature_matrix, feature_defs)

encoded = [x for x in feature_matrix_enc.columns.tolist() if 'cohorts.N_MOST_COMMON(log.zipcode)' in x]

print(not_encoded)
print(encoded)

Output:
['cohorts.N_MOST_COMMON(log.zipcode)__0',
 'cohorts.N_MOST_COMMON(log.zipcode)__1',
 'cohorts.N_MOST_COMMON(log.zipcode)__2']

['cohorts.N_MOST_COMMON(log.zipcode)__0',
 'cohorts.N_MOST_COMMON(log.zipcode)__1',
 'cohorts.N_MOST_COMMON(log.zipcode)__2',
 'cohorts.N_MOST_COMMON(log.zipcode)__0',
 'cohorts.N_MOST_COMMON(log.zipcode)__1']

Current workaround
import featuretools as ft
from featuretools.tests.testing_utils import make_ecommerce_entityset
import pandas as pd

es = make_ecommerce_entityset()
feature_matrix, feature_defs = ft.dfs(entityset=es,
                                target_entity="customers",
                                agg_primitives=['n_most_common'])

not_encoded = [x for x in feature_matrix.columns.tolist() if 'cohorts.N_MOST_COMMON(log.zipcode)' in x]
feature_matrix_enc, feature_defs_enc = ft.encode_features(feature_matrix, feature_defs)

#removes all duplicated columns
feature_matrix_enc = feature_matrix_enc.loc[:,~feature_matrix_enc.columns.duplicated()]

encoded = [x for x in feature_matrix_enc.columns.tolist() if 'cohorts.N_MOST_COMMON(log.zipcode)' in x]

print(not_encoded)
print(encoded)

Output:
['cohorts.N_MOST_COMMON(log.zipcode)__0',
 'cohorts.N_MOST_COMMON(log.zipcode)__1',
 'cohorts.N_MOST_COMMON(log.zipcode)__2']

['cohorts.N_MOST_COMMON(log.zipcode)__0',
 'cohorts.N_MOST_COMMON(log.zipcode)__1',
 'cohorts.N_MOST_COMMON(log.zipcode)__2']

@alexjwang , can you try running your code using the "fix-encode-multioutput" branch I just pushed to the repo?


Merge upstream changes to this repo

A few changes were made in NovelaNeuro/ndx-franklab-novela that have yet to be merged into this repo. This PR merges those changes. This also makes it easier to merge this fork back into NovelaNeuro/ndx-franklab-novela if desired.

Whoops. This PR is to the wrong repo.


[AVM Question/Feedback]: Some policies fail role assignments (Deploy-Private-DNS-Zones example)

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Description
I'll preface with this may be user error, so I might just need a steer in the right direction.
Right now when using the Deploy-Private-DNS-Zones policy, I only deploy a small selection of PDNS zones that we are actually using, as otherwise they have a idle cost.
When trying to use the policy, it is failing at role assignments for PDNS zones that are not deployed.

So at the moment this is by design. You're assigning a policy that supports all dns zones and as such it's trying to assign a role assignment to that dns zone.
That said I can see this being an issue, so how do you think this should be solved?
Filtering on the role assignments for policy? Some sort of regex on the scope maybe?

#RR

So at the moment this is by design. You're assigning a policy that supports all dns zones and as such it's trying to assign a role assignment to that dns zone.
That said I can see this being an issue, so how do you think this should be solved?
Filtering on the role assignments for policy? Some sort of regex on the scope maybe?

I have not had a good enough look at the code to actually understand how this bit works, but I'd want to go for whatever is option would just let it fail / move on silently, rather than the current method where it has lots of white noise about it.

Hi @ryan-royals
I've had an idea about whether we can evaluate the effect property of the assigned policies and exclude any that are set to Disabled...
This would mean that we would not try and create a role assignment for disabled properties...

This sounds like it could work in collaboration with the Issue #148 , as then we can use TF to manage which private dns zones from the Deploy-Private-DNS-Zones are enabled / disabled?
Or would that fall out of scope of this fix as its a Policy Set Definition not a Policy Definition.


Crash

crash when owl is using ghost hands enchant from domestication innovation, every time you trow a projectile to it

is more related to Domestication Innovation, nothing to see here


Release project to maven central

@dev-gaur @theexplorist : When are we planning to release this to maven central? Are we blocked on something? If not, let move forward and release it since it's needed by https://github.com/fabric8io/fabric8-maven-plugin/pull/1692

http://repo2.maven.org/maven2/io/jshift/buildah-core/1.0.0/
http://repo2.maven.org/maven2/io/jshift/buildah-java/1.0.0/


Added 363

Added 363. NOTE the code listed in guidance is mistyped.
LS of child assessment order is L3
not L2 as stated.

Already done.


The download links for the pre-trained models of VGG16 and resnet101 are invalid.

The download links for the pre-trained models of VGG16 and resnet101 are invalid.

I've met the same problem. Have you solved it yet?

请问一下，有预训练模型的链接吗


fix: symbol picking

Fixes #731

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


When props_needed is not passed, extract props from signature

A fix to https://github.com/aylton-almeida/rabbitmq-pika-flask/issues/28
We can't just go back to passing message_id by default, as that would break it for anyone using 1.2.16 or newer versions.
This solution works for everyone. If props_needed is not passed, look at the function signature to decide which props need to be passed.

Closing, as there was already another PR dealing with this issue. Resolving it there.


New way of activating conda environments

Due to the new way we use conda environments in the code, and a change in the way that conda environments are handled, the docs need updating.
Also, the GCC package in conda seems to be deprecated and therefore we need to rely now on a local C/C++ compiler on the target machine. Added a test to check for compilers before performing the installation. Removed gcc packages in here

xref: https://github.com/conda/conda/issues/7333


Gallery Submission Feedback

Provide a description of template functionality in for TermsFeed Cookie Consent's description

@fa653 Done.

@termsfeed Thank for you updating, but I was referring to the description in your template: https://github.com/termsfeed/termsfeed-cookie-consent-gtm-community-template/blob/9d03ce804db78efad5d60944ce3aabd576b1e831/template.tpl#L22
Here's the template style guide for reference: https://developers.google.com/tag-platform/tag-manager/templates/style?sjid=13546057612994004043-NC

@fa653 Ah, got it. Updated now.
Repo URL has been updated to mention the version we're using, resubmitted it again for Community Templates.
https://github.com/termsfeed/termsfeed-cookie-consent-4-1-gtm-community-template

@termsfeed Acknowledged. After reviewing the most recent submission, we have discovered the following:

Provide a brief description of the template functionality in your template file's description: https://github.com/termsfeed/termsfeed-cookie-consent-4-1-gtm-community-template/blob/9d03ce804db78efad5d60944ce3aabd576b1e831/template.tpl#L22

setDefaultConsentState was declared but not used if your template file: https://github.com/termsfeed/termsfeed-cookie-consent-4-1-gtm-community-template/blob/9d03ce804db78efad5d60944ce3aabd576b1e831/template.tpl#L101C7-L101C29. Was this intentional?

@fa653
Thanks. We've updated this. My replies below:

Provide a brief description of the template functionality in your template file's description:

I've updated the description field, see https://github.com/termsfeed/termsfeed-cookie-consent-4-1-gtm-community-template/blob/main/template.tpl#L26
Your comment here points to 9d03ce8 commit (initial release of template), but we've already updated the description field in 8912791 commit.

setDefaultConsentState was declared but not used if your template file: https://github.com/termsfeed/termsfeed-cookie-consent-4-1-gtm-community-template/blob/9d03ce804db78efad5d60944ce3aabd576b1e831/template.tpl#L101C7-L101C29. Was this intentional?

Oops, just a mistake from our end. Removed it now in dfc2847  commit, we're not using it.

@fa653 Is there a specific timeline when the Template page is updated with the latest repository changes we've published? As the current Template I see published is the old one without a proper description.

@termsfeed I apologize for the delay. The pull request for this was marked approved but did not go through because of the following reason:

To make the template changes live you need to update your metadata.yaml file to point to the latest commit with the template changes.

After. your metadata.yaml file is updated, we can continue the approval process.

@fa653 Ah, got it, we've missed that. Updated now. Thanks!


practicalmeteor:chai shadows Jasmine's expect function

This is more of a question, I may be doing something wrong. I keep getting this error:  TypeError: Object #<Assertion> has no method 'toHaveBeenCalled' when running this code:
describe('GroupRateLimiter', function() {

  describe('#checkRate', function() {

    beforeEach(function() {
      // Stub out the Groups.find().count() function
      spyOn(Groups, 'find').and.callFake(function() {
        return {
          count: function() {
            return 1;
          }
        };
      });
    });

    it('returns false if limit is reached', function() {
      expect(Groups.find).toHaveBeenCalled();
      expect(Groups.find().count()).to.equal(1);
    });

  });
});

I'm using the practicalmeteor:chai package, which I think is somehow shadowing Jasmine's own built-in expect function. Does this sound plausible?

Yes, this can be the case. Why do you need practicalmeteor:chai? The best I can do is to make sure that jasmine overwrites the chai globals.

Ok I wanted to double check.
Fortunately I'm early enough in my dev process to not rely on chai, so I'll just do without it for now. Thanks!


Change the builders to mutably-borrow themselves

I'd be interested in picking this up for hacktoberfest. Is this about changing the builders from creating new instances of themselves to instead mutably borrow a reference to themselves which they mutate?

Just a change from fn abc(self, ...) -> Self to fn abc(&mut self, ...) -> &mut Self really.
And changing closures that're using the builders to account for that as well.

Does my approach look along the lines of what you were thinking? I had to add a build function to get an owned instance. The GetMessages impl is its own builder, which seems a little wonky. Just wanted to check in before proceeding further.

Close, but i meant by the closures to accept &mut Builder and return &mut Builder, not an immutable borrow to the builder as that would kill off this issue's meaning.
Also for GetMessages, you needn't clone it, but more like do let map = &mut builder.0;, as inside messages it does not move the map itself or anything, it just removes a few things from it.
(Plus i don't think we'd really need to be cloning the builder itself if the serde_json::Map inside of it is what matters to us)

Closed by 420b8d8.


⚠ Bofrost.es has degraded performance

In 0fa4466, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1709 ms

Resolved: Bofrost.es performance has improved in 16686e5 after 8 minutes.


Update expressroute-monitoring-metrics-alerts.md

typo

@dcbrown16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

correction confirmed - thanks


unable to create logic to return a certain number of cards based on the output of an API

I am calling an API where i get a set of information back as an object (e.g. screenshot)

with the value:
"bill_number": "2",
i then want to create logic that means because 2 instances of bills have been returned from the API (because thats the value of "biill_number") the next response from the bot should be 2 cards (in a carousel) with each card displaying different pieces of information: card 1 to display the values of bill number 1 and card 2 to display the values for bill number 2
similarly if the value of "bill_number": "2", returned when calling the API again was 4, i want the logic to then create 4 cards
I am unable to find the logic to create this.
I am using the desktop version of Composer version 2.0.0 on macOS

@jessthorne, thank you for opening this issue. For product behavior, how-to, or general understanding questions, please use Stackoverflow. https://stackoverflow.com/search?q=bot+framework


Modify Servo tag names to be consistent with other projects

Currently, the Hystrix Servo integration uses the tags "type=HystrixCommand" and "instance=<commandKey.name()>"
This poses a problem for Atlas, as "type" is used to distinguish between metric types.  Most other Servo integrations use class/id for the above tag concepts.
This is a breaking change w.r.t. metrics published to Servo, so I'll only put it in 2.0.x

Addressed in #1190


Description is not updated when the item description is changed

Reported by .jc20 on Discord.
This causes the Description to keep it's old value unless we switch to a different item and back.

Looks like the fix I did a while ago still works, game updates didn't broke anything.


Warren County, Ohio Issues?

I downloaded the 	us_midwest.zip 706MB
and noticed Warren County Ohio is missing.
Found data here: http://www.co.warren.oh.us/warrengis/Downloads.aspx *license looks okay when clicking through terms to accept
But I believe we already have the data: http://results.openaddresses.io/sources/us/oh/warren - looks like an error for some reason

Suburbs north of Cincinnati.

w00t!  The GDB includes address points!

Oh, the current source is failing because they've managed to turn off programmatic access somehow to the machine.  pyesridump gets it, though.


Switching to MavenCentral

Hello! Your library is published only to jcenter. Please consider publishing it also to mavenCentral, as jcenter is shutting down in May.

Hello @florent37!
Are you still supporting this repo? There is any possibility to publish this lib in mavenCentral?
Thanks in advance.

yes it's done :)


Add function to configure battery optimizations on iOS?

I'm not familiar with iOS, so I don't know whether this concept also applies there, but with #34, we're adding a function to control battery optimizations on Android, so we might need that on iOS as well.
I did find a "Background App Refresh" setting under "General" that seems relevant:

Doesn't seem to be stored in an SQLite database.
NEEDLE="background|bart|bgtask|bgapp|bgprocessing"

find / -name '*.db' -o -name '*.sqlite*' -print0 2>/dev/null | while IFS= read -r -d '' file; do
    for X in $(sqlite3 -readonly "$file" .tables 2>/dev/null); do
        sqlite3 -readonly "$file" "SELECT * FROM \"$X\";" 2>/dev/null | grep -iE >/dev/null $NEEDLE && echo "Found in file '$file', table '$X'";
    done
done

This yields only false positives:
Found in file '/System/Library/PrivateFrameworks/DialogEngine.framework/holidayNames.sqlite3', table 'holidayNames'
Found in file '/System/Library/PrivateFrameworks/SiriInference.framework/holidays.sqlite3', table 'calendars'
Found in file '/System/Library/PrivateFrameworks/SiriInference.framework/holidays.sqlite3', table 'holidays'
Found in file '/System/Library/PrivateFrameworks/SiriInference.framework/hypocorisms.sqlite3', table 'names'
Found in file '/private/var/mobile/Library/Photos/Libraries/Syndication.photoslibrary/database/Photos.sqlite', table 'ATRANSACTIONSTRING'
Found in file '/private/var/mobile/Library/Sileo/sileo.sqlite3', table 'Packages'
Found in file '/private/var/db/analyticsd/config.sqlite', table 'eligible_transform_view'
Found in file '/private/var/db/analyticsd/config.sqlite', table 'enabled_event_names_view'
Found in file '/private/var/db/analyticsd/config.sqlite', table 'enabled_tranforms_by_event_view'
Found in file '/private/var/db/analyticsd/config.sqlite', table 'enabled_transform_view'
Found in file '/private/var/db/analyticsd/config.sqlite', table 'disabled_transform_view'
Found in file '/private/var/db/analyticsd/config.sqlite', table 'events'
Found in file '/private/var/db/analyticsd/config.sqlite', table 'transforms'

Next idea: Apple also likes to store stuff in .plist files. So, I searched all *.plist files on the system for ones that contained deliveroo (part of the bundle ID of an app with Background App Refresh enabled), but not audible (part of the bundle ID of an app with BAR disabled):
FILES=$(find / -name "*.plist")

while IFS= read -r file; do
  if grep -iq deliveroo "$file" && ! grep -iq audible "$file"; then
    echo "$file"
  fi
done <<< "$FILES" > candidates.txt

Result:
/private/var/mobile/Library/Keyboard/app_usage_database.plist
/private/var/mobile/Library/Preferences/com.apple.mt.killed.plist
/private/var/mobile/Library/Preferences/com.apple.duetactivityscheduler.plist
/private/var/mobile/Library/Preferences/com.apple.osanalytics.addaily.plist
/private/var/mobile/Library/Preferences/com.apple.corespotlightui.plist
/private/var/mobile/Library/Preferences/com.apple.itunescloud.plist
/private/var/mobile/Containers/Data/Application/6B93C293-8E67-4B96-91B8-85059EAF2586/.com.apple.mobile_container_manager.metadata.plist
/private/var/mobile/Containers/Data/Application/6B93C293-8E67-4B96-91B8-85059EAF2586/Library/Caches/appsflyer-v1/700420675.2525.plist
/private/var/mobile/Containers/Data/PluginKitPlugin/44525754-031E-4BE6-8887-838CAE812519/.com.apple.mobile_container_manager.metadata.plist
/private/var/root/Library/Caches/locationd/clients.plist
/private/var/containers/Bundle/Application/270C6DE3-9CFB-40F7-888E-F5D140A7AEBA/.com.apple.mobile_container_manager.metadata.plist
/private/var/containers/Bundle/Application/270C6DE3-9CFB-40F7-888E-F5D140A7AEBA/iTunesMetadata.plist
/private/var/containers/Bundle/Application/270C6DE3-9CFB-40F7-888E-F5D140A7AEBA/Deliveroo.app/PlugIns/DeliverooWidgetExtension.appex/Info.plist
/private/var/containers/Bundle/Application/270C6DE3-9CFB-40F7-888E-F5D140A7AEBA/Deliveroo.app/SC_Info/Manifest.plist
/private/var/containers/Bundle/Application/270C6DE3-9CFB-40F7-888E-F5D140A7AEBA/Deliveroo.app/Info.plist
/private/var/containers/Bundle/Application/270C6DE3-9CFB-40F7-888E-F5D140A7AEBA/Deliveroo.app/GoogleService-Info.plist

From going through those, none of them seems relevant.
I'll try Frida next.

The docs I mentioned earlier various classes starting with BG (like BGAppRefreshTaskRequest), but none of those seem to be responsible for the settings. No class starting with BG was triggered when I changed the setting for an app:
❯ frida-trace -U -m "*[BG* *]" Preferences
Instrumenting...
+[BGTaskSchedulerProxy shared]: Loaded handler at "/home/benni/__handlers__/BGTaskSchedulerProxy/shared.js"
-[BGTaskSchedulerProxy registerForTaskWithIdentifier:launchHandler:]: Loaded handler at "/home/benni/__handlers__/BGTaskSchedulerProxy/registerForTaskWithIdentifier_la_39d0b759.js"
Started tracing 2 functions. Press Ctrl+C to stop.

How about background (frida-trace -U -m "*[*background* *]/i" -M "*[*UI* *]" Preferences)? Nothing.

settings (frida-trace -U -m "*[*settings* *]/i" -M "*[*UI* *]" -M "*[FBSSceneSettings *]" Preferences) yields a lot of results:
250512 ms  -[BSSettings objectForSetting:0xf]
250512 ms     | -[BSSettingsDiff copyWithZone:0xf]
250512 ms     |    | -[BSSettings copyWithZone:0xf]
250512 ms     |    |    | -[BSKeyedSettings copyWithZone:0xf]
250513 ms  -[BSSettings objectForSetting:0x16]
250513 ms     | -[BSSettingsDiff copyWithZone:0x16]
250513 ms     |    | -[BSSettings copyWithZone:0x16]
250513 ms     |    |    | -[BSKeyedSettings copyWithZone:0x16]
250513 ms  -[BSSettings objectForSetting:0x23]
250513 ms     | -[BSSettingsDiff copyWithZone:0x23]
250513 ms     |    | -[BSSettings copyWithZone:0x23]
250513 ms     |    |    | -[BSKeyedSettings copyWithZone:0x23]
250514 ms  -[BSSettings objectForSetting:0x23]
250514 ms     | -[BSSettingsDiff copyWithZone:0x23]
250514 ms     |    | -[BSSettings copyWithZone:0x23]
250514 ms     |    |    | -[BSKeyedSettings copyWithZone:0x23]
250514 ms  -[BSSettings objectForSetting:0x19]
250514 ms     | -[BSSettingsDiff copyWithZone:0x19]
250514 ms     |    | -[BSSettings copyWithZone:0x19]
250514 ms     |    |    | -[BSKeyedSettings copyWithZone:0x19]
250514 ms  -[BSSettings objectForSetting:0x23]
250515 ms     | -[BSSettingsDiff copyWithZone:0x23]
250515 ms     |    | -[BSSettings copyWithZone:0x23]
250515 ms     |    |    | -[BSKeyedSettings copyWithZone:0x23]
250515 ms  -[BSSettings objectForSetting:0x19]
250515 ms     | -[BSSettingsDiff copyWithZone:0x19]
250515 ms     |    | -[BSSettings copyWithZone:0x19]
250515 ms     |    |    | -[BSKeyedSettings copyWithZone:0x19]
250516 ms  -[BSSettings objectForSetting:0x23]
250516 ms     | -[BSSettingsDiff copyWithZone:0x23]
250516 ms     |    | -[BSSettings copyWithZone:0x23]
250516 ms     |    |    | -[BSKeyedSettings copyWithZone:0x23]
250516 ms  -[BSSettings objectForSetting:0x23]
250516 ms     | -[BSSettingsDiff copyWithZone:0x23]
250516 ms     |    | -[BSSettings copyWithZone:0x23]
250517 ms     |    |    | -[BSKeyedSettings copyWithZone:0x23]
250517 ms  -[BSSettings objectForSetting:0x3]
250517 ms     | -[BSSettingsDiff copyWithZone:0x3]
250517 ms     |    | -[BSSettings copyWithZone:0x3]
250517 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250518 ms  -[BSSettings boolForSetting:0x1]
250518 ms     | -[BSSettingsDiff copyWithZone:0x1]
250518 ms     |    | -[BSSettings copyWithZone:0x1]
250518 ms     |    |    | -[BSKeyedSettings copyWithZone:0x1]
250518 ms  -[BSSettings objectForSetting:0x3]
250518 ms     | -[BSSettingsDiff copyWithZone:0x3]
250518 ms     |    | -[BSSettings copyWithZone:0x3]
250518 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250518 ms  -[BSSettings objectForSetting:0x3]
250519 ms     | -[BSSettingsDiff copyWithZone:0x3]
250519 ms     |    | -[BSSettings copyWithZone:0x3]
250519 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250519 ms  -[BSSettings boolForSetting:0x1]
250519 ms     | -[BSSettingsDiff copyWithZone:0x1]
250519 ms     |    | -[BSSettings copyWithZone:0x1]
250519 ms     |    |    | -[BSKeyedSettings copyWithZone:0x1]
250519 ms  -[BSSettings objectForSetting:0x3]
250519 ms     | -[BSSettingsDiff copyWithZone:0x3]
250519 ms     |    | -[BSSettings copyWithZone:0x3]
250519 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250520 ms  -[BSSettings objectForSetting:0x3]
250520 ms     | -[BSSettingsDiff copyWithZone:0x3]
250520 ms     |    | -[BSSettings copyWithZone:0x3]
250520 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250520 ms  -[BSSettings objectForSetting:0x3]
250520 ms     | -[BSSettingsDiff copyWithZone:0x3]
250520 ms     |    | -[BSSettings copyWithZone:0x3]
250520 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250520 ms  -[BSSettings boolForSetting:0x1]
250521 ms     | -[BSSettingsDiff copyWithZone:0x1]
250521 ms     |    | -[BSSettings copyWithZone:0x1]
250521 ms     |    |    | -[BSKeyedSettings copyWithZone:0x1]
250521 ms  -[BSSettings objectForSetting:0x3]
250521 ms     | -[BSSettingsDiff copyWithZone:0x3]
250521 ms     |    | -[BSSettings copyWithZone:0x3]
250521 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250521 ms  -[BSSettings objectForSetting:0x3]
250521 ms     | -[BSSettingsDiff copyWithZone:0x3]
250521 ms     |    | -[BSSettings copyWithZone:0x3]
250522 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250522 ms  -[BSSettings boolForSetting:0x1]
250522 ms     | -[BSSettingsDiff copyWithZone:0x1]
250522 ms     |    | -[BSSettings copyWithZone:0x1]
250522 ms     |    |    | -[BSKeyedSettings copyWithZone:0x1]
250522 ms  -[BSSettings objectForSetting:0x3]
250522 ms     | -[BSSettingsDiff copyWithZone:0x3]
250522 ms     |    | -[BSSettings copyWithZone:0x3]
250522 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250522 ms  -[BSSettings objectForSetting:0x3]
250522 ms     | -[BSSettingsDiff copyWithZone:0x3]
250522 ms     |    | -[BSSettings copyWithZone:0x3]
250522 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250523 ms  -[BSSettings objectForSetting:0x3]
250523 ms     | -[BSSettingsDiff copyWithZone:0x3]
250523 ms     |    | -[BSSettings copyWithZone:0x3]
250523 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250523 ms  -[BSSettings boolForSetting:0x1]
250523 ms     | -[BSSettingsDiff copyWithZone:0x1]
250523 ms     |    | -[BSSettings copyWithZone:0x1]
250523 ms     |    |    | -[BSKeyedSettings copyWithZone:0x1]
250523 ms  -[BSSettings objectForSetting:0x3]
250523 ms     | -[BSSettingsDiff copyWithZone:0x3]
250523 ms     |    | -[BSSettings copyWithZone:0x3]
250523 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250523 ms  -[BSSettings objectForSetting:0x3]
250523 ms     | -[BSSettingsDiff copyWithZone:0x3]
250523 ms     |    | -[BSSettings copyWithZone:0x3]
250524 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250524 ms  -[BSSettings boolForSetting:0x1]
250524 ms     | -[BSSettingsDiff copyWithZone:0x1]
250524 ms     |    | -[BSSettings copyWithZone:0x1]
250524 ms     |    |    | -[BSKeyedSettings copyWithZone:0x1]
250524 ms  -[BSSettings objectForSetting:0x3]
250524 ms     | -[BSSettingsDiff copyWithZone:0x3]
250524 ms     |    | -[BSSettings copyWithZone:0x3]
250524 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250524 ms  -[BSSettings objectForSetting:0x3]
250524 ms     | -[BSSettingsDiff copyWithZone:0x3]
250524 ms     |    | -[BSSettings copyWithZone:0x3]
250524 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250580 ms  -[BSSettings objectForSetting:0x3]
250580 ms     | -[BSSettingsDiff copyWithZone:0x3]
250580 ms     |    | -[BSSettings copyWithZone:0x3]
250580 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250580 ms  -[BSSettings boolForSetting:0x1]
250580 ms     | -[BSSettingsDiff copyWithZone:0x1]
250581 ms     |    | -[BSSettings copyWithZone:0x1]
250581 ms     |    |    | -[BSKeyedSettings copyWithZone:0x1]
250581 ms  -[BSSettings objectForSetting:0x3]
250581 ms     | -[BSSettingsDiff copyWithZone:0x3]
250581 ms     |    | -[BSSettings copyWithZone:0x3]
250581 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250581 ms  -[BSSettings objectForSetting:0x3]
250581 ms     | -[BSSettingsDiff copyWithZone:0x3]
250581 ms     |    | -[BSSettings copyWithZone:0x3]
250581 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250582 ms  -[BSSettings boolForSetting:0x1]
250582 ms     | -[BSSettingsDiff copyWithZone:0x1]
250582 ms     |    | -[BSSettings copyWithZone:0x1]
250582 ms     |    |    | -[BSKeyedSettings copyWithZone:0x1]
250582 ms  -[BSSettings objectForSetting:0x3]
250582 ms     | -[BSSettingsDiff copyWithZone:0x3]
250582 ms     |    | -[BSSettings copyWithZone:0x3]
250582 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250582 ms  -[BSSettings objectForSetting:0x3]
250583 ms     | -[BSSettingsDiff copyWithZone:0x3]
250583 ms     |    | -[BSSettings copyWithZone:0x3]
250583 ms     |    |    | -[BSKeyedSettings copyWithZone:0x3]
250593 ms  +[SFSettingsAnalytics trackingPerformSelector:0x28212bd40 targetString:0x282128fe0]
250593 ms  +[SFSettingsAnalytics trackingControlValueChanged:0x28212a680 sender:0x874033f1cd108b52]

BSSettings might be interesting or it might be some UI thing.

The headers for BSettings don't exactly tell us much. It's part of BaseBoard.framework. The other classes in that framework do sound potentially interesting, though.

I think another thing to consider is the "Low power mode" in the battery settings. It might do similar things, it also claims to limit background activity.


Background video freezes when i pull down notifications

Bug
I have a background video playing (video is local to the app) and runs smoothly on android and iOS. However on iOS when i pull down from the notification centre the video freezes. The only way to start it again is to close the app and restart it. There are no additional error messages. This happens on the iOS simulator and on devices.
Code is:
   <SafeAreaView style={styles.container}>

   <Video
           style={styles.backgroundVideo}
           source={backgroundImage}
           muted={true}
           repeat={true}
           resizeMode={"cover"}
           rate={1.0}
           ignoreSilentSwitch={"obey"}
     />

This is on RN 0.59

Anyone have an answer to this. It doesn't happen if i switch to another application, only if i pull something down

Still  not working, need a response please.

So when the AppState becomes inactive, the video pauses automatically.
AppState Docs
AppState changes to inactive when the notification center is pulled down. So maybe something like this would help...
import { AppState } from 'react-native';
import React, { useState, useEffect } from 'react';
import Video from 'react-native-video';

const SampleVideoFile = () => {
  const [videoPaused, toggleVideoPaused] = useState(false);
  const [appActive, setAppActive] = useState(false);

  const handleAppStateChange = nextAppState => {
    if (nextAppState === 'active') {
      setAppActive(true);
    } else {
      setAppActive(false);
    }
  };

  useEffect(() => {
    AppState.addEventListener('change', handleAppStateChange);
    return () => AppState.removeEventListener('change', handleAppStateChange);
  }, []);

  useEffect(() => {
    appActive ? toggleVideoPaused(false) : toggleVideoPaused(true);
  }, [appActive]);

  return (
    <Video
      style={styles.backgroundVideo}
      source={backgroundImage}
      muted
      repeat
      paused={videoPaused}
      resizeMode="cover"
      rate={1.0}
      ignoreSilentSwitch="obey"
    />
  );
};

Hope this helps!

thanks Andres, that worked perfectly

use that prop, it will resolve the issue
playWhenInactive:true


Retrieve a type given a path

Two features so far need the ability to retrieve a type given an identifier. This was initially handled by the BuildManager class in .NET Framework, which we have replaced with a more modern compilation/assembly loading infrastructure.

#212 Is adding UserControl that the compilation needs this
#222 Introduces WebParts which needs this in the Type TemplateParser.CreateControl(string virtualPath)

The constraints between these two are:

We need to access types within the compilation itself
We need to access types (for a compilation) within a request itself

So, to enable this, we probably want to create an abstraction that can define this behavior:
internal interface ICompiledTypeAccessor
{
  Type? GetForPath(string virtualPath);
  Type? GetForName(string typeName);
}

This then can be implemented in the compilation and passed to the parsers to have access to it as well as add it to the IHttpHandlerMetadata : ICompiledTypeAccessor so that it will be available at runtime on the endpoint (the metadata object gets added to the endpoint as an object and then if it implements a given type it will be available).

/cc @birojnayak

this proposal sounds good.. let me look at the code, I am all in for simplification..

I have a proposed PR in #224. I believe that as part of this, I'll need to rework the usage of ITypeResolutionService... not sure though

ok taking a look..

This is enabled now


Empty files causing LS to throw errors

Hey running the extension with nixd LS and when I open an empty .nix file I always get a lot of errors inside VSCode because the LS is unable to generate the AST from the file.
Technically it is a valid error from LS but it is very annoying inside VSCode, so I would suggest to suppress this particular error if the file content is empty.
On the other hand if there is a configuration to avoid this behavior, then I would suggest to put it into a "possible default" documentation section or similar.
Error message:
I[12:28:37.526] 2177: <-- textDocument/codeAction(857)
I[12:28:37.526] 2177: --> reply:textDocument/codeAction(857)
I[12:28:37.544] 2177: <-- textDocument/documentLink(858)
I[12:28:37.544] 2177: --> reply:textDocument/documentLink(858) AST is null on this unit, error: 3
I[12:28:37.544] 2177: <-- textDocument/inlayHint(859)
I[12:28:37.544] 2177: --> reply:textDocument/inlayHint(859) AST is null on this unit, error: 3
[Error - 12:28:37 PM] Request textDocument/documentLink failed.
  Message: AST is null on this unit
  Code: -32001
[Error - 12:28:37 PM] Request textDocument/inlayHint failed.
  Message: AST is null on this unit
  Code: -32001
I[12:28:37.823] 2177: <-- textDocument/semanticTokens/full(860)
I[12:28:37.823] 2177: --> reply:textDocument/semanticTokens/full(860) AST is null on this unit, error: 3
[Error - 12:28:37 PM] Request textDocument/semanticTokens/full failed.
  Message: AST is null on this unit
  Code: -32001
I[12:28:37.830] 2177: <-- textDocument/documentSymbol(861)
I[12:28:37.830] 2177: --> reply:textDocument/documentSymbol(861) AST is null on this unit, error: 3
[Error - 12:28:37 PM] Request textDocument/documentSymbol failed.
  Message: AST is null on this unit
  Code: -32001

If you need anything else just ask and I try to provide all the information needed.

This is fixed in nixd 2.2.2

Could be something with my configuration since I'm pretty new to nix(OS), but I'm still seeing the same behavior with nixd 2.2.2 and nix-ide 0.3.1 (both from nixpkgs-unstable)

Yes, that's partially fixed (in 2.2.2), you can see the release notes.

From the 2.2.2 release notes:

null AST is still emitting errors. Should be fixed in the next release.

It should be fixed in nixd 2.2.3.


unsupported alternate value but configured in user defined table

^title
config:
vim.api.nvim_set_var("at_custom_alternates", {
    ["=="] = "!=",
    ["==="] = "!==",
    ["yes"] = "no",
    ["on"] = "off",
    ["On"] = "Off",
    ["ON"] = "OFF",
    ["*"] = "/",
    ["++"] = "--",
    ["+="] = "-=",
    ["*="] = "/=",
    ["&"] = "|",
    ["&&"] = "||",
    ["define"] = "undef",
    [">="] = "<=",
})

Expected result:
== changed to != or any other custom-defined pairs in the above table.
Result:
Unsupported alternate value. is printed.
I don't know if it is my code that is wrong because I'm relatively new to neovim's lua config and I couldn't get it to work using the vim.api() function. So you might need to check my code first.

Hey @juiceDeLemon. You could probably just use vim.g to set the global variable.
vim.g.at_custom_alternates = {
["=="] = "!="
-- rest of your table
}

fixed it!


Doors Not Working

Expected Behaviour
When the lift reaches the floor the doors open and close when you either select a floor or a call is placed
Actual Behaviour
The doors do nothing.
Reproduction Steps
Steps to reproduce the behaviour:

Create the lift as expected
Add doors, both odd and even styles have the problem.
Issue encountered.

Crash Report
Attach a crash report to the issue.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Minecraft Version: 1.19.2
Forge Version: 1.19.2 42.3.4
Installed Mods: listed below

create
immersive engineering
applied energistics 2
mcw bridges
mcw doors
mcw furniture
mcw lights
mcw roof
mcw trapdoors
mcw windows
Mekanism
pneumaticcraft repressurized
rubidium
thermal series
simple light
world edit.
mtr

Additional Information
Mod Version: 1.19.2-3.2.1

What is your setup like? Can you please attach some screenshots or videos? That would help. Thanks.

Update the mod to 3.2.1-hotfix-1, then the doors will work.

Excellent the issue has been resolved


Correction for raw affiliation AMAP, University of Montpellier, CIRAD, CNRS, INRAE, IRD, Montpellier, France; Department of Ecology and Evolutionary Biology, University of California, Los Angeles, Los Angeles, California, USA

Correction needed for raw affiliation AMAP, University of Montpellier, CIRAD, CNRS, INRAE, IRD, Montpellier, France; Department of Ecology and Evolutionary Biology, University of California, Los Angeles, Los Angeles, California, USA
raw_affiliation_name: AMAP, University of Montpellier, CIRAD, CNRS, INRAE, IRD, Montpellier, France; Department of Ecology and Evolutionary Biology, University of California, Los Angeles, Los Angeles, California, USA
new_rors: 046rm7j60;051escj72;05kpkpg04;05q3vnk25;003vg9w96;02feahw73;020nks034
previous_rors: 046rm7j60;051escj72;05kpkpg04;05q3vnk25;003vg9w96;02feahw73
works_examples: W4403807857
contact: 571b5b58b69c1ad70b3f9f9836ab920d:2f9701cf0d6212e6cf9c48a5b22ed91ce501 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Reducing use of getLocation

I handle my timezones and locale completely separated I've a whole team that handles that and forcing TZDateTime this type on the events and make me implement a huge non-readable getLocation method made me throw away the library. I'd rather kickout the whole feature rather than implementing that. Please re-consider this approach. I appreciate your work on open source community, but this kinda makes it impossible to use unfortunately.

This is a solid idea.
However there's also a need to handle calendar events with timezones.
Do you have any ideas to 'thin' the library without losing too many functions?

Have you considered this?
https://stackoverflow.com/a/38732745

Have you considered this?
https://stackoverflow.com/a/38732745

Looks promising
If iOS has something similar, maybe we can make a workaround
Copying the mentioned API here for clarity: https://developer.android.com/reference/java/util/TimeZone.html

Should be also possible for iOS
https://developer.apple.com/documentation/foundation/timezone


change selected menu header background color

Description

On Windows, the background color of the highlighted menu makes the text hard to see:

I made a small change to the stylesheet to make it match the selected item value:

Type of change

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

References

How has this been tested?

[x] Only tested on windows.

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

I just added a release note for this PR so that we can include it in our 0.2.7 release which I plan to make imminently. I plan to merge this afternoon

Great!

@boonepeter if you were interested, we could use some help with our switching of themes - see this issue https://github.com/napari/napari/issues/669 where we have problems with incomplete updates etc.

Cool, I'll take a look when I have some time!


[BUG] Non-exhaustive type checks causing failed schema inspection

When running harvester with binary built from compiling source at f303b27e it fails with an error:
FATA[0000] failed to create harvester server: failed inspecting type v1beta1.VirtualMachineTemplateVersion, field spec: failed inspecting type v1beta1.VirtualMachineTemplateVersionSpec, field vm: failed inspecting type v1beta1.VirtualMachineSourceSpec, field spec: failed inspecting type v1.VirtualMachineSpec, field template: failed inspecting type v1.VirtualMachineInstanceTemplateSpec, field spec: failed inspecting type v1.VirtualMachineInstanceSpec, field domain: failed inspecting type v1.DomainSpec, field devices: failed inspecting type v1.Devices, field disks: failed inspecting type v1.Disk, field bootOrder: unknown type kind uint
Expected

Harvester should startup normally

Observed

Harvester fails with the error above

To reproduce
>>> export KUBECONFIG="$HOME/.kube/config" NAMESPACE="harvester-system" RANCHER_EMBEDDED="true" HCI_MODE="true"
>>> go build -ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn -X github.com/harvester/harvester/vendor/google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn"
>>> ./harvester

After digging into the source it looks like this is caused by type checks in Wrangler's reflection type checks being non-exhaustive and omitting the Uint go type at reflection.go#271 and reflection.go#467 which cause the unknown type kind uint error thrown as reflection.go#524.

Here is a code sample  with an example of the issue:
import (
"fmt"
"github.com/rancher/wrangler/pkg/schemas/openapi"
)

type sample struct {
	BootOrder uint
}

func main() {
	json, err := openapi.ToOpenAPIFromStruct(sample{})
	if err != nil {
		fmt.Printf("Error: %s\n", err)
	}

	_ = json

}

This code will output:
Error: failed inspecting type main.sample, field bootOrder: unknown type kind uint

Waiting for wrangler MR 198 before updating vendor dependency.

Resolved in PR 198

I'm still getting this error when I download from master branch....

Looks like we never updated the harvester dependency, I put up a PR that will fix this.

Move to 1.2.0 to check if we still have this issue.

This issue has been fixed on Harvester master
Root Cause
During apply CRD VirtualMachineTemplateVersion, the nested field BootOrder is not well handled in Wangler's type check,  and it leads to error
Reproduce update

Set up Harvester with the latest master build (tested with 2023/04/28 build)
Delete VirtualMachineTemplateVersion CR and CRD
Running Harvester binary compiled from https://github.com/harvester/harvester/commit/f303b27ef7479f5727a1d6674b2d543f307575d0

$ git clone https://github.com/harvester/harvester.git
Reset to commit https://github.com/harvester/harvester/commit/f303b27ef7479f5727a1d6674b2d543f307575d0

$ git reset --hard  f303b27ef7479f5727a1d6674b2d543f307575d0

$ make build
$ export KUBECONFIG="$HOME/.kube/config" NAMESPACE="harvester-system" RANCHER_EMBEDDED="true" HCI_MODE="true"
$ ./bin/harvester
Error message mentioned in https://github.com/harvester/harvester/issues/1919#issue-1138869654 occurs

Solution
This has been solved in Wranger from PR 198 since v1.0.0, and Harvester already bumped Wrangler version to v1.1.0
Verification
Running Harvester binary compiled from the latest master, and following the same reproduce steps. We could found there is no error similar to https://github.com/harvester/harvester/issues/1919#issue-1138869654