output of go test varies by mode

What version of Go are you using (go version)?
go version go1.9.2 darwin/amd64
(the same occurs with go version go1.10beta1 darwin/amd64)
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
macOS 10.13.2
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
What did you do?
I executed go test and go test . on a package whose tests will cause output to be written to stderr via the log package:
package main

import (
	"log"
	"testing"
)

func TestHelloWorld(t *testing.T) {
	log.Println("hello, world")
}

What did you expect to see?
I expected the output of local directory mode, (i.e. go test) to be identical to the output of package list mode (i.e. go test . and go test github.com/bhcleek/play/test) with the exception of the elapsed time.
What did you see instead?
In addition to the test summary line, local directory mode output hello, world to stderr and PASS to stdout. Package list mode output only the test summary line.
❯❯❯ go test
2017/12/27 08:28:17 hello, world
PASS
ok      github.com/bhcleek/play/test    0.011s
❯❯❯ go test .
ok      github.com/bhcleek/play/test    0.009s
❯❯❯ go test github.com/bhcleek/play/test
ok      github.com/bhcleek/play/test    0.008s

From go help test:
Go test runs in two different modes: local directory mode when invoked with
no package arguments (for example, 'go test'), and package list mode when
invoked with package arguments (for example 'go test math', 'go test ./...',
and even 'go test .').

In local directory mode, go test compiles and tests the package sources
found in the current directory and then runs the resulting test binary.
In this mode, caching (discussed below) is disabled. After the package test
finishes, go test prints a summary line showing the test status ('ok' or 'FAIL'),
package name, and elapsed time.

In package list mode, go test compiles and tests each of the packages
listed on the command line. If a package test passes, go test prints only
the final 'ok' summary line. If a package test fails, go test prints the
full test output. If invoked with the -bench or -v flag, go test prints
the full output even for passing package tests, in order to display the
requested benchmark results or verbose logging.

Note the "if a package test passes, go test prints only the final 'ok' summary line". I think that explains what's happening here.

The documentation seems insufficient in this case; even after reading it, it seems like a stretch that a user would expect local directory mode to include output that package list mode does not.
In addition, the docs here almost seem like there should be a new paragraph starting with the second sentence of the third paragraph you quoted: "If a package test passes...", because otherwise part of that paragraph applies to both local directory mode and package list mode (e.g. the description of -benchmark and -v), while other parts do not (e.g. "go test prints only the final 'ok' summary line")

I was simply pointing out the docs that explain what is going on. If you think the docs could be improved, feel free to reopen and repurpose the issue and send a CL to do the appropriate changes.

Is that preferred over aligning the behavior of local directory mode and package list mode?

If you'd prefer that route, you could write a proposal to try to change the behavior of go test. Bear in mind that you're unlikely to succeed though, as that's a breaking change of some sort. And the current behavior was very likely designed this way on purpose.


Deleting schema entity and then re-creating it results in Resource is not in the state stackUpdateComplete error

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Describe the bug
I removed two object types from my GraphQL schema and ran amplify push. The push was successful, but I then realized I actually needed those types. To recreate them, I reverted my schema.graphql to the version in which those types were present. I then ran amplify push.
The push failed with the following errors:
Embedded stack arn:aws:cloudformation:us-east-1:249716397406:stack/amplify-goodstuff-carmack-154501-apigoodstuff-5SNR0FDXIFXG/7c49c570-8277-11ea-a59d-0a4db9a5d67f was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to create: [Good, Rating]. The following resource(s) failed to update: [Request, Message, User].

Amplify CLI Version
% amplify -v
4.20.0

To Reproduce

Remove one or more types from your schema.graphql file.
Run amplify push (succeeds)
Re-add those types exactly as they were before (i.e. revert schema.graphql to its state prior to the type deletion)
Run amplify push (fails)

Expected behavior
It should be possible to re-add types that once existed but were removed.
Desktop (please complete the following information):

OS: Mac 10.15.4

% node -v
v12.16.1

@reefloretto I tried to reproduce this issue since we have e2e tests for these kind of schema updates and I was not able to reproduce it.
Can you share your schema with us? and full repro steps?

@reefloretto I tried to reproduce this issue since we have e2e tests for these kind of schema updates and I was not able to reproduce it.
Can you share your schema with us? and full repro steps?

for sure! will have some updates within the next few hours

@reefloretto I tried to reproduce this issue since we have e2e tests for these kind of schema updates and I was not able to reproduce it.
Can you share your schema with us? and full repro steps?

for context: i got a bit lucky last night. i was able to create a new environment and then revert the modified schema back to its version prior to the type deletions (restored from version control) and the subsequent push on in that env was OK. (this is presumably because there weren't any orphaned exports/resources in that new env because it was brand new.)
however. i created a new env today and was able to repro this bug, exactly as experienced yesterday.

amplify env add repro (based on latest working production env)
amplify push --yes (to get new env up-to-date with latest prod)
modify schema from before to after state
amplify push --yes (successful)
revert schema from after to before
amplify push --yes (failed)

as an additional note -- i think this has partially to do with the fact that the "delete" operations in amplify don't appear to be as comprehensive as i'd expect. for example, i just deleted the "bad env" and i had to go in and remove some orphaned cloudformation nested stacks after the fact (i.e. after the cli-initiated env deletion completed). seems off 🤔
FYI this screenshot was the result of me deleting nested cloudformation stacks related to the bad env; i didn't trigger these table deletions manually.

This is still reproducible with 4.40.1. Didn't have the time to update to the latest version, though I reckon it shouldn't make a difference.
Basically I'm forced to create a renamed table and leave the orphaned table for good.


Swift 3 Migration

Feel free to use this as a reference point.

Ohh this is really nice, thanks!
I just have spent 2 hours trying to install Xcode 8 GM seed, it keeps saying the archive is corrupted and nothing helps, I don't have more time for this now so I guess I'll wait until the official release.
Did you test all the examples? If you say everything is fine I'll merge it.

I didn't manually QA the examples, no. I could find time to do that this
week if you need. Good luck with the install! I'm up to my neck in more
Swift 3 migrations at the moment.
On Sun, Sep 11, 2016 at 5:12 PM Ivan Schütz<EMAIL_ADDRESS>wrote:

Ohh this is really nice, thanks!
I just have spent 2 hours trying to install Xcode 8 GM seed, it keeps
saying the archive is corrupted and nothing helps, I don't have more time
for this now so I guess I'll wait until the official release.
Did you test all the examples? If you say everything is fine I'll merge it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/i-schuetz/SwiftCharts/pull/162#issuecomment-246214308,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAM_jP4YBmvyK12RR058bLYzv4Y606-kks5qpJkGgaJpZM4J5p2-
.

Ok, no worries, I'm giving it a last try and it seems to be working this time but not sure yet. In worst case we just merge it and can do the detailed review later, master doesn't have to be stable.


use documented packet format when sampling is enabled

The sample rate is documented to be delimited by "|@", not "@" as was
previously used.
https://github.com/etsy/statsd/blob/master/docs/metric_types.md#sampling

This is a good spot.  Do you happen to know when this changed?

I don't, I just know it wasn't working and this fixes it. (Before this, instead of getting the usual set of statsd metrics, I'd just get "count" and "rate").

@scarytom Would it be possible to push this to maven central as part of a 3.0.3 release? That would make my life easier.


Change LogLevel for collector extension logs

This PR includes the changes to not produce the non-error collector extension logs by default.

Any idea when this  will be merged.. seeing lot of logs in our cloudwath.


Lobby Status responds with 400 for a missing lobby

Current behavior and impact:
Lobby Status responds with a 400 when the specified lobby ID does not exist.
This does not seem right, a 404 would more fitting imo.
The spec does not specify at all what should happen for a not existing lobby ID.
Steps to reproduce:

Ask the API for the status of a nonexistant lobby(id)
API responds with 400: No lobby with that id

Expected behavior:
HTTP 404
Acceptance Criteria:

[x] Spec has been updated
[ ] Implementation has been updated

spec has been updated. @TR1NITROTOLUOL @steinerthelion does one of you want to take over?

spec has been updated. @TR1NITROTOLUOL @steinerthelion does one of you want to take over?

Yes, I would take over. I'll assign it myself.


allow to define finalizedBy for included builds in composite build

Expected Behavior
at the moment it's possible to define dependencies among tasks in includedBuilds like
dependsOn gradle.includedBuild('my-app').task(':app:run')

add the same capability for finalizedBy like
finalizedBy gradle.includedBuild('my-app').task(':app:myCleanup')

Context
let's say I have the build app including the build my-app.
in build my-app I have 2 tasks  taskA.finalizedBy taskB
in build app I have 1 task myTask.dependsOn gradle.includedBuild('my-app').task(':taskA')
The execution order is the following

taskA
taskB
myTask

I would like to define myTask in the following way to delay the execution of taskB
myTask {
  dependsOn gradle.includedBuild('my-app').task(':taskA')
  finalizedBy gradle.includedBuild('my-app').task(':taskB')
}

desired execution order is the following

taskA
myTask
taskB

#11031 is related: we don't support TaskReferences in many places where tasks are accepted.


Fix python versioning problem with githubAction

Error: Version 3.6 with arch x64 not found
should be simple to fix.

and.. fixed in pr 41...


Update concepts-network-design-considerations.md

Learn Build status updates of commit 776c46a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/azure-vmware/concepts-network-design-considerations.md
:warning:Warning

Details

articles/azure-vmware/concepts-network-design-considerations.md

Line 44, Column 1: [Warning: file-not-found - See documentation] Invalid file link: './media/scenarios/vmware-solution-default.png'.
Line 67, Column 1: [Warning: file-not-found - See documentation] Invalid file link: './media/scenarios/vmware-solution-to-on-premises-hairpin.png'.
Line 73, Column 1: [Warning: file-not-found - See documentation] Invalid file link: './media/scenarios/vmware-solution-to-on-premises.png'.
Line 92, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'expressroute-vpn-support.md'.
Line 93, Column 3: [Warning: file-not-found - See documentation] Invalid file link: 'resource-manager-template-samples.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


updated zulu to no longer generate invalid package urls

The current fragment started generating wrong download URLs like the one below (see the leading "19"):
https://cdn.azul.com/zulu/bin/19-ca-jdk17.0.11-macosx_aarch64.dmg

downloadURL logic is now in one regular expression and more specific
replace + with . in appCustomVersion so that it can be properly compared
unified version logic for all fragments to the clean CFBundleIdentifier method
removed comment from appNewVersion (because it works now)

The second commit further simplifies the label by removing appCustomVersion and switching to extracting appVersion from the package ID. To allow version comparison, we now change the last period in appNewVersion to a plus sign. (like appNewVersion=17.50+19).
This only works in combination with this other PR, which fixes package version extraction.


Help wanted in Readme.md file

Update readme file according to git standards and add about project in which describing the project structure and tech stack used in that.

Hi, I have worked on the same problems in recent past, I can help you and do this perfectly, please assign me this task Thanks


First timers guide to opensource

We should create a first timers guide to opensource. This could be a checklist, a collection of @eddiejaoude's videos, etc.

Really cool idea @AllanRegush 👍, maybe this resource would help on that: https://www.firsttimersonly.com/

I like it 👍 . We could write something in the support repo in the tips section? which eventually could be generated into a website with embedded videos? I can create more as they are needed too

can this issue be solved cause it would be really useful for me. I have no idea about how to go on with open source.

I would really love to contribute on this..It would really have impact to those interested in open source.
Looking forward to seeing this idea as a reality!

This was initially started here https://github.com/EddieHubCommunity/support/blob/main/Finding-Open-Source-Projects.md

This was initially started here https://github.com/EddieHubCommunity/support/blob/main/Finding-Open-Source-Projects.md

so what is the way forward Eddie, should pull request on that start now?

Sure, let us know your ideas and plans

I would really love to contribute on this..It would really have impact to those interested in open source.
Looking forward to seeing this idea as a reality!

Hi @chryzcodez 😃, I'm glad you want to contribute 👍. You can create a PR that adds this guide in the tips folder, and if you feel it's not ready mark it as a draft.
Here are some ideas that could help:

The file could be named first-timers-guide-to-opensource
We can have a Resources section at the end that references other blog posts, files in the repo, videos, etc. For example this list of resources:

GitHub labs by Eddie
A First Timers Guide to an Open Source Project by Luke Oliff
Complete Guide to Open Source - How to Contribute by Eddie

By the way @chryzcodez, there is similar work being done on EddieBot on this PR: https://github.com/EddieHubCommunity/EddieBot/pull/392. I think we have talked about merging all the tips on the support repo, but we would need to refactor the code on the bot to fetch the files in a new location.
I still encourage you to create a PR for this issue👍.
Sidenote: Eddie is preparing a crash course on GitHub. This could be a useful resource to add to this list later on 😃

I would really love to contribute on this..It would really have impact to those interested in open source.
Looking forward to seeing this idea as a reality!

Hi @chryzcodez 😃, I'm glad you want to contribute 👍. You can create a PR that adds this guide in the tips folder, and if you feel it's not ready mark it as a draft.
Here are some ideas that could help:

The file could be named first-timers-guide-to-opensource

We can have a Resources section at the end that references other blog posts, files in the repo, videos, etc. For example this list of resources:

GitHub labs by Eddie
A First Timers Guide to an Open Source Project by Luke Oliff
Complete Guide to Open Source - How to Contribute by Eddie

By the way @chryzcodez, there is similar work being done on EddieBot on this PR: EddieHubCommunity/EddieBot#392. I think we have talked about merging all the tips on the support repo, but we would need to refactor the code on the bot to fetch the files in a new location.
I still encourage you to create a PR for this issue👍.
Sidenote: Eddie is preparing a crash course on GitHub. This could be a useful resource to add to this list later on 😃

What of if we sectionalize it, like videos, websites, docs and so on than putting everything together.

@chryzcodez yes we can have a section for each instead of putting everything together 👍


Fixes multiple bugs

Necessary to fix tests in JupyterLab.
Code changes:

Dependency process: When linking @jupyter/ydoc to jupyterlab in dev mode, JupyterLab complains about ydoc missing this dependency. I added it in devDependencies so we only install it in dev mode.
I changed the argument of the static method YNotebook.create to be able to initialize the notebook in a generic way. For example, JupyterLab needs to initialize the model with nbformat, nbformat_minor, and metadata but other frontends might need other attributes.
Fixed the imports
Fixed the callbacks for metadata changed in YCell and YNotebook. Both oldValue and newValue might be undefined.

Regarding the tests, I moved them to different files. The only changes are that I added YNotebook/factory as you requested. In addition, I added a few tests for the YFile.


Tracing not nested as expected

When using @Traced on a CDI bean method, the trace is on the same level as the JAX-RS request rather than nested within it.
Environment Details

Helidon Version: 1.2.0
Helidon MP

Steps to reproduce
Add @Traced to the GreetingProvider method getMessage
Enable tracing using either Zipkin or Jaeger
Invoke the endpoint (default endpoint is enough)
Observer the trace in the UI.

All bean methods annotated with @Traced now use the active span as parent (if available) and start an active span.


Not up-to-date (28 july 2020)

The youtube downloader scripts needs to be updated. It is not working anymore.

Do composer update. I just pushed through a new fixed version:
https://github.com/Athlon1600/youtube-downloader/releases

Hi Athlon1600, great work you have done so far....It seems I can get to download videos in HD.

It seems I can't get to download videos in HD.

I need more details than that. And this probably belongs as a separate issue now


NIFI-7034 Connection leak with JMSConsumer and JMSPublisher

Close workers before discard them. Also mark AbastractJMSProcessors as public, required
that for testing.
Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on both JDK 8 and JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@gardellajuanpablo given #4002 and its having been merged can we close this one out?

@gardellajuanpablo given #4002 and its having been merged can we close this one out?

yes, we can close this PR.


reading channel locations from .set files

I am working with EEG epoched data saved as .set files (and the corresponding .fdt files from EEGlab). The data were recorded from 66 channels (64 EEG and 2 EOG) from EasyCaps, with 10-20 IS. In Matlab, the EEG.chanlocs correctly shows the coordinates of each electrode (labels, type, theta, radius, X, Y, Z, sph_theta, sph_phi, sph_radius, urchin, ref). But it seems that I cannot read these locations in MNE Python.
This is the code I used:
import mne
data_path = r"D:\EEGdata";
fname = data_path + '\ppt10.set'
mydata = mne.io.read_epochs_eeglab(fname)
mydata
mydata.plot()
mydata.ch_names
The .set files are imported ok, and channel labels are correctly displayed, but the channel locations are not found.
mydata.plot_sensors()     #RuntimeError: No valid channel positions found
Any suggestion?

I am also getting the same error: mydata.plot_sensors() #RuntimeError: No valid channel positions found

then you did not set a proper montage for your data or you have an issue of
channel types

Hello Agramfort,
I think I have issue of channel position, my data is based on standard 10-20 EEG location system
Please check code and error.
Code:
ten_twenty_montage = mne.channels.make_standard_montage('standard_1020')
print(ten_twenty_montage)
========
fig = plt.figure()
ax2d = fig.add_subplot(121)
ax3d = fig.add_subplot(122, projection='3d')
raw.plot_sensors(ch_type='eeg', axes=ax2d)
raw.plot_sensors(ch_type='eeg', axes=ax3d, kind='3d')
ax3d.view_init(azim=70, elev=15)
RuntimeError: No valid channel positions found

where do you do:
raw.set_montage(ten_twenty_montage)
?
do you see then any warning or error?

Yup, I did this and got this error:
ValueError: DigMontage is a only a subset of info. There are 40 channel positions not present it the DigMontage. The required channels are: {'14', '2', '16', '4', '13', '19', '21', '17', '33', '5', '15', '9', '26', '10', '36', '38', '31', '11', '29', '1', '24', '30', '37', '12', '27', '22', '34', '20', '7', '35', '32', '6', '18', '25', '28', '8', '40', '3', '23', '39'}.
You can use raise_if_subset=False in set_montage to avoid this ValueError and get a DeprecationWarning instead.

This is the python code:
Code:
'eeg' in raw
True
raw.ch_names[0]
'1'
raw.info['chs'][0]['loc']
array([nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan])
raw.info['chs'][0]['coil_type']
1 (FIFFV_COIL_EEG)
raw.plot_sensors(show=True)
or
raw.plot_sensors(ch_type='eeg')
This give me error: RuntimeError: No valid channel positions found

then set_montage did not work
I suppose your channels are  {'14', '2', '16', '4', '13', '19', '21',
'17', '33', '5', '15', '9', '26', '10', '36', '38', '31', '11', '29',
'1', '24', '30', '37', '12', '27', '22', '34', '20', '7', '35', '32',
'6', '18', '25', '28', '8', '40', '3', '23', '39'}. but 10-20 system
does not use this naming.
You need to fix your channel names before setting the montage

I have found that montage has these channels name:
montage = mne.channels.read_montage('standard_1020')
print(montage.ch_names)
['LPA', 'RPA', 'Nz', 'Fp1', 'Fpz', 'Fp2', 'AF9', 'AF7', 'AF5', 'AF3', 'AF1', 'AFz', 'AF2', 'AF4', 'AF6', 'AF8', 'AF10', 'F9', 'F7', 'F5', 'F3', 'F1', 'Fz', 'F2', 'F4', 'F6', 'F8', 'F10', 'FT9', 'FT7', 'FC5', 'FC3', 'FC1', 'FCz', 'FC2', 'FC4', 'FC6', 'FT8', 'FT10', 'T9', 'T7', 'C5', 'C3', 'C1', 'Cz', 'C2', 'C4', 'C6', 'T8', 'T10', 'TP9', 'TP7', 'CP5', 'CP3', 'CP1', 'CPz', 'CP2', 'CP4', 'CP6', 'TP8', 'TP10', 'P9', 'P7', 'P5', 'P3', 'P1', 'Pz', 'P2', 'P4', 'P6', 'P8', 'P10', 'PO9', 'PO7', 'PO5', 'PO3', 'PO1', 'POz', 'PO2', 'PO4', 'PO6', 'PO8', 'PO10', 'O1', 'Oz', 'O2', 'O9', 'Iz', 'O10', 'T3', 'T5', 'T4', 'T6', 'M1', 'M2', 'A1', 'A2']... These are 97 channels.
In my data channels names are [1,2,3,...,40]
How can I rename my 40 channels according to the '10-20' montage?

How can I rename my 40 channels according to the '10-20' montage?

This depends on the details of your recording setup, you'll have to look into how the data were recorded to know this

Description of my data: "According to the standard 10-20 EEG location system, on both right and left hemispheres, eight four-millimeter electrodes were placed in an array along important language production (Broca’s area; F3 and F4) and language comprehension (Wernicke’s area; P5 and P6) regions of the human brain 9 (N=32)."
Renaming: mne.rename_channels(raw, ('1', 'LPA'))
Error: AttributeError: 'RawBrainVision' object has no attribute '_check_consistency'
Also, I can not understand which channel name is replaced with the montage channel name.

Renaming: mne.rename_channels(raw, ('1', 'LPA'))

The docstring states in requires an Info object, you passed it a Raw instance. You want rename_channels(raw.info, ...) or just raw.rename_channels. The second arg also needs to be a dict, you passed a tuple.

Also, I can not understand which channel name is replaced with the montage channel name.

It's also not clear to me from your description, you'll have to look into it and discuss with the people you got the data from

If I am using this python code:
mne.rename.channels(raw.info, {'1': 'LPA'}) // 1 is my data channel name and LPA is montage channel name.
I am getting an error:
AttributeError: module 'mne' has no attribute 'rename'

rename_channels not rename.channels ....

Ok thanks.
mne.rename_channels(raw.info, {'1': 'LPA'})
Again getting an error:
ValueError: Channel name(s) in mapping missing from info: ['1']

@agramfort @larsoner
I have put my description data file in the drive folder. Can you pls look at it?
I am really stuck in this channel names and sensor location issue.
https://drive.google.com/drive/u/0/folders/1lLCpfeHON_ihIk4ZKIDJuujWDBzMigMihttps://drive.google.com/drive/u/0/folders/1lLCpfeHON_ihIk4ZKIDJuujWDBzMigMi

@parasmemon Please don't post any more questions to this thread; this issue has been closed for several months and is not the right place to ask usage questions. For further help, please use the MNE mailing list or the gitter channel if you need additional help.


Json Heading change

for https://github.com/MicrosoftDocs/azure-docs/issues/30311
Json Heading changed

@Daya-Patil : Thanks for your contribution! The author, @spelluru, has been notified to review your proposed change.

@Daya-Patil - Thank you.
#sign-off


How to tell if the form is valid after validating?

After using $('#frm_employee_dependent').validator('validate');, how can I tell the result is valid or not?
I'm using a button instead of a submit type input, so I need to know if it's okay to continue or not.

There are a few ways you could do it. One way is to check if your submit button has a .disabled class applied to it. Another is to check if any of your form-groups have the .has-error class.

Alrighty!
I made this to solve my problem.
function form_validate(attr_id){
	var result = true;
	$('#'+attr_id).validator('validate');
	$('#'+attr_id+' .form-group').each(function(){
		if($(this).hasClass('has-error')){
			result = false;
			return false;
		}
	});
	return result;
}

if($('#form').has('.has-error')){     //it's not valid }

@vicentor, 1000hz,
how we can makesure $('#'+attr_id).validator('validate'); will finished before checking the has-error class in your answer. Because JavaScript will run in different threads. it may not be the line by line execution.

@phpnets It seems that validator("validate") return a synchronous flow as suggested by @1000hz is this comment : https://github.com/1000hz/bootstrap-validator/issues/247#issuecomment-162685431
@1000hz Could you please confirm this validation strategy is synchronous ? :
if ($('#myForm').validator('validate').has('.has-error').length === 0) {
  // form is valid
}

Thank you.

It is for now, but that will probably change whenever I add support for async validators (via Promises). In that case, there will also need to be more events (such as one when all validators have finished running).

$('#myForm').validator('validate').has('.has-error').length
very good, solved my problem, I have to say the Bootstrapvalidator is the best form validation plugin for Bootstrap.


[diem framework] make script allowlist immutable

This PR makes the hash-based script allowlist immutable by removing the add_to_script_allowlist script, an important step on the way toward deprecating the hash-based allowlist.
It is a surprisingly large change for a few reasons:

diem-tools/writeset-transaction-generator had a "halt transactions" feature that worked by removing all scripts from the allowlist. I added code to support the same feature via a HaltAllTransactions resource that is published/unpublished appropriately
Many tests relied on add_to_script_allowlist as a proxy for a script that triggers reconfiguration. These have been refactored appropriately.

This PR may have modified JSON-RPC server code.
Breaking changes policy:

Chaning JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
Adding fields is ok.
Adding a new JSON-RPC method is ok.

Please ensure you have also done the following to update the docs:

Update json-rpc/API-CHANGELOG.md.
Add/update type/method documentation under json-rpc/docs.

Still looking through the code, but we cannot regen the stdlib until we fix the allowlist situation as it breaks clients that are working off of master (or we need to sort out that situation in itself, whichever happens first)

My understanding is that we cannot change the stdlib in a way that affects the generated script builders used by clients. This PR does not do that because add_to_script_allowlist is an administrative script that can only be used by DiemRoot (i.e., AOS is its only client).

Still looking through the code, but we cannot regen the stdlib until we fix the allowlist situation as it breaks clients that are working off of master (or we need to sort out that situation in itself, whichever happens first)

My understanding is that we cannot change the stdlib in a way that affects the generated script builders used by clients. This PR does not do that because add_to_script_allowlist is an administrative script that can only be used by DiemRoot (i.e., AOS is its only client).

The problem is more than that, you cannot change the compiled versions of any of the checked in scripts, because they are building clients on master that work against mainnet/release branch. It is crazy I know

The problem is more than that, you cannot change the compiled versions of any of the checked in scripts, because they are building clients on master that work against mainnet/release branch. It is crazy I know

Oh, I see. Even though my changes are ok, when I regenerate I'm picking up not-ok changes made in previous PR's... Will fix

I'm not sure if our current tooling will make this easy.
As a part of the script-visibility change, we are going to have to pin all of the current script bytes + hashes somewhere else for the tools. Maybe we should just do that before this PR to make things easier?

As a part of the script-visibility change, we are going to have to pin all of the current script bytes + hashes somewhere else for the tools. Maybe we should just do that before this PR to make things easier?

These are still pinned both on-chain and in stdlib for now. All this PR is doing is preventing anyone making the list of hashes that we need to support forever bigger...

I mean copying them to some separate directory and using all of that for the various spots where the scripts+hashes are used. That way we can regen stdlib whenever we want

I mean copying them to some separate directory and using all of that for the various spots where the scripts+hashes are used. That way we can regen stdlib whenever we want

Ah, I see. I think that would make sense, but we do still want to make sure that the old scripts continue to build against the new stdlib (though we don't want to regenerate the bytes or client bindings). Let me think about how to do that.

Got rid of all changes to client bindings and stdlib binaries (except DiemTransactionPublishingOption, which I need to test my changes). This should be good to go now.

/land

@sblackshear :exclamation: This PR is still missing approvals, unable to queue for landing

/land

:broken_heart: Test Failed - ci-test-success

/land

:broken_heart: Test Failed - ci-test-success

/land

:broken_heart: Test Failed - ci-test-success

/land

/land

@sblackshear :bulb: This PR is already queued for landing


[HW] Jonathan Duarte Martinez

Name: Jonathan Duarte
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/jonathan-duarte-martínez-229138203/
Attach the homework screenshots below for both step II and step III:

Hey Jonathan Duarte, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/S-Z0rTS4Q2mouAgyPKAp7Q


YARN-11163. use relative path to fix reverse proxy image display

Description of PR
this pr corresponds to YARN-11163
How was this patch tested?
this patch has unit test added and tried in local docker environment
For code changes:

[x ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

Seems like duplicate of this PR - https://github.com/apache/hadoop/pull/3959


openscad: fails to start

Describe the bug
A clear and concise description of what the bug is.
To Reproduce

Run openscad

Expected behavior
Openscad opens
Screenshots
 % openscad                                                                              ~/brood/src/data
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

zsh: abort      openscad

Additional context
I'm using nvidia graphics drivers
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.
nix run nixpkgs.nix-info -c nix-info -m                     ~/brood/src/ml

system: "x86_64-linux"
host os: Linux 4.19.60, NixOS, 19.09pre-git (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2.2
channels(colin): ""
channels(root): "nixos-19.09pre186563.b5f5c97f7d6"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

I don't use nix-channels to manage my version - I'm at commit b5f5c97f7d67a99b67731a8cfd3926f163c11857
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
- openscad
# a list of nixos modules affected by the problem
module:

I can confirm this appears to be related to nvidia graphics. On a machine with intel graphics this worked correctly.


Expose JSON-RPC Error Code in communication with LSP Server

Recently I stumbled upon an issue where I was unable to catch error codes from the LSP Server. If the client?.sendRequest fails, it returns an Error object. The Error here has the following interface:
interface Error {
    name: string;
    message: string;
    stack?: string;
}

Thus I am unable to catch any error code which I sent from the LSP server. If anyone knows a workaround for this I would be greatful, but nevertheless it could be a nice improvement to include the Error code in the interface.

Which request are you sending to the server.
Usually all response errors are converted in lower layers and if it is a ResponseErrorLiteral the code will be preserve (see https://github.com/microsoft/vscode-languageserver-node/blob/dbaeumer/nutritious-vulture-turquoise/jsonrpc/src/common/connection.ts#L922)
Best would be you provide me with a GitHub repository I can clone with a minimal setup that demos what you are seeing.


support amp training for detection models

The pr is about https://github.com/pytorch/vision/issues/4509.
Since amp is supported on classification training, I also modify some files to support amp training on detetction models.

@datumbox Thanks. I have test the amp code, it works well.

@xiaohu2015 There are a couple of more linter issues (spaces). Have a look a the CI job, at the end it will show you the errors. For your convenience here are the things you need to change to keep it happy:
diff --git a/references/detection/train.py b/references/detection/train.py
index 5c50dcfa..ae13a32b 100644
--- a/references/detection/train.py
+++ b/references/detection/train.py
@@ -143,7 +143,7 @@ def get_args_parser(add_help=True):

     # Prototype models only
     parser.add_argument("--weights", default=None, type=str, help="the weights enum name to load")
-
+
     # Mixed precision training parameters
     parser.add_argument("--amp", action="store_true", help="Use torch.cuda.amp for mixed precision training")

@@ -211,9 +211,9 @@ def main(args):

     params = [p for p in model.parameters() if p.requires_grad]
     optimizer = torch.optim.SGD(params, lr=args.lr, momentum=args.momentum, weight_decay=args.weight_decay)
-
+
     scaler = torch.cuda.amp.GradScaler() if args.amp else None
-
+
     args.lr_scheduler = args.lr_scheduler.lower()
     if args.lr_scheduler == "multisteplr":
         lr_scheduler = torch.optim.lr_scheduler.MultiStepLR(optimizer, milestones=args.lr_steps, gamma=args.lr_gamma)

Other than that, the changes look good to me. :)
I'll leave it to @prabhat00155 to do the final checks on our side and merge when ready.


Weird Tooltips are shown on axis labels

can’t reproduce.  Will close for now, but re-open if I find it again.


Hotfix commands summary in UG

Codecov Report

Merging #98 (1968715) into master (6ce8a92) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #98   +/-   ##
=========================================
  Coverage     44.26%   44.26%
  Complexity      463      463
=========================================
  Files           115      115
  Lines          2476     2476
  Branches        360      360
=========================================
  Hits           1096     1096
  Misses         1294     1294
  Partials         86       86

Continue to review full report at Codecov.

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


Virtual IP status filtering issue LAN IPv6 CARP VIP is missing

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug / To Reproduce
I had created multiple IPv6 CARP VIPs under Virtual IP in Interfaces -> Virtual IPs -> Settings.
At least 1 on WAN and 1 on LAN (ULA)
When I go to Interfaces -> Virtual IPs -> Status
The 1 or more on the WAN side are shown when I have only CARP selected in the drop down.
But the one the LAN side is missing.
Might be related to #6543
Describe alternatives you considered
Also select IP Alias from the drop down and then we see it.
OPNsense 23.7.1-amd64

When the virtual ip type is alias, that's logical. The filter matches the type selected at the vip configured in Interfaces: Virtual IPs: Settings.

The odd thing is, it's a CARP, it also creates a CARP on the interface if you check on the console.
As a test I added some IP-aliasses and things got more 'intriguing'.

As you can see it shows the CARP on the IP-alias selection and does NOT show the IP-aliasses.

IPv6 compressed format, it helps to be specific when opening tickets, this only happens when ifconfig's output doesn't equal the one provided in the vip (:: vs :0:).


Update sbt-typelevel to 0.5.0-RC10

About this PR
📦 Updates org.typelevel:sbt-typelevel from 0.5.0-M5 to 0.5.0-RC10
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "sbt-typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel", artifactId = "sbt-typelevel" }
}]

labels: sbt-plugin-update, early-semver-pre-release, semver-spec-pre-release, version-scheme:early-semver, commit-count:1

Superseded by #88.


Cloud mask

Is there any reference discussing the cloud mask algorithm implemented in pySEBAL?

In pySEBAL there is no specific algorithm applied to calculate cloud mask. It is based on a simple NDVI criteria and the QC maps. But the user can use their own cloud mask as input for pySEBAL by using the additional user input options.

What about the shadow mask? Any special algorithm is implemented in pySEBAL regarding the calculation of the shadow mask?

The same for the shadow mask. This uses normally a buffer zone around the cloud mask and by using the QC maps. But a more advanced method can be developed before running the model by using this layer as an input file.


Errors when updating any table with Azure Data Studio

Type: Bug
I'm getting varied errors when trying to use azure data studio to update tables. e.g. when trying to update a column name.
The errors occur on publish/save.
The following are the latest errors:
Table schema validation failed with error: One or more errors occured during validation. 1. Trigger: [dbo].[trg_LogStatusOnChange] has an unresolved reference to object [inserted].
2. Trigger: [dbol. [trg_LogStatusOnChange] has an unresolved reference to object [deleted].
3. Trigger: [dbo].[trg_LogStatusOnAssignmentOrderCreation] has an unresolved reference to object [inserted].
4. The element data_1 is not supported in Microsoft Azure SQL Database v12.
5. The element data_2 is not supported in Microsoft Azure SQL Database V12.
When i use scripts or the windows version of SQL Management Studio v19, I do not get this errors.
Azure Data Studio version: azuredatastudio 1.48.0<PHONE_NUMBER>ef8254b7c22a5dc55af7f8a1dea93f, 2024-02-26T20:59:15.629Z)
OS version: Darwin arm64 23.3.0
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
Apple M2 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
3, 3, 3

Memory (System)
24.00GB (0.07GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

admin-pack
Mic
0.0.2

agent
Mic
0.49.0

dacpac
Mic
1.14.0

datavirtualization
Mic
1.14.0

import
Mic
1.6.1

profiler
Mic
0.14.0

schema-compare
Mic
1.21.0

sql-database-projects
Mic
1.4.2

schema-visualization
R0t
0.9.1

(1 theme extensions excluded)

Same problem here.
I get similar errors whenever i try to update a table using ADS, but I don't get any using SSMS 19.
My colleagues experience the same problem, too.
Version: 1.48.0 (system setup)
Commit:<PHONE_NUMBER>ef8254b7c22a5dc55af7f8a1dea93f
Date: 2024-02-27T00:05:08.293Z
VS Code: 1.82.0
Electron: 25.9.8
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631

Likewise as per @shipht2d and @marcodeiulio.
I have a simple table with an underlying view retrieving one column on that table.
In Azure Data Studio

Click on table and select Design
Append a new field called ratio, float
Save  <<< Error as below

Table schema validation failed with error: One or more errors occured during validation.1. View: [dbo].[vwMyView] has an unresolved reference to object [dbo].[DimMyTable].
In SSMS 20

Edit the same table as above
Append a new field called ratio, float
Save  <<< Success

** ADS Details **
Version: 1.49.1 (system setup)
Commit: 2f696aa95a13ccabd7e0a4431d1d759e3a7b8cfd
Date: 2024-08-13T18:12:38.831Z
VS Code: 1.82.0
Electron: 25.9.8
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.17763


[bugfix] Copy with trailing slash at destination.

FIxes #2912

I have added a test , could you check and give feedback if any changes needed?


chore(main): release 0.2.9

:robot: I have created a release beep boop
0.2.9 (2023-09-02)
chore

remove non-English line from saying.txt (8375be2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/cloverdefa/Whosis-Sayings/releases/tag/v0.2.9 :sunflower:


Allow more flexibility in referencing sprite font XNBs

SpriteFont xnbs can be referenced and used in code under the following conditions:

File is under the Assets/content/fonts folder (Android) or content/fonts (iOS)
File must be in the format [FontFamily]-[FontSize].xnb.  Even missing dashes will result in the font not being found
"fonts" folder must be lower-case

All of these seem unnecessarily strict for users, or at least the strictness could be eased if users were allowed to reference fonts directly by name, the same way they can reference texture .xnb's by name.  Suggestions:
label = new CCLabelTtf("DisplayText", "CustomXnbName");

or
 label = new CCLabelTtf("DisplayText", "Some/Other/Folder/FontXnbName");

or
 label = new CCLabelTtf("I will set my font on the next line...");
 label.SetFontFromXnb("Could/Use/Any/FontXnbName");

Closed via https://github.com/mono/CocosSharp/commit/604efb4618b38ddcb757c5bc8b351b4cd5ad4085


Isolate Application object in Env:

This change causes each instance of Env to construct its own isolated Application object for testing. Also included is part of a framework to create multiple Application objects in the same unit test and connect them together.
Reviewers: @ximinez @scottschurr

Current coverage is 49.15%

Merging #1328 into develop will decrease coverage by -0.04% as of cb081bd

@@            develop   #1328   diff @@
=======================================
  Files           958     959     +1
  Stmts         65620   65679    +59
  Branches          0       0
  Methods           0       0
=======================================
+ Hit           32280   32287     +7
  Partial           0       0
- Missed        33340   33392    +52

Review entire Coverage Diff as of cb081bd

Powered by Codecov. Updated on successful CI builds.

A clang debug build gives me the following warning:
src/ripple/test/jtx/impl/Env.cpp:79:7: warning: field 'bundle_' will be
      initialized after field 'test' [-Wreorder]
    : bundle_ (makeConfig())

@scottschurr Updated

I have to say, app.rpc() is very cool.  I'm looking forward to using this.

@scottschurr Thanks! The intent is to allow expressions like the following:
app(pay("alice", "bob", USD(100)));

only instead of submitting the transaction directly to the transaction engine it will submit the transaction through RPC and circulate it through a test network of peers / validators.

:+1:

LGTM.  On OS X, both clang.debug.nounity and clang.release build with no warnings.  Unit tests and npm tests run successfully on both.  Also run/sync/stop on both.
:+1:


Keep the info up-to-date in this doc

I made these commits by using github UI. Feel free to squash them into one commit

Thanks, done!


Rename neededRCfuns field to NeededTypes

This change was recommended by @perrydv .  Perry is this what you intended?

Yes, that was the idea, so it can be used more generically like the neededTypes in the nfProcessing class.  But let's discuss to get our workflow clear.

Closing since there is already a field named neededTypes, and I don't understand what this PR intends to do.

Makes sense to close this.  But the neededTypes exists in nfProcessing and neededRCfuns in RCfunProcessing, so they're in different places.  nfProcessing has several different types it might need, hence the generic label "neededTypes".  In the past, RCfunProcessing would only need other RCfuns, hence the narrower name neededRCfuns.  now (soon) RCfuns can also need nimbleList types, hence the suggested name change.  However it is a very minor point and most naturally dealt with in the nimbleList modifications going on right now.


Lingering icons after feeding animals

Mod Version: <IP_ADDRESS>
Forge Version: <IP_ADDRESS>15
Description:  Water bucket and other animal food/water icons don't go away after the animal has fed/been given water.

I am going to be posting an update that makes use of the latest version of Animania.  It has a cleaner API and has a good chance at resolving.  (I was not able to repro myself.)

Pushed DynamicSurroundings-1.12.2-<IP_ADDRESS> to CurseForge.


Update syntax to highlight function name

I noticed in other ML language syntax highlighters that the function name is highlighted (for instance see Sublime's syntax) which makes it useful to distinguish a function from its parameters.
The function name is only highlighted if it is not nested (i.e., at the beginning of the line) otherwise variables would be highlighted as functions.

@russelldavies this looks good to me. Could you do one more update from master and then I'll merge this in.

@mdxprograms Sure, that's done.


v2 Roadmap

This is the first major backend and frontend rewrite of Ackee. I've tried to add a Dashboard to Ackee that shows multiple statistics at a glance. Turns out this is hardly possible with the current API as the dashboard requires data from different endpoints. I've therefore decided to switch to GraphQL, making it easier to aggregate the data needed for the current view. The API is now self-documented, returns better results and allows me to delete a bunch of code.
You can simple update to the new version by pulling the newest code, but I don't recommend to do so until it's ready.
I've started working on v2 in the beginning of May and I guess that it will take till the end of August until it's done. It's a lot of work and I'm more than happy for every kind of support: https://github.com/sponsors/electerious
Here's what has already been added: https://github.com/electerious/Ackee/blob/develop/CHANGELOG.md
I will keep the task-list up-to-date while working on it.
Backend tasks for Ackee

[x] GraphiQL should only be available when enabled
[x] Update "Fill database" script to use the new API
[x] Check if all files are still in use. There might me some files no longer necessary.

Frontend tasks for Ackee

[x] Use new GraphQL API (WIP)
[x] Scroll to top when switching pages
[x] Write API examples and documentation
[x] Check if all files are still in use. There might me some files no longer necessary.
[x] Options to customise the dashboard and what the cards are showing => We use unique, daily and top data for now
[x] Prevent context menus in filter and navigation to leave the screen on small screens
[x] Overview doesn't show up in the errors or fetching prop because it uses a symbol

Tasks for ackee-tracker

[x] Use new GraphQL API

Testing

[x] Test if all endpoints are protected with a authentication
[x] Test that protected operations aren't possible in the demo mode
[x] Ensure that tokens are invalid after the TTL
[ ] Test CORS options with new API
[x] Run Ackee with an empty installation
[x] Run Ackee with an existing installation
[x] Test all features
[x] Check if all files are still in use. There might me some files no longer necessary.
[x] Cross browser testing
[x] Ensure that GraphQL errors don't contain sensitive data

Tasks for Ackee 2.x

[ ] Write tests for new API and files
[ ] Check why the recent aggregation is so slow
[ ] Views and durations are almost identical when it comes to the aggregation and enhancers. The code should be combined.
[ ] Improve performance of facts / GraphQL resolvers
[x] Don't fetch data for each domain / Fetch data for all domains / e.g. props.fetchBrowsers(props, domain.id)
[x] Implement DataLoader to avoid too many domains.all() calls

The first version has been successfully deployed on my server. It's now possible to test Ackee v2:
docker pull electerious/ackee:develop

Make sure to backup your data. There's also new version of ackee-tracker (4.0.0-1) in case you aren't using the version served by the Ackee installation.

Here we go 🚀 https://github.com/electerious/Ackee/releases/tag/v2.0.0

Docker compose + traefik works perfectly. 2 minutes update :100:


Login webmin logo does not appear after update to 18.20

OS: CentOS Linux 7.2.1511
Client: Windows 7, Browsers: Chrome + Firefox, both latest
Hello,
After going to v18.20 I noticed that the Webmin logo does not appear correctly in the login prompt.
See attachment pic.
The strange part is that I have another server and this is not happening to that server.
Any ideas?

I tried cleaning cache, force install but no luck. This seems to be related to webmin rather than the theme it self but not sure what to do since I did not make any changes to any webmin UI settings before.
N

No, no. I think it's the browser's issue. Try loading in incognito tag to double check.
In case it doesn't check log in and re-install the theme manually:
https://github.com/qooob/authentic-theme/issues/572#issuecomment-258248017

I had to re-install it and it then it worked.
Thank you.


Interest in CentOS/RHEL like build?

I can take some time to convert it, but don't want to put in the time if no one would really use it. Do you think its worth it?

Good question. I would say I will tag you incase someone asks/opens an issue regarding wanting one. And until that happens we can assume no one was interested enough. Does that sounds alright?

Works for me.


Behonker instead anomaly

About the PR

Anomaly spawn event (random and from anomaly gen) has 3% chance to spawn random Behonker instead of anomaly
Why / Balance

This is fun. You also can get Research point from it, if you scan him with anomaly scaner. Both anomaly finders also work with it. Honk
Technical details

Code is smol
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

nothing?
Changelog

:cl: Blade444

add: Added Behonker spawn chance in anomaly spawn event

iirc, behonkers are broken, it was caused by some pr that was refactoring hands system or something, after that drone hands was broken too

iirc, behonkers are broken, it was caused by some pr that was refactoring hands system or something, after that drone hands was broken too

how exactly is it broken? The author of the code did not see any problems, and I used it successfully a couple of times.

Are you still working on this? If yes, please use the new entity tables instead of RandomSpawner.
See #30957 for an example of how to do that.

nah...


gnomeExtensions: autoupdate

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Is it possible to backport? the majority of my plugins don't work on 23.11. Considering that gnome 45 broke all plugins with the new import sysstem i think backporting for a while is to be expected.

I'll keep backporting for a while, at least until all patches and fixes have settled down, but at the moment we don't really have a good support strategy for stable unfortunately.

is it possible to condition each plugin on not supporting more than the currently packaged gnome?

How do you mean?

if a explicitly plugin upstream advertises gnome 46 support, don't bump it

or maybe it's simpler if we invert the query: only bump plugins that don't load on the currently packaged gnome

Oh that's not an issue, as we keep multiple versions around, and for longer than a release cycle lasts. So consider that already solved

Gtile and a few other extensions just released new version for 45. Do I setup another PR for those or is there something else that should be done?

@imadnyc Simply do another PR


Production Queue

I am sorry if this has been answered already but I searched here and did not see a solution.
I cannot choose anything in the production window when I settle my first city.  The button in the button right-hand corner is basically "dead" and does not respond when I choose it.  HELP!

What OS are you using, where did you get your copy of CQUI, and are you currently trying to play a scenario? Also, please provide a save file

I haven't that problem...

@Jamolisim It's been a few days without response now, I'm closing this issue until he comes back to provide more info

My apologies.  I removed all the other mods I had, only activated this one, and it worked great!  Thank you!
On Monday, March 6, 2017, 3:39:53 PM PST, Chris<EMAIL_ADDRESS>wrote:
@Jamolisim It's been a few days without response now, I'm closing this issue until he comes back to provide more info
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Investigate using child ApplicationContext for route predicates and filters

As opposed to the factories and maps currently used.
/cc @dsyer

Similar to ribbon and feign


[Module Proposal]: Resource Module-Bicep-Container Apps (res) (bicep)

Check for previous/existing GitHub issues/module proposals

[X] I have checked for previous/existing GitHub issues/module proposals

Check this module doesn't already exist in another project that is being evolved into AVM

[X] I have checked for that this module doesn't already exist in CARML or TFVM

Terraform or Bicep?
Bicep
Module Classification?
Resource Module
Module Name
avm-res-app-containerapp
Module Details
Not proposing a new module but interested in taking ownership of existing CARML module.
For reference: https://github.com/Azure/ResourceModules/tree/main/modules/app/container-app
Do you want to be the owner of this module?
Yes
Module Owner's GitHub Username
oZakari

@oZakari, thanks for opening this request and volunteering! I'll shortly send you a request to officially confirm ownership.
Also, @prjelesi is going to reach out to you separately and help with the next steps, given this is a migrate from CARML scenario.
Thank you!

Hi @oZakari,
Thanks for requesting/proposing to be an AVM module owner.
We just want to confirm you agree to the below pages that define what module ownership means:

https://azure.github.io/Azure-Verified-Modules/specs/shared/team-definitions
https://azure.github.io/Azure-Verified-Modules/specs/shared
https://azure.github.io/Azure-Verified-Modules/help-support/module-support

Any questions or clarifications needed, let us know.
If you agree please just reply to this issue with the exact sentence below (as this helps with our automation 👍):
"I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER"
Thanks,
The AVM Core Team

I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER

Reopening.
@oZakari, please note that this issue can only be closed when the module is developed, tested, and published in the Bicep public registry.

Hi @oZakari,
Thanks for confirming that you wish to own this AVM module and understand the related requirements and responsibilities.
We just want to ask you to double check a few important things before you start the development.
Please visit the module index page of your module and use the following values explicitly as provided there:

ModuleName
TelemetryIdPrefix
ModuleOwnersGHTeam and ModuleContributorsGHTeam
Repository name and folder path defined in RepoURL

You can now start the development of this module! Happy coding! 🎉
Please respond to this comment, once your module is ready to be published!
Any further questions or clarifications needed, let us know.
Thanks,
The AVM Core Team

semantics perhaps - but would avm-res-container-app be a better choice?  There is avm-res-container-registry, and presumably there will need to be one for managed environments (avm-res-container-environment ?)
seems more logical to me to place the container items closer together alphabetically
If the intent is to group various app options together, then I think the appservice repository name needs reconsideration?

Hi @kewalaka, I referenced the (spec)[https://azure.github.io/Azure-Verified-Modules/specs/shared/#id-rmnfr1---category-naming---module-naming]. I think this was done to try to reduce the number of dashes for resource names with lots of spaces and to try to keep it as consistent as possible with the resource schema itself. For container registry it should be avm-res-containerregistry-registry instead of avm-res-container-registry.
@matebarabas Just taking a quick look at other resource module names, looks like module for Action Group has a hypen, but it shouldn't either based upon the schema unless I am missing something.

@ozakari, @kewalaka,
Please see the naming convention for resource and pattern modules under the respective shared requirement.

The explanation in the previous comment is correct. The right name for the Container Registry module is avm-res-containerregistry-registry
The correct name for the Container App module is: avm-res-app-containerapp. --> The information in this issue is correct.
The correct name for the Action Group module is avm-res-insights-actiongroup. --> The name information in this issue (#207) was incorrectly captured and it remained unnoticed. The module was published with the correct name. Please note that the issue for this module was captured retrospectively as an exception, since the module was already being worked on by an AVM core team member before the process for managing the issues (including issue templates, automation, documentation, etc.) was put in place. For good recordkeeping, the core team was asked to make sure they cover all modules that were migrated from CARML with "module proposal" issues. I've corrected the mistake. Thank you for calling this out!

@oZakari,
Due to a recent change in the naming convention for AVM Bicep modules, this module is getting an updated name.
The title and description of this GH issue has been updated to reflect the name change. Please make sure you adhere to the new naming convention when publishing your module!
Please see the new naming convention in:

RMNFR1 for resource modules
PMNFR1 for pattern modules

Please note that the Telemetry ID and name of GitHub Teams haven't changed.
If you feel uncertain about any details, please check the Bicep modules indexes.

https://github.com/oZakari/bicep-registry-modules/tree/container-apps

Thanks for the update @oZakari! Please let us know once you've submitted a PR (by providing a link to it). Thank you in advance!

Hi @oZakari, Happy New Year! I hope you had a great holiday season and had a chance to recharge! 😊
I just would like to check back on this issue and ask how far do you think you are? Can you please share your expected timeline on publishing this module?
Thank you!
CC: @jeanchg

Hi @matebarabas, nearly complete, pushing to get the PR out by this Friday.

PR

[x] Module published. PR: https://github.com/Azure/bicep-registry-modules/pull/833
[x] GitHub teams are available and assigned to their parents.
[x] CODEOWNERS file updated.

Thank you for your work @oZakari! I'm closing this issue now.


[UWP]1 warning occurred when a uwp app add a reference to a ClassLibrary(Universal Windows)

Describe the bug
Adding a reference to a ClassLibrary project from a UWP application project generates a XAML compiler warning.
Steps to reproduce the bug

Open Visual Studio 2019 (or 2017)
Create a new Universal Windows Class Library project
Create a new Universal Windows Application project in the same solution
Add a reference to the Class Library project from the Application project

Expected behavior
It just works.
Actual behavior
Visual Studio displays the following warning message in the Error List:
Cannot resolve Assembly or Windows Metadata file 'C:\Users\user\source\repos\ClassLibrary4\ClassLibrary4\bin\Debug\ClassLibrary4.dll'
Screenshots

Version Info
The behavior is observed with the XAML Compiler in the Windows 10 SDK.
I have no reason to believe that the behavior will be different with the WinUI version of the compiler.
Windows 10 OS version doesn't impact the issue.
Additional context
The error comes from a design-time build in Visual Studio that executes the DesignTimeMarkupCompilationCT msbuild target.
Errors from design-time builds are not actionable as they are not user-initiated actions.
Missing assemblies (especially from project references) are to be expected and such errors should be suppressed during design-time builds.

Is the message still present if you compile the solution and reopen VS?
I've seen similar design-time warnings, but they are not permanent.

Is the message still present if you compile the solution and reopen VS?
The message goes away after rebuilding the solution.

I don't expect to see a message in the first place. It tells me that I did something wrong when in fact I simply added a reference.

Thanks @SvetBonev for filing this and for the insight. I agree that we shouldn't be supplying a message here.
To set expectations, this is probably not our highest priority at the moment, but once we are open source we'd be happy to accept contributions.


added the global status function and popualted it

Current coverage is 93.02%

Merging #22 into master will increase coverage by +0.92% as of e0e1a74

@@            master     #22   diff @@
======================================
  Files            1       1
  Stmts           76      86    +10
  Branches        13      14     +1
  Methods         19      20     +1
======================================
+ Hit             70      80    +10
  Partial          0       0
  Missed           6       6

Review entire Coverage Diff as of e0e1a74

Powered by Codecov. Updated on successful CI builds.

:+1:


Encrypted appservices can't decrypt event: decryption failed because the room key is missing

For whatever reason, the bridge never seems to sort out it's room keys.
INFO 22:21:24:094 [Appservice] Processing event of type m.room.encrypted
WARN 22:21:24:095 [Appservice] Bot client was not able to decrypt !YFBJGTnYoiyRzBXhlm:beefy $lSrPWwC3ZtgLbF13Bi7aCpzulOQyFJsriQ470USSdi4 - trying other intents
DEBUG 22:21:24:095 [MatrixHttpClient] (REQ-123) GET http://localhost:8008/_matrix/client/r0/rooms/!YFBJGTnYoiyRzBXhlm%3Abeefy/joined_members
ERROR 22:21:24:105 [Appservice] Decryption error on !YFBJGTnYoiyRzBXhlm:beefy $lSrPWwC3ZtgLbF13Bi7aCpzulOQyFJsriQ470USSdi4 Error: Decryption failed: decryption failed because the room key is missing
    at OlmMachine.decryptRoomEvent (/home/will/git/matrix-hookshot/node_modules/@turt2live/matrix-sdk-crypto-nodejs/src/ts/OlmMachine.ts:305:37)
    at CryptoClient.<anonymous> (/home/will/git/matrix-hookshot/node_modules/matrix-bot-sdk/lib/e2ee/CryptoClient.js:157:50)
    at Generator.next (<anonymous>)
    at /home/will/git/matrix-hookshot/node_modules/matrix-bot-sdk/lib/e2ee/CryptoClient.js:17:71
    at new Promise (<anonymous>)
    at __awaiter (/home/will/git/matrix-hookshot/node_modules/matrix-bot-sdk/lib/e2ee/CryptoClient.js:13:12)
    at CryptoClient.decryptRoomEvent (/home/will/git/matrix-hookshot/node_modules/matrix-bot-sdk/lib/e2ee/CryptoClient.js:156:16)
    at CryptoClient.descriptor.value (/home/will/git/matrix-hookshot/node_modules/matrix-bot-sdk/lib/e2ee/decorators.js:33:35)
    at Appservice.<anonymous> (/home/will/git/matrix-hookshot/node_modules/matrix-bot-sdk/lib/appservice/Appservice.js:540:83)
    at Generator.next (<anonymous>)
    at fulfilled (/home/will/git/matrix-hookshot/node_modules/matrix-bot-sdk/lib/appservice/Appservice.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'GenericFailure'
}

The appservice is configured to use crypto: https://github.com/matrix-org/matrix-hookshot/blob/ac761ba771fa4016882a1fc471f6eb0c20d8d661/src/appservice.ts#L5-L29
(have checked that the storage backend is indeed working)
The registration file has:
de.sorunome.msc2409.push_ephemeral: true
org.matrix.msc3202: true

Synapse has:
experimental_features:
  msc3202_device_masquerading: true
  msc3202_transaction_extensions: true
  msc2409_to_device_messages_enabled: true

is it possible that the room key was sent before synapse's support was enabled?

Definitely not in this case. I created fresh rooms and accounts after enabling support.

I think this might be caused by the crypto stack assuming client.on(...) will work, but it won't. Will need to figure this out.


How to create a button to cycle through different colour schemes of the capaivate theme.

https://sidetabs-wiki.tiddlyhost.com/#buttons%2Fcycle-palettes
Here is a palette cycle button I found in the google group sometime back (Don't remember the creators name, might be Mohammed). Can such a pagecontrol button be used to cycle through different colour schemes of the capaivate theme.

I've looked into how cycle-palettes works. The button cycles through all palettes tagged with $:/tags/Palette.
What you can do is to choose (i.e. activate) a particular color scheme via Captivate Theme Tweaks section in the Control Panel. The action will re-generate the $:/palettes/Captivate(Dark,Light,Tan) palettes for the given color scheme. Clone any captivate palette ($:/palettes/CaptivateDark, $:/palettes/CaptivateLight, $:/palettes/CaptivateTan) that you'd like to cycle through .  Make sure the names of the cloned palettes do NOT contain any space characters.
Repeat the above process for another color scheme.

\whitespace trim
\define cycle-palettes()
<$set name=pals filter="[all[tiddlers+shadows]prefix[$:/palettes/Captivate]]">
<$action-listops $tiddler="$:/palette" $field="text" $subfilter="+[cycle<pals>]"/>
</$set>
\end

\define cycle-captivate-palette-button()
<$wikify name=tooltip text={{$:/language/Buttons/CyclePalettes/Hint}}>
<$button actions=<<cycle-palettes>>
 tooltip=<<tooltip>>
 aria-label={{$:/language/Buttons/CyclePalettes/Caption}}
 class=<<tv-config-toolbar-class>> >
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
{{$:/images/svg-icon/paintcan}}
</$list>
<$list filter="[<tv-config-toolbar-text>match[yes]]">
<$text text={{$:/language/Buttons/CyclePalettes/Caption}}/>
</$list>
</$button>
</$wikify>
\end

<<cycle-captivate-palette-button>>

I am using this code to cycle through captivate palettes after setting a particular colour scheme.
Is there a way to cycle through different colour schemes after setting a particular captivate palette ?

I've looked into how cycle-palettes works. The button cycles through all palettes tagged with $:/tags/Palette.
What you can do is to choose (i.e. activate) a particular color scheme via Captivate Theme Tweaks section in the Control Panel. The action will re-generate the $:/palettes/Captivate(Dark,Light,Tan) palettes for the given color scheme. Clone any captivate palette ($:/palettes/CaptivateDark, $:/palettes/CaptivateLight, $:/palettes/CaptivateTan) that you'd like to cycle through . Make sure the names of the cloned palettes do NOT contain any space characters.
Repeat the above process for another color scheme.

Now only I really understood what you were saying..and I got it working.


Backup recommendation

Do you have a recommendation what is the best way to make a backup?

Everything in the addon_config is backed up with the addon, you just have to make sure that /share/paperless is backed up

I have the standard settings and did a full backup, but I don't see the archive folder.

Where can I add the /share/paperless to the backup?
But is it a good idea to combine the files with the HA backup or wouldn't a separate backup be better for the files?
I think it's okay that the settings and index database are in the backup.

By creating a manual backup

Ah ok manual, but do you know a setup where I can do this once a month or every two weeks automatically?

I do use this addon https://github.com/sabeechen/hassio-google-drive-backup
Equivalent should exist for NFS, rsync and others cloud providers

I use this one: https://github.com/thomasmauerer/hassio-addons/tree/master/samba-backup
But as far as I know I can't make 2 different backups.
Is this possible with the other add on?

Ah I see in my backup the share is also included :-)


1444 custom latlong not mandatory in patch

Pull Request Overview

Custom lat long no longer mandatory in patching

Code coverage < 50% as there are no lat long custom fields that are mandatory


ARROW-10205: [Java][FlightRPC] Allow disabling server validation

Add option to Java FlightClient.Builder to turn off server verification
(verification is on by default).

Separated out the Java work to this PR and the C++/Python work to #8323
FYI @lidavidm


wpackio.project.js Not Found by wpackio-scripts start

I just discovered wpack.io tonight and was hoping to quickly get my project spun up. However after going through all of the set-up, and attempting to run yarn start I get the following issues:

As you can see the file is present in the directory, but for some reason the script isn't seeing it.
My first thought was perhaps its a permissions issue, but I changed the permissions to be very open on both wpackio.project.js and wpackio.server.js to no avail.
Any advice here is greatly appreciated.

Hi,
This could also happen if require gives something invalid. Do make sure the content inside wpackio.project.js is valid JavaScript.

Thank you for the heads up there! I had a problem with the way I had originally formed something in the alias object.


I2C Device Scan doesn't work

If one tries to scan for a list of connected I2C devices using the scan function, using either pslab-python or pslab-android, the PSLab device replies in affirmative to each and every address scanned for (see https://github.com/fossasia/pslab-android/issues/2595 in pslab-android).
I first noticed this issue in the android app, however, when I tried to scan using pslab-python, I got the same results.
Attaching a screenshot for your reference ( this is the output with only the APDS9960 (having address 0x39) connected to the PSLab),

Why did I create an issue in the firmware repository?
I remember when I used this feature with the legacy (2.0) firmware. It worked well both in the android app as well as using the python library.
Thus, it seems to me that the issue may be somewhere in the firmware, and not in pslab-python or pslab-android.
@bessman Have you tested this before ? Has the I2C implementation in the firmware changed in anyway between the legacy (2.0) and the latest (3.0) firmware (I remember you telling me that it hasn't, I guess ?)
Nonetheless, I'd love to get this solved.

This is related to a change in the return value from I2C_CommandStart. It used to return the I2C2STATbits.ACKSTAT bit along with the regular ACK byte. Simply readding the ACKSTAT bit to the return value did not work for me, however. I will keep investigating.

I am concerned that this may be a hardware problem. Adding I2C2STATbits.ACKSTAT to the return value solves the problem when using v5 hardware. :thinking:

I remember when I used this feature with the legacy (2.0) firmware. It worked well both in the android app as well as using the python library.

I think when I observed this I flashed the legacy firmware to the v6 board ( I never had the v5 board with me 😂 ).

OK, I will try with legacy firmware.

With legacy firmware I observe the same behavior on legacy and current hardware: I2C scan works once, then returns nothing.

@bessman You are right. I am observing the same behavior with the v6 hardware:

Maybe I didn't notice this earlier because I never used the I2C scan in the app more than once even with the legacy firmware, and the first time it works well.


chore(deps): update dependency javax.portlet:portlet-api to v3

This PR contains the following updates:

Package
Update
Change

javax.portlet:portlet-api
major
2.0 -> 3.0.1

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

PR has been edited
:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

PR has been edited
:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

Not supporting portlet-api 3 ( at least for now )

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 3.x releases. However, if you upgrade to 3.x manually then Renovate will then reenable updates for minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Save mu attribue in GRIDE

Add option to save mus also in gride (for consistency with TwoNN)

Codecov Report

Merging #68 (a4418d3) into main (e32c0e9) will decrease coverage by 0.03%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
- Coverage   80.57%   80.54%   -0.04%
==========================================
  Files          10       10
  Lines        1138     1141       +3
==========================================
+ Hits          917      919       +2
- Misses        221      222       +1

Impacted Files
Coverage Δ

dadapy/id_estimation.py
82.58% <75.00%> (-0.22%)
:arrow_down:

Continue to review full report at Codecov.

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

flake8 does not pass because the function is too long. There are too many 'if' conditions. I would ignore this estetic aspect for the moment if the rationale of the new attribute is fine for you

If we want to ignore it we need to add an exception (see, e.g., here https://flake8.pycqa.org/en/3.1.1/user/ignoring-errors.html). It should be relatively easy, I can do it later if needed

If we want to ignore it we need to add an exception (see, e.g., here https://flake8.pycqa.org/en/3.1.1/user/ignoring-errors.html). It should be relatively easy, I can do it later if needed

I added a helper function to compute maximum likelihood with gride, '_compute_id_gride' which is similar to what we do with _compute_id_2NN. In this manner, we solve the issue

This can go for now, but eventually it would be nice to make gride and 2NN more consistent between each other.
In this moment they are not, for instance:

return_id_scaling_2NN does not have a flag "save_mus" while return_id_scaling_gride does
compute_id_2NN has a flag called "set_attr" that implicitly also saves the muse, while compute_id_gride does not even exist

I think that eventually (even in another PR) we should make them coherent, meaning that we should create a function compute_id_gride with a  "set_attr" argument.

This can go for now, but eventually it would be nice to make gride and 2NN more consistent between each other.
In this moment they are not, for instance:

return_id_scaling_2NN does not have a flag "save_mus" while return_id_scaling_gride does
compute_id_2NN has a flag called "set_attr" that implicitly also saves the muse, while compute_id_gride does not even exist

I think that eventually (even in another PR) we should make them coherent, meaning that we should create a function compute_id_gride with a "set_attr" argument.

Yes. But the problem of consistency is not the matter of this PR. These functions have never been consistent so far and for sure sooner or later we should improve the structure of the module. But this was not the purpose of this specific PR

Ok, then let's move on, I also approve the PR 👍🏼


[Suggestion] Blacklist Toggle for Biome List

It would be awesome if you could add a toggle to turn the biome list from a blacklist into a whitelist, to make it easier to only have a handful of biomes winterified. Thanks ^^

Seconding this request - I'd love to use this mod in my pack, but it would be very difficult to relegate it to a specific place or dimension, by noting only specific biomes which should not be winterified.


-vnc command crashes UTM

I am using UTM on iOS 15, tethered with Jitterbug.
I attempted to try -vnc <IP_ADDRESS>:2 to use it as a VNC server.
However, everytime I connect to VNC server, server UTM VM crashes.
Any solutions?

Unfortunately, the QEMU VNC is not supported in UTM. Instead, you could install a VNC server in your VM and use port forwarding to access it from your host or another device.
@osy do we have plans to fix QEMU VNC?

@conath
I heard there is a way to imstall Native QEMU on Jailborken iOS devoce terminal.
Do you know how..? I tried with NewTerm2 but I can’t figure out the commands….

Sorry, I don't know.

Duplicate of #3528


Flush and await Socket connection before resolving Socket.close().

Similar to https://github.com/cloudflare/workerd/pull/1284 but for socket's close method.

@Warfields review appreciated


how to control the width of drop-down list

hi all,
i have be in trouble with that when the text of in the option is long enough,  the  drop-down list either become more and more wide,
so how can i control the width of the drop-down list,.
Thanks & Bestregards.
bulabula

@bulabula001 Try using the data-content attribute on the option element. See here

fixed #1034

tks @iyadthayyil

I still have the issue with v. 1.13.12 (package.json) (in the bootstrap-select.css it says, that is v. 1.13.18).
When i select a certain count of options the select box begin to grow and with every additional it grows more. Looks like this:

Thats the HTLM Structure (in a Twig template):

                                {{ "job.wizard.two.region" | trans }}
                                <select
                                    class="form-control form-control-solid form-control-lg selectpicker"
                                    name="job_ad_visible_region[]"
                                    data-size="9"
                                    {# data-width="300px" #}
                                    multiple>
                                    {% for region in regions %}
                                        <option
                                            value="{{ region.getRegionId() }}"
                                            selected="selected">{{ region.getNameDe() }}</option>
                                    {% endfor %}
                                </select>
                                {{ "job.wizard.two.region.subtitle" | trans }}

The only way to handle it is the data-width attribute. But with this, the select field isn't really responsive.
I'm not sure, if it is really fixed, because here #1853 is said, that the fix is lost.


Title bar does not respect prefers-reduced-motion: reduce

Describe the bug
The title bar shouldn't be animated if the user (like me) has set prefers reduced motion in the system settings.
To Reproduce
Steps to reproduce the behavior:

Open the app
NeoHtop in the title bar blinks

Expected behavior
The title would not blink.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS Sonoma 14.7
Version 1.1.0 (20241110.180333)

Additional context
You can use a @media query for it, so hopefully it's an easy fix.
I would argue that it shouldn't be animated at all, or at the very least be off by default ant configurable. I find it quite distracting, and while the animation is pretty neat, it loses its novelty pretty fast. Perhaps it can find a better home somewhere on the web page?

not a bug, since that's not the native os title bar.

I saw this was marked as completed, so I downloaded it to take a look but then I still see a flashing title bar logo.
That tiny bar is best used for regular text, while custom images are more suited to the About screen where they can be much bigger.
While I can very easily configure the processes to refresh at a much more sensible 5s and longer, that only seems to highlight the title bar flashing even more (for me, anyway). I think OP was right to use the bug label, as it’s an accessibility bug. Any chance you might look into fixing it please?

@philsherry will try to find some time to work on a fix, would also appreciate it if someone can submit a PR.


📋 Curate Data Platform resources

User Story
As a Data Platform product engineer
I want a complete list of resources we've created during the discovery
So that we can either retire or rename them if applicable for either Analytical Platform or Data Catalogue
Value / Purpose
We've done a lot of great work that I'm sure will be repurposed, but the time is coming to start winding down what we have running for Data Platform
Useful Contacts
@jacobwoffenden
User Types
Product Engineering
Hypothesis
If we retire or rename resources we've created for Data Platform
Then we won't leave things lingering around forever
Proposal
Curate a list of the resources we've created, then make a decision what to do with the item, then create tickets from those actions
Additional Information
A lot of this work has been done with Terraform, so it should be easy, there are a few things like 1Password that were created by another team
Definition of Done

[ ] list created
[ ] circulated to service area
[ ] reviewed and decisions made
[ ] tickets created

Google Sheet: https://docs.google.com/spreadsheets/d/1YzwUvERcv5X__mNkJXFvjEJYCEAJwUjnCPFIKqXaW_0/edit?usp=sharing


Branch v1.3 improve testing

Improved testing.

Thank you. My team leader's affirmation is what keeps me going every day, every commit, every push, every pull.


bump deps

Signed-off-by: Zbynek Roubalik<EMAIL_ADDRESS>
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

/run-e2e

/run-e2e *

/run-e2e


Fix kwargs error from LLM endpoint in rag_prompt.py

Fixed RAGPrompt error where retriever and k were being submitted to the LLM endpoint, causing runtime error.
This should resolve the issue reported below:
#34

I have read the CLA Document and I hereby sign the CLA

Thanks for this, I am going to solve this in #37, due to this branch being stale on changes I made to the upstream to support newer versions of dependent libraries, so you don't have to merge main back into this branch. I appreciate the PR here though.
I also added tests so this doesn't happen again for RAGPrompt or any other steps in DataDreamer.


error compiling on mac os x

Hi,
I have the following error when I try to compile on mac os x:
$ script/build -t x64
ninja: Entering directory src/out-x64/static_library' ninja: error: '../../chrome/common/widevine_cdm_constants.cc', needed by 'obj/libchromiumcontent/chromiumcontent/cdm_support/widevine_cdm_constants.o', missing and no known rule to make it Traceback (most recent call last):   File "script/build", line 79, in <module>     sys.exit(main())   File "script/build", line 52, in main     run_ninja(os.path.relpath(out_dir), target=target, env=env)   File "/Users/angelomantellini/libchromiumcontent/script/lib/ninja.py", line 26, in run     subprocess.check_call(args, env=env)   File<EMAIL_ADDRESS>line 190, in check_call     raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/Users/angelomantellini/libchromiumcontent/vendor/depot_tools/ninja', '-C', 'src/out-x64/static_library', 'libchromiumcontent/chromiumcontent:chromiumcontent']' returned non-zero exit status 1
solutions?

Maybe I have a solution:
I commented
//chrome/common/widevine_cdm_constants.cc in
./chromiumcontent/BUILD.gn,

libchromiumcontent is deprecated, electron now builds chromium as part of itself: https://github.com/electron/electron/blob/master/docs/development/build-instructions-gn.md
Is there a particular task you're trying to accomplish?

Hey there,
It's been a long time coming but the libchromiumcontent repository is being archived as it is no longer used in the Electron build system (🎉 this is a good thing).
If your issue is still relevant to Electron in it's current build system (please verify first) then you should probably raise a similar issue on electron/electron.
Thanks 😄


How to print image to center of paper

Is posible to print image in center of paper as logo image of ticket receipt
thank you

@chukiatt yes it’s possible.
Please check this example
https://github.com/tr3v3r/react-native-esc-pos-printer/blob/main/docs/QUICK_START.md


refactor: update project

fix + feature

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


Motivations and why blog post

@argyleink I posted my big ole' set of questions on the Discord before having a look at the issues here :) So yeah, +1 for this I think it would really help!


fix: add missing @types/estree

We've had several null/undefined bugs (such as #212) that can be avoided with better TS types.
This PR adds @types/estree as suggested by @sokra a few years ago and this seems to do the trick.
There are a couple errors that might be real issues so I left those to see how we can handle.

Nice work, let me know if you want help getting this over the line.

I've pushed up the type fixes here - CI should be passing now.


How to use "buck2 clean" or other commands to delete only the generated files (cache) without killing the daemon?

Ask a question above，Thanks!

This is not a feature that exists in Buck2.
There is buck2 clean --stale that can clean files that were produced by a
previous daemon (assuming you’re using deferred materialization), but that
still won’t clear files the current daemon cares about.
If you think about it though, once you’ve cleared all the outputs there’s
not too much state left in the daemon (only loading and analysis), so what
you’re asking for might be a lot less useful than you think.
On Tue, 19 Mar 2024 at 05:47, yaoddao @.***> wrote:

Ask a question above，Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/facebook/buck2/issues/608, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANIHVS5BGTJQF3UYTVHADLYY67PLAVCNFSM6AAAAABE42GHXGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TIMBRGIYTONI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yeah, agreed with Thomas. I think it would be good to know what the state that you are expecting to keep around is, we may be able to provide a more helpful answer then


i18n Text Translations: additional components from #1143

Files:
components/buttons
components/layout
components/links
components/LoadingPage
components/ProfileCard
components/ViewAttachment

Move user-visible text from these section into json files in the
public/locales/en folder; use the next-i18next 'useTranslation' hook to
connect the text from the json files
You'll decide how to group and name your text in a way that makes
sense for your section by default, make separate json files following
the structure of the project pages/folders, but feel free to diverge
from that if needed.
make sure to get titles, headers, buttons, labels, and alt text
Put common words, labels, etc in the common.json file
At this time, don’t worry about translating content on the files in
the pages folder itself at this time, but you will need to update these
files to include the json files you created.
some pages may have already been extracted more or less into files
next to or near the component files, usually with the same file name
with 'content' on the end. That text needs to be moved as above, and
it's up to you what to do with the content file.

I can take

With regards to putting common words/labels in common.json. I've noticed several words/phrases that have been duplicated across multiple .json files that are also found in the components I've been assigned here. Do you want me to be abstracting those out to common, remove the duplicates from the other .json files, and updating their corresponding components to use the ones defined in common? Or just leave the existing components/corresponding json files alone and just focus on the ones defined in this issue?
Ex. "Why Use MAPLE" is defined in forIndividuals, forLegislators, fororgs. That phrase is also in the layout component

Hello, I can work on this

Great! Let me know if you have any questions. If you see that the issue the pgibb noted above still persists, please surface it on the #maple dev slack channel! (or any other questions on this)


process names may contain spaces

https://github.com/Microsoft/ProcDump-for-Linux/blob/master/src/Process.c#L51
seems somewhat dubious given that the process name can contain spaces e.g.
perl -e '$0="string parsing in C is hard"; say $$; sleep 9999'

which I believe will result in a proc->comm of "strin" and then who knows what for the subsequent tokens.
References & Related Readings
CVE-2017-1000367

Confirmed this is a bug I can recreate it. We will address this in the next minor release.

reading from two different files in /proc may be a race condition if the process goes away between the two reads. there is also the /proc/$$/status file...

You make a good point.  The original intent of using stat vs status was that stat is the more "computer readable" format for the information, but as you point out, status does handle isolating the name for us in a better manner.
#17

Having done a little more reading on how the kernel handles names of processes, I think it is actually fine to read from stat and cmdline.
The actual kernel struct that represents a process in the scheduler (to my understanding, this is where all the information in stat comes from) has comm as char comm[TASK_COMM_LEN] where TASK_COMM_LEN is defined as 16 (really it's 15 + the \0).
This means that if we want to display the "full name" of the process, we do actually need to read from multiple sources.  Since the /proc/[pid] pseudo-directory will only exist as long as the process is executing, we aren't really faced with a breaking race condition.  If a read to any of the pseudo files inside the directory fails, we simply head to exit code path per normal procedure since Procdump wouldn't be able to continue executing anyway.  We can reduce double reads though, by only reading that full name once and caching it aside.  Then every subsequent read is just to stat, and we can simply read from ( to the last ) (in case the process has ( or ) in its name).


Incorrect calculation of elevation distance

In the attached example, elevation is apparently not being included in the total distance calculation (10 ft) despite the elevation difference being correctly identified (+15 ft from 5 ft to 20 ft).

You are correct. I made some substantial changes in v0.10.7 to fix this.


feat(mangler): port the base54 algorithm from esbuild

https://github.com/evanw/esbuild/blob/2f2b90a99d626921d25fe6d7d0ca50bd48caa427/internal/js_ast/js_ast.go#L2021C1-L2024
This should provide more compact symbols compared to our current one ported from terser.
The code to modify is here
https://github.com/Boshen/oxc/blob/19b0c33427742abbe861477f3dad417993fd63e2/crates/oxc_span/src/atom.rs#L20-L35

Managed to fix our mangler https://github.com/Boshen/oxc/pull/364