[C++] "File name too long" when installing arrow-cpp from conda-forge

Describe the bug, including details regarding any error messages, version, and platform.
Trying to install arrow-cpp by
conda install arrow-cpp
or
conda install -c conda-forge arrow-cpp
I get
Downloading and Extracting Packages
InvalidArchiveError("Error with archive /home/alxneit/share/miniconda3/pkgs/arrow-cpp-11.0.0-h374c478_1.conda.
You probably need to delete and re-download or re-create this file.
Message was:\n\nfailed with error: [Errno 36] File name too long: '/home/alxneit/share/miniconda3/pkgs/arrow-cpp-11.0.0-h374c478_1/share/gdb/auto-load/croot/arrow-cpp_1686080352370/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho'")
conda info reports
active environment : 4DSTEM
active env location : /home/alxneit/share/miniconda3/envs/4DSTEM
shell level : 1
user config file : /home/alxneit/.condarc
populated config files : /home/alxneit/.condarc
conda version : 23.5.0
conda-build version : not installed
python version : 3.11.4.final.0
virtual packages : __archspec=1=x86_64
__glibc=2.31=0
__linux=5.4.0=0
__unix=0=0
base environment : /home/alxneit/share/miniconda3  (writable)
conda av data dir : /home/alxneit/share/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/alxneit/share/miniconda3/pkgs
/home/alxneit/.conda/pkgs
envs directories : /home/alxneit/share/miniconda3/envs
/home/alxneit/.conda/envs
platform : linux-64
user-agent : conda/23.5.0 requests/2.29.0 CPython/3.11.4 Linux/5.4.0-152-generic ubuntu/20.04.6 glibc/2.31
UID:GID : 1000:1000
netrc file : None
offline mode : False
Yes, I removed and re-downloaded the offending file several times but the issue persists.
Component(s)
Other

Is it possible your are using an encrypted home folder? Conda has an issue with this: https://github.com/conda/conda-build/issues/1482
There are a few workarounds described there.

Yes, indeed my home is encrypted. I checked the workarounds mentioned above, or better, I tried but failed. What exactly am I supposed to do exactly assuming I have access to some unencrypted dir like e.g. /tmp? I am probably just too stupid ...
conda install --croot /tmp arrow-cpp
usage: conda [-h] [-V] command ...
conda: error: unrecognized arguments: --croot

I also tried (unsuccessfully) to set CONDA_BLD_PATH=/tmp and/or TMPDIR=/tmp as environment variables or to add
build:
  script_env:
   - TMPDIR

or
     root-dir: /tmp

to .condarc

I think you want something like...
conda create -p /tmp/my_env
conda activate /tmp/my_env
conda install -c conda-forge arrow-cpp

While I think this will work I would be cautious about putting a conda environment in a tmp folder that is going to be deleted on restart.

No, installing in /tmp is a no-brainer. So I'll have to simply install anaconda/miniconda outside the encrypted folder. Thanks a lot for the clarification(s)


Include default LANG in url?

Sorry, there was no discussion board so I open a question as an issue.
I wonder can I always have the default lang included?
The site will have 2 languages:
www.mysite.com/en/content << defualt
www.mysite.com/fr/content

@Fasani I think you always have the default lang included. You will also have a no-lang path as a bonus. Then it is up to you how to use them.
www.mysite.com/content << bonus
www.mysite.com/en/content << default
www.mysite.com/fr/content


modloss_importance in modification.tsv

Were the modloss_importance values derived from somewhere or just arbitrary? I noticed they were only set to non-zero values for phospho and glygly. Does this mean that unless manually changed in modification.tsv to be 1, b/y ions with modlosses will be ignored?
Thanks,
Kevin

In AlphaPeptDeep, modloss_importance is controled by modloss_importance_level in the settings: https://github.com/MannLabs/alphapeptdeep/blob/main/peptdeep/constants/default_settings.yaml#L41
The fragment masses and predicted intensities will be zero for all PTMs with modloss_importance < modloss_importance_level
To change the modloss_importance values, you can either modify the tsv or do it programmly:

from alphabase.constants.modification import MOD_DF, update_all_by_MOD_DF, MOD_LOSS_IMPORTANCE

MOD_DF.loc['Oxidation@M','modloss_importance'] = 1000
update_all_by_MOD_DF()
print(MOD_LOSS_IMPORTANCE['Oxidation@M'])

Thanks for explaining!


[SPARK-31879][SQL][test-java11] Make week-based pattern invalid for formatting too

What changes were proposed in this pull request?
After all these attempts https://github.com/apache/spark/pull/28692 and https://github.com/apache/spark/pull/28719 an https://github.com/apache/spark/pull/28727.
they all have limitations as mentioned in their discussions.
Maybe the only way is to forbid them all
Why are the changes needed?
These week-based fields need Locale to express their semantics, the first day of the week varies from country to country.
From the Java doc of WeekFields
    /**
     * Gets the first day-of-week.
     * <p>
     * The first day-of-week varies by culture.
     * For example, the US uses Sunday, while France and the ISO-8601 standard use Monday.
     * This method returns the first day using the standard {@code DayOfWeek} enum.
     *
     * @return the first day-of-week, not null
     */
    public DayOfWeek getFirstDayOfWeek() {
        return firstDayOfWeek;
    }

But for the SimpleDateFormat, the day-of-week is not localized
u	Day number of week (1 = Monday, ..., 7 = Sunday)	Number	1

Currently, the default locale we use is the US, so the result moved a day or a year or a week backward.
e.g.
For the date 2019-12-29(Sunday), in the Sunday Start system(e.g. en-US), it belongs to 2020 of week-based-year, in the Monday Start system(en-GB), it goes to 2019. the week-of-week-based-year(w) will be affected too
spark-sql> SELECT to_csv(named_struct('time', to_timestamp('2019-12-29', 'yyyy-MM-dd')), map('timestampFormat', 'YYYY', 'locale', 'en-US'));
2020
spark-sql> SELECT to_csv(named_struct('time', to_timestamp('2019-12-29', 'yyyy-MM-dd')), map('timestampFormat', 'YYYY', 'locale', 'en-GB'));
2019

spark-sql> SELECT to_csv(named_struct('time', to_timestamp('2019-12-29', 'yyyy-MM-dd')), map('timestampFormat', 'YYYY-ww-uu', 'locale', 'en-US'));
2020-01-01
spark-sql> SELECT to_csv(named_struct('time', to_timestamp('2019-12-29', 'yyyy-MM-dd')), map('timestampFormat', 'YYYY-ww-uu', 'locale', 'en-GB'));
2019-52-07

spark-sql> SELECT to_csv(named_struct('time', to_timestamp('2020-01-05', 'yyyy-MM-dd')), map('timestampFormat', 'YYYY-ww-uu', 'locale', 'en-US'));
2020-02-01
spark-sql> SELECT to_csv(named_struct('time', to_timestamp('2020-01-05', 'yyyy-MM-dd')), map('timestampFormat', 'YYYY-ww-uu', 'locale', 'en-GB'));
2020-01-07

For other countries, please refer to First Day of the Week in Different Countries
Does this PR introduce any user-facing change?
With this change, user can not use 'YwuW',  but 'e' for 'u' instead. This can at least turn this not to be a silent data change.
How was this patch tested?
add unit tests

Test build #123534 has started for PR 28728 at commit c8ac3f0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28156/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28157/
Test PASSed.

Test build #123535 has started for PR 28728 at commit 7b95d6c.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28158/
Test PASSed.

Test build #123536 has started for PR 28728 at commit ca79e03.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28159/
Test PASSed.

Test build #123534 has finished for PR 28728 at commit c8ac3f0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

retest this please

Test build #123537 has started for PR 28728 at commit 7671d96.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28160/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28161/
Test PASSed.

Test build #123538 has started for PR 28728 at commit d7fc6d9.

I'm fine with it, what do you think?  @bart-samwel @maropu @MaxGekk @HyukjinKwon @dongjoon-hyun

Test build #123536 has finished for PR 28728 at commit ca79e03.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123536/
Test FAILed.

Test build #123535 has finished for PR 28728 at commit 7b95d6c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123535/
Test PASSed.

Test build #123537 has finished for PR 28728 at commit 7671d96.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123537/
Test PASSed.

Test build #123538 has finished for PR 28728 at commit d7fc6d9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123538/
Test PASSed.

@cloud-fan Yes, let's forbid the legacy week-based letters that were non-localized. We can keep the new format letters, those are new features then.

thanks, merging to master/3.0!


Add error msg for mobile devices

Mobile devices should not be allowed to use the app and should display an error to use the web app on a desktop device.
Make use of User Agents.
How would an iPad be handled?

https://user-images.githubusercontent.com/50140864/162576020-08613620-cd41-4553-8bbf-4ac7b919294d.jpeg

How would an iPad be handled?

  if (/iPad|iPhone|iPod/.test(navigator.platform)) {
    return true;
  } else {
    return navigator.maxTouchPoints &&
      navigator.maxTouchPoints > 2 &&
      /MacIntel/.test(navigator.platform);
  }
}

function isIpadOS() {
  return navigator.maxTouchPoints &&
    navigator.maxTouchPoints > 2 &&
    /MacIntel/.test(navigator.platform);
}```

[Source](https://stackoverflow.com/a/58979271)

Mobile devices should not be allowed to use the app and should display an error to use the web app on a desktop device.

If less than a specific width; hide all buttons and display a message to open it from a PC?

The reason why this is 'error' message is required, is because I haven't figured out a way to make Git Graph responsive on smaller screens. I haven't looked into it too much and that is not a priority to be honest, because it is extremely rare for someone to have a .git directory on their mobile or iPad.
So better than calling it an 'error' message, it should be called a 'warning' message.
The 'warning' message to be displayed would be something like: The rendered graph might not be properly visible. Using a larger screen would be recommended.

Okay so currently on the home page, an IntroMsg component gives general information on the web app.
What we can do for any device below a specific width is that we can prominently display a note or something in the IntroMsg component or maybe display a ErrorMsg component above the IntroMsg component.
Also, let us stick to the width to add the note for now, because there are certain restrictions on navigator.userAgent that I haven't had time to look into. (If you have the time @tusharnankani, please let me know what we can do. I don't even know whether all browsers are going to implement this or whether this is just specific to Google Chrome.)
I was going to suggest disabling the directory selector button while less than the width as well, but let that be for now, because

Let us not restrict users. They've been warned, so it's their choice whether they want to go ahead with it.

This makes me feel that adding an ErrorMsg component above IntroMsg would be nice, as that would be much more prominent than adding a small note in IntroMsg.

Desktop users will be affected by the button disabling, which doesn't make sense.

Some desktop users might be using their browsers at smaller sizes.

LMK your thoughts @tusharnankani and also, would you like to open a PR for this? Thank you!

Damn. I forgot about this.

Side note: I need a bot like @RemindMeOfThis like the one on Twitter. cc: @KartikSoneji

So, for patternistic; I did this:

Since, it is based out of hover effects; best seen on desktops.
https://github.com/tusharnankani/patternistic/blob/db69727369fd4e6be5487217a3f978cbe874a944/index.html#L26-L28
https://github.com/tusharnankani/patternistic/blob/db69727369fd4e6be5487217a3f978cbe874a944/style.css#L91-L113
ez.

The reason why this is 'error' message is required, is because I haven't figured out a way to make Git Graph responsive on smaller screens. I haven't looked into it too much and that is not a priority to be honest, because it is extremely rare for someone to have a .git directory on their mobile or iPad.
So better than calling it an 'error' message, it should be called a 'warning' message.

The 'warning' message to be displayed would be something like: The rendered graph might not be properly visible. Using a larger screen would be recommended.

Got it, makes sense!

I was going to suggest disabling the directory selector button while less than the width as well, but let that be for now, because

Let us not restrict users. They've been warned, so it's their choice whether they want to go ahead with it.

This makes me feel that adding an ErrorMsg component above IntroMsg would be nice, as that would be much more prominent than adding a small note in IntroMsg.

Desktop users will be affected by the button disabling, which doesn't make sense.

Some desktop users might be using their browsers at smaller sizes.

Okay, so like a modal/dialog/popup, which can be closed. Something like this?

The Patternistic approach is something I don't want to do because:

Let us not restrict users. They've been warned, so it's their choice whether they want to go ahead with it.

This makes me feel that adding an ErrorMsg component above IntroMsg would be nice, as that would be much more prominent than adding a small note in IntroMsg.

Desktop users will be affected by the button disabling, which doesn't make sense.

Some desktop users might be using their browsers at smaller sizes.

Okay, so like a modal/dialog/popup, which can be closed. Something like this?

No, just use the existing ErrorMsg component.


Fixed Up And Cleaned Up

I did a few things here: cleaned up the if statements into a list of functions, created unit tests for unit tests, and fixed up the restricted field.
Things left: I need to understand how the program reads the yaml file. All unit tests on my end work, but IDK how the program actually reads and processes the files.

Follow up: Fixed restriction issues.
Things Left: Error message and additional features


Provide pre-built antrea-octant-plugin

Modify prepare-assets to provide pre-built antrea-octant-plugin
for different platforms in release assets.

Change antrea-octant-plugin to adapt to 0.13.1 octant changes.
It seems that clicking on parent navigation bar will not show content
changes but only all the child navigation bars in octant release 0.13.1,
so this patch adds child navigation bar named overview to show
both Antrea controller and agent information tables.

Fixes:#853

/test-all

/test-all

/test-windows-conformance

@antoninbas Yes, I have tested prepare-assets.sh script locally.


TypeError: Cannot read property 'length' of undefined in getActionForClassLikeIncorrectImplementsInterface during getCodeFixes

tsserver version: 2.6.1
hitting sessions: 2517
stack:
TypeError: Cannot read property 'length' of undefined
    at Object.getActionForClassLikeIncorrectImplementsInterface [as getCodeActions] (tsserver.js:75104:104)
    at tsserver.js:74988:33
    at Object.forEach (tsserver.js:1312:30)
    at Object.getFixes (tsserver.js:74987:16)
    at tsserver.js:80109:35
    at Object.flatMap (tsserver.js:1550:25)
    at Object.getCodeFixesAtPosition (tsserver.js:80107:23)
    at IOSession.Session.getCodeFixes (tsserver.js:86515:64)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:85423:61)
    at tsserver.js:86669:88
    at IOSession.Session.executeWithRequestId (tsserver.js:86660:28)
    at IOSession.Session.executeCommand (tsserver.js:86669:33)
    at IOSession.Session.onMessage (tsserver.js:86689:35)
    at Interface.<anonymous> (tsserver.js:87881:27)
    at emitOne (events.js:96:13)
    at Interface.emit (events.js:191:7)
    at Interface._onLine (readline.js:241:10)
    at Interface._normalWrite (readline.js:384:12)
    at Socket.ondata (readline.js:101:10)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:178:18)
    at Socket.Readable.push (_stream_readable.js:136:10)
    at Pipe.onread (net.js:560:20)

Code has changed for this quick fix making the analysis pointless. closing as won't fix for now.


docs: iconify GitHub link

Closes #
✅ Checklist

[ ] I have followed every step in the contributing guide (updated 2022-10-06).
[ ] The PR title follows the convention we established conventional-commit
[ ] I performed a functional test on my final commit

Changelog

Screenshots
[Screenshots]
💯

left a few comments on the vercel preview

Not perfect, feel free to adjust the styling

That PR was merged into this one, not next, so this one will still need to be merged
Maybe I should have it try to merge to next instead?

That PR was merged into this one, not next, so this one will still need to be merged
Maybe I should have had it try to merge to next instead?

No we merge this to next.

Cool, that's good to know
lmk if anything else is needed :D

Cool, that's good to know
lmk if anything else is needed :D

I think the transition states are a bit all over the place, some hovers transitions and some don't, and when switching themes some stuff transitions and some doesn't.

merging as "good enough" - someone in disc will continue and making transitions more uniform etc


Todo: Change component status when build starts/ends

Description of the problem
We don't change the component status when we use the Build mode and when Tekton starts or ends the task of the build
oc get all
NAME                              READY     STATUS      RESTARTS   AGE
pod/s2i-buildah-push-pod-e08506   0/8       Completed   0          11m

NAME                               AGE
task.tekton.dev/s2i-buildah-push   11m

NAME                                  SUCCEEDED   REASON    STARTTIME   COMPLETIONTIME
taskrun.tekton.dev/s2i-buildah-push   False                 11m         2m

NAME                                                  RUNTIME       VERSION   AGE       MODE      STATUS    MESSAGE                                                                REVISION
component.devexp.runtime.redhat.com/fruit-client-sb   spring-boot   2.1.3     11m       build     Pending   pod is not ready for component 'fruit-client-sb' in namespace 'demo'

I have updated the code to change the status to building when the component will be be processed by the build reconcile.

@cmoulliard I think we should have only one function and use the deploymentMode. That said, that function should probably be changed, since in calling code, we're only interested in the pod status and its name, not the pod itself…

I propose then to enrich the fetch function and to use as label to query the build's pod this selector - https://github.com/snowdrop/component-operator/blob/166030e6bdaabc7d91fe45ca9525564838cff430/pkg/controller/component/helpers.go#L58 and of course the app: component_name selector for a dev's pod

BTW, we have also to change the code in order to use isPodReady for dev deployment and isBuildSucceed for build deployment
Here are the different status reported by the taskRun. Value is equal to True if it succeeded
oc get taskruns
NAME               SUCCEEDED   REASON    STARTTIME   COMPLETIONTIME
s2i-buildah-push   Unknown     Pending   6s

oc get taskruns
NAME               SUCCEEDED   REASON     STARTTIME   COMPLETIONTIME
s2i-buildah-push   Unknown     Building   24s

oc get taskruns
NAME               SUCCEEDED   REASON    STARTTIME   COMPLETIONTIME
s2i-buildah-push   False                 2m          51s

I can't use fetchPod to get the pod and next check if isBuildSucceeded as the  status and conditions are managed by the taskRun resource and not directly by the pod of task doing the build


Fade Bug when "crossFade" set to false

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 3.4.0.

Platform/Target and Browser Versions: All Platforms.

What you did
When you Initialize a new Swiper object with effect: "fade" and fade: { crossFade: false }, the carousel breaks with all of the slides having their opacity set to "1".
Expected Behavior
We should have only the active slide with an opacity set to "1".
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that.
Before you open an issue, please check if a similar issue already exists or has been closed before.

We should have only the active slide with an opacity set to "1".
crossFade should be set to true to achieve this

@nolimits4web I had essentially the same issue as #2013 i.e. able to see larger images behind/underneath. I don't really understand why crossFade: true isn't the default?


Convert Boolean Parameters to boolean for puppetdb query

A PuppetDB Query with a Boolean Parameter must not be in quotes. This PR fix this issue and resolves #583

Coverage decreased (-0.2%) to 82.027% when pulling a892f572e66d23d2f7b67c7ac77b99db41993768 on sebastianrakel:fix-boolean-fact-filter into 974c51ad6c08d99662ba013789565f63cd431b03 on voxpupuli:master.


Fix: input text color in the password form field in the phone number page

Version Information

Device
Value(s)

Device type
Pixel 7

OS version
Android

installed package version

Description
The input text color of the phone number form field in the phone number authentication page is not visible enough
Steps To Reproduce

Go to the registration page
Click on "phone number" button or swipe from right to left on the form fields
input text on the password field
See issue

Expected Behavior
The text should have a solid "black" color
Screenshots

Possible Solution
Change the font color of the style of the formfield.

Can you assign this issue to me

I have implemented some changes and I think it might work but the problem is I can't run the app to see the changes as I am getting this error `
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:processDevelopmentDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it.  `

@Utkarsh4517 kindly provide your debug certificate fingerprint
You can generate one by following this guide https://developers.google.com/android/guides/client-auth
Thereafter, I'll provide you with the updated google-services.json file that will resolve this issue

Extract this file and place it in the android -> app -> src -> development directory
google-services.json.zip

So I think I have fixed the issue, I can see texts completely black on my device.

Our default remote branch is development
Make sure to follow our contribution guide here https://github.com/FlutterPlaza

Sorry to disturb, but I am getting some confusion, I have committed the changes, but I am doubtful about pushing can you please guide, I saw the contribution guideline, but I got overwhelmed about pushing.
I have committed changes on local branch issue-109

Right
Step 1:
git pull upstream-name development
where upstream-name is the name of the remote you defined and points to  git@github.com:FlutterPlaza/FinFlow.git
e.g. if I had set my remote name as upstream and I run the git remote -v command, I should have
upstream        git@github.com:FlutterPlaza/FinFlow.git (fetch)
upstream        git@github.com:FlutterPlaza/FinFlow.git (push)

Step 2:
git push your-remote  your-local-branch
In your case:  git push  origin  issue-109
Given that you named your remote origin and it points to git@github.com:your-user-name-here/FinFlow.git

I just created a PR, You can review it


create_avd_device does not appear to work as described

When I try using create_avd_device as a label I get this error:
[!] Exit status of command 'echo "no" | ~/Library/Android/sdk/tools/bin/avdmanager create avd --name "Test-Phone" --package "system-images;android-25;google_apis;x86" --device "Ephemeral Test Phone" --tag google_apis --abi x86 ' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
Error: No device found matching --device Ephemeral Test Phone.

Presumably the --device arg doesn't work the same in avdmanager as it did in the old android avd tool.

Have you checked the device ID exists?
--device takes the device id which you can get from avdmanager list device. It's the value listed next to id:, not Name:

id: 18 or "pixel_c"
Name: Pixel C
OEM : Google

Would be "pixel_c" not "Pixel C"

Hi @dantman!
Sorry for late response.
Yeah that's avdmanager related error. It's not plugin fault.
Try @rohanmartin solution. I was about to answer the same when I saw your question.

I know what --device does in the current avdmanager, my problem is the documentation.
This is what README.md says:

create_avd_device - optional label for device e.g. "For plugin tests only. Do not touch."

Whoops! I am sorry then - it's problem on our side.
Thanks for pointing that.
I have updated README.md.


Adding tests to get_scheduler

This PR adds tests to the get_scheduler() function, and improves type hinting by listing all optional arguments instead of relying on kwargs so editors can auto-complete the available options.
In the process of writing these tests, I found we have an inconsistency with our cosineannealingwarmup which we implement manually, and  cosineannealing, which is implemented by pytorch. Specifically, what we're calling lr_end is not the same as eta_min if lr_end != 0.0. We need to either multiply lr_end by lr when passing to eta_min in cosineannealing, or divide lr_end by lr when using our cosineannealingwarmup function. This is likely not a big deal since I don't think we use cosineannealingwarmup by default, but we should be careful with this when using cosine annealing schedulers as the result may not be as expected.

Great stuff. Will review properly soon. If you want to add a scheduler that
linearly approaches 0 in the final 20% of steps this would be useful as
Anthropic recommended it in their last update.
On Wed, Mar 27, 2024, 11:14 PM David Chanin @.***>
wrote:

@.**** commented on this pull request.
In tests/unit/test_optim.py
https://github.com/jbloomAus/mats_sae_training/pull/57#discussion_r1542141408
:

+def test_get_scheduler_cosineannealing(optimizer: Adam):

scheduler = get_scheduler(

   "cosineannealing", optimizer, training_steps=4, lr_end=0.05

)
assert isinstance(scheduler, CosineAnnealingLR)
assert scheduler.T_max == 4
assert scheduler.eta_min == 0.05

+def test_get_scheduler_cosineannealingwarmup():

NOTE: if the lr_end is not 0.0, this test will not pass.

If eta_min = lr_end * lr, then the test will pass.

We should be careful about the difference between our lr_end and proper eta_min.

lr_end = 0.0

changing this lr_end to something > 0 will highlight the bug where our
cosine annealing and torch's cosine annealing define eta_min differently.
—
Reply to this email directly, view it on GitHub
https://github.com/jbloomAus/mats_sae_training/pull/57#pullrequestreview-1964911558,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPMYZ5F2WKHITB7ITDBACLY2NHEXAVCNFSM6AAAAABFLZC5KOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTSNRUHEYTCNJVHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Would it just be a constant scheduler with 20% linear decay?
One thing we could do with the get_scheduler() function is add a linear_decay_steps param similar to warm_up_steps param, and use lr_scheduler.SequentialLR to apply an optional linear warmup, followed by whatever the main scheduler is, followed by an optional linear decay. This would mean that any scheduler could have a linear warmup/decay using the sequentialLR to just apply a linear warmup/decay in series. That would simplify the function quite a bit as well.

Would it just be a constant scheduler with 20% linear decay?
One thing we could do with the get_scheduler() function is add a linear_decay_steps param similar to warm_up_steps param, and use lr_scheduler.SequentialLR to apply an optional linear warmup, followed by whatever the main scheduler is, followed by an optional linear decay. This would mean that any scheduler could have a linear warmup/decay using the sequentialLR to just apply a linear warmup/decay in series. That would simplify the function quite a bit as well.

this sounds good! In general being able to compose the scheduler in various ways seems valuable.

I'm going to accept this and we can do the following improvements in another PR


Project 1, task 21

I am slightly confused about the first markdown cell of the task. We were only asked to write the codes in task 21, as the concept of writing it is being addressed in task 20. On the second cell of the task 21, we were given the cell with prompts to write the multiple line of codes( BTW for me this is the hardest question of the project 1), followed by a cell with a test run of 4 countries. I suggest to delete the first cell, unless I am confused about something else other than the codes that I need to address? BTW, in that cell I suggested to delete, I put down " please see the following cell for my codes" LOL!

Thank you for letting me know about the extra Markdown cell. I'll delete it for others.
@shihwachang, since you edited that cell, I don't think I have the ability to delete yours since the links preserve student work on cells.


Add --grep option to run a subset of test files

US152300: Visual-diff: run a subset of tests
Allows any library-created group to run a subset of test files by modifying the pattern with values from the --grep (-g) CLI arg.
npm run test:visual-diff -- -g button list would modify the pattern ./test/**/*.vdiff.js to ['./test/**/*button*.vdiff.js', './test/**/*list*.vdiff.js'].

@eKoopmans, do you remember what syntax you were using with WTR to do this out-of-thebox? I think it was npx wtr ./**/icon.vdiff.js but that isn't working for me.

This looks liken it's taking advantage of --files being the default option, which, by itself, doesn't work if the group already has a file config, and all ours do. In my first commit I used --files to do what I'm doing now with --grep, but I didn't like mixing the meaning depending on whether you're using a library-defined group or your own group.

@eKoopmans, do you remember what syntax you were using with WTR to do this out-of-thebox? I think it was npx wtr ./**/icon.vdiff.js but that isn't working for me.

Okay I haven't looked at this PR so I have no other context, but to answer your question this is the sort of pattern I use:
npx web-test-runner **/object-property-list*.test.js --group default


v0.5.0 release preparation

v0.5.0 features are almost finished, before it release we still got something to do.

[ ] Documentation
[x] More test cases
[x] System directory API  improvement
[ ] Memory and file cache release

This is fantastic, looking forward to using the direct save / temp location to be more memory efficient in our particular use cases. Do you have an idea on timings for the release of this? Or a method of us installing the 0.5.0 branch with react native while this is still work in progress at all?
Many thanks

Hi @vince-rowe , please take a look on v0.5.0 milestone.
v0.5.0  functions and tests are almost finished, but I still prefer to publish on the scheduled date (say, June 12).
Before that, if you're going to install v0.5.0 from the source. you can just clone or download the source, then npm install the src folder.
For example
$ npm install --save ~/some-file-path/react-native-fetch-blob/src

And don't forget to add file storage permissions on Android if needed (see v0.5.0 README). As for the new API usages, you may reference the tests before the document finished.

Thats perfect, all up and running this end and looks great. Many thanks for your quick response.
Vince


Oss actions

New GitHub action created to fail build if a high severity issue is found.

Open a PR against your Fork of this Repo please. :)
Closing this PR.


Hermes error

Description
Got this build error with hermes on

Expected behavior
No crash
Actual behavior & steps to reproduce
pod install
react-native run-ios

Snack or minimal code example
use_react_native!(
   :path => config[:reactNativePath],
   # to enable hermes on iOS, change `false` to `true` and then install pods
   :hermes_enabled => true
 )

Package versions

React Native: 0.64.2
React Native AdMob: 1.5.1 and 2.0.0
Google Mobile Ads SDK(if specified):
Xcode: 12

Affected platforms

[ ] Android
[x] iOS

Removing import React works for me
Reference from this thread https://github.com/lottie-react-native/lottie-react-native/issues/708#issuecomment-775175081

Removing import React works for me
Reference from this thread https://github.com/lottie-react-native/lottie-react-native/issues/708#issuecomment-775175081


Adds Import definitions directory to metadata and apply changes to Inlezen CROHO.R

A import_definition directory has been created in metadata. A system variable has been created as well to keep the script clean.
In addition, the metadata files have been updated due to the new CROHO data.

Slightly more NA in 4 columns.
The assertion file was updated as subsets have become larger with the new CROHO export.

Furthermore, it appears column names had not been imported correctly using LaF. Therefore, a line was added to force the column names to be that of the import definitions.
Lastly, LaF seems to have a preference to have empty rows instead of NA. This has been rectified as well.

Hi Tomer,
Changes are good! I read somewhere you were updating / making a new function for reading the 'assertions' and 'import definitions', but I don't see that one yet?
--
This is quite dumb of me, but I hadn't realised these changes were already on this repo (I thought last time I was looking at the OPLAS repo).
Currently I have here the year 2022 also as config setting and the old CROHO csv in the raw data folder.
Can you try to update with the newest Inschrijvingen 1CHO with the package of Bram? And can you have a look at the the 1CHO Instroom cohorten for 2023? Then we can update this repo to 2023 :-) We can also look at this together.

Indeed, this was a "sequential" mistake on my part in planning work. I have written a function after making this pull request...

I have commited two changes:

update renv to have the latest dev version of vusa, to include read_import_definitions()
update the script to use the mentioned function

Alleen maar iets in deze thread 👎


Documentation: Convert

Do the checklist before filing the issue:

[x] Do you have Node.js and all the relevant dev-dependencies installed?
[ ] Is this a bug fix?
[x] Is this an enhancement?
[ ] Is this a feature request?

NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.

Give your answer below:

Provide a brief description of M.convert(), you can refer the implementation for the same here
Also, follow the documentation format followed for other functions such as here
Make sure to cover the edge cases, as well as the error cases. Add relevant links as well, pertaining to implementation and use of convert.
Here is the issue related to this-
#140

I will be working on this


[Task]: Update Connectors to Ballerina version: 2201.3.0

Connector Name
other (None Listed Above)
Task Description
Update all connectors to be compatible with Ballerina version: 2201.3.0

Closing since this is done


fix key and add time Infraction

Height and power are reversed in iteratePipedValsetOperations
Add the infraction time todo

I just cleaned up BuildPipedValsetOpKey, please review again @maurolacy

Thanks for the PR. Unfortunately, I don't have capacity to work on this project. Not sure who is owning it now.

I added it in #177 so I'm closing this PR

k, I also don't have capacity for this atm.


Add a link to promise-ring package to Convenience Utilities section.

Wrote this a few months back when I couldn't find quite what I was looking for. Per the overview:

promise-ring is small, simple library with no dependencies that eases the use of native JavaScript Promises in projects without a Promise library.

https://github.com/DavidAnson/promise-ring

I'm really conflicted about including this, mostly because it's well-written and useful, but I'm not sure what it gives over something like @sindresorhus's pify and native Function bind and apply. pify also really just does the one thing well (although it does offer wrapAll as well) and returns functions that can be bound an called like any other.
I'm going to leave this open and see what other folks think, and I'd be glad to include it if others find it useful.
Great work :smile:

Thanks a lot for your consideration! pify looks quite similar and I might have used it myself if it existed when I wrote promise-ring. :) promise-ring offers a few more methods to control exactly how a function is wrapped, but not the ability to pass a custom Promise implementation (probably the one thing I might add). I think we identified the same need and solved it slightly differently.

I don't see the point of many of those methods. It feels like having methods just for the sake of it.
You can literally do everything with wrap:
pr.call(fs.readFile, "../package.json", { "encoding": "utf8" });
pr.wrap(fs.readFile)("../package.json", { "encoding": "utf8" });

pr.callBound(db, db.query, "promise-ring")
pr.wrap(db.query.bind(db))("promise-ring")

You make great points. :)
At the time, I thought the API should be consistent with the native call/apply functions and modelled things that way. call was therefore only interesting for one-offs or single calls to a function. I chose to add wrap for scenarios where the target function was going to be invoked multiple times. As you point out, wrap can also be used for one-off invocations (at a seemingly tiny additional cost), but I was still of the mindset that a minimal/consistent API was the best approach. (This also seems to have the advantage that pr.apply works like pr.call, but maybe that's not significant.) I quite like the elegance of the model you've taken with pify.
Regarding the backwards compatibility issues around translating multiple parameters to an Array, that's a scenario I hadn't considered at all. :( The link you provided was enlightening and I regret the oversight.
I very much appreciate you taking the time to share your thoughts - thanks again!


fix: Refactor init mongodb flow to check and enable replica set for external mongodb

Description

Add flow to check if MongoDB URI pointing to local service or not. Perform local mongodb init as normal
Remove unnecessary environment variables for MongoDB credentials and directly extract credentials from URI
Add prefix /api/v1 in the API_BASE_URL
Add flow to check external MongoDB is set as replica set or not. If yes, initiate the replica set. If not, print out error message and stop installation.

Fixes # (issue)
[Bug]: Using external MongoDB will still try to connect and configure local MongoDB
Type of change

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

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

#11418 Bug on line 125
  if [[ $isUriLocal -gt 0 ]]; then

Should be
  if [[ $isUriLocal -eq 0 ]]; then


Deleted credential cannot be readded to wallet

From reset wallet. Finish setup.
Add credential from https://github.com/digitalcredentials/docs/issues/10 multiple credentials with invalid signature:

Delete second credential. Only 1 credential remains in the wallet.

Try to readd credentials using the same two from QR code.
Both credentials appear as "Aready in Wallet"

But, only 1 credential in the wallet...

Thanks for the repro documentation. I've added a story in PT and will take a look at it.
https://www.pivotaltracker.com/story/show/180524965

Appears to be resolved, I forget which PR, closing this.

I believe this is still an issue.
We're using the id field to differentiate credentials but not all contain an id so it treats them as duplicates.
We discussed using the proofValue to identify credentials going forward.


Fix typo Middlewate => Middleware

:tada: This PR is included in version 2.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fixes Typo In Enumeration

Goal
Found a typo in the spelling of one of the enums. I imagine this has downstream effects if anyone was using BSG_KSCDeleteOnSucess that would be guarded by a minor version upgrade since this will not be patch version compatible. Any suggestions appreciated.

Changeset
Changed

Fixes typo in the spelling of BSG_KSCDeleteOnSucess to BSG_KSCDeleteOnSuccess

Tests

Discussion
Alternative Approaches

Outstanding Questions

Linked issues

Review

For the submitter, initial self-review:

[ ] Commented on code changes inline explain the reasoning behind the approach
[ ] Reviewed the test cases added for completeness and possible points for discussion
[ ] A changelog entry was added for the goal of this pull request
[ ] Check the scope of the changeset - is everything in the diff required for the pull request?
This pull request is ready for:

[ ] Initial review of the intended approach, not yet feature complete
[ ] Structural review of the classes, functions, and properties modified
[ ] Final review

For the pull request reviewer(s), this changeset has been reviewed for:

[ ] Consistency across platforms for structures or concepts added or modified
[ ] Consistency between the changeset and the goal stated above
[ ] Internal consistency with the rest of the library - is there any overlap between existing interfaces and any which have been added?
[ ] Usage friction - is the proposed change in usage cumbersome or complicated?
[ ] Performance and complexity - are there any cases of unexpected O(n^3) when iterating, recursing, flat mapping, etc?
[ ] Concurrency concerns - if components are accessed asynchronously, what issues will arise
[ ] Thoroughness of added tests and any missing edge cases
[ ] Idiomatic use of the language

Released in v6.0.0.
Note: There are a number of breaking changes in v6.0.0 as part of an effort to improve the interface and make it more consistent across our error reporting libraries, so please refer to the upgrade guide:
https://github.com/bugsnag/bugsnag-cocoa/blob/master/UPGRADING.md


Scopes

What scopes for token needed? So that I can use message send?

@0x000777 I don't understand fully what "scopes" you are talking about, But following this -
https://developers.facebook.com/docs/messenger-platform/instagram/get-started you should be able to get a page access token!


Refactor landsat mosaic create to run locally

Fixed in https://github.com/kylebarron/landsat-cogeo-mosaic


Fix drag over coloring

Description

What was changed in this pull request?

The coloring for dragover divs had gone astray to contain only red or green. Now when someone requests drag over regions, the places where a track can be added are colored blue, places where it can't are colored red and the region where the mouse hovers are colored green.

Why is it necessary?

To distinguish allowed regions (e.g. top, left, bottom, right for a line track) vs. disallowed (e.g. 'center' for a line track).

Screenshots

For a line track: correct

vs... all red.
Fixes #___
Checklist

[x] Set proper GitHub labels (e.g. v1.6+, ignore if you don't know)
[ ] Unit tests added or updated
[x] Documentation added or updated
[ ] Example(s) added or updated
[ ] Update schema.json if there are changes to the viewconf JSON structure format
[ ] Screenshot for visual changes (e.g. new tracks or UI changes)
[x] Updated CHANGELOG.md

Why is "Set proper GitHub labels (e.g. v1.6+, ignore if you don't know)" checked but the PR doesn't have any label? 🤔 Is this a bug fix PR or an enhancement?

Why is "Set proper GitHub labels (e.g. v1.6+, ignore if you don't know)" checked but the PR doesn't have any label? 🤔 Is this a bug fix PR or an enhancement?

Sorry about that, I thought that referred to the milestones. Added a label just now.


SBOMTool produces invalid SPDX SBOM file for supplier for PowerShell

Steps to reproduce
SBOM included with the released artifact is does not confer to SPDX2.2 specification
https://github.com/PowerShell/PowerShell/releases/download/v7.3.3/powershell-7.3.3-osx-x64.tar.gz
As per specification, PackageSupplier value should start with Person:, Organization: or NOASSERTION.
However, on line 10959 and 11837, the value of supplier exists without those prefixes.
"supplier": "Microsoft/GitHub"

Expected behavior
SBOM adheres to SPDX spec 2.2

Actual behavior
"supplier": "Microsoft/GitHub"

### Error details

```console
NA

Environment data
NA

Visuals
NA
Others
At Powershell - https://github.com/PowerShell/PowerShell/issues/19211
Analysis Tool - sbomqs - Quality metrics for SBOMs

Fixed


Submodule initialization

Hi @set-soft I am facing one initial issue before being able to make the ERC.
My project uses the library as a git submodule. It is a good approach when reusing the same library within different projects.
My issue is to initialize this submodule.
I have to use the git command which seems to be missing in your default docker.
Is it possible to install the git with a command inside my git workflow test.yaml? If yes, could you please give me one example?
Or another solution if to add git in your default docker image, if you think it is promising to have it for the future.
Here are some commands that I am trying to run. They all need git
https://github.com/actions/checkout/issues/116#issuecomment-573880976
This is an even clean approach by reusing other actions, but they all require git.
https://github.com/marketplace?type=actions&query=submodule
Thank you.

It looks like I had 3 issues :)

Missing packages <=== This was solved by replicating and improving your docker image
Submodule <========== I could not fix it yes
And private repo <===== I don't know if it is fixed

These last 2 issues are so hard to overcome. Nothing seems to work here.

I am workaround them by downloading the library.zip with wget from my dropbox with one GitHub action. This is just to see if I can reach the end of this integration with my repo.
I am lucky you shared the image to create your docker, so I was able to understand and overcome them.
This is a makefile fork from your kicad_auto repo docker. It is a good starting point for automating this. It improves your initial build.sh adding more info to the new users like me.
Right now, I am having issues with the ERC. It does not find the library. I put this in another issue,
To generate a new image:
make donwload
make build_image
make upload_image user=setsoft tagname=XYZ

Ok, let me see:

For an image containing the tools and also git try this one:
https://hub.docker.com/repository/docker/setsoft/kicad_auto_test
This is the image I use to run the regression tests. So this image will always have git.

If you need to do anything that isn't strictly related to the KiCad automation you can put it in another pipeline step or even in another job. Each job can be run in a different docker image and a lot of "GitHub Actions" (used in another step) are "self contained".
In fact the example does a git checkout using:

uses: actions/checkout@v2
And we don't need git in the docker image. v1 supported submodules and people asked to add it to v2.
Also: you can do things in a job and pass files to another job using artifacts. So you can run the commands in another docker image, I think the default image has git.

You should be able to checkout a private repo using "secrets" (environment variables that contains sensible data that isn't exposed)

If you want to add files to "kicad_auto" I'll suggest using it as base, instead of using:
FROM setsoft/kicad_debian:latest
use:
FROM setsoft/kicad_auto:latest
And only install the needed tools. Take this as example:
https://github.com/INTI-CMNB/kicad_auto_test
This will reduce the time needed to generate it, save disk space, etc.

Another option is to try GitLab. I found it more flexible.

Ok. Thanks for your comments.

2.... uses: actions/checkout@v2

It looks like it has a bug, I don't know. I tried this v2 (also v1) and the master version too. Nothing of these actions worked for me yet. But I can be doing something wrong too.

If you want to add files to "kicad_auto" I'll suggest using it as base, instead of using: FROM setsoft/kicad_auto:latest

Oh, good, right! I'm going to use it for the next steps

Another option is to try GitLab. I found it more flexible.

Indeed, but it is not an option for me. Since I can' change this, unfortunately.

So, if I am using FROM setsoft/kicad_auto:latest in the Dockerfile, I can remove the steps to install make and kiplot tools since they are already there in your docker imager, is it right?
Actually, my initial idea was to put my project working at the first moment and then, later, change it to use your Docker image. With that, I can report issues or help improve your Docker image, while others can use and do the same.

Yes you just focuse on what's needed to add.
Remmember you can use "kicad_auto_test" which I use for testing purposes.

Good. I am using this idea now. What is the reason to use 2 one for tests and one for the real CI? Is it because you want the smallest image as possible to make the CI tasks finish faster?

Yes, is to make it smaller (kicad_auto is 690MB and kicad_auto_test is 862MB and growing).
But no, it isn't server time. Is just optimization for all users, I hate when people doesn't care about resources, sometimes forcing to thousands of users to waste hundreds or MB just to avoid investing a few minutes in the design. The global impact is hundreds of TB wasted.
If a tool is needed by most of the users is good candidate for "kicad_auto", is a tool is just needed to verify that tools are working as expected goes to "kicad_auto_test". The "kicad_auto" image is a whole Debian 10.4 system, so you can install tools "on-the-fly".
I need to study better how docker layers can be merged and stacked. I think we can have small layers that can be combined with "kicad_auto" to add tools.

I added an example showing how to deal with a PCB inside a sub folder and using a submodule to get a library.
I'm using an "artifact" to pass the submodule to the KiCad jobs. In this way we don't need git in kicad_auto.
I think this solves this question.
I'm not using private repos, but this should be possible using SSH keys and I'm not sure is needed for the example.
I'm clolsing it, feel free to add any remaining question as another issue.


velocity_from_position: Handle ragged array

Previous discussion in #68.
@selipot suggested that velocity_from_position should also handle ragged arrays as input. Let's discuss here what these ragged arrays look like. I.e. is the ragged array in the form of an xarray Dataset as generated by clouddrift or something else?

I would say it can be Xarray Datarray, Akward array, numpy array? In cases other than the nested awkward array we need to think of the way by which the function is made aware of trajectory breaks with an extra argument perhaps? As an example the 'id' or the 'rowsize' variables? This method will be generalizable to any other function we will write. We can go back to the EarthCube notebook to see how this was handled.

Could any of our analysis functions could take optional arguments specifying the underlying structure of the data? I.e. option rowsize=rowsize for ragged arrays and dim='obs or axis=n for structured arrays such as xarray DataArrays?

I like the rowsize approach.
If rowsize (array-like of ints, optional, default None) is absent, the computation defaults to the N-d structured array implementation.
If rowsize is provided, require that x, y, and time are 1-d arrays and apply boundary conditions at the start and end of each segment.
dim argument doesn't apply since our function tasks array-likes (I think this is a good design choice), and we already have time_axis to specify along which axis to differentiate.
If rowsize is provided, we can raise a warning if time_axis is also provided, and proceed with the computation (if we want to be more lax), or raise an error if we want to be more strict. Either is OK, it's a style choice.

@selipot and I discussed jLab's splitcell (IIRC) function which splits a ragged array into a list of varying-length arrays.
That's easy for us to do as well given that we have rowsize for housekeeping. This made me think of an alternative approach to handling ragged array in velocity_from_position and similar functions that need to be trajectory-bounds aware:
The function could accept, in addition to array-likes, lists of array-likes. If the arguments are lists of array-likes, their elements are assumed to be contiguous arrays (trajectories), and the function would recursively run itself on each element and return lists of array-likes as result.
The downside of this approach is that (I think) it would require a copy of the data in the process (ragged array DataArray -> list[DataArray]). Another downside is that it would place the opportunity-to-parallelize inside the function (so it moves the parallelization responsibility from the user to the library), rather than to the user. The upside is that the implementation would be very easy.
Another approach is to not touch the existing function but implement a nicely syntaxed splitcell and let the user do velocity_from_position(splitcell(x), splitcell(y), splitcell(time)) and similar.

This is done with apply_ragged.


first message duplicate

Hi,
when I get new message to chat, it duplicate itself

@adamvar how did you fix this?


To Page Bottom for long views

For example in the commit view scolling to the bottom when showing 50 or 100 commits is a pain. A button "scroll to bottom" would be nice. It works with a shortcut strg+arrow_down but it would be nicer using a button.

Alternatively, the paging options could be shown at the top and the bottom of the page. I think that should fix it, too, because wanting to use the pagination options is the main reeason for scrolling directly to the bottom.

Fixed in #292 , paging options are now also available at the top of the list.


Several misc fixes

Hi @daknhh!
First of all, thanks for the major update on the repo, for the fourth version. The WAF rules looks much better that now we can define them under TypeScript code, giving us a much needed freedom for defining the rules.
I've been working on the repo for the last weeks, and this PR is for a bunch of fixes I've did on it that made it work better for me, fixing some bugs and adding features.
I think you'll like all the changes done by the commits here. Let me know if you think that any of them requires changing, I'll be glad to help.

Hello @vboufleur , thank you for contribution, i have added a small comment to your changes. Maybe we also can update all dependencies to latest version, i can also do that :)

@daknhh I'll be on vacation until the end of the month. Until then I won't be able to work on this PR. After I get back I'll be able to work on it.
Feel free to work on the commits if you want to! I've given you permission to push commits to this branch.

@vboufleur i will do some last tests today and code review tomorrow- jhere https://github.com/globaldatanet/aws-firewall-factory/pull/346 and then we will release tomorrow hopefully


Whitelist the modmail category for displaying verbose infraction info from the user command

Fixes #1125
I also did a small refactor that switches out the command's redirect code with a in_whitelist_check.

The staff channels constant is no longer used anywhere. Should it be deleted?

The staff channels constant is no longer used anywhere. Should it be deleted?

I don't see why not. No point in keeping stuff that we're not using.


flow_from_directory() class-labels

Currently the requirement for a special folder structure to get the class labels is very restrictive and a waste of space for classification with non mutually-exclusive classes. Is it possible to just pass a dictionary like this:
class_labels = {
    'file1.png':[0, 1, 1, 0],
    'file2.png':[1, 1, 1, 0],
    'file3.png':[0, 0, 0, 1]}

train_generator = train_datagen.flow_from_directory(directory, class_dic = class_labels)

And then instead of just (https://github.com/keras-team/keras/blob/master/keras/preprocessing/image.py#L1212)
for res in results:
    classes, filenames = res.get()
    self.classes[i:i + len(classes)] = classes
    self.filenames += filenames
    i += len(classes)

We can have:
if class_dic:
	for res in results:
		filenames = res.get()
		classes = class_dic[filenames]
		self.classes[i:i + len(classes)] = classes
    	self.filenames += filenames
    	i += len(classes)

By overriding something in the flow_from_directory method? That would make it more flexible

I ended up just overriding values:
class CustomDataGen():

    def __init__(self, img_dir, lbl_file,
                 width=WIDTH, height=HEIGHT, batch_size=BATCHSIZE, num_classes=CLASSES,
                 shuffle=True, seed=None, augment=False):

        # Hack for flow_from_directory to work, give it path above
        self.child_path  = os.path.split(img_dir)[-1]
        self.parent_path =  img_dir.replace(self.child_path,'')

        # Create ImageDataGenerator with DenseNet pre-processing
        # imagenet_utils.preprocess_input(x, data_format, mode='torch')
        if augment:
            datagen = ImageDataGenerator(
                horizontal_flip=True,
                # Best match to?
                # transforms.RandomResizedCrop(size=WIDTH),
                zoom_range=0.2,
                rotation_range=10,
                preprocessing_function=preprocess_input)
        else:
             datagen = ImageDataGenerator(preprocessing_function=preprocess_input)

        # Create flow-from-directory
        flowgen = datagen.flow_from_directory(
            directory=self.parent_path,  # hack: this is one directory up
            target_size=(width, height),
            batch_size=batch_size,
            class_mode='binary')

        # Override previously created classes variables
        # filenames, classes
        flowgen.filenames, flowgen.classes = self._override_classes()
        # number of classes
        flowgen.num_classes = num_classes
        # number of files
        flowgen.n = len(flowgen.filenames)

        self.generator = flowgen

    def _override_classes(self):
        # Some processing to get correct filenames and labels
        return img_locs, labels


Losing data when a user click the back button in the browser

Is your feature request related to a problem? Please describe.
As an engineer
I want to be informed to save the data first before I click the "back" button in modern browers
So I do not lose my changes
Describe the solution you'd like
Show a warning when a user want to back in the browser.
Requirements
Only show the warning if a document is open in OpenSCD
Suggestions for a specific user interaction
A pop-up window should show up:
Are you sure? Your work will be lost
Additional information
Example:
https://stackoverflow.com/questions/38306510/alert-on-browser-back-button-click-or-page-refresh

TODO: assign @juancho0202


I think information on this page is outdated

I use MS Project version "Microsoft® Project® Online Desktop Client MSO (Version 2201 Build 16.0.14827.20198) 64-bit" and I don't find a "Microsoft Dynamics 365" tab in the menu :-(

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

ID: 7cdfbb9b-121f-a32b-ba9b-98beb028c85c
Version Independent ID: 3417cb7e-f4f7-c307-c33b-4850e8d489a8
Content: Microsoft Project client integration
Content Source: articles/prod-pma/project-integration.md
Service: dynamics-365-project-operations
Product: ****
Technology: ****
GitHub Login: @Yowelle
Microsoft Alias: andchoi

@NicoBens - Thank you for the feedback.
@sigitac - Can you please take a look and update this topic as necessary? Thanks!

@NicoBens - I spoke with the PM and she believes the documentation is correct, but suspects that MS Project Add-in for Dynamics 365 Project Operations has not been installed. If you install the Add-in, the tab should display. Unfortunately, we're unable to handle Support requests for the product here if you need further assistance. To contact Support, consider one of the options described here: Support contact options. In particular, you might want to go to the Dynamics 365 community page to get help with your questions from the Dynamics community.


Forge+OptiFine Not Allowing Me to Use Controllable & Framework On Minecraft Version 1.20.1

Hello, I want to begin by saying I love the mod. As a controller user it's great being able to use a controller AND get to choose PlayStation button prompts. With this, I am having an issue when using Forge and OptiFine together and trying to add the mods controllable and framework. When adding controllable with framework, my game crashes on the red Mojang screen and I get exit code 1. I know this is a common issue, but I was wondering if controllable will ever be updated to work with OptiFine + Forge or if there's a some way to bypass this exit code. Thanks!

same

Currently no fixes exist, you need to remove optifine and maybe use rubidium but it is not necessary of course

This is more of an Optifine issue than a Controllable issue.
this page gives a nice summary: https://blog.minecraftforge.net/personal/matyrobbrt/optifine-alternatives/

same issue.  Any ETA for a fix?

Same issue. When Optifine and Controllable both used as Forge mods it crashes. Here's the log:
[13Aug2023 09:31:35.465] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, <cut>, --version, 1.20.1-forge-47.0.35, --gameDir, /home/family/.minecraft, --assetsDir, /home/family/.minecraft/assets, --assetIndex, 5, --uuid, <cut>, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, <cut>, --xuid, <cut>, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 47.0.35, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412]
[13Aug2023 09:31:35.469] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.3 by Microsoft; OS Linux arch amd64 version 6.2.0-26-generic
[13Aug2023 09:31:35.598] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow
[13Aug2023 09:31:35.669] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6
[13Aug2023 09:31:35.765] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6
[13Aug2023 09:31:35.807] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[13Aug2023 09:31:35.807] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file URL: union:/home/family/.minecraft/mods/optifine_1.20.1.jar%23149!/
[13Aug2023 09:31:35.811] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: /home/family/.minecraft/mods/optifine_1.20.1.jar
[13Aug2023 09:31:35.813] [main/INFO] [optifine.OptiFineTransformer/]: Target.PRE_CLASS is available
[13Aug2023 09:31:35.849] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/family/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2388!/ Service=ModLauncher Env=CLIENT
[13Aug2023 09:31:35.855] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize
[13Aug2023 09:31:35.874] [pool-2-thread-1/INFO] [EARLYDISPLAY/]: GL info: NVIDIA GeForce RTX 3070/PCIe/SSE2 GL version 4.6.0 NVIDIA 525.125.06, NVIDIA Corporation
[13Aug2023 09:31:36.063] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/family/.minecraft/libraries/net/minecraftforge/fmlcore/1.20.1-47.0.35/fmlcore-1.20.1-47.0.35.jar is missing mods.toml file
[13Aug2023 09:31:36.064] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/family/.minecraft/libraries/net/minecraftforge/javafmllanguage/1.20.1-47.0.35/javafmllanguage-1.20.1-47.0.35.jar is missing mods.toml file
[13Aug2023 09:31:36.065] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/family/.minecraft/libraries/net/minecraftforge/lowcodelanguage/1.20.1-47.0.35/lowcodelanguage-1.20.1-47.0.35.jar is missing mods.toml file
[13Aug2023 09:31:36.066] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/family/.minecraft/libraries/net/minecraftforge/mclanguage/1.20.1-47.0.35/mclanguage-1.20.1-47.0.35.jar is missing mods.toml file
[13Aug2023 09:31:36.394] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 1 dependencies adding them to mods collection
[13Aug2023 09:31:36.702] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.transformers
[13Aug2023 09:31:36.706] [main/INFO] [optifine.OptiFineTransformer/]: Targets: 411
[13Aug2023 09:31:36.937] [main/INFO] [optifine.OptiFineTransformationService/]: additionalClassesLocator: [optifine., net.optifine.]
[13Aug2023 09:31:37.121] [main/INFO] [mixin/]: Compatibility level set to JAVA_17
[13Aug2023 09:31:37.123] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclient' with arguments [--version, 1.20.1-forge-47.0.35, --gameDir, /home/family/.minecraft, --assetsDir, /home/family/.minecraft/assets, --uuid, <cut>, --username, <cut>, --assetIndex, 5, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, <cut>, --xuid, <cut>, --userType, msa, --versionType, release]
[13Aug2023 09:31:37.324] [main/WARN] [mixin/]: Error loading class: mezz/jei/gui/elements/GuiIconToggleButton (java.lang.ClassNotFoundException: mezz.jei.gui.elements.GuiIconToggleButton)
[13Aug2023 09:31:37.325] [main/WARN] [mixin/]: Error loading class: mezz/jei/gui/overlay/IngredientGrid (java.lang.ClassNotFoundException: mezz.jei.gui.overlay.IngredientGrid)
[13Aug2023 09:31:37.325] [main/WARN] [mixin/]: Error loading class: mezz/jei/gui/overlay/IngredientGridWithNavigation (java.lang.ClassNotFoundException: mezz.jei.gui.overlay.IngredientGridWithNavigation)
[13Aug2023 09:31:37.326] [main/WARN] [mixin/]: Error loading class: mezz/jei/gui/overlay/IngredientListOverlay (java.lang.ClassNotFoundException: mezz.jei.gui.overlay.IngredientListOverlay)
[13Aug2023 09:31:37.327] [main/WARN] [mixin/]: Error loading class: mezz/jei/gui/input/MouseUtil (java.lang.ClassNotFoundException: mezz.jei.gui.input.MouseUtil)
[13Aug2023 09:31:37.328] [main/WARN] [mixin/]: Error loading class: mezz/jei/gui/PageNavigation (java.lang.ClassNotFoundException: mezz.jei.gui.PageNavigation)
[13Aug2023 09:31:38.346] [main/ERROR] [mixin/]: Critical injection failure: LVT in net/minecraft/client/renderer/GameRenderer::m_109093_(FJZ)V has incompatible changes at opcode 769 in callback controllable.mixins.json:client.ForgeGameRendererMixin->@Inject::controllableLastRender(FJZLorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;IILcom/mojang/blaze3d/platform/Window;Lorg/joml/Matrix4f;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/GuiGraphics;)V.
 Expected: [I, I, Lcom/mojang/blaze3d/platform/Window;, Lorg/joml/Matrix4f;, Lcom/mojang/blaze3d/vertex/PoseStack;, Lnet/minecraft/client/gui/GuiGraphics;]
    Found: [I, I, Lcom/mojang/blaze3d/platform/Window;, F, Lorg/joml/Matrix4f;, Lcom/mojang/blaze3d/vertex/PoseStack;]
Available: [I, I, Lcom/mojang/blaze3d/platform/Window;, F, Lorg/joml/Matrix4f;, Lcom/mojang/blaze3d/vertex/PoseStack;, F, Lnet/minecraft/client/gui/GuiGraphics;, Ljava/lang/Throwable;, Lnet/minecraft/CrashReport;, Lnet/minecraft/CrashReportCategory;]

Ah, this is duplicate with #418

This is more of an Optifine issue than a Controllable issue.
this page gives a nice summary: https://blog.minecraftforge.net/personal/matyrobbrt/optifine-alternatives/

Guys, controllable does not support optifine. I'd be very (pleasantly) surprised if that changed


Please, close this issue.

Please, close this issue.

What's the purpose of removing every comment, renaming the issues you created and removing every bit of information you provided. ¯_(ツ)_/¯
This is not the way how open source works at least IMHO.


Locking an item?

Can this (CheckOut an item) effectively be used as a LockFile() API? Since there are no other ways to do this properly.
Are there any limitations to using the file that is CheckedOut? Such as Delete/Rename not working, only one upload session, versions?
BTW, the API returns badStatus :(
"code": "BadRequest",
"message": "Unsupported segment type. ODataQuery: users/adc4bbe0-9847-4fd7-9399-ecb7ba3aaca0/drive/items/01R5BNNTYTJKLSC5X6KFD2G4ZDU6Y262SM/checkout",

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

ID: 3e96e772-005a-c84c-41c0-3bd20f629b34
Version Independent ID: 6b1ac10f-2d0f-0471-68c8-5f241b70592f
Content: Check Out Files - OneDrive API - OneDrive dev center
Content Source: docs/rest-api/api/driveitem_checkout.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

Could you please provide more information about the request that failed? Is the request for OneDrive Personal or OneDrive for Business/SharePoint?  Though the Graph endpoint? The following response headers would also be helpful if they are available:

Date (in UTC, please)
request-id
SPRequestGuid (for requests made to OneDrive for Business)

This is the POST request I made:
https://graph.microsoft.com/v1.0/me/drive/items/01H5LCHRBJRMIBXMR4JBHZ2ZDRO2TO46OV/checkout
The result:
{
"error": {
"code": "BadRequest",
"message": "Unsupported segment type. ODataQuery: users/ba4b6ed4-9248-4e5b-8377-a863dee73556/drive/items/01H5LCHRBJRMIBXMR4JBHZ2ZDRO2TO46OV/checkout",
"innerError": {
"request-id": "76102e7d-2f90-4230-b1c4-ecf6044eedd0",
"date": "2018-11-03T12:53:58"
}
}
}

Any update on this? I'm getting the same error for the request.

This API is currently only documented for the beta version of Microsoft Graph:
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/driveitem_checkout
Therefore, if using Microsoft Graph, specify the beta version by replacing “/v1.0/” with “/beta/”.

Hmm, I saw it hete:
https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_checkout?view=odsp-graph-online
So, this is a beta API, with no guarantees that it will exist even?

Generally speaking, beta API's are subject to change (and generally are in beta for a period of time to get feedback).  I'll make sure we have an internal tracking item about this API.
Going back to the original question, in SharePoint/OneDrive for Business, one limitation is that users with appropriate permissions can forcefully check in files that another user has checked out.

For the associated issue about publishing the Graph API to v1.0, we're tracking this internally.
I'll close out this item since we don't provide an official "Lock File" API and the checkout API has some differences, including mentioned earlier.


Allow machines to follow links from the web view to the data

Problem Description:
When a browser extension or custom application encounters a LUX page, it would be useful for it to have direct access to the data view of the same resource, without having to dig around in the HTML for the link to the JSON. This would enable (for example) processors like Quire to be given a list of pages, retrieve them and find the link to the data, and then process the data directly. This would improve the lives of curators or other non-technical folks as they don't need to know where to get the URI to the JSON, just the web page ... perhaps from their saved collection.
Expected Behavior/Solution:
The response should have either an HTTP header and/or a <link> element in the <head> of the HTML. Ideal would be if this were generated from the requested URL and then updated via javascript when the "page" changes due to user action.
The details are here: https://linked.art/api/1.0/ecosystem/#data-visibility-from-html
Requirements:
List of details required for the completion of the issue or requirements for the feature/bug. This can also include requirements that lie outside of the teams such as new design docs or clarification from an outside source.
Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.
~- [ ] Wireframe/Mockup - Mike~
~- [ ] Committee discussions - Sarah~

[ ] Feasibility/Team discussion - Sarah
~- [ ] Backend requirements - TBD~
[ ] Frontend requirements- Rob, Kam
[ ] Are new regression tests required for QA - Amy
[ ] Questions

UAT/LUX Examples:
(any item / view page will do)
Dependencies/Blocks:

Blocked By: None
Blocking: None

Related links:
Quire use case is in a follow on project to EES with Oxford and Edinburgh.

@azaroth42 - assigned this to Kam for now.
@kamerynB - if there is someone else that should be assigned to this, please include them.

TF 11/20:
Unsure if this is possible. @kamerynB to investigate.

The  element should be possible via javascript -- it's just the same as changing . Agreed it's likely not possible to do the header on the response or have the element set in the response before being changed by JS.
Still useful for browser extensions, however.


ScorePlayer thread start synchronisation

ScorePlayer has member m_pThread pointing to playback thread. It is initialised in ScorePlayer::play_segment:
m_pThread = LOMSE_NEW SoundThread(&ScorePlayer::thread_main, this,

and then used in ScorePlayer::do_play:
if (!m_pMidi || !m_pThread)
{
      LOMSE_LOG_DEBUG(Logger::k_score_player, "<< Enter. No Midi or no thread. << Exit");
      return;
}

Depending on how thread scheduler on OS works the new thread may become active before the first thread continues execution. In this case m_pThread may be not yet initialised when it is checked in do_play, causing do_play to immediately terminate.
This happens pretty often on Windows causing ScorePlayerTest to fail. In theory this may happen on other OSes too but I didn't see this test failed on Linux or macOS yet.
The proposed fix uses mutex to ensure the main function of the new thread is executed after m_pThread is initialised.

Hi, thanks for this. It looks like a reasonable change.


[release/v2.7] Remove carriage-return characters

Found this while backporting the BCI bump to release/v2.6, see package/Dockerfile example below:
$ cat -v package/Dockerfile
FROM registry.suse.com/bci/bci-micro:15.4^M
^M
ARG user=adapter^M
^M
RUN echo "$user:x:1000:1000::/home/$user:/bin/bash" >> /etc/passwd && \^M
    echo "$user:x:1000:" >> /etc/group && \^M
    mkdir /home/$user && \^M
    chown -R $user:$user /home/$user^M
^M
COPY bin/csp-adapter /usr/bin/^M
^M
USER $user^M
^M
CMD ["csp-adapter"]^M

This PR was generated using the command find . -type f -not -path '*/\.git/*' -print0 | xargs -0 dos2unix.

@superseb Can you explain the impact that you are seeing from the use of these characters? If this is causing a specific issue I'll take a look at changing it, but otherwise this touches a lot of files, so I'm a bit apprehensive about pulling it in.

@MbolotSuse This usually causes a lot of issues as it can break parsing files. Apparently nothing has broken yet but I would prefer to get rid of them asap, the only important files touched are chart and the dockerfile, both which can be easily tested after releasing a new RC.
If you want to postpone it to a later release, I can put it in draft and just backport the BCI bump as-is to release/v2.6.

Thanks for explaining. I can give this a look, but it will take me a moment since I need to do some basic testing to make sure that this doesn't break any install/upgrade cases.

Okay cool, thanks. I created https://github.com/rancher/csp-adapter/pull/31 just in case for the minimal backport.


Error/testing notification

Just started using this fantastic utility.
After some initial tests it occurred to me that, where objects differ, it would be really useful to see precisely where they differ rather than having to manually scan the objects. This is obviously more relevant for large and deeper nested objects.
If this isn't currently possible it would be a great feature for testing when you get unexpected results. e.g. when you expect two objects to be equal but they aren't.
If performance is an issue then perhaps a setting can be enabled to switch this feature on for testing? Just an idea.

Thank you. There are json-patch and json-merge-patch spec utilities that diff objects. Here it would be out of scope.


Added the ability to edit money

I think that's one of the things that should be editable when it's possible to change user stats.

You decided against the feature?

You decided against the feature?

Not that. I had one bug there and I would have to create a new PR.. so in the end I decided to compile it only for myself, but I can easily do a new one.


Debian: depends on non-headless jre

Here's a box I'm planning to install jmxtrans to for playground purposes:
jamesg@elasticsearch:~$ dpkg -l |grep jdk
ii  openjdk-7-jre-headless:amd64     7u65-2.5.2-3~14.04            amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
jamesg@elasticsearch:~$ dpkg -l |grep jre
ii  default-jre-headless             2:1.7-51                      amd64        Standard Java or Java compatible Runtime (headless)
ii  icedtea-7-jre-jamvm:amd64        7u65-2.5.2-3~14.04            amd64        Alternative JVM for OpenJDK, using JamVM
ii  openjdk-7-jre-headless:amd64     7u65-2.5.2-3~14.04            amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
Trouble is:
jamesg@elasticsearch:~$ sudo dpkg -i jmxtrans_20121016-175251-ab6cfd36e3-1_all.deb
(Reading database ... 246731 files and directories currently installed.)
Preparing to unpack jmxtrans_20121016-175251-ab6cfd36e3-1_all.deb ...
Unpacking jmxtrans (20121016-175251-ab6cfd36e3-1) over (20121016-175251-ab6cfd36e3-1) ...
dpkg: dependency problems prevent configuration of jmxtrans:
jmxtrans depends on java2-runtime; however:
Package java2-runtime is not installed.
dpkg: error processing package jmxtrans (--install):
dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
jmxtrans
jamesg@elasticsearch:~$ sudo apt-get install -s java2-runtime
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package java2-runtime is a virtual package provided by:
openjdk-6-jre 6b32-1.13.4-4ubuntu<IP_ADDRESS>
openjdk-7-jre 7u65-2.5.2-3~14.04
gcj-jre 4:4.8.2-1ubuntu6
gcj-4.8-jre 4.8.2-19ubuntu1
default-jre 2:1.7-51
You should explicitly select one to install.
jamesg@elasticsearch:~$ sudo apt-get -sf install openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
openjdk-7-jre : Depends: libgif4 (>= 4.1.4) but it is not going to be installed
Depends: libgtk2.0-0 (>= 2.8.0) but it is not going to be installed
Depends: libpulse0 (>= 1:0.99.1) but it is not going to be installed
Depends: libgl1-mesa-glx but it is not going to be installed or
libgl1
Depends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2) but it is not going to be installed
Recommends: libgnome2-0 but it is not going to be installed
Recommends: libgnomevfs2-0 but it is not going to be installed
Recommends: libgconf2-4 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So it seems the .deb is reliant on a distribution of java that installs graphical components. Currently I'm going to have to pull apart this box and re-install everything to get jmxtrans to install which is not palatable.

How do you build debian package? I don't see any profile that would do it.

How do you build a debian package (using maven). I don't see a profile for that.

There is no profile yet to build DEB files with Maven. And the ant build is non working at the moment. It was hard to make it follow the changes in Maven build. If you are motivated, introducing a way to build DEB with Maven would make a lot of good !

https://github.com/jordansissel/fpm is the modern swiss army knife in this
territory I believe. I build ActiveMQ debs using this quite easily.
On 13 February 2015 at 22:25, Guillaume Lederrey<EMAIL_ADDRESS>wrote:

There is no profile yet to build DEB files with Maven. And the ant build
is non working at the moment. It was hard to make it follow the changes in
Maven build. If you are motivated, introducing a way to build DEB with
Maven would make a lot of good !
—
Reply to this email directly or view it on GitHub
https://github.com/jmxtrans/jmxtrans/issues/173#issuecomment-74338029.

Yep, we've had some discussionaround FPM in #166

I have used jdeb-maven-plugin to build packages in the past. Let's see if I
can use that
On Feb 16, 2015 2:44 AM, "James Green"<EMAIL_ADDRESS>wrote:

https://github.com/jordansissel/fpm is the modern swiss army knife in this
territory I believe. I build ActiveMQ debs using this quite easily.
On 13 February 2015 at 22:25, Guillaume Lederrey<EMAIL_ADDRESS>
wrote:

There is no profile yet to build DEB files with Maven. And the ant build
is non working at the moment. It was hard to make it follow the changes
in
Maven build. If you are motivated, introducing a way to build DEB with
Maven would make a lot of good !
—
Reply to this email directly or view it on GitHub
https://github.com/jmxtrans/jmxtrans/issues/173#issuecomment-74338029.

—
Reply to this email directly or view it on GitHub
https://github.com/jmxtrans/jmxtrans/issues/173#issuecomment-74469972.

The difficult part isn't the tool to build the deb/rpm, it is correctly getting all the init scripts, log files and permissions for all the files in the package to work.

I will look at last deb package built (we which is available for download)
and try to work things
On Feb 16, 2015 12:53 PM, "Jon Stevens"<EMAIL_ADDRESS>wrote:

The difficult part isn't the tool to build the deb/rpm, it is correctly
getting all the init scripts, log files and permissions for all the files
in the package to work.
—
Reply to this email directly or view it on GitHub
https://github.com/jmxtrans/jmxtrans/issues/173#issuecomment-74547716.

Should be fixed by #303. Please reopen if you find any issue.


force:source:convert with Digital Experiences creating invalid packages on windows

Summary
When running sfdx force:source:convert on windows against a directory with digital experiences in it, the resulting package.xml contains invalid entries
Steps To Reproduce:
Repository to reproduce: SFDXConvertBug

Start with a windows PC
Install sfdx-cli 193.2
Pull from the repository
Run sfdx force:source:convert
Observe the package.xml file in the newly created folder

Expected result
Members with forward slash path delimiter
[...]
site/CED_LWR1.sfdc_cms__view/newsDetail
site/CED_LWR1.sfdc_cms__view/register
site/CED_LWR1.sfdc_cms__view/serviceNotAvailable
site/CED_LWR1.sfdc_cms__view/tooManyRequests
[...]
Actual result
Members with back slash path delimiter
[...]
site\DE_LWR1.sfdc_cms__view\newsDetail
site\DE_LWR1.sfdc_cms__view\register
site\DE_LWR1.sfdc_cms__view\serviceNotAvailable
site\DE_LWR1.sfdc_cms__view\tooManyRequests
[...]
System Information
Microsoft Azure DevOps
{
"cliVersion": "sfdx-cli/7.193.2",
"architecture": "win32-x64",
"nodeVersion": "node-v16.15.1",
"osVersion": "Windows_NT 10.0.17763",
"shell": "cmd.exe",
"rootPath": "D:\Agent2\_work\1578\s\node_modules\sfdx-cli",
"pluginVersions": [
"@oclif/plugin-autocomplete 2.1.5 (core)",
"@oclif/plugin-commands 2.2.10 (core)",
"@oclif/plugin-help 5.2.8 (core)",
"@oclif/plugin-not-found 2.3.22 (core)",
"@oclif/plugin-plugins 2.4.2 (core)",
"@oclif/plugin-search 0.0.14 (core)",
"@oclif/plugin-update 3.1.7 (core)",
"@oclif/plugin-version 1.3.0 (core)",
"@oclif/plugin-warn-if-update-available 2.0.31 (core)",
"@oclif/plugin-which 2.2.16 (core)",
"apex 2.2.5 (core)",
"auth 2.7.8 (core)",
"community 2.2.5 (core)",
"custom-metadata 2.1.7 (core)",
"data 2.3.6 (core)",
"info 2.6.0 (core)",
"limits 2.3.8 (core)",
"org 2.5.0 (core)",
"packaging 1.16.2 (core)",
"schema 2.3.3 (core)",
"settings 1.4.2 (core)",
"signups 1.4.7 (core)",
"source 2.8.0 (core)",
"telemetry 2.1.3 (core)",
"templates 55.4.4 (core)",
"trust 2.4.4 (core)",
"user 2.3.5 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.0.1 (core)",
"sfdx-cli 7.193.2 (core)",
"sfdx-git-delta 5.13.3 (user)"
]
}

@Bobnix - does this cause errors when using the manifest in a deploy or retrieve?

@shetzel Deploy, I run this command followed by sfdx force:mdapi:deploy

This should be fixed on latest. Please let us know if you still see this on windows.


Make changes to be compatible with python3

Use {} and .format instead of % operator.
Use != instead of is not for comparison since we are checking for equality.

/azp run


Theme background not appearing for Plex

Describe the bug
Using the hot pink theme via nginx subfilter. Broke today for plex - no longer applies a background. Buttons etc are still themed but the background is broken
Theme Install Method (Don't skip)

Webserver subfilter Config

Application Info (Don't skip)

Plex up to date as of 8/18/2021

To Reproduce
Steps to reproduce the behavior:

Apply plex-base via subfilter
Go to plex
Original plex background appears

Expected behavior
The hot pink theme background is supposed to appear - it still does for other apps.
Screenshots
As you can see the background is the original plex background, but buttons and text have the hot pink theming

Desktop (If applicable) (please complete the following information):

OS: Windows 10
Browser: Brave (up to date)

Additional Context
Fork I made 15 commits ago still has the correct behavior, so the change occurred since then.

Make sure you use the correct domain in the subfilter. theme-park.dev


update walkability scoring to be relative to policy targets, not relative to 25 cities values

The global indicators software tool was initially designed as a proof of concept spatial indicator analysis workflow for 25 cities.  However, to work for an open ended number of cities, a walkability index cannot be calculated based on sub-components scored relative to the observed values across all cities.  This would mean all cities walkability scores would require re-calculation as each new city were added.  Instead, benchmarking against some fixed target(s) which are ideally policy relevant, is required.
This would be relatively easy to implement, but determining which are the relevant thresholds that could apply as appropriate targets across different cultural, economic and geographic contexts

I have proposed to others that we resolve this problem essentially by removing the between-city walkability index for the global project, at least until we develop and validate a revised method we all agree upon.  (fyi @VuokkoH )
That is, we present 'walkability' not as a composite index, but rather as a collection of indicators for street connectivity, dwelling density and access to a range of services and amenities

pros:

very do-able,
defers the 'how to do walkability problem' by presenting the core information, and allowing others (perhaps us) to address the 'how' later on;
contextually-relevant thresholds could be presented in prose
within-city walkability index could still be calculated, if desired
the more advanced methods could be incorporated at a later stage

cons:

our current spatial maps and statistics for walkability relative to other cities can't be produced as part of the automated process, until a validated method is incorporated,
nor can we generate the percentage of population in high walkability neighbourhoods

Essentially, I think this is an easy way to side-step the composite index problem while retaining the core walkability-related measures which would allow scores and comparisons against policy- and contextually-relevant thresholds to be calculated at a later stage as needed, and even incorporated into generated reports via supplied prose.
Hopefully we come to a decision in the coming week, and then we can update the code accordingly!


use puppeteer-core replace pupp

🚀 Feature Proposal
Add option to use puppeteer-core for replacement of puppeteer.
Motivation
In most cases users already have chrome installed in there system, and download puppeteer will also download a large Chromium bin file, each time the downloading cost some time.
Use puppeteer-core is lighter choice.
Example
https://github.com/superwf/jest-with-puppeteer-core
This exmple use module-alias to make puppeteer-core as an alias to puppeteer.

This is a really good idea, and will speed up tests on CI environments that obtain the browser by other methods (Docker container in our case).
I think it's important to mention in the documentation for this config option, that Puppeteer is not guatanteed to work with any particular version of Chrome or Chromium other than the one shipped with it. They should use this option at own risk. See https://github.com/GoogleChrome/puppeteer/#q-why-doesnt-puppeteer-vxxx-work-with-chromium-vyyy

Yes you are right, we have to mention it.

@WilliamDASILVA not for now, it is complicated to have this kind of behaviour with npm package system.

@neoziro So, no plans to support this?

In fact, we should support it. It is the same issue as #171 for me. We have to remove peer dependencies and investigate which module is available during runtime. So to answer, yes we plan to support it.

One issue I see with switching to puppeteer-core is that the with this package, the environment variables PUPPETEER_* will no longer work.  Projects can have a local .npmrc file (i.e., at the project's root directory) to set a node config property to prevent the binaries from downloading via puppeteer_skip_chromium_download=true.
I just completed a spike whereby I have chrome running in a container and have my local puppeteer (i.e., the puppeteer in my project) connecting to it and executing tests.  The main, required dependency will be getting the websocket URL from chrome in the running container PRIOR to the Jest tests executing (not difficult, but needs to be done) so you can do something like:
    const webSocket = 'ws://localhost:9222/devtools/browser/eaec4f8e-0d72-4495-9369-8cbe5ac4ef08';
    const browser = await puppeteer.connect({ browserWSEndpoint: webSocket });

But, clearly, without the hardcoded URL.  But if I'm being honest, after doing this spike, I'm not really seeing any huge advantage jest-puppeteer could provide in this scenario.  Do please feel free to chime in if you disagree or see advantages that I've missed.

@icfantv The method you describe is what I use with jest-puppeteer-docker. It fetches a container from Docker hub which has the Chromium version linked to your local Puppeteer version dependency, and then I connect using the WebSocket. In order to prevent downloading Chromium when installing the Puppeteer dependency in CI, it just requires user to set PUPPETEER_SKIP_CHROMIUM_DOWNLOAD to true.
It looks like there's an open PR for supporting FireFox by dynamically importing the module based on config. If my understanding is correct, none of the Puppeteer dependencies are needed in jest-puppeteer project (just dev dependencies for internal tests). As long as they are installed as dependencies in the end-user's project, the module will be found further up the npm hierarchy.  So on top of that PR, we can add an extra mode for core, maybe the option is simply browser: none. It would then rely on the end-user to use the connect option.
The above also means the environmental variables should work fine for those who use the browser: chromium (default) option.

@gidztech yep, I saw/tried your solution last week and it was a bit too heavy for our use case.  Since our Jenkins drones are not exposed to the Internet, we just need a way to host binaries and having Puppeteer connect to chrome running in a container whose image we can store in Artifactory is a perfect solution for us.  For proper credit, I got that solution working from this project.

You can also use npm alias to workaround it as we did it for WordPress reusable scripts:
https://github.com/WordPress/gutenberg/pull/20215
However, the ideal approach would be to make it work with puppeteer-core as well. Actually, I think the required change was already added with https://github.com/smooth-code/jest-puppeteer/pull/315.


Add possibility to include custom CSS

I started using this theme for my personal blog, but quickly stumbled upon the missing possibility to add my own CSS.
As editing the CSS-files from the theme directly is not the best option (losing the possibility to update), I added the part in the head.html partial.
This way, CSS files can be added in the configuration, like updated in the README.
This would provide a way to add custom style sheets similar to other themes like Minimal.
Thanks for considering, this would be a great improvement!

@monkeyWzr Any change that we can get this merged in? Is this project being maintained anymore?

@akleemans Thank you!

@alukach  My Apologies for the delay.