how to deploy contain other model with node.js 4.3

how to deploy contain other model with node.js 4.3?
i'm use 'npm install https' in my project, and then depoly, but when i test my function can't run require('https')

If you're attempting to use modules that are installed via npm then you'll either need to package those files with the ZIP that you are deploying or execute a build process for your deployment. Personally, I prefer to use the babel-webpack example for use with Node.

Nice, I will try to use the babel-webpack, thank you David.

actually, I already to solve my problem, I find, be successfully deploy project to running on Lambda, just when i deploy my project, I can't have 'node_modle' folder, the project folder gradation need like below:

but, i don't know why for the reason

As David mentioned as long as node_modules (or the final build file) ends up in the function's directory they'll be added to the zip :D


Fix external link text for screen readers

What is the context of this PR?
Fixes: #1168
How to review
Test correct text is read out on screen readers

 Issue #1168: We need to add aria-label for each 'Find on Google Maps' link


Allow running fsx scripts when there are spaces in the path to run.fsx.

Tested out a sample "hello world" .fsx script - fails because the path has spaces in it (unless I'm doing something really wrong) - this fixed it.

Merged thanks :) Likely I have the same spaces problem on some of the other command lines. I'll check and fix those as well :)

No worries. Looks like the PR wasn't merged though?

Here? https://github.com/Azure/azure-webjobs-sdk-script/commit/e86cc0baa0d6cfb1ef67b379029fcd6eecda4ca5

See below.... "Closed with unmerged commits. This pull request is closed, but the isaacabraham:fsharp-fix branch has unmerged commits."

It's merged, just pull from master. I pulled it locally myself, ran tests, then pushed to master. It's your commit though and it shows in the history.

Looks like a brand new commit - strange. But then I'm no git expert.

Aha, maybe that explains it :-)

I applied your fix for all the other script files as well, thanks.

Sweet. As an aside - I originally had it to using string interpolation but didn't want to change more than needed - is there a reason why string format is used?

We're still targeting 4.5, but we'll move up soon.


fix: PipelineLogs should show all steps.

Description
This PR fixes the issue that some steps are sometimes missing in Pipeline > Logs.
Checklist

[x] I have manually tested my changes and I am happy with the result.
[x] The PR branch is set up to merge into dev instead of master.

Fixing this should still ensure we preserve the sorting behavior. @iannbing did you check for this?
The idea is to traverse the pipeline. Roots (steps without incoming connections) can appear in any order, but then each step with children will have a "breadth first" listing (all direct children appear next to eachother in the list).

@ricklamers As I mentioned in the code, the sorting is still there, and the algorithm is not changed.

With the uncommenting I think the sorting is restored. We can write unit test for this in the next cycle :) LGTM as of now.


post method sending as "options"

I know there are several endpoints and they are "Post" and "Options", I am currently trying to make a "post" to create a new order and when I check the request, the method is listed as "Options" when I use "Post":
Request URL:http://wc-project.dev/wp-json/wc/v1/orders?oauth_consumer_key=ck_93a7e4148b5a44d2df769c7ec84e95160a58412f&oauth_nonce=YAPYM17tgDlZ4jjrvOG3G51JG4EeL8LX&oauth_signature_method=HMAC-SHA256&oauth_timestamp=1501358327&oauth_version=1.0&oauth_signature=raioD7xbHPenMO1HvJsWrxAFwA0dHzx6%2F%2FSiq2BWRn4%3D
Request Method:OPTIONS
Status Code:401 Unauthorized
Remote Address:<IP_ADDRESS>:80

This causes me to receive an error:

OPTIONS http://wc-project.dev/wp-json/wc/v1/orders?oauth_consumer_key=ck_93a7e4148b…ion=1.0&oauth_signature=raioD7xbHPenMO1HvJsWrxAFwA0dHzx6%2F%2FSiq2BWRn4%3D

Fetch API cannot load http://wc-project.dev/wp-json/wc/v1/orders?oauth_consumer_key=ck_93a7e4148b…ion=1.0&oauth_signature=raioD7xbHPenMO1HvJsWrxAFwA0dHzx6%2F%2FSiq2BWRn4%3D. Response for preflight has invalid HTTP status code 401

When I access the first link of "options" I received a json informing that the signature is invalid, but anyway, the method I'm using is "post"
const wooAPI = new WooCommerceAPI({
	url: 'http://wc-project.dev/',
	consumerSecret: 'cs_687837928550ef3e17362e32d92300d3c7e336f7',
	consumerKey: 'ck_93a7e4148b5a44d2df769c7ec84e95160a58412f',
	wpAPI: true,
	verifySsl: false,
	version: 'wc/v1'
});

wooAPI.post('orders', fakeOrderData, function(err, data, res) {
      console.log(res);
});

When I make a "get" call, I have not received any errors regarding signing or authorization. The API keys I'm using have read and write permission.

sorry, miss click*

Same here, has any of you found a solution ?

Maybe something on your server, because this REST API library does not change the request terms.
I just make a test and works just fine.


Question: How to tune the lightness curve

From issue https://github.com/matplotlib/viscm/issues/27 I know that you define the lightness curve as a linear ramp, so my question is: is it possible to custom this curve and still maintain the whole color equally spaced?
What I want is to make a colormap that mimic the colors of the sunset sky. I find that the current tool (viscm edit) could not stay in blue long enough, so I'm thinking of make hue/saturation change slower during blue region (hence lightness change faster).
I have some basic knowledge about color space (sRGB, CIE XYZ/LAB), so if you could point me out where is the related code that make it equally spaced would also helpful (e.g. how you equally slice arc length?).
Thanks!

OK, found it, the Bézier curves is using arc length parameter....


Admonitions do not render in PDF output - mkdocs-material v8.0.2

When building a PDF with version 8.0.2 from mk-material the output of the admonitions markdown extension is broken.
Sample from v7.3.6

Sample with v8.0.2

No existing changes were made to any configs beyond updating material version.

We're facing the same issue, so currently we have to downgrade mkdocs-material every time we build the .pdf.

Any progress on this? I am holding off on upgrading until we have some sort of fix for this

@jacobswe I think it's just best to run on an older build for the pdf export and setup a special case *.yml. I was planning on doing this for the repo I maintain just haven't gotten around to it due to lists being a bit wonky.

This appears to be a css issue.  I was able to get decent looking admonitions by overriding the css with extra_sass.
Pipefile
libsass = "*"

mkdocs.yml
plugins:
  - extra-sass

extra_sass/style.css.scss
@media print {
    // admonition overrides

    // admonition icon
    .md-typeset :is(.admonition-title,summary):before {
      top: 0.6rem;
      left: 0.6rem;
    }

    // left border
    .md-typeset :is(.admonition,details) {
      border-left-width: 0.1rem;
      padding: 0rem 0rem 0rem 0rem;
      margin-left: 1rem;
    }

    [dir=ltr] .md-typeset :is(.admonition,details) {
      margin-left: 1rem;
    }

    html .md-typeset :is(.admonition,details)>:last-child {
      margin-left: 0.6rem;
    }

}

@cmaurer I made the same changes you did but none of the styling show for my admonitions in the PDF.  What am I missing?

I've also run into this issue and would like to add-on problems rendering collapsible callouts:

The suggested modifications from @cmaurer didn't seem to work for me

Python packages:

mkdocs-material v8.5.7
mkdocs-with-pdf v0.9.3

Rendering Issues:

Text is rendered externally:??? note "Note: Charging PD Devices"
When a PD device is connected and the voltage output drops below **4.75V**, the PD device will restrict its current draw to avoid potentially damaging the DFP *(downward-facing port)*.

Text is rendered on a new page (codeblocks displayed using snippets and tabs):??? note "Example Files"
  === "USB_desc.ino"
      ```
      --8<-- "https://raw.githubusercontent.com/felis/USB_Host_Shield_2.0/master/examples/USB_desc/USB_desc.ino"
      ```

  === "pgmstrings.h"
      ```
      --8<-- "https://raw.githubusercontent.com/felis/USB_Host_Shield_2.0/master/examples/USB_desc/pgmstrings.h"
      ```

@mudgen I followed @cmaurer's comment, with a few modifications. I got the following result:

Python packages:
mkdocs-material            8.5.7
mkdocs-with-pdf           0.9.3
mkdocs.yml
extra_css:
  - stylesheets/extra.css

docs/stylesheets/extra.css
@media print {
  /* Adjusts positioning of admonition icon */
  .md-typeset :is(.admonition-title,summary):before {
    top: 0.6rem;
    left: 0.6rem;
  }
}

I've tried to combine the work of @cmaurer and @santaimpersonator but I still got the alignment issue as #135. Any ideas?

Can confirm that  @santaimpersonator worked for:

mkdocs-material==8.5.10
mkdocs-with-pdf==0.9.3
mkdocs==1.4.2

Using a docker image adapted from [python](python:3.9.8
It is worth double checking the mkdocs.yml file and the references to the files "extra.css" and  "style.css.scss"


installdependencies.sh fails on Ubuntu 20.04

Agent Version and Platform
2.168.0
Ubuntu 20.04 LTS
What's not working?
The installdependencies.sh script fails because it tries to install outdated dependencies.
Agent and Worker's Diagnostic Logs

--------OS Information--------
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
------------------------------
The current OS is Debian based
--------Debian Version--------
bullseye/sid
------------------------------
/usr/bin/apt

WARNING: apt does not have a stable CLI interface.
Building dependency tree...
Reading state information...
All packages are up to date.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libkrb5-3 is already the newest version (1.17-6ubuntu4).
libkrb5-3 set to manually installed.
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu1).
The following additional packages will be installed:
liblttng-ust-ctl4 libnuma1 liburcu6
The following NEW packages will be installed:
liblttng-ust-ctl4 liblttng-ust0 libnuma1 liburcu6
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 316 kB of archives.
After this operation, 1583 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libnuma1 amd64 2.0.12-1 [20.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 liblttng-ust-ctl4 amd64 2.11.0-1 [80.9 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 liburcu6 amd64 0.11.1-2 [54.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 liblttng-ust0 amd64 2.11.0-1 [160 kB]
Fetched 316 kB in 0s (1969 kB/s)
Selecting previously unselected package libnuma1:amd64.
(Reading database ...

Preparing to unpack .../libnuma1_2.0.12-1_amd64.deb ...
Unpacking libnuma1:amd64 (2.0.12-1) ...
Selecting previously unselected package liblttng-ust-ctl4:amd64.
Preparing to unpack .../liblttng-ust-ctl4_2.11.0-1_amd64.deb ...
Unpacking liblttng-ust-ctl4:amd64 (2.11.0-1) ...
Selecting previously unselected package liburcu6:amd64.
Preparing to unpack .../liburcu6_0.11.1-2_amd64.deb ...
Unpacking liburcu6:amd64 (0.11.1-2) ...
Selecting previously unselected package liblttng-ust0:amd64.
Preparing to unpack .../liblttng-ust0_2.11.0-1_amd64.deb ...
Unpacking liblttng-ust0:amd64 (2.11.0-1) ...
Setting up libnuma1:amd64 (2.0.12-1) ...
Setting up liburcu6:amd64 (0.11.1-2) ...
Setting up liblttng-ust-ctl4:amd64 (2.11.0-1) ...
Setting up liblttng-ust0:amd64 (2.11.0-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package libcurl3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libcurl4
E: Package 'libcurl3' has no installation candidate

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libcurl4 is already the newest version (7.68.0-1ubuntu2).
libcurl4 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package libssl1.0.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libssl1.0.0' has no installation candidate

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package libssl1.0.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libssl1.0.2' has no installation candidate

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
libssl1.1 is already the newest version (1.1.1f-1ubuntu2).
libssl1.1 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu52

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu55

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu57

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu60

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
'apt' failed with exit code '0'
Can't install dotnet core dependencies.
You can manually install all required dependencies based on following documentation
https://docs.microsoft.com/en-us/dotnet/core/dependencies?pivots=os-linux&tabs=netcore31
E: Unable to locate package libicu63

Any plans when to support this?

installdependencies.sh doesn't even work right on Ubuntu 18.04.   Everything is installed backwards on it.
It starts by trying to install the older package first, then the newer package.  This is regressive behavior.
On Ubunt 18.04 (and I assume 20.04 as well) older packages exist, but most system utilities are compiled against the newer packages.
As an example.  If you install curl, then you run installdependencies.sh, it will uninstall libcurl4 and curl, then install libcurl3, when it would have been just fine with libcurl4 in the first place.

Indeed, that part is addressed by https://github.com/microsoft/azure-pipelines-agent/pull/2929

@anatolybolshakov This would be a good one to prioritize. The script needs to work correctly on 20.04, but more generally we need to flesh out our ability to verify changes to it and rethink the general approach of the script.

Created PR

Hi everyone, we have rolled out the fix for this issue, so I'm closing it at the moment - please let us know if you still have any questions.


US_BLS_Jolts data refresh

IMPORTANT: If any new statistical variable comes in future , it must be added to the dictionaries :

_dcid_map in map_config.py
_mcf_map in mcf_config.py

Created new PR


Taggle: keep column dialogs (Filter etc) open unless one clicks somewhere else

@zichner commented on Thu Dec 07 2017
At the moment, the column dialogs like Filter and Sort by are closed as soon as the mouse is a few pixels outside of the dialog. This can be very annoying because the dialogs often close unintentionally. Therefore, I prefer that one needs to click outside of the dialog in order to close it (or at least to move the mouse further away).

increased click region for now. Border indicates area.

seems to be a good solution. re-open if it is not satisfactory.

Done with https://github.com/Caleydo/lineupjs/pull/511.


fix: hashtag can not include XML tags

What
Disallow < and > in hashtags.
Why
<center>#hashtag</center>
⇓
[
    TEXT('<center>'),
    HASHTAG('hashtag<'),
    TEXT('/center')
]

found at https://mk.absturztau.be/notes/8pwvi4txxg

👍


replace bespoke url encoding for specific characters with more generic impl

probably still fails on unicode chars larger than can be represented by two-digit percent encodings though (i.e. non-ascii).

update: nope, it does seem to work with non-ascii characters! i guess cause zig splits strings into u8s, not unicode chars


Titlebars For Popup Windows Limited In Function

With the full titlebar buttons option via AdwSteamGtk, opening the Friends List and Chat popup windows shows that there is no way to minimize these windows, despite being able to do so on the default Steam skin. Below you can see - the chat on the left should have, with the full button option, a maximize and minimize button, while the Friend List on the right should have a minimize button.

The default is to not show them per gnome defaults, but at least with the right-all window patches this shouldn't be the case on an up-to-date release.
Left aligned window controls for web content have yet to be implemented, see https://github.com/tkashkin/Adwaita-for-Steam/pull/67

I suppose it would be a feature request then and not a bug report for both left and right aligned titlebar buttons that include maximize and minimize buttons as set by gnome-tweaks as an option.


Unable to change the max_length of captions to train for another dataset

Hey!
I am trying to train the model on another dataset which has relatively longer captions. When I changed max_length = 100 (earlier 15) in main function of prepro.py, it gives the following error:
File "train.py", line 25, in
main()
File "train.py", line 22, in main
solver.train()
File "/home/ubuntu/psk/show-attend-tell/show-attend-and-tell-tensorflow/core/solver.py", line 138, in train
_, l = sess.run([train_op, loss], feed_dict)
File "/home/ubuntu/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/home/ubuntu/anaconda3/envs/python2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1111, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (128, 102) for Tensor u'Placeholder_1:0', which has shape '(?, 17)'
Can you please help me navigate through it?
TIA! :)

I think "max_length" is the only variable to change in prepro.py..... When u get your features successfully... then u run train.py.... now in train.py change parameter "n_time_steps" new_max_len+1... and solver you also need to change 3 to 4 parameters


Spelling modification "occurred" and lambda expression used in def

Spelling modification "occurred" and lambda expression used in def

Thank you for contributing to openstack/python-rackclient!
openstack/python-rackclient uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


speed up by not copying for non-fragmented data in Receiver.prototype.concatBuffer

I observed approx. 50% performance improvement with this patch.
The benchmark is the same as before (https://github.com/kazuyukitanimura/websocketBinaryTransferBenchmark).
On my MacBook Air Mid 2011 (Core i 5 4GB RAM), I got 3Gbps for sending 2^20 bytes binary data.

The bufferpool will be much, much faster than allocating a buffer straight up for packets larger than roughly 1024 bytes (and also depending on memory usage as otherwise). Below this, the node internal buffer pool will be used. Above this, actual memory allocation will happen.
I do have a possible optimization in mind, though, which could kill a few more allocations, but it isn't quite as straight forward as this changeset. Nevertheless, thank you a bunch for looking into it :)


mark all inactive labs with new marker "inactive"

a new marker was created, see #424

@k-nut could you drop us a hint where we can add this new marker/ label, and with which syntax?

@noratitz mark labs inactive where applicable. Use for reference the "Lab Übersicht.xlsx" created in 2023. (as discussed in today's call)

thank you so much

pull request  is out, closing this comment


Cache the hashids object.

Creating the Hashids and then encoding the id every time appears to take ~3x more time than having the Hashids object cached and ready to encode a new id.
A change like this does seem to improve performance quite a bit for scenarios where a lot of objects are being serialized.

I've made the changes backwards compatible (I think), but let me know if something else would be preferred instead.

Thanks, Alex... there was one small problem with the arguments in rest that was causing tests to fail, but I fixed that. I also redid the Hashid class slightly to pull the details out of the passed Hashid instance so that __reduce__ works properly (for pickling). Finally, I was curious if this actually made much of a difference for performance and was quite pleased to see it more than doubled performance, and also reduced memory usage (though that was negligible to begin with).
In [14]: timeit('Hashid(123, salt="asdf", min_length=7)', setup='from hashid_field.hashid import Hashid', numb
    ...: er=10_000)
Out[14]: 0.5867186750001565

In [15]: timeit('Hashid(123, hashids=hashids)', setup='from hashid_field.hashid import Hashid; from hashids im
    ...: port Hashids; hashids=Hashids(salt="asdf", min_length=7)', number=10_000)
Out[15]: 0.22478430900082458

In [16]: timeit('Hashid(123, salt="asdf", min_length=7)', setup='from hashid_field.hashid import Hashid', numb
    ...: er=100_000)
Out[16]: 5.921704006999789

In [17]: timeit('Hashid(123, hashids=hashids)', setup='from hashid_field.hashid import Hashid; from hashids im
    ...: port Hashids; hashids=Hashids(salt="asdf", min_length=7)', number=100_000)
Out[17]: 2.2223077329999796

In [18]: timeit('Hashid(123, salt="asdf", min_length=7)', setup='from hashid_field.hashid import Hashid', numb
    ...: er=1_000_000)
Out[18]: 58.524623629000416

In [19]: timeit('Hashid(123, hashids=hashids)', setup='from hashid_field.hashid import Hashid; from hashids im
    ...: port Hashids; hashids=Hashids(salt="asdf", min_length=7)', number=1_000_000)
Out[19]: 22.343947568000658

Anyways, it's live in 3.1.2.

Thanks, Alex... there was one small problem with the arguments in rest that was causing tests to fail, but I fixed that.

Sorry about that. I did try to run a test suite, but I think I must have missed it.

Finally, I was curious if this actually made much of a difference for performance and was quite pleased to see it more than doubled performance, and also reduced memory usage (though that was negligible to begin with).

Neat! Thanks for your awesome work on this library!


Send To Readwise Button does not render on comments of certain pages

I have not found a trend yet, but I've noticed that sometimes the button is not availalable:
ex:

https://old.reddit.com/r/devops/comments/sy6e5w/does_anyone_have_experience_using_kodekloud_as_a/

Will add any more here if I come across them

Ah interesting. It tried to get the name of the author from what is usually a hyperlink but because this user has deleted their account, it doesn't find a link and blows up which is why it doesn't get as far as rendering the Save buttons.
I haven't implemented old reddit in the current rewrite but I'll keep it in mind though, thanks


Add spacing between page title and Docs Menu on mobile

Issue: As the browser window scales down, components look crammed together. We need to add top, left and right padding.
Example:

Fix: (Explore 30px on side, 40px on top)  Reference wireframes, it should look similar even if the browser window is a different width https://www.figma.com/file/6XcxaUdad2RkjpEqnVHKAG/Education-docs-redesign?node-id=3791%3A7940

@luciaaaaaaa, do you think this is still an issue? If so, need more input from you.

Looking at it now, looks like this issue is resolved.


Add Ozone

Signed-off-by: moteesh-in2tive<EMAIL_ADDRESS>

/assign @vdemeester

@afrittoli , included the link to the product website


Governance maintainers

Hello @cornelius,
I do not understand these two commits, please review and help

Hi @cornelius , @flomonster
please review !

Can you add close #1 to the PR description. That way, the RP will be linked to the issue. It will also be closed automatically when the PR is merged.


ASUS Exception

I've got several ASUS RGB devices (STRIX 2080ti, Z390-I motherboard, RYUO cooler, G.SKILL RAM), however no devices are showing up for me; I'm just getting an exception - not sure whether I've failed to install a component somewhere along the way, or if this is a bona fide bug.
I installed using the windows executable installer - I don't have any other ASUS software on the system (couldn't see whether this is a requirement?)
[INFO] 18:35:45:
========================================
Operation System: Windows 10 Pro
System Architecture: 64 bit
Environment OS Version: Microsoft Windows NT 6.2.9200.0
System Directory: C:\WINDOWS\system32
Executing Directory: C:\Program Files\Aurora
Launch Directory: C:\Program Files\Aurora
Processor Count: 6
SystemPageSize: 4096
Environment Version: 4.0.30319.42000
Is Elevated: True
Aurora Assembly Version: <IP_ADDRESS>
Aurora File Version: 0.7.0
========================================

[INFO] 18:35:45: Loading Configuration
[INFO] 18:35:46: Loading Plugins
[INFO] 18:35:46: Loading KB Layouts
[INFO] 18:35:46: Loading Input Hooking
[INFO] 18:35:46: Loading RazerManager
[WARN] 18:35:46: Currently installed razer sdk version "0.0.0" is not supported!
[INFO] 18:35:46: Loading Applications
[INFO] 18:35:48: Fetching latest pointers
[INFO] 18:35:48: Loading Device Manager
[ERROR] 18:35:48: SteelSeries GameSense SDK could not be initialized: System.IO.FileNotFoundException: Core Props file could not be found at "C:\ProgramData/SteelSeries/SteelSeries Engine 3/coreProps.json"
   at SteelSeries.GameSenseSDK.GameSenseSDK.init(String sseGameName, String sseGameDisplayname, Byte iconColorID) in C:\projects\aurora\Project-Aurora\Project-Aurora\Devices\SteelSeries\GameSenseSDK.cs:line 58
   at Aurora.Devices.SteelSeries.SteelSeriesDevice.Initialize() in C:\projects\aurora\Project-Aurora\Project-Aurora\Devices\SteelSeries\SteelSeriesDevice.cs:line 55
[INFO] 18:35:48: Device, SteelSeries, was not initialized
[ERROR] 18:35:48: RGB.NET device (Asus), Exception! Message: Retrieving the COM class factory for component with CLSID {05921124-5057-483E-A037-E9497B523590} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
[INFO] 18:35:48: Device, Asus, was not initialized
[INFO] 18:35:48: Starting GameStateListener
[INFO] 18:35:48: Retrying Device Initialization

As far as I know you need Asus aura installed.


Release 4.16.1

Questions
Answers

Description?
Release version 4.16.1 to fix critical upgrade issue.

Type?

BC breaks?

Deprecations?

Fixed ticket?

Sponsor company

How to test?
There were some changes regarding command bus classes, test if upgrade from for example 1.7.6 works correctly.

Hi there,
Given how small the changes are, it can be merged without QA IMHO.
Thanks for the PR @Hlavtox !


CANVAS-49 - Handle crosslists

@maxpluez I checked out your branch and I cannot save anything in the "Bruincast crosslists". I click "Submit" and nothing happens.
Then after a while, I get an error and in the console I see this error:
(node:58745) UnhandledPromiseRejectionWarning: BulkWriteError: Cannot create namespace lti-media-resources.crosslists in multi-document transaction.
Similar to the error in https://ucla-ccle.atlassian.net/browse/CANVAS-78

@maxpluez Okay, I had to create a collection manually called crosslists, but that should be created if it doesn't exist.
When I save a crosslist I get this ugly popup:

Can you use the success or error alerts instead? See https://instructure.design/#Alert

@maxpluez The tab for Bruincasts still shows 0 even after I make a crosslist. The tab should count all videos available to the course:

@maxpluez This is great, but I don't see any tests written. Please add tests for the crosslisting feature.

@maxpluez Do you need to package installed globally? Isn't it installed by yarn?

Yeah at least on my system. migrate-mongo is a cli tool..

@maxpluez Works on my local dev instance and added a change to clean things up: https://github.com/ucla/lti-media-resources/pull/7/commits/0eea9e582ca9a138f3b0a99863e1bc9cf1f8479f


followProgress() does not trigger onProgress() handler

With the following code:
const Docker = require('dockerode');
const docker = new Docker();

docker.pull('busybox:latest', (err, stream) => {
  docker.modem.followProgress(stream, onFinished, onProgress);

  function onFinished() {
    console.log('finished');
  }

  function onProgress(event) {
    console.log(event);
  }
});

I'd expect to see the event object be printed to the console as the pull progresses. However, I don't see any feedback until the pull completes and onFinished() is invoked.
Example:

It seems the issue is that modem.followProgress() is listening for the root event from JSON.stream.parse(), which never comes.
After some digging, I found that JSON.stream stopped emitting the root event in this PR.
In any case, if we change root to data, it works. Here's a PR for docker-modem that does just that.

the .pull function should return Promise<NodeJS.ReadableStream> or take a callback whose second parameter is a stream.
const stream = await client.pull(`${imageName}:${tag}`, {})
stream.on('data', log.debug)
stream.on('end', () => log.info(`End pulling ${imageName}:${tag}`))

That works, except the event argument passed to the handler will be a Buffer, meaning I'd have to decode then parse the buffer. If I go through modem.followProgress(), I get an object to work with, which is a little more convenient.
Regardless, it still is a bug with modem.followProgress() and should be fixed. Furthermore, the example I provided is pretty much straight from the README (see here).

docker-modem v1.0.6 published with this fix.


Add FilterSimilarBatchQs.

Pull Request Test Coverage Report for Build 253

30 of 34 (88.24%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 90.221%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/QueryStrategies/BatchQueryStrategies/batch_qs_base.jl
15
19
78.95%

Totals

Change from base Build 251:
-0.06%

Covered Lines:
978

Relevant Lines:
1084

💛  - Coveralls


docker image last update a year ago

like the title says
the docker image hosted here https://hub.docker.com/r/silverwind/droppy
is a year old
pls consider updating it

@AkgunFatih
See here: https://github.com/silverwind/droppy/releases
The latest version released of Droppy is v11.1.0, released June 28 2019. It is the same version that is on Dockerhub.
With no release since then, why does the docker image need to be updated?


Incompatible with LetSleepingDogsLie

https://github.com/HeartbeatMC/LetSleepingDogsLie-Fabric/issues/3

I made some changes. Maybe fixed in the next version.

Thank you.


Manually filter States for load

New Argument to filter by states of user choosing:
Command line Examples:
python manage.py load_hmda "path to data files" filter_state_list:06,05,07,33
python manage.py load_hmda "path to data files" filter_state_list:06

Changes Unknown when pulling 5468713fff9f1385f6f1368fc201843a7d9a0c57 on DarthDippy:filter_states into ** on cfpb:master**.


fix(baremetal): parse mptsas duplicated devices

What this PR does / why we need it:

Does this PR need to be backport to the previous release branch?:

release/3.8
release/3.7
release/3.6
/cc @swordqiu
/area baremetal

/lgtm

/approve


Crash when running multiple instances of BFF on a multi-threaded environment

Hi there,
What a great piece of software!
I've been using other flattening algorithms on my applications and this one really makes a big difference in speed, stability and quality on the result flattening.
Unfortunately, it doesn't apear to support a multithreaded environment. I'm trying to flatten multiple meshes concurrently on multiple threads, and I always get a crash during the flattening. The crash doesn't happen if I run the flattenings sequentially.
Looking at the call stack, it appears that the crash is somewhere inside a choldmod library function.
Does anyone run into this problem and knows hot to solve it?
Is there any known limitation regarding BFF and multithreading?
Thanks in advance,
José Calvário

Thanks @calvariomind! Unfortunately, the current version is not thread safe because of how it is linked with Cholmod. It is possible to make the Cholmod dependency thread safe. I've listed this issue as an enhancement :)

Thanks for the quick reply rohan :)
If I understand correctly, the limitation is on cholmod library, not on BFF. Can I do something on my side to resolve the problem without changing BFF code? Maybe linking with a different version of cholmod?
Thanks

I should correct myself - some of the BFF linear algebra code will have to be modified, starting with not declaring a global cholmod Common object but rather cholmod Common objects local to each thread. I'll have to put some more thought on how exactly to architect this within the BFF codebase. If you don't want to dig into cholmod, another option might be to replace the implementation of the linear algebra wrappers (such as DenseMatrix, SparseMatrix, Cholesky) it with another library such as Eigen.

Thanks again for your answers. I will continue using BFF as is, without multi-threading. It is fast enough for my current purposes. I will be watching for new versions, and reactivate the multi-threading in case you decide to make those changes.
Congratulations for a great library :)


fix🔨: permission_handler package updated permission fetch & request syntax

…ntax
In the latest version of permission_handler package, they have changed the syntax of how to request for the user's permission.

@lukasgit Please check this PR and merge, as rhe example is misleading while integration.

Hi there. I am pleased to review your code.
As I see you forgot to update the permission_handler version in the pubspec.yaml file.


Add raw helper with parameters

Currently the Raw() function takes a string, but sometimes functions require parameters from the user. Currently you have to sanitize yourself the input and use a fmt.Sprintf which is prone to SQL injections.
It would be nice if we could something like: Raw("my_function($1)", String("test")).

Is the my_function a custom function or it is currently unsupported SQL function?
If it is a custom function, you can use Func. For instance:
Func("my_function", String("test"), Int(11))
If it is currently unsupported SQL function, above Func can also be used, or we could add support for the missing function.
Func support is added to develop branch https://github.com/go-jet/jet/pull/55

Is the my_function a custom function or it is currently unsupported SQL function?
If it is a custom function, you can use Func. For instance:
Func("my_function", String("test"), Int(11))
If it is currently unsupported SQL function, above Func can also be used, or we could add support for the missing function.
Func support is added to develop branch https://github.com/go-jet/jet/pull/55

Ho, Func would be ok for my use case.
Maybe a release would be good? Lets also add an example to the doc.

Ho, Func would be ok for my use case.
Maybe a release would be good? Lets also add an example to the doc.


Feature: Notification panel

https://www.carbondesignsystem.com/patterns/notification-pattern/#notification-panel

hi @asudoh, i read the codebase and this repo will inherit css from carbon package component. Just convert the presentational component to Web component. Is it right ?

Thanks you for asking @xxxle0 - Let's take <bx-dropdown-item> as an example. It has static styles property that dictates the style set to shadow DOM, coming from dropdown.scss from the same directory. The dropdown.scss file imports several styles from Carbon as you may have alluded to, but it also has styles for :host(#{$prefix}-dropdown-item) selector. This is because <bx-dropdown-item> is an actual DOM element unlike React component node (e.g. carbon-components-react's <ListBoxMenuItem>) which is not a DOM element. That means the style of <bx-dropdown-item> has to be mapped to the top-level element <ListBoxItem> renders, which is, <div className="bx--list-box__menu-item">. Fortunately many cases for <bx-dropdown-item> it's as simple as using Sass @extend along with fixing display where we want block but browser's default style for unknown element is inline. But as you see in some style rules there (e.g. one for disabled dropdown item) we may need more manual styling depending on how the corresponding Carbon style is defined.
Other than that, it's mostly about having lit-element define properties, render the contents, and handling events. Don't hesitate to ask any other questions. Thanks!

I have definitely seen a request for this or something similar to this before from someone attending Design Office Hours.


Replace Godot's script editor with Emacs

I've been using the Godot's integrated script editor for a while (before the free edition went published by Okam Studio), but it is lacking of very essential features like an integrate psychoanalyst and games like Snake and Tetris to entertain you after many hours editing GDScript code... all this features and more are available already in Emacs!
So, the idea is to get rid of the stock editor in Godot and integrate Emacs, thus, having a operating system that lacks of good game engine and text editor!
One of the many benefits we'll get from integrating Emacs in Godot would be the possibility of using Emacs lisp for writing game code instead of GDScript.  This is a big plus for those wanting to keep their jobs safe obfuscating their work!
I've reading about integrating Emacs in bread toaster, refrigerators, kitchens and many other kind of home appliances, the integration with Godot seems to be easy and smooth, here is the link for the developers to read.

I vote for banning you from the web every april 1st, and to replace april 1st by february 30th.

Hey, everyone knows Lisp is far more user-friendly than anything Python-like could ever hope to be.  There might be a bit of resistance at first from Vim fans, but I think that they'll eventually agree that this is truly the best direction to take the script editor.
Nicely written, Shackra :P

vim is better

Vim > *

#nano4lyfe

I prefer Microsoft's Notepad

I was honestly excited about this news.
=(
I edit my unity scripts in emacs with omnisharp code completion. I like it like that.

ps vim sucks

A method of using GDScript in an external editor(with autocompletion, thus basically providing a process that editors could call in to) may be a nice idea after all?
This is thus totally different than the support it has at this moment for opening files in an external editor.
That is to skip the April fools jibber :P

Today is not April fool's day :)

hooray !

vim +1

Love emacs --» I modified python-mode.el. Many rough edges as I'm not familiar with elisp but usable...

vim +1 or neovim +1 :)

vim +1

Ok, that issue was fun back then but I think we can stop bumping it pointlessly, so locking.


“orthorhombic” takes two h's

See for example wikipedia.
It should be “orthorhombic” not “orthorhombic” in several places, in particular in UnitCell.cpp: https://github.com/chemfiles/chemfiles/blob/7d744d67e8bc7245613534a2a303aac9d836eb5e/src/UnitCell.cpp#L252

Whoops, you are right!
$ rg orthorombic
src/UnitCell.cpp
252:Vector3D UnitCell::wrap_orthorombic(const Vector3D& vector) const {
274:            return wrap_orthorombic(vector);

include/chemfiles/UnitCell.hpp
190:    /// For an orthorombic unit cell, this make sure that all the vector
198:    /// Wrap a vector in orthorombic cell
199:    Vector3D wrap_orthorombic(const Vector3D& vector) const;

None of these are part of the public API, so it should be a matter of search & replace! Tagging as 'Help wanted' since that should be a very good first issue =)


Refactor components

Description
Everything that was previously in transformer_lens/components has been refactored so that every class has a separate file. I also simplified and improved a couple things here and there in some of the classes. e.g. changed some of the setup in some of the init functions to use ternary statements instead of large if/else block & removing modification of global variables in the loop for the Attention component to instead have a local variable from a wrapper that manages the state of the variable.
There are a lot of various improvements that can be made here that would enable the creation of unit tests. I am refraining from doing too much of it at the moment, so that the changes can more easily be tracked individually from the base of these separate new files as opposed to making a bunch of changes at the same time as splitting up one giant file.
No changes are needed for this in other parts of the code base, so people should be able to continue using these components as is. The only thing that I changed as far as naming is the variable previously mentioned in the Attention component. However, I don't really think that it is ever referenced outside of the Attention component itself. If it does seem like it is going to be an issue, then I can change the name back to the original.
I do still have to go through the document headers and update the copy and pasting I did, but thought I would get this up for review.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Screenshots
Please attach before and after screenshots of the change if applicable.

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

The file headings have all been updated now, and it should be ready to merge once the bug is fixed that is currently affecting the whole repo.

Note: Will return to after Mistral PR is merged


Installation issue - Obsidian (v1.6.7) - MacOS (v14.6.1)

Following the README instructions, I downloaded the plugin as a zip file from the GitHub page using the green "Code" button. This downloads a file called: obsidian-journaling-plugin-main.zip I also tried downloading the Source Code .zip file directly from the Releases page (v1.0.0) - which dowloads a file called obsidian-journaling-plugin-1.0.0.zip.
Unzipping either of those files into any of the following folders does not seem to enable the plugin for use:

(my vault's .obsidian folder)/plugins/obisidian-journaling-plugin-main
(my vault's .obsidian folder)/plugins/obisidian-journaling-plugin
(my vault's .obsidian folder)/plugins/journaling

Any of the above will show the plugin in the Community Plugins list but produces an error:
Failed to load plugin "journaling" (or Failed to load plugin "obsidian-journaling-plugin") when you try to enable it.
After each different path name, I did restart Obsidian.
FWIW, the code downloaded from the main page, shows "id": "journaling" on the top of the manifest.json file, whereas the same line from the Release source code .zip file shows "id": "obsidian-journaling-plugin" in its manifest.json. So, I'm not sure which path should be used to allow the plugin to be enabled.
What should the folder for the plugin be named?
One (maybe important) point is that I'm running in to these issues on Obsidian (v.1.6.7) running on MacOS (Sonoma 14.6.1). Don't know if that matters.

Can you try downloading from community plugins?

I didn't see it on my first search there, but it showed up for me now.
I have it working now. Thanks.

All good now. Thanks.
You may want to update the README with install instructions via Community Plugins browser.

Thanks, I will do that


fix: rename podSecurityContext to containerSecurityContext

Hi, I realized I made a typo during the previous change. This should be containerSecurityContext.

lgtm, thx again


how to deal with redirect url

issue
When I scrawl a url (a web page) by pyspider, I can't get my target information.
But when I copy this url to browser, and enter, I can get the web page.
So, I attent some debug informations to my script, like this:
print 'original_url : ' + response.orig_url
print 'final url : ' + response.url

Then, I get debug informations :

I find the url is redirected.
I modified my script to prevent redirecting, my code like this
                self.crawl(detail_url,
                           callback=self.detail_page,
                           fetch_type = 'js',
                           connect_timeout = 50,
                           timeout = 130,
                           headers = self.myheader,
                           allow_redirects = False
                           )

But no effect.
Help
Please, how to write scripts to prevent redirecting to a new url --  By this url, I can't get my target infomations.
Thank you!

The remote server detected something and made the redirect, it wouldn't help just tell pyspider not to redirect.
The request works fine on demo.pyspider.org, make sure you have made correct request (similar headers with browser) to app.meizu.com.

Firstly, I can get the original url about 3 times.
Then, I never get it.  Instead, I get the redirect url.
Then I set "headers","allow_redirects" attributes to prevent redirecting, but no power.
My code is
class Handler(BaseHandler):

    myheader = {
    'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
    'Accept-Encoding':'gzip, deflate, sdch',
    'Accept-Language':'zh-CN,zh;q=0.8',
    'Cache-Control':'max-age=0',
    'Connection':'keep-alive',
    'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36'
    }

    crawl_config = {
       'headers' : myheader
    }

    @every(minutes=24 * 60)
    def on_start(self):
        self.crawl('http://app.meizu.com/apps/public/search?keyword=%E6%8B%9B%E5%95%86%E9%93%B6%E8%A1%8C',
                   callback=self.list_page,
                   fetch_type = 'js',
                   connect_timeout = 50,
                   timeout = 130
                   )

    @config(age = 24 * 60 * 60)
    def list_page(self, response):

        # 获取 url链接 —— http://app.meizu.com/apps/public/search
        list_url = response.url.split('?')
        front_detail_url = list_url[0].replace('search','detail')

        for each in response.doc('html > body > #wrapper > .content_main > .search_result > span > .download_container > div > .one_right > a.ellipsis').items():
            if each.text() == u'招商银行':
                # 构造 url 链接
                package_name = each.attr.packagename
                detail_url = front_detail_url + '?' + 'packagename=' + package_name
                print u'构造的 url ：' + detail_url

                self.crawl(detail_url,
                           callback=self.detail_page,
                           fetch_type = 'js',
                           connect_timeout = 50,
                           timeout = 130,
                           allow_redirects = False
                           )
                # proxy = 'localhost:9000',
                # headers = myheader

    @config( age = 24 * 60 * 60 )
    def detail_page(self, response):
        print 'original_url : ' + response.orig_url
        print 'final url : ' + response.url

        myresult = {}

        myresult['title'] = response.doc('html > body > div#wrapper > div.content_main > div#theme_content.clearfix.color_line1 > div.right.inside_right > div.app_detail > .detail_top > h3').text().encode('utf-8')

        myresult['download_num'] = response.doc('html > body > #wrapper > .content_main > div > .inside_left > .download_container > ul > li > .app_content > span').text().encode('utf-8')

        myresult['size'] = response.doc('html > body > #wrapper > .content_main > div > .inside_left > .download_container > ul > li > .app_content ').eq(5).text().encode('utf-8')

        return myresult

So, could you help me to inspect mycodes？
Or, could you supply your codes?
Thank you

meizu.com may have some anti-crawl detection, try add Referer and Cookie to detail pages's request.

Thank you.
I have taken a try, and solve the problem.
Aa excepted, the web takes some anti-crawl.
I copy the cookies when I visit it through chrome, and set it as a parametera to crawl( ). So I got it.
Thank you.


[release-v1.14] Move to using namespaced listers for eventtypes in data plane (#3951)

This is a backport of https://github.com/knative-extensions/eventing-kafka-broker/pull/3951 to fix errors in the namespaced broker receiver due to listing eventtypes in all namespaces without adequate permissions

/cc @pierDipi @creydr @matzew

/retest-required

/retest-required

/lgtm
/approve

/retest
/lgtm

/test 415-test-reconciler-keda-aws-415

/test 415-test-reconciler-keda-aws-415

Included in https://github.com/openshift-knative/eventing-kafka-broker/pull/1141


GH-17211: [C++] Add hash_64 scalar compute function

This PR is a fresh continuation of https://github.com/apache/arrow/pull/13487 which was closed purely in favor of this one. The reason for this is that the other PR carried a lot of "development burden" in the form of a long commit history. This fresh version maintains the current state of the code in much fewer commits with a cleaner history. Hopefully this PR will allow others to finish what I started (if I don't finish this first).
The changes still required is to add functional mechanisms for the following:

A TempVectorStack for local allocation within the kernel

This is necessary to allocate a modified structure of the input data to then be passed to the hashing functions

Functional testing of a kernel that can handle a nested structure (e.g. a List[List[utf-8]]).

Closes: #17211

@drin are you likely to get some time to push this forward? #32504 is causing us issues and I'd be great to move towards solving it!

sure! next week I'll have more time and I'll try to squeeze in a bit of time this week.

@judahrand sorry, I ended up taking a break last week, but I happened to remember this today. I will work on this issue this week and next week and my goal will be to have it finished (or close to finished) by end of next week.

rebased on main branch

@judahrand, I wanted to verify something with you since I assume you have an immediate use case in mind for #32504 .
The naive implementation of hashing for a "shallow" nested type (e.g. list<int8>) is relatively straightforward and the code available in this PR should be able to handle that already.
What held up this PR was logic for "deep" nested types (e.g. list<list<int8>>). To move towards addressing this, I am considering the following simple scenario and hoping to get your feedback that it is addressed reasonably (this is why it would be helpful if you have use cases in mind):
# A "shallow" nested type that we should be able to reproduce (I think)
Reference Test data [length: 3]:
[
  [ 1, 1, 2, 3,  4 ],
  [ 2, 2, 4, 6,  8 ],
  [ 3, 3, 6, 9, 12 ]
]

# A "deep" nested type that we may receive as input
Sample Test data (list<item: list<item: int64>>| [length: 3]):
[
  [ [ 1 ], [ 1, 2, 3,  4 ] ],
  [ [ 2 ], [ 2, 4, 6,  8 ] ],
  [ [ 3 ], [ 3, 6, 9, 12 ] ]
]

There is ambiguity in how a "deep" nested type should be hashed (maybe the nested structure should produce a different hash for a "row" of values), but what makes the most sense to me is for it to be value-based (the above example). In the case that a different approach is preferred, other approaches can either be encoded as future options or a UDF provided instead of the existing hashing functions.
I have prototyped a naive version of the flattening logic in a separate repo: recipe_convert.cpp#L150-L179. For context, this type of flattening would be used in the FastHashScalar::Exec function as a preprocessing step before calling the Hashing32::HashMultiColumn function.
Thanks for any feedback you can provide! Particularly on expected behavior for nested array types.

An alternate approach is to return a
Status::NotImplemented("Cannot hash nested data types with many levels of nesting")

if any of the columns to hash are "deep" nested types.

There is ambiguity in how a "deep" nested type should be hashed (maybe the nested structure should produce a different hash for a "row" of values), but what makes the most sense to me is for it to be value-based (the above example).

I'm not entirely sure I've understood your distinction between the two cases. Am I correct in understanding that in the first of the two options that you describe a row containing[[1], [1,2,3,4]] would have a different hash value to [[1,1], [2,3,4]] but in the second, 'value-based' option these two lists would have the same hash?
If that is the case then the 'value-based' behaviour would be surprising to me. I'd have thought that two rows with what is definitely different data should have different hashes (not considering the small chance of a hash collision).
For the case of nested listed I wonder if this issue could be avoided by including the offsets of the parent list in the hash?

I'm not entirely sure I've understood your distinction between the two cases. Am I correct in understanding that in the first of the two options that you describe a row containing[[1], [1,2,3,4]] would have a different hash value to [[1,1], [2,3,4]] but in the second, 'value-based' option these two lists would have the same hash?

Oh yeah, I guess I didn't make that part clear. But yes, you understood correctly. I was in favor of [[1], [1, 2, 3, 4]] having the same hash as [[1, 1], [2, 3, 4]] (what I called the "value-based" option).
If you want those to have different hashes, then it may be possible to transform the list array into a struct array and one struct column can be all of the offsets coalesced and a second struct column can be all of the values (referenced). To do it any other way would require extending the existing hashing functions in non-trivial ways or adding new hashing functions entirely.
So, maybe for this PR I can simply do shallow nested arrays and someone can work on the deep nested arrays in aa follow-up PR.


Multiple Files open at once

Hi - really cool library - good job!
Wondering if you could advise on how to achieve multiple files open at once? Like in the following image

Thanks

That's beyond what monaco does. You'd have to implement your own tabs.

@buddythumbs, the comment by @domoritz is correct from the UI perspective. However, you can use the monaco.editor.IModel interface to have Monaco track multiple open documents at once, each associated with a URI. Clicking a tab would then call yourEditorInstance.setModel(...).

I solved this by doing the following...
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
and then in the options prop I created a model for each file:
options: {
        model:
          monaco.editor.getModel(monaco.Uri.parse(`file:///${name}.${ext}`)) ||
          monaco.editor.createModel(
            codeState[name],
            language,
            monaco.Uri.parse(`file:///${name}.${ext}`)
          ),
          ...
}


Heartsteel is missing its mythic passive

The new item Heartsteel 3084 is missing its mythic passive. It should have: passives[1].stats.health.percent: 1.0.

This appears to be an issue with the way the mythic passive is formatted on the wiki. There's no existing stat defined for % hp bonuses, so Heartsteel's mythic is just defined as [spec]. I'm working with the wiki team to see if we can get a % hp bonus stat defined, which would then require updates to the parsing code to pick it up.

After speaking with the wiki team, they don't want to create a new stat for %hp bonuses since Heartsteel is currently the only item that has one. The compromise we reached was to edit the mythic bonus in the wiki's item data module like so:
            	["hp"]  = "1%",
            	["spec"]  = "6% increased [[size]]",
     },```

That leaves us with the problem of how to convert that 1% string to a `passives.stats.health.percent` value. I've been looking through the parsing code, and I'm not sure where's the best place to do that. Any ideas @jjmaldonis?

Hey, I don't have my head in this right now. At the end of the day we will not be able to represent the entirety of the complexity of the items in this JSON, which means that some manual effort will be required by anyone who wants to use this JSON to represent items in their code.
This may be one of the unfortunate cases where user intervention is required. If the wiki team isn't willing to create a new stat then we may be out of luck for the time being.
After looking into the details of what this new item does, it is infeasible to represent what it actually does using just the JSON. The calculation for this part of the passive will have to be done using user intervention. So I don't think it's particularly important that we represent this information accurately in the JSON. In fact, representing this information in the current JSON structure may be misleading to someone who is only reading the JSON.

To be clear, I'm just referencing the mythic 1% hp bonus, which is a typical mythic passive and does fit nicely in the JSON as currently structured: passives[1].stats.health.percent: 1.0. We just need to capture the value from the wiki. The mythic size bonus and the stacking hp passive are obviously more difficult to represent in the JSON as it stands, if at all.
I'll dig a little deeper and see if I can solve the %hp bonus. Thanks for the reply.


Update URLEntity_DeviceNetworkEvents.yaml

Required items, please complete
Change(s):

Added here -https://github.com/Azure/Azure-Sentinel/issues/10545

Reason for Change(s):

GitHub issue

Version Updated:

1.0.1

/package


Setting defaults has no effect

 $ cat ~/.aprc
AwesomePrint.defaults = {
    color: {
        bigdecimal: :white,
        integer:    :white,
        float:      :white,
        rational:   :white
    }
}

But in a new pry:

Top of ~/.pryrc:
require 'awesome_print'
AwesomePrint.pry!

Same with irb. I also tried setting the defaults in my .irbrc, when I print the defaults from within irb, I see the hash I actually configured, however, colors are ignored anyway.


Mising file in pecl distribution

Without this file, build / installation from pecl is broken.
/dev/shm/BUILD/php-pecl-mustache-0.8.0/NTS/mustache_data.cpp:5:10: fatal error: php5to7.h: No such file or directory
 #include "php5to7.h"
          ^~~~~~~~~~~
compilation terminated.

Coverage remained the same at 83.681% when pulling c4bcb61718dc1237ad786cc1e605355797b34399 on remicollet:patch-2 into fee47f692b3119af7ba8e27eecd09160ea3976b3 on jbboehr:master.

Ah, good catch, thanks!


Defer load the entire Flutter engine and framework

With #57617, we're now using Android's Play Feature Delivery mechanism (https://developer.android.com/guide/playcore/feature-delivery) to slice up the Dart code into separately downloadable "deferred components".
Another way we can use the Android Play Feature Delivery mechanism is to defer load the entirety of Flutter rather than parts of the user's Flutter application. Specifically, the high initial fixed cost components like the Flutter engine, the Dart runtime, the Flutter framework etc can all be remote loaded at the time of use.
Broadly, we can accomplish this by producing a simple separate maven artifact that only has Java classes to load the main Flutter "feature" via the Play Store APIs. Then we need tooling support and documentation to help users configure their Android and gradle project to package the main Flutter into a separate feature directory. For instance, the main Flutter .AAR can be built separately via flutter build aar than the remote loader helper class.
This feature can't have an iOS equivalent at the present.

I am facing the same issue/crash after adding flutter AAR in the on-demand dynamic module #56284[Same crash logs]. Our team is working to launch premium functionality on the existing native application as a Flutter “On-demand module”. Due to the existing APK size, Million monthly active users and given requirements, additional overhead size increase due to the Flutter is a big concern. So I have tried adding it as an on-demand module but the app is crashing as soon as we create an instance of FlutterEngine(context).

I am trying to understand what causes it and how can I solve this. So far I am able to deduce…
Flutter as an on-demand module is working in the below cases -

Debug variant.
Release build is working only after adding libapp.so files in app module. Specifically in
app/source/main/jniLibs/{cpu_architecture}/libapp.so [ Which is not suitable in our case because it’s redundant ]
Changing the configuration of a dynamic feature module from “on-demand” to “install-time”.

The crash is specifically happening when FlutterEngine constructor calls nativeAttach() function present in FlutterJNI.java
Function signature is - line 319 | private native long nativeAttach(FlutterJNI flutterJNI, boolean isBackgroundView);
As mentioned here - https://github.com/android/app-bundle-samples/issues/30#issuecomment-644482601

i'm using Dynamic Feature Module for a feature which has third SDK library as .AAR file.
When analysing the apk i found out this sdk is using Native / C++ codes and the structure is like:

i know that in dynamic module when we want to use native libs we should implement for instance something like :SplitInstallHelper.loadLibrary(this, "tensorflowlite_gpu_gl")
however i'm getting this error:
java.lang.UnsatisfiedLinkError: dlopen failed: library "libtensorflowlite_gpu_gl.so" not found
I'm not sure in Gradle in dynamic module what should I do to be able to load those .so libs?

It's better to change the .ARR file rather than the app, also try to use SplitCompat.installActivity(this) instead of just calling SplitCompat.install(this) it helps immediate access to a given activity.

Flutter AAR might needs to be updated to call SplitInstallHelper.loadLibrary(applicationContext, “app”) as mentioned above.
After trying this on the “on-demand module”

SplitInstallHelper.loadLibrary(applicationContext, “app”) and SplitInstallHelper.loadLibrary(applicationContext, “flutter”)
It seems it is able to load successfully because I did not get UnsatisfiedLinkError but the app still crashes.

After that, I tried loading the library from the path

System.load("/data/data/com.package.name/files/splitcompat/3/native-libraries/flutter.config.arm64_v8a”)
It seems to be able to load successfully as well and crash does happen as well. I have called this before creating an instance of FlutterEngine()

I would be really happy if anyone is able to help me in any way. Thanks in advance.
You guys might be able to help. I have seen you guys working on the internals of Flutter engine @GaryQian @xster @chinmaygarde @jason-simmons

It's seems related to this issue too  https://github.com/flutter/flutter/issues/92061

We can close this now right?

I am able to understand the core of this problem. And able to do some workaround to make it work.
The problem is in the flutter android embedding layer specifically in the FlutterLoader.java file. It has one private variable named as flutterApplicationInfo which initializes in startInitialization() function with an object of FlutterApplicationInfo which get's it's values form getApplicationInfo(applicationContext) which has nativeLibraryDir and points to base module libs directory.
That's why it was working (mentioned in the previous comment)

Release build is working only after adding libapp.so files in app module. Specifically in
app/source/main/jniLibs/{cpu_architecture}/libapp.so [ Which is not suitable in our case because it’s redundant ]

Instead of patching the engine locally, I used Reflection to solve this problem. With the help of reflection, I did update the flutterApplicationInfo private variable of FlutterLoader.java as shown below,
fun initializeFlutterEngine(applicationContext: Context) {
      if (initialized) {
          Log.d(TAG, "Flutter initialize Engine is already called")
          return
      }

      Log.d(TAG, "Initializing Flutter Engine")

      var flutterLibsPath = ""

      val searchFiles: Queue<File> = LinkedList()
      // Downloaded modules are stored here
      searchFiles.add(applicationContext.filesDir)

      val aotSharedLibraryName = "libapp.so"

      while (!searchFiles.isEmpty()) {
          val file = searchFiles.remove()
          if (file != null && file.isDirectory && file.listFiles() != null) {
              for (f in file.listFiles()) {
                  searchFiles.add(f)
              }
              continue
          }
          val name = file!!.name

          if (name == aotSharedLibraryName) {
              val path = file.absolutePath.dropLast(aotSharedLibraryName.length)
              Log.d(TAG, "Flutter Library Path: $path")
              flutterLibsPath = path
              flutterLibsPathExist = true
          }
      }

      if (!flutterLibsPathExist) {
          Log.d(
              TAG, "Unable to get library paths of Flutter!. Maybe this is a fat APK or Flutter module is loaded as install time module"
          )
      }

      val injector = FlutterInjector.instance()
      val flutterLoader = injector.flutterLoader()

      flutterLoader.startInitialization(applicationContext)

      val flutterApplicationInfo = flutterLoader.javaClass.getDeclaredField("flutterApplicationInfo")
      flutterApplicationInfo.isAccessible = true

      val appInfo = getApplicationInfo(applicationContext) as ApplicationInfo
     // getString(), getNetworkPolicy(), GetBoolean() is copied from FlutterLoader.java
      val res = FlutterApplicationInfo(
          getString(appInfo.metaData, ApplicationInfoLoader.PUBLIC_AOT_SHARED_LIBRARY_NAME),
          getString(appInfo.metaData, ApplicationInfoLoader.PUBLIC_VM_SNAPSHOT_DATA_KEY),
          getString(appInfo.metaData, ApplicationInfoLoader.PUBLIC_ISOLATE_SNAPSHOT_DATA_KEY),
          getString(appInfo.metaData, ApplicationInfoLoader.PUBLIC_FLUTTER_ASSETS_DIR_KEY),
          getNetworkPolicy(appInfo, applicationContext),
          flutterLibsPath.ifEmpty { appInfo.nativeLibraryDir },
          getBoolean(appInfo.metaData, PUBLIC_AUTOMATICALLY_REGISTER_PLUGINS_METADATA_KEY, true)
      )

      flutterApplicationInfo.set(flutterLoader, res)

      flutterLoader.ensureInitializationComplete(applicationContext, null)

      val jni = injector.flutterJNIFactory.provideFlutterJNI()

      flutterEngine = FlutterEngine(applicationContext, flutterLoader, jni)

      // Start executing Dart code to pre-warm the FlutterEngine.
      flutterEngine.dartExecutor.executeDartEntrypoint(
          DartExecutor.DartEntrypoint.createDefault()
      )

      // Cache the FlutterEngine to be used by FlutterActivity.
      FlutterEngineCache
          .getInstance()
          .put(AppConstants.FLUTTER_MAIN_ENGINE_ID, flutterEngine)

      initialized = true
  }

After doing this the app will not crash. Although there are going to be some other problems -
We cannot access any assets!!
I have tried to update the asset manager with flutterJNI.updateJavaAssetManager(assetManager, flutterApplicationInfo.flutterAssetsDir); as provided in flutter 2.8.1 because of a deferred component feature this will lead to a crash with log-

backtrace:
2022-03-11 17:04:02.728 23592-23592/? A/DEBUG:     NOTE: Function names and BuildId information is missing for some frames due
2022-03-11 17:04:02.728 23592-23592/? A/DEBUG:     NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
2022-03-11 17:04:02.728 23592-23592/? A/DEBUG:     NOTE: found under the lib/ directory are readable.
2022-03-11 17:04:02.728 23592-23592/? A/DEBUG:       #00 pc<PHONE_NUMBER>53e1f4  /data/data/com.tickledmedia.ParentTown/files/splitcompat/650/native-libraries/flutter.config.arm64_v8a/libflutter.so
2022-03-11 17:04:02.728 23592-23592/? A/DEBUG:       01 pc<PHONE_NUMBER>04c0ac  [anon:libc_malloc]

*/

This might require additional investigation and a flutter engine patch to make it work. I did not explore this further because it is creating problems in deferred component feature as well, Github issues associated with that-
Unable to load deferred component assets #96046
Lost image assets from downloaded deferred component on release build #86923
To solve this I have loaded all assets from the network as a zip file and unarchived that to use in the application.
Now your application can load all the assets!!
The other problem that is going to occur is you are not able to see any material design icons. That you or libraries have used in your application using Icons.whatever.
The workaround for this is to create an assets folder in your app module and add the files from the flutter module after extracting them from the app bundle as shown in the image.

Hi @xster.
I think that @kdcyberdude hit the nail on the head with his discovery. You can find an implementation example here: https://github.com/flutter/flutter/issues/92061
Can the Flutter team analyze it?
Thanks a lot!

val injector = FlutterInjector.instance()
val flutterLoader = injector.flutterLoader()
flutterLoader.startInitialization(applicationContext)
val pathLoader = applicationContext.classLoader as PathClassLoader
val path = pathLoader.findLibrary("app")
val nativePtah = pathLoader.findLibrary("app").dropLast("/libapp.so".length)
val shell = "--aot-shared-library-name=$path"
flutterLoader.ensureInitializationComplete(applicationContext, arrayOf(shell))

it's ok.

@liulianshanzhu It works like a charm. Awesome dude. You should write a blog post about "dart VM flags".😎
@ldasilva-net Created a PR for other to test as well. https://github.com/ldasilva-net/feature_delivery_flutter/pull/2
cc: @GaryQian

Gary is no longer working on flutter issues. Removing him to correctly reflect bug status.


Added preproccessor directive to build Vulkan DLL

If vulkan.h was included or if GLFW_INCLUDE_VULKAN was defined in glfw_config.h, then attempting to build GLFW as a DLL would cause compilation errors, since internal.h redefines a few vulkan types.

You must not define public header macros when compiling GLFW. There is a note to that effect at the end of the section on manual compilation.

Thank you for reporting this!


Reduce AJAX Calls on Product Page

reduced the number of ajax requests on product show page by making single ajax request every 500ms from show.js.erb
show.js.erb now only reloads partials if a task's product is not ready or a task has a test execution that is pending
added integration test for AJAX reloading the product test links

I added a product with a bunch of measures and it worked through all of them, but after it finished the last 6 were stuck on "building" after the requests stopped. @jaebird123

After adding a product, the bulk download progress no longer continuously updates. I think something is off with products/show.js.erb.

Ok, yeah I see the issue with not showing the progress of the bulk download. I'll fix that. I'll try to reproduce the measure tests stuck in building too and see if I can fix it


what dose these mean in the svg file? "$" "#"

i am a new comer to this nice project , and i begin to use go-callvis to analyze the source code of golevedbhttps://github.com/syndtr/goleveldb.after i generate the svg file , i find some symbols(eg. "$","#" in "main$6", "main$5$1$1" ,"init#1"

) in the svg.
what does these symbols mean? Do they mean a goroutine function call?
my commond is blow:
go-callvis -group pkg,type -nostd -nodesep 0.05 -limit github.com/syndtr github.com/syndtr/goleveldb/manualtest/dbstress

ok,I know! that represents anonymous functions in golang

I've submitted an enhancement request to allow naming anonymous goroutines in the diagram.. perhaps I can figure out how to implement that myself and submit a pull request.
Of course it would be even nicer if Go v2 allowed named goroutines :)

It seems you figured it out. For anyone else who might stumble upon this, here's list of possible function names:
"math.IsNaN"                  // a package-level function
"(*bytes.Buffer).Bytes"       // a declared method or a wrapper
"(*bytes.Buffer).Bytes$thunk" // thunk (func wrapping method; receiver is param 0)
"(*bytes.Buffer).Bytes$bound" // bound (func wrapping method; receiver supplied by closure)
"main.main$1"                 // an anonymous function in main
"main.init#1"                 // a declared init function
"main.init"                   // the synthesized package initializer

more at: golang.org/x/tools/go/ssa#Function.RelString


Overwatch not working

running Aurora beta v0.5.1d with my Logitech G910 and nothing happens when I load Overwatch, just a black keyboard no lights. Keep up the good work.

Take a look at #42

thanks, installing  Visual Studio C++ 2015 Redistributable x64 seemed to fix it. I assume rocket League will be fixed in next patch? I just get a blue keyboard, unless I missed something for that as well?

Rocket League is a can of worms that I refuse to touch nowadays. It will most likely not be fixed up, due to the painful process of finding correct pointers for it. I am waiting until a better alternative is available.


Regenerate genes.json

Fix bug (gene TRA) where the transcript has no features. In this case, the gene should not be included in genes.json.

Should the gene not be included or just don't run annotations? There could still be variants to view that are in ClinVar, for example

Regenerate genes.json in a condensed format, reducing size from ~8 MB to ~ 4 MB by using abbreviated field name (gn instead of gene_name) and using an array of values to indicate which build (GRCh37, GRCh38) and source (Gencode, Refseq) the gene is valid for.


[Feature Request] Improve UI Customization

For smaller screens the Studio is difficult to use since the right sidebar alone has a fix width of 600px.
Support scaling for the whole window which supports smaller screens while loosing less pixels.

couple of thoughts / ideas...

make the right sidebar a slide-out
allow users to hide columns in the main frame (grid).
example, for me...

I only have VPX tables; I never need to see that column
'high score type' ... I never need to see/know that.
'POV' ... this will never be relevant for me
'rom' ... I never need to see this in the grid.
'INI' ... while many of my tables have INI, I dont see why I need to see it on the grid, I've never needed to see/know that.

to save more space, and IMO be more helpful as a visual...
I suggest separate each 'item' from 'Version' and 'VPS Status' columns so users can choose to see only what they care about. (when you allow hiding columns)
examples...
I dont need to know if there is a mapped VPS to that table so I'd hide that.
I find table versioning is difficult to track/identify... so I dont look at that info in Studio. Maybe I just have not figured out how to do it right yet.

I think (?) is has duplicate info for if an update is avail, and other items.

Instead of scaling:

make sidebar collapsible
make columns configurable (persist changes)
make sections configurable (persist changes)

Delivered with 3.0.0


wasi-common error cleanup: part 1, yanix

This is the first PR in a series of PRs aiming at streamlining and future-proofing wasi-common's error handling. Changes included in this part of the series:

remove custom yanix::Errno and instead (as was previously suggested) reuse std::io::Error to generate and wrap raw *nix errno value
update wasi-common to use new way of handling raw OS error in yanix; i.e., via re-use of std::io::Error instead of a custom Errno enum

We move to std::io::Error so as to keep the number of error types as small as possible?

We move to std::io::Error so as to keep the number of error types as small as possible?

Correct. Dan and I agreed to decouple concept of WASI errno (it's ABI representation in fact) from the functional code in wasi-common, and this cleanup is the first step. This will make transition to wiggle much easier in the coming days.

This generally seems fine to me, I started to try to take a look at what was specifically going on but I'm pretty lost in how all these errors are handled.
In general there's a lot of rightward-drift and a lot of tests. I feel like a lot of this code could greatly benefit from not using methods-with-closures and instead have match statements with early-returns. That's sort of out of scope for this PR it looks like though.

@alexcrichton done in 686fd9d.


Distribution of vehicles over lanes.

Agents spawning on different lanes was implemented with #36. However, the exact distribution over lanes should be read from an XML file, preferably by adding a value in the .prof.xml which already contains spawning information.
The distribution is currently implemented in the following way:
if RIGHT_LANE_RATIO is set to .6, 60% of the cars will spawn on the rightmost lane, from the 40% left, 60% will spawn on the next lane and so on, for however many lanes there are.

Like so:
<agents multiple-routes="true" right-lane-ratio=".6">
   <route id="route0" spawn-probability=".2" HotShot="0" OldLady="0" Normal="1" SUMODefault="0"/>
   <route id="route1" spawn-probability=".15" HotShot="0" OldLady="0" Normal="1" SUMODefault="0"/>

   <route id="route2" spawn-probability=".2" HotShot="0" OldLady="0" Normal="0" SUMODefault="1"/>
   <route id="route3" spawn-probability=".15" HotShot="0" OldLady="0" Normal="0" SUMODefault="1"/>

   <route id="all" spawn-probability="0.3" HotShot="0.3" OldLady="0.3" Normal="0.4" SUMODefault="0"/>
</agents>


adopt tokio-epoll-uring on the write path

### Implement the required io\_uring Operations
- [ ] https://github.com/neondatabase/tokio-epoll-uring/pull/40
- [ ] https://github.com/neondatabase/tokio-epoll-uring/pull/41
- [ ] https://github.com/neondatabase/tokio-epoll-uring/pull/42

### Convert Pageserver Write Path To Owned Buffers - Patch Stack 1
- [ ] https://github.com/neondatabase/tokio-epoll-uring/pull/43
- [ ] https://github.com/neondatabase/neon/pull/6660
- [ ] https://github.com/neondatabase/neon/pull/6664
- [ ] https://github.com/neondatabase/neon/pull/6673

### Convert Pageserver Write Path To Owned Buffers - Patch Stack 2
- [ ] https://github.com/neondatabase/neon/pull/6731
- [ ] https://github.com/neondatabase/neon/pull/6765
- [ ] https://github.com/neondatabase/neon/pull/6777
- [ ] https://github.com/neondatabase/neon/pull/6769
- [ ] https://github.com/neondatabase/neon/pull/6775
- [ ] https://github.com/neondatabase/neon/issues/6890

### Once the above is merged
- [ ] https://github.com/neondatabase/neon/pull/6378
- [ ] switch on-demand downloads to VirtualFile
- [ ] https://github.com/neondatabase/neon/issues/6754

This week:

Deploy patch stack 2
PRs for remaining write path changes (stretch: including on-demand downloads)


Bug Photino.Native DllNotFoundException

Hello,
I use an Azure Remote Desktop to run Power BI Desktop. I have installed Bravo on my remote desktop but I receive the following error when I try to run it:
System.DllNotFoundException: Unable to load DLL 'Photino.Native' or one of its dependencies: The specified module could not be found. (0x8007007E)
at PhotinoNET.PhotinoWindow.Photino_register_win32(IntPtr hInstance)
at PhotinoNET.PhotinoWindow.<>c.<.ctor>b__238_0()
at PhotinoNET.PhotinoWindow.Invoke(Action workItem)
at PhotinoNET.PhotinoWindow..ctor(PhotinoWindow parent)
at Sqlbi.Bravo.Infrastructure.AppWindow.CreateWindow() in D:\a\1\s\src\Infrastructure\AppWindow.cs:line 58
at Sqlbi.Bravo.Infrastructure.AppWindow..ctor(IHost host, AppInstance instance) in D:\a\1\s\src\Infrastructure\AppWindow.cs:line 35
at Sqlbi.Bravo.Program.Main() in D:\a\1\s\src\Program.cs:line 25

Duplicate of #225

Hi @evnpresson, please see my response to https://github.com/sql-bi/Bravo/issues/225#issuecomment-1083064111 as the same applies here.


laravel5.5 local.ERROR: get_class() expects parameter 1 to be object, null given

error message
local.ERROR: get_class() expects parameter 1 to be object, null given {"exception":"[object] (ErrorException(code: 0): get_class() expects parameter 1 to be object, null given at /www/wwwroot/api.rsyun.net/you/vendor/dingo/api/src/Http/Response/Factory.php:126

Closing this - please use the new issue format, as it's not clear at all what the problem is or what is happening to cause it.

I am having this same issue, if I call
$this->reponse()->item(null, new DefaultTransformer())
@specialtactics The Response/Factory item method should check for null item before calling get_class() due to php 7.2 decision to throw if given a null argument:
https://www.php.net/manual/en/migration72.incompatible.php#migration72.incompatible.no-null-to-get_class

Thanks @stevenmyhre , fixed that issue just now:
https://github.com/dingo/api/pull/1718


Dynamic properties in set and remove

In Cypher 5.24:

Added the ability to dynamically reference properties in SET and REMOVE clauses.

For example:
SET n[$prop] = "hello world"
REMOVE n[$prop]

Same as #427, supporting expressions on .property should be a good api for this syntax

This is already supported as a result of .property already accepting expressions


chore(deps): update dependency commons-collections:commons-collections to v20040616

This PR contains the following updates:

Package
Update
Change
References

commons-collections:commons-collections
major
3.2.2 -> 20040616
homepage

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

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

This PR has been generated by Renovate Bot.

This seems to be reverting to a previous version?
Maybe the date is being interpreted as the major version?
Commons collection 4 upgrade worked as expected. https://github.com/Jasig/email-preview/pull/91
/cc @rarkins not sure if this is a fluke or a bug, will keep an eye out to see if it happens again.

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

It’s a higher (numerically) version. Is there some standard for how a computer could tell that a library switched from calendar versioning to semver?

standard for how a computer could tell that a library switched from calendar versioning to semver

There is not, very little about maven versioning is standard.
Is there a way to tell renovate to use semver only or date base only versions for a specific package?

You actually can normally control the version scheme down to individual packages but it's not supported yet for Gradle due to the way we use a plugin to skip the usual lookup logic.


Extract decorated functions as top level variables

Could we get an option in .babelrc to extract each decorated function individually as it's own variable. Reason being is that react-hot-loader requires the OG decorated function (react component) to be its own top level variable. See their docs for the full explanation.
Currently this plugin transforms decorators to something like this:
const SuperComponent =
     connect()(         <-- last HoC
       withSomeStuff(   <-- first HoC
         Component      <-- a real component
       )
     );

But with a "topLevel": true plugin option in .babelrc (just in development env section in my case), this plugin could transform decorators like this:
 const WithSomeStuffComponent = withSomeStuff(Component);
 const SuperComponent = connect()(WithSomeStuffComponent);

Would this be possible?

I'm not sure I fully follow the details, but this seems like the type of thing that could be implemented as a separate plugin that would run before this one, if you wanted that behavior. I'm not sure it is something that this plugin would do on its own?

I believe this is exactly what I'm attempting here :),
https://www.npmjs.com/package/babel-plugin-undecorate
I'm assuming the reason you'd want this is for testability of the underlying class/method (that's why I wanted it).

Closing as this is probably solved by babel-plugin-undecorate!

@vdh As @loganfsmyth said, this issue doesn't have to be solved in this plugin, it's a little bit out of scope. I no longer need this so I haven't tested @sirrodgepodge's plugin but I assume that's the repo we can open an issue on if that doesn't solve this feature request.

OK, reopening to be looked at by @loganfsmyth


If Resend Interval is set to 0, no alerts are ever sent

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Using Ntfy notification backend, if I set the Resend Notification if Down X times consecutively to zero, I do not get notifications at all from that monitor. I would prefer to not receive more than one alert for each outage, but this seems not possible at the moment. Maybe related to #3365?
👟 Reproduction steps

Set up notifications
Create a monitor
Set Resend Notification if Down X times consecutively to zero
Enable notifications
Let the monitor go down

👀 Expected behavior
I get a notification
😓 Actual Behavior
I get no notification
🐻 Uptime-Kuma Version
1.23.8
💻 Operating System and Arch
Alpine Linux edge
🌐 Browser
any
🐋 Docker Version
Docker 24.0.7, Compose v2.23.3
🟩 NodeJS Version
16.13.1
📝 Relevant log output
Logs look identical to monitors with Resend Interval set above 0

And you set the notification resend interval to 0, not the uptime check retries? Just making sure since that is all you took a screenshot of.
This always happens with all monitors for me. After changing all monitors to use a larger integer notifications magically started working. There is nothing particularly interesting about my setup that might make it different.
I can do some testing if you like.

Yes, can still reproduce this.

I also can no longer reproduce this with the existing monitors that were experiencing this. Maybe by setting the value higher than 0 it got them out of whatever state they were stuck in. I will reopen if it re-emerges.


[DRAFT][DSIP-22][TriggerPlugin] Introduce Trigger Plugin

Purpose of the pull request
try to resolve https://github.com/apache/dolphinscheduler/issues/15330
Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

You should have a design and poc code before submit pr.

You could send an email to<EMAIL_ADDRESS>to bring up the discussion.

You could send an email to<EMAIL_ADDRESS>to bring up the discussion.

Thank you Eric.
I am still working on detail design of this draft.
I will push thread into dev email after I finish the design.

You could send an email to<EMAIL_ADDRESS>to bring up the discussion.

Thank you Eric. I am still working on detail design of this draft. I will push thread into dev email after I finish the design.

Great, looking forward to it.


Init MESSAGEMAN earlier

It is undefined behaviour to call MESSAGEMAN->Broadcast before initialization (compilers are free to compile away the null check on MessageMan.cpp:209, and in fact g++ does, leading to a SIGSEGV on startup).

vanilla has had this merged for a couple years and i didn't have any issue when testing it so, ok


Invalid typespec for S3.presigned_url

Hey there, I'm calling the S3.presigned_url func but it's messing up in dyalizer. It seems like your specced it out to take as input for the config variable a n empty map %{}. I think instead had wanted to simply specify a map type? I think in that case you would specify map instead. I think it's requiring an empty map but I'm passing in a config with values.
Here's my full dialyzer error in all its glory:
The call 'Elixir.ExAws.S3':presigned_url(config@1::#{'access_key_id':=_, 'host':=_, 'region':=_, 'scheme':=<<_:64>>, 'secret_acces
s_key':=_},'get',bucket@1::any(),path@1::any(),opts@1::[{'expires_in',86400},...]) breaks the contract (config::#{},http_method::atom(),bucket::binary(),object::binar
y(),opts::presigned_url_opts()) -> {'ok',binary()} | {'error',binary()}

When I change to pass in just an empty map %{} as config dyalizer is cool with it.

Ah yeah, it's because the meaning of %{} changed with the later OTP releases. Originally it meant any map. Please feel free to PR a fix.

fixed in https://github.com/CargoSense/ex_aws/pull/434


TICTACTOE - IOERRORHANDLING

I noticed the input error handling resulted in a while loop so I adjusted that. If you have any feedback on this please let me know. I am interested in getting my first successful pull request.

@21mooie Did you test the changes?

Yeah I did.

Cool! Thanks and congratulations for your first pull request! 🎆

Thanks a bunch. I really appreciate it!


Can't see images

After loading a model with vision capabilities into LM Studio and sending it an image through Discord it says that it can't see images.
Is this a limitation on the LM Studio's side or am I actually doing something wrong?

What are you setting LLM to? It should be "local/openai/vision-model".

 Apologies.


support fish speech TTS model

Feature request / 功能建议
support the fish speech model. Which sounds better than ChatTTS and CosyVoice
Motivation / 动机
Better TTS solution
Your contribution / 您的贡献
https://huggingface.co/fishaudio/fish-speech-1.2-sft

Thanks, we need to some investigation first.

According to my simple test, far more better than ChatTTS and CosyVoice

@codingl2k1 I think we can support this next week.

I try to run fish speech tts on cpu. Get the error log:
hydra.errors.MissingConfigException: [address=<IP_ADDRESS>:34645, pid=158] Cannot find primary config 'firefly_gan_vq'. Check that it's in your config search path.
0.14.3

Could you open a new issue about it?

open new issue: https://github.com/xorbitsai/inference/issues/2195


[AQUMV] Answer Aggregation Query Directly.

This commits enable answer query which has aggregation directly. Use the results of view has aggregations to avoid compute those from origin table.
This may lead to significant efficiency gains if the SQL has a large amount of data.
AQUMV will always return results immediately.
If we have a valid view like:
create materialized view mv as
  select sum(c1) as mc1, count(c2) as mc2, avg(c3) as mc3, count(*) as
mc4
  from t where c1 > 90;

SQL:
select count(*), sum(c1), count(c2), avg(c3), abs(count(*) - 21) from t where c1 > 90;

Could be rewritten to:
select mc4, mc1, mc2, mc3, abs((mc4 - 21)) from mv;

Plan:
explain(verbose, costs off)
select count(*), sum(c1), count(c2), avg(c3), abs(count(*) - 21) from t where c1 > 90;
                                    QUERY PLAN
------------------------------------------------------------------------
 Gather Motion 3:1  (slice1; segments: 3)
   Output: mc4, mc1, mc2, mc3, (abs((mc4 - 21)))
   ->  Seq Scan on mv
         Output: mc4, mc1, mc2, mc3, abs((mc4 - 21))
 Settings: enable_answer_query_using_materialized_views = 'on',
optimizer = 'off'
 Optimizer: Postgres query optimizer
(6 rows)

View query with Group By is not supported yet.
HAVING clause process:
If some HAVING quals only exist in origin query and they could be computed from view query's target list, then we could keep them like post_quals.But as the view has aggregations, the additional quals should be moved to WHERE instead of HAVING.
create table t(c1 int, c2 int, c3 int, c4 int);
create materialized view mv as
  select sum(c1) as mc1, count(c2) as mc2, avg(c3) as mc3, count(*) as
mc4
  from t where c1 > 90;

SQL:
select count(*), sum(c1) from t where c1 > 90 having abs(count(*) - 21)
> 0 and 2 > 1 and avg(c3) > 97;

Could be rewritten to (The HAVING clause has been rewritten to WHERE clause):
select mc4, mc1 from mv where mc3 > 97 and abs(mc4 - 21) > 0;

Plan:
explain(verbose, costs off)
select count(*), sum(c1) from t where c1 > 90 having abs(count(*) - 21)
> 0 and 2 > 1 and avg(c3) > 97;
                                    QUERY PLAN
------------------------------------------------------------------------
 Gather Motion 3:1  (slice1; segments: 3)
   Output: mc4, mc1
   ->  Seq Scan on aqumv.mv
         Output: mc4, mc1
         Filter: ((mv.mc3 > '97'::numeric) AND (abs((mv.mc4 - 21)) > 0))
 Optimizer: Postgres query optimizer
(7 rows)

There are two additional HAVING quals:
Expression: 2 > 1 (would be eliminated during planner). Expression: abs(count(*) - 21) > 0, it could be computed from view as:
	abs(mc4 - 21) > 0

And the new one is put to WHERE clause and acts as a Filter finally.
ORDER BY clause:
There is a trick for ORDER BY for both origin query and view query. As we has no Groupy By curretly, the aggregation results would be either one or zero rows that make the Order By clause pointless.
We could avoid considering the sort columns if it's a junk for view matching.
LIMIT clause:
As we have no group by for view with aggs now, the final result would be either one or zero row.
LIMIT, OFFSET clause of origin query could be applied to view if there are consts.
create incremental materialized view mv as
  select sum(c1) as mc1, count(c2) as mc2, avg(c3) as mc3, count(*) as
mc4
  from t where c1 > 90;

Query:
  select count(*), sum(c1) from t where c1 > 90 limit 2;

Could be rewritten to:
  select mc4, mc1 from mv limit 2;

Authored-by: Zhang Mingli<EMAIL_ADDRESS>

fix #ISSUE_Number

Change logs
Describe your change clearly, including what problem is being solved or what feature is being added.
If it has some breaking backward or forward compatibility, please clary.
Why are the changes needed?
Describe why the changes are necessary.
Does this PR introduce any user-facing change?
If yes, please clarify the previous behavior and the change this PR proposes.
How was this patch tested?
Please detail how the changes were tested, including manual tests and any relevant unit or integration tests.
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:

[ ] Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
[ ] Sign the Contributor License Agreement as prompted for your first-time contribution(One-time setup).
[ ] Learn the coding contribution guide, including our code conventions, workflow and more.
[ ] List your communication in the GitHub Issues or Discussions (if has or needed).
[ ] Document changes.
[ ] Add tests for the change
[ ] Pass make installcheck
[ ] Pass make -C src/test installcheck-cbdb-parallel
[ ] Feel free to request cloudberrydb/dev team for review and approval when your PR is ready🥳

While develop #685, SRF also need to be considered here: https://github.com/apache/cloudberry/pull/685#issuecomment-2453949643
Will fix it later.

Update:
Disable query has SRF to AQUMV and Remove raw_processed_tlist elimination.
The origin SQL has removed useless ORDER BY clause, only process view query is enough.