Internal error: generated ill-typed AIR code

The verifier crashed. You can reproduce the following error by checking out the verus-crash branch of the verus-systems-code repo, at https://github.com/verus-lang/verus-systems-code/tree/verus-crash, and running scons --verus-path=<your verus path> from the ironfleet-comparison directory.
thread 'rustc' panicked at 'internal error: generated ill-typed AIR code: error 'in equality, left expression has type tuple%0. and right expression has different type vstd!vec.Vec<lib!cmessage_v.CPacket.>.' in expression '(= tmp%7@ (%Poly%vstd!vec.Vec<lib!cmessage_v.CPacket.>. tmp%5@))'', rust_verify/src/verifier.rs:375:21

Not entirely sure what the problem is yet. For anyone in the future, a minimized repro is:
struct X {}

fn gha() -> Vec<X> { Vec::new() }

fn test(o: Option<Option<int>>) -> (sent_packets: Vec<X>)
    ensures sent_packets.view().len() == 0
{
    match o {
        Some(m) =>
            match m {
                Some(_) => {
                    return gha();
                }
                _ => {
                    assume(false);
                    unreached()
                },
            },
        _ => {
            assert(false);
            unreached()
        }
    }
}

Thanks for minimizing it, Travis!

Ok, it should be fixed by https://github.com/verus-lang/verus/commit/6751110a48c3ea0fdd5752e48a5a0594269f457f .

Wow, that was fast. Thanks!


[skip ci] Build UM7 from dev-access-esm1.6 branch

Also update git tags for other packages

The most recent, relevant updates that are in the update_cable3 branch will be added to main via this PR.

Don't forget to have [skip ci] in the merge message, @harshula !


Error in user info by id endpoint

Observed following error while using VisitProfile
2022/11/29 10:29:29 error while scraping instagram views Error while calling users/1405111356/info/, status code 500: Oops, an error occurred.  (500 Internal Server Error)
Tried for different users, same error. Rest everything is fine and data gets populated in the Profile struct.

Likely account related but I'll have a look


fixed pyhton 3 bug

1st pass done :+1: Just 2 super minor comments. Also, it looks like you have fallen out of date with develop, so you'll need to pull it in.


Create Dependabot config file

What type of PR is this?

Dependabot pulls down your dependency files and looks for any outdated or insecure requirements.

Dependabot opens pull requests. If any of your dependencies are out-of-date, Dependabot opens individual pull requests to update each one.

You review and merge. You check that your tests pass, scan the included changelog and release notes, then hit merge with confidence.

/kind cleanup
What this PR does / why we need it:
Updates dependencies that are out of date. For example #185  could have been automatically notified by dependabot
Which issue(s) this PR fixes:
Fixes #182 - indirectly
Special notes for your reviewer:
https://dependabot.com/
Dependabot setting can be enabled like this.

Which has depedabot pulls with updates to dependencies.
https://github.com/naveensrinivasan/security-profiles-operator/pulls
Does this PR introduce a user-facing change?
NONE
NONE

/ok-to-test
@naveensrinivasan can you please sign the CNCF CLA?

@saschagrunert  I used the commit from the bot. I am going to close this PR and open another one with my identity.

/ok-to-test
@naveensrinivasan can you please sign the CNCF CLA?

@saschagrunert  I used the commit from the bot. I am going to close this PR and open another one with my identity.


Close #1641 (https://github.com/Terracotta-OSS/statistics/pull/21)

@ljacomet @anthonydahanne  : build failed, but not because of the changes.
https://ehcache.ci.cloudbees.com/job/ehcache3-pull-requests/3468/
Do we ignore this test ? It is failing quite often.

test this please


Table: Fix #22603 vertical scroll bar does not appear when change the row height

修复了issues #22603 ，插槽内的el-select高度变化，并且改变了data里item的某个属性之后，滚动条不出现的问题。
Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

bug 复现如上


anchor build -v with anchor 0.29 fails becaues toml_edit v0.21.1 requires rustc 1.69 or newer

Creating a verifiable build of my Solana program fails because of toml_edit v0.21.1:
error: package `toml_edit v0.21.1` cannot be built because it requires rustc 1.69 or newer, while the currently active rustc version is 1.68.0-dev
Either upgrade to rustc 1.69 or newer, or use
cargo update -p<EMAIL_ADDRESS>--precise ver
where `ver` is the latest version of `toml_edit` supporting rustc 1.68.0-dev

This cargo tree output shows the version is a dependency of spl-token-2022:
│   │   ├── spl-token-2022 v0.9.0
│   │   │   ├── num_enum v0.7.2
│   │   │   │   └── num_enum_derive v0.7.2 (proc-macro)
│   │   │   │       ├── proc-macro-crate v3.1.0
│   │   │   │       │   └── toml_edit v0.21.1

I saw a similar error mentioned in #3012, but I don't know how to apply the resolution to this issue.

You need a lock file that has compatible toml_edit version to make older versions build. You can manually try downgrading dependencies in your lock file until it works, or upgrade to latest Solana and Anchor version which doesn't have this problem.

Thanks!
I've managed to make it work by pinning the num_enum crate to version 0.7.1 in my cargo.toml
num_enum = "=0.7.1"


Dynamic codes not redirecting

Hello.
Installation was without any problems. A version of PHP 7.3 is used.  Generated dynamic QR codes are not redirecting to URLs entered during code creations.  Scanned QR will just go to:  https://installation-domain.com/read.php?id=xxxxxx (nonexisting page)
Thank you in advance for your support.

Hi there should be no problems with the PHP version. Some users have had the same problem as you because they kept the path / PHP-Dynamic-Qr-code / and you should remove it... In any case I recommend that you use Xdebug in a reasonable IDE to find errors.

Hello again and thank you for your fast reply.
Are you talking about the script installation path?   The script is installed in a subfolder: https://instalation-domain.com/qrcode/
What I should remove?
Sorry for the question, I am a user, not a coder, and not sure what and from where I should remove / PHP-Dynamic-Qr-code /.
Should the script be installed in the root directory of the website to work properly?

Ji if you have the path /qrcode then that's right and I confirm that the script must be installed in the root directory. Without seeing the problem I don't know how to help you it could depend on several factors 😅. Not being a programmer you might miss something

https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/issues/2
That worked for me ^
You should put the read.php into the main dir because it is missing and change line 12 to include 'config/config.php';


Separate gAMA/cHRM chunk and contents

Introduces two new fields to Info: gama_chunk and chrm_chunk which hold the original contents of those chunks regardless of any overwriting/ignore by sRGB. They are also used to track if such a chunk was already parsed instead of reusing the shared fields. Since the struct is #[non_exhaustive] this is a backwards compatible change.
Closes: #340 (still needs a regression test)

I'll already preparing a changelog and release PR directly afterwards, let's discuss the changelog item there.


Recursion docs and examples

For #2130

Current coverage is 87.07% (diff: 92.72%)

Merging #2137 into master will decrease coverage by <.01%

@@             master      #2137   diff @@
==========================================
  Files           305        306     +1
  Lines         56226      56427   +201
  Methods           0          0
  Messages          0          0
  Branches       5819       5851    +32
==========================================
+ Hits          48958      49133   +175
- Misses         6329       6348    +19
- Partials        939        946     +7

Powered by Codecov. Last update 08d5c88...bb686b6

This will need a rebase once #2130 is merged

@stuartarchibald , I have fixed and clarified the doc.

Thanks for this document. It does a good job of explaining recursion support and some of the internals involved, the example presented is also good. Merging.


[BEAM-121] Add display data to ParDo transforms

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace "<Jira issue #>" in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @bjchambers

Conflicts blocking test run(s).

I've addressed all feedback so far. Please take another look. @bjchambers

LGTM.

Backported via https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/216


Fixed compiler warnings

This is a prerequisite for https://github.com/apache/incubator-mxnet/pull/12477

Ping

@tqchen might be able to help

Thanks @tqchen !


why vscode update my crystal lang extension without my permission?

now all the variables inside my methods are light blue, not white
i do not like this and never asked vscode to update to the latest version :/
is it possible for me to change this? i mean everything was working just fine for nearly a year, it was perfect! 😿 😭

Hi @girng You can disable it on settings.json:
{
 "extensions.autoUpdate": false
}

now all the variables inside my methods are light blue, not white

Yeah, I'm working on a new syntax file, based on sublime-crystal one :sweat_smile:
BTW, you can install any version of vscode-crystal-lang if you want:

Recently added here https://github.com/Microsoft/vscode/issues/12764

yeah, when i click on install previous version the top bar just fades in and out really fast (issue with vscode probably). i made an issue in their repo.  thanks for the help

and really @faustinoaq i love your plugin.. not an issue with the plugin itself really, just i hate change lol. i have so much crystal code already and when i see new colors it just makes me more confused. i prob just have to get used to it.


Linked Scopes - minispec

Not sure if this is useful, because you can manually get pretty close (see updated docs at https://github.com/kohesive/injekt/blob/master/README.md#scopes) using something like the shown MyActivityScope or MyActivityModule examples.

Scope can be created and linked to another scope (or more than one scope).  The scope you create is the “called scope” and the others are “linked scopes"
The linking has the following properties:  is the Linked scope allowed to provide existing cached instances (true by default), is Linked scope allowed to generate new instances (false by default), are new instances are cached in the called scope  or the scope who’s factory actually makes the object which is either called scope or linked scope (called scope is the default).

so you would make myActivityScope linked to Injekt global
and anything already in global can be used, but it cannot create anything else, only myActivityScope can create new instances.  And anything registered in myActivityScope will override the global Injekt by default
you can change the behaviour by the settings listed in # 2
So this would be called something like LocalOverridingScope with those defaults
others will want the settings to differ, such as having the global still make new instances of types it has registered but the other scope does not.
others will want the caching of the instances to be in the called scope, others in the scope that did the factory
others will want the factory called if the local scope does not have the item, but declare the factories only in the linked scope (including singleton factories)

see related #32, and SO http://stackoverflow.com/questions/35315548/in-the-injekt-library-for-kotlin-how-do-i-create-local-scopes-such-as-for-each

#32 might be good enough solution not requiring #31


Fixes #18 : gitmodules add tag v1.10.28

Hi,
That's good idea as currently we use specific commit from main branch.
But I think that .gitmodules file doesn't have the option to specify tag. the specific reference stored in git index.
Instead we should update the submodule to point to the tag.
Can you enable the option allow edit by maintainers so I can edit this PR? currently it's not editable

Created https://github.com/thewh1teagle/sherpa-rs/pull/20 with Co-Author.


Setting localization cookie based on provider results

What would be the most appropriate way to set a cookie for CookieRequestCultureProvider based the value returned by the RequestProviders? If I chose a culture by appending it to the querystring I would like this to be persisted so I don't have to reuse that querystring all the time but I haven't figured out when that cookie should be created. I'm leaning against adding another middleware for it just after the localization stuff but it feels a bit hacky to put this outside of the localization pipline.
There is a nice helper method, CookieRequestCultureProvider.MakeCookieValue, that I could use but it isn't used in any samples. Any suggestions on this?

@karl-sjogren can you post this question in https://github.com/aspnet/Localization/issues/? There's where the loc experts hang out.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Generalized Linear Models	- Logistic Regression

@jmanitz and me would like to take over the R part.

pull request submitted

Hi @alex-lauer @molmac @jmanitz .   Great to have this R part completed,  are any of you working on the SAS part & comparison?  @bvarney9 offered to help if needed so just wondered if anyone had started.

@DrLynTaylor I haven't managed the SAS part or comparison yet so would be happy for this to be handed over

@bvarney9 -  If you do get any time, it would be great if you can do the SAS part for Logistic regression

Hi all, A few of us at Novartis started working on the comparison between R vs SAS for logistic regression (default, firth, g-computation)

That's fantastic @CraigWangStat  as we didn't get chance to make any further progress -  If you have any questions or need any help to complete the pull request just reach out to me   or @statasaurus

That's fantastic @CraigWangStat as we didn't get chance to make any further progress - If you have any questions or need any help to complete the pull request just reach out to me or @statasaurus

Thanks! PR is now in #253


Center-align toast message content

Describe the solution presented in this issue.
Center-align toast message content.

Additional Context
Confirm this change with UX.
Done when:
What criteria need to be met for the issue to be finished?

[ ] The icons and text in toast messages are centered vertically and aligned with each other.

@sijiayam, do you agree that we should do this?  If so, which delivery phase would you put it in?  I put it in M3.5, but we could change that if you think it's best.

@melanie-exygy Agreed that we need to update the styles visually.
As a design standard, we may move away from using toasts at all. Rather show a success alert when the state has changed. Happy for this to be M3.5 with an associated design issue.

@melanie-exygy Agreed that we need to update the styles visually.
As a design standard, we may move away from using toasts at all. Rather show a success alert when the state has changed. Happy for this to be M3.5 with an associated design issue.

Should I change this issue so that it's about replacing all NS toasts with alerts?  (Not sure how many toasts are left.  Probably not many.)


Hello, the same problem i have win 10

Hello,
I am a mac user, I am having the same issue. I can render the text files, but there appears to be an issues with youtube downloader. If anyone has reached a solution to this, I would appreciate if you can share.
$ youtube-dl --version
2021.06.06

$ udacimak --version
v1.6.6

$ nvm --version
0.39.0

$ node --version
v16.11.1

$ npm --version
8.0.0

I have already tried replacing the latest youtube-dl.exe in udacimak, it appears to make no difference.

I had the same issue before and most probably it's a connection issue with youtube-dl


Update shader-dash.js

Added diffuse uniform to be used, seems like it was missing and cannot define color by changing that uniform.

Cheers! 🍻


Add stages for executor

As discussed in https://github.com/HPC-buildtest/buildtest-framework/pull/237#issuecomment-604514513, an executor should have different stages to interact with a builder (and execute some build). I like @shahzebsiddiqui suggestion for a start:

I like this idea, it makes sense to me and defines a proper control sequence of events run by each executor.

For slurm i could see the stages such as

setup: buildtest will write slurm job scripts
check: check if slurm partition is available for accepting jobs, if not skip job
dispatch:  dispatch jobs to scheduler
poll: wait for jobs to finish, periodically run squeue or sacct to see if job is in one of its end state see https://slurm.schedmd.com/squeue.html#lbAG
gather: gather all job data, exit code, output and error to print to stdout and store data for post-processing (convert output to json)
close: clean up any generated files

This is now addressed in https://github.com/buildtesters/buildtest/pull/329


Continued Errors After HA Restart

Description
After restarting, this integration throws errors for one of the cameras.  Oddly enough, it is a bit random on which one it is.  I have 3 Tapo cameras connected....
Camera 1

Model: C211
Firmware: 1.3.9 Build 231019 Rel.31045n(5553)

Camera 2

Model: C211
Firmware: 1.3.9 Build 231019 Rel.31045n(5553)

Camera 3

Model: C225
Firmware: 1.0.27 Build 231120 Rel.55235n

Camera 3 was recently updated to a new firmware and it seems to be the most stable.  Camera's 1 and 2 randomly will throw an error and it impacts the motion detection, ,motion alarm and noise detection functionality when it does error.  They become unavailable.
Reproduction Steps
Restart HA and it happens nearly every time.
Expected behavior
Restart HA and it not error out.
If applicable, add error logs.
debug logs.txt
Device Firmware
Firmware: 1.3.9 Build 231019 Rel.31045n(5553)
Integration Version
5.4.12
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
HA OS installed on a NUC with Google Coral TPU
Search for similar issues
Yes
Additional information
No response

Same issue here.
I have 4 x Tapo C310 cameras setup and the availability of "binary_sensor.[…]_motion_alarm" and "binary_sensor.[…]_noise" of each camera seems to be totally random.
Looking at the history chart of these sensors for a couple of days, they disappear for 6-10 hours and sometimes come back for just a few minutes to a few hours to then disappear again.
The camera settings and network setup did not change all the time.
Not sure if this is related to restarts of HASS,  but I restart HASS quite often these days.
Here are the relevant states from developer tools => states if this helps:
binary_sensor_states.txt
I wonder what “restored: true” means?
Anyway, there are sensors without that attribute not working as well.
I had the impression that removing the cameras from the integration and adding them again gets the sensors back – but they still disappear again after a few hours.

Restarting HA removes sensors that have been working fine before.
Even triggering the sensors does not bring them back.

Read FAQ.

Thanks for getting back on this.
I read the FAQ at least 10 times and I don't see what I'm missing.
Sensors of all 4 cameras did work a couple of times,
therefore network including webhooks should be fine.
There are no disabled entities in .storage/core.entity_registry.
All cameras run the latest firmware version 1.3.9
Meanwhile camera #3 has both sensors back (without me doing anything).
All other cameras have both sensors "unavailable" and one even "missing entity".

Motion sensor is added only after a motion is detected for the first time.

Sure, but as I said before:
I triggerd motion and noise alarm on all cameras after restarting HA - to no avail.
Camera #1 reports 10+ motion events since the restart, but the sensor is "unavailable":
[binary_sensor.camera_eingang_motion_alarm]
Camera_Eingang Motion Alarm
unavailable	restored: true
device_class: motion
friendly_name: Camera_Eingang Motion Alarm
supported_features: 0

This integration reuses official onvif integration. See if it works there with no issues if you have tried everything else in the faq.
You can also enable debug logs both for onvif and this integration to see what exactly is going on with onvif.

Thanks again for the speedy reply!
The debug log for the Tapo integration shows the same error for all cameras:

Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 11:30:58 (60 occurrences)
Last logged: 15:53:04
Error setting up entry <IP_ADDRESS> for select
Error setting up entry <IP_ADDRESS> for siren
Error setting up entry <IP_ADDRESS> for update
Error setting up entry <IP_ADDRESS> for binary_sensor
Error setting up entry <IP_ADDRESS> for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 440, in async_setup_entry
return await component.async_setup_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 187, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!

I will dig into the onvif logs now.

That looks like something wrong with the environment.
Try completely removing the cameras including entries for tapo_control inside .storage.
Then add cameras back and it should be ok.

Thanks, I will give that a try.
Available sensors should stay available until a restart of HA, correct?
After a restart they will be unavailable until they are triggered once again, correct?

Same problem here. Everything works for a few days then 1 of the 4 cams shows unavailable for the motion entity. Triggering it, reloading integration, rebooting cam, rebooting HA, nothing brings it back. Removing the cam and re-setting it up again, brings it back working for a few more days. Then start all over again with a different cam unavailable. All C110, All same FW, etc. can't see any reason why...

Also, FYI, installed the ONVIF integration a few days ago and it works without issue. The motion sensors appear and they've never gone unavailable since I installed it.

I’ve tried the removal, including the .storage removal, and even removed the integration completely - still throws this error every restart. I’ve tried the ONVIF integration and it only exposes a fraction of the entities. So that’s not an option either.

I agree with the ONVIF comment, it was just suggested we try it to see if the Motion Sensors do the same thing in there, and from my observations, they don't. But yes, ONVIF has many less entities that the Tapo integration for sure....

Closing as this now looks to be fixed on new firmware. If issue persists, please open new issue.


Update scala-library, scala-reflect to 2.13.5

Updates

org.scala-lang:scala-library
org.scala-lang:scala-reflect

from 2.11.12 to 2.13.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.11.12).
You might want to review and update them manually.
.travis.yml

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang" } ]

labels: library-update, semver-minor, old-version-remains

Superseded by #159.


feat: add ryoppippi/zigchat

ryoppippi/zigchat: a command that just send a prompt to openai and receive a reply

Thank you!

v4.53.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.53.0


Windows 10 - Bruno cannot start/hangs/get killed when a request body is too large

v0.15.2
Bruno cannot start/hangs/get killed (app not responding, one thread gets stuck or takes too long to answer?) when a request has a large XML body.
This request was in a postman collection, it worked in Postman (even though postman took a few seconds to open the "body" tab).
The test itself was to validate that an API was able to handle a large content
The xml body line count is around 210200 lines in the "bru" file.
The file itself weighs 17-18Mb

Hi @l0new4nder3r
Can you try this for the test.
Instead of directly saving this in the bru file, create a separate file to store the large data
You can open the collection in an editor and do this.
|- collection
| |- data
| | |- large-xml.js
| | request.bru
| | bruno.json

large-xml.js
module.exports = `
  <xml>
  ...
  </xml>
`;

In the pre-request script in request.bru you can add
const largeXml = require("./data/large-xml");

req.setBody(largeXml);

PS: We definitely need to fix the performance issue, just suggesting a workaround for your test.

Hi,
Thanks for the quick replies!
I tried that, and at least the app doesn't break because of this request in the collection :)
When trying to call the API, I got this error in bruno

Error invoking remote method 'send-http-request': Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit

Which makes some sense if there is a hard coded limit somewhere for the body length.
I reckon this is not a high priority use case.
Is this "body length" parameter" maybe overridable in some way?

@l0new4nder3r Bruno uses axios underneath. It appears to be an axios config related issue.
Will have this fixed in the next release.
https://stackoverflow.com/questions/58655532/increasing-maxcontentlength-and-maxbodylength-in-axios

@ganesh-bruno Can you try to reproduce this issue using a large payload?

I tested this with files around 25MB, the performance was clearly degraded.

Any news on this issue? I'm trying to post a large set of data, 65MB, and Bruno just hangs and I have to kill it

Any news on this issue? I'm trying to post a large set of data, 65MB, and Bruno just hangs and I have to kill it

No good news yet. The problem here is that the .bru parser is kinda slow and transfering this much data over IPC causes lag / needs a lot of memory.
As a workaround: I would suggest putting the body into a seperate file and set the body inside the pre-request script. See: https://github.com/usebruno/bruno/discussions/385#discussioncomment-7196674


Remove unneeded deps in setup.py

In preparation for conda-forge, I am trimming dependencies to the minimum. Numpy and Cython are null imports in setup.py and not needed. Seems to be more like a template leftover. This should be into a patch release.

I'll merge this since it's actually in use already in conda-forge via patch.


fetching-catalog-content.md is outdated

See comment

Note that #406 fixed a number of service-related documentation issues.


Excluding Dev Dependencies

Is there any way to exclude dev dependencies from the deployed package when using this?

Hi, sorry for long delay. The default installation method runs npm install --production so it should exclude dev dependencies, although I have note actually tested it. I also just added an option to override the npm install command in case customization is needed.

In our case it seemed to just take the node_modules folder and push it up. Since this was part of an existing project and I run npm i before I build, this was everything.
Should we be managing our lambdas outside of the folder structure of the project? That seems kind of odd to me.

Hmm.. What is supposed to happen is this sequence:

Your Lambda TypeScript code is in the folder project_dir/src (basically any path)
You have a valid project_dir/src/tsconfig.json
You construct the Lambda code asset as TypeScriptCode.asset('project_dir/src')
The module will run tsc --project project_dir/src -outDir project_dir/src/.deploy
The module will copy any copyFiles entries to project_dir/src/.deploy
The module will copy package*.json to, and run npm install in, project_dir/src/.deploy
At this point project_dir/src/.deploy will contain the fully built Lambda function code
The module will pass the asset path project_dir/src/.deploy to AWS CDK for deployment
You can verify afterwards that project_dir/src/.deploy contains the correct files

If it runs npm install in step 6, then that'll include dev dependencies.

It would be most helpful to understand if something is wrong with the command line that is used to run npm install:
https://github.com/cloudeninc/clouden-cdk-aws-lambda-typescript/blob/master/src/typescript-code.ts#L23
Or maybe with some other logic in how the module works?

Alrighty, I'll make up a repro when I get a chance.


"Get Started" document

Hi,
First of all, I really appreciate your work here. Awesome work!
I did different way setting-up my redmine than yours. It ends up I am using www-data as the user running redmine. I had successfully installed this redmine_git_hosting plugin though.
While I was following your documentation at here (http://redmine-git-hosting.io/get_started/#step-2-clone-the-plugin), I was curious where this link (http://redmine-git-hosting.io/troubleshooting#a-note-about-path-variable) is pointing to. Because, as I said, I am using www-data user running redmine, I would like to know how to properly configure this plugin.
Is the link "a-note-about-path-variable" pointing to the right document?
Thanks!

Hi!
Sorry for the response delay. This points to an old documentation part. It's not needed anymore.


Empty vite output directory on every build.

I'm using Vite.NET with Vue (but I guess the same behavior is reproducible not only for Vue because it does not seem to be dependant on it all) and noticed that new files are added in wwwroot/ClientApp on every "npm run build" instead of replacing old ones.
It's easy to reproduce:

Create ClientApp with some default components and run "npm run build". Check that wwwroot/ClientApp contains, for example, main.c46d65a4.js.
Make some change in components (it's enough just to add letter to some string for example) and save it.
Run "npm run build". Check wwwroot/ClientApp, it will contain previously created main.c46d65a4.js and new one like main.c118e38f.js.
Expected behavior: wwwroot/ClientApp must contain only main.c118e38f.js, old file must be deleted.

Since "npm run build" is not needed very often then I guess there is no problem to set "emptyOutDir: true" and allow Vite to do all job.

Most of my testing was with Svelte and Svelte has this setting as a default setting. This is a good catch. Merging.


To check functionality of SHA2 ,application for that.

Hello,
I want to check SHA2 working functionality in Opentitan .
I want to write application for that .
My issue is with
1.How to do it?
2.It is possible in opentitan to check separate part functionality.
link I am using
https://github.com/lowRISC/opentitan/blob/master/sw/device/lib/hw_sha256.c
https://github.com/lowRISC/opentitan/blob/master/sw/device/lib/hw_sha256.h

@silvestrst
Thank You.
I got my answer .


Add cpu profiler

I think parsing collapsed stack frames are good way to implement this.
I looked at inferno, and I noticed that collapsed stack

can be a 'normalization' of various stack information.
has enough information to create flamegraph, which denotes time of function execution with width of a bar.

Using the second property, we can collect cpu time used by function. (Distinguishing self vs call like perf tool is also possible)

Closes #2

I merged it because I found a critical bug related to cargo bench.


[Question] Why "@preact/playwright-ct" types are not available?

I have a project with preact and I installed the package preact/playwright-ct, however, Im seeing this error when importing config on my config.ts file :
"resource": "/playwright-ct.config.ts",
"owner": "typescript",
"code": "2307",
"message": "Cannot find module '@preact/playwright-ct' or its corresponding type declarations."
Does anyone know how to fix it? is there a missing dependency , maybe?
@developit

Hey, does it fix itself if you add
{
  "types": "./dist/index.d.mts"
}

to the package json in your node_modules, if so we are missing that field in our package. The new resolution mechanism for newer TS versions is included

@JoviDeCroock I was checking the package.json for the node_modules>@preact>playwright-ct and that field is already inside. I tried adding "moduleResolution": "NodeNext" in the ts.config and the error is no longer shown inside the test file import, but it is still appearing inside the playwright-ct.config.ts and also there is like a warning saying that NodeNext is unstable.

It's not their at the first-level, only in the export-map. Mind putting it at the base level as well?

I’m sorry @JoviDeCroock I think I'm not following, do you mean adding ```
{
"types": "./dist/index.d.mts"
}

at the root level of my project's `package.json`? or where exactly?

Of the package json of our package @preact/playwright-ct it seems to be missing from the latest release so just adding it above this line without nodeNext

Like this?
"name": "@preact/playwright-ct",
 "version": "0.0.2",
 "description": "Playwright Component Testing for Preact",
 "repository": "github:preact/playwright-ct",
 "keywords": [
   "Preact",
   "Playwright",
   "testing"
 ],
 "author": "Marvin Hagemeister<EMAIL_ADDRESS> "license": "MIT",
 "types": "./dist/index.d.mts",
 "exports": {
   ".": {
     "types": "./dist/index.d.ts",
     "default": "./dist/index.js"
   },
   "./hooks": {
     "types": "./dist/hooks.d.mts",
     "default": "./dist/hooks.mjs"
   }
 },

yes, that fixed it!, when is it gonna be available to update the package with that change?

I mean, when we make a Pull Request and it gets released :sweat_smile:

@JoviDeCroock  Since you guys will add the fix for the types Issue in a next version, I'll mark this as resolved, but the problem will still present, I'll be looking forward to get this version as soon as it is available.
Thanks for helping

I tried to create a PR with the change so you guys could check it but Unfortunately I couldn’t.

Published as 0.1.1


🐛 [Bug report]: In mobile view, the filters are not viewable

Descrcibe the bug?
In mobile view, the filters are not viewable and is being truncated like in the sceeenshot below
Steps to reproduce the bug?

Got to this page https://reactplay.io/plays from mobile view
Open the filters beside the top search bar
Open any dropdown from the popup
The dropdown items are not viewable and is being truncated

Expected behavior
I think we can make the dropdown title and dropdown in two separate line
Desktop (Please provide your system information)
OS-Windows 11
Browser-Chrome
Version-Version-111.0.5563.115
Mobile (Please provide your device information)
Device- Samsung
Browser-Chrome
Version-111.0.5563.115
Screenshot / Screenshare

Relevant log output
No response
Code of Conduct

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

I can work on this if fix is needed for this

@niteshseram , the Issue is assigned, you can go ahead.


Escape issue.

Arduino: 1.8.2 (Windows Store <IP_ADDRESS>) (Windows 10), Board: "Arduino Leonardo"

C:\Users\lsjon\OneDrive\Documents\Arduino\hotdog_backround\hotdog_backround.ino: In function 'void setup()':

hotdog_backround:62: error: 'KEY_LEFT_ESC' was not declared in this scope

   Keyboard.press(KEY_LEFT_ESC);

                  ^

C:\Users\lsjon\OneDrive\Documents\Arduino\hotdog_backround\hotdog_backround.ino: At global scope:

hotdog_backround:114: error: expected initializer at end of input

 void loop()

           ^

exit status 1
'KEY_LEFT_ESC' was not declared in this scope

This issue is a duplicate of #20, and has been fixed with ac3353c.

Please recompile the code.


MY Stream logic fixes

So our 'my stream' should be including:
my posts
public posts of those that I follow
friends posts
friends of friends posts (or should this be: friends of friends_ public_ posts?)
NOT public posts from everywhere in the world

nevermind it's working now I guess

I did most of this on friday, what myStream shows:
my posts
friends posts that i am allowed to see
all the posts of the people i am following that i am allowed to see (ie if i am following someone and i am their foaf and the privacy setting is set to foaf then i see that.)
NOTE: if a foaf posts something, but i am not following them, even if i am allowed to see it, it wont appear in the mystream.
I hope thats ok? let me know if that wasnt what you guys wanted, then i would change it.

Yup sorry Sarah I thought there was still confusion for how it worked for a moment there and why the "follow" button wasn't acting as expected. But yup turns out to be good I believe!
although still haven't been abel to test if the friend things actually work yet unless make freinds directly from backend and see


Expose biotite PDB back-end through PinderSystem

I think it would be useful to expose the backend/pdb_engine option when constructing PinderSystem/Structure. I've found that the biotite loader recovers better from bizarre formatting and returns more useful data even if it is a bit slower.
The only entry point is through Structure.read_pdb which is a bit circuitous

Hi @ejmeitz , thanks for the suggestion. Perhaps we can expose that control it via an environment variable? It could also be added to PinderSystem and Structure, but environment variable might be the simplest way to propagate to anywhere else in the code that uses PinderSystem/Structure.
That being said, do you know of any pinder IDs or PDB files that you had these issues with? Would be good to address them upstream in fastpdb if it's a bug.

I do not have that information immediately available but I believe all the files had a similar issue. The last column with the element (e.g. N, O, C) had an extra space for the last couple rows which causes the pdb reader to break.
Biotite also can't read this but it is capable of inferring the species from the 2nd or 3rd column which has the atom type (e.g CA, CB).

Interestingly, I am seeing the inverse behavior re: biotite vs. fastpdb -- at least for those structures that had malformed PDB columns exceeding the dimensions and making B-factor values unreadable (the ones we discussed in #8)
pdb_file = get_pinder_location() / "pdbs/3hr2__A3_P02454--3hr2__A4_P02454.pdb"
arr = atom_array_from_pdb_file(pdb_file, backend="fastpdb", extra_fields=None)

arr = atom_array_from_pdb_file(pdb_file, backend="biotite", extra_fields=None)
    arr = model.get_structure(model=1, extra_fields=extra_fields)  # noqa
  File "/Users/danielkovtun/mamba-m1/envs/pinder/lib/python3.10/site-packages/biotite/structure/io/pdb/file.py", line 422, in get_structure
    occupancy[i] = float(line[_occupancy].strip())
ValueError: could not convert string to float: '4  1.0'

Perhaps something you could look into @padix-key?
Nonetheless, I have pushed an edit to expose pdb_engine as an argument to PinderSystem and Structure constructors. Let me know if this works!
https://github.com/pinder-org/pinder/pull/11/commits/fb21e2fc2378fe8167d303d6f49b2c8fdc183a40

The issue here wasn't on the b-factor column, its just the atomic species. I was trying to calculate radius of gyration which requires the species to look up the mass. I'll try and find a specific file where this was happening.

biotite.structure.io.pdb uses infer_elements() if missing elements are encountered: https://github.com/biotite-dev/biotite/blob/0404084283765baef765cc869d86ee07a898d82f/src/biotite/structure/io/pdb/file.py#L464-L474
fastpdb does not do this currently. I created https://github.com/biotite-dev/fastpdb/issues/16 for it.
However, I am still curious why this breaks fastpdb.PDBFile: I would simply expect an element annotation with empty strings. Could you post your input PDB file in the linked issue, to make sure I am actually tackling your problem?

Yes it does leave the element type blank in this case it does not crash. Sorry if that was not clear. For the core functionality of pinder this is not really an issue but for the thing I was trying to do (radius of gyration) with the systems it was.

OK. For now you can simply run infer_elements() on the AtomArray:
atom_array.element = struc.infer_elements(atom_array)


Add all docs-id reviewers as owners

SIG Docs Indonesia community decided to have all reviewers as owners of this initiative as we have been working and collaborating together for quite a while (~2 years), and everyone has demonstrated commitment to this project.
/language id
/cc @irvifa

/hold

Should @ariscahyadi be added into the list too?
@habibridho
Have added @ariscahyadi as well, please review again


Enhance service check messages

The message for the systemd service check displayed if a service is running but not enabled should be enhanced to somethin like:
 running but not enabled

Will be fixed in Release 1.0.2


S3 work fine with Unity Editor but don't work on android

Expected Behavior

Return object from bucket on Android
Current Behavior

Don't return anything, no error appears, but return correct on Unity Editor.
Steps to Reproduce (for bugs)

Step1: Download and import the newest version S3.
Step2: At Start() function. Add line code:
UnityInitializer.AttachToGameObject(this.gameObject);
AWSConfigs.HttpClient = AWSConfigs.HttpClientOption.UnityWebRequest;
Step3: In AndroidManifest, change line code from
android:name="com.unity3d.player.UnityPlayerNativeActivity"
to
android:name="com.unity3d.player.UnityPlayerActivity"
Because when I build with "com.unity3d.player.UnityPlayerNativeActivity", app will crash when I open. And "com.unity3d.player.UnityPlayerActivity" will fix that.
So everything work fine in Editor, but when build for Android. It have no error and don't return anything.
Context

Even when I Debug.Log in
 Client.ListBucketsAsync(new ListBucketsRequest(), (responseObject) =>
 {
Debug.Log("Loggg here");
}); => No log appear
Your Environment

AWSSDK.Core version used:  3.3.660.0
Service assembly and version used: AWSSDK.S<IP_ADDRESS>.10
Targeted .NET platform: NET 4.0
Unity Version: 2019.2.6
Build: Tested and error on both Mono and IL2CPP

.NET Core Info

.NET Core version used for development: NET 4.0

Please help, Am I missing any step setup S3 for Unity? Thanks !

Hi @hieutran196,  work on Unity-related PRs are paused at this time.
We encourage our users to use the .NET Standard 2.0 version of the AWS SDK for .NET which can be downloaded from NuGet or, as a .zip file, here.
The downloads of the last supported version of the AWS Mobile SDK for Unity, as well as its source code, will continue to be available to customers. However the AWS Mobile SDK for Unity will no longer be officially supported by the AWS SDK for .NET team.
You can read more at:
https://aws.amazon.com/blogs/developer/referencing-the-aws-sdk-for-net-standard-2-0-from-unity-xamarin-or-uwp/
https://aws.amazon.com/blogs/developer/aws-sdk-for-net-now-targets-net-standard-2-0/
https://github.com/aws/aws-sdk-net/projects/1


Add AtrousConvolution1D to convolutional layers

See issue #3762 for discussion. Adds dilated 1D convolutions as a new built-in layer.

LGTM.


proposal: strings: add Builder.Available and Builder.AvailableBuffer

I propose adding functions Builder.Available and Builder.AvailableBuffer.
// AvailableBuffer returns an empty buffer with b.Available() capacity.
func (b *Builder) AvailableBuffer() []byte

// Available returns how many bytes are unused in the buffer.
func (b *Builder) Available() int

In recent years, we have added many append-like APIs. It would be great if strings.Builder could benefit from it.
One scenario I can think of is base64 encoding:
For example:
// EncodeToString returns the base64 encoding of src.
func (enc *Encoding) EncodeToString(src []byte) string {
	build := strings.Builder{}
	build.Grow(enc.EncodedLen(len(src)))

	buf := build.AvailableBuffer()
	buf = enc.AppendEncode(buf, src)

	build.Write(buf)
	return build.String()
}

Bench:
benchmark                      old ns/op     new ns/op     delta
BenchmarkEncodeToString-10     6115          4999          -18.25%

benchmark                      old MB/s     new MB/s     speedup
BenchmarkEncodeToString-10     1339.73      1638.63      1.22x

benchmark                      old allocs     new allocs     delta
BenchmarkEncodeToString-10     2              1              -50.00%

benchmark                      old bytes     new bytes     delta
BenchmarkEncodeToString-10     24576         12288         -50.00%

returning []byte from AvailableBuffer is not safe, this will allow modification of strings without unsafe package.

Yeah, but you can:
var s strings.Builder
s.Grow(16)
buf := s.AvailableBuffer()
s.Write([]byte("test"))
str := s.String()
buf = append(buf, "oops"...)
fmt.Println(str == "test") // false

Thanks. I hadn't thought of that.
@mateusz834


docs-bug(material design spec compliancy / compatibility): what process/system is used for this?

Documentation Feedback
Hi,
A couple of questions came up in our team regarding Angular Material's compatibility and parity to material design specs.
We noticed that - for example - the Expansion panel, which was introduced in material design v1 (https://m1.material.io/components/expansion-panels.html#) still exists in the latest Angular Material version (https://material.angular.io/components/expansion/overview)
However, the expansion panel as a design component is not present in the material design v2 spec (except for list component expand-and-collapse: https://m2.material.io/components/lists#types no deeplink, search expand and collapse)
The first question is this:
Was it an explicit decision to keep supporting previous Material Design spec design components as opposed to dropping them and is this documented somewhere?
The second question is actually a followup question of the first:
If it was [an explicit decision], is there some sort of deprecation policy for components that are phased out in future Material Design spec versions?
Affected documentation page
https://material.angular.io/components/expansion/overview

Hi, thanks for your questions.

The first question is this:
Was it an explicit decision to keep supporting previous Material Design spec design components as opposed to dropping them and is this documented somewhere?

Yes, even though some of the components that we created are no longer part of the official spec, we think they still provide significant value for developers, so we have decided to retain them and keep them in line with the general guidelines of the spec (e.g. what colors, typography, border-radiuses, etc. to use).

The second question is actually a followup question of the first:
If it was [an explicit decision], is there some sort of deprecation policy for components that are phased out in future Material Design spec versions?

We follow the same deprecation policy as the Angular framework. The short version is: if we decide to deprecate a component, it will remain as part of the library for at least the following two major releases before eventually being removed.


Replace Headers with Dataclasses

Pull Request Checklist

[x] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR

Description
Currently there are some left over pydantic models in the datastructure.headers namespace. This PR replaces them with dataclasses.
Close Issue(s)
Closes #1386

@Tsdevendra1 can you update the PR with the changes? I would like to get it merged this weekend if possible

well, actually i need this now - so i will merge it.
@all-contributors add @Tsdevendra1 code


The results of validation/test accuracy in NATS-Bench paper

Hi! I want to get the validation and test accuracy as Table 4 in "NATS-Bench: Benchmarking NAS Algorithms for Architecture Topology and Size" paper. I just want to check the following commands are correct or not:
After finishing the architecture search (I'm studying Weight-Sharing approach), I get the genotype. Then, I get the arch_index via:
arch_index = api.query_index_by_arch('......genotype here......')
Therefore, for Cifar10 validation accuracy:
info = api.get_more_info(arch_index, 'cifar10-valid', hp=200)
for Cifar10 test accuracy:
info = api.get_more_info(arch_index, 'cifar10', hp=200)
for Cifar100 validation/test accuracy:
info = api.get_more_info(arch_index, 'cifar100', hp=200)
for ImageNet16-120 validation/test accuracy:
info = api.get_more_info(arch_index, 'ImageNet16-120', hp=200)
Following are some points I want to check:

Does Cifar10 test accuracy results use train + valid set for training and test set for testing? Thus, I should use 'cifar10' instead of 'cifar10-valid' to get test accuracy?
What does valtest-accuracy mean in Cifar100 and ImageNet16-120?
I get the architecture with validation accuracy higher than Optimal values reported in the paper for ImageNet16-120. Why?

Great Thanks!

Thanks for your interest in NATS-Bench.
1, Yes, please use 'cifar10' to get the test accuracy.
2, valtest-accuracy means the accuracy on the joint of validation and test sets. Note that, here the validation set and test set following the split strategy in our paper, which is different from the original CIFAR-100 setting.
3, Possibly because you are using is_random=True, which will randomly select a seed. When we report the Optimal values, we use the average results from all seeds.

Hi, thank you for quick reply!
Therefore, I should set is_random=False to get the average results from all seeds. Am I correct?

Yes, when you are using is_random=False, you can get the average results.
If you are benchmarking your own NAS algorithm, it is also suggested to use the simulate_train_eval API as in our examples: https://github.com/D-X-Y/AutoDL-Projects/blob/main/exps/NATS-algos/regularized_ea.py#L144

Ok. Thank you so much!
Hope you have a wonderful day!


Update whats-new-in-version-1810.md

Fixed missing '-' to properly comment it out
Summarize the change in the pull request title
Describe your change, specifically why you think it's needed.
Fixes #Issue_Number (if necessary)

@russrimm : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

Verified editorial correction.


Add ARP functions.

commit 462b221da0e4b3a7e436f43b506a671fc55a43e5
Author: Rob Shakir<EMAIL_ADDRESS>Date:   Wed Aug 17 18:14:26 2022 -0700

    Add integration test against real Linux netlink.

     * (A) integration/..,
       - Add an integration test against the netlink library that can run on a
         real Linux machine to check netlink accessor implementation.

commit debbb43a75b52861baaf307ca493e457e635b151
Author: Rob Shakir<EMAIL_ADDRESS>Date:   Wed Aug 17 16:52:11 2022 -0700

    Add ARPSubscribe mechanism.

     * (M) intf/accessor_linux.go
      - Add a mechanism to subscribe to ARP entries that are populated
        in the kernel.
     * (M) intf/intf(_test)?.go
      - Add mechanism that subscribes to the ARP table independently
        of the underlying implementation.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

29 of 113 (25.66%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+4.3%) to 22.798%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

intf/intf.go
29
43
67.44%

intf/accessor_linux.go
0
70
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
4.3%

Covered Lines:
44

Relevant Lines:
193

💛  - Coveralls

Alex - will merge here, but we can discuss the comments next week if that works for you :-)


Add continuous integration

Now that there is more than one person working on Call to Speakers, continuous integration should be setup. I'd be okay using any service that's free (I think that leaves use with CricleCI or Drone.io)

Fixed


Open file to a line number from command-line

I can't see how to open a file to a line number in the documentation (https://github.com/adobe/brackets/wiki/How-to-Use-Brackets#command-line-integration).
That's a really useful feature we'd like to use from our editors integration in https://github.com/slavapestov/factor.
Thanks!

You can do so using Quick Open.
Invoke Quick Open using Ctrl+Shift+O (on Windows), then type the file name or parts of it, followed by a trailing colon and the line number.
For example, to open EditorCommandHandlers to line 134, you can type dch:134

Thats awesome from the UI, but is that possible from the command-line?

Oh, I see now. I don't think there's anything like this right now.

Also, I can't figure out how to use the command-line to "open a file into [existing Brackets if running else a new Brackets]".

@mrjbq7 We have command line integration only for 1.3. Make sure you are on 1.3 for this command line feature to work.

Think what @mrjbq7 Wants is to open a file at a certain line. E.g
brackets main.js:100

It should open main.js at line 100.

@sprintr Yeah you are right about the "go to line" number not working through command line. I was replying to @mrjbq7 's latest comment.

@nethip From what I can tell, the command-line integration works for him, all he wants is a way to open files in an existing Brackets instance it has been launched before.

@nethip on Mac OS X, if I run the Brackets.app/Contents/MacOS/Brackets twice, I get two instances of Bracket.  I was wondering how to open a file into a running instance, or launch a new instance if not running.

@mrjbq7 On MAC we don't parse the command line via argv passed to main, which is the typical way of parsing command line in any C/C++ application. We parse the command line through applescript. You could check openFile and openFiles objective C selectors that are overridden by our brackets-shell on MAC. Keeping out all the technicalities follow the steps below to use brackets via command line.

Choose File>Install Command Line Shortcut. This is going to install necessary scripts required for brackets command line to work.
Relaunch Terminal and use brackets <filename/foldername>. This is going to take care of whether to launch new instance or use existing instance to load the file or folder.

Isn't brackets just a bash script that does open -a Brackets.app file:line?
That's a fine workaround for now, although it would be great if the line functionality works (the original report).  Thanks for the info on the command line shortcut.

@mrjbq7 Yes! The Install Command Line Shortcut does exactly open -a <Brackets.app>. It installs a shortcut in /usr/local/bin which has some script code that launches the right Brackets instance, from which the script was installed (through File>Install Command Line Shortcut) which would be really handy in case you have multiple versions of Brackets on your system.
About the go to line number, I have created a trello card for this. Please up vote this


provide alternative ways of handling duplicate values

currently, get_indexes_from_names() simply returns the first occurrence. sometimes it may be useful to concatenate the values for duplicates.

that function already supports that, this should be about how we propagate that parameter upstream to the slice operator [...]

the new combine operations do not not need this.


Percentage completion update & Progress bar

Hi,
Any chance to add:

Percentage completion for parent tasks: When a child task completes, the percentage completion for the parent task should be updated. This would make it easier to track the overall progress of a task list.
Progress bar for parent tasks: A progress bar should be displayed for each parent task. This would provide a visual representation of the task's progress.

I believe these features would be valuable additions to the Errands app.
Thanks for your consideration.

Hi! Yes, I was planning to add this in future releases :)

Glad to see this, I was considering making the request also

Added progress bar in 45.1.8

Hi @mrvladus ,
I noticed a new issue after the progress bar fix:
The "Complete %" indicator doesn't change When I complete a task without subtasks,


Added an extra warning to the Setup page

See https://github.com/babel/babel.github.io/issues/571

Separate this from the warning callout as an information one.

Done, thanks for the feedback.

Thanks


[website][docs]Generate a full document for 2.6.1

Master Issue: #7083
Motivation
currently, website is released in a versioned way. but each versioned directory, contains only part of md files. This is hard to maintain the content of each version.
It would be better to make each versioned directory contain all the md files.
Modifications

Generate full document for 2.6.1

@tuteng Shall we need to generate 2.6.1 documentation since 2.6.1 have not released yet.

this is dup to #7310. would like to close this pr

@codelipenghui, this only contains the needed md files, and will not show in website. This way could isolate the changes for v2.6.1 and v2.7.0


[Java] Fix latest / latestReleaseDate for versions 6 to 8

Link to product page on endoflife.date
https://endoflife.date/java
Details of incorrect and correct details you have found
latest and latestReleaseDate has been wrongly updated by latest.py in #2247 for versions 6 to 8 and should be fixed.
Additional context
Alternative: transform XuZ versions in https://github.com/endoflife-date/release-data/ to X.0.Z (they did that in the Foojay Disco API - https://api.foojay.io/disco/v3.0/distributions/zulu?latest_per_update=true&include_versions=true&include_synonyms=false&include_ea=false).

That's not the only problem, java.json is also missing some releases, such as 7u351, 17.0.2 ...

That's not the only problem, java.json is also missing some releases, such as 7u351, 17.0.2 ...

Fixed by https://github.com/endoflife-date/release-data/pull/66.


Spotify v<IP_ADDRESS>8 lyrics preview

I the older versions of the app (v<IP_ADDRESS>8 ), the lyrics box had lyrics that auto scrolled for time synced songs in the box itself. However in the latest version of the app, we have a lyrics preview box now which only auto scrolls for the first few lines. I have to click show lyrics for the time synced lyrics.
Is there a way to get the lyrics box instead of the lyrics preview box.
I tried using v<IP_ADDRESS>8 but with this version I can't log in using my username and password.

At the moment, I don't think it's possible to change this without editing the code and doing reverse engineering, which takes time.
I'll take note of it and maybe I will try to fix it when I have time.
However, the latest experimental version should fix this issue. If you can't log in, it's probably because the server is overloaded. You can try to create your own server and patch yourself an experimental apk, downloaded from the xManager Discord.

Just a call-out, v <IP_ADDRESS>8 is the old one which had lyrics box working correctly instead of lyrics preview and that one had issues logging in.
The latest experimental version has lyrics preview and logs in

Ah, it's strange. The version that I use personally (<IP_ADDRESS>8) works, without the preview of lyrics.

Oh that's strange. Is there a way you can upload your apk?

It is available in the releases section of this repo. But as I said earlier, the server it uses is quite unstable.

Okay. Do you recommend downloading the latest from this repo and repatching it?

If you want to use a custom server, I recommend you to patch the original APK.
Otherwise, the APKs available for download in the releases section are already patched with the default server (which is unstable).

I tried patching the app myself and I am getting this error
Building patched APK...
/bin/sh: ./build-tools/zipalign: cannot execute binary file
node:internal/errors:983
const err = new Error(message);
^
Error: Command failed: ./build-tools/zipalign -p -f 4 output.apk aligned.apk
/bin/sh: ./build-tools/zipalign: cannot execute binary file
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:882:11)
at execSync (node:child_process:954:15)
at /Users/jeel/source/repos/SpotifyMobileLyricsAPI/scripts/xmanager.patch.js:641:2
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {

status: 126,
signal: null,
output: [
null,
Buffer(0) [Uint8Array] [],
Buffer(60) [Uint8Array] [
47,  98, 105, 110,  47, 115, 104,  58,  32,  46,
47,  98, 117, 105, 108, 100,  45, 116, 111, 111,
108, 115,  47, 122, 105, 112,  97, 108, 105, 103,
110,  58,  32,  99,  97, 110, 110, 111, 116,  32,
101, 120, 101,  99, 117, 116, 101,  32,  98, 105,
110,  97, 114, 121,  32, 102, 105, 108, 101,  10
]
],
pid: 44842,
stdout: Buffer(0) [Uint8Array] [],
stderr: Buffer(60) [Uint8Array] [
47,  98, 105, 110,  47, 115, 104,  58,  32,  46,
47,  98, 117, 105, 108, 100,  45, 116, 111, 111,
108, 115,  47, 122, 105, 112,  97, 108, 105, 103,
110,  58,  32,  99,  97, 110, 110, 111, 116,  32,
101, 120, 101,  99, 117, 116, 101,  32,  98, 105,
110,  97, 114, 121,  32, 102, 105, 108, 101,  10
]
}
Node.js v23.5.0
Where does the script output the apk?

What OS are you using?

mac OS 14.3

Download the latest version of the patch script (or reclone this repo with the latest commit) and try again.

The patching works, but the lyrics dont load for songs

Can you send me the exact command you typed to patch the apk?

npm run patch:xmanager --server "xmanager-lyrics.dev" But i dont think it takes this arg into consideration. Also, if i pass in the --apk flag along with the --server, it ignores the arguments as well.
It seems like i need to pass in all the arguments. I dont have a keystore jks file so i chose to leave those out as they are optional in the readme


Remove unnecessary DS interactive notebook debugger test

For #8483
Testing breakpoints in external file is part of debugger functionality.
Remove this test as its considered standard debugger functionality that we (DS) don't need.

Codecov Report

Merging #8726 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8726   +/-   ##
=======================================
  Coverage   58.68%   58.68%
=======================================
  Files         527      527
  Lines       24621    24621
  Branches     3987     3987
=======================================
  Hits        14449    14449
  Misses       9238     9238
  Partials      934      934

Continue to review full report at Codecov.

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


Warning: Each child in a list should have a unique "key" prop.

Describe the Bug
Warning: Each child in a list should have a unique "key" prop.
When I run this code
 useEffect(() => {
    async function renderEmail() {
      const emailMessageString = await renderAsync(<CheckEmail deliveryDate={deliveryDate} />, {
        pretty: true,
      })
      setEmailMessageString(emailMessageString)
    }
    renderEmail()
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [])

Which package is affected (leave empty if unsure)
@react-email/render
Link to the code that reproduces this issue
https://github.com/nicitaacom/acc2-send-email-react-email-resend
if it ask you about .env - fill random value - in .env.local
To Reproduce

git clone https://github.com/nicitaacom/acc2-send-email-react-email-resend
pnpm i
pnpm dev
Open dev tools
See error

Expected Behavior
I wait no error
I got error
What's your node version? (if relevant)
No response

Similar issue to this
https://github.com/resend/react-email/issues/1111

How work going on this issue?

Hey I just stumbled upon this issue too. I am also using renderAsync as I want more concurrency on a backend application.
Since I do not see any concrete solutions for this, is synchronous rendering is the only workaround for this? I tried to look for log or loglevel option or something similar but could not find any :confused:

@twlite This is a pretty good way to silence React's key warnings when you need to https://github.com/danneu/react-template-render/commit/8ae09d53a2ae879adcb4994689fed23086b8e254

Any updates on this? Or can we switch to another rendering engine? I'm seeing this issue with render and renderAsync too

The same for me
Seems like the best solution for now its just use style={{}} instead of @react-email/tailwind

Hope this is helpful - and thank you for an awesome project!!

Thank you for fix - that work for me

Waiting until @geekbleek add <Fragment/> in <Tailwind/> to fix this issue

For anyone running into this issue, I looked into the reason the suggested fixes from @gabrielmfern work ( facebook/react#14374 (comment) and danneu/react-template-render@8ae09d5 ). They just wrap the un-keyed elements as children of a new parent element that is not expected to be a list or array of keyed elements. Most of those suggestions are a little out of date, and a newer simple way to do the same is readily available (and probably used regularly by us all) which is <Fragment> . I gave it a shot and it appears to have solved the issue. Psuedo code:
<Tailwind>
        <Fragment>
        (...templateHere)
        </Fragment>
</Tailwind>

Easy fix and enables static template rendering server side with the react-email framework - much better than handlebars / moustache etc!
Hope this is helpful - and thank you for an awesome project!!

I am having this issue, To use responsive styles you must have a <head> element as a direct child of the Tailwind component.

Too bad the issue is closed now. I would prefer the warning to be silenced in the react.email. This fix won't work if you use Tailwind media quires classes. It's for desktop-only markup. @raiyansarker was right and it IS related issue. The OP just didn't need mobile versions for their emails.

@raiyansarker I have it the same way, but it didn't solve the issue for me, I still have the warning:
return (
    <Tailwind
      config = {CustomTailwindConfig}>

      <Head />

      <Fragment>

        <Preview>{preview}</Preview>

        <Body
          className="bgColor-body">

It works only if I put <Head /> inside the <Fragment>.

can you put the html component? it is weird tbh!!

@raiyansarker I have it the same way, but it didn't solve the issue for me, I still have the warning:
return (
    <Tailwind
      config = {CustomTailwindConfig}>

      <Head />

      <Fragment>

        <Preview>{preview}</Preview>

        <Body
          className="bgColor-body">

It works only if I put <Head /> inside the <Fragment>.

So put <Head /> inside the <Fragment>.
What's the problem?
Breakpoints? - send quick video where you show when breakpoints work and when it doesn't

breakpoints doesn't work in emails

They do work, and they are generated perfectly fine by react.email out of the box:

So put Head inside the Fragment.
What's the problem?

The problem is when you personally don't need some functionality, it doesn't mean it isn't used by everyone else. The fix worked for your case, but it has limitation and it's not an ultimate one.

Breakpoints? - send quick video where you show when breakpoints work and when it doesn't

You can do the math by yourself. Full support of Apple devices gives a big number of potential customers.


[youtube] Parse auto-generated "topic" music channels' playlists

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Some YouTube channels don't have the regular tabs (Videos, Shorts, Playlists, ...) :
https://www.youtube.com/channel/UCErZQ3Gh8hxArWJdIjSoqkw
What are the right parameters to still download all videos in separate folders ?
I tried :
yt-dlp.exe -f "bestaudio[ext=m4a]" --config-location yt-dlp_playlist.cnf -o "%%(uploader)s/%%(playlist_title)s/%%(playlist_index)s - %%(title)s-%%(id)s.%%(ext)s" 1>yt-dlp_stdout.txt 2>yt-dlp_stderr.txt

With yt-dlp_playlist.cnf containing :
--ignore-errors --continue --hls-prefer-native --no-overwrites --no-progress --no-mark-watched --no-call-home --all-subs --sub-format "srt/best" --write-description --write-thumbnail --download-archive youtube-dl_done.txt --batch-file youtube-dl_playlist.txt --yes-playlist

And youtube-dl_playlist.txt containing the list of playlists, or here the aforementioned URL :
The Veterinary Street Jazz Band (89 videos)
https://www.youtube.com/channel/UCErZQ3Gh8hxArWJdIjSoqkw

It works on "regular" playlists, but not in the example I gave above.
Any hint ?
Regards.
PS : the outputs are attached here
1>yt-dlp_stdout.txt
2>yt-dlp_stderr.txt
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
See attached files.

The linked channel is not a true Youtube channel, it's a "topic" channel auto-generated by Youtube Music. Currently, yt-dlp cannot parse the playlists from these channels when only the channel URL is passed. Until support is added for this, you'll need to pass the channel's individual playlist URLs to yt-dlp.

Ok, it seems very bizarre sometimes as the generated list looks "infinite" :
https://www.youtube.com/channel/UCt_ZyHFkevd2Ju71K4qGXmw
So maybe also add a rollover/duplicates check.

This one used to have a list, but it seems to have disappeared, yet 14 videos are still present somewhere :
https://www.youtube.com/channel/UCRc7OMh6BUzHY1guStjbUFQ

This one have 57 videos, supposedly :
https://www.youtube.com/channel/UCxyxtyJ9V23RGqWBGr_LOGg


I need your paper

Thank you very much for providing the code, which is so detailed and accurate. This makes me eager to read your paper "ELECTRICITY CONSUMPTION FORECAST OF RESIDENTIAL HOUSING USING DEEP NEURAL NETWORKS". I cannot find the paper on the Internet. I hope you can send it to me. Thank you

Unfortunately, I am not yet able to provide a copy of the thesis because of sensitive data and contents.


fix for opensearch release 2.1.0

currently the release 2.1.0 is broken, because a version was not updated in the build.gradle
i fixed this and also changed the version in the gradle.properties to the correct release versions, how plugins should be versioned
i am not able to build and test this, so feedback is welcome

Hi @Maglore,
the command that I use to build are the following ones:
./gradlew clean assemble -Dorg.gradle.java.home=/usr/lib/jvm/java-11-openjdk-amd64/

(the java version is mandatory)
and to release I use gh command:
gh release create <IP_ADDRESS> ./build/distributions/opensearch-analysis-ik-<IP_ADDRESS>.zip -t "<IP_ADDRESS>" --notes "IK Analysis for OpenSearch 2.1.0 fixed version"

I hope to help you.
Regards,
Alberto


gfal2: 2.22.2 -> 2.23.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/gfal2/versions.
meta.description for gfal2 is: Multi-protocol data management library by CERN
meta.homepage for gfal2 is: https://github.com/cern-fts/gfal2
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.23.0 with grep in /nix/store/piybz7ly2ar3dqdvh0m35g0d8nifgk7q-gfal2-2.23.0
found 2.23.0 in filename of file in /nix/store/piybz7ly2ar3dqdvh0m35g0d8nifgk7q-gfal2-2.23.0

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

gfal2
gfal2-util
python311Packages.gfal2-python
python311Packages.gfal2-util
python312Packages.gfal2-python
python312Packages.gfal2-util

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/piybz7ly2ar3dqdvh0m35g0d8nifgk7q-gfal2-2.23.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gfal2 https://github.com/r-ryantm/nixpkgs/archive/867c994c3bfe792ab59711c33da283e6ba80994e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/867c994c3bfe792ab59711c33da283e6ba80994e#gfal2

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/piybz7ly2ar3dqdvh0m35g0d8nifgk7q-gfal2-2.23.0
ls -la /nix/store/piybz7ly2ar3dqdvh0m35g0d8nifgk7q-gfal2-2.23.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages marked as broken and skipped:

python312Packages.gfal2-python
python312Packages.gfal2-python.dist
python312Packages.gfal2-util
python312Packages.gfal2-util.dist

5 packages built:

gfal2
gfal2-util (python311Packages.gfal2-util)
gfal2-util.dist (python311Packages.gfal2-util.dist)
python311Packages.gfal2-python
python311Packages.gfal2-python.dist

Maintainer pings
cc @ShamrockLee for testing.

@ofborg build gfal2-util.tests

Result of nixpkgs-review pr 331978 run on x86_64-darwin 1

4 packages marked as broken and skipped:

python312Packages.gfal2-python
python312Packages.gfal2-python.dist
python312Packages.gfal2-util
python312Packages.gfal2-util.dist

5 packages built:

gfal2
gfal2-util (python311Packages.gfal2-util)
gfal2-util.dist (python311Packages.gfal2-util.dist)
python311Packages.gfal2-python
python311Packages.gfal2-python.dist


How to change canvas width and height when we use particles.js?

As I surfed the internet and couldn't find a clear solution, I decided to share the solution that I finally discovered :D
Here is my solution:

import particles.js to your html file

open particles.js and search for the word 'canvas' , you'll find this line of code :
"var canvas_el = document.createElement('canvas');"

look at the next lines, you can simply modify the width and height.
As an example:
canvas_el.style.width = "1920" + "px";
canvas_el.style.height = "1080" + "px";

I'd be appreciate any other solutions

Hi @N-Asadnajafi ,
My solution is to use the callback function like so:
`
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */
particlesJS.load('particles-js', '/vendors/particles.js-master/particles.json', function() {
console.log('callback - particles.js config loaded');
  let el = document.querySelector(".particles-js-canvas-el");
  el.setAttribute("height", "300px");

});

`
Let me know how it worked for you

I added a class to the particle-js div
.particle-canvas{
height: 28.375vw !important;
}

@reginpv I tried doing using the callback function as suggested but this happens when I repulse:

Hey, what's up!
So, I fixed my issue by changing the
 position to absolute and setting its height to 100%. The next step was to set its father's position to relative.
This solution assumes that your page is something like this:

           // a lot of code

#father_container{
      position: relative;
      height: 1000vh; //just for example
}
#particles-js{
       position: absolute;
       height: 100%;
       width: 100%;

       top: 0;

       background-color: black;
       background-size: cover;
       background-position: 50% 50%;
       background-repeat: no-repeat;
}
#page_content{
      position: static;
}

Let me know if it worked to you :octocat:

@AngeloSchulerPiletti
That didn't work for me, but what I found was that it was the position: absolute; that was the problem. If it was added in, the particles-js div would disappear, and if it was removed, the div would reappear. All the others except background-color: black; did nothing; The background-color: black; would replace the particles-js background with a black one.


How is the entry point to the code specified in bring your own code?

I'm trying out the sample notebooks, currently in the mxnet mnist example which demonstrates bringing your own code. The entry point parameter passed in when instantiating an estimator instance, only mentions the source file (mnist.py) and not a method name or any other point inside the source file.
So how does sagemaker figure out which method to send the training data to?

You should have a executable program name as "train". Sagemaker will search it by PATH.

Thanks @Katniss394 for your question, and thanks @ThisIsRick for jumping in and helping answer!
As a bit more background... For the bring-your-own-algorithm use case, yes, SageMaker will look to run an executable program named "train" for training and "serve" for hosting.  This example provides more detail on that.  Or, alternatively, you can specify any ENTRYPOINT in your Dockerfile which has train() and serve() functions defined within.  Then you can parse the command line options for "train" or "serve" to execute the right function.  An example for that is here.
For the MXNet examples, we've provided the container for you.  In this case, MXNet expects the source file that you pass to the MXNet estimator to have a "train()" function defined.  This is the function it will automatically run when training begins.  Note, your train() function can other functions or classes by including them in the same source file.  More documentation on using the pre-built MXNet containers can be found here.
Thanks!

Thank you guys!


AWS Wrangler - Read CSV with chuncksize = 100000

Describe the bug
I have a lambda function that will convert the csv file to parquet. My file has 3.5GB compressed (gzip). I am using the chunksize to help to run it and I set it to 100000 however when I am in my loop it stops running. I am debugging it using SAM. This file has around 450 columns. Unfortunately I can't share the file.
No error message is presented only my code stops running.
Environment
Lambda code:
I am using awswrangler-layer-2.9.0-py3.8.zip with Python 3.8. It is running in a docker container as required by SAM.
To Reproduce
import json
import awswrangler

def lambda_handler(event, context):
    s3_bucket = event['detail']['requestParameters']['bucketName']
    key = event['detail']['requestParameters']['key']
    file_path =  's3://{0}/{1}'.format(s3_bucket, key)

    try:
        print(file_path)
        #reading original file
        df_smrtr = awswrangler.s3.read_csv(path=file_path,
                                           compression="gzip",
                                           sep='\t',
                                           s3_additional_kwargs={
                                               'ServerSideEncryption': 'AES256'
                                           },
                                           chunksize=100000
                                           )

        file_path_to =  's3://{0}/raw/dataset/'.format(s3_bucket)
        table_to = 'tb_consumerprofile'

        #writing
        awswrangler.s3.delete_objects(file_path_to)

        for df in df_smrtr:
            awswrangler.s3.to_parquet(df=df,path=file_path_to, dataset=True, database="db_insights_raw", table=table_to)

        return {
            "statusCode": 200,
            "body": json.dumps({
                "message": "dataset ingested with success.",
            }),
        }

    except Exception as e:
        return {
            "statusCode": 400,
            "body": json.dumps({
                "message": str(e),
            }),
        }

Template:
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: >
raw_transformation
Sample SAM Template for smrtr_raw_transformation
More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
Globals:
Function:
Timeout: 3
Resources:
HelloWorldFunction:
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Properties:
CodeUri: hello_world/
Handler: app.lambda_handler
Runtime: python3.8
Timeout: 15
Layers:
- !Ref AWSWranglerLayer
Events:
HelloWorld:
Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
Properties:
Path: /hello
Method: get
AWSWranglerLayer:
Type: AWS::Serverless::LayerVersion
Properties:
CompatibleRuntimes:
- python3.8
ContentUri: ../../../../awswrangler-layer-2.9.0-py3.8.zip
Description: 'awswrangler library'
LayerName: 'awswrangler'
LicenseInfo: MIT
RetentionPolicy: Retain
Outputs:
ServerlessRestApi is an implicit API created out of Events key under Serverless::Function
Find out more about other implicit resources you can reference within SAM
https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api
HelloWorldApi:
Description: "API Gateway endpoint URL for Prod stage for Hello World function"
Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/hello/"
HelloWorldFunction:
Description: "Hello World Lambda Function ARN"
Value: !GetAtt HelloWorldFunction.Arn
HelloWorldFunctionIamRole:
Description: "Implicit IAM Role created for Hello World function"
Value: !GetAtt HelloWorldFunctionRole.Arn
P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.

Hi, I had a quick look at your SAM Lambda function configuration and your  timeout is set to 15 seconds (Timeout: 15). That is way too short to process anything really. Likewise the memory size is not specified which means that it's set to the default (256 Mb), again too low. Regardless, I would not advise using a Lambda function to process files of this size, even with the largest memory and timeout available and using the chunksize parameter. EC2 and Glue jobs are far better options. If you do insist on using Lambda, I would at least consider using the container image feature.

Hi @jaidisido thank you for your reply. My bad I thought was minutes and with your comment I added more memory. One addition, questions, anyway, still have some performance issues although my dataset is big, do you know how I can improve performance on writing as well?

By "writing" I suppose you are referring to the to_parquet method? If so, I would look to leverage the available function parameters, mostly use_threads, compression and concurrent_partitioning, to help with performance.

Thanks. I am closing this item.


How to get audio/video link

How can we fetch direct link  audio which contains different audio format

This is out of scope of this library for now.
youtube-dl or note-ytdl might have what you need


Error with the the Power Run the modulo support for Calculator plugin via % operator.

So I was experimenting with the new features of Power Toys and when I tried tried to use the Calculator plugin via % operator, this error occurred:

Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19042.0
IntPtr Length: 8
x64: True
Date: 01-07-2021 11:59:42
Exception:
System.InvalidCastException: Unable to cast object of type 'System.Windows.Documents.Run' to type 'System.Windows.FrameworkElement'.
at PowerLauncher.MainWindow.SuggestionsList_PreviewMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

2021-07-01.txt

Issue is a duplicate
Thank you for your issue! We've linked your report against another issue #11898
Thanks for helping us to make PowerToys a better piece of software.

Duplicate of #11898

Thanks for the immediate response!

Yes, we have a hot fix coming soon to address this. Thank you for reporting!


Consolidate index.html.in templates

We only need one index.html.in template. We can inject assets and templates to produce each page based on make targets. We should factor out the title into a configurable setting and inject it into the page with angular, but that can be a separate issue.

@hongsudt This is another one of those makefile & related issues.

I am moving this back to backlog..


Updated Help pages to include Hubzilla on OpenShift

Updated admin.bb with a link to new help page Hubzilla_on_OpenShift.bb and fixed some types in .openshift/README.md
Note: after submitting this pull request, I noticed had forgotten to describe myisamchk should be used with mysqld stopped, whilst mysqlcheck needs mysqld running to do checks and repairs, and I have added a short note about this at the bottom of the help page.

Added how you can check your OpenShift logs by doing
rhc tail -a your_app_name -n your_domain -l<EMAIL_ADDRESS>-p your_account_password


[Spark] Optimize batching / incremental progress

Which Delta project/connector is this regarding?

[x] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[ ] Other (fill in here)

Description

Resolves https://github.com/delta-io/delta/issues/3081
Adds support for splitting an optimize run into batches with a new config spark.databricks.delta.optimize.batchSize. Batches will be created by grouping existing bins into groups until batchSize is reached. The default behavior remains the same, and batching is only enabled if the batchSize is configured.
This will apply to all optimization paths. I don't see any reason it shouldn't apply to to compaction, z-ordering, clustering, auto-compaction, or reorg/DV rewriting if a user configures it.
The way transactions are handled within the optimize executor had to be updated. Instead of creating a transaction upfront, we list all the files in the most recent snapshot, and then create transactions for each batch.
This is very important to add for clustering, as there is no way to manually do a partial set of the table using partition filtering. This could cause a lot of execution time and storage space to be wasted if something fails before optimizing the entire table finishes.
How was this patch tested?

A simple new UT is added. I can add others as well, just looking for some feedback on the approach and suggestions of what other tests to add.
Does this PR introduce any user-facing changes?

Yes, adds new capability to optimization that is disabled by default.

I think I've addressed everything, let me know how it looks


Dynamic Pivot UDFs

There is no built-in support for dynamic pivot functionality in presto. Need to create a Presto UDF to support dynamic pivot.
For example a custom pivot sql is:
SELECT  uid, element_at(kv, 'c1') AS c1, element_at(kv, 'c2') AS c2, element_at(kv, 'c3') AS c3 FROM (  SELECT uid, map_agg(key, value) kv  FROM vtable  GROUP BY uid ) t;
Need to make following section dynamic:
 element_at(kv, 'c1') AS c1, element_at(kv, 'c2') AS c2, element_at(kv, 'c3') AS c3

Presto currently doesn't support pivoting like that. It's problematic since you have to know how many columns relation has to have at planning time and dynamic pivoting depends on data.
You might want to try UNNEST (https://prestosql.io/docs/current/sql/select.html) which can convert such structured data into rows with key and value columns.

This could be done with polymorphic table functions (https://www.iso.org/standard/69776.html) which we plan to implement.

Polymorphic table functions don't solve the dynamic pivot issue. The PFT needs to describe its schema to the analyzer during planning. It can consider the schema of the input, and any constant field but that's about it). Dynamic pivot requires running the query before the columns are derived.
If we wanted to do it as a PFT, we'd need a much more complex analysis/planning/execution system with feedback between all those components. It'd require analyzing/planning/executing fragments of a query bottom up and feeding the results to the next stage of analysis/planning/execution. The big downside would be the inability to take advantage of information closer to the root of the query to optimize the initial stages.