Expose the Payment Processor Cover in the Interface and Display in Expense Details

This is with related to the issue, https://github.com/opencollective/opencollective/issues/5217#issuecomment-1034677861. We do not expose the PAYMENT_PROCESSOR_COVER in the front-end.
Consider the following scenario.
Fee Payer Collective (Refund - Also refund payment processor fees? No)
In this case, the Host "pay" for the lost Payment Processor Fees.
                   Kind   Type                 Amount   Payment Processor Fee   NetAmount
EXPENSE                 CREDIT   Collective       220                       0         220
EXPENSE                  DEBIT        Payee      -220                       0        -220
PAYMENT_PROCESSOR_COVER CREDIT   Collective        20                       0          20
PAYMENT_PROCESSOR_COVER  DEBIT        Host        -20                       0         -20

There's a few problems as mentioned,

In this case since we are not returning the payment processor cover there is no way to calculate the displayed refund value from the payee perspective properly on the front-end. What we show is 220 on the payee side, however the refunded value for payee should be 200.

We are not displaying the fact that the payment processor fee has been refunded in the expense details (since there's no payment processor fee returned in the transaction).

Suggestions for Change:

In the API

Add a field paymentProcessorCover to Transaction interface which returns the PAYMENT_PROCESSOR_COVER for a transaction if it exists.

In the Front-End

Check for paymentProcessorCover for refunds of expenses and if there is a payment processor cover available, display it in the expense details.
Take into account the paymentProcessorCover if it exists when calculating the display amount on the payee side; i.e: adjust getDisplayedAmount to take into account paymentProcessorCover for refunds.

I was working on this and realize actually for the problems we have in hand, we do not need to expose the PAYMENT_PROCESSOR_COVER on the front-end. In fact we already have relatedTransactions field on the Transactions interface in the API and as such we could use that to check whether a given transaction has any payment processor covers (which is all we need to tackle 2 above).
For 1) we already have the refundTransaction field returned correctly on the front-end. And using that we could make sure to populate the refund transaction details correctly.
I have added a commit to the PR (https://github.com/opencollective/opencollective-frontend/pull/7391) demonstrate what I am proposing; https://github.com/opencollective/opencollective-frontend/pull/7391/commits/b7fbe7b62d293780968fd719251d95956d9bfeab.


adding system-x-properties to messages

adding a suggestion for how we can mark messages with properties about the client system
very useful when working with bugs and support

adding properties to variable once fetched in constructor. no need to call this logic on every message being send

Fixed in #312


currentDuration incorrect

I'm trying to calculate the current playback progress in percentage, but the duration returned by the player seems incorrect. I'm actually not sure what value currentDuration holds. The runtime string looks correct though, but I don't want to go down the route of parsing it...
Here's a snapshot where I'd expect currentDuration to be around 166 but got 26:
nexxPlayer.currentTime = 109.004
nexxPlayer.enhancedMediaData.currentTime = 109.004
nexxPlayer.enhancedMediaData.currentDuration = 26.0
nexxPlayer.enhancedMediaData.runtime = "00:02:46"

Hi there :)
this is actually correct.
"runtime" gives you the "runtime" or "total duration" of a Video.
"currentTime" gives you the current Playback Position of the Video
"currentDuration" gives yout current Amount of Seconds, that this Video has been watched.
In other Words - these are 3 different Values, and it depends on what you need :)

Makes sense somehow. The documentation only contains an entry for getCurrentTime and I assumed currentDuration to be it's counterpart.
What I need is a way to get the total duration without parsing the runtime string.

Thats currently not available on no Platform - but I guess, parsing that String is not that hard :)

@mfentross Any official feedback on this?

Hello again - for now, we will not change the current Functionality, as we would have to change it on all Platforms vor Consistency. As no other User seems to need this Format, we have currently no Plans to provider a Helper Function for that, but may offer one in a later Version.
For now, this is not planned.


A fundamental question!

I just downloaded your latest release package. And simply running evaluate_mobilenet.py on these two images (replaced img_path = 'images/girl1.jpg'):
While there is a huge difference visually, the good photo's score is even lower! Am I missing any configurations?!
Evaluating :  images/girl1.jpg
NIMA Score : 4.269 +- (2.027)
Evaluating :  images/ugly.jpg
NIMA Score : 4.317 +- (1.792)

I have the same problem, the following images receive ratings that do not make any sense. The bright, beautiful image is score with 6.485, and the dark version which is clearly inferior receives a 6.669. Any thoughts on why this might be?

Hi, mr-Mojo and arianaa30
Have you figure out where the problem is?

Hi @guantinglin, I think that NIMA might be insensitive to lightning and brightness change in images. I confirmed this observation by testing with different implementations from GitHub and my own research. The difference in prediction score is probably due to changes in contrast etc., that come with brightness changes.

NIMA also provides a technical score for things like brightness, contrast, and PSNR-like quality of images. That's a different one from Aescetics.

@arianaa30 Have u figure out?

No I didn't dig more into this after that. What I did figure out was it
gives higher rates to faces and natural images in general. Maybe not really
darkness/brightness. I didn't test the latter.
On Wed, Dec 16, 2020, 9:43 PM H3c<EMAIL_ADDRESS>wrote:

@arianaa30 https://github.com/arianaa30 Have u figure out?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/titu1994/neural-image-assessment/issues/59#issuecomment-747185311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKBFTIN5TTRRELX63NZDRDSVF457ANCNFSM4IMCN4XQ
.


CSS file not detected

Hi @n4j1Br4ch1D
i followed the guidance in the issue https://github.com/n4j1Br4ch1D/postcss-obfuscator/issues/2
This is the screenshot of a part of my web page in the browser
The issue is, the css not detected, but it's exist in the source files

But still, i keep having issues with some element classes when do the obfuscating

another issue, i deleted the /css-obfuscator and /out before do npm run obfuscate
and then this is the result

the generated classes in main.json are different with /out/output.css


Swift Package Manager

Hey there,
our iOS project uses ARCore for old iPhones that don't support ARKit.
Are there any plans to support the SPM (Swift Package Manager) ? We'd like to end the usage of Cocoapods and this project is the last one needing this legacy package manager.

What are you using the SDK for, Augmented Faces? I think at this point there are very few phones left that support one but not the other.
ARCore 1.33 was released today, and it includes beta support for SPM. You can download the pod bundle (here for 1.33), unzip it and use it as a local Swift Package. Instructions are contained in the bundled README.

Starting from release 1.36.0, Swift Package Manager is officially supported. Please see the README for installation instructions.


SGGSJ index improvements

 Freshdesk Ticket ID: 7806
 Freshdesk Ticket Agent: Aman Singh
 Freshdesk Ticket Agent Email<EMAIL_ADDRESS> Ticket Priority: Low
 Freshdesk Ticket Description: VJKK VJKF,
If possible can the index contain the angs before Siree Raag. So Jap, So Dar, So Purakh and Sohila.
Thank you very much! Ticket attachments : 1.IMG_5401.png

Agent Aman Singh linked Freshdesk ticket 7806 for this issue.


fix: Support cyrillic characters

This fixes #25
Root cause of this issue is that strings.Index returns byte index. So I switched the calculation of the indexes to use rune index as well as taking the string up to specified index and from specified index. Mabye the censored string could be changed to []rune and instead of calling takeRunesFromIndex we could just update the censored inplace.

Codecov Report

Merging #27 (b796968) into master (bd63346) will decrease coverage by 7.22%.
The diff coverage is 60.60%.

@@             Coverage Diff             @@
##            master      #27      +/-   ##
===========================================
- Coverage   100.00%   92.77%   -7.23%
===========================================
  Files            1        1
  Lines          158      180      +22
===========================================
+ Hits           158      167       +9
- Misses           0       13      +13

Impacted Files
Coverage Δ

goaway.go
92.77% <60.60%> (-7.23%)
:arrow_down:

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 bd63346...b796968. Read the comment docs.

Hello @TwiN I work with @martinhrvn and I have a question. Is there any future release planned? If yes can you share the date? We would like to use this fix in our code so is there any chance to release v1.6.1 ?
Thanks

@omatija I'll release it in a couple minutes; I've just been very busy these past weeks, but since you need it now, I'll accommodate you :)

Thank you for your contribution!
Released in v1.6.1


Enforce a configurable limit on the number of DNS records per user

We need to be able to set an environment variable that imposes a limit on the number of DNS records a user can have.  When the user tries to add a new record, their current record count should be compared against this limit, and the operation should fail if it will mean exceeding the limit.
I'm not sure what the right way to enforce this is (e.g., in the db, in the model code, etc).

In my opinion, if model declines the request, queue will continuously request although there is no second chance to make it happen. I think the dns worker should throw UnrecoverableError. Please let me know if it sounds like a plan.


Add bucket sort and counting sort

Hello,
I would like to add bucket sort and counting sort in C++. Please assign this issue to me. I would do my best!

can you please assign me this issue?i would love to solve this issue

I am interested in solving this issue. Would you please assign it to me so that I can start working on it?

@tarun26091999 @anubhavitis can I work on this issue using Java??

I'm  the participants in GSSOC'21. I would like to work on this issue by using python. Please assign me this issue @rudrakshi99


Create Uniform_Cost_Search.py

It is the algorithm which gives you the minimal path cost from start node to goal node by exploring the different paths. It works for large for large graphs as a alternative to the Dijkstra's algorithm. Mainly its application is found in AI search and problem solving methods and it is also incorporated into the A* search along with the heuristics.

Amazing! happy Hacktoberfest!


Difficulty plotting based on levels

Error in levels<-(*tmp*, value = as.character(levels)) :
factor level [4] is duplicated
Dataframe:
Z-Score_Alpha_Right_Temporal_GroupbyMeasurement.xlsx
Code:
Z_Score_Alpha_Right_Temporal <- read_excel("(https://github.com/ACCLAB/dabestr/files/5042212/Z-Score_Alpha_Right_Temporal_GroupbyMeasurement.xlsx")
multi.two.group.unpaired <-
Z_Score_Alpha_Right_Temporal %>%
dabest(Group, Measurement,
idx = list(c("ASDV", "TD"),
c("ASDMLV", "TD"),
c("ASDMLV", "ASDV")),
paired = FALSE)
multi.two.group.unpaired.meandiff <- mean_diff(multi.two.group.unpaired)
plot(multi.two.group.unpaired.meandiff, color.column = Group)
The group appears to have 3 levels based on:
multi.two.group.unpaired.meandiff[[1]]$Group <- factor(multi.two.group.unpaired.meandiff[[1]]$Group, levels = unique(multi.two.group.unpaired.meandiff[[1]]$Group), ordered=FALSE)

Hi @sophschwartz ,
The error arises because you have repeated groups in your idx, as seen in your example:
idx = list(c("ASDV", "TD"),
              c("ASDMLV", "TD"),
              c("ASDMLV", "ASDV"))

From the earliest stages of designing dabestr,  we decided not to allow plotting of the same group twice—both an aesthetic decision and a statistical one: we don't want viewers (and the plotters themselves) to unintentionally perceive the two instances of ASDMLV, for instance in this case.
The UI/UX, however, can be improved: when loading the data into dabestr, and when calling the mean_diff function. (In fact, the effect size functions do allow computation of the effect sizes!!)
On a broader and related topic: there have been several requests (here, here, and here) to perform ANOVA in DABEST: comparing all groups to all other groups. What we consider best practice is to use delta-delta plots. These are still being developed, unfortunately.
You can use estimationstats.com to produce the plot you desire as well, but the second appearance of a repeated group will be colored differently (and given an additional prefix): you can fix this in any vector graphics software.
Hope this helps!
Joses


[Suggestion] - [jira] Use special variable to right separate mount for logs and home

Suggestion
problem happen with config
localHome:
    persistentVolumeClaim:
      create: true

Into the pod mounts other volume
$ df
/dev/sdg   <> <> <>   1% /opt/atlassian/jira/logs

when pvc is creating it binds to first local-home mount (/opt/atlassian/jira/logs) and logs get space whereas local-home directory /opt/atlassian/jira/ is not, it can see df command
if my decision https://github.com/atlassian/data-center-helm-charts/pull/842 is not satisfied with our plan, i suggest create other variable and pvc for that
logs:
    persistentVolumeClaim:
      create: true

Product
jira
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Our existing configuration uses subPath which makes it possible to use 2 volumeMounts in 1 volume.

What does it mean? There is configuration https://github.com/atlassian/data-center-helm-charts/blob/main/src/main/charts/jira/templates/_helpers.tpl#L153  path with values .Values.jira.accessLog.mountPath gets pv with pvc whereas path with value  .Values.volumes.localHome.mountPath  is not

I think you are mistaken in interpreting this feature, as you can see in the official documentation the example is given with several containers and not with one. To confirm my words, try to run this configuration on your cluster and go into the container and see the information about system mounts (df for example)

the provisioner of class is csi.vsphere.vmware.com, server version v1.26.5 there is private instances of k8s.
i don't achieve behavior like in your cluster, but it is not so important, i suggest more clearly configuration If user need to persist logs of specific instance he may create different pvc

I figured out the problem,  command df и web ui in jira displays only one of mount's
df -h
Filesystem                Size  Used Avail Use% Mounted on
overlay                    98G   54G   40G  58% /
tmpfs                      64M     0   64M   0% /dev
/dev/mapper/deb--vg-root   19G  5.2G   13G  30% /etc/hosts
/dev/mapper/vg0-lv0        98G   54G   40G  58% /etc/hostname
shm                        64M     0   64M   0% /dev/shm
/dev/rbd2                 9.8G   33M  9.7G   1% /var/atlassian/application-data/jira
tmpfs                      63G   12K   63G   1% /run/secrets/kubernetes.io/serviceaccount
tmpfs                      32G     0   32G   0% /proc/acpi
tmpfs                      32G     0   32G   0% /sys/firmware

but  there are  two in fact
mount | grep "/var/atlassian/application-data/jira"
/dev/rbd2 on /var/atlassian/application-data/jira type ext4 (rw,relatime,discard,stripe=16)
mount | grep "/opt/atlassian/jira/logs"
/dev/rbd2 on /opt/atlassian/jira/logs type ext4 (rw,relatime,discard,stripe=16)

it is still possible to separate the log sections from the home one, this will be more explicit and simplify the configuration


Unable to Add apple id

I want to add my apple developer account with appollo with appollo apple add command from my windows 10 computer but get error.
appollo apple add Apple id: [here i give my 19 characters email address] Name: XXXXXXXX Key id: XXXXXXX Issue id: XXXXXX Private key: F:\Mac\AuthKey_XXXXXXX.p8
After press Enter it gives Error
Error: for apple_id - ['Ensure this field has no more than 10 characters.']
Please help me about this problem.

Hello, your Apple ID is incorrect, this is how you're supposed to add it: https://appollo.readthedocs.io/en/master/tutorial/6_configure_app_store_connect.html#:~:text=Go to the “Membership” menu and there you will find it. It is actually your Apple Team ID.
Closing because duplicate of #12


iterative-telemetry 0.0.9 :snowflake:

iterative-telemetry 0.0.9 :snowflake:
Destination channel: Snowflake
Links

PKG-5393
dev_url:        https://github.com/iterative/telemetry-python/tree/0.0.9
conda_forge:    https://github.com/conda-forge/iterative-telemetry-feedstock/blob/main/recipe/meta.yaml
pypi:           https://pypi.org/project/iterative-telemetry/0.0.9
pypi inspector: https://inspector.pypi.io/project/iterative-telemetry/0.0.9

Explanation of changes:

feedstock added to aggregate
tests require mocker which we don't have

pytest-mock
mocker is a pytest fixture provided by pytest-mock which we do have on defaults. You should be able to run the tests with just pytest and pytest-mock

Out of curiosity, how were you able to find pytest-mock?

pytest-mock
mocker is a pytest fixture provided by pytest-mock which we do have on defaults. You should be able to run the tests with just pytest and pytest-mock

Out of curiosity, how were you able to find pytest-mock?

It was listed in setup.cfg


On Snake what happened was the apple object/s sometimes do not appear on the screen

Problems
While using the app, I have experienced several times that the apple positioning sometimes goes wrong. That is to say, we have problems with its x and y coordinates

Enumeration:

Apple sometimes not rendering nor appearing on screen

Detailed Descriptions
When running the game, the snake character moves just fine, however, sometimes upon instantiating the Snake game, we experience difficulties with the appearance, rendering, and positioning of the apple object.

Screenshots

FIXED!!!


Replace oshi with calls to native JVM apis

Should solve the occasional bugs with oshi, as well as plain wrong and therefore useless CPU readings.
Probably only works on certain JVMs (OpenJDK, IBM/Eclipse J9), and probably not on Windows.
Fixes #158

I'm not willing to make Lavalink incompatible with most platforms. If we know which platforms this code supports, we could use oshi as a fallback.
I assume this works on Zulu?

Checked out all the JVM available on sdkman, (:heavy_check_mark: == tests are green, meaning a non-error value is returned):
11.0.3-zulu: :heavy_check_mark:
11.0.3.hs-adpt: :heavy_check_mark:
11.0.3-amzn: :heavy_check_mark:
11.0.3-sapmchn: :heavy_check_mark:
11.0.3-librca: :heavy_check_mark:
11.0.3.j9-adpt: :x:

Actually OpenJ9 / IBM works too, it just needs a tad bit more time to populate the value. Adjusted the tests for that.

I've been using this build for about a week and a bit now.
Have had no errors from what I can see.
I used to have issues running in docker where it couldn't detect system time, that didnt happen using this.

Not very relevant since noone should be hosting on it, but here's the test on a Mac:
11.0.3-zulu: ✔
11.0.3.hs-adpt: ❌
11.0.3-amzn: ❌
11.0.3-sapmchn: ❌
11.0.3-librca: ✔
11.0.3.j9-adpt: ✔
Any windows volunteers around?

This branch fixed a variety of stats issues on a few installs I've seen: a Windows Server 2012 R2 device with an emulated processor, a Win10 amd64 device, and a i386 Win32 device.
2019-06-18 18:13:03.788 ERROR 3796 --- [pool-4-thread-1] lavalink.server.io.StatsTask             : Exception while sending stats

java.util.ConcurrentModificationException: null
	at java.util.HashMap$Values.forEach(Unknown Source) ~[na:1.8.0_201]
	at lavalink.server.io.StatsTask.sendStats(StatsTask.java:67) ~[classes!/:na]
	at lavalink.server.io.StatsTask.run(StatsTask.java:53) ~[classes!/:na]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_201]
	at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [na:1.8.0_201]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) [na:1.8.0_201]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_201]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_201]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_201]
	at java.lang.Thread.run(Unknown Source) [na:1.8.0_201]

2019-06-16 12:53:02.943  WARN 5280 --- [pool-3-thread-1] oshi.util.platform.windows.PerfDataUtil  : Failed to add PDH Counter: \System\Context Switches/sec, Error code: 0xC0000BB8
2019-06-16 12:53:02.943  WARN 5280 --- [pool-4-thread-1] oshi.util.platform.windows.PerfDataUtil  : Failed to add PDH Counter: \System\Context Switches/sec, Error code: 0xC0000BB8
2019-06-16 12:53:02.945  WARN 5280 --- [pool-4-thread-1] o.h.p.windows.WindowsCentralProcessor    : Unable to enumerate performance counter instances for .
2019-06-16 12:53:02.945  WARN 5280 --- [pool-3-thread-1] o.h.p.windows.WindowsCentralProcessor    : Unable to enumerate performance counter instances for .
2019-06-16 12:53:02.949 ERROR 5280 --- [pool-4-thread-1] lavalink.server.io.StatsTask             : Exception while sending stats

java.lang.NullPointerException: null
	at oshi.util.platform.windows.PerfDataUtil.removeAllCounters(PerfDataUtil.java:227) ~[oshi-core-3.8.1.jar!/:3.8.1]
	at oshi.hardware.platform.windows.WindowsCentralProcessor.initPdhCounters(WindowsCentralProcessor.java:249) ~[oshi-core-3.8.1.jar!/:3.8.1]
	at oshi.hardware.platform.windows.WindowsCentralProcessor.<init>(WindowsCentralProcessor.java:126) ~[oshi-core-3.8.1.jar!/:3.8.1]
	at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.getProcessor(WindowsHardwareAbstractionLayer.java:64) ~[oshi-core-3.8.1.jar!/:3.8.1]
	at lavalink.server.io.StatsTask.sendStats(StatsTask.java:91) ~[classes!/:na]
	at lavalink.server.io.StatsTask.run(StatsTask.java:53) ~[classes!/:na]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_211]
	at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [na:1.8.0_211]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) [na:1.8.0_211]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_211]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_211]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_211]
	at java.lang.Thread.run(Unknown Source) [na:1.8.0_211]

019-06-05 18:32:17.214 ERROR 27848 --- [pool-2-thread-1] oshi.util.ParseUtil: Number is too big for long parsing string '27848 (java) S 27846 27846 27846 34817 27846 4202496 41042 674 47 1 1221 84 0 1 20 0 23 0 700577324 04213504 32517<PHONE_NUMBER>3709551615<PHONE_NUMBER> 109108388<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER> 0 0 0 16800975<PHONE_NUMBER>370955 615 00 17 1 0 0 10 0 0 0 0 0 0 0 27848 3807 3807 3807' to long array

@aikaterna thank you for testing & taking the time to report it here! Do you happen to have the version & vendor handy that you used on those platforms?

I am waiting to hear back from the individual with the Win10 machine.
i386 Win32 device:
java.version = 1.8.0_212
java.vendor = Oracle Corporation
x64 Win2012 R2 device:
java.version = 1.8.0_201
java.vendor = Oracle Corporation

The Win10 user got back to me.
java.version = 1.8.0_211
java.vendor = Oracle Corporation
If you have another distribution in particular that should be tried, I can get it installed on the Win2012 vps.

Whatever makes sense to you, I have no idea about what works on Windows.

Getting a traceback on a Mac with this branch. This occurs immediately after a connection is started and intermittently throughout the connection as it attempts to send stats.
java.version = 11.0.1
java.vendor = Oracle Corporation
MacOS 10.12.5
2019-06-27 09:05:44.100 ERROR 1269 --- [pool-3-thread-1] lavalink.server.io.StatsTask             : Exception while sending stats

org.json.JSONException: JSON does not allow non-finite numbers.
	at org.json.JSONObject.testValidity(JSONObject.java:2214) ~[json-20180813.jar!/:na]
	at org.json.JSONObject.put(JSONObject.java:1813) ~[json-20180813.jar!/:na]
	at org.json.JSONObject.put(JSONObject.java:1720) ~[json-20180813.jar!/:na]
	at lavalink.server.io.StatsTask.sendStats(StatsTask.java:83) ~[classes!/:na]
	at lavalink.server.io.StatsTask.run(StatsTask.java:49) ~[classes!/:na]
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na]
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
	at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

@Frederikam this PR seems to be stuck in limbo - is it not acceptable for the project, or does it require further work?

@napstr I'm still concerned about JVM compatibility. A fallback to OSHI would be ideal.

A fallback trigger by what conditions?

Also since we know that oshi itself sometimes provides bogus values, what would be the fallback to oshi?

One could run the collection once. If that throws an exception, Lavalink could permanently switch to use the old system.
If OSHI then fails then we're not left worse off than we are now.

How about this:
Step 1:
Attempt to collect via new CpuTimer class
If that returns an error value, return 0 as load.
Step 2:
If the JVM has been running for a few seconds (let's say 10s), and we continue getting errors values from using CpuTimer (at least 2 in a row), ask Oshi for the values.
Step 3:
If Oshi returns bogus values (see #210 for appropriate checks), keep returning 0 as load.
How does that sound?

Yeah that sounds great

Cleaning up my PR Github tab, this has been open long enough and there appears to be no interest.


Don't apply typeMap if useCursor is false

This fixes an issue where it's not possible to run an aggregation pipeline with useCursor = false when a global typeMap has been set.

Tracking ticket: PHPLIB-179

Manually merged in https://github.com/mongodb/mongo-php-library/commit/76344d138c03688992a113e2b0e82c8bd3372a12. Thanks!


applescript.ScriptError: Application isn’t running. (-600) when run from cron job

Describe the bug
I had a simple set up using cron to export to a mounted SMB share working for months with no issue:
0 4 * * 4 /Users/gabe/.local/bin/osxphotos export --load-config /volumes/Pictures/photos-backup/osxphotos_config.toml /volumes/Pictures/photos-backup/data

with this config file:
[export]
cleanup = true
directory = "{created.year}/{created.mm}"
download_missing = true
exiftool_merge_keywords = true
favorite_rating = true
filename_template = "{id}_{original_name}"
keyword_template = [ "album:{album}", "{label}",]
ramdb = true
retry = 3
sidecar = [ "xmp",]
skip_original_if_edited = true
update = true
update_errors = true
use_photokit = true

I had since updated to macOS 15.1, still it was working, but it soon started failing to write the db file, so I decided to move the backup to my local machine instead of over an SMB share. I also updated osxphotos to 0.69.2 from whatever version I had installed back when I was running macOS 14.x (and switched to using uv to manage it). Now my cron and config are as follows:
0 4 * * 4 /Users/gabe/.local/bin/osxphotos export --load-config /Users/gabe/Pictures/photos-backup/osxphotos_config.toml /Users/gabe/Pictures/photos-backup/data

[export]
cleanup = true
directory = "{created.year}/{created.mm}"
download_missing = true
exiftool_merge_keywords = true
favorite_rating = true
filename_template = "{id}_{original_name}"
keyword_template = [ "album:{album}", "{label}",]
retry = 3
sidecar = [ "xmp",]
skip_original_if_edited = true
update = true
update_errors = true
use_photokit = true

(I just removed ramdb from the config and changed the destination to my local machine)
Now, I can run the export fine when I run from my interactive shell, but the cron job ALWAYS fails with this error:
Traceback (most recent call last):
  File "/Users/gabe/.local/bin/osxphotos", line 5, in <module>
    from osxphotos.__main__ import cli_main
  File "/Users/gabe/.local/share/uv/tools/osxphotos/lib/python3.12/site-packages/osxphotos/__init__.py", line 17, in <module>
    from .iphoto import (
  File "/Users/gabe/.local/share/uv/tools/osxphotos/lib/python3.12/site-packages/osxphotos/iphoto.py", line 62, in <module>
    from .photoexporter import PhotoExporter
  File "/Users/gabe/.local/share/uv/tools/osxphotos/lib/python3.12/site-packages/osxphotos/photoexporter.py", line 39, in <module>
    import photoscript
  File "/Users/gabe/.local/share/uv/tools/osxphotos/lib/python3.12/site-packages/photoscript/__init__.py", line 18, in <module>
    from .script_loader import run_script
  File "/Users/gabe/.local/share/uv/tools/osxphotos/lib/python3.12/site-packages/photoscript/script_loader.py", line 15, in <module>
    SCRIPT_OBJ = load_applescript("photoscript")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/gabe/.local/share/uv/tools/osxphotos/lib/python3.12/site-packages/photoscript/script_loader.py", line 13, in load_applescript
    return AppleScript(script)
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/gabe/.local/share/uv/tools/osxphotos/lib/python3.12/site-packages/applescript/__init__.py", line 49, in __init__
    raise ScriptError(errorinfo)
applescript.ScriptError: Application isn’t running. (-600) range=40102-40324

To Reproduce
Steps to reproduce the behavior:

Open Photos app
Run /Users/gabe/.local/bin/osxphotos export --load-config /Users/gabe/Pictures/photos-backup/osxphotos_config.toml /Users/gabe/Pictures/photos-backup/data with no issue
Paste the above command into crontab via crontab -e from logged in user (gabe)
See above error in mail (easiest way to get cron job outputs on macOS that I've found)

Expected behavior
A successful backup, just like if the command was run manually.
Desktop (please complete the following information):
osxphotos, version 0.69.2
Python 3.12.7 (main, Oct  1 2024, 02:05:46) [Clang 16.0.0 (clang-16<IP_ADDRESS>)]
Python executable: /Users/gabe/.local/share/uv/tools/osxphotos/bin/python
macOS 15.1.0, arm64
Additional context
I notice that the error traceback shows an AppleScript function, even though I specified use_photokit = true in my config file. I tried also adding use_photos_export = true to the config, tried removing both, and putting --use-photokit directly into the command, but the result was the same.

Downgrading to 0.67.10 yields the same error when run from cron, so I'm honestly not sure what has caused my set up to break.

Permissions with unattended jobs are tricky. This is a macOS issue not an osxphotos issue. My guess is that upgrade (as well as subsequent downgrade) caused executable to change and only the first executable you ran this with had the permissions. See #1080 which may offer some tips on how to fix the permissions.

My guess is that upgrade (as well as subsequent downgrade) caused executable to change and only the first executable you ran this with had the permissions.

Ah this is reminding me of a lot of messing around with adding allows and exceptions into Apple's privacy functions that get stricter with each macOS upgrade. You might be right on that point, and I'll try messing with those.

And on the first try, adding the new osxphotos binary to "Accessibility" allowed everything to work. Apple must have an interesting definition of "Accessibility"...


Add Stanford CoreNLP as pipeline options to support Chinese and more languages

Hi, all.
As we discussed on gitter, we'd like to add Chinese language support for Rasa NLU.
The problem is that, since Chinese language does not have "white space" between words, tokenizing Chinese is not a trivial problem, not to mention entity and intent recognition.
Both spacy and MITIE do not support Chinese. And training a separate Chinese model for spacy or MITIE is not easy, and will probably not perform as well as existing Chinese NLP tools. (I did spend 30+ hours on training a Chinese word vector model on MITIE, and feel helpless on training another NER model on MITIE since I do not have the annotated data.)
I'm wondering if we can add Stanford CoreNLP as part of the pipeline modules. CoreNLP as I know is very powerful and is actively maintained (more actively than MITIE I guess...) for multiple languages, including Chinese.

Stanford CoreNLP can be integrated by using the python wrapper or directly host a CoreNLP server in the backend and use their restful APIs. I guess, with its tokenization, NER function, plus sklearn for intent classification, we can make a very good pipeline handling Chinese as well as English, German and Spanish.
I'm looking into Rasa NLU code and would be more than happy to contribute. However I doubt myself alone is able to handle the task, and I need your suggestions and help for making this happen. Thank you!
Best,
crownpku

As a user of CoreNLP with Python I would recommend to use the CoreNLP REST API. It's much easier to setup and manage.
An other possible way to add Chinese support to RasaNLU is maybe to train Spacy for that. It's easy to plug-in external tokenizers for Spacy (see [1] for Japanese) and training Spacy with UniversalDependencies datasets [2] is fairly easy.
[1] https://github.com/explosion/spaCy/blob/master/spacy/ja/init.py#L16
[2] https://github.com/UniversalDependencies/UD_Chinese

Nice feature: there is also a CoreNLP extension for the Italian language at https://github.com/dhfbk/tint

@Tpt Thanks! I will definitely try training Spacy for Chinese support.

Hi @crownpku : any luck training Spacy for Chinese support so far? Really curious about any outcomes

@TDehaene I used jieba (a Chinese tokenizer) + MITIE + sklearn to get pretty good Chinese NLU results. Still haven't tried Spacy for Chinese support...

@crownpku I'm trying to add Japanese to rasa NLU, I'm using spaCy + janome (Japanese tokenizer) but the result is not so good (still cannot extract entities). I would like to asked if you could show me the way to add Chinese to rasa NLU by using Jieba + MITIE + sklearn. Thanks in advance.

@buivietan I have a rasa_nlu fork here. You can try to search for jieba tokenizer and find the modifications. Most of the documents are in Chinese... anyways you can always ask me in the fork repository issues.

@crownpku Thanks so much for your quick reply.

@twerkmeister I think you should join this discussion as well :)

@tmbo I actually have a pull request here. The last problem was about language control within different modules I guess.

There is a bit more to this. I had a disucssion with @twerkmeister earlier and he pointed to a couple of issues that we might face by just including it in the pipeline, but maybe he can comment on that.

Thank you to everyone who contributed to this discussion so far! This is really helpful, and it's good to hear the MITIE pipeline is working well, @crownpku . I have been doing some tests on Chinese using a spacy-based pipeline using jieba and fasttext word vectors. The intent classification works well, but NER and some other components have problems:

NER_CRF is struggling with wrong token boundaries coming from the jieba tokenizer. This is probably why you also had trouble with the Japanese NER @buivietan. Using a segmentation dictionary for jieba, it might be possible to reduce the number of segmentation errors. However this is not supported by the standard spacy Chinese module. Another thing I want to try out is segmenting the characters one by one for within the NER_CRF component. That way, there can be no wrong boundaries and the CRF can be properly trained.
Intent_featurizer_ngrams is quite opinionated towards alphabetical languages and needs some adjustments to make sense for Chinese.

CoreNLP is a fine piece of software. However, CoreNLP uses the GPLv3 license which would require us to publish rasa_nlu under GPLv3 too if I am not mistaken (Does GPL also enforce the "same license" rule when it's an optional dependency?) Secondly, I wonder if we should put effort into supporting another major pipeline component that has large intersections with the spacy and mitie. @tmbo thoughts?
In the coming days I will do some more work on improving the compatibility of the spacy-related components with Chinese and add an NER benchmark to make sure the changes are useful. I'll keep you updated!

@twerkmeister pretty good try, not sure some more update after your previous post ? looking forward to see how you make this works

Is it possible that the rasa defines the HTTP API? like the HttpComponent which will call other http server to implement the tokenizer and entity extractor. I guess this will not have the license issue, even if the Http API is similar to the Stanford NLP, and this will make rasa more open to other developers to integrate with their own NLP tools.

yes . Ithink that is possible, but the discussion should take place on #4232


Don't include list twice

thanks! I'll also fix it in main.cpp

Nice! I contributed to Citybound :+1:


After opening several, tabs are not all displayed.

After opening several tabs (about 18), the tabs are not all displayed. Atom 1.5.0-beta0

+1

Dupe of https://github.com/atom/tabs/issues/137

You can also subscribe to thread :point_up: for updates :smile:


yarn start throws error message after installing eslint-config-react-app

Describe the bug
After running
npx create-react-app my-app

switching to my-app directory and running
yarn start

This works fine. Then I run the following on the command line (Please see for more information about this specific command here: https://github.com/upleveled/eslint-config-upleveled
npx install-peerdeps --yarn --dev @upleveled/eslint-config-upleveled

and after that
yarn start

again. Still works fine. But as soon as I run
npx install-peerdeps --yarn --dev eslint-config-react-app

or as an alternative
npx install-peerdeps --yarn --dev --only-peers eslint-config-react-app

If I try
yarn start

now it gives me the following error message:
$ yarn start
yarn run v1.22.5
$ react-scripts start

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

  "babel-eslint": "^10.1.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-eslint was detected higher up in the tree:

  C:\Coding\workspace\my-custom-app-name\node_modules\babel-eslint (version: 10.0.0)

Manually installing incompatible versions is known to cause hard-to-debug issues.

If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.

To fix the dependency tree, try following the steps below in the exact order:

  1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.
  2. Delete node_modules in your project folder.
  3. Remove "babel-eslint" from dependencies and/or devDependencies in the package.json file in your project folder.
  4. Run npm install or yarn, depending on the package manager you use.

In most cases, this should be enough to fix the problem.
If this has not helped, there are a few other things you can try:

  5. If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead.
     This may help because npm has known issues with package hoisting which may get resolved in future versions.

  6. Check if C:\Coding\workspace\my-custom-app-name\node_modules\babel-eslint is outside your project directory.
     For example, you might have accidentally installed something in your home folder.

  7. Try running npm ls babel-eslint in your project folder.
     This will tell you which other package (apart from the expected react-scripts) installed babel-eslint.

If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That would permanently disable this preflight check in case you want to proceed anyway.

P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

User@User-PC MINGW64 /c/Coding/workspace/my-custom-app-name (main)

Did you try recovering your dependencies?
Yes, I did it with yarn as described.
(Write your answer here.)
Which terms did you search for in User Guide?
The react-scripts package provided by Create React App requires a dependency:
"babel-eslint": "^10.1.0"
(Write your answer here if relevant.)
Environment
System:
OS: Windows 10 10.0.19041
CPU: (8) x64 Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
Binaries:
Node: 15.4.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 7.1.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 88.0.4324.104
Edge: Spartan (44.19041.423.0), Chromium (88.0.705.50)
Internet Explorer: 11.0.19041.1
npmPackages:
react: ^17.0.1 => 17.0.1
react-dom: ^17.0.1 => 17.0.1
react-scripts: 4.0.1 => 4.0.1
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
please see section ### Describe the bug
Expected behavior
yarn start

Starts the react app.
Actual behavior
please see section ### Describe the bug
Reproducible demo
No changes in my project. Just created it as described in ### Describe the bug

Hm, I just tried to create a reproducible demo at this repo with the following commands, and I could not reproduce this issue:
mkdir reproduction
cd reproduction
npx create-react-app .
npx install-peerdeps --yarn --dev eslint-config-react-app
yarn start

@uebriges can you try this on your machine? Does this cause the same error you described above?
Wonder if it's some resolution / Windows thing...? I'm on macOS.

Hm, I just tried to create a reproducible demo at this repo with the following commands, and I could not reproduce this issue:
mkdir reproduction
cd reproduction
npx create-react-app .
npx install-peerdeps --yarn --dev eslint-config-react-app
yarn start

@uebriges can you try this on your machine? Does this cause the same error you described above?
Wonder if it's some resolution / Windows thing...? I'm on macOS.

Hm, I just tried to create a reproducible demo at this repo with the following commands, and I could not reproduce this issue (my server starts with no issues):
mkdir reproduction
cd reproduction
npx create-react-app .
npx install-peerdeps --yarn --dev eslint-config-react-app
yarn start

@uebriges can you try this on your machine? Does this cause the same error you described above?
Wonder if it's some resolution / Windows thing...? I'm on macOS.

I tried it on my Windows pc and it threw the error but not for my macOS laptop

@apollo42 thanks! Maybe we can fix the issue over in nathanhleung/install-peerdeps#127 then.
@uebriges you can probably close this now.


[ux] Better error display: Attempting to create a new site throws a 403 Forbidden

I tested out the Docksal setup and got this:

Did you hit the power button in the top right? Login is admin admin. There are admittedly some state issues to improve there  😁

new login system works better tho we still need an error message but its not possible to get locked out now


Streaming DOM serializer

This proposal is to create a streaming DOM serializer package that accepts a DOM-like object and serialize it, waiting when it encounters Nodes marked as being asynchronous.
API
This should be pretty straight-forward, it takes a Node type (probably the document.documentElement in most cases) and returns a ReadableStream:
var serialize = require("vdom-streaming-serializer");

app.get('/', function(request, response){
  // Assuming render() mutates a global `document`
  render(request);

  var stream = serialize(document.documentElement);

  stream.pipe(response);

Asynchronous contexts
Any Node within the tree can be marked as asynchronous. I would proposing using a well-known Symbol to represent this. Maybe something like Symbol.for('async-node'). This should be a promise that will resolve when the serializer should continue.
var ASYNC = Symbol.for('async-node');

document.body[ASYNC].then(function(){
 // We can continue serializing from here.
});

Links

can-simple-dom's HTMLSerializer
Node.js' ReadableStream which is what our package should create.

This is being worked on in the vdom-streaming-serializer repo now. Can rename if we want, just the first name I thought of.


feat: Burning ProtoRev Profit

Closes part of #7320
What is the purpose of the change
This PR updates the profit distribution mechanism of protorev such that if the profit is denominated in uosmo, send the profit to the zero address (osmo1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmcn030) after redistributing the developer profits.
Testing and Verifying
Added test coverage to the updated distribution logic.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

Can you add a changelog, and then I think it's good to merge?
I think we need to make this function get called periodically pre release though. I'll try to make an issue for that today

Will add the change log! I'll also update this to migrate non-osmo denom profits to the community pool.


Fix for #11 Grass is unaffected by realtime lights

Here's a before/after the fix in a simple scene with:

Basic terrain
Ambient light color set to black
Fog disabled
A single point light

Tested both grass shaders via enabling/disabling billboarding on grass instances.
Before:

After:

Thanks so much for tracking down this issue - I fixed it based on your bug report earlier today actually, but hadn't released the changes yet - so closing this PR out. You've been credited in the change log. Thanks again!


Correct/Improve handling of runtime errors.

coverage on master

Summary of changes
Corrected/Improved handling of va_args in runtime error messages.
Rationale for changes
The previous version present some odd numbers for arguments instead of the values expected. Furthermore was the code in several place clearly wrong, which fortunately did not lead to crashes yet.
Additional info and certifications
This pull request (PR) is a:

[x] Bug fix
[ ] Feature addition
[ ] Other, Please describe:

I certify that

[x] I certify that:

I have reviewed and followed the contributing guidelines
I will wait at least 24 hours before self-approving the PR to give another
OpenCoarrays developer a chance to review my proposed code
I have not introduced errant white space (no trailing white space or white space errors may
be introduced)
I have added an explanation of what these changes do and why they should be included
I have checked to ensure there aren't other open Pull Requests for the same change
I have you written new tests for these changes
I have successfully tested these changes locally
I have commented any non-trivial, non-obvious code changes
The commits are logically atomic, self consistent and coherent
The commit messages follow best practices
Test coverage is maintained or increased after this is merged

Code coverage data

 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.Andre Vehreschild 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.

Sorry, for the mess. Had to configure git correctly for opencoarray and not for work use.

@vehre I made one minor comment. Otherwise, this looks fine.  The macOS tests fail but apparently because gfortran-9 is missing on the Travis-CI test platform.  I'll test locally on macOS and then merge this and will also push the requested edit to this branch if I'm able, in which case I'll merge this pull request.


Installation fails on Arch: Multilib is not enabled by default

The install-script (https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/blob/main/scripts/fusion360-install.sh) will fail on Arch linux by default, since it can't install wine. Wine is available in the multilib, which is not included by default. It will still display The installation of Autodesk Fusion 360 is completed.
I suggest to include a check, if multilib is enabled. If it is not, you may ask the user to to un-comment the corresponding entry
[multilib]
Include = /etc/pacman.d/mirrorlist

in /etc/pacman.conf and update (e.g. pacman -Sy).

I also needed to install samba (since ntlm_auth was missing otherwise) and cabextract (since wine complained bout that missing as well). So probably something along the lines of pacman -S samba cabextract) wouldn't hurt as well?
After installing those I am now at least presented with the Autodesk error report crash screen - a step forward ;-)

@Patschke Okay, can you also check if you have installed libGLU1, winbind and also openSSL:

Okay, can you also check if you have installed libGLU1

Yes, I do have extra/glu 9.0.2-1 and multilib/lib32-glu installed:
[patrick@PatricksDesktop]$ sudo pacman -Fyx libGLU.so.1
:: Paketdatenbanken werden synchronisiert …
 core ist aktuell
 extra ist aktuell
 community ist aktuell
 multilib ist aktuell
extra/glu 9.0.2-1 [Installiert]
    usr/lib/libGLU.so.1
    usr/lib/libGLU.so.1.3.1
multilib/lib32-glu 9.0.1-1 [Installiert]
    usr/lib32/libGLU.so.1
    usr/lib32/libGLU.so.1.3.1

winbind

Winbind is installed via extra/samba 4.14.5-1 (actually wine told me to install winbind when I did not have ntlm_auth)

and also openSSL

I've got core/openssl 1.1.1.k-1 and lib32-openssl installed
I think it would be helpfull, if your installation script checks for those requirements (it will actually happily claim, that Fusion was installed, even if the requirements are in fact not met and Fusion is not installed at all).

I have changed my installation-script (Support Arch Linux & Void Linux)! 🚀


Change Token Information

I wanna change my token SYMBOL and NAME because because i was mistaken so please help me merge this request
12702
This is my previous commit and I want to change it
https://github.com/solana-labs/token-list/pull/12403
https://github.com/solana-labs/token-list/commit/51e1f0afd0f1784e3351c997547d04eb6c210d55

this re-adds a new block instead of modifying the existing: https://github.com/solana-labs/token-list/pull/12702/files

this re-adds a new block instead of modifying the existing: https://github.com/solana-labs/token-list/pull/12702/files

I'm trying to addd New but got this error :
Token list does not have duplicate entries
This commited i trying add new bock.
https://github.com/solana-labs/token-list/pull/12806

i gave you clear instructions on what was wrong with your


METRON-2084 Add documentation notice for MacOS Mojave users for new security permissions

Contributor Comments
https://issues.apache.org/jira/browse/METRON-2084
Doc update that addresses a common developer issue with getting full dev working on Mac OS Mojave. I verified the site-book looks correct and the referenced link works as intended.
Pull Request Checklist
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

n/a Have you included steps to reproduce the behavior or problem that is being changed or addressed?

n/a Have you included steps or a guide to how the change may be verified and tested manually?

n/a Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

n/a Have you written or updated unit tests and or integration tests to verify your changes?

n/a If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

n/a Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

n/a Have you ensured that any documentation diagrams have been updated, along with their source files, using draw.io? See Metron Development Guidelines for instructions.

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

+1 by inspection. Thanks @mmiklavc for the note, this is helpful indeed!

Looks like the unrelated test failure is the same as the one reported here - https://issues.apache.org/jira/browse/METRON-2166. I'm looking into it now so we can get master back on track.


UT2004 Missing OpenAL

Describe the bug
When running UT2004 I receive a dialog: OpenAL not found. Exiting.
Additional context
Running Steam in a Flatpak, installing OpenAL system wide will not work.

I've updated the package, so now it'll compile and provide openal and libstdc++5, so all necessary deps should now be provided.
For the script itself, need to remove the dependency on wget and iconv

@JoshuaFern This should be fixed now, as luxtorpeda client will be providing all the necessary pieces to download the data and show the EULA. So there shouldn't be an dependency on certain binaries being available.
You'll need luxtorpeda 13 to re-test.


how to get the value of initial log joint probability?

I have fitted the prophet model, when the time series is not seasonality and set the yearly.seasonality = T, the value of log joint probability is much bigger. So i want to get this value.
(I am using this predicting multiple time series,  some of the time series is seasonality, so i set the yearly.seasonality=T).
Initial log joint probability = -31.32824
Optimization terminated normally:
Convergence detected: relative gradient magnitude is below tolerance

This is being printed by RStan. Unfortunately I don't expect there to be an easy way to get at the initial value.


Avoid running all migrations on TravisCI

I noticed that the TravisCI build is running the full set of migrations. This is not a good practice (as quoted from the generated db/schema.rb file:

If you need to create the application database on another system, you should be using db:schema:load, not running all the migrations from scratch.

Given that the database is re-created for every build anyway, we're not actually testing by "migrating" previous changes; we should just load the schema (using db:schema:load).
I appreciate that some Helpy migrations (eg. AddDocIdToTopic) actually populate data (and I understand why that was needed for existing installations), but I'm concerned that any new users setting up Helpy will setup their database via db:schema:load (best practice) rather than through running all migrations (which is error-prone). It's important that we're running our tests against the same environment as new users / setups are likely to have.

Thats a good call.  I added them because I was having problems debugging some integration testing but you spot on that they should probably not be here anymore.


Specialization of set_dims for new dimensions of length 1

Is your feature request related to a problem?
Our duck arrays got caught by duck_array_ops.broadcast_to https://github.com/pydata/xarray/blob/0af197985840a715c3566b6bdb5f355b21224e92/xarray/core/variable.py#L1382
really boiling down to np.broadcast_to since we don't implement it quite yet.
In the lines above, there seems to be a desire to keep the array "writable" (that won't work in our arrays, they are read-only anyway), but there is an other case where the underlying array stays writable, and that is when new dimensions of "1" get added.
Describe the solution you'd like
New dimensions of 1 to be inserted via slicing np.newaxis
I thinke the code could be refactored to be
       new_dims = tuple(d for d in dim if d not in self_dims)
       expanded_dims = new_dims + self.dims

       if self.dims == expanded_dims:
            # don't use broadcast_to unless necessary so the result remains
            # writeable if possible
            expanded_data = self.data
       elif shape is None or all(shape[d] == 1for d in new_dims):
            # don't use broadcast_to unless necessary so the result remains
            # writeable if possible
            # especially when creating dimensions of size 1
            indexer = (None,) * (len(expanded_dims) - self.ndim) + (...,)
            expanded_data = self.data[indexer]
       else:
            dims_map = dict(zip(dim, shape))
            tmp_shape = tuple(dims_map[d] for d in expanded_dims)
            expanded_data = duck_array_ops.broadcast_to(self.data, tmp_shape)

effectively just flipping the "else" and and the "elif"
Describe alternatives you've considered
Manually broadcasting the DataArrays prior to the call to xr.expand_dims
Additional context
import numpy as np
a = np.zeros((3, 2))
a[np.newaxis, :, np.newaxis, :, np.newaxis, ...].flags.writeable
assert a[np.newaxis, :, np.newaxis, :, np.newaxis, ...].flags.writeable

ok thanks, i'll try to think of a test to add and to do this PR. We ultimately work around issues like this, but I appreciate the thought put into answering all the questions we have.


questions

Thanks for the great work! I have some questions.

I wonder where the GPU memory budget cost in FastTrans. Because I only have GTX1080, 12G. Do you test the model for small-scale task like ShapeNet DataSet? And can I apply the lightweight self-attention to get a better feature embedding for ShapeNet classification in my 1080 machine? Maybe I can use a smaller FastTrans?
I notice that the voxel size is used for data augmention. If i use the model for ShapeNet classification which normalized coordinates lie between -1 and 1. Can I remove the data augmention and just use original coordinates? Or how to get a feasible voxel size ?

Hi, according to my understanding of the paper and the code, I would do the following regarding your questions:

maybe just try reducing the batch size or decreasing the attention layers or channels?
I think the dimensionless coordinates are related to the kernel parameters in the Minkovski Engine. The author uses kernel_stride=1, and kernel_size=3, which means the receptive field in each layer is 3*voxel_size, i.e. 3x0.02=0.06m according to the settings in the default config file. Since the Minkovski Engine only takes in the integer type for the kernel parameters as arguments, you may still need the dimensionless coordinates for your experiments.

I hope this could help...

Hi @zouwenqin ,
Sorry for the late reply.

Do you test the model for small-scale task like ShapeNet DataSet?

I did not try Fast Point Transformer on small-scale datasets (e.g., ModelNet, ScanObjectNN, ShapeNet, ...). If you want to try it, you can reduce the voxel size to use a finer voxel resolution than the one used for large-scale scenes.

Maybe I can use a smaller FastTrans?

As @YuanYunshuang commented, you may build a smaller Fast Point Transformer by reducing the number of attention layers or the feature dimension.

Can I remove the data augmention and just use original coordinates?

Yes. However, I recommend you to check out the ModelNet40 classification example of MinkowskiEngine (https://github.com/NVIDIA/MinkowskiEngine/blob/master/examples/classification_modelnet40.py), first.

@chrockey @YuanYunshuang ,Thank for reply firstly.

I train the original Fast Point Transformer architecture for feature extraction on ShapeNet dataset, which batch size set 32 and point number set 2048.  I remove the data augmention so that i can ignore the voxel size. However, I get a similar result as the Point Transformer, but the training time of Fast Trans is longer than Point Trans (10 minute one epoch for Fast Trans and  almost 9 minute for Point Trans). I'm confused about the training speed.
I have some question in the voxelize with centroids code. I mark it as below. How can I control the resolution of voxelized point cloud without data augmentation. It seem like I got a fixed resolution.

the training time of Fast Trans is longer than Point Trans (10 minute one epoch for Fast Trans and almost 9 minute for Point Trans)

In the small point cloud scheme, Fast Point Transformer may not benefit from voxel hashing since the k-nearest neighbor search is fast enough for that size of point clouds. Moreover, the training time contains the backward-pass time, where our custom CUDA operations can be further optimized.

How can I control the resolution of voxelized point cloud without data augmentation

For the MinkowskiEngine.TensorField.sparse function, you may refer to the original repo:
https://github.com/NVIDIA/MinkowskiEngine/blob/2f31bc51e0abdf89ed20730e531480df1b2cc64a/MinkowskiEngine/MinkowskiTensorField.py#L286
To increase the voxel size, you can divide the original coordinates by your own voxel size, using the DimensionlessCoordinates transform. For example, if you want 1024 * 1024 * 1024 voxel resolution with normalized coordinates in [-1, 1), your voxel size would be 2/1024.


What shall be used for a smaller image?

In our cases, most of the image size is about 112x112, Shall we use 4 corners and 1 center or just use the whole image to infer?
Thanks.

Hi @quanqigu!
I would suggest you use the whole image for inference. In general, even for bigger images, the results using the whole image or 4 corners + 1 center are very similar, so it shouldn't be a problem.


Updated Nebulaworks logo

Pre-submission checklist:
Please check each of these after submitting your pull request:

[X] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[X] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[X] Have you picked the single best (existing) category for your project?
[X] Does it follow the other guidelines from the new entries section?
[X] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[X] Does your project/product name match the text on the logo?
[X] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~5 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit b3fb4c411516dea5aa698eccd460752dfee9092c
https://deploy-preview-1412--landscape.netlify.com

Logos look correct, LGTM.
Where/how does the logo for member get updated?

You can see the other change that was necessary: https://github.com/cncf/landscape/pull/1412/files#diff-399df63a0dc3d44f4844720cbfc58105


[Improvement] [UI Next][V1.0.0-Alpha] Prettier and ESlint

close #8793

Codecov Report

Merging #8794 (89f3ec0) into dev (97a0eed) will increase coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head 89f3ec0 differs from pull request most recent head a75fa12. Consider uploading reports for the commit a75fa12 to get more accurate results

@@            Coverage Diff            @@
##                dev    #8794   +/-   ##
=========================================
  Coverage     45.30%   45.31%
- Complexity     4076     4077    +1
=========================================
  Files           702      702
  Lines         27110    27110
  Branches       2897     2897
=========================================
+ Hits          12283    12284    +1
  Misses        13674    13674
+ Partials       1153     1152    -1

Impacted Files
Coverage Δ

...e/dolphinscheduler/remote/NettyRemotingClient.java
53.52% <0.00%> (+0.70%)
:arrow_up:

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 97a0eed...a75fa12. Read the comment docs.


elements not evaluated after vue update

Describe the bug
New elements are not evaluated by metro
To Reproduce
<li data-icon="" data-caption="Hearbeat">

<li v-for="key in keys" data-icon="" data-caption="Hearbeat">

The second element is updated by vue
Expected behavior
That all elements get updated
Screenshots
The first one is the correct rendered DOM by metroui, the second is one is vue subproduct

Desktop (please complete the following information):

OS: iOS
Browser: chrome
Metro Version: 4.3.10

Additional context
I did try to call metro.init() for each tick but it did not work, any tips ?

https://metroui.org.ua/vuejs.html

if component already initiated, you must add node in full mode, with children elements: icon and caption.

Unfortunately, at the moment Metro 4 is not tested for Vue, and does not take into account the features of this framework.

Hi @olton thank you for your reply, I'm using metro ui documentation for vue, will try to create a minimal example just to have it documented here.

https://codepen.io/olton/pen/dyMeYxp

Hi @olton, yes it works when the values are predefined, but I'm getting the values from a websocket, as you can see in my screenshot the elements are all not rendered by metro. I'm calling vue update manually after I receive my data from websocket.

Please create example on codepen.io

Hi @olton, I'll asap, just need to finish some things first.

use next code:

    Hearbeat

Minimal test that replicates my issue: https://codepen.io/pen/?template=JjXZMWd

use next code:

    Hearbeat

With this it work, but with <li v-for="key in keys" data-icon="" data-caption="Hearbeat">
 nops

parsing of attributes occurs at the moment of creating a component, in the future you need to use either api methods to add / remove nodes, or use the full form of a node.


get-chick-with-state returns #f when there is not an available chicken

This causes me to reference (-> #f root trans) and the game explodes. Add one extra chicken that is giant and red and we fall back and return this one if something goes bad instead of #f. This should never happen but if people do get a giant red chicken they will probably tell me.

https://github.com/user-attachments/assets/e968fefa-328d-4d91-bc5e-e62d87c45900
Fixed, and even better the fix helped me find a new bug to fix :D
And I got to use labels/goto for the first time.


Fixed invalid link

How to Make Sure Agile Teams Can Work Together link was pointing to https://insights.office.com/collaboration/how-to-make-sure-agile-teams-can-work-together/ and site certificate was expired. I think this https://workplaceinsights.microsoft.com/collaboration/how-to-make-sure-agile-teams-can-work-together/ should we the right location.

@madehmer
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@madehmer
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@madehmer
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

This content has been retired - thank you!


evoked.plot displays ms instad of s

pb is here:
https://github.com/mne-tools/mne-python/blob/master/mne/viz/evoked.py#L138
basically we still display in "ms" even though we now use seconds. the time_unit should be passed here.

This is realated to #5082


Finagle 6.28.0 (and other minor updates)

Note that we can't update to SBT 0.13.9 until this issue is fixed.

Current coverage is 94.50%

Merging #393 into master will increase coverage by +0.44% as of 7677146

Powered by Codecov. Updated on successful CI builds.

Thanks @travisbrown!


Port-forward stuck in active status, stop button does not work

Describe the bug
Active port forward stuck and cannot be stopped: stop button does not do anything.
Workaround - to delete saved port-forward item and add it again.
To Reproduce
Steps to reproduce the behavior:

Create port-forward for some service/pod (if you don't have it already in Network->PortForwarding)
Activate port-forward by clicking start button.
In some cases it will be no more possible to stop active port-forward.

Expected behavior
Any time you see active port-forwards - you can stop them. Same for stopped port-forwards: if connection to k8s is ok and no port conflicts - you can always start them.
Environment (please complete the following information):

Lens Version: 5.4.4
OS: MacOS 12.1
Installation method: .dmg package

Additional context
Same bug spotted on Linux Manjaro.
@jim-docker CC (since you introduced this feature).

@metalrex100 sorry I missed this. Is the port-forward still working when this happens? Or you are trying to stop it because it stopped working and you want to restart it? Could the associated service/pod have been deleted? Did you try editing the port-forward and assigning it a new port? (Also, it may be easier to just disconnect and reconnect to the cluster to reset the port-forward, than to delete it and recreate it)
If you want to provide some logs when this happens you can run Lens from the terminal and look for [PORT-FORWARD] messages in the terminal window:
DEBUG=TRUE /Applications/Lens.app/Contents/MacOS/Lens

@jim-docker I spotted that mostly it happens after connection to internet lost and then appeared again.
After reconnection port forward stuck in active status, but actually not working. Service is not removed.
After Lens app terminated and opened again active port-forward could be stopped and then activated again. Another workaround (as I wrote initially) is to delete port-forward and recreate it.
When Lens did not have port-forward functionality I used kube-forwarder app.
It never did not have such bug. May be you can look how they handled such cases.

I also experience this bug on ubuntu 22.04

@jim-docker I spotted that mostly it happens after connection to internet lost and then appeared again. After reconnection port forward stuck in active status, but actually not working. Service is not removed.
After Lens app terminated and opened again active port-forward could be stopped and then activated again. Another workaround (as I wrote initially) is to delete port-forward and recreate it.
When Lens did not have port-forward functionality I used kube-forwarder app. It did not have such bug. May be you can look how they handled such cases.

Thanks for the Kube Forwarder recommendation! Beautiful simple app, and does the job that Lens could not. :P

@jim-docker I spotted that mostly it happens after connection to internet lost and then appeared again. After reconnection port forward stuck in active status, but actually not working. Service is not removed.
After Lens app terminated and opened again active port-forward could be stopped and then activated again. Another workaround (as I wrote initially) is to delete port-forward and recreate it.
When Lens did not have port-forward functionality I used kube-forwarder app. It did not have such bug. May be you can look how they handled such cases.

Thanks for the Kube Forwarder recommendation! Beautiful, simple app that solves the problem.

have same issue


Latest teams update does not accept manifest without localized name in localization file

I have a teams app, and a localization for the manifest, like this:
manifest.json
  "name": {
    "short": "My Cool App",
  },
  .....
  "localizationInfo": {
    "defaultLanguageTag": "en-us",
    "additionalLanguages": [
      {
        "languageTag": "sv-se",
        "file": "sv-se.json"
      }]

sv-se.json
{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.Localization.schema.json",
    "description.short": "...",
    "description.full": "..."
}

This week, when trying to upload the manifest, teams started complaining that manifest is invalid:
Error while reading manifest.json: root | Required properties are missing from object: ["name.short","name.full"].

It wants me to add "name.short" and "name.full" to the localizaiont file. meaning, if I change the sv-se.json like this, then it works:
{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.Localization.schema.json",
    "name.short": "My Cool App",
    "name.full": "My Cool App",
    "description.short": "...",
    "description.full": "..."
}

Looks like a bug to me? Why should teams care that some strings are missing in the localization? Especially full name? The name of my applicaiton is not localizable.
The same package was working fine less than a month ago.

@nbelyh - Could you please let us know in which Teams version are you facing this issue? If possible, please share your manifest zip as well?

I have Microsoft Teams Version <IP_ADDRESS>108 (64-bit)-E. It was last updated on 18.11.2022.
It is also not working in the current online (Web) version.
The zip file is attached below:
mycollapp.zip
The workaround: add "name.short" and "name.full" to the localization file.

@nbelyh - We tried to repro this issue using Teams Desktop client Microsoft Teams Version <IP_ADDRESS>474 (64-bit) and Web client as well.
If we don't enter any value under properties "name.short" and "name.full" in localization file, the app is not getting installed throwing the same error as you encountered.
manifest.zip
It seems like, these fields are required. We are checking with engineering team if this behavior is expected or not.
We will update you if we get any further info. Thanks!

@Prasad-MSFT
This seems to be exactly the bug: these fields were not required in the localization file one month ago :)
The point is, you normally don't want to translate the name of your application to all languages, it's a brand. Consider "Microsoft Teams" for example - should it be required to be translated? The name will most probably be just duplicated in the localization file, so isn't it logical to not require it there, since it's already specified in the manifest? And it was like that just one month ago, so maybe it's a bug?
Anyway, it's a minor thing, just in case somebody will face the same thing when trying to upload a manifest that was working one month ago just wonder why validation is failing now 😄

Manifest parsing has failed
The same issue we are getting for our application we tried to rename our application name.short in different localization files.

We are checking with engineering team if there is any latest update and if it's expected to throw this error.
After confirmation, we will update this doc mentioning "name.short" and "name.full" are required properties in localization file, so that next time onwards it will be much clearer to developer trying this.

My manifest was also working one month ago and I start to get the same erro, is there any work arround to solve this?

@ShimSooChang just add the "name.short" and "name.full" to the localization file (same as in your "main" manifest)

@nbelyh , @ShimSooChang - We have raised a documentation bug to highlight these points.
PFB the issue link: https://github.com/MicrosoftDocs/msteams-docs/issues/7633

@Prasad-MSFT The https://dev.teams.microsoft.com/appvalidation.html app validator should be updated to look for the new properties. Currently, the app package validator passes if you do not have the localization for name.short and name.full.

@Genesys-AlexW - Thanks for the information. We will pass this info to engineering team to update accordingly.


Visual Studio Community/Professional/Enterprise

Will this great extension ever come to Visual Studio? Or will Visual Studio ever support similar functionality?
I feel like CodeTour is a great tool to onboard new members, but now we have to ask them to get to know the environment in a secondary IDE.

Hi @svrooij,
I am not sure if you are still wanting to use this extension for Visual Studio but I found this CodeTourVS. Hope it helps!


[Development] Accommodate Different IOS Reports of Bandwidth

See: https://github.com/cardinal-dev/scout/issues/14#issuecomment-1136278304
See: https://github.com/cardinal-dev/scout/issues/14#issuecomment-1136278163

Doing some manual tests with this: r"(1|10|100|1000)(Gbps|Mbps)"

After patching scout with the new regex and doing some modifications on the Cardinal side, I think this could work:

Removed the Mbps, given that other APs may report in a different measurement (e.g. Mbps, Gbps). Essentially, it's keeping the value that scout gets by default and removing the strip() from cardinal_fetch.py.
I'll build a PR to remove the Mbps filter in scout, build another PR to make the necessary changes in Cardinal, and then run the necessary tests for coverage. I think it'll work :)

Hey @chrispro-21 :wave:
I see you have a commit in your fork of scout that could be ready for a PR (i.e. https://github.com/chrispro-21/scout/commit/963a687a9a7a8da3e758a21a8023b8e754c6769a). PRs are always welcome here! :)
If you need a hand getting a PR started, please let me know and I'll be happy to assist.


remove R_LIBS, PYTHONPATH, etc. when using conda env

(can be deactivated via the command line).

It's maybe worth noting that R also uses R_LIBS_USER and R_LIBS_SITE variables, in addition to R_LIBS.
Docs: https://stat.ethz.ch/R-manual/R-devel/library/base/html/libPaths.html


Update naming-conventions-for-computer-domain-site-ou.md

ampersand in NetBIOS domain name note
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

The changes are live. This PR will be closed.


Excalidraw is great but without shortcuts for changing colors it is absolutely unbearable.

Hey, I've been using excalidraw for a while now and the thing is it's such a neat and amazing plugin, I couldn't ever imagining not having it. But this post IS an issue so let's get into that. Excalidraw needs color stroke shortcuts for at least 5 of the layout shortcuts because having to navigate your mouse to the edit button, clicking, navigating to the color strokes, and clicking your desired color stroke doesn't sound that bad but it's very VERY inneficient if you have to change your color every so often.
I request for there to be a minimum of 5 color shortcuts representing our color palette. This is a to-DIE for feature. This might not be that bad to those who draw using excalidraw but for people who make mind maps with it like me it's very frustrating having to keep doing that over and over again. It's unbearable. I would really appreciate a response on this.
The hot key for it would probably be something like alt+1 and so on or potentially something else. Excalidraw has some really good shortcuts but it's definitely very lackluster when it comes to colors and I think a lot of us feel that way.
Thanks for reading and I hope you implement this feature.

Hi. It was actually planned to add shortcuts to the quick picks but wasn't implemented for some reason.
That said, the way it was going to work was still through first opening a respective color popup using either s (stroke color) or g (background color) and then using 1-5 to pick from the quick picks.
Having alt- wouldn't work as we wouldn't know whether you want to pick the stroke or the background color.

Hi. It was actually planned to add shortcuts to the quick picks but wasn't implemented for some reason.
That said, the way it was going to work was still through first opening a respective color popup using either s (stroke color) or g (background color) and then using 1-5 to pick from the quick picks.
Having alt- wouldn't work as we wouldn't know whether you want to pick the stroke or the background color.

thanks for the reply and, yeah that's a very good idea. Do you know when it might be added?

should will work on it in the few days!

Any news?

+1 for this feature, I find myself opening the palette and then selecting the colour a lot.

+1 for this feature, I find myself opening the palette and then selecting the colour a lot.

It is already implemented. Pressing s shows the stroke colour menu, g the background colour menu.

+1 for fast color changes in one click


VS Code not display on Kali when connected using XRDP

VSCode Version:1.30.2
OS Version:WSL Kali

Steps to Reproduce:
Sorry,my English is not good.
Like this:https://github.com/Microsoft/vscode/issues/3451
I can see "code" in taskmgr,but it doesn't display.
Changing libxcb.so.1 can't solve the problem.

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

I will mark this as a dup of #3451 since this seems to have a general problem on XRDP.


Match dsteem on signTransaction benchmarks

Creating an issue to address https://steemit.com/steemdev/@almost-digital/dsteem-vs-steem-js-round-1 by using whatever native calls used in dsteem in steem-js so it has similar performance when possible.
It'd be nice to add some related information about the steem.auth module here.

[ ] Benchmark vs v0.5.4

The native Node.js crypto package has been removed from steem.auth since v0.5.5 due to incompatibility with Ionic and React Native environment. That may explain the gap.

@yamadapc @bonustrack
related to this issue #204

https://www.npmjs.com/package/secp256k1
https://github.com/crypto-browserify
what's the plan to update steem-js for this issue?

I added a benchmark on https://github.com/steemit/steem-js/tree/204/match-dsteem-on-sign-transaction and profiled, that looks like the case; I'll try to understand how to switch then do it, this week.


FindAll always returns null for @BelongsTo field

Short version is that I'm unable to get a related model to populate with values
https://gist.github.com/amites/b16b24f864106121475e153c8b4d224a
The gist above duplicates the issue I'm seeing, can paste inline if helpful
With logging: console.log I can see that the query generated is pulling the related table data but not passing it back to the query result
assuming I'm doing something silly but been tinkering with it for a while without any progress
Versions

sequelize: 5.15.2
sequelize-typescript: 1.0.0-beta.4
typescript: 3.5.3

Possibly related, if I migrate from using a static initialization of Sequelize
from:
export const sequelize = new Sequelize
to:
export function initSequelize(context) { return new Sequelize
where context contains dynamically loaded values then I start getting some strange errors
example:
User.findAll()
Executing (default): SELECT `uid`, `name` FROM `users_example` AS `User` WHERE (`User`.`deleted_at` IS NULL);
2019-08-23 11:58:08.033 server:api:users:get (ERROR): Users.findAll: SequelizeDatabaseError: Unknown column 'User.deleted_at' in 'where clause'

If I comment out deleted_at column then it will run the query but return empty result set
Executing (default): SELECT `uid`, `name` FROM `users_example` AS `User`;
values:
	[]

If I run the query that appears in the logs (above) then it returns results as expected
Pretty new to sequelize but happy to help debug, just trying to figure out what a good entry point to start reading source code would be

Hey @amites, sry for the late reply. I see 2 issues with your code.

    @ForeignKey(() => Branch)
    @Column({
        field: 'branch_uid',
    })
    branchUid: string;

    @BelongsTo(() => Branch, 'uid')
    branch: Branch;

BelongsTo and HasMany takes as a second argument the foreign key, not the primary key.
2. When using ForeignKey you don't need to specify the foreign key in the BelongsTo and HasMany annotations.
So the following should do the job:
class Base extends Model<Base> {
    // ...
    @ForeignKey(() => Branch)
    @Column({
        field: 'branch_uid',
    })
    branchUid: string;

    @BelongsTo(() => Branch)
    branch: Branch;
}

class Branch extends Model<Branch> {
    // ...
    @HasMany(() => Base)
    bases: Base[];
}

Hope this helps!

Gracias, always a joy when it's the elusive obvious vs a real issue
At least once recognized, rather annoying when chasing it ;)


Stop capture while preserving HUD

I'd like to automatically capture a small subset of the startup of my application. If I call wtf.trace.stop() then the HUD disappears (and the documentation indicates the trace is discarded). Is there some way to preserve the HUD and allow me to use the "Send to UI" feature at a later point in time?

If you call wtf.trace.snapshot() where you are currently calling stop it should save off the current snapshot to a file right then. To name the file you can pass file://myname. Alternatively you can pass an empty array and the captured buffers will be placed in there so you can save them however you like:
var results = [];
wtf.trace.snapshot(results);
results[0];  // binary buffer

I was trying to figure out how to pipe that snapshot to the extension (from a page without file access). Looks like wtf.hud.sendSnapshotToWindow(false) will do the trick.


Unable to connect to resource terminals on dependency graphs

Describe the bug

Unable to connect to resource terminals on dependency graphs
Steps to reproduce
https://github.com/seal-io/walrus/assets/26084756/fd182f4f-1bed-4e16-a012-f7630b723ad8
Expected behavior

Environment

Walrus version: main c6bba6b527201671bcf74167e17f4fdd4fcfa40d
UI version: dev-f07ff40

Additional context
Add any other context about the problem here.

Environment

Walrus version: main c6bba6b527201671bcf74167e17f4fdd4fcfa40d
UI version: dev-18cb0d3

Test Result: pass


How to download photos?

This might be a bit of a dumb question but how do you exactly download photos that are not a file and have no caption? when I do  -c ".jpg" it only downloads the photos that are files.
Also it's only downloading at 1Mbps, why might this be?

Hello,
For speed problems please check this issue.
For downloading images you will need something to point that image to tell which one you want to download, the best pointer is a caption, without a caption or something to point, how do you want to say which images should downloaded? Another way is downloading the whole .jpg in conversation.

Hello,
For speed problems please check this issue.
For downloading images you will need something to point that image to tell which one you want to download, the best pointer is a caption, without a caption or something to point, how do you want to say which images should downloaded? Another way is downloading the whole .jpg in conversation.

Yeah I did check that issue before and I have cryptg installed, but it doesn't seem like it's using it because it's still slow.
About the images thing, my use case was to download every single photo and video of a channel to be able to image compare so I don't repost images, as well as having a local archive, but seems like this can't be done then?

Yeah I did check that issue before and I have cryptg installed, but it doesn't seem like it's using it because it's still slow.
About the images thing, my use case was to download every single photo and video of a channel to be able to image compare so I don't repost images, as well as having a local archive, but seems like this can't be done then?

Oh, I have to check it because I didn't have any problem with the speed.
I think it can be done but some codes need changes

Oh, I have to check it because I didn't have any problem with the speed.
I think it can be done but some codes need changes

Hmm I see, then you can't currently download pictures that are compressed or sent normally not as file and have no caption.

Hmm I see, then you can't currently download pictures that are compressed or sent normally not as file and have no caption.

Yes 🌝, But it's possible.

Yes 🌝, But it's possible.


Recognition issues

Issues are: 1 - spaces are not recognized, 2 - semicolon recognized as two symbols, 3 symbols sequence is not correct
Original djvu file is attached in zip
Sev.zip

patch.txt
Please test the attached patch, it is for inserting spaces.

I have committed fixes for the aforementioned issues.

It looks like this now.

The issue was solved in the branch new-algorithm and merged into master.


How to use ManiSkill2 as a benchmark？

Hello，
I would like to use ManiSkill2 as a benchmark, but the documentation has been upgraded to ManiSkill 3.0. I am confused about the use of ManiSkill2, such as how should I download the data to align with the previous methods. I see there are multiple versions of the data on Hugging Face, and I am unsure about how to handle the evaluation. I hope to maintain consistency with the CVPR workshop！
Thank you very much！

ManiSkill 3.0 is still in beta and not completely ready to have an official benchmark. It simply is a massive collection of various tasks but the official benchmark (for RL, IL, etc. areas of research) will pick out a subset of tasks and have baseline results for.
For ManiSkill 2, you can use the original code here: https://github.com/haosulab/ManiSkill/tree/v0.5.3 and follow the old documentation there for how to download demos, assets etc.
By default maniskill 3 demos/data will go to the "~/.maniskill" folder while for ManiSkill 2 it will go elsewhere.
If you want to compare against methods that tested on ManiSkill2, my recommendation now is to still use ManiSkill 2, at least until ManiSkill 3 has its comprehensive baseline results completed.

In  https://github.com/haosulab/ManiSkill/tree/v0.5.3，the document has also updated to latest version.

Can you send me a old documentation.

1、I download the data from https://huggingface.co/datasets/haosulab/ManiSkill2/tree/main/demos/v0/ . However, I find the code in https://github.com/tongzhoumu/ManiSkill_Baselines use a different url path. It is very slow,

If the https://huggingface.co/datasets/haosulab/ManiSkill2/tree/main/demos/v0/ is the right data path?
2、The document in CVPR workshop also expired.

Looks like the link is outdated.
This is the docs link for the maniskill 2: https://maniskill.readthedocs.io/en/v0.5.3-rtd/
For envs: https://maniskill.readthedocs.io/en/v0.5.3-rtd/concepts/environments.html
For dataset download, the old urls are the correct ones. The new ones which are mostly hosted on github or hugging face are for maniskill 3. Unfortunately download speed is heavily dependent on your network and our servers and can be variable.

Thank you very much! It helps me o lot!


YAML / simulated device: Need support for CASE messages to be sent to/from a "simulated device TH" and a "DUT "

Problem
Need support for YAML to send/receive messages to a simulated device and send/receive messages from chip-tool so that we can verify the Session Establishment process on a step-by-step basis.
Note: this functionality is already present in device commissioning but cannot thoroughly be tested without constructing and sending CASE messages (Sigma1, Sigma2, Sigma3, Sigma1_Resume, Sigma2_Resume, Sigma3_Resume) commands individually.
Examples

[TC-SC-3.1] Session Establishment test case states that each step requires that either the Initiator (DUT) or the Responder (simulated device TH) need to construct and send a Sigma1/2/3 CASE command to the other. https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/securechannel.adoc#331-tc-sc-31-session-establishment

[TC-SC-3.2] Session Resumption test case states that each step requires that either the Initiator (DUT) or the Responder (simulated device TH) need to construct and send a Sigma1/2/3_Resume CASE command to the other. https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/securechannel.adoc#332-tc-sc-32-session-resumption

I believe we have end-to-end test support for CASE in chip-tool now, but leaving open to be validated.
Automated testing of session establishment is required for v1.
Removing tag v1_triage_split_4


Create docs for /timp/orders/export/retailer/ endpoint & update orders.csv

There is an endpoint that is not documented. POST to: /timp/orders/export/retailer/ with {"uuids": [,,,]}
The result of that is the correct spec for the orders.csv. Both need to be updated.

Despite it having retailer in the name, it should work equally well for a supplier. 🤷♂


Update translations.yml Added Telugu as te.

Added telugu as te.
Description
Added telugu  as te.
Please include a summary of this change and the issue(s) you are fixing. Include any context or information that will help a reviewer verify this PR quickly. List any caveats or issues with this change up front.
Fixes #89 89<-- Add the issue number so that it automatically closes the issue_
Required checklist:

[x] My code matches the existing code style of this project.
One of these:

[x] This is a new localization for existing content.
[x] This is new content that is localized for all the locales that this project currently supports.
[x] I described above how I plan to localize this content immediately after merging these changes.
[x] Localization is not applicable to this change.

[x] I have tested my code and it successfully builds for GitHub Pages and validates as AMP.

Pls help it is showing error.

Thanks.
On Sun, 4 Oct, 2020, 3:57 PM Vineeth Thota<EMAIL_ADDRESS>wrote:

@qwezii commented on this pull request.
In _data/translations.yml
https://github.com/devadvance/terminalcheatsheet/pull/127#discussion_r499230113
:

@@ -38,6 +41,8 @@ site_description:

 em terminair de vários sistemas operacionais

id: Semua hal yang kamu butuhkan untuk memulai dan menjalankan
 terminal disemua sistem operasi.

te: మీకు అవసరమైన అన్ని జ్ఞానం లేచి నడుస్తుంది

Yep, I will check and comment on what I can...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/devadvance/terminalcheatsheet/pull/127#discussion_r499230113,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7Q4HXNHHZDCHQVDBL5GDDSJBEYXANCNFSM4SDSQJ4A
.

Thank you very much for your help.

@qwezii  thanks for the help, changes done.

@qwezii thanks for being an awesome collaborator on this! Reviewing now.

Thanks
On Sun, 4 Oct, 2020, 11:52 PM Matt Joseph<EMAIL_ADDRESS>wrote:

Merged #127 https://github.com/devadvance/terminalcheatsheet/pull/127
into staging.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/devadvance/terminalcheatsheet/pull/127#event-3837819404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7Q4HRNSR7WT5HGXKTAVALSJC4PXANCNFSM4SDSQJ4A
.


The FlyingThings3D.zip may compress the wrong data

Thanks for releasing this amazing project.
As the title mentions, if I use the FlyingThings3D.zip downloaded from the Google Drive, nuscenes_sf.zip is obtained after decompression. 🤪
Hope to update and fix this link.

Oh, thanks for the reminder! I Will update soon.

Just updated the link! Cheers.


PopOver needs 2 clicks to re-open if closed by yielded close action

After not being able to initially reproduce the issue on ember-twiddle and accidentally stumbling upon #750  I could reproduce the issue now, see the latest version of the twiddle
So the issue is, that if the popover is closed using the yielded close action, the next time it needs 2 clicks on the CLICK ME button to re-open the popover.

<button class="btn btn-primary btn-lg">
  CLICK ME
  {{#bs-popover as |po|}}
    <button class="btn btn-lg btn-link" {{action po.close}}>Cancel</button>
  {{/bs-popover}}
</button>

Output from ember bootstrap:info:
Npm packages:
ember-bootstrap: ~2.4.0 -> 2.4.0
ember-cli: ~3.2.0 -> 3.2.0
bootstrap: ~4.1.3 -> 4.1.3
bootstrap-sass: n/a
ember-cli-sass: ~8.0.1 -> 8.0.1
ember-cli-less: n/a
Bower packages:
bootstrap: n/a
bootstrap-sass: n/a
ember-bootstrap configuration:
bootstrapVersion: 4
importBootstrapFont: false
importBootstrapCSS: false

I have the same problem as well... a temporary workaround could be to use the popovers' visible attribute but that is kind of difficult in my case

Although based on https://github.com/kaliber5/ember-bootstrap/issues/750 I tried setting renderInPlace=true and now it doesn't require 2 clicks

Thanks for the reproduction, and sorry for the late reply. Unfortunately I am a bit short on time. If someone could provide a PR with a failing test, that would certainly be helpful! Basically using the above example and doing the clicks in a test as describer in the twiddle...

@simonihmig seems like this issue has been resolved, I upgraded to 2.7.x and it's working!