[Aparat] Fix extractor

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fix the extractor.
Fix issues: #23348 #24252 #22285

I figuring about Aparat extractor problem, and just searching through issues, what I first found was the code below.
https://github.com/ytdl-org/youtube-dl/commit/70851a95c307880f016fcb6f37427a8eeae73cad
but after searching more, I found out that you the person who had more recently worked on Aparat.
So the problem is I can't extract any sort of video/audio, playlist, .... from Aparat, And I encounter to an error.
[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'https://www.aparat.com/v/dtx2E', u'--verbose'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2020.05.03 [debug] Python version 2.7.17 (CPython) - Linux-5.3.0-51-generic-x86_64-with-Ubuntu-19.10-eoan [debug] exe versions: ffmpeg 4.1.4-1build2, ffprobe 4.1.4-1build2, phantomjs 2.1.1, rtmpdump 2.4 [debug] Proxy map: {} [Aparat] dtx2E: Downloading webpage ERROR: Unable to extract options; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last):   File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info     ie_result = ie.extract(url)   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract     ie_result = self._real_extract(url)   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/aparat.py", line 52, in _real_extract     webpage, 'options', group='value'),   File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex     raise RegexNotFoundError('Unable to extract %s' % _name) RegexNotFoundError: Unable to extract options; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Have you tried my fix for Aparat in this branch?

No, Actually I didn't know that your project wasn't a branch in your account.
I thought you have done a PR for the main project.
Was there a reason you didn't make a PR?

@HanifBirgani
I found that you have to use this template for broken site.
Could you check this till it will be available to use in master branch?
https://github.com/ytdl-org/youtube-dl/blob/b002bc433a0ba151b7c2f42ab6f1db9a27ed1ecd/.github/ISSUE_TEMPLATE/1_broken_site.md

No, Actually I didn't know that the fix you've done was a branch in your account.
I thought you have done a PR for the main project.
Was there a reason you didn't make a PR?

Aparat extractor is working in your fork but not in the current release of youtube-dl.
@dstftw

Why your change didn't merge into the master branch?
I don't know, I made this PR about two months ago.

@dstftw Would you please review this pull request?

Thanks for the patch @HanifBirgani
I applied it manually on macOS youtube-dl installed via pip and it works like a charm.
(venv) > $ youtube-dl -v https://www.aparat.com/v/TB1JC
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.aparat.com/v/TB1JC']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.06
[debug] Python version 3.7.4 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[Aparat] TB1JC: Downloading webpage
[Aparat] TB1JC: Downloading m3u8 information
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://as11.cdn.asset.aparat.com/aparat-video/9a2e2ade9cddb78dfbd2561c2674639823114720-1080p.apt/chunk.m3u8?wmsAuthSign=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbiI6ImM4ZDdhZGEzMzUzMmZiMmU0NjUzMTY5ZGIxYTA1YzlmIiwiZXhwIjoxNTkyMjQ2NjIzLCJpc3MiOiJTYWJhIElkZWEgR1NJRyJ9.VzRBtf-YQ6ebM0fe2-tNdhcea7QFoIl4h4TTKIFTL3U'
[download] پدر و مادر نمی دونستن دخترشون عاشق فوتباله!  -)-TB1JC.mp4 has already been downloaded
[download] 100% of 20.20MiB
WARNING: TB1JC: malformed AAC bitstream detected. Install ffmpeg or avconv to fix this automatically.

Seems this PR will fix #26738


cigien: Blacklist (?-i:^Anna21dj$)

cigien requests the blacklist of the username (?-i:^Anna21dj$). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:^Anna21dj$) has been seen in 5 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Log Axis breaks Plottable.GetLimits() for y = 0

Describe the bug
If you attempt to use a ScottPlot.Tools.Log10 on a dataset which contains 0, it will appear to work properly. However, Math.Log10(0) returns double.NegativeInfinity, which does not play nicely with Plottable.GetLimits(). It causes the axis to return limits of [double.NaN, double.NaN]. This does not cause a crash, but simply for the plot to not draw.
To Reproduce
Use ScottPlot.Tools.Log10 on a dataset which contains 0.
I modified the Log Axis demo to look like this:
public class LogAxis : PlotDemo, IPlotDemo
        {
            public string name { get; } = "Log Axis";
            public string description { get; } = "";

            public void Render(Plot plt)
            {
                // generate some interesting log-distributed data
                int pointCount = 200;
                double[] dataXs = new double[pointCount];
                double[] dataYs = new double[pointCount];
                Random rand = new Random(0);
                for (int i = 0; i < pointCount; i++)
                {
                    double x = 10.0 * i / pointCount;
                    dataXs[i] = x;
                    dataYs[i] = Math.Pow(2, x) + rand.NextDouble() * i;
                }

                dataYs[0] = 0;

                // this tool can convert linear data to log data
                double[] dataYsLog = ScottPlot.Tools.Log10(dataYs);

                foreach(double curr in dataYsLog) {
                    Debug.WriteLine(curr);
                }
                plt.PlotScatter(dataXs, dataYsLog, lineWidth: 0);

                // call this to move minor ticks to simulate a log scale
                plt.Ticks(logScaleY: true);

                plt.Title("Data (Log Scale)");
                plt.YLabel("Vertical Units (10^x)");
                plt.XLabel("Horizontal Units");
            }
        }

Screenshots
If applicable, add screenshots to help explain your problem
Output for given code:

Debug output: https://pastebin.com/9vYd9Hdm

I'm going to open a PR shortly to deal with this, I was thinking of yoinking the solution from https://stackoverflow.com/questions/40219639/how-to-deal-with-zero-in-log-plot, which was to transition to a linear scale for values around 0. However, for scatter plots dealing with small y values this would be very noticeable. I think I am just going to return double.NaN and accept that that point will not be visible. This is the behaviour of my graphing calculator and I think is the best solution.
Note that it does not fail for sets containing negative numbers, as

double.NaN does not break anything, it just stops that point from being drawn.

Thanks for bringing this up @Benny121221! While your fix helps the case for 0, it alerted me to the fact that taking Log10 of negative numbers returns double.NaN which seems to break the scatter plot's GetLimits() method. I'll merge-in your fix and continue to work on this a bit more...

For now I think the best solution is to not allow double.NaN get into data that gets plotted. Most plottables aren't capable of rendering arrays containing NaN.
My thinking is that if users want to fine-tune how the Log10 conversion works (becoming linear near 0, discarding imaginary numbers, etc) they can write their own conversion method rather than using the one in the tools folder.
double[] xs = ScottPlot.DataGen.Range(-10, 10, .1, true);
double[] ys = ScottPlot.DataGen.Sin(xs, mult: 100);
double[] logYs = ScottPlot.Tools.Log10(ys);

plt.PlotScatter(xs, logYs);
plt.YLabel("Log10(Sin(x) * 100)");
plt.Ticks(logScaleY: true);

Thanks again for raising this issue @Benny121221!

double.NaN doesn't break it as much as ±double.Infinity, as it just causes getLimits to ignore it. Whereas infinity will zoom the graph out infinitely far, which is not great.

Ah got you, sorry I made that comment before I saw yours.
So right now what is the behaviour of the Log10 tool?

So right now what is the behaviour of the Log10 tool?

Mathematicians may cringe here, but it now returns 0 instead of anything irrational. This way we know the returned array is always suitable for plotting
https://github.com/swharden/ScottPlot/blob/df531ccb55ca3b2c31067191b825c2652d4bb6ea/src/ScottPlot/Tools.cs#L231-L237

Mathematicians may cringe here

Did I mention I'm starting a Math minor in the fall? In seriousness though, that's probably the best option. Complex numbers don't play nicely with graphs unless you add another dimension

Did I mention I'm starting a Math minor in the fall?

That's awesome! What a cool field to study

In seriousness though, that's probably the best option. Complex numbers don't play nicely with graphs unless you add another dimension. Not to mention that log(0) doesn't even have a value in the complex plane

I'm happy to hear you think this is an acceptable solution given the circumstances! Let me know when you finish you math minor so I can add a note that says this method is endorsed by a mathematician 😜
I feel like I need a degree in mathematics to figure out where to place tick marks 🙈 it's surprisingly hard #394
Thanks again for your help on this one @Benny121221!


Full Discrete schematic (no modules) - validation needed

Hello, I have created schematic for this radio with one goal in mind - no modules, everything done with discrete components and possible to order from JLC pcb fully assembled.
Additional features:
FM Radio on SI4702-C19-GMR chip
Audio DSP and selector on TLV320AIC3204
USBC connector power (its still usb 2.0)
CH376T as both USB stick or SD card reader
I can handle necessary code changes
Before i shot myself in the foot, i would like to confirm my schematic with you:
https://cdn.discordapp.com/attachments/710084652798312518/1145003214626897920/Esp32Radio.pdf

Cool idea. However I don't fully understand why you want to use CH376 chip. To read SD card? This is not needed, because ESP32 can easily handle SD card directly connected to SPI bus. Or to be able to connect USB to the PC and access SD card without the need to remove it? Or to have support for external flash drive? A bit of overengineering if you ask me. I would remove this chip and connect SD card directly to ESP32.
FM addition seems nice, but not sure if needed in this day and age. Could be useful when your WiFi is down, but this means major rework of the provided code, to be able to startup without wifi.
I am not sure if you checked the bias DC levels of the analog signal lines from multiple sources and destinations. It may be required to add DC blocking caps in the signal path. Just a word of warning.
I would remove the Preamp section, as you just need two analog switches to change between two sources. Or is FM chip without possibility of volume control?
PAM8403 seems a reasonable choice for tiny speakers. If you are trying to make a quality radio, add 2x RCA or a 3.5 mm stereo jack as a line-out connection for external amplifier, or possibility for a piggy-back of a serious amplifier board that can drive at least a few inch diameter speakers. 2x 20 Watt RMS minimum that can drive a nice bass.

@aly-fly
CH367 is to read flash sticks which esp can't do and i have couple laying around. This chip costs like 0.5$ so its nothing.
SD card is connected to it so have unified reading mechanism, at least that is the idea. Not sure how it works in practice.
FM is needed because believe it or not, some people likes to hear old radio stations that not necessarily have web version. This will also allow it to be used without wifi.
I added preamp because i want to control typical functions like volume bass/treble and maybe a bit more fine tuning. If you know chip that does better job at this im open for suggestions.
As for signals i know FM radio ouputs like 80mVpp so it will need some opamp in between because VS chip is 1.8Vpp
Long story short, this is a radio that suppose to work with anything imaginable. I can add connectors before preamp but by default i want to use simple wideband speakers so it does work as garden radio.

Ok. As someone might want to replicate your PCB, I would suggest going a bit wider, hence the comment for Line Out or optional powerful amp. My radio feeds two real 300 W speakers so it is more than a garden background music. :)

Also i forgot to mention but preamp is cheaper than trying to do any other kind of input selector. Do you have any suggestions on bumping peak levels of FM radio? ie preamp?


adjust RecipeUser query logic

There was only a few really minor things I adjusted here, mainly to do with data types, and slightly modifying the database query for RecipeUsers. I think it was a case of end of the week/day brain fog that caused us all to overthink this a bit, but this is really great functionality in general.

Also, not sure why github spaced out everything in the RecipeController.cs file.  The only method I changed was the SharedRecipes action. Might be because a difference in my VSCode linting settings and yours.


OTIO for Python 3.10 on Pypi

Feature Request
Making a wheel of OTIO for Python 3.10 available on Pypi
Description
I'm the author of Ubisoft Shot Manager, an add-on for Blender to do previz and storyboarding. This add-on relies on OpentimelineIO to import and export edits.
Since version 3.2, the Blender Python version is 3.10, hence my request a few months ago to support this version. Your help to create a new wheel was very appreciated.
In order to allow the installation on the users' computers I had to add the wheel in the add-on package. And to avoid to make it too heavy I just add the Windows package (which still weights 5Mo!).
It would be considerably easier for us and the add-on users of all platforms if all the wheels were available on Pypi.
Thank you ;)

We're planning on making a new release of OTIO within the next month from the top of the master branch.  That release should include python 3.10 support, as well as other fixes from this beta cycle (full list: https://github.com/AcademySoftwareFoundation/OpenTimelineIO/milestone/16?closed=1 ).  I'll double check with @JeanChristopheMorinPerso, but I believe all of that stuff (including pypi upload) should happen automatically once we poke the release buttons.  Would that work for you?
Also, that looks like a neat tool.  Thanks for sharing and reaching out!

Yep, everything should be automatic. Python 3.10 has been part of our build matrix for a while and every build generates Python 3.10 wheels. It's just  a matter of triggering a release, like @ssteinbach said.

Triggering the release would be extremely helpful. I'm also working with Blender Python 3.10. Any chance to do this in the next few days?

Sorry, the next couple of days won't be possible, but within the next month.

Thank you very much 👍
Any time will do for me, that's really helpful to have this ETA though.

The wheels should be live now on PyPI.


fix(java): rename test to be picked up by native profile

A couple of changes to note:

The maven-surefire-plugin defined in datastore-v1-proto-client/pom.xml  was overwriting the one defined in the native profile brought in from java-shared-config, therefore, resulting in the following error: Test configuration file wasn't found. Make sure that test execution wasn't skipped..  Tested this change locally to verify that integration tests are excluded when unit tests are run. Also, java-shared-config brings in the same config defined in the POM: https://github.com/googleapis/java-shared-config/blob/b5e05c6726c60a7ad7c0d9588b4fab69a0b4e6b7/pom.xml#L87

Replaced usages of @Rule public ExpectedException thrown = ExpectedException.none(); with Truth.

Renamed test that uses EasyMock ITDatastoreTest -> DatastoreTest as mocking is incompatible with native image compilation atm.

The Kokoro Native Image job is now passing

However, the unit tests seem to be failing with the following error:
Trying to download...
Downloading Java 17.0.3+7 (Zulu) from https://cdn.azul.com/zulu/bin/zulu17.34.19_1-ca-jdk17.0.3-linux_x64.tar.gz ...
Error: Unexpected HTTP response: 404

@kolea2 This is a followup from our conversation after the Wednesday meeting.

Thank you all so much!


Fix issue #380: Signed integer overflow check

See issue #380.

Previously, json::parse("166020696663385964490").dump() gave<PHONE_NUMBER>3709551562. Now it gives 1.66020696663386e+20.

Coverage remained the same at 100.0% when pulling 3bd667cd86b4e7d905c17d5cef7de2cef218d439 on qwename:integer-overflow into bc28942101fe115cc58eacaf51f1f69fc96bb811 on nlohmann:develop.

Off-topic, but I had to compile the latest re2c (0.16) as Fedora 25 only provided 0.14.3, which didn't have the -W option. The option was added in 0.15, so this might be useful to add in .github/CONTRIBUTING.md http://re2c.org/news/changelog/changelog.html.
It seems like the new version also reduced the generated code length.

Or, one could make changes to the .hpp, and then have a pre-commit hook do
git checkout src/json.hpp.re2c && git diff src/json.hpp | patch src/json.hpp.re2c

@qwename Thanks for the hint on the re2c version. I shall add a note to the contributing file. For the whitespace, you may want to execute make pretty which uses astyle.

I missed the part about make pretty, fixed it now.

Coverage remained the same at 100.0% when pulling 92cfc94174d5e9b089adc4a5c0e2701de3439ec4 on qwename:integer-overflow into bc28942101fe115cc58eacaf51f1f69fc96bb811 on nlohmann:develop.

There are some conversion warnings. Can you fix them?

Coverage remained the same at 100.0% when pulling 703d4baf8b7589a033b36eb4d394533eebc62552 on qwename:integer-overflow into 79fa8b2f41d28a37602f0355c963d6445c6c2453 on nlohmann:develop.

Coverage remained the same at 100.0% when pulling 703d4baf8b7589a033b36eb4d394533eebc62552 on qwename:integer-overflow into 79fa8b2f41d28a37602f0355c963d6445c6c2453 on nlohmann:develop.

Thanks!

Thanks! I shall add a regression test for<PHONE_NUMBER>63385964490.


Catalog course tabs and section links

@HenricZh started #572 to add tabs to the catalog for displaying grade and enrollment information for the selected course. @Jdyn refactored the catalog before the tabs were merged and now the additions are outdated. The tabs need to either be refactored themselves or rewritten, but the majority of the logic works.
Figma
Original bug bash reference

[ ]  Catalog tabs

[ ] Use the design from Figma (proposed by the design team)
[ ] Address all critical bugs and research from the bug bash

[ ]  Link to the official course catalog for sections

[ ]  Include a link icon to differentiate the link from other text

Will see through on this. Let's get #592 in before I begin.

The new Berkeleytime rewrite will address this issue.


Added the inverse style modification method

I wasn't able to find the inverse style modification mentioned in the README.md after further investigations I found that the inverse style modification is not implemented so I implemented it myself.
I did not use the CSI 7 m as it is not widely supported, I implemented my own system which converts the foreground to background and the background to the foreground

Did you look into how it is done in the upstream implementation of chalk? My goal was to solve #17 exactly the way chalk does it so that the two implementations stay the same.

uhh sorry I don't understand what you are talking about can you elaborate more?
also sorry for my bad english

I'm new to this contribution thing of open-source can you explain what you mean by upstream implementation? I cannot find any branch with a related name

Sorry for being a bit cryptic :wink:
This project here is basically a port of the "original" chalk in JavaScript: https://github.com/chalk/chalk
When I was migrating the project I was trying to stay relatively close to the original so that I can easily backport and adapt changes made there. Admittedly I haven't looked into the original implementation for a while, which is also why I may have missed the inverted feature. My goal regarding the feature would be to implement it similarly to avoid diverging too much.
I'm currently running low on time, which is why it may take a bit until I can analyze the original implementation.


Snapshot repository not updated to latest commit

Bug, feature request, or proposal:
The snapshot repository (material2-builds, as well as cdk-builds) hasn't been updated to the latest commit of this repository.
What is the expected behavior?
The snapshot repository should have the latest commit of this repository built.
What is the current behavior?
The latest commit of this repository hasn't been built yet to the snapshot repository.

What are the steps to reproduce?
As you can see at the latest commits, the latest commit is from 6 days ago, while the latest commit on this repo is from about 19 hours ago:

What is the use-case or motivation for changing an existing behavior?
When installing from the snapshot repository/updating my dependencies, I get a build from days ago.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Snapshot versions of Angular Material
Is there anything else we should know?
Please fix this ASAP. I would like to get an inset divider, as well as the latest bugfixes. 😃

Looks like it's fixed. Closing this issue.


[AMBARI-25170] Dashboard 'Yarn Container' widget always shows n/a in …

…Ambari 2.7.3
What changes were proposed in this pull request?
To read the data from the model . (like model. containersAllocated). else it becomes 0.
How was this patch tested?
Manually Tested the fix.
Build was successful:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ........................................ SUCCESS [  5.974 s]
[INFO] Apache Ambari Project POM .......................... SUCCESS [  0.018 s]
[INFO] Ambari Web ......................................... SUCCESS [02:11 min]
[INFO] Ambari Views ....................................... SUCCESS [  3.693 s]
[INFO] Ambari Admin View .................................. SUCCESS [01:29 min]
[INFO] ambari-utility ..................................... SUCCESS [01:14 min]
[INFO] ambari-metrics ..................................... SUCCESS [  0.165 s]
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/5553/
Test PASSed.


Branch 1.2 and PHP 7.2

Hi, I'm trying to upgrade an old project of mine to PHP 7.2, I found that there's a couple of issues with the captchas when running Laravel 4.2 and laravel-authentication-acl 1.2, it's
ErrorException: count(): Parameter must be an array or an object that implements Countable

/var/www/myproject/workbench/aescarcha/mypackage/vendor/gregwar/captcha/Gregwar/Captcha/CaptchaBuilder.php:326

and

ErrorException: imagejpeg() expects parameter 1 to be resource, null given

/var/www/myproejct/workbench/aescarcha/mypackage/vendor/gregwar/captcha/Gregwar/Captcha/CaptchaBuilder.php:558

At least the first is already fixed in this issue, I know Laravel 4.2 is very old but, could you update the dependency? Thanks!

I cannot actively work on this but any PR to fix the issue is appreciated


Move from Coveralls to CodeCov.io

See https://github.com/ipfs/community/issues/219.

Let's avoid opening an issue in every repo and just track all of them in them in the main one (a la awesome <endeavour> we do in js-ipfs land

Sounds good to me. We could also use project-repos to track it. Might be worth making an issue there saying 'greenlight coveralls switch', and then refer all PRs to that issue.


error specific origin

error soecific origin

I have no idea what this report is about given the lack of detail. I therefore close this issue.


cannot generate main page access by using goctl api

Describe the bug
my main page statement like this:
{
@handler dealWithMainPage
get /
}
To Reproduce
Steps to reproduce the behavior, if applicable:

The code is

goctl api go -api XXX.api -dir .

The error is

" XXX.api 812:1 syntax error: expected ':' | 'IDENT' | 'INT', got '}'   "

Expected behavior
I just want I can use it to generate api like 1.6.0
Screenshots
If applicable, add screenshots to help explain your problem.

Environments (please complete the following information):

OS: MacOS
go-zero version v1.4.4
goctl version v1.6.1

More description
Add any other context about the problem here.

duplicate issue with #3848, please install from master to fix it.


espeak-ng: mark broken if cross, omit from chromium

The cross-compiled-chromium project will have to wait until after ZHF.


test: check offline single shot replicator

single shot replicator should automatically stop when offline
code refactor

link: #1457

Coverage increased (+0.09%) to 74.363% when pulling 9b886c15538489bbc7b0b2847a42e8287325aaff on test/singleshotreplicatorOffline into a2dad85452c34e256de6d2881da4d5e5d17e2679 on master.


echart function is executed multiple times?

I have a simple echart function as the following with variable named mt, which is a custom variable with 3 possible values, for example, 0,1,2.
let mt = replaceVariables('$mt');
echartsInstance.on('dblclick', function (params) {
console.log("doubleclick: ", mt);
});
let myopt = {
  geo: {
   map: "USA",
 },
};
return myopt;
at the beginning, for example, mt=0, doulbleclick anywhere in the map, console output as "doubleclick 0", that's correct.
when we choose mt =2, doubleclick anywhere in the map, console outputs two lines "doubleclick 0" and "doubleclick 2", instead of just "doubleclick 2" as expected.

I did try v2.
if I use the same  echart configuration as the following, I got the same result. (when user choose different variable value, the console output all old variable (mt) values and new value.
let mt = replaceVariables('$mt');
echartsInstance.on('dblclick', function (params) {
console.log("doubleclick: ", mt);
});
let myopt = {
geo: {
map: "USA",
},
};
return myopt;
if I rewrite echart   new version of config as the following, nothing shows up in echart (even no USA map):
let mt = replaceVariables('$mt');
echartsInstance.on('dblclick', function (params) {
console.log("doubleclick: ", mt);
});
let myopt = {
resultVersion: 2,
optionConfig: { notMerge: true },
option: {
geo: {
map: "USA",
}
},
unsubscribeFunction: () => {
console.log('unsubscribeFunction')
}
};
return myopt;

@alpglide When Apache ECharts panel refreshes instances are still the same and event handlers are preserved.
You can disable all previous events before set it again like
echartsInstance.off("dblclick");
echartsInstance.on('dblclick', function (params) {
console.log("doubleclick: ", mt);
});

This is what we are working in v2, that in the unsubscribeFunction you can disable previous events and remove all subscriptions.

There is similar example in the Blog post: https://volkovlabs.io/blog/echarts-panel-4.2.0-20230304/#preserve-visual-map-selected-range

wow, that  'echartsInstance.off("dblclick");' works in v2.
Your help is highly appreciated.

Any suggestion on #185 . I thought I figured it out, but I was wrong.

@alpglide Thank you for confirming.


libSyntax: parse ternary expression.

Along with starting to support ternary expressions, this commit also
slightly changes SyntaxParsingContext APIs as follows:

Previously, makeNode() only supports node creation by using the nodes
from the underlying syntax token array; this commit allows it to use the nodes from
the pending syntax list as well.

This commit strictly limits that the pending syntax list should never
contain token syntax node.

The node kind test shouldn't include unknown kinds. They are noisy.

@swift-ci please smoke test

@swift-ci please smoke test and merge

@swift-ci please smoke test


Datastore findOne() always returns NULL

I tried to use a datastore for registering users to a frontend. Saving works, but when I try to find a single element with findOne, it always returns NULL - although the element and the filtered values exist.

Please give us some code that you're using. :)

Ah, of course. :)
This is how I save the user:
$user = [
    'email'             => filter_input(INPUT_POST, 'email', FILTER_SANITIZE_EMAIL),
    'password'          => filter_input(INPUT_POST, 'password', FILTER_SANITIZE_STRING),
    'salt'              => $salt,
    'active'            => false,
    'activationcode'    => md5($salt)
];
cockpit('datastore:save_entry', 'users', $user);

If I want to retrieve the same user with
$user = cockpit('datastore:findOne', 'users', [
    'filter' => ['email' =><EMAIL_ADDRESS>]);

I get NULL.
But it's saved in the datastore as
{
    "email"<EMAIL_ADDRESS>    "password": "329c65[...]",
    "salt": "9d2274a[...]",
    "active": false,
    "activationcode": "383741[...]",
    "modified":<PHONE_NUMBER>,
    "created":<PHONE_NUMBER>,
    "_id": "54d54c29b4972doc12156"

}

$user = cockpit('datastore:findOne', 'users', ['email' => 'test@test.de']);

Ah, thanks! Then it needs to be fixed in the docs. ;) There's the additional filter array.

thank you for the hint!


Rewrite in Rust?

Hey! I just saw this project off of Reddit and saw there was a need for a GTK application. I was likewise wondering if there'd be interest in making this project work in Rust, which could provide some nice benefits compared to the current implementation:

This tool could be exposed as a library, allowing any Rust program to use it's functionality in a clean manner
The CLI and GUI can both use the same codebase, with the only differences being the code to make the CLI/GUI work

I'm throwing this out to get some thoughts on whether it'd be a viable option of not. What do you think?

I mean, I love the idea but I unfortunately lack the time to do this myself.

I'm half a year late, but I also needed this functionality for my new project so I'm working on a crate, rido. The featureset is very limited as of now, but Enterprise/Evaluation releases will be added, and languages are already implemented. Two things that are out of scope of my project are file downloads (a program that needs to download image files certainly needs to handle that itself) and legacy releases not on Microsoft's servers, which one could find URLs and checksums for in this repository instead.


Unable to access CUDA devices while in Conda Environment

In default environment:

In Homekit2020 environment w/ cudatoolkit version 10.2:

In "base" environment:

In Homekit2020 environment w/ cudatoolkit version 11.6.0

After creating the conda environment, but before running "pip install -e" CUDA devices are able to be accessed

This is really interesting. Just to be clear, it looks like installing the src module causes the environment to lose contact with the GPUs?
 Can you try it with python 3?

Before pip install -e .
(Homekit2020) jovyan@jupyter-mnodini-40ucsd-2eedu:~/Homekit2020$ python3 src/models/train.py fit `# Main entry point` \
>         --config configs/tasks/HomekitPredictFluPos.yaml `# Configures the task`\
>         --config configs/models/CNNToTransformerClassifier.yaml `# Configures the model`\
>         --data.train_path  $PWD/data/processed/split/audere_split_2020_02_10/train_7_day  `# Train data location`\
>         --data.val_path $PWD/data/processed/split/audere_split_2020_02_10/eval_7_day  `# Validation data location`\
>
/opt/conda/envs/Homekit2020/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: /opt/conda/envs/Homekit2020/lib/python3.9/site-packages/torchvision/image.so: undefined symbol: _ZN3c106detail19maybe_wrap_dim_slowEllb
  warn(f"Failed to load image Python extension: {e}")
Traceback (most recent call last):
  File "/home/jovyan/Homekit2020/src/models/train.py", line 22, in <module>
    from src.models.tasks import get_task_with_name
ModuleNotFoundError: No module named 'src'

After
(Homekit2020) jovyan@jupyter-mnodini-40ucsd-2eedu:~/Homekit2020$ python3 src/models/train.py fit `# Main entry point` \
>         --config configs/tasks/HomekitPredictFluPos.yaml `# Configures the task`\
>         --config configs/models/CNNToTransformerClassifier.yaml `# Configures the model`\
>         --data.train_path  $PWD/data/processed/split/audere_split_2020_02_10/train_7_day  `# Train data location`\
>         --data.val_path $PWD/data/processed/split/audere_split_2020_02_10/eval_7_day  `# Validation data location`\
>
/opt/conda/envs/Homekit2020/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: /opt/conda/envs/Homekit2020/lib/python3.9/site-packages/torchvision/image.so: undefined symbol: _ZN3c106detail19maybe_wrap_dim_slowEllb
  warn(f"Failed to load image Python extension: {e}")
Traceback (most recent call last):
  File "/home/jovyan/Homekit2020/src/models/train.py", line 22, in <module>
    from src.models.tasks import get_task_with_name
ModuleNotFoundError: No module named 'src'
(Homekit2020) jovyan@jupyter-mnodini-40ucsd-2eedu:~/Homekit2020$ pip install -e .
Obtaining file:///home/jovyan/Homekit2020
  Preparing metadata (setup.py) ... done
Installing collected packages: src
  Running setup.py develop for src
Successfully installed src-0.1.0
(Homekit2020) jovyan@jupyter-mnodini-40ucsd-2eedu:~/Homekit2020$ python3 src/models/train.py fit `# Main entry point`         --config configs/tasks/HomekitPredictFluPos.yaml `# Configures the task`        --config configs/models/CNNToTransformerClassifier.yaml `# Configures the model`        --data.train_path  $PWD/data/processed/split/audere_split_2020_02_10/train_7_day  `# Train data location`        --data.val_path $PWD/data/processed/split/audere_split_2020_02_10/eval_7_day  `# Validation data location`\
>
/opt/conda/envs/Homekit2020/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: /opt/conda/envs/Homekit2020/lib/python3.9/site-packages/torchvision/image.so: undefined symbol: _ZN3c106detail19maybe_wrap_dim_slowEllb
  warn(f"Failed to load image Python extension: {e}")

This is really interesting. Just to be clear, it looks like installing the src module causes the environment to lose contact with the GPUs?
Yeah it seems like that's the case, I thought it might be inaccessible from any newly created conda environment; but, I created a testEnv and installed cudatoolkit and it's still able to access the GPUs

(testEnv) jovyan@jupyter-mnodini-40ucsd-2eedu:~$ conda list
# packages in environment at /opt/conda/envs/testEnv:
#
# Name                    Version                   Build  Channel
(testEnv) jovyan@jupyter-mnodini-40ucsd-2eedu:~$ conda install cudatoolkit
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.12.0
  latest version: 4.14.0

Please update conda by running

    $ conda update -n base conda

## Package Plan ##

  environment location: /opt/conda/envs/testEnv

  added / updated specs:
    - cudatoolkit

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _openmp_mutex-4.5          |            2_gnu          23 KB  conda-forge
    cudatoolkit-11.7.0         |      hd8887f6_10       831.6 MB  conda-forge
    libgomp-12.1.0             |      h8d9b700_16         459 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       832.1 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-2_gnu
  cudatoolkit        conda-forge/linux-64::cudatoolkit-11.7.0-hd8887f6_10
  libgcc-ng          conda-forge/linux-64::libgcc-ng-12.1.0-h8d9b700_16
  libgomp            conda-forge/linux-64::libgomp-12.1.0-h8d9b700_16
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-12.1.0-ha89aaad_16

Proceed ([y]/n)? y

Downloading and Extracting Packages
_openmp_mutex-4.5    | 23 KB     | ###################################################################################################################### | 100%
cudatoolkit-11.7.0   | 831.6 MB  | #####################################################################################################################6 | 100%
cudatoolkit-11.7.0   | 831.6 MB  | ###################################################################################################################### | 100%
libgomp-12.1.0       | 459 KB    | ###################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: / By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html

done
(testEnv) jovyan@jupyter-mnodini-40ucsd-2eedu:~$
(testEnv) jovyan@jupyter-mnodini-40ucsd-2eedu:~$ python3
Python 3.9.10 | packaged by conda-forge | (main, Feb  1 2022, 21:24:11)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torcch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'torcch'
>>> import torch
>>> exit()
(testEnv) jovyan@jupyter-mnodini-40ucsd-2eedu:~$ python3
Python 3.9.10 | packaged by conda-forge | (main, Feb  1 2022, 21:24:11)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
True
>>>

I'm not able to duplicate this. What happens if you try to install any other package with pip install -e .? Could you try making a dummy package and installing it that way? That would help me figure out if the bug is specific to homekit2020.

I think the problem was with the model of GPU being loaded into my instance. I've found when using NVIDIA GeForce RTX 2080 TI, I'm able to access the GPUs from within the conda environment. Do you know what GPUs are typically used for Homekit2020?

That's odd - it should run fine on a 2080Ti. We have a few of those in the bdata lab and it hasn't been an issue in the past. It could be an issue with your local CUDA drivers, but I'm just speculating here. I'm going to close this issue and will reopen if anyone has similar problems.


[BUG] fitHeight not set height

If set fitHeight = true,
The panel size becomes larger than the window size and goes down, the scrolling of the internal content does not appear.
<div class="pane" style="transform: translateY(0px) translateZ(0px); height: unset; cursor: grab; transition: initial;"><ion-drawer style="display: block; transition: opacity 300ms ease 0s; overflow-x: hidden; height: unset; visibility: unset; pointer-events: unset;">

@ArseniyXaoc Please share repo, code or reproduction environment on jsfiddle or similar, so I can help quickly.

Hi @roman-rr I'm getting the same missing scroller issue when using fitHeight feature. It can be replicated on your auto height fiddle example https://jsfiddle.net/romantonoff/b4s5kjdr/ (just populate more text to trigger overflow)

@ArseniyXaoc @bghub1
It should be fixed in tag v.1.4.21 please try.

Hi, @roman-rr I'm still experiencing the same issue after updating to 1.4.21. Scroller only seems to work properly if FitHeightModule module is disabled.

@bghub1 Sorry for late reply. Please check this example https://jsfiddle.net/romantonoff/xzg2aedq/
Here is scroll available from panne initialization, when the height is more than window.
fitHeight is enabled on this example and version is 1.4.21 using.

Hi, @roman-rr I've retested it and it's now working as expected 🎉 Thank you


Sorting algorithms for even better performance

It seems the sorting algorithm currently used is some variant of merge sort. If someone uses sorted outputs a lot then the complexity and practical limitations of the sorting algorithm start to matter a lot (I didn't do any benchmarking so I can't tell how big the difference will be in case of libdbmx).
There is Quadsort which is even a tiny bit faster than quicksort with identical algorithmic properties except for stability where Quadsort is stable.
For low-memory embedded systems there is a fixed-mem variant of Quadsort called Blitsort.
Btw. there are other gems like https://github.com/gerben-s/quicksort-blog-post/blob/master/blog.md but they're mostly not stable :cry:.

It's great that you want to help me improve something in libmdbx.
Nonetheless, if you want to play these games with useful, then you should (not be naive, but) look deeper and more carefully into libmdbx.

There are three variants of sorting inside libmdbx:

Sorting of page number lists, i.e. sorting of unique 32-bit integers.
Sorting of dirty page list, i.e. sorting of short structs with unique 32-bit integer keys.
Partial relaxed sorting by "weight" for "first N" of subset dirty pages to spilling/outing, i.e. partial-sort with extraction from a set by functional/calculated keys.

The third case uses custom ad-hoc algo based on radixsort.
This is a very cold code (i.e. it is executed extremely rarely), and the specifics handling is much more important than the speed of the sorting itself.
I don't think that this can be improved, especially anything related to sorting, sine a structure of the algorithm is extremely close to the theoretical limit.
The first two cases uses:

for large (>= 333) chunks: radixsort with tricks to minimize iterations and avoid extra copying;
for small (<= 16) chunks: optimal sort network (aka bitonic sorter) with some tricks for CMOV and VLIW;
for other chunk sizes: state-of-the-art tricked quicksort.

There are known nothing could "beat" radix sort for large chunks and optimal sort network (depth-optimal) for small ones.
So sorting in libmdbx can lose out only for specific chunks sizes if quadsort will be faster than my implementation based on quicksort with all the tricks used.
I will play with quadsort (for instance with this simple  benchmark of sorting).
However, (preliminary) for now I don't see any reasons to libmdbx's sorting be noticeably slower than any other sorting (in the libmdbx's internal use cases).
A recursive merge sort isn't used, but a single-pass merge (with only a single branch on modern CPUs) is used for lazy sort of unsorted tail of dirty page list.
I.e. if we have a unsorted tail which is ≈four times less than sorted part of a list, and a whole list size is not reasonable for radix sort, then we sort the tail and merge it with sorted part at be begin of dirty pages list.
This is known to be the best solution, provided that the thresholds (for switching to radix sort and using sorting of tail with merging instead of full sorting) are optimally selected.
The optimal choice of such thresholds is quite a difficult task, since it fundamentally depends on the characteristics of a target platform, quality of compiler's optimization and the nature of a data (the ratio of the cost of comparison to movement ones).
So we should hardcode some not-a-bad/suboptimal values, either run a benchmark to choice ones during configure the library build.

In addition to the above, it is worth noting that it is very likely that in libmdbx it is reasonable reducing the sorting-related thresholds from 16 to 12.
For instance, seems the network sort width should be limited to 12 which reduces network deep from 9 to 8. This will reduce the size of the code, but (presumably) will not have a noticeable effect on the sorting speed.

Wow, thanks a lot for taking the time and describing in depth how libmdbx approaches sorting as of now.
Yes I've looked at the code just extremely briefly and this was the first idea which popped in my head. Of course it's all about real benchmarks and not synthetic ones. I just wanted to share those links as I find them kind of matching your goals to build a very fast DB.
Feel free to close this if you think there are no actionable items (though I'd very much like to see some real measurement results if you'll try e.g. quadsort or faster than usual bitonic sorters bubble sort for small inputs in libmdbx).

... faster than usual bitonic sorters bubble sort for small inputs ...

Just for clarity:

Main good property of bubble sort in comparison to binotic sort (the kind of sorting network) is it can exit/stops early.
So some kinds of bubble sort may be a fastest sorting, especially for a sorted data ;)
Contrary, sorting network stands for a fixed number of comparisons and could be branch-less using CMOV instruction.
Moreover, an several kind of (sub)optimal sorting networks can be constructed which performs a minimal number of operations, maximal number of operations in parallels, or with an ability of early exit like an unrolled buble sort.
So sorting network could beat any kind of buble sort, but it should be properly constructed for target platform (for the particular number of registers and number of parallel executed operations).

MDBX currently uses well-known optimal sorting networks (with the 3-16 entries), which are targeting CPU with large register file and many of execution units. This is good for E2K (256 registers, 8 ops/clk) and not-bad fpr modern x86_64 CPUs (32-64 registers, 4-6 ops/clk).

This is good for E2K (256 registers, 8 ops/clk) and not-bad fpr modern x86_64 CPUs (32-64 registers, 4-6 ops/clk).

Interesting - didn't know libmdbx is being tested on Elbrus CPUs. Does it run somewhere in production? If you have any links, please post them, thanks!

No significant differences. It just works.
user@elbrus ~ $ lscpu
Архитектура:         e2k
Порядок байт:        Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Ядер на сокет:       8
Сокетов:             1
NUMA node(s):        1
ID прроизводителя:   Elbrus-MCST
Семейство ЦПУ:       5
Модель:              2
Имя модели:          E8C2
CPU MHz:             1500
BogoMIPS:            3000.00
L1d cache:           64K
L1i cache:           128K
L2 cache:            512K
L3 cache:            16384K
L3 cache:            16384K
NUMA node0 CPU(s):   0-7

user@elbrus ~ $ cc --version
lcc:1.25.17:May-16-2021:e2k-v5-linux
gcc (GCC) 7.3.0 compatible

user@elbrus ~ $ cd libmdbx/
user@elbrus libmdbx $ make test
// TIP: Use `make V=1` for verbose.
// TIP: Clone and build the https://github.com/pmwkaa/ioarena.git within a neighbouring directory for availability of benchmarking.
  MDBX_BUILD_OPTIONS   = -DNDEBUG=1
  MDBX_BUILD_TIMESTAMP = 2021-09-06T14:29:12+0300
// TIP: Use `make options` to listing available build options.
  CC       =/usr/bin/cc | lcc:1.25.17:May-16-2021:e2k-v5-linux
  CFLAGS   =-std=gnu11 -O2 -g -Wall -Werror -Wextra -Wpedantic -ffunction-sections -fPIC -fvisibility=hidden -pthread -Wno-error=attributes
  CXXFLAGS =-std=gnu++2a -O2 -g -Wall -Werror -Wextra -Wpedantic -ffunction-sections -fPIC -fvisibility=hidden -pthread -Wno-error=attributes
  LDFLAGS  =-Wl,--gc-sections,-z,relro,-O1 -lm -lrt -pthread
// TIP: Use `make help` to listing available targets.
  CLEAN for build with specified flags...


Fixed the error that when the driver scan result is empty, iwe_stream…

Summary
Fixed the error that when the driver scan result is empty, iwe_stream->len is a random number because the user data buf is not initialized.
Impact
minor
Testing

let's ignore the ci false failure.


Using a Goat Horn Cuts off OST Overhaul Music

Hi! Whenever I use a Goat Horn on the 1.19 version when an OST Overhaul song is playing, it will instantly cut off the music, which I assume is due to too many sounds playing at once

This is due to the goat horns for some reason playing on the music disc channel 😅, I like the way it plays out so I will make it just resume your music after the goat horn is finished and if I can't do that I'll fix it

I'm also noticing that it'll cut off when a note block goes off, which isn't often, but certainly weird. I would think that it wouldn't stop for a single note block, but I could be alone in that.


Adding serde to Proof

Serde for Proof

Codecov Report

Merging #514 (efa2c43) into main (595ae77) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main     #514   +/-   ##
=======================================
  Coverage   94.36%   94.36%
=======================================
  Files          62       62
  Lines        8714     8714
=======================================
  Hits         8223     8223
  Misses        491      491

Impacted Files
Coverage Δ

crypto/src/merkle_tree/proof.rs
98.73% <0.00%> (ø)

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


[Windows D3D9] Guitar Hero World Tour crash after intro videos (before main menu)

Guitar Hero World Tour crash after intro videos (before main menu, right after it says to "press any button to continue")
Theres a mod called GHWT:Definitive Edition with its own .exe which loads with DXVK much further - into menu, but after you pick an instrument and move to songs setlist it crashes too
Software information
Guitar Hero World Tour for PC (D3D9)
System information

GPU: RX 580 8gb
Driver: 22.4.2
DXVK version: 1.10.2
Windows 10 21H2

Apitrace file(s)
https://www95.zippyshare.com/v/AXbaRrfV/file.html
mirror: https://drive.google.com/file/d/17rc3-DNxEAsGo40Swc1ylS80JCoiMe-I/view?usp=sharing
Log files

d3d9.log: GHWT_d3d9.log
GHWT_Definitive_d3d9.log

Hi there.
Your trace link doesn't appear to be working for me. It just writes 403 Forbidden

Hi there. Your trace link doesn't appear to be working for me. It just writes 403 Forbidden
https://drive.google.com/file/d/17rc3-DNxEAsGo40Swc1ylS80JCoiMe-I/view?usp=sharing

Logs indicate this is another case of #1318.
Try #2663

This should be fixed now. Please reopen if it's not.

This should be fixed now. Please reopen if it's not.
Ive used build from here - https://github.com/doitsujin/dxvk/actions/runs/2685945402
issue present

That build is 12 days old. It doesn't have the fix.

That build is 12 days old. It doesn't have the fix.
please can you share the build with the fix?

@TheDeusDeceptor The fix should be available in latest master which you can find a build of here https://github.com/doitsujin/dxvk/actions/runs/2841941581

yes it works now! just used "d3d9.allowDirectBufferMapping = false"
now it gives about 30fps boost and less microstutters
thanks everyone!

bruh the link is dead

how am i supposed to play ghwt now

What link are you even talking about?


Index the QPDF object cache by object id

@jberkenbilt , could you review with a focus on handling of dangling references and especially for the JSONReactor, handling of multiple objects with same id / different gen or gen different to the xref table entry for the id.
The other main question is whether replacing a non-existing object is a valid operation, and if not, how it should be handled.


Fix zoom level not updating in the button UI on the right

When i zoom in or out with the mouse wheel, the zoom state button doesn't update its zoom level and it just stays at 100%

fixed in https://github.com/bertyhell/openwebcad/commit/c6d92806c249fbe0586d14d34aa19679b8daaf3d


Problem in domain plotting, based on Lambert projection

I was trying to view/plot the domains using PostWRF but when I run ./postwrf.sh I get the following Error:
_PostWRF: Drawing the map of the model domain ...
Specify The Format Of The Images: 1, 2, or 3?

x11
pdf
png
#? 2

Specify The Output File Name (Press Enter for the default name): domains
warning:MapSetTrans: map limits invalid - using maximal area
fatal:Subscript out of range, error in subscript #0
fatal:An error occurred reading xf
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 3950 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 4165 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 4967 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 183 in file modules/domain.ncl
PostWRF: Drawing the map of domain finished._

The pdf generated does not have any plot, it does show some plotting which is wrong.
If I select the x11 option the display opens but shows no plot and after that it closes on its own.
I am able to plot domains using $ ncl util/plotgrids_new.ncl    (NCL v6.6.2 is installed using miniconda3)

I am attaching my wps namelist, the plot generated by PostWRF and the plot generated by plotgrid.ncl .
output_from_ncplot.pdf
output_from_PostWRF.pdf
namelist.wps.txt

PostWRF can plot the model domains if they are based on the Lambert projection.
In the new versions, this problem will be handled to support other projections as well.

Hello, I am experiencing the same error you are reporting and would like to ask how you solved this last problem when drawing “Mercator projections”?

I was trying to view/plot the domains using PostWRF but when I run ./postwrf.sh I get the following Error:
_PostWRF: Drawing the map of the model domain ...
Specify The Format Of The Images: 1, 2, or 3?

x11
pdf
png
#? 2

Specify The Output File Name (Press Enter for the default name): domains warning:MapSetTrans: map limits invalid - using maximal area fatal:Subscript out of range, error in subscript #0 fatal:An error occurred reading xf fatal:["Execute.c":8637]:Execute: Error occurred at or near line 3950 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 4165 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 4967 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 183 in file modules/domain.ncl
PostWRF: Drawing the map of domain finished._

The pdf generated does not have any plot, it does show some plotting which is wrong.
If I select the x11 option the display opens but shows no plot and after that it closes on its own.
I am able to plot domains using $ ncl util/plotgrids_new.ncl    (NCL v6.6.2 is installed using miniconda3)

I am attaching my wps namelist, the plot generated by PostWRF and the plot generated by plotgrid.ncl . output_from_ncplot.pdf output_from_PostWRF.pdf namelist.wps.txt

Hi @XinzhuFang
I am working on this issue. It will be probably solved next week.

Hi,
The question about lambert and mercator projections is related only for plotting model domains and contour plot?
I mean, when I extract data using DATA EXTRACTION (ON SURFACE), the wrfout file need to be in lambert projection?
I'm sending a image to clarify my question.
Congrats for postwrf tool!

Hi @VladimirSobral
All wrfout files with any projection must be plotted by PostWRF without problems. However, the image you inserted looks weird. So for more investigation on your case, you can apply the command below on your wrfout_file and send out.nc to me:
ncks -d Time,1,2 wrfout_file out.nc

Hi anikfal
Thank you for your reply.
Attached the file out.nc.
Just to inform you about some information of my area:
City's name: João Pessoa - Brazil
Projection of shapefile: WGS 84 25s
out.zip

@VladimirSobral
It seems you have stored every time slot of the WRF output in a single file. So there is no Time variable in the file. This issue makes some problem for plotting the data.

Try to plot the domains again. I updated it and it should be okay now.


BLD: implement compiler version checks for GCC and MSVC

This follows up on gh-16589, where we agreed on a new minimum GCC version.
I don't think we should implement checks for Clang or other compilers yet, let's first see this is robust. GCC we use the most so we need the check, and MSVC we know that we currently get obscure errors with vc141, so enforce we get >=vc142.
Doing this early in the release cycle will be good - let's see what (if anything) this triggers for folks.

Maybe this is obvious--I haven't tried to figure the details of the Azure configuration--but how did the Azure CI jobs that explicitly use gcc 5 and gcc 6 manage to pass?

Maybe this is obvious--I haven't tried to figure the details of the Azure configuration--but how did the Azure CI jobs that explicitly use gcc 5 and gcc 6 manage to pass?

It doesn't use Meson yet.

It doesn't use Meson yet.

Do you want to change wheel_optimized_gcc6 as part of this PR (would be cleaner IMO) or separately?

Do you want to change wheel_optimized_gcc6 as part of this PR (would be cleaner IMO) or separately?

No, definitely not. That is a large exercise, and given that we're going to drop/update all numpy.distutils-based CI jobs soon, I don't want to do that piecemeal now.

Caution: this doesn't have a backport label, while some PRs that modify related code do. For now, I won't backport this b/c I'm not 100 % certain when the version checks should be enforced version wise.
I may also remove from backporting another related PR because of this. If you want this backported, add the label and ping me here and anywhere else I mention removing a backport label.


Iodine with Sage HTML Forms (HTML Forms Plugin) and Sage 10

This is more of a question than an issue.
I am wondering if it is possible to use Iodine with Sage HTML Forms:
https://github.com/Log1x/sage-html-forms
Sage HTML Forms is a simple package for the HTML Forms plugin that allows you to easily render forms using a corresponding Blade view (if one is present) with Sage 10.
I've introduced Iodine into my WP Sage 10 theme and I've setup the following form in a Blade view.
<x-html-forms
    :form="$form"
    id="contact"
    class="flex flex-wrap w-full space-y-8"
>

            <input
                name="name"
                id="name"
                type="text"
                class="w-full border border-gray-400 px-4 py-2 placeholder-gray-500"
                placeholder="Name..."
            >

            <input
                name="email"
                id="email"
                type="email"
                class="w-full border border-gray-400 px-4 py-2 placeholder-gray-500"
                placeholder="Email Address..."
            >

            <textarea
                name="message"
                id="message"
                class="w-full border border-gray-400 px-4 py-2 placeholder-gray-500"
                placeholder="Enter your message..."
                rows="6"
            ></textarea>

        <input
        type="submit"
        value="Submit"
        class="btn-gray-700"
        onclick="register(event)"
      />

</x-html-forms>

And this simple script:

The validation does work on these fields but processing the form does not work.

When HTML Forms processes "Form Actions" – it simply fetches each input name to create the usable variables.

This would be an excellent tool to add to my belt and I'm sure a lot of folks in the Roots community would love it as well. Any idea what I could do differently to allow this functionality to work with the mentioned tools?

Hi there,
To be honest, I'm not really sure if I can contribute anything here. I have no experience with any of the tools you mention, but just going by what you've said, it appears that the issue has nothing to do with Iodine itself.
Your script looks fine to me, so I suggest maybe opening an issue on the relevant repositories.
Sorry I can't be of more help.


Add way to generate monthly data offline (without any querying)

The intention is to save on querying if need be, in the light of Twitter's changed stance regarding rate limits.

Not worth the cost. Would save queries, but all tweets would then have outdated metrics in the monthly dumps.


raidboss: Allow Skins to Override Timerbar Elements

Using parts, you can override parts of custom elements. Hopefully this will alleviate some of the necessary touching of TypeScript components and allow users to completely override via CSS in their user raidboss.css file instead.

This looks great, and is really nice cleanup.  Thank you for investigating and digging this up.

Is there an example of how a user would override using raidboss.css? I noticed Lippe skin changed and now the timeline and text are colored based on the intensity and I personally prefer it back to the original as some of the colors make it harder to see.


Replace KdPrintEx calls (in NetEbpfExt) with Trace logging calls (#1466)

Description
This PR replaces all KdPrintEx calls in the ebpf-for-windows\NetEbpfExt project with suitable NET_EBPF_EXT_LOG_XXX equivalents.
Testing
These messages are generally printed on encountering errors from WFP API calls, so added some sample log messages to ensure the new tracelogging macros behave as expected. Specifically:

Ensure installation updated and locally modified NetEbpfExt.sys driver on the test VM device (via WinDbgX).
Enable tracing for Windows ebpf drivers.
Run api_test.exe application to generate traces.
Extract traces after termination of the api_test.exe and ensure that the sample trace messages are present in the trace output.

Documentation
No doc updates needed for this change.

Fixes #1466


Adds horizontal scrolling.

CoffeeScript implementation from the discussion in #69.
I followed the existing pattern for binding scope.infiniteScrollHorizontal to scrollHorizontal with $watch. I don't think this is needed since it's not going to change after init. Same for useDocumentBottom. Would either of these need to evaluated after load? Could we save a few listeners with just a simple assignment?

@mhoffmeyerDC please update the tests with this feature.

Greetings! is this work in progress or horizontal infinite scroll will never happen?
cheers

Any news on this? @mhoffmeyerDC - did you create the tests for these? @graingert - Would it be difficult to get this into ngInfiniteScroll soon? Even without @mhoffmeyerDC responding?

Would be great to include this feature to release, guys!

Much needed feature, would be great to add this into our next release :)


[Snyk] Upgrade @azure-tools/typespec-autorest from 0.46.0 to 0.47.0

Snyk has created this PR to upgrade @azure-tools/typespec-autorest from 0.46.0 to 0.47.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 7 versions ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: @azure-tools/typespec-autorest

0.47.0 - 2024-10-10

0.47.0-dev.5 - 2024-10-09

0.47.0-dev.4 - 2024-10-01

0.47.0-dev.3 - 2024-09-26

0.47.0-dev.2 - 2024-09-17

0.47.0-dev.1 - 2024-09-13

0.47.0-dev.0 - 2024-09-11

0.46.0 - 2024-09-11

    from @azure-tools/typespec-autorest GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@sylvainsf , fyi..this dependency overlaps and is being handled by Dependabot. We are currently allowing only patch updates for this dependency.


Update wording

What are you changing in this pull request and why?
Hey @jtcohen6 or @dbeatty10! @kbrock91 requested we change this a tiny bit. Can you let me know if this wording is OK? I also took the passive voice out to make the English a little simpler.
She also asked if we have a list / matrix available of which platforms support constraints and whether they are supported and/or enforced ? Or a link to a page with that info?
Checklist

[x] Review the Content style guide and About versioning so my content adheres to these guidelines.
[x] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

How do you think we should make that extensible, for all the other DWHs?
Do you want to do that as part of the scope of this PR, or should we open a new issue?

Such good questions. I like Doug's suggestions, so we could maybe riff on them in the issue I opened to follow-up with this.  https://github.com/dbt-labs/docs.getdbt.com/issues/3282

Merging because this wording was approved by Jeremy earlier!


Is this design expensive than directly use azure openai console deployment with ai search index?

Please provide us with the following information:

In this code project, i found it is getting the file content by ai search, then pass the question and ai search three document content result to azure open ai.
when using console, i see the deployment is able to integrated with ai search already. Can i directly call this api and then azure open ai will handle the integration with ai search directly? Then i dont need to pass document content to azure open ai to reduce token spent.
is it possible or concept correct?
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

The Azure OpenAI models support a dataSources parameter for directly connecting to an Azure AI search index, and that's whats used by Azure OpenAI On Your Data in the studio. If you'd like code that does that, try this repo:
https://github.com/microsoft/sample-app-aoai-chatGPT
We don't yet have that API integrated here, as I believe it might be incompatible with GPT4-vision, we're investigating.

You would still pay for tokens consumed, as far as I understand, however.

Thanks.

close


GB Studio crashes when playing mod file

Describe the bug
When playing a music (.mod file), BG Studio crashes with this error:
Uncaught TypeError: Cannot read property 'note' of undefined

file:///Applications/GB%20Studio.app/Contents/Resources/app.asar/.webpack/renderer/vendor-scriptracker/index.js:L2598C:33

To Reproduce
Steps to reproduce the behavior:

Create an empy project
Go in the music view and enable .mod music format
Import a mod file (I used the French National Anthem from the community)
After select "France Intro"), hit the play button

Expected behavior
The French National Anthem occurs
Screenshots

Platform (please complete the following information):

MacBook Pro 2021 (M1 Pro) - macOS 12.6
GB Studio 3.1.0 installed via Homebrew

Additional context
The problem occurs no matter the mod file imported

this happens to me as well on every mod-file from the community-repo, which is really frustrating.
running gb-studio 3.1.0 on Ubuntu 20.04 x86_64 (git:2057d7d0)

By the way, i found out whats going wrong here, and i think you can close the issue. The GB-Studio-Community-Assets Project moved their Tracker files to git-lfs, because of Line-Ending-Problems when downloading zipped files. However, if you don't have git-lfs isntalled, and clone the repo, you will get dummy-text-files with an git-lfs-hash, instead of the actual modfiles. GB-Studio cannot play them, because they aren't modfiles.
Solution:
Install git-lfs and clone the repo again.

This was my problem. Thank you. Had no idea LFS did this.

This was my problem. Thank you. Had no idea LFS did this.

you're welcome. me neither. This confused me more, than it should have  :)

btw, i am pretty sure, this issue can be closed...


Listed performance metrics for datasets

Hi, very cool library.
Do you have a sense for how this scales?
Is there a maximum user or item count at which point you would start to worry about this approach?
I didn't see any stats listed.
Thanks!

Hi @mattbucci, you'd need to test the specific functions you'll use to get a sense of this for your application.


Issues when trying to develop with model-viewer

Description
When trying to develop for and with model-viewer, I ran into a couple issues so I thought it makes sense to track those.

scripts and pathes are set up for Linux/Mac only, don't work on Windows (probably just a / vs \ issue)
when running the tests, at some point early the console just sat there idling - I just guessed from some of the debug logs that I needed to have Chrome installed (which makes sense), would be great if you add that to the dev docs (I usually do have it installed everywhere, but this was a fresh VM). Installed Chrome and re-run the command - works.

I'm getting page crashes when khronos-AlphaBlendModeTest runs

OS

[ ] Android
[ ] iOS
[ ] Linux
[X] MacOS
[ ] Windows

Thanks for your on-going feedback and attention to these issues @soraryu 🙌

scripts and pathes are set up for Linux/Mac only, don't work on Windows (probably just a / vs \ issue

On this topic, we have a few outstanding issues (#562, #805) and as has been mentioned there and elsewhere, Windows development is an on-going blind spot for us. At Google, very few engineers develop on Windows, and all internal Google projects/products are developed in a Linux environment. The chances of us doing regular development on Windows in the future are very low. So, the only way we can offer support for Windows on the development side is if someone from the community can champion Windows-compatible development. PRs are welcome!
That said, it should be possible to install @google/model-viewer and @google/3dom as NPM dependencies on Windows and use them in your project. If that is not possible, then I would consider that a bug in our project that we can and will fix.

when running the tests, at some point early the console just sat there idling - I just guessed from some of the debug logs that I needed to have Chrome installed (which makes sense), would be great if you add that to the dev docs (I usually do have it installed everywhere, but this was a fresh VM). Installed Chrome and re-run the command - works.

This is kind of weird, and not entirely expected. We may have accidentally switched from running Chrome that is installed via puppeteer to using the locally installed Chrome. I would consider this a bug that we should look into.

I'm getting page crashes when khronos-AlphaBlendModeTest runs

I have seen this when running fidelity tests on low-end VMs (I always assumed it was due to exhausting system resources), but otherwise this is unexpected. I would be interested to hear what you find if you investigate this any further.

Did some more tests with this, trying to get it to run on Windows.

there's some issues in fetch-khronos-gltf-samples.sh that prevent it to run from Windows ( . not found)
I was able to run it from WSL (after changing line ends from CRLF to LF, might be that git checkout from windows decided to change that)
I was able to pingpong back and forth with some commands working in Powershell and some commands working in WSL/Ubuntu
- I was able to npm run build on WSL (yay!)
npm run test on Windows always has issues with missing files (the ones in shared assets, which are clearly there)
npm run test on WSL does not find / can't start ChromeHeadless and I couldn't find a way to install it

I tried https://stackoverflow.com/questions/54090298/karma-use-windows-chrome-from-wsl but then it's stuck on "Starting browser ChromeHeadless"

@bsdorra has gotten this working a bit better on WSL and he said he might write up some tips that we can document.

@hybridherbst, @elalish I only figured out how to run the fidelity-tools. With 'npm run test' I also got stuck at some point...
Steps that worked for me so far:

Managing the repo from WSL instead of Win gets rid of the problem with the line endings in bash scripts. It might make sense to enforce LF line ending for .sh files via .gitattribute. This would would stop git from messing with the line ending of those files on Windows if core.autocrlf=true (didn't test this though)

npm install, boostrap and build from WSL just worked without issues

npm run test (WSL): Also stuck on "Starting browser ChromeHeadless", no matter what I tried so far.

npm run test (Win)

Most of the packages use the packages/shared-assets folder, which is getting simlinked into the project folders on setup. The simlink is of course not resolved by Windows, which is the source of the missing file issue. So I copied the shared-assets folder into the project folders manually. Not nice, but it works.
Test execution complains about missing modules
npm install karma mocha karma-mocha chai karma-chai karma-mocha-reporter karma-chrome-launcher solves this. I guess those should have been installed during npm install from WSL, not sure why they're missing when running it from Windows.
Puppeteer needs to be reinstalled from Win side. This will fetch the windows chromium executable
npm i puppeteer
npm run test should now successfully run through the 3dom tests. But is stuck again during model-viewer tests
Error: Could not resolve import<EMAIL_ADDRESS>in "lib\three-components\gltf-instance\ModelViewerGLTFInstance.js". That's where I stopped digging into the test execution.

render-fildelity-tools

npm update-screenshots (Win) fails because of missing Chromium. Reinstall puppeteer, as mentioned above, in the render-fidelity-tools subfolder fixed it. I had to remove the package-lock.json file before calling npm i puppeteer.
For some reason the rendered images all had a scrollbar on the right side. What is weird, because the Chromium default should disable those. Enforcing it via flag didn't work either. Settings the fullPage flag for the screenshot function did get rid of the scrollbars, but messed up the image size. Settings the isMobile: true puppeteer launch flag solved the issue 💯

Wow, looks like we have some work to do for windows development still 😳. Thanks for the writeup. The issue with npm run test looks like maybe 3dom didn't get built, or the path to its library files got messed up. The issues with puppeteer might be avoidable with npm run watch:test which keeps a server open so you can run the tests by pointing your browser to the served URL. Still, there must be a way to make this work better. Wish I had a windows box to test on.

One thing I also did is update the lerna config to only use packages/model-viewer. This avoids some of the build issues with the other packages, but still stuck running the tests.
Also, I had to run npm install from both Windows and WSL (and manually pull the khronos samples in Windows). Feels like there's not much missing but a bit.


enhancement: upgrade to jindo cache engine

Ⅰ. Describe what this PR does
Change the default engine implementation of JindoRuntime to jindocache.
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
Related: #3672

/test fluid-e2e

/retest


Latest package causes compile errors

This package causes errors:
https://github.com/rive-app/rive-unity.git?path=package#v0.3.1-canary.36

Which version of Unity are you using?

Also, I'm curious, did you remove the default Unity UI package (com.unity.ugui) from your project at some point? Those types are from that package.

I am using Unity 6000.0.23f1
I did remove the Unity UI package at one point because it wasn't required but I guess now it is required. Adding that package fixed the error. Please add to the documentation that this package is a required dependency.

Oh, thanks—that’s really helpful to know. Those errors shouldn’t have been logged, so it’s something we plan to address before the official v0.3.1 release.
The canary versions are great for trying out new features and updates, but are more likely to have bugs. The non-canary releases go through more thorough QA and typically come with supporting documentation.
The upcoming v0.3.1 release will include the new RivePanel and RiveWidget components, which depend on com.unity.ugui because they use the EventSystem for pointer input. We’re considering either including com.unity.ugui as a package dependency or making it optional, with the caveat that the new components and scripts won’t show up unless the package is installed.


Add support for mapping inner class

Is your feature request related to a problem? Please describe.
The internal class can correspond to properties declared as private set.
Describe the solution you'd like
record CarDto(string? Id);
partial class Car
{
    public string? Id { get; private set; }

    public void Update(CarDto dto)
    {
        Mapper1 mapper = new Mapper1();
        mapper.MergeCarDto(dto, this);
    }

    [Mapper(UseDeepCloning = true)]
    internal partial class Mapper1
    {
        public partial void MergeCarDto(CarDto source, Car target);
    }
}

Describe alternatives you've considered
Currently using Automapper, but the performance is not optimal.
Additional context
N.A.

This should already work with 2.9.0-next.4 shouldn't it?
With https://github.com/riok/mapperly/pull/597 even private fields are mapped. https://github.com/riok/mapperly/pull/597 has not yet landed in a next release and probably won't make it into 2.9.0. However, it will be included in 2.10.0-next.1. https://github.com/riok/mapperly/pull/601 adds an explicit test case for exact this use case.

#597 seems not to be in 2.9.0-next.4. I tested the example from #601 using 'main,' but it didn't work. Did I do something wrong
Thank you for your help
Example
public partial class A
{
    private string _value;

    [Riok.Mapperly.Abstractions.Mapper(UseDeepCloning = true)]
    internal partial class Mapper
    {
        public partial A Clone(A source);
    }
}

Current generation
public partial class A
{
    internal partial class Mapper
    {
        public partial global::ConsoleApp2.A Clone(global::ConsoleApp2.A source)
        {
            var target = new global::ConsoleApp2.A();
            return target;
        }
    }

https://github.com/riok/mapperly/pull/597 is not included in a next release, thats correct. It will probably only land in 2.10.0-next.1. However, mappers inside other classes will already work with 2.9.0-next.4, but without mapping private fields (only mapping public fields/properties). With #597 all accessible fields are mapped.

If declared as "private set," the following issues will arise.
Thank you for your help
Example
public partial class A
{
    private string _value;
    public string Name { get; private set; }

    [Riok.Mapperly.Abstractions.Mapper(UseDeepCloning = true)]
    internal partial class Mapper
    {
        public partial A Clone(A source);
    }
}

A.Mapper.g.cs
public partial class A
{
    internal partial class Mapper
    {
        public partial global::ConsoleApp2.A Clone(global::ConsoleApp2.A source)
        {
            var target = new global::ConsoleApp2.A();
            target._value = source._value;
            target.<Name> k__BackingField = source.<Name> k__BackingField;
            target.Name = source.Name;
            return target;
        }
    }
}

If declared as "private set," the following issues will arise.
Thank you for your help
Example
public partial class B
{
    public string Id { get; private set; }

    [Riok.Mapperly.Abstractions.Mapper(UseDeepCloning = true)]
    internal partial class Mapper
    {
        public partial B Clone(B source);

        public partial B Update(C source);
    }

   public record C(string Id);

}

B.Mapper.g.cs
public partial class B
{
    internal partial class Mapper
    {
        public partial global::ConsoleApp2.B Clone(global::ConsoleApp2.B source)
        {
            var target = new global::ConsoleApp2.B();
            target.<Id>k__BackingField = source.<Id>k__BackingField; //?
            target.Id = source.Id;
            return target;
        }

        public partial global::ConsoleApp2.B Update(global::ConsoleApp2.B.C source)
        {
            var target = new global::ConsoleApp2.B();
            target.Id = source.Id;
            return target;
        }
    }
}

Good find. C# properties are two methods that mutate a private field ie <Id>k__BackingField. Mapperly is trying to map the two fields together. Not sure if this only happens with private set.
Ill see if I can fix it later


Update fs2-core to 3.1.2

Updates co.fs2:fs2-core from 3.1.0 to 3.1.2.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2", artifactId = "fs2-core" } ]

labels: library-update, semver-patch

Superseded by #1213.


Fixed condition check

If class includes "control" it will add it again.
Link to related issue (if applicable)
#1069
Summary of proposed changes
Change condition

Cheers 👍

You are welcome :-)


Dummy commit

This change is

Codecov Report

:exclamation: No coverage uploaded for pull request base (dummy-master@6fe7a35). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             dummy-master     #35   +/-   ##
==============================================
  Coverage                ?   68.1%
  Complexity              ?     216
==============================================
  Files                   ?      27
  Lines                   ?     674
  Branches                ?      16
==============================================
  Hits                    ?     459
  Misses                  ?     210
  Partials                ?       5

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/org/oscm/rest/account/DummyClass3.java
0% <0%> (ø)
0 <0> (?)


[Bug][config-ui] Blueprint/Pipeline labels is missing from config-ui

Search before asking

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

What happened
The API returns bp/pl with labels

However it is nowhere to see these labels on UI except inspecting the JSON
What do you expect to happen
being able to see labels on the config-ui
How to reproduce
create bp/pl with labels
Anything else
No response
Version
main
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

How is the label created on bp and how to display it?

@mintsweet It is a field of the bp/pl from API.


Aliases For Tapus

Also ended up adding some common abbreviations for mons I'm always too lazy to type out + Nebby for Cosmog

Kind of amazed "Xern" wasn't an alias yet.


Student searchbar?

@marimuraki @jsgeiser
Talking with Mari, I heard about one issue that came up during the student support team meeting: the time it takes to reach an individual student's profile and add an intervention.
Mari mentioned the idea of a search bar for locating a particular student by name. How does this GIF seem to you two as a potential solution?

Looks good, @alexsoble! Thanks for creating a separate issue on search --- I had snuck it into #276 :smile:
Question: How could we differentiate between students who have the same name?
I'm not sure how common this is in Somerville (I can check) but having worked at school districts like San Francisco Unified and Miami-Dade, it is not uncommon to have students in the same school / grade / classroom with the same common name e.g., "Selena Gomez", "Alejandro Sanz", etc

@marimuraki — Could be limited by school. Likelihood of students in the same school with same name smaller than students in same district with same name.

@alexsoble: Smaller likelihood is a scenario. I think we should consider this case (also especially if we want to be extensible to other school districts). It's not as uncommon as you might this based on the schools' data I have worked with. True, in terms of magnitude smaller in smaller schools but to me small likelihood == high likelihood != 0 likelihood.

@alexsoble: So in Somerville, looks like there are only 2 students with the same name in the same school (... might also be a data entry issue).

same name
same school
different IDs (local & state)
different grade level
different homeroom

@marimuraki — Gotcha, so we could use grade level as a good differentiator.

@alexsoble: Question on the design cc @AmirHadjihabib
Right now the search bar is placed next to the "Homeroom" dropdown list so looks like the student search is only within that specified homeroom.
Is this the flow you built here https://github.com/codeforamerica/somerville-teacher-tool/pull/311?
I assume that we want to be able to search globally within that school. If that's the flow already, think we should move the search bar above the "Homeroom" dropdown to avoid confusion.

@marimuraki Globally.

@marimuraki I think the point about the search bar positioning is a good one. Positioning the search bar above still makes it look like homeroom-specific search to me:

@marimuraki What do you think about student search bar to the left of homeroom dropdown?

@alexsoble: So from what I understand, the current search flow will take you to the student's PROFILE regardless of the current homeroom view / selected homeroom in dropdown list. Given that the search has no relationship to the homeroom or roster view, it makes more sense to me to have separate those.
Now if the flow of the search is modified to:

show the roster with the students that match that name
list only those homerooms in the dropdown that are relevant

user can then drill down into a homeroom to see only those student matches within that homeroom
in Somerville, likely only one homeroom

... then the 3rd design make sense.
cc' @AmirHadjihabib

@marimuraki
I see... How about this then?

@alexsoble: Of the designs, I like this option if the flow is Search >> Profile. Otherwise, for the flow Search >> Roster, I like the 3rd.
Separate but related question (didn't notice it before): What is the purpose of that "Roster" link?

@marimuraki: What do you this is the best flow option? If the goal is to let educators get to the profile view the quickest to add interventions / comments for individual students, I would say Search >> Profile is best.

@marimuraki: And you're right, the 'Roster' link doesn't make much sense on the Roster page. :)

@alexsoble: The Search >> Profile makes sense:

find student
review student profile information
add intervention / progress notes

@jsgeiser: Does this search / work flow work well in the context of the SST / MTSS meetings?
So then the last design makes sense (minus the "Roster" link).
Also, what do you think of the text "Search for student" instead of just "Student"?
cc' @AmirHadjihabib

@marimuraki "Search for student" makes sense!

That makes sense for work flow. IN the HR dropdown menu, what about an "All Students" option (with it defaulting there then you can pick a HR if you want to search within just one HR)? I also wonder if once you write in the student's name (using first or last), a list of students with that name comes up in a roster first and you click on the students name to get to their page. That is an interface similar to what we usually have in app's/databases that we currently use. Sometimes when looking for a student, we might have only a part of the name and want to be sure we have everyone listed in the school to know we have the right student.

Also, if it appears in a roster, grade level or even HR could be a differentiator.

Thanks @jsgeiser! @alexsoble, thoughts? Re-opening this issue as we continue the convo around refining search.

@jsgeiser @marimuraki — We should draw out these ideas when we're all back in Somerville, don't have a clear visualization in mind of what this feature would look like right now.

@alexsoble: Sounds good! I have a good idea of what @jsgeiser is describing so let's us touch base on Monday when you are back in the office to sketch it out.

I can be available by phone if you want to talk more about it.

Closing this main issue since the search bar is built.
Opening two new ones to reflect planned enhancement based on Jill's feedback, plus a bugfix:

#410
#411


"global" run time enable/disable/reset

Enables/Disables auditing for all entities or restore default configuration.
examples:
disable auditing for all actions in controller
    public function __construct(AuditConfiguration $auditConfiguration)
    {
        $auditConfiguration->enableAudit(false);
    }

disable auditing for only some actions
    public function administrator(AuditConfiguration $auditConfiguration)
    {
        $auditConfiguration->enableAudit(false);
        // do things that I know I am doing and don't need a record of.
        $auditConfiguration->enableAudit(); // is 'default'
        // finish things that I want tracked as per normal configuration
    }

This is useful for example, especially at the class level in a __construct where you may be dealing with many entities, if not all of those you want tracked.
For my case, I don't need a change log/tracking for the creation of new records as this is recorded in the record it's self (who created them).  It is only after creation and approval I need an audit/change log.

sounds good to me.  I will work through your suggestions.

I re-forked this, and thus will make a new pull request.


Swift SDK update to node 1.5 - Part 1

Reward Size in USD
1000 USD
Reward category
SDK
Description
We have developed Swift SDK for Casper node version 1.4 for the following methods:

chain_get_state_root_hash
info_get_peers
info_get_deployment
info_get_status
chain_get_block_transfers
chain_get_block
chain_get_era_info_by_switch_block
status_get_item
state_get_dictionary_item
state_get_balance
state_get_auction_info
account_put_deploy

Because the maximum value of the proposal is $ 1000, I will split up 3 proposals each proposal 1000 $ corresponding to 4 methods. This is part 1:
chain_get_state_root_hash
info_get_peers
info_get_deployment
info_get_status
Acceptance Criteria
Following methods of the API Fully updated to 1.5 CSPR node:

chain_get_state_root_hash
info_get_peers
info_get_deploy
info_get_status

Unit tests

Dear @tqhuy2018,
Could please let us know, how much time are you planing for the implementation and when could we expect the delivery of Part 1 from the proposal?
Thank you very much for your contribution.
Best regards,
Karol

Dear @KMCreatesWorlds,
I plan 4 days from the date of approval, I can deliver part 1.
I hope to be able to be approved all 3 parts at the same time, so that I can actively arrange time. Total 3 parts about 7-10 days to complete.
Thank you.
Best regards,
Huy Tran

Dear @KMCreatesWorlds, hope you are doing well.
Do you have any update infor?
Best regards,
Huy Tran

Dear @tqhuy2018,
I'm sorry it took a little longer. What I would also like to know before we green-light the development is if all of the points from the https://github.com/casper-network/casper-node/releases/tag/v1.5.1 release would be addressed during adaptation of the SDK (such as adding additional methods which were not part of v1.4).
There are some changes between the versions, which for example address the
info_get_status, where additional fields have been added.
According to the 1.5.1 release there weren't however any changes for:
chain_get_state_root_hash
info_get_peers
info_get_deployment
Therefore if you would be so kind to describe which changes would have to be made to the methods, we would review those and then come back to you with our decision.
Thanks a lot and best regards,
Karol

Dear @KMCreatesWorlds
There is not enough information in the document at this address https://github.com/casper-network/casper-node/releases/tag/v1.5.1. To have a full investigation on what we have to modify or change to the methods, we have to find more sources or make request for each method again and find what fields are added or dismissed by guessing the result back (base on the JSON information result from the request).
However, the results of the analysis cannot be accurate or will be incomplete because the returned results cannot generally represent the types of data that the methods contain. For example, a result can belong to a data type with 10 types, but when sending data to predict only 3 types of results are received, the other 7 types will not be included in the prediction. (For example, if there is a new data type like CLType that can have many values but the analysis process only receives 3 types of values, the evaluation cannot be complete).
Right now I can only find documentation for the method at this address: http://casper-rpc-docs.s3-website-us-east-1.amazonaws.com/ but it doesn’t provide sufficient information.
For example as I can see the “chain_get_block” RPC response it gives me block Any of type “null” - which does not make any sense to me. I can see there is a sample result with specific data below, but as I comment above it can not cover all cases of data type that could happen in the result. So would you please let me know if there is additional document with more specific information for these methods?
I still have old version of the full doc which I copy and make a personal document at this address: https://docs.google.com/document/d/1q5Rqir3hfKpm79B49yET3b05_wdMis9ANpX8oUrhmEY/edit
Would you please let me know if the address for this document still exists and where can I find it?
And it seems that the detail document for data types such as CLType, StoredValue, EraInfo, EraSummary … has changed that I can not access to. It would be very kind of you to give me back the address of the document for them.
We are having difficulty evaluating changes from version 1.4.15 to version 1.5.3. I suggest $ 3000 for all 12 methods, have a lot of change methods, or not, but when I update SDK, I need to review and test the whole to ensure quality.
Can you help me give specific changes for the 12 methods below when updating from 1.4.15 to 1.5.3?
chain_get_state_root_hash
info_get_pers
info_get_deployment
info_get_status
chain_get_block_transfers
chain_get_block
chain_get_era_info_by_switch_block
status_get_item
State_Get_dictionary_item
State_get_balance
State_Get_Auction_Info
account_put_deploy
Where can I chat directly with you to accelerate this exchange process?

We are in the process of introducing systematised standard integration tests across all Casper SDKs. Any change to SDKs that we are supporting must incorporate these changes.
In general we are looking to upgrade the standard of code structure and documentation across our SDKs. We are building a team to do just that. We are also looking to improve discoverability of the Node API. So it doesn't make sense to green light this development until the process for doing so is clear.

Due to the recurring process of updating and the ongoing process definition, SDK Update Proposals will no longer be included in the DevReward Program and are not a part of it. Therefore, SDK update proposals are highly likely to be rejected in the future.
Thank you for your patience.


[CSP] violation when making a search in Dev Hub page

Relates to #995
Steps to reproduce:

Load AMO-prod Dev Hub page https://addons.mozilla.org/en-US/developers/
Make a search with web console opened (!Security tab)

Expected results:
There is no CSP violation in the console.
Actual results:
There is a CSP violation displayed in the console.
Notes/Issues:
Please see the csp reporting via network: https://pastebin.mozilla.org/8858317
Verified on FF44(Win 7). Issue is reproducing on AMO-prod.
Screenshot for this issue:

This one is a bit of a blocker. Despire configuring CSP to enable each violation I then found that Google's custom search (or the version we're using) uses eval. This one we can't configure our way around because it would make the CSP policy pretty much redundant.

Blocks #995

Chatting to @muffinresearch, we can have the same functionality but just not show the results in the AMO page, so we'll just bounce the results out to google to show in a seperate page.

Can we modify the custom google search to include the discourse forum?

Can we modify the custom google search to include the discourse forum?

We can't use a custom google search at all unles it works without eval.

Verified as fixed on AMO-dev FF44(Win 7).
Postfix screencast: http://screencast.com/t/FRIakrTarheU


Add scale() and unlerp()

scale(columns: string|array<string>, inputMin: number, inputMax: number, outputMin: number, outputMax: number): ChartData
unlerp(min: number, max: number, value: number): number

Don't need it now that mapRows is in there, because we can just use d3 scales with that.


Please add information where to put translation files

in:
src/main/resources/config/translation.conf
line 7:
While enabaled EasyAuth sends messages, translated to player's client language from folder ??

This folder:
https://github.com/NikitaCartes/EasyAuth/tree/fabric-1.20.5/src/main/resources/data/easyauth/lang

This folder: https://github.com/NikitaCartes/EasyAuth/tree/fabric-1.20.5/src/main/resources/data/easyauth/lang

Sorry, but I wonder that do I need to download these lang files and put them into the server manually? If needed, where to put them? As mods\EasyAuth\config.json?
Thanks a lot!

I also encountered the same problem and don't know how to solve it