Add NeuropixelProbes notebook

This is a cool plot! So is this meant to show all neuropixel electrodes across all sessions in those 6 brain areas, colored by those brain areas? So a user just enters a list of marker sets and properties (e.g. color, size, etc.) are automatically chosen for each set of markers? This demo is a good proof-of-concept, and for the next step I think we need to add more control. I think the Plotly Scatter3d syntax would work well here, and is along the lines that Mike was recommending. We obviously would not need to support all of these features, but x, y, z, marker.size, and marker.color would be a good start. We would also definitely need a way to set the points interactively, adding and removing them as things are selected. Plotly has a good interface for doing that too:
fig.add_trace(
	go.Scatter3d(
		x=x, y=y, z=z,
		marker=dict(
			size=12,
			color=[1,0,0],
			opacity=0.8
		)
	)
)

#add second set of markers
fig.add_trace(
	go.Scatter3d(
		x=x1, y=y1, z=z1,
		marker=dict(
			size=12,
			color=c,
			opacity=0.8
		)
	)
)

# update x positions of first trace
fig.data[0].x = x2

This is a cool plot! So is this meant to show all neuropixel electrodes across all sessions in those 6 brain areas, colored by those brain areas? So a user just enters a list of marker sets and properties (e.g. color, size, etc.) are automatically chosen for each set of markers? This demo is a good proof-of-concept, and for the next step I think we need to add more control. I think the Plotly Scatter3d syntax would work well here, and is along the lines that Mike was recommending. We obviously would not need to support all of these features, but x, y, z, marker.size, and marker.color would be a good start. We would also definitely need a way to set the points interactively, adding and removing them as things are selected. Plotly has a good interface for doing that too:

@bendichter thanks for the review! Yes, all good points, we are working towards those features.
A few tracking issues:

point_set trait #11
point set colors #12
point set sizes #13
point set opacities #14

@brianhhu thanks for the review!

The parameter point_sets is modified in-place after being sent to CCFWidget (it seems to return a list of dictionaries). This is not well-documented and may be surprising for the user.

Good point -- we will explain and demonstrate in a follow-up to the notebook. Tracked in #11

How are colors chosen for the point_sets?

The colors cycle through the Glasbey set of categorical colors.

I think a more standard use case would be to keep all probes the same color, but then to color in specific regions which the probes pass through in different colors (e.g. using selected_acronyms).

Currently, in this example, probes that correspond to different acronyms have different colors. Per #7, we will improve the hightlighted colors, so they correspond to the official Allen color per structure.

There seems to be one pink point very far out in CCF space when running cell 23 (the second example). Maybe just an outlier?

Yes, this comes from the VISrl probe data -- I'll remove that structure from the target structures since it is distracting.

The curviness of the probes is still a bit jarring- I understand it's an artifact of the registration process. If we just passed in the first and last point of each probe, drawing a "straight" line in between, would that help?

It may send a reminder to the viewer that the CCF coordinates are different than the subject coordinates, but the electrode locations along the probe in CCF coordinates help identify accurate location within traversed structures (i.e. a straight line may not pass through the actual structures that are traversed).
In general, as we provide general point set / markers visualization, we facilitate flexible and creative use for unit visualization, ....


Not able to train jpn_vert

I followed the tutorial on the docs and tried finetuning jpn_vert. I added the font to lang_specific too. This is the output I get
Warning in pixScaleSmooth: ridiculously small scaling factor 0.010451
Image too small to scale!! (1x1 vs min width of 3)
Line cannot be recognized!!
Image not trainable

Here is the script I used
# generates training data
tesseract/src/training/tesstrain.sh \
        --fonts_dir ${FONTS_DIR} \
        --tessdata_dir  ${TESSDATA_DIR} \
        --langdata_dir ${LANG_DATA_DIR} \
        --linedata_only \
        --lang jpn \
        --fontlist "Tanuki Permanent Marker" \
        --noextract_font_properties \
        --output_dir train \
        --exposures "0"

# extracts lstm from old traineddata
combine_tessdata -e ${TESSDATA_DIR}/jpn_vert.traineddata jpn.lstm

# finetunes model
lstmtraining \
    --continue_from jpn.lstm \
    --model_output output/jpn \
    --traineddata ${TESSDATA_DIR}/jpn_vert.traineddata \
    --train_listfile train/jpn.training_files.txt \
    --max_iterations 100

# combines into a .traineddata
lstmtraining --stop_training \
    --continue_from output/jpn_checkpoint \
    --traineddata ${TESSDATA_DIR}/jpn_vert.traineddata \
    --model_output output/jpn_vert.traineddata

What am I doing wrong here? It worked on jpn but did not work with jpn_vert.

See https://github.com/tesseract-ocr/docs/blob/master/MOCRadaptingtesseract2.pdf
section 3.1 about vertical text

I'm sorry, I still do not know how to apply the paper that you linked me to fix this problem. Are there any tutorials on training vertical japanese?

Closed via PR #3223
See discussion at https://github.com/tesseract-ocr/tesseract/issues/3001

Closed via PR #3223
See discussion at https://github.com/tesseract-ocr/tesseract/issues/3001


to collect all source code for the packages used by eve

this metadata is required for sBOM process

@deitch @dautovri please review

You need to sign the DCO

Note that all of the commits should be squashed before we can merge this.

All commits squashed


[ANDROID] Price and currency params return empty value

Description
Price and currency params return empty value. So i must get these information from offerDetail
Expected Behavior
Price and currency params return string value
Environment:

react-native-iap: 10.0.0
Platforms (iOS, Android, emulator, simulator, device): Android

What is your proposal to handle onetime and subscription offers in that case @nguyen95 ?

I'm clear the response data in api 5.0. So I will close this issue. Thank you


Support for ARM64

I tested a building and running it on an ODROID N2, which is an ARM64 and it seems to work but I needed to do a few small changes, I had to disable modern_cpu manually because the current statement threw an 'Index out of range' and I had to change the unistd_64 import to unistd as it didn't exist.
Linux odroid 4.9.187-53 #1 SMP PREEMPT Fri Aug 9 06:12:18 -03 2019 aarch64 aarch64 aarch64 GNU/Linux
Diff:
diff --git a/configure b/configure
index 0e84ff6..4ea969f 100755
--- a/configure
+++ b/configure
@@ -46,9 +46,10 @@ modern_cpu = True
 if system() == 'Linux':
     # we need to check if the CPU is recent enough to use popcnt and
     # AVX instructions
-    cpuinfo = slurp('/proc/cpuinfo').splitlines()
-    flags = [l for l in cpuinfo if l.startswith('flags')][0]
-    modern_cpu = 'popcnt' in flags and 'avx' in flags
+    #cpuinfo = slurp('/proc/cpuinfo').splitlines()
+    #flags = [l for l in cpuinfo if l.startswith('flags')][0]
+    #modern_cpu = 'popcnt' in flags and 'avx' in flags
+    modern_cpu = 0

 if modern_cpu:
     c.append('cflags', '-march=westmere')
diff --git a/src/meshable_arena.cc b/src/meshable_arena.cc
index b325531..023b2a5 100644
--- a/src/meshable_arena.cc
+++ b/src/meshable_arena.cc
@@ -15,7 +15,7 @@
 #include <unistd.h>

 //#include <sys/memfd.h>
-#include <asm/unistd_64.h>
+#include <asm/unistd.h>
 #include <linux/memfd.h>
 #endif

I think these same changes are required for an 64-bit OS on a raspberry PI.

ah, this is great, thanks!  I'll look at incorporating into the standard build system

Hi can you let me know how you can build it on linux with architecture arm by cross compile

Any plans to support this? I would love to use mesh on my Linux VM in my Apple Silicon macbook pro (and possibly on my graviton 2 aws vps too).


fix: put all ports together

This is a simple adjust in kubernetes deployment.
Ports can be a list of ports so, this is my suggestion to fix it.

@rca0 actually looks like presubmit failed because we require signed commits. Could you push a new signed one or amend existing one please.

ok @dilyevsky sorry i was busy this week, i have adjusted my git to do signed commits now...

So it actually just needs signed-off (git -s) not a full-blown signature (although it's doesn't hurt) - sorry I should've been more clear about that. Also doesn't look like you're actually uploaded your public key so it's not verified =)

@dilyevsky looking the log os travisci i think the issue isn't commits signed.

No prob, this presubmit script is slightly as it checks every commit in the branch:
$ git-validation  -run DCO,short-subject,dangling-whitespace * 4c31e76 "fix: put all ports together" ... PASS
 * dd1e254 "fix: put all ports together" ... FAIL
  - FAIL - does not have a valid DCO
 * 6baa5ef "Merge branch 'master' into fix/ports-unify" ... PASS
 * 6c3619b "fix: put all ports together" ... FAIL
  - FAIL - does not have a valid DCO
 * 716c2f1 "fix: put all ports together" ... FAIL
  - FAIL - does not have a valid DCO
 * 3ac97c5 "fix: put all ports together" ... FAIL
  - FAIL - does not have a valid DCO

The last one is passing but it still fails the check because there are bunch of broken commits trailing behind it. Can you squash those commits? (you'll have to force push the branch). Alternatively you can just abandon this PR and create a new one.

@rca0 I squashed this into a single commit. Should be good now!

@rca0 I squashed this into a single commit. Should be good now!

Great!!! thanks @dilyevsky


I want to ask the difference between CacheRedis and Redis

There is no CacheRedis, only Cache.
The difference is:

Cache is used for cache purpose, only some methods provided, like Get, Set, Del, Take etc.
Redis is for general redis access purpose

Thx :D. The naming in the document caused me to ask an unnutritious question, my fault.


fix: Add missing step to configure the consumer data plane

What this PR changes/adds
This PR fixes a missing step in the documentation which specifies the registration of the data plane to consumer.
Why it does that
Because of the missing step, the sample was not working properly

@ndr-brt Thanks for the review. Could you please elaborate this a little more for me? My understanding was that both connectors use their data planes subsystem for data transfer. If the data plane is not supposed to be registered on the consumer side, why is there a data plane config file for it? I tried already executing the sample without registering the data plane for the consumer and it did not work.

@ndr-brt alright. I will open an Issue/Discussion


DO NOT MERGE: Add support for global data

Following on from the work in #501, this does a similar thing to create a global-data.js file where users can store global data.
This is similar to the existing config.js, except all values are auto-imported. We'll keep config.js for more system type config and flags, and things our users might want to set (settings, text snippets) in global-data.js.
As part of this, I've moved serviceName and cookieText to the new file. Those vars are now available under globalData['serviceName'] but for backwards compatibility with templates, I've also assigned them to the app.locals as before.
Changes:

Creates global data file from template if it doesn't exist
Refactors importing of data so that this and session data aren't repeating code
Remove text snippets from config.js
Add new documentation page for global data

@edwardhorsford thanks for this work, I know we discussed it in person a while back, do you remember if there was more to do?

Closing as this is quite old - sorry for the delay. Some of this is covered by default session data, and some could be covered by a 'settings' feature which we will consider in the future.


enable specifying the container entrypoint

The field for specifying the entrypoint was already present in the java code but not exposed to the UI and not forwarded to the create container command.

Where do you want to use it? Launchers are changing it anyway..

The use case are images which I am using with different plugins (e.g. kubernetes-plugin, ...).
Sadly each jenkins plugin has different requirements on how the images have to look like and behave.
To allow reusing my images, I need to customize the entrypoint.

Maybe to explain my intentions: I created the pull request in an early stage to get the discussion running upfront, so feedback is welcome. Also the possibility of declining might be an outcome of the pull request.
My situation:
Currently I can only use the SSH launcher. The images are replacements for physical nodes or VMs with already running services (e.g. Xvfb, x11vnc, dockerd, nfs mounts, ...). I know how bad all that sounds but most of that is done in entrypoints in the image so I do not have to pollute every Jenkinsfile with knowledge about startup of services.
For scaling purposes we use docker legacy swarm. Selection of nodes is based on constraints. In parallel we are evaluating k8s. This said, I need a way to use the images on both plugins without having to create them multiple times. The easiest way to do so is specifying different entrypoints. One which starts sshd the other which starts the slave like https://github.com/jenkinsci/docker-jnlp-slave.
The other approach I was thinking of was creating a new launcher which is able to handle the second type of images.
Easiest way to test was getting the entrypoint field into UI. I will also try the second approach.

Codecov Report

Merging #216 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##             master    #216      +/-   ##
===========================================
- Coverage     20.35%   20.3%   -0.05%
  Complexity      242     242
===========================================
  Files            72      72
  Lines          2884    2891       +7
  Branches        269     270       +1
===========================================
  Hits            587     587
- Misses         2233    2240       +7
  Partials         64      64

Impacted Files
Coverage Δ
Complexity Δ

...styasha/yad/launcher/DockerComputerIOLauncher.java
2.08% <0%> (-0.17%)
0 <0> (ø)

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 61c8d59...ae2f1a3. Read the comment docs.

i think entrypoint+command configuration in createContainer and launchers could be relaxed into extensions... and variables could be injected into container without exec, or placed and then launch logic could be relaxed to custom logic...


Add bridge method to get supported persistence features

What this PR does:
Trivial change to expose Persistence.supports* methods through the bridge. This will be needed for both GraphQL and Docs API.
Which issue(s) this PR fixes:
/
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[x] Documentation added/updated
[x] CLA Signed: DataStax CLA

Sounds good. Would it be feasible to add integration tests for (at least some of) the backends to verify implementations as well? That is, that DSE-6.8 for example reports features we expect it to return, end-to-end.

Sounds good. Would it be feasible to add integration tests for (at least some of) the backends to verify implementations as well? That is, that DSE-6.8 for example reports features we expect it to return, end-to-end.

It's feasible but pretty low-value, the actual implementations are either hard-coded or rely on a system property.

Sounds good. Would it be feasible to add integration tests for (at least some of) the backends to verify implementations as well? That is, that DSE-6.8 for example reports features we expect it to return, end-to-end.

It's feasible but pretty low-value, the actual implementations are either hard-coded or rely on a system property.

Fair enough.


User tracking

GoogleService-Info file was changed to my local firebase test.
Info file was added/altered -> gives access to update location, fetch and process when app is in background

@dfallow  This is now merged, thanks!
Ps. Lets have a chat about this tomorrow


docs: fix url error in readme

What type of PR is this?
docs
What this PR does / why we need it (English/Chinese):
Fix relative url error
修复了相对链接的问题
Which issue(s) this PR fixes:

@zhaobenx LGTM


impl(pubsub):  add flow control tracing connection

Part of #12526

This change is

Sorry I git commit --amend after making the PR so the history might be a little messed up.


"database is locked" with separate connections and SQLITE_OPEN_NO_MUTEX

I'm using rusqlite to access an SQLite database in a multi-threaded application.
I use it mainly through two helpers (one to perform a set of updates in a single DB transaction, the other to perform a query):
https://github.com/revault/revaultd/blob/438c6d1be6a108fe774541c43a00fa7627d29057/src/daemon/database/interface.rs#L36-L79
Aware of SQLITE_THREADSAFE i, by precaution for now, open a new connection at the beginning of each of these routines.
However i have a race where two thread can call the same function at the same time (which calls the writing routine to perform a set of queries and updates in a single transaction) and would surprisingly (as these are on 2 different connections) result in a
database is locked

error.
Am i misusing the API ? Something seems not quite right as i'm 100% confident these are on two separate connections.
Misc information that may help diagnose:

This function called concurrently is "long" in that we are doing many queries and updates in a single transaction
Stating the obvious, no external program is trying to open the DB, it's a fresh DB created for functional tests in a fresh directory in /tmp

Two connections cannot access to the same DB concurrently if at least one writes (it does not matter if the connections are opened by different programs or threads).
(SQLITE_OPEN_NO_MUTEX is meaningless here because it applies only when one connection is used concurrently by multiple threads).
And I guess you are using shared cache because your error is https://sqlite.org/rescode.html#locked and not https://sqlite.org/rescode.html#busy.
There is no MVCC with SQLite (https://sqlite.org/faq.html#q5).

See https://sqlite.org/unlock_notify.html and https://github.com/rusqlite/rusqlite/blob/master/Cargo.toml#L42

Thank you for your prompt answer.
I have to say that the SQLite is pretty misguiding then.. There is mentioned all around the documentation that it does support multi-threading access but not a single time (apart in the FAQ you linked, which i should definitely have read) that it's exclusively for read accesses.
I guess i can close that now that it's been demonstrated i can't read a doc effectively :) Thanks again!

@darosior There are a LOT of subtleties about this in SQLite. The doc you linked explains that any sort of concurrent access can be made thread-safe, but as you noticed, this means a different thing than what level of database concurrency is available. In SQLite, write transactions are always serialized — that is, there can only ever be one write transaction open at a time on the same database file. (Though there can be many read transactions open concurrent with this.)
I think the doc page you're looking for is this: https://sqlite.org/isolation.html
Specifically, in WAL mode, SQLite implements a "serializable" transaction isolation level by using the "snapshot isolation" technique. This is conceptually related to, but at a completely different level of abstraction than the question of which thread-based concurrency model is used.
If you have more questions about this, the SQLite forum is excellent, and by asking a well-considered question, you can expect detailed technical responses from very well-informed individuals.

Two connections cannot access to the same DB concurrently if at least one writes (it does not matter if the connections are opened by different programs or threads). (SQLITE_OPEN_NO_MUTEX is meaningless here because it applies only when one connection is used concurrently by multiple threads). And I guess you are using shared cache because your error is https://sqlite.org/rescode.html#locked and not https://sqlite.org/rescode.html#busy. There is no MVCC with SQLite (https://sqlite.org/faq.html#q5).

I don't believe that it true,

immutable: The immutable parameter is a boolean query parameter that indicates that the database file is stored on read-only media. When immutable is set, SQLite assumes that the database file cannot be changed, even by a process with higher privilege, and so the database is opened read-only and all locking and change detection is disabled. Caution: Setting the immutable property on a database file that does in fact change can result in incorrect query results and/or SQLITE_CORRUPT errors. See also: SQLITE_IOCAP_IMMUTABLE.

The way I read that is subject to potential SQLITE_CORRUPT errors, the database can be opened.

I don't believe that it true,

So you should ask SQLite team to rewrite https://sqlite.org/faq.html#q5

@gwenn good idea & done. https://fossil-scm.org/forum/forumpost/7167956348


Interactive-list_Milestone-2

README
In this milestone,

Add local storage.
Create statusUpdate module for change todo item's status.
Create drag-drop module.

Hi @ahmetbozaci,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


filebrowser - Cannot add another image

Steps:
1.Create new mezzanine project
2.Create DB
3. Login admin
4.Edit Gallery page
5.Upload images
6.Click add another image link
The new edit line:

The first param is invalid for show function.
so the js error is :
Uncaught TypeError: Cannot set property 'value' of null
    at FileSubmit (FB_FileBrowseField.js:16)

Having the same problem.
Anyone knows the last version that worked(including grappelli-safe and filebrowser-safe)?
I have a production app and need add a new image on galery.

As of filebrowser-safe#93, this should be fixed. At any rate the error line you reference no longer exists. For more detail see discussion in grappelli-safe#79.

@ryneeverett, any idea about the release to fix it?
I still without solution for this problem.

@nielsonsantana soon


Potential API shutdown?

Hi there guys,
I have just been looking at the reference docs and it looks like some of these APIS are shutting down. @samtstern can you please confirm the below?

https://developers.google.com/identity/toolkit
How does this impact the auth-without-play-services integration?

@chrisfraser thanks for flagging this!  That note should probably be clearer. The identitytoolkit REST APIs will not be shut down as part of this.  This shutdown only affects the Google Identity Toolkit product which was sort of a precursor to FirebaseUI.

Thanks Sam. I thought as much, but good to get some clarification.


Fix Shared Strings Table parsing when using SST cache

This PR fixes three issues I encountered using the SST cache feature due to errors parsing xl/sharedStrings.xml:

Truncated text where eg. B1 is Blank ---> was being parsed as B1 is Blank ---.  The XML parser was parsing the > at the end of the string as a second XMLEvent which the code ignored.  Fixed by using XMLEventReader.getElementText() instead of XmlEventReader.nextEvent().asCharacters().  Example input:
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="1" uniqueCount="1">
  <si>
    <t>B1 is Blank ---></t>
  </si>
</sst>

The issue with blank strings described in https://github.com/monitorjbl/excel-streaming-reader/issues/100.  This is fixed by using XMLEventReader.getElementText().  Example input:
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="1" uniqueCount="1">
  <si>
    <t/>
  </si>
</sst>

Strings with rich text formatting were getting dropped.  Fixed by adding code to parse the <r><t>...</t></r> pattern (Rich Text Run).  Note that the new code still drops the formatting.  Example input:
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="2" uniqueCount="2">
  <si>
    <r>
      <rPr>
        <b/>
        <sz val="10"/>
        <rFont val="Arial"/>
        <family val="2"/>
      </rPr>
      <t>shared styled string</t>
    </r>
  </si>
</sst>

Looks good to me!


poor motion correction using MI

Implemented option "ants_rigid" with CC by default (commit 848c3380b3c21544dd9b80095ee739a32b89b9df).
It gives much better results, but is very slow. Examples of average DWI are shown below:
Using volume-based ants_rigid with MI:

Using volume-based ants_rigid with CC:

now fixed with sliceReg :-)


Refactor GKE cluster capabilities

GKE Kontainer Engine v2 will use cloud credentials. For checking GKE cluster capabilities cloud credentials should be also used.

I was able to test this and it didn't quite work. Here's how I tested it:

In the API view of Rancher, navigate to /v3/cloudcredentials, click create, and in the googlecredentialConfig field enter {"authEncodedJson": "<escaped service account JSON>"} with the double quotes escaped, the newlines within the private key escaped, and other newlines removed.
Note the ID e.g. "id": "cattle-global-data:cc-n6dwv"
Create an API key in the web UI and copy the bearer token
Make a request:

curl -i -k -u $TOKEN "https://localhost:8443/meta/gkeSubnetworks?cloudCredentialId=cattle-global-data:cc-n6dwv&region=us-west1

It was giving me 500 errors. I made a PR here https://github.com/mjura/rancher/pull/1 to fix the issues, feel free to squash it into your commit.

Kudos to @cmurphy for testing and helping to make it work

I have re-tested it with RAW credential JSON and with Cloud Credentials defined. It works as expected.

issue: https://github.com/rancher/rancher/issues/31678


CSP - use child-src, worker-src

We have a CSP that defines script-src. Chrome/Edge applies that to workers/iframes while Safari doesn't:
[Error] Refused to load http://localhost:9777/static/out/vs/base/worker/workerMain.js#editorWorkerService because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy.

It looks like it wants the child-src directive which after looking at the spec seems actually correct. Tho, we should also try the worker-src directive

@mjbvz Any other insides given you have more CSP knowledge?

Yeah, seems like [worker|frame]-src is the future. FF prints a warning when using child-src, safari prints a warning when using worker-src... 🤷♂ I will add both to make them all happy...


crash at login

my server crashes when a player wants to close the client window during joining
2022-08-31 13:32:21: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback environment_Step(): /home/nik/minetest/bin/../mods/edit_skin/init.lua:101: attempt to index local 'skin' (a nil value)
2022-08-31 13:32:21: ERROR[Main]: stack traceback:
2022-08-31 13:32:21: ERROR[Main]: 	/home/nik/minetest/bin/../mods/edit_skin/init.lua:101: in function 'compile_skin'
2022-08-31 13:32:21: ERROR[Main]: 	/home/nik/minetest/bin/../mods/edit_skin/init.lua:123: in function 'update_player_skin'
2022-08-31 13:32:21: ERROR[Main]: 	/home/nik/minetest/bin/../mods/edit_skin/init.lua:172: in function 'func'
2022-08-31 13:32:21: ERROR[Main]: 	/home/nik/minetest/bin/../builtin/common/after.lua:20: in function </home/nik/minetest/bin/../builtin/common/after.lua:5>
2022-08-31 13:32:21: ERROR[Main]: 	/home/nik/minetest/bin/../builtin/game/register.lua:431: in function </home/nik/minetest/bin/../builtin/game/register.lua:417>

Are you using 3D armor?
Line 170 and following:
	 -- Needed for 3D Armor + sfinv
	if minetest.global_exists("armor") then
		minetest.after(0.01, function() edit_skin.update_player_skin(player) end)
	end

This code is missing an ObjectRef validity check.

Please try it again. I think I have resolved this issue. I was able to reproduce the crash. After fixing the issue, I can't reproduce the crash.

yeah it works! thank you for the quick response


CLI Version Migration Testing

Issue #, if available:
Description of changes:
Framework to run tests of projects initialized at a certain version and tested at another
To specify initial cli version, pass the version as a parameter to npm run setup-profile
Update Testing: Tests functionality when updating project initialized at a previous CLI version
-api
-auth
-storage
-functions
Migration Specific Testing:
-@ searchable
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #3795 into master will increase coverage by 1.25%.
The diff coverage is 83.94%.

@@            Coverage Diff             @@
##           master    #3795      +/-   ##
==========================================
+ Coverage   59.06%   60.32%   +1.25%
==========================================
  Files         289      325      +36
  Lines       13408    14263     +855
  Branches     2542     2684     +142
==========================================
+ Hits         7920     8604     +684
- Misses       5072     5244     +172
+ Partials      416      415       -1

Impacted Files
Coverage Δ

...-appsync-simulator/src/data-loader/lambda/index.ts
33.33% <0.00%> (+3.33%)
:arrow_up:

...ages/amplify-appsync-simulator/src/schema/index.ts
19.40% <0.00%> (ø)

...rver/subscription/mqtt-server/abstract-listener.ts
85.00% <ø> (ø)

...ator/src/server/subscription/mqtt-server/client.ts
8.97% <ø> (ø)

...c/server/subscription/mqtt-server/trie-listener.ts
36.66% <ø> (ø)

...ulator/src/server/subscription/mqtt-server/util.ts
33.33% <ø> (ø)

packages/amplify-cli/src/context-extensions.ts
31.29% <0.00%> (+0.23%)
:arrow_up:

packages/amplify-cli/src/domain/amplify-toolkit.ts
1.58% <0.00%> (-0.03%)
:arrow_down:

...amplify-codegen-appsync-model-plugin/src/preset.ts
0.00% <0.00%> (ø)

...-plugin/src/visitors/appsync-typescript-visitor.ts
60.00% <22.22%> (+60.00%)
:arrow_up:

... and 85 more

Continue to review full report at Codecov.

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

We need to add a job in the circleci config.yml file to show how migration tests are setup and invoked. When and where to invoked the job can be decided in the next step.
IMHO, the exported util and categories functions in the amplify-e2e-core should not be directly exported. Naming each exported module in the core will make it  easier to maintain going forward to avoid name clashes between categories and utils modules.

Included jobs in the config.yml file for latest and v4.0.0 migration


Move manifest_util.py into utils/

*OSBS-8605
Also change files which import manifest_util.py
Signed-off-by: Salatskyi Serhii<EMAIL_ADDRESS>Maintainers will complete the following section:

[ ] Commit messages are descriptive enough
[ ] "Signed-off-by:" line is present in each commit
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request includes link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

Needs rebase

Commit was moved in #1394 PR


[CI/CD] We need a GitHub action to run CI

As this project is a website so we may need a GitHub action to run CI and put the compile files onto OSS in order to review.
We may need to determine what the dependencies we need to compile the project.

@tyn1998 Can you give us a list of dependencies we need to install separately rather than npm install or yarn install?

@tyn1998 Can you give us a list of dependencies we need to install separately rather than npm install or yarn install?

My case:

CPU: Apple M1 Pro
OS: MacOS Moterey
yarn: v1.22.17
node: 17.0.1

When I fisrt ran yarn install, I was told yarn is "Buiding fresh packages". It seemed that some packages had to be built from scratch. Unfortunately, some core components for building the packages were not in my environment, so I brew install them one by one according to yarn's suggestion.
These core components are:

pkg-config
pixman
cairo
pango

After brew install them, I succeeded to finish the yarn install process.

OK, I will review your PRs after CI get ready.


Allow a header to be specified for forwarding

Hey @mariussturm
After posting the issue #2 i had a look though the code and saw it was pretty straight forward so I basically just copied and pasted the Referrer and Cookie bits to allow a header to be specified.

Ah nice, thanks for the PR!


App service backups - security features for storage accounts - not all restrictions are listed

On the page https://learn.microsoft.com/en-gb/azure/app-service/manage-backup?tabs=portal#can-i-use-a-storage-account-that-has-security-features-enabled, there is one more security feature which prevents custom backups from working

If the storage account has the option "Allow storage account key access = Disabled", then the backups will fail

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

ID: 4754bcfc-204a-d398-6b86-e452cd0d44a1
Version Independent ID: 157885c4-2579-8f98-1e85-c3063a861207
Content: Back up an app - Azure App Service
Content Source: articles/app-service/manage-backup.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@bubbletroubles  The PR has been raised once reviewed by author of doc will be visible in document.
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Support language profile selection for Sonarr

Please consider letting the user choose the language for the series. Radarr includes the language in the quality profile but Sonarr has a different parameter called "Language profile" which from my understanding is not currently selectable via Searcharr. Thank you for your work, this is an amazing tool!

I didn't even know language profiles existed in sonarr... I will look into adding support for them.

Thanks!

@LucaVignati, it appears Sonarr is deprecating language profiles and adding language support to custom quality profiles instead. After upgrading to Sonarr v4 in my test instance, the response to the languageprofile API endpoint has changed to this:
[
  {
    "name": "Deprecated",
    "upgradeAllowed": true,
    "cutoff": {
      "id": 1,
      "name": "English"
    },
    "languages": [
      {
        "language": {
          "id": 1,
          "name": "English"
        },
        "allowed": true
      }
    ],
    "id": 1
  }
]

As a result, I am going to remove language profile support from Searcharr v3.


Add Logging Interface

It is useful to have very fine grained logging information, the library should provide a logging interface that users can utilize to get more in-depth information on what goes on internally.
This should probably adopt a builder-like pattern,  maybe
ReLinker.log(myLogger).loadLibrary(context, "badlib");

or perhaps, just attach a logger once
ReLinker.attachLogger(myLogger);

2bffed16d4988cffcd16b96a0be44a40bf813879


ALG-EVALUATION is logged twice for predicts in all apps

ALG-EVALUATION is logged in broker tasks so that it can log enqueue time. But its also logged in the app predict (its updated).

This issue was made in confusion. In fact, ALG-EVALUATION and ALG-DURATION are different and correctly logged separately


[PROPOSAL] Residual block adding layer

Reasoning
Skip layers help to mitigate vanishing gradient problem. They are a fundamental part of many modern neural networks.
Prior Art
(https://www.tensorflow.org/api_docs/python/tf/keras/layers/Add)
Tensorflow implementation of residual block: https://github.com/christianversloot/machine-learning-articles/blob/main/how-to-build-a-resnet-from-scratch-with-tensorflow-2-and-keras.md
Additional information
No response

This has been implemented as of df2e707452b832ba4dbd107e17d16f67a5b2ef70 and it reproduces the same result as before for the mnist example. From my initial testing, this implementation has resulted in no speed reduction to the code for the mnist example.
Notes

this has temporarily removed the ability to provide skip inputs (previously implemented as addit_input), but the framework is there to accept any number of input layers that can feed in at multiple points to the network, so should be even better implementation.
Convolutional layers still allow padding as before, but this NEEDS to be handled better (via the specific layer) instead of changing the prior inputs. Issue #6 has been open for some time with the plan to resolve this.

With the initial implementation showing good results, I am going to move this to an intended feature of version 2 as it works well alongside the change in inputs and outputs #19.


Revert feat: position and alignment properties (#160)

What was wrong with the reverted commit?

The new feature (positionTarget) requires a new minor (as it's new API) and it's planned for 3.3, which is currently at alpha. The commit (and the new API) got somehow accidentally included to the 3.2 branch so it was reverted yesterday.


[CI Problem] test_arm_mprofile_dsp.py timing out in CI

This has started to time out in various tests in CPU Integration job several times over the past few days on main:

https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/2435/pipeline/272
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/2431/pipeline
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/2428/pipeline
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/2426/pipeline/276
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/2416/pipeline
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/2417/pipeline/272
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/2413/pipeline/272

and on several PRs. After inspecting the timeout logs it looks like this test isn't the actual problem, but that it's just happening to run when CI reaches its limit

fixed, the new Jenkins rollout was using different nodes for autoscaled workers vs persistent workers, leading to increased runtimes which hit the timeouts


Subscribe to Newsletter  - User Interface Improvements

Task
Modify the content according to design, also make it responsive.

@palakgupta2712
Don't you think that existing design is already good with some minor tweaks

DESIGN :
Initial Design

Input box focused

Button on hover

color used -
for button - #163588
for button hover - #e20665
for input focused - #f5c4f1

I would like to take this task please assign it to me

@rohan09-raj it would be great if we add the link of figma for this design & also make sure that we have added the responsive design also to the file.

@rohan09-raj it would be great if we add the link of figma for this design & also make sure that we have added the responsive design also to the file.

Yeah sure, will create it with all the details mentioned in figma

HTML CODE:-

Get Event Notification right in your inbox

Email Address

SUSCRIBE

CSS CODE:-
.a{
font-weight:bold;
font-size:28px;
text-style:sans-serif;
margin-bottom: 22px;
font-family: 'Roboto', sans-serif;
}
.b{
font-weight:bold;
font-size:14px;
font-family: 'Roboto', sans-serif;
color: #343a40;
margin-bottom:5px;
}
.c{
height:40px;
width:332px;
border: 2px solid black;
border-radius:4px;
}
.ss{
margin-left:6px;
}
.d{
height: 46px;
width: 130px;
font-weight:bold;
border-radius: 4px;
color:white;
background-color:#302f97;
}

@rohan09-raj  Can you assign me this issue ?


confusing documentation of --opt-heuristic

Clasp reports:
--opt-heuristic=<list>  : Use opt. in <list {sign|model}> heuristics

What about
--opt-heuristic=<list>  : Signs for literals subject to optimization
    <list>: {sign|model}
      sign : Use signs minimizing objective
      model: Use signs from literals in last model

It is also a bit unclear how to pass an empty list. It seems like the numeric 0 is possible but not the empty string.

I went with:
  --opt-heuristic=<list>  : Enable optimization heuristic
      <list>: {sign|model}
        sign : Prefer signs minimizing objective
        model: Assume literals minimizing objective after each model

Does this work for you?

It is also a bit unclear how to pass an empty list. It seems like the numeric 0 is possible but not the empty string.

You can pass all supported "off" values (0, "off", "no", "false") where a <list> is expected. I'd like to keep the empty string reserved for flag-like options.

I went with:
  --opt-heuristic=<list>  : Enable optimization heuristic
      <list>: {sign|model}
        sign : Prefer signs minimizing objective
        model: Assume literals minimizing objective after each model

Does this work for you?

Sure was a small nitpick anyway. Was just pointing someone at the option and stumbled over the description.

It is also a bit unclear how to pass an empty list. It seems like the numeric 0 is possible but not the empty string.

You can pass all supported "off" values (0, "off", "no", "false") where a <list> is expected. I'd like to keep the empty string reserved for flag-like options.

Perfect, off is also a good value to disable it.
Thanks!


Feature/deactivate user queries

This implements the idea from #30.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Alexander Levin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[CLOSED] Add support for Date in GRMustache

 Issue by Wilson-Ding1
Thursday Sep 28, 2017 at 04:25 GMT
Originally opened as https://github.ibm.com/IBM-Swift/GRMustache.swift/issues/8

 Issue by vadimeisenbergibm
Wednesday Apr 05, 2017 at 15:26 GMT
Originally opened as https://github.com/IBM-Swift/GRMustache.swift/pull/8

Issue https://github.com/IBM-Swift/Kitura/issues/1062.

vadimeisenbergibm included the following code: https://github.com/IBM-Swift/GRMustache.swift/pull/8/commits

 Comment by Wilson-Ding1
Thursday Sep 28, 2017 at 04:25 GMT

 Comment by shmuelk
Wednesday Apr 05, 2017 at 15:32 GMT

LGTM


Arm Template Outline doesn't show up when you first open a file, but does when you tab back to it

Looks like a vscode bug. It would be nice to move into the default Outline window, though.

I fixed the bug in #483.
To get into the normal outline view the extension needs to register a DocumentSymbolProvider.
That would also give it the bread crumb and go to symbol features.
Do you want to implement the DocumentSymbolProvider in LanguageServer (C#) or should try to do it in typescript?

Fixed by #483
As per DocumentSymbolProvider, if we go that route, it would probably make more sense to convert what we already have in TypeScript, right?  I've never used bread crumbs or go to symbol, though.  Wondering if it's worth the effort.

I did a first implementation in https://github.com/nilshedstrom/vscode-azurearmtools/tree/outline
I did not find a way to have custom icons for the resources.
I dont know if it makes sense to have an outline and an ARM template outline.

I'll take a look next week.

This release went out today. The extension should auto-update and at that time will include this functionality / fix.


Test Case Completed - Nazmus Saquib

Dear Reviewer,
Thank you for taking time to review the code. I look forward to receiving your feedbacks.
Best regards,
-Nazmus


wav2vec2-fine-tuning-checkpoint.ipynb cell hangs

In audio_processing/wav2vec2-fine-tuning-checkpoint.ipynb
Cell 8 chars_to_ignore_regex = ... appears to hang at
remove special characters from datasets: 0% 0/28539 [00:00<?, ? examples/s]
gc-monitor shows no processes
Rest of notebook is blocked.
Cell Stop button was unresponsive, restarted kernel.

This could be intermittent; will confirm if time.


[CARBONDATA-1853] [WIP] Add support for UDF positionID

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/474/

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/475/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1733/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2122/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2124/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/485/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1749/


Not working on API 22

Below attached is the code snippet
    private DotsTextView mLoadingDots;
@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.activity_splash);
	mLoadingDots = (DotsTextView) findViewById(R.id.dots_text);
	mLoadingDots.start();
            mLoadingDots.showAndPlay();

in my layout ive added
       <pl.tajchert.sample.DotsTextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/dots_text"
        android:textSize="50sp"
        android:paddingBottom="10dp"
        android:layout_marginLeft="5dp"
        dots:autoplay="true"
        dots:period="250" />

in my build.grade
dependencies {
compile 'pl.tajchert:waitingdots:0.2.0'
}
changing to 0.1.0 gets it working but the animation is weird
it comes from left to right then starts jumping(lagging all the way)
tested on nexus 5 and moto g1 running 5.1

doesnt work on 6.0 too

I'm also experiencing the same issue on 6.0.1.
v0.2.0 is not visible at all, yet v0.1.0 is visible but has laggy animation.

Anything new about this issue?

Yes, I created a pull request with a workaround @martinflorek

@Dennis123789 thanks! :+1:


IllegalStateException: Can not perform this action after onSaveInstanceState

Hey,
Repeatable crash (happens enough that I can grab it in a debugger and get any other info you need).
'com.mixpanel.android:mixpanel-android:4.5.3'
Seems to happen when we're changing activities, and have recently set/unset properties with MixpanelAPI.People.set(String propertyName, Object value)
Properties never seem to end up in our Mixpanel account.
Please let me know whatever I else I can provide to get this resolved.
Full stack traces are below (one exception causes another). The last non-Android line is:
com.mixpanel.android.mpmetrics.InAppFragment.cleanUp(InAppFragment.java:221)
Cheers
Mike
04-16 15:59:59.490 16632-16632/com.devicemagic.androidx.forms E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.devicemagic.androidx.forms, PID: 16632
java.lang.RuntimeException: Unable to pause activity {com.devicemagic.androidx.forms/com.devicemagic.androidx.forms.ui.BaseActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3271)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3226)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3204)
at android.app.ActivityThread.access$1100(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1288)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1323)
at android.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1341)
at android.app.BackStackRecord.commitInternal(BackStackRecord.java:597)
at android.app.BackStackRecord.commit(BackStackRecord.java:575)
at com.mixpanel.android.mpmetrics.InAppFragment.cleanUp(InAppFragment.java:221)
at com.mixpanel.android.mpmetrics.InAppFragment.onPause(InAppFragment.java:210)
at android.app.Fragment.performPause(Fragment.java:1859)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:935)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1044)
at android.app.FragmentManagerImpl.dispatchPause(FragmentManager.java:1873)
at android.app.Activity.performPause(Activity.java:5575)
at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1239)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3257)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3226)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3204)
at android.app.ActivityThread.access$1100(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1288)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)

Yow! This is a problem! Have you sent an in-app notification (and in particular, is that notification showing during the crash?)
Thank you so much for reporting this!

Hey Joe,
Thanks for the quick response.
It's a test Mixpanel project which we're using to play with Mixpanel integration (I can send you the details in private, if it helps), and we did experiment with notifications and surveys, but I don't believe to the specific device I was working with. In fact I don't see any trace of that device in the people event stream, It's not impossible that one of my colleagues did test a general notification though. Can I check that somehow?
I got the standard "App has stopped working/responding" Android response from the device, pretty much as I was transitioning activities. From the logcat trail I grabbed the stack trace. I didn't see anything else unusual/suspicious in the log. I didn't see any notification UI, but the screen had greyed with the "stopped" message.
I overrode the onSaveInstanceState for the activity where we do the Mixpanel start/flush calls (our base activity), and hit a breakpoint in a catch for the exception, but couldn't glean any extra info.
What else can I send you to help?
Cheers
Mike

This is a big help! Whether or not you're sending inApps, the library should absolutely not crash your app! From the stack trace you sent, it does look like you're sending a notification, but if you never see it, well, that's a problem, too!
I'm interested in the work you're doing in onSaveInstanceState - that might give me a hint for where to check. You're also welcome to send any details you don't feel comfortable posting here to<EMAIL_ADDRESS>(that's me, I'm a maintainer of the lib) and/or<EMAIL_ADDRESS>(who will be sure I see it in any case) - would you consider emailing me the code of your original onSaveInstanceState? (the one that is running during the crash?)

Hey Joe,
This activity doesn't actually override onSaveInstanceState. (I did it when testing after the crash to see what I could see.)
Here's the sequence of events that causes the crash:
This activity (BaseActivity) is up and running (onCreate, onResume).
It pushes another activity in front of it.
An intent comes through, the topmost activity completes.
onResume in this activity runs again, and it then tries to push another new activity.
Kaboom! (Before the new pushed activity becomes visible)
This activity (BaseActivity) is where we call MixpanelTracker.start(this) in onCreate and MixpanelTracker.flush() in onDestroy
It may be a timing thing - I was on a breakpoint in the debugger, and after looking around, resumed execution, and it ran through fine. I grey bar at the bottom of the screen appeared very briefly with what looked like a notification, but disappeared very quickly and I didn't get a good look.
Cheers
Mike

Gotcha- it makes sense that this is a race with a fragment (and that may be why we're having a hard time reproducing it here)

#300 will fix this issue. This patch will be available in the next release.

v5.2.1 - crash is still there
java.lang.IllegalStateException:
  at android.app.FragmentManagerImpl.checkStateLoss (FragmentManager.java:1438)
  at android.app.FragmentManagerImpl.enqueueAction (FragmentManager.java:1456)
  at android.app.BackStackRecord.commitInternal (BackStackRecord.java:707)
  at android.app.BackStackRecord.commit (BackStackRecord.java:671)
  at aue.a (InAppFragment.java:258)
  at aue.onSaveInstanceState (InAppFragment.java:240)
  at android.app.Fragment.performSaveInstanceState (Fragment.java:2514)
  at android.app.FragmentManagerImpl.saveFragmentBasicState (FragmentManager.java:1767)
  at android.app.FragmentManagerImpl.saveAllState (FragmentManager.java:1824)
  at android.app.FragmentController.saveAllState (FragmentController.java:113)
  at android.app.Activity.onSaveInstanceState (Activity.java:1574)
  at gb.onSaveInstanceState (SupportActivity.java:74)
  at fd.onSaveInstanceState (FragmentActivity.java:538)
  at kk.onSaveInstanceState (AppCompatActivity.java:509)
  at bjr.onSaveInstanceState (BaseActivity.java:227)
  at net.easypark.android.mvp.home.MainActivity.onSaveInstanceState (MainActivity.java:229)
  at android.app.Activity.performSaveInstanceState (Activity.java:1503)
  at android.app.Instrumentation.callActivityOnSaveInstanceState (Instrumentation.java:1308)
  at android.app.ActivityThread.callCallActivityOnSaveInstanceState (ActivityThread.java:4943)
  at android.app.ActivityThread.performStopActivityInner (ActivityThread.java:4231)
  at android.app.ActivityThread.handleStopActivity (ActivityThread.java:4290)
  at android.app.ActivityThread.-wrap28 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1665)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6682)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)

Problematic code:
    private void cleanUp() {
        if (!mCleanedUp) {
            mHandler.removeCallbacks(mRemover);
            mHandler.removeCallbacks(mDisplayMini);
            UpdateDisplayState.releaseDisplayState(mDisplayStateId);

            final FragmentManager fragmentManager = mParent.getFragmentManager();
            FragmentTransaction transaction = fragmentManager.beginTransaction();
            transaction.remove(this).commit();
        }

        mCleanedUp = true;
    }

Cause of the problem:

after call of onSaveInstanceState fragment manager cannot apply any transactions

Possible solution:

call cleanUp method from onPause, but do not call from onSaveInstanceState

Take a look into Lifecycle in Depth https://imgur.com/lUtGxVO

and make mCleanedUp AtomicBoolean or transient


Key.Activate returns "Could not find the key" error or Win32Exception

In Unity, I got "Could not find the key" error when running machineCode = "foo"  and

Win32Exception: ApplicationName='cmd.exe', CommandLine='/C wmic csproduct get uuid', CurrentDirectory='', Native error= no files in the system.
System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at :0)
System.Diagnostics.Process.Start () (at :0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()

when I run machineCode = Helpers.GetMachineCodePI()
The Cryptolens.Licensing.CrossPlatform.4.0.34 package is impoerted in Unity assets by Nuget.
The code as belows:
var RSAPubKey = "<RSAKeyValue><Modulus>***</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>";
var auth = "WyIyMjQ5MDM0IiwiM3hoV2ZpWENWWHA4LzNsTnFOc1BJaDBlblArN1RVREE2bzJWUFlNRCJd";
Helpers.WindowsOnly = true;
var machineCode = Helpers.GetMachineCodePI();
//var machineCode = "foo";
var result = Key.Activate(token: auth, productId: 11596, key: "EPLVQ-LDNEM-DDUPD-TLBQY", machineCode: machineCode);

PS: Even if the error comes with "Could not find the key", the Log API Logs still detects the key verification error:

Status
Error

ID
83915679

Time (UTC)
2021-07-06 08:29:00

IP
116..*.0

Product Id
11596

Key
EPLVQ-LDNEM-DDUPD-TLBQY

Machine Code
foo

Friendly Name

Operation
The activation was not successful (no machine locking was enabled)

State
2020

Anomaly
No

@RealBrandonChen Hi!
Thanks for your question.
I checked on our end and it appears that the first issue (that returned Could not find the key) is because of the access token. The one that was used has Key Lock set to a non-zero value. To fix this, could you please re-create the access token so that this value is set to zero (or empty), i.e. as follows:

Regarding the second error, could you please check if the following method works better? Helpers.GetMachineCode()?

@artemlos Thanks for your reply! It perfectly solve the first question and the Key Verification now turns to Sucess with Key Lock set to non-zero! But I still can not get the machine code and the Log API Logs had no response if I was running Helpers.GetMachineCode() or Helpers.GetMachineCodePI().


Corrected Singapore phone number length to 8

SG is 8 digits (e.g., 1234-5678)

@all-contributors please add @jgeewax for code

@all-contributors please add @jgeewax for code

Damn :laughing:  I'll have to resolve another conflict by myself


multiple ternary operator challenge - add note about code readability

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #36260
Hey, as @ojeytonwilliams suggested in #36260, I've updated Basic JavaScript: Use Multiple Conditional (Ternary) Operators to include note about proper code readability when using multiple ternary operators.
However, I've done that only for English - I don't know any of the other languages.
What do you think about it?

@thecodingaviator I'm happy with this now, feel free to merge if you are.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Are reported XSS issues still present in 3.0.2?

I was wondering if the issues reported here: https://www.cvedetails.com/vulnerability-list/vendor_id-14953/product_id-30363/Directwebremoting-Direct-Web-Remoting.html are still present in the latest 3.0.2 version of DWR?

Please do not use the issue tracker for questions.
First search our mailing list archive at http://dwr.2114559.n2.nabble.com/ and then if needed ask questions in our new forum at https://discourse.dojo.io/c/dwr-users.


"git repository is invalid" when attempting to run DALL-E Mega on Windows

When trying to run DALL-E mega on windows, I get the following error in logs:
2022-06-07 18:40:23,810 DEBUG   HandlerThread:20932 [meta.py:probe():209] probe
2022-06-07 18:40:23,821 DEBUG   HandlerThread:20932 [git.py:repo():29] git repository is invalid

After we run it, everything looks good until it finishes downloading the mega model, then it just spits me back to the cursor with no further information. I found that error after looking through the logs. Me and a friend have tried several troubleshooting steps (including throwing everything out and starting over) but we'e not sure where to go from here. We were able to get DALL-E Mini running correctly, so we think we should be able to get this too with some help.
Thanks all!

@DigitalDwagon can you please post the exact steps you took so I can reproduce this on my end?

Fixed with #26 and #29


imu data not consistent with earth gravity at rest (needs zgo calibration?)

Data returned from an IMU node is not consistent with Earth gravity of 9.81 m/s^2 on the Y-axis.
My OAK-D instead returns a vector magnitude value 10.20799. And the gravity component changes between X and Y axes.
Please reference the IMU Datasheet provided by Luxonis https://www.ceva-dsp.com/wp-content/uploads/2019/10/BNO080_085-Datasheet.pdf
Setup

OAK-D via BW1098OBC
depthai-core v2.13.3 + xlink move/thread fixes
Microsoft Windows [Version 10.0.19044.1415]

Repro

Place your OAK-D on a flat stable non-moving surface with the RGB camera facing you and the USB port towards Earth center.

The magnitude of the accelerometer data above is 10.20799 which is 4% larger than expected.
The IMU datasheets claims an accuracy of 0.3 m/s^2.
10.20799 - 9.81 = 0.39799 making it outside the datasheet's accuracy claim and 5% larger than expected 9.81.
This unexpected accelerometer data is seen in all enums ACCELEROMETER, ACCELEROMETER_RAW, and GRAVITY
In a separate app I wrote, I see the same errors across different outputs...
ACCELEROMETER       -10.109375    -0.34375    -0.460938
ACCELEROMETER_RAW    -0.344765    10.151415   -0.459687
GRAVITY             -10.1875      -0.34375    -0.492188

In addition, the gravity component (very likely the 10.1 value) changes between the X and Y axes depending on what output is chosen with enum class dai::IMUSensor. This is unexpected and not in alignment with the IMU datasheet section 2 which specifies a fixed coordinate system. This would then make it impossible for the gravity component to change axes.
Expected
At rest, the normal of the x,y,z vector from the accelerometer should be ~9.81.
I would expect the coordinate system for acceleration and gravity to be shared as documented in IMU datasheet section 2. Since gravity is derived from the raw accelerometer. Meaning I would e:xpect:  accelerometer_linear + gravity = accelerometer. But that is not possible given the actual data being output via depthai APIs.
It is also unusual the gravity component changes +/-, but maybe the documentation is lax in that.
Yes, I can negate and flip order...but it is suspicious that the "10" component is changing its coordinate system. It makes me suspect math error, or pointer offset error, struct member name/misuse, etc.
Notes
Is the 5% error due to section 3.2.1 ZGO errors?
If so, then we need a mechanism to "dynamic calibrate" datasheet section 3 the accelerometer -as distinct- from extrinsic calibration of https://github.com/luxonis/depthai-core/issues/155
Or has there been a "Static calibration" datasheet section 3 burned into the IMU already?

I would expect the coordinate system for acceleration and gravity to be shared as documented in IMU datasheet section 2. Since gravity is derived from the raw accelerometer. Meaning I would e:xpect: accelerometer_linear + gravity = accelerometer. But that is not possible given the actual data being output via depthai APIs.

This indeed should be the case, as a matter of fact, I tested on several boards, and the coordinate system is the same for gravity/accelerometer. Here is the test script.
Can you set DEPTHAI_LEVEL=info and confirm that the IMU FW version is the following:
[IMU(0)] [info] IMU product ID:
[IMU(0)] [info] Part 10004148 : Version 3.9.7 Build 224
[IMU(0)] [info] Part 10003606 : Version 1.7.3 Build 337
[IMU(0)] [info] Part 10004135 : Version 5.5.1 Build 159
[IMU(0)] [info] Part 10004149 : Version 5.1.11 Build 182

Currently we don't calibrate IMU, so no extrinsic calibration or static/dynamic calibration is performed therefore there are differences between boards/accuracy. We expect to add IMU calibration next year in Q1.

Hi. I see unexpected results.

installed current v3.0.7 using https://docs.luxonis.com/en/latest/#demo-script
verified demo py app works
saved your linked test script to file
ran that script

// dai.IMUSensor.GRAVITY
Accelerometer timestamp: 1388.323 ms
Accelerometer [m/s^2]: x: -10.171875 y: -0.625000 z: 0.570312
Total: 10.20700359377233

// dai.IMUSensor.ACCELEROMETER
Accelerometer timestamp: 688.716 ms
Accelerometer [m/s^2]: x: -10.109375 y: -0.613281 z: 0.613281
Total: 10.146511256280561

// dai.IMUSensor.ACCELEROMETER_RAW
Accelerometer timestamp: 685.052 ms
Accelerometer [m/s^2]: x: -0.651223 y: 10.113108 z: 0.574608
Total: 10.15033068502249

The "10" component is changing axes between X and Y.
This is the same unexpected results I got with my C++ in OP.
Info debug output shows significantly different versions that yours...
[14442C10C1A1C6D200] [107.872] [system] [info] Memory Usage - DDR: 0.12 / 358.55 MiB, CMX: 2.05 / 2.50 MiB, LeonOS Heap: 6.72 / 78.59 MiB, LeonRT Heap: 2.88 / 23.84 MiB
[14442C10C1A1C6D200] [107.872] [system] [info] Temperatures - Average: 30.01 ┬░C, CSS: 31.77 ┬░C, MSS 29.83 ┬░C, UPA: 28.62 ┬░C, DSS: 29.83 ┬░C
[14442C10C1A1C6D200] [107.872] [system] [info] Cpu Usage - LeonOS 11.92%, LeonRT: 2.45%
[14442C10C1A1C6D200] [107.882] [system] [info] SIPP (Signal Image Processing Pipeline) internal buffer size '16384'B
[14442C10C1A1C6D200] [108.133] [IMU(0)] [Accelerometer timestamp: 0.000 ms
Accelerometer [m/s^2]: x: -0.612916 y: 10.113108 z: 0.536301
Total: 10.145847994191397
info] IMU product ID:
[14442C10C1A1C6D200] [108.133] [IMU(0)] [info] Part 10004148 : Version 3.2.13 Build 6

[14442C10C1A1C6D200] [108.133] [IMU(0)] [info] Part 10003606 : Version 1.2.4 Build 230

[14442C10C1A1C6D200] [108.133] [IMU(0)] [info] Part 10003254 : Version 4.4.3 Build 485

[14442C10C1A1C6D200] [108.133] [IMU(0)] [info] Part 10003171 : Version 4.2.10 Build 548

@diablodale you have a device that was shipped before factory calibration, which has older IMU FW.
Please checkout the following branch: https://github.com/luxonis/depthai/tree/UI-test-tools-Production
Run install_requirements.py then oak-d.sh (python3 depthai_demo.py -s left right previewout meta_d2h jpegout -monor 400 -monof 10 -rgbf 10 -tm OAK_D_test).
It will update IMU firmware to the latest.

Yes. This was discovered and led to me using the cali tool for depth<->color several weeks ago.
It is possible now or in the future for customers to have IMUs that don't meet the requirements of depthai-core. My OAK-D is an example.
Could depthai-core do the check itself on IMU startup?
Or can it expose the firmware versions so my app can do the check?
dai::EepromData doesn't show any obvious way to check IMU firmware.

Could depthai-core do the check itself on IMU startup

Yes, will add it.

Got it.  I also understand you have a queue of dev work.
I will delay updating my IMU firmware as long as I can. Hopefully that will be enough time for you to add code and then I can verify that my app correctly handles the error/exception on IMU startup.
Happy new year! 🎉🎆

No improvement with updated IMU firmware. My OAK-D IMU accelerometer outputs are still unexpected/inconsistent

I followed your IMU firmware update procedure. I got the green dot after it updated.
I then ran your imu_test script. It now reports exact the same firmware as you list above.[14442C10C1A1C6D200] [96.995] [IMU(0)] [Accelerometer timestamp: 0.000 ms
Accelerometer [m/s^2]: x: -10.171875 y: -0.257812 z: -0.523438
infoTotal: 10.188596327129046
] IMU product ID:
[14442C10C1A1C6D200] [96.995] [IMU(0)] [info] Part 10004148 : Version 3.9.7 Build 224
[14442C10C1A1C6D200] [96.995] [IMU(0)] [info] Part 10003606 : Version 1.7.3 Build 337
[14442C10C1A1C6D200] [96.996] [IMU(0)] [info] Part 10004135 : Version 5.5.1 Build 159
[14442C10C1A1C6D200] [96.996] [IMU(0)] [info] Part 10004149 : Version 5.1.11 Build 182

I then ran the imu_test script with the three different IMU outputs: accelerometer, accelerometer_raw, and gravity

Result
No change. The outputs continue to be unexpected. I get the same signs and values as in the OP.
Here are outputs from your test script and changing line 18-20 to get the different outputs
My early production OAK-D is somewhat level sitting on a table.
// ACCELEROMETER
Accelerometer timestamp: 515.076 ms
Accelerometer [m/s^2]: x: -10.156250 y: -0.296875 z: -0.468750
Total: 10.171394957950703
Accelerometer timestamp: 530.792 ms
Accelerometer [m/s^2]: x: -10.269531 y: -0.269531 z: -0.488281
Total: 10.284665175325577

// ACCELEROMETER_RAW
Accelerometer timestamp: 506.852 ms
Accelerometer [m/s^2]: x: -0.287304 y: 10.199299 z: -0.497994
Total: 10.215490143768207
Accelerometer timestamp: 522.568 ms
Accelerometer [m/s^2]: x: -0.287304 y: 10.160992 z: -0.507571
Total: 10.177717005808487

// GRAVITY
Accelerometer timestamp: 184.832 ms
Accelerometer [m/s^2]: x: -10.210938 y: -0.273438 z: -0.523438
Total: 10.228000758296742
Accelerometer timestamp: 204.582 ms
Accelerometer [m/s^2]: x: -10.210938 y: -0.273438 z: -0.523438
Total: 10.228000758296742

@diablodale I would agree with you here that I observe the same thing on quite a few Series 2 units I have, installed with BNO085. The gravity vector is often too large at rest.

hi @szabi-luxonis, how can an app using depthai-core v2.20.2 know that the IMU needs a firmware update?
I don't see an api that gives me the IMU firmware version or a boolean that the firmware is outdated.
I do see how to enable the 'do the update' flag in example https://github.com/luxonis/depthai-core/blob/b69461067e0d7b7896a61fd5fa5738fac7dc6026/examples/IMU/imu_firmware_update.cpp#L47


WIP: Feature/theme support

Closes #343

Please ignore all above title changes and reviews, I am testing the WIP GitHub plugin.

Reopened for collaboration

Hi guys! Love to see there's already a PR on this and support for a Dark theme is coming.
I would love to still collaborate adding some themes myself, copying from my favourites from my IDE's and terminal config files.
Is there any documentation on that? Maybe I could help document my process if you let me know which files should I are where and based on what.
Thanks in advance for reading, and keep on making awesome software open source!

Closing as discussed with @LKuechler in person.


Use the new rate limit MemoryStore.shutdown

Upgrade express-rate-limit to 6.6.0 and use the new MemoryStore.shutdown
https://github.com/nfriedly/express-rate-limit/pull/322
Thank you @nfriedly and @gamemaker1!

Coverage increased (+0.05%) to 94.391% when pulling 82c8c24e7a5f2b9360238828f4989c8417d07445 on cody-use-rate-limit-memory-store into d59df2287369bc30ccf8e118eaf2ac5ee601e2a6 on main.


Earcanals changes, plus automated testing

Might also add in generating the experiment container, not decided yet. When merged, this will close #2

@earcanal please watch the PR here - the testing that is running (and will need to pass) is here: https://circleci.com/gh/expfactory-experiments/state-mindfulness-survey/4

based on build time alone, this would be hugely improved if you provided a container base!

okay @earcanal I will make changes working with you! The build takes a LONG time but here is the final error:
#!/bin/bash -eo pipefail
R -e 'devtools::check()'
R -e 'devtools::test()'

R version 3.4.1 (2017-06-30) -- "Single Candle"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> devtools::check()
Error: Could not find package root.
Execution halted
Exited with code 1

Per my understanding, the devtools check is to do testing of a package proper, not to use a testing package to test (different things). So I think you might have the wrong command?

Hey @earcanal so here is how I understand it:

the package (with the Description, etc.) should be built in the CI. the package we build is responsible just for testing / interacting with expfactory data
thus, to DO the actual testing of the experiment, we should (with the $PWD as the experiment, or where the data is) have something that looks like library('expfactoryR') and then call the function to test.

The devtools:: family of functions (I think) would just be for developing the packages, which is also important (and we might do in this PR) but different? Feel free to update the PR / tell me what to change to help this to work. I actually think we should step back and provide the expfactoryR in a container FIRST then just pull it to test the data for this particular experiment. How is your progress on that repo going?

heeeey it worked! And you get an artifact too!
https://6-110564701-gh.circle-artifacts.com/0/man/state_mindfulness_scale.Rd
I'm going to remove on line that is commented out (that we don't need) and after the rebuild / test I will merge.


Subscribe to newsletter form response

Get success/error response back from Pardot Form Handler.
Linked to #96 and its comments history.

@williebender Please provide "standard" response message for success and error.

confirmed as done
as tested on https://245-subs-form-response--vg-volvotrucks-us-rd--netcentric.hlx.page/drafts/manuel.vara/homepage-test


Use MDN data to power the CSS language server

I just had a chat with the MDN team, and they have published a NPM module that enables tools to take advantage of the detailed MDN data.
We should explore using https://github.com/mdn/browser-compat-data to power this language server

This is something we had a discussion on but no progress was made.
https://github.com/Microsoft/vscode-css-languageservice/issues/40

Some more insights:

mdn/data has data for syntax of css properties, but not descriptions

Using MDN data could make us always up-to-date on newly added properties. An example: for this one https://github.com/Microsoft/vscode/issues/46423, the mdn data is:
    "font-display": {
      "syntax": "[ auto | block | swap | fallback | optional ]",
      "media": "visual",
      "percentages": "no",
      "initial": "auto",
      "computed": "asSpecified",
      "order": "uniqueOrder",
      "status": "experimental"
    }

An analysis on CSS properties:

Our side: Generated browsers.ts
MDN: at-rules and properties

When we compare our browser data with MDN data, there are 239 rules in our side and not in MDN side, here is a complete list:

Properties in VSC not in MDN
alt
behavior
clip-rule
color-interpolation-filters
enable-background
fill
fill-opacity
fill-rule
flood-color
flood-opacity
glyph-orientation-horizontal
glyph-orientation-vertical
kerning
lighting-color
marker
marker-end
marker-mid
marker-start
motion
motion-offset
motion-path
motion-rotation
-moz-animation
-moz-animation-delay
-moz-animation-direction
-moz-animation-duration
-moz-animation-iteration-count
-moz-animation-name
-moz-animation-play-state
-moz-animation-timing-function
-moz-backface-visibility
-moz-background-clip
-moz-background-inline-policy
-moz-background-origin
-moz-border-image
-moz-box-align
-moz-box-direction
-moz-box-flex
-moz-box-flexgroup
-moz-box-ordinal-group
-moz-box-orient
-moz-box-pack
-moz-box-sizing
-moz-column-count
-moz-column-gap
-moz-column-rule
-moz-column-rule-color
-moz-column-rule-style
-moz-column-rule-width
-moz-columns
-moz-column-width
-moz-font-feature-settings
-moz-hyphens
-moz-perspective
-moz-perspective-origin
-moz-text-align-last
-moz-text-decoration-color
-moz-text-decoration-line
-moz-text-decoration-style
-moz-text-size-adjust
-moz-transform
-moz-transform-origin
-moz-transition
-moz-transition-delay
-moz-transition-duration
-moz-transition-property
-moz-transition-timing-function
-moz-user-select
-ms-behavior
-ms-flex
-ms-flex-align
-ms-flex-direction
-ms-flex-flow
-ms-flex-item-align
-ms-flex-line-pack
-ms-flex-order
-ms-flex-pack
-ms-flex-wrap
-ms-grid-column
-ms-grid-column-align
-ms-grid-columns
-ms-grid-column-span
-ms-grid-layer
-ms-grid-row
-ms-grid-row-align
-ms-grid-rows
-ms-grid-row-span
-ms-hyphens
-ms-ime-mode
-ms-interpolation-mode
-ms-layout-grid
-ms-layout-grid-char
-ms-layout-grid-line
-ms-layout-grid-mode
-ms-layout-grid-type
-ms-line-break
-ms-perspective
-ms-perspective-origin
-ms-perspective-origin-x
-ms-perspective-origin-y
-ms-progress-appearance
-ms-text-align-last
-ms-text-combine-horizontal
-ms-text-justify
-ms-text-kashida-space
-ms-text-overflow
-ms-text-size-adjust
-ms-text-underline-position
-ms-touch-action
-ms-transform
-ms-transform-origin
-ms-transform-origin-x
-ms-transform-origin-y
-ms-transform-origin-z
-ms-word-break
-ms-word-wrap
-ms-writing-mode
-ms-zoom
-ms-zoom-animation
nav-down
nav-index
nav-left
nav-right
nav-up
-o-animation
-o-animation-delay
-o-animation-direction
-o-animation-duration
-o-animation-fill-mode
-o-animation-iteration-count
-o-animation-name
-o-animation-play-state
-o-animation-timing-function
-o-border-image
-o-object-fit
-o-object-position
-o-table-baseline
-o-tab-size
-o-text-overflow
-o-transform
-o-transform-origin
-o-transition
-o-transition-delay
-o-transition-duration
-o-transition-property
-o-transition-timing-function
ruby-overhang
ruby-span
scrollbar-3dlight-color
scrollbar-arrow-color
scrollbar-base-color
scrollbar-darkshadow-color
scrollbar-face-color
scrollbar-highlight-color
scrollbar-shadow-color
scrollbar-track-color
shape-rendering
size
stop-color
stop-opacity
stroke
stroke-dasharray
stroke-dashoffset
stroke-linecap
stroke-linejoin
stroke-miterlimit
stroke-opacity
stroke-width
text-anchor
-webkit-animation
-webkit-animation-delay
-webkit-animation-direction
-webkit-animation-duration
-webkit-animation-fill-mode
-webkit-animation-iteration-count
-webkit-animation-name
-webkit-animation-play-state
-webkit-animation-timing-function
-webkit-appearance
-webkit-backdrop-filter
-webkit-backface-visibility
-webkit-background-clip
-webkit-background-composite
-webkit-background-origin
-webkit-border-image
-webkit-box-align
-webkit-box-direction
-webkit-box-flex
-webkit-box-flex-group
-webkit-box-ordinal-group
-webkit-box-orient
-webkit-box-pack
-webkit-box-sizing
-webkit-break-after
-webkit-break-before
-webkit-break-inside
-webkit-column-break-after
-webkit-column-break-before
-webkit-column-break-inside
-webkit-column-count
-webkit-column-gap
-webkit-column-rule
-webkit-column-rule-color
-webkit-column-rule-style
-webkit-column-rule-width
-webkit-columns
-webkit-column-span
-webkit-column-width
-webkit-filter
-webkit-flow-from
-webkit-flow-into
-webkit-font-feature-settings
-webkit-hyphens
-webkit-line-break
-webkit-margin-bottom-collapse
-webkit-margin-collapse
-webkit-margin-start
-webkit-margin-top-collapse
-webkit-mask-size
-webkit-nbsp-mode
-webkit-padding-start
-webkit-perspective
-webkit-perspective-origin
-webkit-region-fragment
-webkit-text-size-adjust
-webkit-transform
-webkit-transform-origin
-webkit-transform-origin-x
-webkit-transform-origin-y
-webkit-transform-origin-z
-webkit-transform-style
-webkit-transition
-webkit-transition-delay
-webkit-transition-duration
-webkit-transition-property
-webkit-transition-timing-function
-webkit-user-drag
-webkit-user-modify
-webkit-user-select

Observations:

189 of them are prefixed properties. Many are already implemented natively in browser and prefixes are no-longer required, but they might still exist in people's code-base
Some of these properties are non-standard or deprecated

When we compare MDN data against ours, there are 87 properties not in our css (31 prefixed), and 9 at-rules not in our css:

Properties in MDN data but not in VSC data
-ms-ime-align
-moz-binding
-moz-context-properties
-moz-float-edge
-moz-force-broken-image-icon
-moz-image-region
-moz-orient
-moz-outline-radius
-moz-outline-radius-bottomleft
-moz-outline-radius-bottomright
-moz-outline-radius-topleft
-moz-outline-radius-topright
-moz-stack-sizing
-moz-text-blink
-moz-user-input
-moz-user-modify
-moz-window-dragging
-moz-window-shadow
-webkit-border-before
-webkit-border-before-color
-webkit-border-before-style
-webkit-border-before-width
-webkit-mask
-webkit-mask-attachment
-webkit-mask-composite
-webkit-mask-position
-webkit-mask-position-x
-webkit-mask-position-y
-webkit-mask-repeat-x
-webkit-mask-repeat-y
appearance
azimuth
backdrop-filter
box-align
box-direction
box-flex
box-flex-group
box-lines
box-ordinal-group
box-orient
box-pack
color-adjust
font-variation-settings
gap
hanging-punctuation
image-resolution
initial-letter
initial-letter-align
line-height-step
mask
mask-border
mask-border-mode
mask-border-outset
mask-border-repeat
mask-border-slice
mask-border-source
mask-border-width
mask-clip
mask-composite
offset
offset-anchor
offset-distance
offset-path
offset-position
offset-rotate
overflow-clip-box
overscroll-behavior
overscroll-behavior-x
overscroll-behavior-y
place-content
rotate
row-gap
ruby-merge
scale
scroll-snap-type-x
scroll-snap-type-y
text-combine-upright
text-decoration-skip
text-decoration-skip-ink
text-emphasis
text-emphasis-color
text-emphasis-position
text-emphasis-style
text-size-adjust
transform-box
translate
speak-as
font-display
font-variation-settings
bleed
marks
max-zoom
min-zoom
orientation
user-zoom

Observations:

Most of these are newly added css properties
MDN data has a status on each properties. For the 87 properties, we have:

18 standard, 22 experimental, 43 nonstandard

Overall consideration:

As MDN don't have short description for each css property/value, it's not possible to replace our browsers.ts entirely as of now
MDN data is much more actively maintained than ours
MDN data is richer and allows us to give more detailed, up-to-date suggestions, for example:

status: We can inform user when he's using a non-standard property
syntax: We might use this to provide correct property value suggestions, or hint invalid ones. This requires a parser that understand CSS Value definition syntax
Combining mdn/data and mdn/browser-compat-data, we can provide always up-to-date support matrix for each properties. Solves issues like #40

@octref Great analysis, thanks!
For the deprecated properties that are in browser.js but not in MDN, let's add a 'deprecated' flag to our data. Deprecated properties would not proposed in code completions but still used for validation (we can even emit a deprecation warning)

@octref I assume you wrote a script that extract the data from MDN. I'd suggest to put that script to this repo in the build folder.

@aeschli Yes I did, I also tried combining its data with ours to provide better IntelliSense.
Here is showing appearence, which is a property recorded in MDN data but not ours.
Also in properties in both database, I added status and syntax to the end. (Just to show one thing we could do).

There are many things we could do with the data. What are the concrete things you suggest that we do for this month?
Also, I can write a crawler that gets the short description of each page too, so we can actually ship the properties in MDN data but not in our css-schema.xml.

Overall:

There are promising features we could do with MDN data, BUT
We need more data from MDN before we can switch over
For now we'll use MDN data together with our data to enhance the existing features.
During the process we will build the pipeline for digesting MDN data
Once MDN provides all data we need, we can do the switch over

Current plan:

[ ] Have a data importer that imports data from MDN (might need some hand curation now)
[ ] Find overlapping css properties between VSC and MDN, add MDN's status and syntax to the entry, and show them at the end of CompletionItem's documentation
[ ] :hand: Suggest properties in MDN but not in VSC (mostly new properties). There are no structured data for their documentation but we can write a crawler that gets this info.
[ ] :hand: Understand at-rules and differentiate common properties and at-rule properties in auto completion. We don't have any such logic now but MDN data allows us to do this.

Issues to track:

[ ] Structured data for property / property value short description https://github.com/mdn/data/issues/199
[ ] SVG data: https://github.com/mdn/data/issues/59
[ ] Property Value Validation: https://github.com/mdn/data/issues/172 (This could be really helpful to users)

@octref

Property Value Validation: mdn/data#172 (This could be really helpful to users)

This task is about syntax validation rather than a value validation.
You might be interesting to look at a value validation that CSSTree does:

Syntax explorer shows a structure of syntax and a match to a value
VS Code plugin (repo) to validate CSS (property values only at the moment) according a syntax

(there are more links in CSSTree repo)

@octref I had previously worked a little bit with the language server. Really interested in working with MDN data and helping. Let me know how :)

@lahmatiy I did take a look of CSSTree, but didn't know about https://csstree.github.io/docs/syntax.html. This is really cool!

This task is about syntax validation rather than a value validation.

Yea, the proper term should be "Syntax validation for CSS property-values".
@praveenpuglia Now a lot of things is still in the air so I don't think it's a good time to jump in. After the major changes go in there should be more specific bugs/features with smaller scopes where you could contribute. Thanks!

Related: https://github.com/Microsoft/vscode/issues/7008

FWIW, the CSS Indexes produced by W3C contains some properties that are neither in MDN nor in VSC (e.g., text-decoration-width, text-underline-offset, text-emphasis-skip, and corner-shape). However, it contains a few experimental properties and is not available as a JSON file.

@xfq if MDN accept contributions on these properties then we will get them.

You might be interesting in my work on CSS features dictionaries (properties, functions, pseudo-classes, pseudo-elements etc). I used various sources (mdn/data and other packages), my own research and usage stat on real sites. Currently it's just a lists of features (w/o description), but it can be used for simple tasks (e.g. suggestion or validation) and help to estimate the amount of work for fullness dictionaries you do.

CSS features dictionaries
Alexa Top 250 sites CSS usage stat

For "Use mdn/browser-compat-data to show the up-to-date compatibility for properties, in hover and completion.", is there a good way to map information between mdn/data and mdn/browser-compat-data? They use different identifiers and don't link between each other, as far as I can tell.

I did some research and commented in #102 with everything I could find about mapping between mdn/data and mdn/browser-compat-data.

@octref Can we close this?

Let's close this. I'll track further improvements in new issues.


mergerfs.consolidate moves files to 2 of my 3 drives instead of from 3 drives to one drive

I'm trying to use consolidate to move stuff from spread across my 3  drives to one of my 3 drives and when I ran it it moved all the files (but left the directory structure) off of on of the three drives and wrote it to the other two drives. Running it again causes some moves but doesn't actually consolidate. Did I mess up running this on the physical mergerfs drive or did I mess it up in some other way? I used the following command directly on the directory in the mergerfs mount (when I run it on a subcomponent it errors out so I assume I did the right thing running it directly on the consolidated mergerfs mounts):
mergerfs.consolidate -m 999 -M 100G -e books

Yes. You run these tools on the mergerfs mount.
Please show me the output. The tool consolidates data per directory. If you want to move data to other drives just use rsync from one drive to the other. Consolidate is meant for per directory collections. Not moving everything to one drive. That wouldn't make sense to turn into a special tool.

When  I pipe it to file it's quite large (because there are a large number of small files in the directory) I have included a snip of the rsync commands to show it's copying to different disks instead of all one disk.

That's one chunk of rsync commands, other ones  are copying from disk 3 to the other disks. If there's something else specific you are looking for in the output I can try to provide it. It would be great if one could specify which disk you want the files to end up on..

I can't see what it's doing.
If all files from 1 relative path are ending up on 1 drive then that's what it's supposed to do.

It would be great if one could specify which disk you want the files to end up on.

Why? The point of this software is to take all files from one relative path and put them on one drive. Not to move all files from a path to one drive. That is a very different thing and can be done without much hassle using a single rsync command. There is no need for what this app does. If you want that just use rsync. I don't understand why you'd need a special tool for that.

Yes, the purpose of this is to take all the files spread across 3 drives
for a given directory by mergerfs but showing as one drive on the running
mergerfs and make them all end up on one physical drive within the mergerfs
correct? It's not doing that. It's writing files from drive one to drive 2,
drive 2 to drive 3,  and drive 3 to drive 1 all  in the same run of the
command.
On Mon, Dec 30, 2019, 21:42 trapexit<EMAIL_ADDRESS>wrote:

I can't see what it's doing.
If all files from 1 relative path are ending up on 1 drive then that's
what it's supposed to do.
It would be great if one could specify which disk you want the files to
end up on.
Why? The point of this software is to take all files from one relative
path and put them on one drive. Not to move all files from a path to one
drive. That is a very different thing and can be done without much hassle
using a single rsync command. There is no need for what this app does. If
you want that just use rsync. I don't understand why you'd need a special
tool for that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/trapexit/mergerfs-tools/issues/91?email_source=notifications&email_token=AAEZFSXT3IBFO4CIZD2AUTDQ3LLUTA5CNFSM4KBSIZM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH3X7VY#issuecomment-569868247,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEZFSUAGCCQLL6FKIG4SVTQ3LLUTANCNFSM4KBSIZMQ
.

In a single directory? Not sub directories. Files in a single relative directory?
All files in /foo/bar across all drives end up on 1 drive. /foob/bar/baz is a separate thing.

Show me the exact output of the command. I can not help you if I don't have a reproducible example.


ci: Run e2e tests on pull_request

Simplifies end2end CI to run on pull_request rather than issue_comment, i.e. the integration tests will automatically run on every PR commit rather than when !test is commented by a maintainer. This will decrease maintenance overhead while preserving security since we now use Buildjet and require approval to run CI.
Also fixes an issue where the issue_comment workflow wouldn't trigger the required status check, which seems to be an inherent GitHub Actions limitation.

[!NOTE]
This should also be merged to the other feature branches for consistency.

Closing as I forgot the pull_request trigger doesn't allow access to secrets :facepalm:


[Develop] Updated pluginConfig with websocket example

Current coverage is 100% (diff: 100%)

Merging #21 into develop will not change coverage

@@           develop   #21   diff @@
====================================
  Files           10    10
  Lines          333   333
  Methods          0     0
  Messages         0     0
  Branches         0     0
====================================
  Hits           333   333
  Misses           0     0
  Partials         0     0

Powered by Codecov. Last update 7cd5b68...3cddd1d


tcmu: add scsi name designator in vpd83 response

add scsi name designator in vpd83 response;
Signed-off-by: tangwenji<EMAIL_ADDRESS>

@tangwenji
Just one suggestion, you'd better split you patch to 3 small one, which should be much easier to review.

@lxbsz
thanks，i modified it

Already updated！！
thanks

@tangwenji I only see one patch that adds the scsi name support now. Did you mean to upload a patchset in this PR with multiple patches that support scsi names and the cleanup of how we handle pages like in your original patch, or were you going to submit each patch in different PRs?

@mikechristie thanks your review。
yes， I‘m going to submit 3 PRs。
The PR is just add scsi name support，
fix vpd00 buf length is already merged #216
I will submit another PR for tcmu_emulate_evpd_inquiry function reconstruct

Thanks @tangwenji
I fixed the conflict and merged by hand here:
https://github.com/open-iscsi/tcmu-runner/commit/1bd2046a728f1a83f072df20697157c94536de19
so I am just closing this PR.


Convert to .NET Standard; fix UTF-8 support

Converted the library to .NET Standard 2.1 and converted the console app to .NET Core 3.1. This makes the library compatible between both .NET Core and .NET Framework.
Also made use of the new LPUTF8Str Marshalling type to allow for proper handling of UTF8 characters. This flag is new in .NET Standard 2.1/Framework 4.8 and saves the trouble of having to do an Encoding.UTF8.GetBytes() (which currently was not done). This fixes the behaviour where the libpostal would throw a warning and end up spinning 100% cpu without result.

Thanks!


Remove unecessary build in publish CI

Yarn install and yarn build were added to this PR https://github.com/meilisearch/strapi-plugin-meilisearch/pull/475 while they shouldn't have.
Remove them as they are breaking the CI

This message is sent automatically
Thank you for contributing to Meilisearch. If you are participating in Hacktoberfest, and you would like to receive some gift from Meilisearch too, please complete this form.


Fix Redis Lock Expiration in periodic_usage_pool_cleanup

Changelog
Fixed

The periodic_usage_pool_cleanup coroutine was encountering an error due to the Redis lock expiring before it could be renewed in some environments.To resolve this timing issue, the lock acquisition was moved from module initialization into the periodic_usage_pool_cleanup coroutine itself.

Thanks!


Navigation improvement

This should be a bit better navigation.

Actually, don't accept yet.

All good now. :)

"Fixed?" yes, yes it is fixed finally.


CognitoJwtPayload for Unauthenticated Route

Hey guys,
I have a route that will show different things based on the authentication, let's say, remove some private information for unauthenticated users.
How can I use @CognitoUser without @Authentication/@Authorization?
Thank you! ;)

Hello Igor,
If you want to use the @CognitoUser decorator without the @Authentication and @Authorization decorators, you'll need to inject the Cognito JWT payload into the request object manually or via another middleware. Once the payload is available in the request object, you can use the @CognitoUser decorator to extract the user information and pass it to the controller or service method.
Hope that's helpful! Don't hesitate to let me know if you need more information or if you have any specific goals or requirements.

I'm not sure if you were asking whether you need to decorate the controller or the resolver, but the answer is no. This is demonstrated in an example from the @nestjs-cognito/auth#README, which you can utilize as follows:
@Controller("dogs")
export class DogsController {
  @Get()
  @Authentication()
  findAll(@CognitoUser() CognitoJwtPayload): string {
    return "This action returns all my dogs";
  }
}```

First of all: @Authentication works only for classes:

Second, my route need to not enforce any authentication, but, have a cognito user in case of a logged in user.
I want to show just public data for not logged in users, and show the entire data for logged users.
I managed this creating a different endpoint for public access, like:
/kind/123 (private data)
/kind/123/public (public data)
Can we have any kind of optional authentication? Or have @CognitoUser for methods not decorated with nestjs-cognito stuffs?

Have you read my last question?