small fix for fake batches with correct channel names

Pull Request
Description
Small improve for fake batch
How Has This Been Tested?
add a unittests

[ ] No
[x] Yes

Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Codecov Report

Merging #580 (e074ba6) into main (82f7f2b) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #580      +/-   ##
==========================================
- Coverage   93.64%   93.60%   -0.04%
==========================================
  Files          42       42
  Lines        2769     2769
==========================================
- Hits         2593     2592       -1
- Misses        176      177       +1

Impacted Files
Coverage Δ

nowcasting_dataset/data_sources/fake/batch.py
87.05% <100.00%> (ø)

nowcasting_dataset/data_sources/data_source.py
90.12% <0.00%> (-0.62%)
: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 82f7f2b...e074ba6. Read the comment docs.

@JackKelly Ive merged this, but still happy to have your comments


REAMDE API/examples are out of date

Hey,
Is it possible that the pypi version does not match the repo. The README.md example doesn't work and the installed package (0.1.1) look different.

Hi @STguerin! The API/syntax in the README is outdated, as I was developing functionality and changing things in the code. I'd be happy to update it based on the changes. Are you trying to use the package for anything in particular? I'd love to hear about your use case.

Just doing some saving projection incorporating different asset allocation and was looking around for a decent ESG on python. Offering is small so this project should not have too much competition :P
this is the current install you get from pip install :

It’s been a while since I updated the package on pypi. I’ll push a version with the current code base later today. In the meantime you could clone the git repo locally and install using pip install . if you need it right away. Note that this project is still rapidly changing, so if you’re looking for certain functionality, please let me know. Thanks!

I updated the README and pushed version 0.1.2 to pypi - please let me know if you have any feedback as you use it! Thanks for your interest.


根本没办法用，解决一个问题立马出现下一个问题

0.6.0 到底适配哪个dubbo版本？启动以后很多功能都不能用。很头大

I altered dubbo's version in pom.xml and then maven built and maven run , it worked fine.
It seems like if the versions don't match, the metadata doesn't display properly


Did you forget to signal async completion?

Hello!
Sorry for this question, but I looked at every issue with such theme,
But didn't find solution.
I have an error in terminal:
The following tasks did not complete: styles, images, copy
Did you forget to signal async completion?
Here is my code:
`export const serve = done => {
server.init({
proxy: "http://localhost:8888/wordpress"
});
done();
};
export const reload = done => {
server.reload();
done();
};
export const clean = () => del(["dist"]);
export const watch = () => {
gulp.watch("src/assets/scss/**/*.scss", styles);
gulp.watch(paths.images.src, gulp.series(images, reload));
gulp.watch(paths.other.src, gulp.series(copy, reload));
};
export const copy = () => {
return gulp.src(paths.other.src).pipe(gulp.dest(paths.other.dest));
};
export const styles = () => {
return gulp
.src(paths.styles.src)
.pipe(gulpif(!PRODUCTION, sourcemaps.init()))
.pipe(sass().on("error", sass.logError))
.pipe(gulpif(PRODUCTION, cleanCSS({ compatibility: "ie8" })))
.pipe(gulpif(!PRODUCTION, sourcemaps.write()))
.pipe(gulp.dest(paths.styles.dest))
.pipe(server.stream());
};
export const images = () => {
return gulp
.src(paths.images.src)
.pipe(gulpif(PRODUCTION, imagemin()))
.pipe(gulp.dest(paths.images.dest));
};
export const dev = gulp.series(
clean,
gulp.parallel(styles, images),
serve,
watch
);
`
Can you help me please?
Thanks.
node -v
v10.16.2
npm -v
6.9.0
gulp -v
CLI version: 2.2.0
Local version: 4.0.2

Take a look at this https://github.com/gulpjs/gulp/issues/2366 . It may help you.


py: Error geting json from github api

Hello, I just used your soft for the first time (thank's for the work) and i encounter this error while
downloading the last version of HiyaCFW
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "./HiyaCFW_Helper.py", line 308, in get_latest_hiyacfw
    latest = jsonify(conn)
  File "/usr/lib/python3.5/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

From what i have dig, it happens during the jsonify(conn) L308
I did a quick update of my system before hand, but maybe i my library are outdated, i can't really check that.
Sorry for bothering :)

because i needed it to work, i did quick hack replacing the line by
import json
                latest = json.loads(str(conn.read(), encoding='utf-8'))

This same thing is happening to me. @poofyteddy, thanks for the update! I'm hoping to try your tweak soon.

Python 3.5 doesn't support streams on json.load, that's why the minimum required version is 3.6. Changed json.load to json.loads in commit a564c91004979ae8753739f18e30eee7e0a6bc1d . Closing...


chore: Updates the mypy version to 0.782

Summary of Changes
This PR updates the mypy version, as the older version does not work with Python 3.8, and we are already using the latest version in metadata repository.
Tests

Documentation

CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

I've already bumped it to 0.812 here https://github.com/amundsen-io/amundsen/pull/1163 (alongside couple of different qa tools with more recent versions). not sure if makes sense to do it one by one, wdyt?

I've already bumped it to 0.812 here #1163 (alongside couple of different qa tools with more recent versions) across all projects. not sure if makes sense to do it one by one, wdyt?

@mgorsk1  sure thing, I'm happy to drop this in favor of your PR.
One remark though: would that make sense to only consolidate the requirements now, and use the version we are already using in any service? Updates to the latest versions go to a new PR? thoughts?

agree, however when centralizing the versions of libraries in #1163 I have not introduced completely new versions. If 3 different projects used mypy with different versions, for requirements-dev.txt I went with the latest out of those 3, not something entirely new. Not sure what would be better way to do this.

ah, I see. this is perfect then. I also meant the same to use the latest of what we are already using in any service. 👍

cool, I've updated the #1163 to be more explicit about approach I went with!


Change to unary mixer API

Works but the HEADs of api/proxy/mixer don't work together.
cc @geeknoid @qiwzhang @ZackButcher

"mixer_server" field should be removed from filter config.

Jenkins job manager/presubmit passed

Jenkins job manager/presubmit passed

fixes #820

Jenkins job manager/presubmit passed


Can Ocelot redirect request to be validated by another API endpoint.

I would like to know if it is possible to redirect the request from Ocelot API gateway to get it validated before forwarding it to downstream. I'm using JWT authentication resource owner flow.

@shivanka-thunderbolt yes this is possible. For example, if you register an IdentityServer 4 authentication provider with support for reference tokens only. When Ocelot authenticates the token the request will go out to IdentityServer. All Ocelot does for authentication is delegate to whatever authentication provider has been registered. Please see the docs here for more info.


CI: Pin js_api Rust version to 1.46

This PR pins up the Rust version used by the js_api CI to 1.46

Coverage increased (+0.5%) to 65.676% when pulling 8ea104994f1fd9f68b041d7b3979ab0335450123 on Luni-4:fix-jsci into a9acdf91457719f81ee43b2d77c8e47157a7b267 on xiph:master.


Feature Request: Tiller logging

Would be nice to have (optionally) tiller logging to a file.

Implemented in v0.6.0


Fix potential SetText error

Per Discord bug report - unsure what the cause is but as it can happen...

Luacheck errors are unrelated to the PR; I guess it got updated upstream and has additional things now.


Allow Sysfs and patterned device matching for the generic devices

Title says it all, atm the device mathiching is rather rigid, it only allows a fixed match however some ids might change over multiple machines or if you plug into another usb port.
A more flexible maybe regexped based device matching would allow to resolve those issues.
Also I noticed a sysfs match atm is not possible.

I think it would be great to expand the string-based matches with some sort of globbing/regexp matching, but I doubt I will get around to coding up the extra complexity in the gendev parsing/matching to handle that.
I'm not sure whether a full regexp match would be appropriate, or if a more restricted set of wild cards might be appropriate. With full regexp, now certain special characters like parentheses might start needing to be escaped...
What sysfs matches are you imagining? Are the sysfs paths stable across reboots? I'll admit it has been a while since I touched the udev monitoring code of MG.

Well first of all thanks for answering, I know myself how hard it is to maintain an opensource project and having a professional and private life, so I do not take this as granted.
Well forget the sysfs idea... I think having a wildcard functionality suffices, but in the end it was a corner case I ran into which was not covered yet by the generic driver.
Just to explain why I had the idea of the sysfs and a small bug which I locally fixed yesterday.
I have a self made controller which will be the base of an arcade setup (maybe a cabinet in the long run). This controller has two analog arcade sticks two digital ones and about 22 buttons.
All is wired together with an arcade PCB and an internal usb hub.
I am combining this into 1-2 virtual joysticks depending on the settings (currently i am working on the q joystick gamepad like setup)
I ran into several issues which I could resolve (see my other already closed iusse #20)
https://github.com/jgeumlek/MoltenGamepad/issues/60
However I was programming the thing on a PC and plugged it now into an arcade setup and suddenly the analog sticks worked but the digital part did not work anymore (which worked flawlessly by using the phys address on the PC)
I thought it might be some setup problem that the pys is coming in slightly different as reported, usually you can resolve that rather easily by using wildcards and a substring.
But after doing another debugging session in the code yesterday (have in mind I have not touched C++ in 25 years and never programmed in the apios linux exposes this takes a little bit, but the patterns are clear and concise so in the end no big deal just another language and api, same patterns I would use to pull this off), I found the reason.
The reason why this happens is, that the device is not registering itself ans HID device, the phys address exposed might be an indicator
usb-xhci-hcd.2.auto-1.1.3/input2 xhci is human controller interface
So in the end the match function in the generic driver does not trigger
struct udev_device* parent = udev_device_get_parent(dev);
if (hidparent) {
phys = udev_device_get_property_value(hidparent, "HID_PHYS");
uniq = udev_device_get_property_value(hidparent, "HID_UNIQ");
}
hidparent is reported back as null in my case, however you still can fetch the
the phys address from the parent itself.
if(parent && !match.phys.empty()) {
phys = (char *) udev_device_get_property_value(parent, "PHYS");
reports back ""usb-xhci-hcd.2.auto-1.1.3/input2"" with quotes included
So when I extended the phys match to check for the string pattern (and ignoring the quotes)
via a strstr comparison and length check things started to work.
I will send in a patch in the next few days. I just want to check if there is a better way like doing a substring before comparisom (my c knowledge is rusty i am mostly java nowadays) before releasing my fix into the wild.

I have created a pull request for the xhci issue https://github.com/jgeumlek/MoltenGamepad/pull/62


Showing error even if the file runs

Environment data

Language Server version: 2020.8.0
OS and version: Windows 10 2004
Python version (& distribution if applicable, e.g. Anaconda):  3.7.7

Expected behaviour
Error ("Single close brace not allowed within f-string literal; use double close brace") should not have occured
Actual behaviour
Error occuring at closing brace in {video} in the code provided

Logs

[Info  - 5:34:19 pm] No configuration file found.
[Info  - 5:34:19 pm] Setting pythonPath for service "Youtube Downloader": "C:\ProgramData\Miniconda3\python.exe"
[Error - 5:34:19 pm] stubPath d:\Projects\Python\Youtube Downloader\typings is not a valid directory.
[Info  - 5:34:19 pm] Assuming Python version 3.7
[Info  - 5:34:19 pm] Assuming Python platform Windows
[Info  - 5:34:19 pm] Searching for source files
[Info  - 5:34:19 pm] Found 2 source files
[BG] analyzing: d:\Projects\Python\Youtube Downloader\logic.py ...
[BG]   parsing: d:\Projects\Python\Youtube Downloader\logic.py (56ms)
[BG]   parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\2and3\builtins.pyi (71ms)
[BG]   binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\2and3\builtins.pyi (28ms)
[BG]   binding: d:\Projects\Python\Youtube Downloader\logic.py (1ms)
[BG]   checking: d:\Projects\Python\Youtube Downloader\logic.py ...
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\json\__init__.pyi (1ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\json\__init__.pyi (1ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\os\__init__.pyi (10ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\os\__init__.pyi (4ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\subprocess.pyi (5ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\subprocess.pyi (2ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\sys.pyi (6ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\sys.pyi (6ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\typing.pyi (21ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\typing.pyi (5ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\abc.pyi (1ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\abc.pyi (0ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\2and3\_typeshed\__init__.pyi (14ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\2and3\_typeshed\__init__.pyi (0ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\third_party\2and3\typing_extensions.pyi (1ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\third_party\2and3\typing_extensions.pyi (1ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\json\decoder.pyi (1ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\json\decoder.pyi (0ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\posix.pyi (0ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\posix.pyi (1ms)
[BG]     parsing: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\os\path.pyi (6ms)
[BG]     binding: c:\Users\Shubham\.vscode\extensions\ms-python.vscode-pylance-2020.8.0\server\typeshed-fallback\stdlib\3\os\path.pyi (0ms)
[BG]   checking: d:\Projects\Python\Youtube Downloader\logic.py (195ms)
[BG] analyzing: d:\Projects\Python\Youtube Downloader\logic.py (351ms)

Code Snippet / Additional information

os.system(f'''Dependencies\youtube-dl -o "{outLoc}\{video}.%(ext)s" --add-metadata -x --audio-format {ext} "https://www.youtube.com/watch?v={video.id()}">NUL''')

Thanks for the bug report. There is indeed a bug in Pylance here, but there's also a bug in your code. Let me explain.
You are using the backslash in your string in two locations. In Python strings, the backslash character is used to start an escape sequence. It is supposed to be followed by one or more other characters to complete the escape sequence. For example "\n" represents a new-line character and "\048" is an octal escape sequence. A full list of recognized escape sequences can be found in the Python documentation. Escape sequences that are not listed are considered bugs. In the current version of the Python interpreter, these cases are flagged with a deprecation warning, but in future versions they will be rejected as an error. Here's the text from the spec:

Changed in version 3.6: Unrecognized escape sequences produce a DeprecationWarning. In a future Python version they will be a SyntaxWarning and eventually a SyntaxError.

Pylance was incorrectly handling the unrecognized escape sequences found in your string literal. When it saw the backslash, it skipped over the next character. In the case of "{video}", it skipped the open bracket character. I've fixed this problem, and it will be corrected in the next version of Pylance.
The way to fix the bug in your code is to use a double backslash "\" rather than a single backslash.
Pylance contains code to warn you about unrecognized escape sequences, but this diagnostic is suppressed when typeCheckingMode is "off". If you set typeCheckingMode to "basic", you will see a warning for this condition.
@savannahostrowski & @jakebailey , we might consider enabling the reportInvalidStringEscapeSequence diagnostic rule (at "warning" severity level) even when typeCheckingMode is "off". It's a useful diagnostic even for users who are not interested in type checking, and it will not produce false positives. Let me know what you think here.

Thank You
I had did not know we have to use \ when we use triple quotes. I was not getting any error or warning while running the code so I assumed that there was no error
Thanks for the Information

This issue has been fixed in version 2020.8.1, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202081-13-august-2020

Thank you very much.
The same problem occurs in version 2020.9.8.
I confirmed that no error occurs when only the f-string is used. However, the same error message is displayed when the f-string and raw-string are combined, and a backslash is placed before the braces, as shown in the following example.
x = 'filename' windows_path = rf'aaa\{x}'
I often use this style of writing to specify a file path in the Windows environment.
I'm sorry if my syntax is wrong on this.

Thanks for reporting. You are correct that pylance was not handling backslashes correctly within a raw f-string. This will be addressed in the next release.

@erictraut
I appreciate your prompt reply.
That fix would be very helpful for me.


Mysql Insert optimization for consumption history

Attempt at optimizing DB calls through file IO instead of millions of INSERT calls, also TRUNCATE is more efficient at wiping the table than a mass DELETE FROM
File based will only work when MYSQL is on the same machine as the sim

on my PC the original load is around 680 seconds while using a file is 872 seconds. does that make sense? what speed are u seeing on ur dev machine? @daprof1

Before it was 236 seconds for 800k records using inserts, after it was 82 seconds for the file write and 21 seconds for the truncate and file read

hmm I measured the time spent on the whole function call updateConsumptions, with a small modification to allow control whether to use file as a caller.
Then in the simulation, i called the the method twice - once using file load and once not and measured the time of the call. And that's the result i pasted.
The first run was :
No file (old call): 677697 ms
file (new call): 872664
The second run was:
No file (old call): 915739 ms
file (new call): 1008058 ms
I put a println in the routine that uses file to verify that the right piece of code was executed

probably has something to do with the HDD type too? u have SSD? :)

hmm u know what...i will just switch and test on prod...it really doesn't hurt

SSD but inside a VM. Once it was working, I ran the SQL code manually as well from the console to see how long the load was taking and it was pretty quick (usually ~18s range). It's getting it out to a file that seems to be slow link for this method. I want to say BufferedWriter was one of the faster methods but I may be wrong.

yay changed the query from delete to truncate and it did saves big time! <3
From 90 mins to 65 mins :)
Thanks alot @daprof1 !
I did not merge the DB file change as it seems to vary quite a bit on different hard drive and it seems to make rather minor difference in performance so i would rather favor code simplicity on this one :)


Add a video that explains the whole thing

Add a video that explains the whole thing and its motivations.

👍


Readme tab not showing in panel

Im trying to use the withReadme function but the tab is not showing up in the panel.
Versions:
"@storybook/react": "^3.3.6",
"storybook-readme": "^3.3.0",
code:
storiesOf('Form', module)
    .add(
        'Simple form',
        withReadme(config1Doc, () => (
            <Wrapped>
                <FormContainer handleSubmit={action('Form submitted')} config={config1} />
            </Wrapped>
        ))
    )

There is also nothing in my webpack config because the storybook-readme version is 3.3.0.
I also double checked that i'm importing the register in addon.js.
The withDocs function does work but i would prefer the withReadme version.
Any help would be appreciated.

Have you registered it in addons.js?
https://github.com/tuchk4/storybook-readme#usage

Yes, i mentioned that in my question.

The strangest thing that withDocs works but withReadme not.
First time hear about such problem.
I need more details to find a problem.
Would be nice if you create repo with problem example

The issue occurred on a private repository. while recreating the issue on a new public repository it started working. No idea what actually caused it. Closing this now.


Generalizations slide almost ready

looks great!   (I'd skip the R^{>2} case... ?)
I tweaked my bits and added summary which I hope might work for both of us.
You'll see I mention in Helm sketch, Leslie is introducing the idea of interior res... will help you.


[BACKLOG-30876] adds Hadoop File Input to nontunable list

:gear: Build finished in 1m 43s with command:
mvn clean verify -B -e -Daether.connector.resumeDownloads=false -amd \
-Daudit -P !assemblies -pl plugins/engine-configuration/impl

:ok_hand: All tests passed!

Total
Failed
Skipped

65
0
0

Details

:information_source:  This is an automatic message


Request: Ingress

Hello,
i love this addon but i would like to use it over Ingress. Should be relatively simple to add but i am no expert with docker.
It would be awesome if you could add this to this addon.
This might help: https://developers.home-assistant.io/docs/add-ons/presentation/#basic-ingress-example-with-nginx

Hi, which addon are you talking about? Thanks for the infos, I've implemented ingress for several addons but it required some time each time and I'm on holidays for the next couple weeks without computer. Once you specify the addon I'll look for implementing ingress once I'm back!

I am talking about the Cloudcommander addon, would be super nifty to have it as an integarted file manager in homeassistant for the root fs.
Thanks in advance :)

Definitely, CC has more features, is a bit faster and you can access all host files due to direct file system access, FB looks nicer, has multiple user mode and is more user friendly but can only do samba.

Definitely, CC has more features, is a bit faster and you can access all host files due to direct file system access, FB looks nicer, has multiple user mode and is more user friendly but can only do samba.

Hi, I haven't time to look at ingress but I added local disk mount in filebrowser. Just type sda1 for example in the localdisks option.

I've had a look but it's not easy to implement ingress. A lot of apps are now developed using fixed paths and it prevents Ingress from working...

Hi, a new version is added with ingress. Could you please confirm it's working? thanks

Hey, i tested it and it works great, thank you for your work :)


Create A Readme ( BlackJack - Ruby )

Location of the Document
You have to create a Readme for BlackJack
What needs to be added
Create and Add details about the game.

This issue has been resolved.


It's not support read-only mode.

Error: To enable read-only mode all connected tools should support it. Tools breakLine don't support read-only mode.

@coldstone thanks for reporting!
The enhancement has been scheduled for the next release!


Feature: add collections helper

Re: #88, #83, https://github.com/cloudfour/drizzle/issues/23
This adds a {{collections}} helper to assist in iterating over collections of patterns.
Like the {{pages}} and {{data}} helpers, this also accepts a path argument.
Usage examples
{{#each (collections)}}

      {{name}}

{{/each}}

{{#each (collections "components")}}

      {{name}}

{{/each}}

{{#each (collections "typography")}}

      {{name}}

{{/each}}

Is there any sorting or ignoring?
Not at this time. The underlying structure for collections is different than that for pages, and doesn't have the same access to front matter at the directory level.
Why {{name}} instead of {{data.title}}?
Related to the above answer, the collection names are completely derived from the directories.
/CC @tylersticka @saralohr @nicolemors

@erikjung Do you think the helper should still be named helpers/page.js? Not a blocker, just curious since it has page/pages helpers and a collection helper as well.

Minor question in the code, otherwise, LGTM! 👍

Do you think the helper should still be named helpers/page.js?

I went back and forth on it, and decided to keep them together due to their shared aspects. In the future, I would like to organize things better and split every single helper into its own file.
Even though we have a page content archetype, the naming of these helpers refers more to menus of pages with URLs, etc. So I'm not too disturbed by keeping them together for now.


Absolutely amazing write up

I am blown away by your amazing writeup.  This was gold and your care and diligence really shown throughout.  You mentioned being available for discussion, as a fellow web dev I'd love to pick your brain for an hour.  In there a way we can work this?

Thanks, I'm glad you enjoyed it!  I'm a bit preoccupied at the moment, but I'll be sure to ping you.  Thanks for reaching out.

Thank you.  I've recently went freelance and I'd gladly bill your time as a business expense -- I'm always on the lookout for great insights + personal growth opportunities and I think I would learn a lot in an hour with you, haha!


docs(examples) Sync MessageFormat version with bower.json

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your master!
[x] Make sure you are making a pull request against the canary branch (left side). Also you should start your branch off our canary.
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.

Description
Just making sure the examples uses the same version of MessageFormat as is specified in bower.json
💔Thank you!

thanks


Package does not contains typings for Typescript development

Hey!
I see that the project is written using TypeScript. I wonder why there is no typings for that.
You can generate typings by settings declarationDir/declarationMap and adding to package.json that line: "types": "./dist/main.d.ts".
Regards,
TheAifam5

Thanks @TheAifam5~ 🙂
As I am still new to TypeScript, I totally forgot about generating the type definitions 😅
I will add the typings.

@allcontributors please add @TheAifam5 for ideas

@TheAifam5 I've added typings & sourcemap in the distribution
<EMAIL_ADDRESS>Also learned that not specifying the return type explicitly, TypeScript generated wrong return type of (string | (item: string) => void) instead of [string | (item: string) => void] so fixed it as well in v2.4.1 🙂


Fix: Typo error in readme file

9อาเบะ135

ไม่มีคำอธิบายให้ไว้
9abe1358e5f90720fbd9c90c952ab769bb7adb2e

@ratchanonsuttawas Sorry I couldn't understand your review comment. Can you please provide me more context for better understanding. Thank you.


Update script at duplicate proxy addresses

Update script at duplicate proxy addresses to facilitate big tenants and removed 'run'

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

@curtand, okay to merge? Please add #sign-off if so.

#sign-off


More refactor of the topo package.

A few changes:

Moving the Lock function down to Backend, so it can be shared between keyspace and shard. Refactoring the Lock method in each implementation.
GetKnownCells is now implemented by topo.Server.

Next steps are to move the cell map into topo.Server.

LGTM
I assume pavel's comments are addressed?
You also need to resolve the merge conflict

OK this is ready for final review now. Re-based to master, fixed conflicts. I think I addressed all comments (which is somewhat hard to be sure of, since this review tool is not that good).
@pivanof PTAL.


DataGrid is not virtualized

It looks like DataGrid virtualization is not working if parent container is Grid and DataGrid is associated with a Row with Height="*".
It can be reproduced on basic ControlsCatalog\DataGridPage
I just increased DataSource count 20 times, by modifying ControlCatalog.Models.Countries class:

After doing this loading time is about 1min and memory allocation >1GB.
If I change Row.Height to constant value everything works as expected.

Just linking these two issues together, because they're both describing the exact same problem: #2873


Add relay tutorial to make doc

@tqchen @Laurawly

I think a better solution is to move these tutorials into the correct places, in frontend, or the root. Sorry I overlooked it when merging them in.

In particular, all the current tutorials should go into the frontend folder.

Do you mean moving all relay tutorials to frontend?

yes to all the tutorials so far


Don't print color codes on non-color capable terminals

Right now csv2db prints color codes regardless of whether the terminal is color capable or not:
C:\Users\gvenzl\Downloads\csv2db-1.4.0>csv2db lo -f test -t bla -u u -p p -v --debug
DEBUG: 2019-11-10 18:18:39.460232: Table name: bla
DEBUG: 2019-11-10 18:18:39.460232: Column separator: ,
DEBUG: 2019-11-10 18:18:39.460232: Column escape character: "
Finding file(s).
Found 0 file(s).

On Windows, it seems that the regular ANSI color codes don't work. Colorama offers a cross-platform library for that. Another option would be not to print color on Windows altogether.

I tend to use ANSICon on windows for colors in console.
https://github.com/adoxa/ansicon

But definitely, it would be good to detect if console is capable of reporting in color.


What's best way of sorting the cards

The current approach for rank the cards is mostviewed, zenodo support other ways which we can use:

Let me know if you think we need to use another ranking method other than "most viewed", e.g. "most recent".

We now switch to mostrecent to make it easier to find newly uploaded items.


Script update

What does this PR do?
Add names of new projects to script.js
Fixes #499
Fixes #469
Added the following project names:

Expense Tracker
Currency converter

Type of change

Bug fix (non-breaking change which fixes an issue)
This change requires a documentation update

Mandatory Tasks

[x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

There are some more projects added, so also list them in the script.

Done @beRajeevKumar


[1.5.2] Found two bugs

I found a few bugs.

Conflict with Thaumcraft 3 mod.
If you connect 2 mirrors (I hope you know how they work) and aim at one of them, the game console spams an error of the following type:

[SEVERE] [Minecraft-Client] ########## GL ERROR ##########
[SEVERE] [Minecraft-Client] @ Post render
[SEVERE] [Minecraft-Client] 1283: Stack overflow

This blows up the .log file very quickly. But it doesn't seem to affect the performance of the game.

Conflict with InGame Info XML mod. Visual flickering bug.
If you change the value in the BlockHelper.cfg file to something like:

    # Size factor for the tooltip
    D:Size=0.7

and aim at the mirror from TC3 again, then the font starts flickering. And some other interface elements from other mods. For example, HUD from Ars Magica.

Quick info about mirrors. Just in case.
https://www.youtube.com/watch?v=Qcq2kvknLdE

Definetly reproducible on my end, thanks for reporting these!
Actually, I don't even need to connect two mirrors. Just looking at any mirror already causes this behaviour.
I think I may know what's causing the issue, but I will try to investigate after I have successfully fixed the translator one very version :)


Parallelise LambdaOverlapAdd

🚀 Feature
Parallelise the chunks  processing in ola_forward from LambdaOverlapAdd by utilising N number of CPU/GPU
Motivation
LambdaOverlapAdd is a nice function that allows to split the audio and apply a function in a small segment of this audio to then combine all with OLA.
However, it would be nice to be able to distribute these chunks on several CPU which would speed up the separation of long audios.
What you'd like
The result should be the same that the current results, but, the function should have a parameter with the number of CPU in order to, using multiprocessing, split the job among all the requested CPUs.
Alternatives
Additional context

Is this the same issue as #254 ?
If not, I don't see the difference ^^

SO sorry, it is the same one, but I got a 404 error when I try to submit it.
I assumed it didn't work.


Nav update release

Comments out monthly-payment-worksheet.js in uglification task to prevent error
Changes

Comments out monthly-payment-worksheet.js in uglification task since it's causing an error & the mpw page has not yet been released

Testing

Run grunt production-deploy and check that uglification task completes successfully

Review

@cfarm or @amymok

Todos

Fix uglification error before mpw release

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

It looks good!


32 bit

I am a relatively new player with linux and all its many forms. As my IT guy says "I know just enough to screw myself and send his kid to college."
Anyway, i do not know how o load the 32 bit libraries (if that is what they are called) and most of the programs i run through wine are 32 bit so i figure i could just go with a 32 bit system instead of the 64.
What are your thoughts? What is the easiest way to go about doing whatever you suggest? And please remember i am a ludite when it comes to this stuff but i have the willingness and the heart to learn.
SO thanks in advance,
midge

Community college, or private college??

You can install a 32-bit chroot directly by using -a i386 when you create the chroot, but be aware that it's apparently quite difficult to get 64-bit applications running in a 32-bit chroot (#1248).  If you're sure 32-bit is all you need (it's probably fine unless you're trying to do something really strange), go the -a route.


Perform CSV visits&procedures file validation

if something is wrong with the content, display an error and don't let user to add the consent & its visits file

Commited, uncomplete have question

commited also all together with the commits today

all good:)


[Feature] Support for Aerospike Java client Plugin

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
https://github.com/aerospike/aerospike-server
Aerospike is a distributed, scalable NoSQL database.
java client address: https://github.com/aerospike/aerospike-client-java
Our  project is heavily used, and the relevant functions have been working properly online for one or two years.
So , I want to try implementing Aerospike Java Client  agent plugin.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Are you going to submit a pull request soon? Usually, you don't need a permission to submit a new plugin.


ShenyuResult  MediaType.APPLICATION_JSON_UTF8

建议这里还是用MediaType.APPLICATION_JSON_UTF8，实测在对接某些老旧系统时，这里不指定charset，对方接收会乱码。

Codecov Report

Merging #4266 (a5908e0) into master (1834931) will decrease coverage by 0.10%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4266      +/-   ##
============================================
- Coverage     69.50%   69.39%   -0.11%
+ Complexity     7387     7355      -32
============================================
  Files           995      995
  Lines         27991    27991
  Branches       2477     2477
============================================
- Hits          19455    19425      -30
- Misses         7057     7089      +32
+ Partials       1479     1477       -2

Impacted Files
Coverage Δ

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...a/org/apache/shenyu/admin/model/entity/BaseDO.java
52.17% <0.00%> (-4.35%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
60.86% <0.00%> (-4.35%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
59.57% <0.00%> (-4.26%)
:arrow_down:

...ache/shenyu/admin/model/dto/DataPermissionDTO.java
59.25% <0.00%> (-3.71%)
:arrow_down:

...rg/apache/shenyu/admin/model/page/CommonPager.java
44.82% <0.00%> (-3.45%)
:arrow_down:

...he/shenyu/admin/model/vo/DataPermissionPageVO.java
50.00% <0.00%> (-3.34%)
:arrow_down:

...a/org/apache/shenyu/admin/model/dto/PluginDTO.java
60.60% <0.00%> (-3.04%)
:arrow_down:

... and 25 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


On-demand Magnet Integration

We should provide the framework and system in Magnet for ordering the core of relay chain, the program can refer to https://github.com/paritytech/polkadot-sdk/issues/1487, which is almost practical.  But we should make some changes and simplifications.

Core buyer and block author need to establish a relationship, i.e., the buyer of the core is responsible for producing the block, if the buyer can not produce the block, other nodes can assist to produce, so as to comply with the responsibility relationship.
Specific changes are, in the aura block author selection, judgment if the chain is parathread, then first determine whether the Core buyer now also has the right to produce block, if he has, then select him to produce block, if not, then according to the normal aura selection，select other block author to produce block.

Simplify the program of https://github.com/paritytech/polkadot-sdk/issues/1487 , remove the Core purchase proof mechanism and challenge mechanism.
https://github.com/paritytech/polkadot-sdk/issues/1487 need Core purchase proof mechanism and challenge mechanism ( to solve the problem of purchasing a Core, but not making a block on that Core). This part can be removed with the implementation of (1) above. Since the buyer of the Core is responsible for making the block, and others are only assisting, it is the buyer's responsibility if the block are not made. If a Core is purchased and no block are produced on it, the Core purchaser has to bear the loss, and the parathread system does not compensate for it, so the parathread system does not need to record and handle this situation.

By changing and simplifying the above 2 points, the system is simpler and more efficient.

Also, maybe interesting previous iterations of the design: https://github.com/paritytech/cumulus/issues/2154
(Which also aimed at making block orderer and block producer related) In any case, keep it coming. I agree that the proposed design is rather complex, but it is not because I like it complex, it was the simplest I could come up with that fits the threat model. So, really happy to hear ideas for making it simpler.

Yes,  every block should  provide core purchase proof,  our concrete realization used core purchase proof .

Although, the buyer of the core is the first responsibility for producing the block,   nevertheless will make system
simpler and more efficient

closed by #19

@wd30130 I wanted to implement similar kind of thing in our Parachain where I can get a on-demand core at certain period of time(let's say 5PM) everyday so I need this operation should be automatic.
I saw your PR and it look promising what I'm looking for Can you please elaborate a bit how this is achieving the automation and also when the chain doesn't have the core(let's say 12PM), Is collator are running at that time? Can you please give a overview how things are happening end- 2?

@Aideepakchaudhary If you want to get an on-demand core at a certain time every day, you can call place_order_allow_death or place_order_keep_alive on relaychian through a scheduled task.
To achieve automation, one is to execute it at a fixed time every day, and the other is to trigger it according to conditions. We choose the latter. We will determine whether there is a transaction in the transaction pool to trigger the purchase of the core.

@sulijia Thank you for the response. Can you please little elaborate about the scheduled task. It will be very helpful.
In your chain, If there is no transaction in the transaction pool that means the chain is also not running and as soon as a new transaction come your chain start producing block Is that correct? but my question is, If chain is not running then how you accept the new transactions and send it to the relay chain?

@Aideepakchaudhary If there is no transaction in the transaction pool that means the chain is also not running and as soon as a new transaction come your chain start producing block Is that correct?
Yes.
We construct a transaction through the crate provided by subxt (https://github.com/paritytech/subxt), which contains the call of place_order_allow_death or place_order_keep_alive, and then sign it with the private key in the chain keystore, and then submit the transaction through the RPC interface provided by relaychain.
This part of the logic runs in the node part, not in the runtime, and does not require chain running

@sulijia I tried with to scheduler the call through scheduler in rococo extrisincs like this:

but I'm getting these event:

can you please suggest something how I can schedule this call? Or it’s not possible?

@Aideepakchaudhary BadOrigin is because you are using sudo, you should use it like this

In addition, you need to ensure that there are cores allocated to the Coretime Pool. You can achieve this in this way.

@Aideepakchaudhary BadOrigin is because you are using sudo, you should use it like this

In addition, you need to ensure that there are cores allocated to the Coretime Pool. You can achieve this in this way.


how was martinjosifoski/genie-rw tokenizer obtained?

Hi @martinj96,
I have a question regarding the random initialisation (which is the default right?) It is not clear to me here how
tokenizer = transformers.BartTokenizer.from_pretrained("martinjosifoski/genie-rw")

is trained/obtained beforehand?
Thank you!

Hi Chenxi,
Yes, the randomly initialized model used the default random initialization from HF.
Similarly, the GenIE tokenizer corresponds to the default BartTokenizer available on HF -- the tokenizer in martinjosifoski/genie-rw is meant to serve as a snapshot of the exact version that was used for GenIE (and is a copy of the default BART tokenizer).


PL: Banner for v1 section of library

New banner on v1 library
https://zpl.io/bzLz0lz

Closed in Opentrons/protocol-library#118


Add noble buildpackless-base builder

Summary

This PR creates a "noble-base" based buildpackless builder
Use Cases

Ubuntu 24.04 has reached feature freeze and will be released soon
Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.
[X] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

I could merge, but I shouldn't. In contrast to the stack PR that I merged, this has not been reviewed yet by the @paketo-buildpacks/builders-maintainers yet.


Changes

apply define UnicodeWordDetection also for Delphi2009+, set property to True by default
format src: title case for Exit/Break/Continue
fix place of define UnicodeWordDetection - define is now independent from Unicode
del using define FPC_OS_UNICODE because fpc 3.2/3.3 don't have it on Linux x64

May be we do need this safe guard
{$IFNDEF UNICODE}    {$UNDEF UnicodeWordDetection}  {$ENDIF}
in case somebody defines UnicodeWordDetection without  UNICODE?

Added it

@andgineer ?


wifi connection setup deprecated

needs to be fixed asap, newer firmwares seem to not accept this any longer

solved in dev, will be included in next release


Improve linting configuration and set it up on pre-commit

Use the following files as reference

https://github.com/paritytech/github-issue-sync/blob/master/.pre-commit-config.yaml

https://github.com/paritytech/github-issue-sync/blob/master/.eslintrc.cjs

https://github.com/paritytech/github-issue-sync/blob/master/package.json

done in #84


Double-click detection without delay

If I undersand correctly, in the double-click example from the README.md, there'll always be a minimum 250 ms delay to recognize that double click was performed.
The example:
var clickStream = Observable.EveryUpdate()
    .Where(_ => Input.GetMouseButtonDown(0));

clickStream.Buffer(clickStream.Throttle(TimeSpan.FromMilliseconds(250)))
    .Where(xs => xs.Count >= 2)
    .Subscribe(xs => Debug.Log("DoubleClick Detected! Count:" + xs.Count));

Is there a way to detect double-click the moment that the second click was entered?

Buffer has a call that lets you choose the buffer size as well.  Does this work for you?
Observable.EveryUpdate().Where(_ => Input.GetMouseButtonDown(0))
	.Buffer(TimeSpan.FromMilliseconds(250), 2)
	.Where(buffer => buffer.Count >= 2)
	.Subscribe(_ => Debug.Log("DoubleClicked!"));

I think it can lead to missing double-clicks. Buffer gatheres clicks into fixed time windows, each window being e.g. 250 ms apart. In my understanding, it's possible to make first click in window A and then the second in window B. Even if both clicks were within 250 ms timeframe this double-click won't be registered. After the first click, Buffer will close window A and emit an IList with just one click in in. The same will happen with window B.

@bartlomiejwolk Did you find a solution for this?

I tried to copy the Window behaviour myself.
Take your primary click stream and on subscribe add another stream.
This second stream does a timeout (ignore errors) but fires a doubleclick if the primary click stream hits again.
Don't know if this is ideal but it does what I need.
var primaryClickStream = Observable.EveryUpdate()
      .Where(_ => Input.GetMouseButtonDown(0));

primaryClickStream
     .Subscribe(_ =>
       {
         Observable.Timeout(primaryClickStream, TimeSpan.FromSeconds(_doubleClickTimeoutInSec))
              .Subscribe(x => { _doubleClicked = true; },
                              xe => { } //nothing
        );
});

I found a solution, but code need to cleanup
private IntReactiveProperty _leftClickCount= new IntReactiveProperty();
        var leftMouseClickStream = Observable.EveryUpdate()
            .Where(_ => Input.GetMouseButtonDown(0));

       leftMouseClickStream.Subscribe(_ => _leftClickCount.Value += 1);

        _leftClickCount.Where(_ => _leftClickCount.Value == 1)
            .Subscribe(a =>
                Observable.Timer(TimeSpan.FromMilliseconds(doubleClickTimeout))
                    .Subscribe(_ =>
                    {
                        OnDoubleClick?.Invoke();
                        _leftClickCount.Value = 0;
                    }));

Don't know if this is ideal

Each click you're creating new object ...and this object fails to do what it supposed to do most of the times ...and you're ignoring error reports. That's quite opposite of ideal.
Just timestamp your stuff
var doubleClickObservable =
    clickSource
    // !!!
    .Timestamp()
    // !!!
    .Pairwise((prev, current) => (current.Timestamp - prev.Timestamp).TotalMilliseconds <= 300)
    .Where(fastEnough => fastEnough);

Don't know if this is ideal
Just timestamp your stuff
Oh yeah this is much cleaner. Thanks for this!

Just for a working example I'll add my finished observable here (with subscribe):
var doubleClickObservable =
    clickSource
    .Timestamp()
    .Pairwise((prev, current) => (current.Timestamp - prev.Timestamp).TotalMilliseconds <= 300)
    .Where(fastEnough => fastEnough)
    .Subscribe(x => _doubleClicked = true);


gifs of success and not-success for magic wand

success:

ag fields with clearly visibly, thick boundaries
oil slicks on ocean

not-success

ag fields with patchy features (dry, fallow mixed with vegetated)
shrubland, mixed forests

Thanks @rbavery, updated the readme and added some examples.


Recommend updating appservice.bicep to latest azure-dev files

We should bring bicep to current for security and reliability

Fixed by #18


Consider adding pip to the provides API

The cpython buildpack installs cpython but along with it comes the pip tool.[1] This is just like getting npm along with node-engine. We should consider having a similar API for this buildpack with cpython also providing pip as an alternative buildplan.
Note: We do have a pip buildpack that lets users pick a version of pip.

@arjun024 What use cases does this enable? Are they still relevant?


Fix docs link

Short description:
Fix broken docs link in README
Which issue(s) this PR fixes:
#187

/verified /approve


Unit tests for tools.py

Updated tests for Ragpipeline and Quizbuilder classes.

Closed as this issue was solved in the Develop branch


feat: require explicit query context specification

Why
This is a RFC.
The proposal is to require the queryContext argument to reduce the likelihood of accidental omittance within a transaction block in application code.
At Expo, we've noticed sometimes a transaction will be started and the loader/mutator calls within it may accidentally not include the query context (which must be explicitly supplied as an arg to run within the transaction):
await viewerContext.runInTransactionAsync(async (queryContext) => {
  const existingNote = await NoteEntity.loader(viewerContext) // note how queryContext was accidentally omitted but tsc didn't have an error
    .enforcing()
    .loadByIDAsync(args.id);
  return await NoteEntity.updater(existingNote, queryContext)
    .setField('title', args.note.title)
    .setField('body', args.note.body)
    .enforceUpdateAsync();
});

Closes ENG-11824.
How
The proposed change is to always require queryContext. At Expo, we added a method to our ViewerContext subclass to vend the default EntityQueryContext (non-transactional) for our default database adaptor flavor. I added a similar method to TestViewerContext within this repo to demonstrate the convenience accessor.
RFC

Does this pattern make sense?
Is the default query context convenience pattern appropriate?

Test Plan
yarn tsc

How independent are VCs and QCs? Should VCs no longer have a getQueryContextForDatabaseAdaptorFlavor() method if application code that works with VCs will always have a QC anyway since VCs and QCs are now passed around together?

They are related in that a ViewerContext is the entry point into the entity framework from an application (it has the reference to the EntityCompanionProvider which is the "instance" of the entity framework). So for an application to get a vended QueryContext, it must go through the viewer context by definition. But they are not tied together and are independent. There can be many flavors of viewer context (depending on the application) and both transactional and non-transactional query contexts being used for any loader/mutator call at any point.

What are the potential consequences if a VC is passed in with a QC, but vc.getQueryContextForDatabaseAdaptorFlavor() !== qc?

I think maybe we should rename ViewerContext.getQueryContextForDatabaseAdaptorFlavor to ViewerContext.getNonTransactionalQueryContextForDatabaseAdaptorFlavor or something. In the PostgresEntityQueryContextProvider, this is just a reference to the global (singleton) knex instance.
So, to answer your question, all non-transactional query context (EntityNonTransactionalQueryContext) are equivalent in that they just forward the calls to the knex singleton (for postgres). TransactionalQueryContext though are unique and reference a single transaction; they're vended via runInTransactionAsync((vendedQueryContext) => ...

Should we pair together VCs and QCs in an object like: interface EntityContext { viewerContext; queryContext; }? (I'm thinking probably no for now. Keep the values flatter.)

I'd say no for now, but if/when we have more database adaptor flavors we may need to reassess. But even then, one could imagine just having single instance of a viewer context being passed around and then multiple query contexts being used for multiple databases. This is all theoretical though.

Reverted due to the integration of this into our first-party codebase (www) being too unwieldy (6k tsc errors). Going to come up with a different approach, maybe something more codemod-able.


Issue-1389: Fix MavenGroupRepositoryProviderTest random failures.

Pull Request Description
This fixes issue #1389 .
The origin of the random failures proceed from using the same name for the repositories in all tests of this class, which is executed concurrently. Apparently Windows was not handling well this use of the same repository concurrently.
Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[x] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[x] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[ ] Yes
[x] No

Does this pull request require other pull requests to be merged first?

[ ] Yes, please see #...
[x] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[x] No

@carlspring : This is ready for merging.

Thanks for fixing this @ptirador! I've rebased and will merge.

Thanks for fixing this, @ptirador ! :)


[SPARK-26847][SQL] Pruning nested serializers from object serializers: MapType support

What changes were proposed in this pull request?
In SPARK-26837, we prune nested fields from object serializers if they are unnecessary in the query execution. SPARK-26837 leaves the support of MapType as a TODO item. This proposes to support map type.
How was this patch tested?
Added tests.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9106/
Test PASSed.

Test build #103723 has started for PR 24158 at commit d388952.

Test build #103723 has finished for PR 24158 at commit d388952.

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

Merged build finished. Test FAILed.

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

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9126/
Test PASSed.

Test build #103746 has started for PR 24158 at commit d388952.

Test build #103746 has finished for PR 24158 at commit d388952.

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

cc @cloud-fan @dongjoon-hyun @dbtsai

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

Merged build finished. Test PASSed.

Thank you for pinging me, @viirya . I'll take a look tonight~

Test build #103812 has started for PR 24158 at commit d51eb7b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9185/
Test PASSed.

Test build #103812 has finished for PR 24158 at commit d51eb7b.

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

Merged build finished. Test PASSed.

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

Retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9224/
Test PASSed.

Test build #103860 has started for PR 24158 at commit d51eb7b.

Test build #103860 has finished for PR 24158 at commit d51eb7b.

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

Merged build finished. Test PASSed.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9231/
Test PASSed.

Test build #103866 has started for PR 24158 at commit 1efa6f5.

cc @dbtsai .

Test build #103866 has finished for PR 24158 at commit 1efa6f5.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9232/
Test PASSed.

Test build #103867 has started for PR 24158 at commit 1efa6f5.

Test build #103867 has finished for PR 24158 at commit 1efa6f5.

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

Merged build finished. Test PASSed.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9267/
Test PASSed.

Test build #103904 has started for PR 24158 at commit 4f6bea8.

Test build #103904 has finished for PR 24158 at commit 4f6bea8.

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

Merged build finished. Test FAILed.

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

retest this please

Test build #103908 has started for PR 24158 at commit 4f6bea8.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9273/
Test PASSed.

Test build #103911 has started for PR 24158 at commit 4f6bea8.

Test build #103908 has finished for PR 24158 at commit 4f6bea8.

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

Merged build finished. Test PASSed.

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

Test build #103911 has finished for PR 24158 at commit 4f6bea8.

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

Merged build finished. Test PASSed.

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


Publish OpenWhisk standalone jar to Github release

To simplify usage of standalone openwhisk jar (#4516) for end users we should publish the jar under Github releases. This should follow an approach similar to what has been done for wsk cli
Few aspects

The release should be done from master build
It should make use of multi stage builds as core repo as multiple steps involved
The release should be marked under pre-release
Useful links

Conditional Releases

We can only advertise nightly builds from the master branch to our developer community (not user community).
Completely agree we should make a standalone openwhisk jar available to users and advertise it as really easy way to get started with the OpenWhisk programming model.  But we have to do that via the process of making an official source release, then building a convenience binary from that relase and distributing via an appropriate channel (github release, maven?)

We can call this build nightly (or snapshot in Maven terms). Having proper released artifacts for users would eventually happen. But it would still be good to have the snapshots build made available via Github release/Maven etc such that users if needed can try out and say provide feedback if needed.
This would be similar to what we do for wsk cli.

We should also update the our top level README to point to this path as the quick start imo.

We've released OpenWhisk 1.0.0 and the unified release 20.11.   Seems like we should be able to take 1.0.0 and publish the right artifacts somewhere.

With an update to the docs to follow.


if statements highlighted as error in Nextflow .config files

Hi, with the new 1.0.2 release, I'm now getting an highlighted error when using if () {} block statement in config files.
Issue:
if (params.outdir){
  process {
    withName: 'bam2bigwig' {
      publishDir = [
        [
          path: { "${params.outdir}/bigwig" },
          mode: params.publish_dir_mode,
        ]
      ]
    }

  }
}

The if is underlined in red with the error: Unexpected input: 'if'
Expected behavior:
No error

If statements are not supported in the strict config syntax: https://nextflow.io/docs/latest/vscode.html#configuration-syntax
These language server errors will eventually become errors in Nextflow


Steam update runtime generation

Current nix expression causes 404 errors.

Ouch, not nice -- this means that we need to mirror the Runtime possibly already built) somewhere.

Fixed in master -- I've created my own mirror at https://abbradar.net and changed generation script to reflect that. This should avoid such problems in the future.

Thanks :+1:


Doc: Add Packer.nvim installation example

Added an basic example for Packer.nvim installation. Also added a link to the github page for the vim-plug example.

Thanks. Closes my original issue #23.


Not working on macOS 12.3 - need to upgrade Homebrew version from 2 to 3

Could you please update the homebrew installation so that it installs version 3 instead of 2?
Version 2 doesn't even work on standard macOS Monterey 12.3 anymore, since python 2 has been removed.
> dockutil
zsh: /opt/homebrew/bin/dockutil: bad interpreter: /usr/bin/python: no such file or directory

Thanks for a great tool!

I assume this will be installed as a "cask" package now, is that right?

I get the same error, and would appreciate a fix. Doubling down on the thanks for making a great tool! ❤

@Mellbourn and @karnaker that's actually the wrong place for this issue I think. As it is a homebrew issue and not a dockutil issue. That beeing said, I may bring some light into the darkness:
There was once a pull request on homebrew-core for this: https://github.com/Homebrew/homebrew-core/pull/96391. But it wouldn't build.
Fast forward, someone else opened a new PR for this: https://github.com/Homebrew/homebrew-core/pull/97394 There's a discussion in this PR about the build issue. As fas as I understood (I'm not a developer) situation is this: To be a formulae, the software must be able to be built from source. Which does not work for this software withe the current tools available in Homebrew. If this can not be fixed, the dockutil formulae must be removed and replaced by a cask. As casks can be binaries.
There's also already a corresponding issue over here: https://github.com/kcrawford/dockutil/issues/122. Still not being a developer, I understand from there that @sashkab has an idea for a solution for which he is awaiting a basic approval for this idea from @kcrawford prior to do all the work needed.
That being said, I see chances that eventually dockutil version 3.x will be available in Homebrew.
Meanwhile, if you need to have it installed and want to do it in a automated manner, something like this would be possible:
brew install jq
DLURL=$(curl --silent "https://api.github.com/repos/kcrawford/dockutil/releases/latest" | jq -r .assets[].browser_download_url | grep pkg)
curl -sL ${DLURL} -o /tmp/dockutil.pkg
sudo installer -pkg "/tmp/dockutil.pkg" -target /
rm /tmp/dockutil.pkg

Meanwhile, if you need to have it installed and want to do it in a automated manner, something like this would be possible:
brew install jq
DLURL=$(curl --silent "https://api.github.com/repos/kcrawford/dockutil/releases/latest" | jq -r .assets[].browser_download_url | grep pkg)
curl -sL ${DLURL} -o /tmp/dockutil.pkg
sudo installer -pkg "/tmp/dockutil.pkg" -target /
rm /tmp/dockutil.pkg

@tuxpeople thanks so much for posting this! Ran into this issue and your snippets worked great (clean install of macOS Monterey 12.3).

I made temporary solution to get 3.0.2 version with brew:
$ brew tap lotyp/homebrew-formulae
$ brew install lotyp/formulae/dockutil

For zsh,  you need quotes here ... jq -r '.assets[].browser_download_url' ....
Becomes
brew install jq
DLURL=$(curl --silent "https://api.github.com/repos/kcrawford/dockutil/releases/latest" | jq -r '.assets[].browser_download_url' | grep pkg)
curl -sL ${DLURL} -o /tmp/dockutil.pkg
sudo installer -pkg "/tmp/dockutil.pkg" -target /
rm /tmp/dockutil.pkg

If anyone is willing to use a temporary solution, I've created a cask to use the new version here.
$ brew install --cask hpedrorodrigues/tools/dockutil

However, I'll deprecate it once an official cask is released.

As happy as I am that there are a few community provided temporary solutions, this still needs to be fixed. Anyone actively working on this?

Hello,
AFAIK autor does not support Hombrew formula of dockutil.
If you want to add support you can do it on your own, please see https://docs.brew.sh/Adding-Software-to-Homebrew

With the 3.1.0 release, I think homebrew formula maintainers should have what they need now to update the formula.

This is great! Just a piece of advice for others who may also be as confused as I was:
You should first uninstall the dockutil cask, explicitly:
brew uninstall --cask dockutil

then you can install the formula
brew install dockutil

If you do not uninstall the cask, the cask may be found instead of the formula when running on the command line.


Squash commits on master branch

If you really must do this, do it quick before you get too many forks! Rewriting publicly-available history is tricky (actually it shouldn't be done normally, but yeah..).

Eh. Horses out the born door, I suppose.


Cannot deploy to new Undeploy Version

Description
Upon creating a new undeploy version, the UI makes it impossible to deploy the new version to all environments.
Steps to recretate

For some app, create an Undeploy Version
Try and deploy that version to any environment that is not upstream latest
The UI skips those environments (yellow snackbar bottom left)

Findings

Upon database entry inspection, it seems like the environments column of the undeploy release is not getting populated with any environments, leading to this check being successful, skipping all environments.

Proposed Solution(s)

Check (in the UI) that the release we are trying to deploy is an Undeploy Release. If so, ignore the environments that come attached with the release.
Write all environments into the envs column of every Undeploy Release. This way we make sure that we can always deploy this version.

Solution 1 seems simpler, but might have other implications that I'm not forseeing.

Ref: SRX-J8G8TB


Added Queen_of_lights wake word

Hello,
This is a wake word I trained that works well for me that I wanted to contribute back.
Model reacts to Queen of lights or Queen of the lights.
Basic readme included with tflite and onnx models.
Regards and Thanks
Rob.

Thank you!


[Trash]

Describe your problem
35 seconds ago
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter Telegram
Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link)
🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link)
Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link)
🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link)
Oviya Helen Original Video video took the internet by storm and amazed viewers on various social media platforms. Oviya Helen, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter
Oviya Helen Original Video video oficial twitter
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter sfdgfhgjh
Oviya Helen Original Video video took the internet by storm and amazed viewers on various social media platforms. Oviya Helen, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter
Oviya Helen Original Video video oficial twitter
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter sfdgfhgjh
Oviya Helen Original Video video took the internet by storm and amazed viewers on various social media platforms. Oviya Helen, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter
Oviya Helen Original Video video oficial twitter
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter sfdgfhgjh
Oviya Helen Original Video video took the internet by storm and amazed viewers on various social media platforms. Oviya Helen, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter
Oviya Helen Original Video video oficial twitter
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter sfdgfhgjh
Oviya Helen Original Video video took the internet by storm and amazed viewers on various social media platforms. Oviya Helen, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter
Oviya Helen Original Video video oficial twitter
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter sfdgfhgjh
Oviya Helen Original Video video took the internet by storm and amazed viewers on various social media platforms. Oviya Helen, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter
Oviya Helen Original Video video oficial twitter
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter sfdgfhgjh
Oviya Helen Original Video video took the internet by storm and amazed viewers on various social media platforms. Oviya Helen, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter
Oviya Helen Original Video video oficial twitter
L𝚎aked Video Oviya Helen Original Video Viral Video L𝚎aked on X Twitter sfdgfhgjh

dfgdgf

xcxc

https://github.com/user-attachments/assets/b26ea9d9-4fd0-4b82-9e82-f799db1c0939

For Genuine Call Girls ☎ ➡ ♜♜7078892601♜♜ ⬅🐕🦺Dehradun "Escorts At "Call "Girls In *Dehradun
WhatsApp :- 📞+91<PHONE_NUMBER>, Call Girls in Pune – We brings offer model independent genuine Pune girls our high class luxury and premium call girl agency service We are the best leading Pune girls service providers in Pune who can provide you with all kinds of hot and sexy female girls near Oyo 5-star hotels. Suppose you want a unique and memorable experience with a hot and beautiful call girl. in that case, this is the perfect place for you.$A19
Get A Date with Independent Pune girls Tonight
When meeting a Pune girls for the first time, be sure to keep things light. Avoid becoming overly intimate right away as she might not respond positively to this approach. Additionally, they can accompany you to parties, restaurants and any other location of your choosing as well as business meetings - treating you like royalty while fulfilling all of your desires. These girls are not just beautiful; they are educated and intelligent as well. Well-mannered and capable of speaking multiple languages, these ladies will make great partners for bed or romantic dinner dates alike.
Pune Escort Service is known for both their sexuality and academic credentials. Many are graduates from top universities with high-standards of education; others possess several languages fluency as well From French kissing and sexing, through grabbing and even deep throat consumption and pussy teasing. They know just what their clients need in terms of sensual fulfilment.
 These beautiful young ladies boast soft lips, stunning curves, and flawless skin - the ideal partner for any event imaginable from a romantic date to wild night of kinky fetishes. Always up for a challenge, these girls delight clients by playing playful games while dressing any way that you request - from an alluring one-piece suit or jeans and top combo all the way through to semi-nude or Indian wear attire.
Select Pune Call Girls Who Have Deep Curves
Pune Call Girls are absolutely captivating and attractive, from their full bods, killer body language and seductive voices to their stunning big boobs, killer body language and alluring seduction voice.
Independent Call Girls Pune is party lovers and love exploring new locations. They will take you to all the best bars, clubs, restaurants, discos and entertainment spots.

FG

vf


Expose IConcatenationLayer in dynamo.conversion.impl

@apbose - I think this is the same as task #2304

Oh, good to know. Thanks!


ChatML: name property should support '@' character

Describe the bug
Lots of existing usernames contain @ as namespace and prefixing. Complete understand why this is defined narrowly, but you are pushing a bunch of work on to developers and this surprised me.
File "/Users/dmp/Library/Python/3.9/lib/python/site-packages/openai/api_requestor.py", line 679, in interpret_response_line
raise self.handle_error_response(
openai.error.InvalidRequestError: '@username' does not match '^[a-zA-Z0-9-]{1,64}$' - 'messages.6.name'
To Reproduce

`#add the user + message in the third argument
whoiam = getpass.getuser()
whoiam = "@" + whoiam
prompt = {"role": "user", "content": sys.argv[3], "name": whoiam}
#talk to chatGPT
completion = openai.ChatCompletion.create(
model = "gpt-3.5-turbo",
messages = chatml + [prompt]
)`
Code snippets
#add the user + message in the third argument
whoiam = getpass.getuser()
whoiam = "@" + whoiam
prompt = {"role": "user", "content": sys.argv[3], "name": whoiam}

#talk to chatGPT
completion = openai.ChatCompletion.create(
  model = "gpt-3.5-turbo",
  messages = chatml + [prompt]
)

OS
macOS
Python version
Python
Library version
openai-python

Currently the chat API uses the role value to identify the "speaker" as the user, assistant, or system. Do you have a link to any documentation that mentions using the name value?

@FizzyAgent see https://github.com/openai/openai-python/blob/main/chatml.md and https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb (section 6), but I do agree that it's weird that it's not in the official documentation.

In addition to @ character I would strongly suggest we enable:

Space. A full name contains first name and space and last name.
Any unicode characters.

Very useful for a multi user chatbot.

ß should also be enabled. It is a very common char for a chatbot

Thanks for filing, this feature request makes sense to me and I've pass it along to the backend teams.
I'm going to close this since it's not a limitation imposed in the Python library; if you'd like to continue to advocate for it, I recommend community.openai.com


Implement User Registration with Verification

Description:
Implement the user registration feature to allow users to securely create an account on DonateMe. The registration process must include both phone number verification and a GPS-based location check to ensure the user is registering within their actual community.
Requirements:
The user should be able to input their phone number, which will be verified through an SMS code.
After entering the SMS code, the user should confirm their location via GPS.
The registration form should also capture basic user information, such as name and email address.
Passwords must be securely handled, ensuring they are hashed before being stored.
Implement proper error handling for SMS delivery failures and location verification issues.
Ensure compliance with data protection regulations for storing user information.
Expected Outcomes:
A user can create an account and log in to the DonateMe platform.
Users feel secure knowing that other users are verified and local.
The system prevents duplicate accounts and fraudulent sign-ups.
Additional Notes:
Consider the scalability of the SMS service for future growth.
Look into the most cost-effective but reliable SMS delivery services.
Explore the feasibility of integrating a third-party service for location verification.
Tasks:

[ ] Design the database schema for user information.
[ ] Set up the backend route for registration.
[ ] Implement phone number verification logic.
[ ] Add GPS location check on the frontend.
[ ] Create the user interface for the registration form.
[ ] Write unit tests for the new registration features.

You're doing great!
Everything will be fine so do whatever you want!!


chore(main): release 0.1.31

Auto generated release
0.1.31 (2024-10-01)
Build System

deps-dev: bump laravel/pint from 1.17.3 to 1.18.1 (#107) (cd3cca6)
deps-dev: bump phpstan/phpstan from 1.12.4 to 1.12.5 (#109) (e767563)
deps: bump slim/twig-view from 3.4.0 to 3.4.1 (#108) (c6cf08d)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.1.31
:sunflower:


Remove version: Pidgin.Pidgin version 2.14.12

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.12/pidgin-2.14.12-offline.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;


Enhanced:Simplify the Cel Expression of restrict sysctls

Related Issue(s)
Fixes #1100

Description
This PR simplify the CEL expression by removing the repeated terms.

Checklist

[] I have read the policy contribution guidelines.
[] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.
[] I have added the artifacthub-pkg.yml file and have verified it is complete and correct.

cc: @chipzoller

Again, please review the contribution guide as I pointed out in this comment.

Update the Artifact hub.

Please also remember to complete the items defined in the PR template's checklist in future PRs.

@lavishpal - please resolve conflicts, so we can complete reviews and merge. Thanks!

@JimBugwadia Resolved the merge conflict. Thank you


rocketmq  -XX:MaxDirectMemorySize is invalid

rocketmq version:4.7.1   system :linux    16C 32G。
I set -XX:MaxDirectMemorySize =3g in runbroker.sh，but The memory occupied by rocketmq continues to increase until it occupies most of the system memory。
Use the top command to see that the SHR is much larger than 3g.

-XX:MaxDirectMemorySize can not restrict RocketMQ from using page cache, but can only restrict the use of direct memory. For example, when  transientStorePoolEnable is true in broker's config, this parameter will limit the size of direct memory.


grafana mesh dashboards hardcode /dashboard link without using GF_SERVER_ROOT_URL (setting. appSubUrl)

Bug description
https://github.com/istio/istio/blob/master/manifests/addons/dashboards/istio-mesh-dashboard.json#L1055
So if you try to re-root grafana away from / to say /grafana then the links are broken
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[X] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Clicking on links would have configured prefix
Steps to reproduce the bug
kubectl -n istio-system set env deployment/grafana GF_SERVER_ROOT_URL=/grafana/
istioctl dashboard grafana
works on localhost:port/grafana except when clicking on istio mesh service it uses /dashboard per code above
Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
1.7.4
How was Istio installed?
istioctl install
Environment where bug was observed (cloud vendor, OS, etc)
n/a

@ldemailly please reference this: https://github.com/istio/istio/issues/26544

we do have GF_SERVER_SERVE_FROM_SUB_PATH true

everything else is working it’s just the mesh dashboard but i will triple check


[assets] configurable URL for static resources

Continue https://github.com/go-gitea/gitea/pull/6341

This PR will allow static resources served by another domain different from the main domain. So that a CDN service could be used easier.

Codecov Report

Merging #7911 into master will increase coverage by 0.01%.
The diff coverage is 62.5%.

@@            Coverage Diff             @@
##           master    #7911      +/-   ##
==========================================
+ Coverage   41.43%   41.44%   +0.01%
==========================================
  Files         478      478
  Lines       63943    63950       +7
==========================================
+ Hits        26492    26504      +12
+ Misses      34000    33997       -3
+ Partials     3451     3449       -2

Impacted Files
Coverage Δ

routers/routes/routes.go
82.09% <0%> (-0.31%)
:arrow_down:

modules/setting/setting.go
45.43% <100%> (+0.09%)
:arrow_up:

modules/templates/helper.go
48.93% <100%> (+0.46%)
:arrow_up:

models/gpg_key.go
56.66% <0%> (+0.83%)
:arrow_up:

models/repo_indexer.go
68.69% <0%> (+2.03%)
:arrow_up:

Continue to review full report at Codecov.

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

Serviceworker and Manifest.json are requested with every request. They either need an etag or query parameter along with an expire header to allow caching.

The serviceworker needs a rework in the cdn context.
A service worker receives only requests in its scope.
Consider gitea running on https://git.example.com and we want to use a cdn at https://cdn.example.com/gitea.
The servicworker currently sits at https://git.example.com/serviceworker.js and will receive https://git.example.com/POSTFIX request, but not https://cdn.example.com/gitea/POSTFIX requests. Additionally https://git.example.com/PREFIX/serviceworker.js will only receive https://git.example.com/PREFIX/POSTFIX requests.
The serviceworker would need to sit on the other domain (cdn.example.com in this previous case) at the matching level.
All dynamic content needs to be dropped from the service worker, so it can be placed in the public directory.

the static prefix from all urls to be cached can be omitted
it is not required anyways, the scope will be used a base url
the app version from css and js files
we could bump a query parameter with the most recent PR number that changed any of the files
the users theme choice
I would simply load all themes

I went down that line and hit a SecurityError in Chrome.
SecurityError: Failed to register a ServiceWorker: The origin of the provided scriptURL ('https://cdn.example.com') does not match the current origin ('https://git.example.com')

I guess we have to omit the service worker in case of a configured cdn.

@das7pad
Thank you for this, it will be very helpful for large installations.
Could you resolve the conflict with templates/admin/hook_new.tmpl?

Merged and resolved conflict.
As stated above, the service worker needs a rework: it has no access on requests for other domains.
I could disable the loading of the service worker in case of a domain mismatch and we can look at it in another PR in detail.

Please add docs about the new config item.

I am working on the config docs atm.
But the service worker is still a blocker!

Should we extend the reverse proxy docs with details on serving static resources via e.g. nginx?

I added two setups for nginx into the reverse-proxy section.
I can not speak/write Chinese.
cc @lunny @BetaCat0 can you help with the translation of 36e661e210d672e640e3c72a3667fafc0aab3cc0 please?

@das7pad I will send another PR after this PR merged for Chinese documents.

I added another config option ADD_SERVICE_WORKER default true. It gets set to false in case the user specified a STATIC_URL_PREFIX with a host that does not match the host of ROOT_URL.
I could not find any tests for the settings parsing. Are there any plans on adding integration tests?

Maybe we should set crossorigin="anonymous" for safety https://developer.mozilla.org/fr/docs/Web/HTML/Reglages_des_attributs_CORS

I did not verify the claim https://github.com/go-gitea/gitea/pull/7911#issuecomment-522548266 about requests that would match/do not.
The docs at https://developers.google.com/web/fundamentals/primers/service-workers/#register_a_service_worker are incorrect and the event listener on fetch does fire for requests that are on a different path/domain.
The service worker can pull in the static resources from a different domain and also respond with cached responses.
I am reverting the ADD_SERVICE_WORKER changes with another force push now.
I deployed a backport of this PR to my staging gitea server. You can access it with a hosts entry of <IP_ADDRESS> git.das7pad.de. Note the added console.log entries in the service worker, which fire for cdn URLs. Additionally upon reloading the page, requests are marked as 'served by the service worker' in the network tab of the DevTools - well, at least in Chromium and in a non-private Firefox tab.

Maybe we should set crossorigin="anonymous" on img, script, link, ...

Good idea, but this might break hot-link protections.

@lunny should this still be blocked?
Can we fix conflicts

@zeripath I resolved the conflicts.
And a newly added sub resource was moved to the static url prefix too (f2a3abc683ad4b2177b7c7c6160a2c0b4316120a).

@das7pad so this is ready now? Or except serviceworker?

This is ready.
Regarding the service worker: the serviceworker.js and manifest.json are served from the main domain, all sub resources are served from the cdn. The service worker and manifest contain globally and per user configurable options (e.g. the theme) and can not be served from the cdn at this time.

I don't really like the documentation for this PR. It's probably easier to just merge it and fix it in another PR though.

I hope this will make gitea.com faster!

@6543 me2 :)


Validation

Validation framework so far
The various bits of this could be rewritten as a pipeline stage, left as an external task, or something else entirely...
This might be 79 commits, but 78.5 of them were tweaking command syntax to get the validation to run... Only to find out that the bugs were being caused by shonky old versions of bcftools/htslib (see images PR)
Input
The MT from a joint call

this is currently using the validation-samples-only subset MT, but as samples are extracted individually by ID this could be done from the whole joint-call if it has access?

Steps

Query Metamist for all CPG IDs in the validation project
Read the joint-call MT, and extract each validation sample as an alt-sites-only single-sample VCF
For each sample identified:

Go to Metamist and query for the type:validation analysis dataset (contains pointers to truth VCF and BED file)
Run Hap.py with RTG's VCFeval normalisation to validate joint-called samples WRT truth
Write hap.py outputs to a run folder
Follow-up job to parse the summary results, and write all comparison metadata into metamist as type:validation_result

Example Output Folder
Example Metamist analysis entry:
{
  "id": 122787,
  "type": "qc",
  "status": "completed",
  "output": "gs://cpg-validation-test/2022-08-13/comparison",
  "sample_ids": [
    "CPG255224"
  ],
  "timestamp_completed": "2022-08-16T11:51:51",
  "project": 56,
  "active": false,
  "meta": {
    "type": "validation",
    "truth_vcf": "gs://cpg-validation-test/HG004/HG004_GRCh38_1_22.bed",
    "truth_bed": "gs://cpg-validation-test/HG004/HG004_GRCh38_1_22.vcf.gz",
    "query_vcf": "gs://cpg-validation-test/2022-08-13/single_sample_vcfs/CPG255224.vcf.bgz",
    "INDEL_ALL::true_variants": "532838",
    "INDEL_ALL::pipeline_variants": "506664",
    "INDEL_ALL::matched_variants": "519942",
    "INDEL_ALL::false_negatives": "12896",
    "INDEL_ALL::false_positives": "4941",
    "INDEL_ALL::recall": "0.975798",
    "INDEL_ALL::precision": "0.990248",
    "INDEL_ALL::f1_score": "0.98297",
    "INDEL_PASS::true_variants": "532838",
    "INDEL_PASS::pipeline_variants": "494507",
    "INDEL_PASS::matched_variants": "508470",
    "INDEL_PASS::false_negatives": "24368",
    "INDEL_PASS::false_positives": "3907",
    "INDEL_PASS::recall": "0.954268",
    "INDEL_PASS::precision": "0.992099",
    "INDEL_PASS::f1_score": "0.972816",
    "SNP_ALL::true_variants": "3347673",
    "SNP_ALL::pipeline_variants": "3335884",
    "SNP_ALL::matched_variants": "3324926",
    "SNP_ALL::false_negatives": "22747",
    "SNP_ALL::false_positives": "11188",
    "SNP_ALL::recall": "0.993205",
    "SNP_ALL::precision": "0.996646",
    "SNP_ALL::f1_score": "0.994923",
    "SNP_PASS::true_variants": "3347673",
    "SNP_PASS::pipeline_variants": "3297397",
    "SNP_PASS::matched_variants": "3295364",
    "SNP_PASS::false_negatives": "52309",
    "SNP_PASS::false_positives": "2229",
    "SNP_PASS::recall": "0.984375",
    "SNP_PASS::precision": "0.999324",
    "SNP_PASS::f1_score": "0.991793",
    "happy.vcf.gz": "gs://cpg-validation-test/2022-08-13/comparison/CPG255224.happy.vcf.gz",
    "happy.vcf.gz.tbi": "gs://cpg-validation-test/2022-08-13/comparison/CPG255224.happy.vcf.gz.tbi",
    "happy_extended.csv": "gs://cpg-validation-test/2022-08-13/comparison/CPG255224.happy_extended.csv",
    "happy_metrics.json.gz": "gs://cpg-validation-test/2022-08-13/comparison/CPG255224.happy_metrics.json.gz",
    "happy_roc.all.csv.gz": "gs://cpg-validation-test/2022-08-13/comparison/CPG255224.happy_roc.all.csv.gz",
    "happy_runinfo.json": "gs://cpg-validation-test/2022-08-13/comparison/CPG255224.happy_runinfo.json",
    "summary.csv": "gs://cpg-validation-test/2022-08-13/comparison/CPG255224.summary.csv"
  }
}

Additional bits required
based on current structure:

before posting results, check that a prior entry for this run & sample hasn't been made

if the same run can be posted multiple times, that will interfere with any stats-over-time retrospective analysis

analysis of results

when an analysis result is generated, query for previous analyses of the same sample and compare
once acceptable margins of error are established, confirm we remain within them over time
report results directly to Slack? Only in case of error?

changes?

should this run independently from the pipeline, or added as a pipeline stage?
validation results are added manually, and need to be set as inactive manually (when truth data is updated/altered). The process for that has not been committed here.
in general are we ok with using the analysis Metamist entries to track truth data/analysis results, so long as the meta queries are sufficiently specific that they won't clash with any main-pipeline entries?

"truth_vcf": "gs://cpg-validation-test/HG004/HG004_GRCh38_1_22.bed",
"truth_bed": "gs://cpg-validation-test/HG004/HG004_GRCh38_1_22.vcf.gz",

Um, this is from above. Are they meant to be swapped?

@cassimons That was a blunder... Last night I got the metamist upload script running separately from the main process, and muddled the order of those two. I've integrated that script into the main process and now they're always passed by name. I'll update those analysis entries to correct
problem commit ()
truth, bed = get_sample_truth(cpg_id=cpg_id, dataset=dataset)

actually returned bed, truth

This alters 16 files, but 14 of them are just adding the files from https://github.com/populationgenomics/cpg-python-template-repo

Added an extra method that queries for an existing analysis result in metamist for each sample/results folder, and refuses to write if the same results have already been logged

This needs a few more changes before it's fit to merge:

Instead of using date as an output folder name, instead incorporate the name of the MT used as input when writing the output
Write the name of the MT used into the metamist entry
Nest all the output folders inside a named folder, not just dates in the root of the validation bucket


[Pawnmorpher] incompatibility with Rimthreaded

IMPORTANT: Please first search existing bugs to ensure you are not creating a duplicate bug report!
Describe the bug
Red error logging causing massive lag and if several can cause crash
Steps to reproduce the behavior (VERY IMPORTANT)

Create colony (or load save provided)
Spawn some mutation items and inject them on your colonists
Spawn a caravan with dev mode and let a bit of time pass to see if it logs errors, if not spawn another caravan and repeat
See error
To cause a crash spawn 10 caravans at the same time

Error Log
Player.log
https://gist.github.com/285b01dfcbd9415c9f866ac78dc7ca4d
Save file
Saves.zip
Screenshots
Furries

Third caravan triggered the errors

It doesn't log constantly but it triggers that wall of errors

Mod list (Preferably a RimPy compatible list.)

Harmony
Core
Royalty (optional)
HugsLib
Humanoid Alien Races Framework
Pawnmorpher
RimThreaded

https://github.com/Tachyonite/Pawnmorpher/blob/master/Source/Pawnmorphs/Esoteria/AnimalClassUtilities.cs#L261 Is the method spitting out errors in my testing, plus it seems to happen even without mutations

Still reproducible? If yes - will it be fixed anytime soon?