Can't load the model on T4 Inference GPU

Hello! What is the recommended configuration to load the model to a smaller Inference GPU?
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03              Driver Version: 535.54.03    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Tesla T4                       Off | 00000000:00:1E.0 Off |                    0 |
| N/A   30C    P8               8W /  70W |      2MiB / 15360MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

This is the code I used to load the model:
import torch
from prometheus_eval import PrometheusEval
from prometheus_eval.prompts import ABSOLUTE_PROMPT, SCORE_RUBRIC_TEMPLATE

judge = PrometheusEval(model_id="prometheus-eval/prometheus-7b-v2.0",
                       absolute_grade_template=ABSOLUTE_PROMPT,
                       dtype=torch.float16,
                       )

Error message:
INFO 05-14 20:01:20 selector.py:32] Using XFormers backend.
INFO 05-14 20:01:21 weight_utils.py:199] Using model weights format ['*.safetensors']
INFO 05-14 20:02:00 model_runner.py:175] Loading model weights took 13.4966 GB
OutOfMemoryError: CUDA out of memory. Tried to allocate 224.00 MiB. GPU

I am testing on A10G as well with bfloat16. But any suggestions re inference setup will be greatly appreciated

Hi @vionwinnie! We actually tried to load the model on T4 GPU (Google colab free instance) but failed even with changing parameters multiple times. I think you might want to consider quantization if you want to load it on small GPUs.

Able to load the 7B model on L4 GPU (24GB RAM)


only edit stripe payment methods

Fixes https://github.com/opencollective/opencollective/issues/698

@xdamman can I let user know? do you close issues when you merge or when you push?


(suggestion) Barrier stone

Can you make it so you could Place the barrier stone under a Block and still Block the Blocks above?

A different approach would to have a variant that is disguisable as any other full size block.

This should go in the thaumcraft suggestions thread at https://github.com/Azanor/thaumcraft-suggestions

unfortunately barrier stone actually place invisible blocks above them, so it will not be possible


Load modules config only for modules managed by puppet (#90)

Pull Request (PR) description
Avoid exporting all loaded kernel modules as facts.
Only loaded modules will be exported (970 lines -> 16 lines)
$ facter -y --puppet kmods
kmods:
  br_netfilter:
    parameters: {}
    used_by: []
  overlay:
    parameters:
      check_copy_up: "N"
      index: "N"
      metacopy: "N"
      nfs_export: "N"
      permit_mounts_in_userns: "N"
      redirect_always_follow: "Y"
      redirect_dir: "N"
      redirect_max: '256'
      xino_auto: "N"
    used_by: []

Too many facts might overload puppetserver or slow down puppet runs.
This Pull Request (PR) fixes the following issues
Fixes #90

@deric, would you please rebase? It has merge conflicts now. Would love to see this getting merged rather sooner than later. :)

@fraenki Yeah, sure. This is a bit old, I don't recall the details.

@fraenki Rebased, please test this. It might be breaking change for some setups.

@fraenki Rebased

What is the chance there is anyone relying on this fact the way it currently works?

@yakatz It should be fairly safe, especially if it is release as a part of major release.


feat: SEO descriptions in content/docs/start and content/docs/tutorials

- Updated .md files in content/docs/start and content/docs/tutorials directories
- Looked for descriptions in markdown files in the given directories and updated them with relevant information
- How to verify it
- Description for the changelog
Updated SEO descriptions of files for improved ranking on search-engines by providing relevant information. Fixes #186

Thanks! @TylerTrott @JeremyTubongbanua @XavierChanth


endpoint for removing scheduled / not-yet-picked-up tasks

will be helpful for a sane view to help with self-service tasking

added in #263


Mark classes with final annotation in 7.1

As per the title says here we can have a discussion about adding final annotation to classes and then making them final on version 8
The reason we want to do that on 7.1 is that we don't want towards version 7 to introduce more major changes than the ones we already have..
So the thought is to make them final on version 8. Before that there is a though about adding final annotations to classes on version 7.1

Big :-1: on this. I am totally against annotations that are not actually enforced, when it comes to something being final.

I am in favour of making some things properly final in version 8 (like the client, BUT only if we have the interface changes).

Big 👎 on this.

But what is the reason? What difference will make for you as a developer if there is a final annotation. The reason we want to have final annotation is in order to inform the developers that we will do the change on v8.. something like a deprecation... If I could do it with a deprecation then I would.. If it is possible then let me know..
if I am not mistaken symfony does the same with annotations as well..

Because it's being marked as final in a missleading way. It's not actually final.

if I am not mistaken symfony does the same with annotations as well..

Really? Can you show me a class from Synfony 5.0 that is annotated final, but is not actually final.

https://github.com/symfony/symfony/blob/4.4/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php#L65

That's marking a method as final, not a class?

For the reason that it is used I fail to see the difference but never the less here is another example.. https://github.com/symfony/symfony/blob/4.4/src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php#L28

It's not actually final.

Yes.. that's the goal.. otherwise it would've been made on v7.

Hmmm. I guess symfony has a special reason for doing this. Are they only doing it to 4.4 classes because of the simultaneous release of 5.0 where they become enforced? This is kinda difference to just randomly doing it in 4.2.0.

Hmmm. I guess symfony has a special reason for doing this.

it's the same as adding a deprecation annotation for extending a class.. I guess if they (or we) could add a deprecation notice because someone extended a class then we would and the final annotation would not be needed.. but personally I don't know how this is possible.. so adding a final annotation is the perfect path here..

Note also that ppl who use symfony if they extend a class that is marked with a final annotation profiler bar shows a warning.

Meh. I guess I'm kinda neutral now. I mostly just think it would be a waste of someone's time to implement in 7.x, now.

Fixed in #2726

I really hate this adding final to classes. I understand that it encourages developers to use composition or decorate the service but firstly there are instances where extending a class is valid and saves writing excess code and should we be forcing developers to code in a "correct" way.
In my instance I extend the class in a test bundle I have written as it allows me to intercept all external calls made with Guzzle and test accordingly. Now the only way for me to get it to work with final is to use the ClientInterface on a new class, inject the Client and now I have to implement all the methods and call the Client on each one as I only need to add functionality to the requestAsync method.

allows me to intercept all external calls made with Guzzle and test accordingly

Have you considered https://docs.guzzlephp.org/en/stable/testing.html#mock-handler ?
I've a project where I use 20+ different guzzle clients with different configurations, integrated with other API clients (like google sdk, fb sdk, etc.) and the MockHandler truly helps catching and asserting external calls.
HTH

I am using the mock handler as well!
I have a test bundle that makes testing our microservices much easier and more automatic by setting the mock handlers automatically and generically returning test data. It is setup to intercept external requests with either HttpClient or Guzzle depending on what is being used to call the request. I have it setup with HttpClient without extension but with Guzzle it is a necessity because of how Guzzle is written.


docs of style-any-component shows incorret case

Describe the bug
docs of style-any-component shows incorret case
Reproduce link
No response
To reproduce

https://vue-styled-components.com/guide/basic/styling-any-component. it should be blue.
Expected behavior
No response
Actual behavior
No response
Package version
No response
Framework version
No response
Node version
No response
Browsers version
No response
OS version
No response
Additional context
No response

It should be a bug in the document. Normal debugging cannot reproduce it.

Got it, it's a problem with the order in which CSS is generated.


Enable spam user blocking on Auth0

i looked into this and we don't need to add any code to our app to enable blocking using the auth0 flag. once a user is blocked on auth0, they won't be able to login to our site anymore.


SNODAS UNMASKED Interpolated Products; Process Historic Archive 2010 - Present

Can be processed using the new cumulus-geoprocess container.  Should be done by sending SQS messages to SQS queue cumulus-geoprocess. Message format can be found here https://github.com/USACE/cumulus-api/blob/develop/utils/geoprocess-message.py#L11

snodas interpolated processing is now enabled for realtime.  Archive processing in progress.
@brettpalmberg  @FHanbali

Awesome!  Thanks @adamscarberry


Allow struct attrs with define!() macro

This patch

Adds a simple example using define.

Updates the documentation to match.

Closes #6.
Note that this patch adds some extra externally visible utility macros beyond __impl. I judged that using the @-style implementation would be complicated and ugly and hard to maintain. If limiting visible macro API is strongly preferred, the patch could be reworked — though I'd prefer to be done, of course.

Looks fine to me. Nice work!

I actually found myself needing this the other day. So perfect timing!

0.20.1 is out!

Thanks much for this crate, and for your prompt maintenance! All greatly appreciated.

That's so nice of you to say. Thank you! I hope you get some use out of this crate!


Start with more initial pitch type options.

instead of just having pitch, include strike, ball, fastball, curveball, etc.

I am claiming this


OCM-5665 | feat: Removed unecessary err check

OCM-5665 Removed unecessary err check

There are some files included in the pr that are just formatted correctly no other changes

/lgtm


Extend cache action

Closes #2.

Very weird. Using \n as a path separator and empty lines should work fine:
https://github.com/actions/cache/blob/4498c5b4d8b0673dbc7d9731bc11d9cc5a2c6087/__tests__/actionUtils.test.ts#L201-L218

The current failures are because the cache-name which is passed from test-save to test-restore is not always passed to the same operating system. Then, the restore key doesn't match anymore so it is an unexpected cache miss.

Great. Everything works again and is now tested on all three operating systems.
I've considered testing the PATHS logic more, but chose not too for now. It is already covered pretty well since currently two things are tested:

artifacts is inside PATHS (otherwise, the artifacts will not be cached and the last job in CI.yml will fail)
the PATHS newlines are properly propagated into cache.key (otherwise, nothing will be cached at all and the last job in CI.yml will fail)

Should we rename this to julia-actions/cache then?

Maybe, cache-julia to be in line with setup-julia, julia-buildpkg, julia-runtest etc? I find the names a bit double so just cache makes more sense indeed. Maybe to avoid clashing fork names?
Good idea to rename. I'll leave the decision up to you to what exactly. I'm okay with cache, cache-julia and similar names.

cache-julia sounds like it caches Julia which it doesn't (and probably shouldn't), I'll go with just cache then

cache-julia sounds like it caches Julia which it doesn't (and probably shouldn't), I'll go with just cache then

Fair enough :+1:
I'm seeing some possible discussion points in the README too. Can we merge this first to avoid having a too long PR? Then, I'll open a new PR for the README

I'm seeing some possible discussion points in the README too. Can we merge this first to avoid having a too long PR? Then, I'll open a new PR for the README

Yea that's fine. I'll tag a new release once the README has been updated then :)

Thank you for that and also for the reviews :smile: I've learned some things from them
I'll do the README tomorrow.


Numerical result out of range error

Hi,
I'm getting an erro running svtyper:
File "/usr/local/packages/seq/lumpy-sv/tools/svtyper/svtyper", line 964, in
gt_sum = sum(10**x for x in gt_lplist)
OverflowError: (34, 'Numerical result out of range')
The entry in the VCF file that causes this error is:
chr1    17684780        42      a          0.00    .       TOOL=LUMPY;SVTYPE=DEL;SVLEN=-317;END=17685097;STR=+-:20;CIPOS=0,0;CIEND=0,0;EVENT=42;SUP=20;PESUP=6;SRSUP=14;EVTYPE=PE,SR;PRIN  GT:SUP:PE:SR    0/1:20:6:14
However, when I run the svtyper version that comes with speedseq I don't get the error for this entry, but for another one:
chr1    188539456       333     a          0.00    .       TOOL=LUMPY;SVTYPE=DEL;SVLEN=-773;END=188540229;STR=+-:155;CIPOS=0,0;CIEND=0,0;EVENT=333;SUP=155;PESUP=117;SRSUP=38;EVTYPE=PE,SR;PRIN    GT:SUP:PE:SR    0/1:155:117:38
I also noticed that the GQ is 0.00 or -0.00 for all SVs that worked.
The input VCF file was generated using the speedseq sv module. The original BAM file was aligned using bwa mem. Discordant BAM files were generated as shown on the lumpy-sv page. I used the current version of speedseq.
Best Regards,
Thomas

Hi Thomas,
can you just confirm that for the first error, you are using the most recent commit of svtyper? (https://github.com/cc2qe/svtyper/blob/fe304de3eb25f5a4cdc6b98c61ec34b9133a3cb3/svtyper) I made some updates to handle overflow recently and want to first check if those help.
The speedseq version of SVTyper is slightly behind the most recent version, so not surprised that it has different behavior

Hi Colby,
yes, I used the newest version. Checked it out this morning.

Ok thanks
Can you run svtyper with the --debug flag and send the  end of the output and the error message for that first variant?
You can just email it to cc2qe at virginia dot edu if you'd like


[Github] Similar issues bot failing

The "Similar issues" bot is failing with the error "no similar issues found".

I agree that this is a success without finding a match. But the pipeline run is incorrectly listed as failed and github mobile showed a message about the failed run.

I moved this to the repo for the action over in /dup https://github.com/craigloewen-msft/GitGudSimilarIssues/issues/32. Thanks!


AD authentication not working for Administrator access

Hello All,
I'm having an issue getting an administrative login via Active Directory.  I am able to successfully login using AD, just not as an administrative user.
Unexpected behavior:

When attempting to login as an administrative user I can login, but receive the error "Unauthorized
You don't have permission for the selected action or page."

Troubleshooting:

The machine is connected to AD.  I can successfully login with an AD user as a regular user.
Nested groups are not being used.
Case sensitivity is not the issue - I've tried case correct and lower case.
Local admin will not work when AD authentication is used.  This is to be expected I suppose, but limits workarounds.

Here is the user authentication block from the web.config file:
  <add key="UserConfiguration" value="~\App_Data\config.xml" />
    <add key="DefaultRepositoriesDirectory" value="~\App_Data\Repositories" />
    <add key="GitPath" value="~\App_Data\Git\git.exe" />
    <add key="GitHomePath" value="~\App_Data" />
    <add key="RecoveryDataPath" value="~\App_Data\Recovery" />
    <add key="AuthenticationProvider" value="Cookies" />
    <!--<add key="AuthenticationProvider" value="Windows" />-->
    <!--<add key="AuthenticationProvider" value="Federation" />-->

    <!--<add key="MembershipService" value="Internal" />-->

    <add key="MembershipService" value="ActiveDirectory" />
    <add key="ActiveDirectoryDefaultDomain" value="ulaneocu.org" />
    <add key="ActiveDirectoryBackendPath" value="~\App_Data\ADBackend" />
    <add key="ActiveDirectoryMemberGroupName" value="Git1101Gitall" />
    <add key="ActiveDirectoryRoleMapping" value="Administrator=Git1101Admin" />
    <!--<add key="ActiveDirectoryTeamMapping" value="Developers=GitTeam" />-->

Thanks in advance for your assistance and time,
Sean

I may well reveal my almost complete ignorance about AD here, but does your user show any roles if you go to the users page?  Seems to me you'd be unlikely to fail any auth tests if you correctly have the role 'Administrator'

Hi Will.  Thanks for the reply.
I don't have access to the user pages after my ?login? with administrative user.  I'm only able to see the Bonobo Git Server button in the top left corner and the Sign In link in the top right along with the  error "Unauthorized You don't have permission for the selected action or page."
I know what you're talking about though, when my regular user logs in I can see "Repositories, "$AD_Long_Name", and Sign Out in the top right.

If you change the ActiveDirectoryRoleMapping value so that it doesn't match you, does your account then work as a normal non-admin account?

I've removed my AD admin user ("AUser) from the "Git1101Admin" AD group (admin group).  I then add "AUser" to the "Git1101Admin" AD group (regular user group).  The "AUser" account can now log in, as a regular user.
If I leave the above setup in place and add "AUser" to the "Git1101Admin" AD group (user is now in regular user and admin groups) I can login, but receive the menus of a regular user; no admin menu in the top right.
It seems the problem is narrowed down to the administrative group in Bonobo not granting administrative rights to the service.  Everything else seems to be working; it's really odd.

Unfortunately there are a number of places in the AD code which might be silently swallowing exceptions without a trace.  If I sent you a set of binaries which recorded better logging, would you be able to try them?    (Or do you have VS and could build your own - I can create a branch for you to try)

I'm happy to run a binary that produces verbose logging.  I can clone the existing virtual machine and run it there.
I'm not sure what a VS is, sorry.
Thanks for the help with this.

The attached file should be put into the bonobo.git.server\bin directory. TAKE A BACKUP FIRST!
If it works, then you might get useful into written into app_data\bonobo.git.server.errors.log.  Probably worth you clearing that file out before you start.
(VS is 'Visual Studio' which is the Microsoft product which you'd use to build your own copy of Bonobo)
Bonobo.Git.Server.dll.zip

New binary writes out the error below to the Bonobo.Git.Server.Errors file when attempting Admin login via AD group.  No error is written when in log (successfully - with expected behavior) in using non-administrative group.
Native library pre-loader is trying to load native SQLite library "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"...

@SGatOCCU - That's not relevant I'm afraid, it's just noise while the app is starting up, it's not an error per se, and it's not connected with the AD stuff.
Clearly whatever's going wrong is not recorded by those additional checks I added.
I have in mind some kind of 'configuration verifier' which could check for various problems with the Bonobo setup and might help narrow-down your problem, but it isn't written yet, and I don't have a AD server here to test against at the moment anyway.
In another thread about an AD problem (which just turned out to be a config error), someone said the following:

I would recommend that the documentation mentions that the AppPool should also have 'Read' rights to the 'Users' and 'Computers' system AD containers. This also gave me some grey hair during troubleshooting.

I don't even really know what it means, but it just might point you to something helpful.

@SGatOCCU  Here's another version of the DLL to try.  This has a new diagnostics page, which you get to by going to http:///Home/Diagnostics
I am flying blind with AD, but I have tried to dump some useful info into that page - see what you get.
Bonobo.Git.Server.dll.zip

Just noticed another place in the AD code which might be silently swallowing an exception - please try the attached and see if it logs anything.
Bonobo.Git.Server.dll.zip

@willdean Do you think it could help the project if we removed all the try catch blocks that catch all excepitons for AD?

Yes!  I am reluctant to make myself unpopular by dissing other people's hard work within a week of looking at the project, but I do think they're a problem.
I think there are generally too many catch() blocks (and possibly too many if(foo != null) { xxx } blocks.)   I'm not singling out the AD code for this.
I know it's a tricky balance, because an exception which stops the server even starting is a bad experience too, but less tolerance of exception-catching and less tolerance of nulls being pushed around everywhere might make it a lot easier to find/fix all the weird config/environment problems people come along with.
I am tempted to open an issue for general discussion of code-quality (perhaps think about having the Appveyor+Resharper stuff do some enforcement, or look at StyleCop perhaps), but there would have to be some serious buy-in from more senior people if there was to be a big push on this.

@willdean I'm in favour of this. I'd just open a PR with an [RFC] tag. Let's giive it a go.

@willdean This is a response to the "AppPool having read rights to users and computers" I found a document on how IIS is managed differently in 2008R2/Win7 onward:
http://www.iis.net/learn/manage/configuring-security/application-pool-identities
I then changed the following value in IIS.  Unfortunately, this had no effect.  I did not make changes in Active Directory yet though.  I want to make one more change before I go there.
IIS Manager > Application Pools > IIS DefaultAppPool > Advanced Settings > generate process model event > Load User Profile > TRUE (from false).
I have another idea I'll investigate as well. Maybe it's local file permissions that need the AppPool rights?  We'll see.

@SGatOCCU Can you look back a couple of comments and find the new version of the DLL which I attached, with some instructions about a new diagnostic page (the url should be http://<your server>/Home/Diagnostics - it got munged in the last comment.
I would be interested in the output of that page.

@willdean

Installed the new binary.

BonoboDiagPageSanitized.txt

I now receive the below from Bonobo.Git.Server.Errors file.  I'm not sure if that's helpful.

Native library pre-loader is trying to load native SQLite library "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"...
About to run  on Closed
Post run count 1
About to run  on Closed
Post run count 1

Thanks for your help with this!

I don't feel I'm being any help!  What did the 'sanitization' consist of - removing the AD user-name list?

Just to verify you try to use cookie auth, with AD membership/role provider?

Are there any json files in the app_data/ADBackend subfolders?
I just tried with cookie auth and a AD backend with the experimental branch that @RedX2501  and I are working on - and it seems to work fine.
I'll try the master branch also - just to verify that it is also working.

I can verify that it also works on master here. Are there any json file in the app_data/ADBackend/Roles ?

@willdean Yep, I just removed all the groups users.  They were presented in a case sensitive CSV format.  All accounts were reflected correctly, so it's able to read from AD.
@larshg Cookies are enabled in the web.config.
 <add key="AuthenticationProvider" value="Cookies" />
I'll attach the whole config file here with only the AD domain name sanitized.
Santitzed_web.config.xml.zip
Thanks,
Sean


Handle if remoteUser is null

In usersync ApplyStateToRoom we should have a fallback or something if remoteUser ends up being null

Implemented in #441


support flash > 16MB (IDFGH-5984)

Can we expect in near future to have support for flash size > 16MB?
Withe very small effort i could build bootloader that support 32MB, but that is not the end.
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x17f0
load:0x4004c000,len:0xa60
load:0x40050000,len:0x2e68
entry 0x4004c208
I (21) boot: ESP-IDF v4.4-dev-3235-g3e370c4296-dirty 2nd stage bootloader
I (21) boot: compile time 23:26:08
I (22) boot: chip revision: 0
I (26) boot.esp32s2: SPI Speed      : 80MHz
I (31) boot.esp32s2: SPI Mode       : DIO
I (35) boot.esp32s2: SPI Flash Size : 32MB
I (40) boot: Enabling RNG early entropy source...
I (46) boot: Partition Table:
I (49) boot: ## Label            Usage          Type ST Offset   Length
I (57) boot:  0 nvs              WiFi data        01 02 00009000 00005000
I (64) boot:  1 otadata          OTA data         01 00 0000e000 00002000
I (72) boot:  2 app0             OTA app          00 10 00010000 00060000
I (79) boot:  3 ffat             Unknown data     01 81 00070000 01e00000
I (86) boot: End of partition table
I (91) boot: No factory image, trying OTA 0
I (95) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=069cch ( 27084) map
I (109) esp_image: segment 1: paddr=000169f4 vaddr=3ffbc8b0 size=01c38h (  7224) load
I (114) esp_image: segment 2: paddr=00018634 vaddr=40022000 size=079e4h ( 31204) load
I (129) esp_image: segment 3: paddr=00020020 vaddr=40080020 size=11b94h ( 72596) map
I (144) esp_image: segment 4: paddr=00031bbc vaddr=400299e4 size=02ecch ( 11980) load
I (147) esp_image: segment 5: paddr=00034a90 vaddr=50000000 size=00010h (    16) load
I (155) boot: Loaded app from partition at offset 0x10000
I (191) boot: Set actual ota_seq=1 in otadata[0]
I (191) boot: Disabling RNG early entropy source...
I (202) ca⸮⸮fÆ~⸮⸮3?⸮⸮⸮⸮⸮,W⸮⸮⸮V⸮,ZY⸮B⸮⸮size 8KB, 4Ways, cache line size 32Byte
I (202) cpu_start: Pro cpu up.
I (214) cpu_start: Pro cpu start user code
I (214) cpu_start: cpu freq: 160000000
I (214) cpu_start: Application information:
I (218) cpu_start: Project name:     hello-world
I (224) cpu_start: App version:      v4.4-dev-3235-g3e370c4296-dirty
I (231) cpu_start: Compile time:     Oct  9 2021 23:26:08
I (237) cpu_start: ELF file SHA256:  5e63f98550541ccc...
I (243) cpu_start: ESP-IDF:          v4.4-dev-3235-g3e370c4296-dirty
I (250) heap_init: Initializing. RAM available for dynamic allocation:
I (257) heap_init: At 3FF9E000 len 00002000 (8 KiB): RTCRAM
I (263) heap_init: At 3FFBED38 len 0003D2C8 (244 KiB): DRAM
I (270) heap_init: At 3FFFC000 len 00003A10 (14 KiB): DRAM
I (276) spi_flash: detected chip: winbond
I (281) spi_flash: flash io: dio
I (285) cpu_start: Starting scheduler on PRO CPU.
Hello world!
This is esp32s2 chip with 1 CPU core(s), WiFi, silicon revision 0, 32MB external flash
Minimum free heap size: 256140 bytes
Restarting in 10 seconds...
Restarting in 9 seconds...

Here is proof of concept:
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x17f0
load:0x4004c000,len:0xa60
load:0x40050000,len:0x2e68
entry 0x4004c208
I (21) boot: ESP-IDF v4.4-dev-3235-g3e370c4296-dirty 2nd stage bootloader
I (21) boot: compile time 23:26:08
I (22) boot: chip revision: 0
I (26) boot.esp32s2: SPI Speed      : 80MHz
I (31) boot.esp32s2: SPI Mode       : DIO
I (35) boot.esp32s2: SPI Flash Size : 32MB
I (40) boot: Enabling RNG early entropy source...
I (46) boot: Partition Table:
I (49) boot: ## Label            Usage          Type ST Offset   Length
I (57) boot:  0 nvs              WiFi data        01 02 00009000 00005000
I (64) boot:  1 otadata          OTA data         01 00 0000e000 00002000
I (72) boot:  2 app0             OTA app          00 10 00010000 00060000
I (79) boot:  3 ffat             Unknown data     01 81 00070000 01e00000
I (86) boot:  4 ffat1            Unknown data     01 81 01e70000 00010000
I (94) boot: End of partition table
I (98) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=0e968h ( 59752) map
I (118) esp_image: segment 1: paddr=0001e990 vaddr=3ffbfaa0 size=01688h (  5768) load
I (120) esp_image: segment 2: paddr=00020020 vaddr=40080020 size=2df7ch (188284) map
I (163) esp_image: segment 3: paddr=0004dfa4 vaddr=3ffc1128 size=007a8h (  1960) load
I (164) esp_image: segment 4: paddr=0004e754 vaddr=40024000 size=0ba98h ( 47768) load
I (181) esp_image: segment 5: paddr=0005a1f4 vaddr=50000000 size=00010h (    16) load
I (187) boot: Loaded app from partition at offset 0x10000
I (187) boot: Disabling RNG early entropy source...
MSC lun 1 begin
E (3994) vfs_fat_spiflash: f_mkfs failed (14)

Actually its not possible yet. There is something odd with file system which does not allow to read/write properly flash that with that bootloader. I have no explanation for it yet, since there are no logs at all about any problems with file system.
The problem is i am testing it with arduino, so i cant change logging level and i also dont have time to investigate it further at the moment.
I can eventually prepare patches, so espressif could investigate it further. I mean patches, because it is small update in bootloader_support component and esptool.

I can eventually prepare patches, so espressif could investigate it further. I mean patches, because it is small update in bootloader_support component and esptool.

That would be great.

That part is very simple:
32mbflash.patch.txt
32mbflash-esptool.patch.txt

Actually its not possible yet. There is something odd with file system which does not allow to read/write properly flash that with that bootloader. I have no explanation for it yet, ...

did you format the filesystem?
how you format the file system?
( further )
fresult = f_mkfs(drv, FM_ANY | FM_SFD, alloc_unit_size, workbuf, workbuf_size);
also how looks your menuconfig setup for sectore size ..
FAT32..EXFAT
a) b) c)
i am sure now you can complet it :)
best wishes
rudi ;-)

Yes, i am using the same procedure to format 15MB partition and 31MB partition. With standard bootloader i can format patition using ubuntu OS and with this modified bootloader i cant format even 1MB partition.

@chegewara Are you able to run the storage/wear_levelling example with your changes, for example with 30MB FAT partition size? I seem to be able to do this locally on an ESP32-S3 with a 32 MB MXIC flash chip. Haven't checked on an ESP32-S2 yet.
The patches I'm using are basically the same as yours:
flash_size_gt_16mb_esptool.patch.txt
flash_size_gt_16mb.patch.txt
By the way, which flash chip are you using? esptool.py flash_id should print this information.

hi @igrr
seems i am unlucky, because i have 2 atmegazero boards and on both debug port connected to onboard CP210x dont work. I also dont have luck getting flash_id over OTG port.
https://atmegazero.com/#/atmegazero_esp32s2_specifications
From PCB i can tell it is winbond 25Q256JVEQ.
And no, i didnt try esp-idf wera_levelling example yet.
When i built hello_world example i can see whole 32MB used and i can assign all space to factory partition, but like i said, there is something odd with USB MSC even when i create only 1MB FFAT partition. With regular bootloader it is working, but flashing upgraded bootloader cause problems.
Ubuntu is not reporting anything wrong, or i just didnt find anything, and i dont see any logs at all.
btw, is there any chance to have S3 devkit with 1GB flash and/or PSRAM from espressif any time soon?

@igrr i think all is good with our patches
before ive been testing 16MB flash setup with arduino bootloaders and it worked, but now i tested with bootloader i generated in hello_world example and i have the same issue as with 32MB pimped bootloader.
I believe it is some problem on my side and compatibility with arduino rather FS or esp-idf.
From patch i see we will have 32 and 64MB support, now we are awaiting new devkits
Thanks

@chegewara
if you can't read twitter
herer your are

1GB means to me exactly the same as to any programmer or person with IT knowledge (which im not)
Thats why in title is 16MB, request to support 32MB and from @igrr patch we can see there will be up to 64MB support.
Capital B always will be bytes and lower b a bit
Since in official espressif TRM it is 1GB  i do not expect nothing more and nothing less.

We've just merged @ESP32DE's PR https://github.com/espressif/esp-idf/pull/7688 (sorry that it took a while!). The merge commit should appear on Github in the next few hours.
Now the basic usage of 32MB and larger flash for data storage should work.
Note that there are still some things which aren't supported, like placing the app itself outside of the lower 16MB area. See https://github.com/espressif/esp-idf/issues/8365 for a few more things which aren't working yet. We'll update that issue when support for large flash sizes is improved.

Hi @igrr, @ESP32DE, all!
@igrr said > Now the basic usage of 32MB and larger flash for data storage should work
Could you please elaborate how to use SPI flash (external or internal) above 16MB? We are using the latest esp-idf and are able to detect 128MB flash, but when we are using esptool.py to map out partitions, we are still locked within the first 16MB? How can we create one large or multiple partitions of 16MB?
Your help would be greatly appreciated!


pdf pages sometimes out of order

might have to do with the await delay in the exportToPDF function in TabCreator

this is fixed, but sometimes the last remaining pages won't be exported. I.e., the pages will be in order, but pages 1 and 2 won't be exported. Probably need to wait a bit before pdf.save


add duckdb example

https://duckdb.org/docs/guides/python/jupyter
https://pypi.org/project/duckdb-engine/

added in 47ee16d18f6b01ad8de809f6ff626132097fca29


"Warning" value stays 0 even there is a problem with duplicated cluster name

see http://<IP_ADDRESS>/clusters
We have here duplicated cluster name: drbd_cluster, hana_cluster, Cluster Id are different.
So value of Warning '0' is wrong.

It might also be worth nothing that the Alert icon should probably take the place of the grey disc at the beginning of the row.

My two cents on this: for me the "issue" here is that the yellow warning sign informing about a duplicated cluster name might be interpreted as a cluster warning status. I agree with @stefanotorresi that placing the warning sign somewhere else might help but I would suggest choosing an different sign/symbol to notify about the duplicated name.

First things first, as this is not an issue, it is more a UI/UX design topic. @stefanotorresi  Can we first change the labeling so we can have a clear picture of the current state of the project?

@arbulu89 agreed 200% that this not a bug but an UI/UX enhancement.

To be honest, I think this is a bug.
If the condition of having duplicate cluster names is a warning, then the warning count should reflect that.

@stefanotorresi we choose the warning icon a bit randomly for duplicated clusters without thinking this could appear as a warning, but we are considering only check results as  a warning state in the cluster details too.
I would vote to change the icon to something else, because it can really confuse users.

To be honest, I think this is a bug.
If the condition of having duplicate cluster names is a warning, then the warning count should take that into account. If the users sees warning count 0, but then warnings in the rows, then something is wrong.
Why do you guys think this is not a bug?

Because it was implemented this way intentionally since the beginning. In the beginning, we didn't have the id column as we have now, so it was not really possible to know which cluster you were using, so to highlight that they were 2 in reality, we put the icon.
If you want, we can remove the icon completely.

Yeah, maybe we should implement this as a check, somehow. Let's change the icon for now, so that this appears not as a warning, but something even softer, like a notice.

@stefanotorresi @abravosuse Does this look OK by now?

Yes, @arbulu89 that new icon looks great to me. It prompts you to check it out but doesn't make you think of a warning.

fixed by 5bfa2ec99cb4399f4a5f9aba5f3d19b8f9d29951


Humble Migration

Please provide the following information:

OS: Ubuntu 22.04
ROS Distro: Humble
Built from source or installed: build from source
Package version: (if from repository, give version from sudo dpkg -s ros-$ROS_VERSION-husky-PACKAGE_WITH_ISSUE, if from source, give commit hash)
Real hardware or simulation: Real

Expected behaviour
Hey @tonybaltovski ! :)
I have a client who would like to test on a Husky, using the humble branch.
Actual behaviour
I want to build your humble branch, however I get the error:
In file included from /home/robot/husky/src/husky/husky_base/src/husky_hardware.cpp:32:
/home/robot/husky/src/husky/husky_base/include/husky_base/husky_hardware.hpp:8:10: fatal error: hardware_interface/base_interface.hpp: No such file or directory
8 | #include "hardware_interface/base_interface.hpp"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Seems that the this needs to be updated asap with the changes listed here:
https://control.ros.org/master/doc/ros2_control/hardware_interface/doc/hardware_components_userdoc.html
I'm going to attempt to change this manually, but we'll see if this fixes it for us.
To Reproduce
Provide the steps to reproduce:
Follow stadard ROS2 Humble install.
Try to build husky base packages
Other notes
Hello Clearpath Team

I can second this. I am running into the same issue. Thanks!

Hi @iliabaranov,
There isn't official support Humble on the Husky yet since there are some changes we are looking to implement.  The Humble branch was created for this PR: https://github.com/husky/husky/pull/275.  Try that and it should work for you.

For ROS 2 Humble, this repository is no longer used. Please visit clearpath_common. Check the documentation for more details including supported sensors.


Compact bytecode representation for interpreter

or other read-only purporses

Closing this since interpreter is no longer in this repo. See  https://github.com/paritytech/wasmi/issues/100 for interpreter related tracking issue.


IndexOutOfBoundsException in LinearLayout using tk.zielony:carbon:0.14.0

I'm getting much more crash reports, since Google changed it's reporting policy. This is from a app version I published two days ago. Unfortunately I don't know which activity and fragment the layout is in. If there is a bug in my code, the layout should report it more early and with some context. Otherwise, please look into this bug.
Thanks a lot!
Sony Xperia XZ (F8331), 3072MB RAM, Android 7.1
java.lang.IndexOutOfBoundsException:
at java.util.ArrayList.get (ArrayList.java:411)
at carbon.widget.LinearLayout.getChildDrawingOrder (LinearLayout.java:329)
at android.view.View.populateAccessibilityNodeInfoDrawingOrderInParent (View.java:7082)
at android.view.View.onInitializeAccessibilityNodeInfoInternal (View.java:7041)
at android.view.ViewGroup.onInitializeAccessibilityNodeInfoInternal (ViewGroup.java:3069)
at android.view.View$AccessibilityDelegate.onInitializeAccessibilityNodeInfo (View.java:23621)
at android.support.v4.view.AccessibilityDelegateCompatIcs.onInitializeAccessibilityNodeInfo (AccessibilityDelegateCompatIcs.java:101)
at android.support.v4.view.AccessibilityDelegateCompat$AccessibilityDelegateIcsImpl.onInitializeAccessibilityNodeInfo (AccessibilityDelegateCompat.java:198)
at android.support.v4.view.AccessibilityDelegateCompat.onInitializeAccessibilityNodeInfo (AccessibilityDelegateCompat.java:451)
at android.support.v7.widget.RecyclerViewAccessibilityDelegate.onInitializeAccessibilityNodeInfo (RecyclerViewAccessibilityDelegate.java:56)
at android.support.v4.view.AccessibilityDelegateCompat$AccessibilityDelegateJellyBeanImpl$1.onInitializeAccessibilityNodeInfo (AccessibilityDelegateCompat.java:246)
at android.support.v4.view.AccessibilityDelegateCompatJellyBean$1.onInitializeAccessibilityNodeInfo (AccessibilityDelegateCompatJellyBean.java:66)
at android.view.View.onInitializeAccessibilityNodeInfo (View.java:6655)
at android.view.View.createAccessibilityNodeInfoInternal (View.java:6616)
at android.view.View$AccessibilityDelegate.createAccessibilityNodeInfo (View.java:23690)
at android.view.View.createAccessibilityNodeInfo (View.java:6599)
at android.view.accessibility.AccessibilityRecord.setSource (AccessibilityRecord.java:145)
at android.view.accessibility.AccessibilityRecord.setSource (AccessibilityRecord.java:119)
at android.view.View.onInitializeAccessibilityEventInternal (View.java:6553)
at android.view.View$AccessibilityDelegate.onInitializeAccessibilityEvent (View.java:23602)
at android.support.v4.view.AccessibilityDelegateCompatIcs.onInitializeAccessibilityEvent (AccessibilityDelegateCompatIcs.java:97)
at android.support.v4.view.AccessibilityDelegateCompat$AccessibilityDelegateIcsImpl.onInitializeAccessibilityEvent (AccessibilityDelegateCompat.java:192)
at android.support.v4.view.AccessibilityDelegateCompat.onInitializeAccessibilityEvent (AccessibilityDelegateCompat.java:432)
at android.support.v7.widget.RecyclerViewAccessibilityDelegate.onInitializeAccessibilityEvent (RecyclerViewAccessibilityDelegate.java:65)
at android.support.v4.view.AccessibilityDelegateCompat$AccessibilityDelegateJellyBeanImpl$1.onInitializeAccessibilityEvent (AccessibilityDelegateCompat.java:241)
at android.support.v4.view.AccessibilityDelegateCompatJellyBean$1.onInitializeAccessibilityEvent (AccessibilityDelegateCompatJellyBean.java:61)
at android.view.View.onInitializeAccessibilityEvent (View.java:6539)
at android.view.View.sendAccessibilityEventUncheckedInternal (View.java:6406)
at android.view.View$AccessibilityDelegate.sendAccessibilityEventUnchecked (View.java:23541)
at android.support.v4.view.AccessibilityDelegateCompatIcs.sendAccessibilityEventUnchecked (AccessibilityDelegateCompatIcs.java:122)
at android.support.v4.view.AccessibilityDelegateCompat$AccessibilityDelegateIcsImpl.sendAccessibilityEventUnchecked (AccessibilityDelegateCompat.java:223)
at android.support.v4.view.AccessibilityDelegateCompat.sendAccessibilityEventUnchecked (AccessibilityDelegateCompat.java:371)
at android.support.v4.view.AccessibilityDelegateCompat$AccessibilityDelegateJellyBeanImpl$1.sendAccessibilityEventUnchecked (AccessibilityDelegateCompat.java:268)
at android.support.v4.view.AccessibilityDelegateCompatJellyBean$1.sendAccessibilityEventUnchecked (AccessibilityDelegateCompatJellyBean.java:87)
at android.view.View.sendAccessibilityEventUnchecked (View.java:6389)
at android.support.v7.widget.RecyclerView.sendAccessibilityEventUnchecked (RecyclerView.java:3206)
at android.view.View.sendAccessibilityEventInternal (View.java:6368)
at android.view.View$AccessibilityDelegate.sendAccessibilityEvent (View.java:23499)
at android.support.v4.view.AccessibilityDelegateCompatIcs.sendAccessibilityEvent (AccessibilityDelegateCompatIcs.java:117)
at android.support.v4.view.AccessibilityDelegateCompat$AccessibilityDelegateIcsImpl.sendAccessibilityEvent (AccessibilityDelegateCompat.java:217)
at android.support.v4.view.AccessibilityDelegateCompat.sendAccessibilityEvent (AccessibilityDelegateCompat.java:349)
at android.support.v4.view.AccessibilityDelegateCompat$AccessibilityDelegateJellyBeanImpl$1.sendAccessibilityEvent (AccessibilityDelegateCompat.java:263)
at android.support.v4.view.AccessibilityDelegateCompatJellyBean$1.sendAccessibilityEvent (AccessibilityDelegateCompatJellyBean.java:82)
at android.view.View.sendAccessibilityEvent (View.java:6333)
at android.view.View.onFocusChanged (View.java:6272)
at android.view.View.handleFocusGainInternal (View.java:6013)
at android.view.ViewGroup.handleFocusGainInternal (ViewGroup.java:717)
at android.view.View.requestFocusNoSearch (View.java:9178)
at android.view.View.requestFocus (View.java:9157)
at android.view.ViewGroup.requestFocus (ViewGroup.java:2835)
at android.view.ViewGroup.onRequestFocusInDescendants (ViewGroup.java:2875)
at android.view.ViewGroup.requestFocus (ViewGroup.java:2831)
at android.view.ViewGroup.onRequestFocusInDescendants (ViewGroup.java:2875)
at android.view.ViewGroup.requestFocus (ViewGroup.java:2831)
at android.view.ViewGroup.onRequestFocusInDescendants (ViewGroup.java:2875)
at android.view.ViewGroup.requestFocus (ViewGroup.java:2831)
at android.view.ViewGroup.onRequestFocusInDescendants (ViewGroup.java:2875)
at android.view.ViewGroup.requestFocus (ViewGroup.java:2831)
at android.view.ViewGroup.onRequestFocusInDescendants (ViewGroup.java:2875)
at android.view.ViewGroup.requestFocus (ViewGroup.java:2831)
at android.view.ViewGroup.onRequestFocusInDescendants (ViewGroup.java:2875)
at android.view.ViewGroup.requestFocus (ViewGroup.java:2834)
at android.view.View.requestFocus (View.java:9124)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2150)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1254)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6343)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:874)
at android.view.Choreographer.doCallbacks (Choreographer.java:686)
at android.view.Choreographer.doFrame (Choreographer.java:621)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:860)
at android.os.Handler.handleCallback (Handler.java:751)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:241)
at android.app.ActivityThread.main (ActivityThread.java:6274)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:776)

Index of a child is being retrieved before the view list is build. A fix should be as simple as overriding this method in all layouts:
@Override
protected int getChildDrawingOrder(int childCount, int child) {
    if (views.size() != childCount)
        getViews();    // rebuild the list
    return indexOfChild(views.get(child));
}

If that's all that's necessary, that would be great.
If version 0.15 is not ready for release yet (e.g. it might be insufficiently tested) would you kindly prepare a version 0.14.1 with just the fix.

0.15.0 is fine, but I'm afraid that you would have to update a lot more than just the version number. If you wish, you can try the most recent commit using JitPack. It contains the fix and will be released as 0.15.0. That should give you some insight on what has changed between 0.14.0 and 0.15.0.

I don't mind API changes. But are there any changes that I need to adapt to, which the compiler won't catch?

0.15.0 is on Maven. The non-API changes are mostly in styles. Some colors may change.

I've upgraded to 0.15.0 and also upgraded Android Studio to 3.0 beta 2, because 0.15.0 requires Java 8. After adapting some code it builds OK.
Unfortunately I can't get it to generate an APK. Whatever I do -- using or disallowing MultiDex; excluding transiently included module dependencies, like most android support modules; enabling or disabling Aapt2; cleaning, deleting the build folder, invalidating the android caches and restarting it as well and rebuilding -- I always get an exception like this one:
:gastricBypassSupport:transformDexArchiveWithDexMergerForDebug
AGPBI: {"kind":"error","text":"Error converting bytecode to dex:\nCause: com.android.dex.DexException: Multiple dex files define Landroid/support/v8/renderscript/Matrix2f;","sources":[{}],"original":"UNEXPECTED TOP-LEVEL EXCEPTION:\ncom.android.dex.DexException: Multiple dex files define Landroid/support/v8/renderscript/Matrix2f;\n","tool":"Dex"}
AGPBI: {"kind":"error","text":"com.android.dex.DexException: Multiple dex files define Landroid/support/v8/renderscript/Matrix2f;","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:198)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:61)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:36)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1445)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)","sources":[{}]}
AGPBI: {"kind":"error","text":"\tat java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)","sources":[{}]}

 FAILED

The class that is defined by multiple dex files is often a different one, but always part of the renderscript support library. I don't know how to exclude the transient gradle dependency of the renderscript library, as it is not a maven module but something local, configured by Android.
Could this be a bug in the new gradle plug-in? Am I missing a gradle configuration? Any suggestions?
Thanks a lot!

Remove the RenderScript setup from your app.gradle file:
renderscriptTargetApi 20
renderscriptSupportModeEnabled true

Apparently the new gradle plugin includes RenderScript twice - from the library and from the app. I can't remove it from the library as it would fail to compile. That also means that hardware accelerated shadows are on by default. RenderScript never was easy to work with.
You can also exclude RenderScript on library's side:
https://stackoverflow.com/questions/41469772/exclude-package-classes-from-aar-gradle-dependency

Thanks, that works now :-) I also saw, that you changed the installation instructions, but that alone wouldn't have saved me, because I wouldn't have looked, assuming that I already have installed carbon properly. A reminder to look at the release notes, update- or installation-instructions at the top of README.md, would draw my attention better.
One thing I noticed, is that interoperability of carbon and plain old android widgets changed. I used to have carbon radio buttons in a vanilla android radio group. That used to work before, but does not any more.

It's live. Let's see how it goes.


MessageError: RangeError: Maximum call stack size exceeded.

I am trying to 'Upload from Local' and it gives this error.

Hello, sorry I haven't had time to maintain this project. I have moved on to Faster-Whisper which also does translation and transcribing of video files, do check it out if is what you are looking for.
If anyone has a fix for this, feel free to open a PR too.


Set-InboundConnector page requires update to include new settings for Enhanced Filtering

Set-InboundConnector page requires update to include new settings for Enhanced Filtering.  Refer to https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/use-connectors-to-configure-mail-flow/enhanced-filtering-for-connectors

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cb3825d3-960f-65ac-e138-7097cbe65dea
Version Independent ID: 07b7a66f-c0f2-fb8b-518e-f150fe09ec0f
Content: Set-InboundConnector (exchange)
Content Source: exchange/exchange-ps/exchange/mail-flow/Set-InboundConnector.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

@stuartschifter-AMA, done. Thanks for the feedback.
Closing.


Add support for closing opened folder

For example, add a right click menu on opened project folder which offers a "Close Project" menu item.
I don't want to switch to specific folder to right click and open in the file explorer

@shibang try File > Close Folder


answer from f.get_flights nearly empty

first of all: thank you for this nice app! good work!
i got it to work, it answers this example niceliy:
vieinfo = f.get_airport_details('VIE', page=1, limit=1)
print (vieinfo)

so the connection seems to work.
but if i try fluginfo = f.get_flights(flugnr)
(flugnr is a variable, now it is 'QTR5MP')
i get:
DEBUG:urllib3.connectionpool:https://www.flightradar24.com:443 "GET /v1/search/web/find?query=QTR5MP&limit=100&type=schedule HTTP/1.1" 200 None
[{'label': 'QR291', 'detail': {'callsign': 'QTR5MP', 'flight': 'QR291'}, 'type': 'schedule', 'match': 'begins'}]

is this a pyflightdata issue?
thanks!

This happens when FR24 does not return data; since pyflightdata is just a wrapper over HTTP it cannot handle this. Best is to retry in your code.


JSX page needs overhaul

https://rescript-lang.org/docs/manual/latest/jsx

it still mentions ReasonReact
it even links to the old ReasonReact docs
children spread is not necessary anymore
the "JS Output" is often not the real final JS output

Overall I am also not sure if the desugared / ppxed snippets should be there anyway.
Of course now with JSX4 landing, it will be adapted anyway, those were just the things that stand out like a sore thumb to me.

IMHO, I couldn’t find the fine reason to state the desugared expressions by ppx.
I think it is better to explain what @react.component is doing for.

The whole @JSX description can go as @JSX has now become an implementation detail that can just disappear now that the parser is vertically integrated in the compiler.

I think it is better to explain what @react.component is doing for.

Nope. I guess @react.component is not necessary to be explained on the JSX page. It is more like to be stated on the ReScriptReact page.


FLM-641 - Updated Helper Text to Spec

Coverage decreased (-0.02%) to 76.81% when pulling 4353d5f54c8aa04e386673db9d1997fb16de6ea1 on sephcoster:fixer into db7d3445b63fa7efa244478b6c66046a5d61c05d on cfpb:master.

Coverage decreased (-0.02%) to 76.81% when pulling 78403e5e82ba877949ec0a003a63a3b58c9f7ae3 on sephcoster:fixer into db7d3445b63fa7efa244478b6c66046a5d61c05d on cfpb:master.

Are we waiting on tests to merge?
Besides that :+1:


Eigen Value and Vector Calculator

Issue: #547
Added Eigen Value and Vector Calculator

@iamrahulmahato Sir, Please review this PR.
Can you assign it with level 2 for my work. Thank You!!


docs: code docs for cosmwasm contracts

Description:
Commit Message
docs: code docs for cosmwasm contracts

see the guidelines for commit messages.
Checklist:

[ ] I have performed a self-review of my own code
[x] I have documented my code in accordance with the documentation guidelines
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have run the unit tests
[ ] I only have one commit (if not, squash them into one commit).
[x] I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Codecov Report

Merging #346 (57a14f5) into main (ec2f965) will decrease coverage by 3.73%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #346      +/-   ##
============================================
- Coverage     45.58%   41.86%   -3.73%
============================================
  Files           125       98      -27
  Lines         20895    18856    -2039
  Branches        284        0     -284
============================================
- Hits           9526     7894    -1632
+ Misses        11228    10962     -266
+ Partials        141        0     -141

Impacted Files
Coverage Δ

contracts/cosmwasm-vm/cw-ibc-core/src/context.rs
89.18% <ø> (ø)

contracts/cosmwasm-vm/cw-ibc-core/src/contract.rs
71.26% <ø> (ø)

contracts/cosmwasm-vm/cw-ibc-core/src/error.rs
36.84% <ø> (ø)

contracts/cosmwasm-vm/cw-ibc-core/src/helpers.rs
0.00% <ø> (ø)

...cosmwasm-vm/cw-ibc-core/src/ics02_client/client.rs
83.06% <ø> (ø)

...cosmwasm-vm/cw-ibc-core/src/ics02_client/events.rs
100.00% <ø> (ø)

...osmwasm-vm/cw-ibc-core/src/ics02_client/handler.rs
95.71% <ø> (ø)

.../cosmwasm-vm/cw-ibc-core/src/ics02_client/types.rs
43.33% <ø> (ø)

...-vm/cw-ibc-core/src/ics03_connection/connection.rs
78.43% <ø> (ø)

...mwasm-vm/cw-ibc-core/src/ics03_connection/delay.rs
63.41% <ø> (ø)

... and 39 more

... and 27 files with indirect coverage changes


Fix ruby proto file import

Duplicated effort with #612 . But push anyway as reference.

Please review #612 first.

Current coverage is 81.12% (diff: 93.33%)

Merging #613 into master will increase coverage by 0.01%

@@             master       #613   diff @@
==========================================
  Files           267        267
  Lines         10019      10032    +13
  Methods           0          0
  Messages          0          0
  Branches       1308       1309     +1
==========================================
+ Hits           8126       8138    +12
- Misses         1558       1559     +1
  Partials        335        335

Powered by Codecov. Last update 0961ee6...1f26d28

LGTM

LGTM too, but I'd like to invite @garrettjonesgoogle for the sanity check.

Garrett: we want for Ruby to distinguish grpc service definition file (foo_services_pb.rb) and proto file (foo_pb.rb) and import them differently. I am wondering if Ruby is the first case here and want to make sure this design is the right approach.

I feel that it's a little hard to judge within the context of non-MVVM generation. I don't see anything inherently wrong with this approach, but I reserve the right to change my mind when this is converted to MVVM :-)

LGTM


B2C: Can't upload custom policy with LocalizedString for captcha display control

I have an issue with uploading custom policy, which contains LocalizedString elements for the Captcha Display Control
According to the documentation https://learn.microsoft.com/en-us/azure/active-directory-b2c/localization-string-ids#captcha-display-control-example, we should be able to overwrite the text for the various controls using that example XML.
Here's an example from my attempt:

But I get the following error:
{
  "error": {
    "code": "AADB2C",
    "message": "Validation failed: 19 validation error(s) found in policy \"B2C_1A_TRUSTFRAMEWORKLOCALIZATION\" of tenant \"ixb2ctestdevth.onmicrosoft.com\".The localized string with ElementType: UxElement and Strin gId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_a udio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an i nvalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and Stri ngId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_ audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdTh e localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and Str ingId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype _audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdT he localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized strin g with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType: UxElement and StringId: captchatype_audio_help has an invalid StringIdThe localized string with ElementType : UxElement and StringId: captchatype_audio_help has an invalid StringId",
    "innerError": {
       <redacted>
    }
  }
}

Unfortunately, the error tells me that captchatype_audio_help is an invalid StringId. Please regard the fact that it has 19 validation errors, that just reflects that I'm trying to upload these strings in 19 languages.
I tried the other examples as well, and the only StringId that is recognized is captchaControlChallengeCode, none of the others work.
Please update the documentation with the correct string ids that we should use.
Thank you!
title: Localization string IDs - Azure Active Directory B2C

author: kengaderdus
manager: CelesteDG
ms.service: azure-active-directory

ms.date: 02/24/2024
ms.author: kengaderdus
ms.subservice: b2c

@benelori
Thanks for your feedback! We will investigate and update as appropriate.

@benelori
Thank you for bringing this to our attention.
I've delegated this to content author @kengaderdus, who will review it and offer their insightful opinions.


[.Net] Improve package description

Why are these changes needed?
This PR improves nuget package description

Add link to discord channel
Add link to document website
Move update log to document website as a separate page

Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 36.39%. Comparing base (b2d3474) to head (73aa90d).

Additional details and impacted files
@@            Coverage Diff             @@
##           dotnet    #2161      +/-   ##
==========================================
- Coverage   37.57%   36.39%   -1.18%
==========================================
  Files          65       70       +5
  Lines        6912     7339     +427
  Branches     1521     1604      +83
==========================================
+ Hits         2597     2671      +74
- Misses       4090     4431     +341
- Partials      225      237      +12

Flag
Coverage Δ

unittests
36.38% <ø> (-1.20%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Why is the YouTube video player so fast even if the network is weak?

Why is the YouTube video player so fast even if the network is weak?
thanks

use exoplayer instead


Centos 8 can't connect to rdp server

This is xorg connection.

I only do
yum install epel-release
yum install xrdp xrdp-selinux xorgxrdp
The CentOS 8 is new install OS.
I install CentOS with "GUI server" then install xrdp.
I haven't change any setting in xrdp.ini and sesman.ini files.
But in CentOS 7 is work.
What step I miss or I have to install?
And which file I have to provide?

[20191026-13:38:04] [INFO ] setpriv --no-new-privs Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20191026-13:38:14] [ERROR] X server for display 10 startup timeout
[20191026-13:38:14] [CORE ] waiting for window manager (pid 693) to exit
[20191026-13:38:14] [ERROR] X server for display 10 startup timeout
[20191026-13:38:14] [ERROR] another Xserver might already be active on display 10 - see log
[20191026-13:38:14] [DEBUG] aborting connection...
[20191026-13:38:14] [CORE ] window manager (pid 693) did exit, cleaning up session

Sorry I am a newbie.
Thank you!
Connection Video

[20191026-13:38:04] [INFO ] setpriv --no-new-privs Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20191026-13:38:14] [ERROR] X server for display 10 startup timeout
[20191026-13:38:14] [CORE ] waiting for window manager (pid 693) to exit
[20191026-13:38:14] [ERROR] X server for display 10 startup timeout
[20191026-13:38:14] [ERROR] another Xserver might already be active on display 10 - see log
[20191026-13:38:14] [DEBUG] aborting connection...
[20191026-13:38:14] [CORE ] window manager (pid 693) did exit, cleaning up session

https://github.com/neutrinolabs/xrdp/issues/1106

I have found some inflammation.
https://www.centos.org/forums/viewtopic.php?f=54&t=71817&p=301957&hilit=xrdp#p301957
When using xvnc remote login, you need to log out of the local account to log in successfully.
When using xorg remote login, it will display a blue screen whether or not you log in to your local account.

FYI: for my CentOS 8.1 desktop it was required the following configuration changes:
diff /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak.2020.06.18
181,192c181,183
< [Xorg]
< name=Xorg
< lib=libxup.so
< username=ask
< password=ask
< ip=<IP_ADDRESS>
< port=-1
< code=20
<
< #[Xvnc]
< #name=Xvnc
< #lib=libvnc.so
---
> #[Xorg]
> #name=Xorg
> #lib=libxup.so
196a188,196
> #code=20
>
> [Xvnc]
> name=Xvnc
> lib=libvnc.so
> username=ask
> password=ask
> ip=<IP_ADDRESS>
> port=-1

diff /etc/xrdp/sesman.ini /etc/xrdp/sesman.ini.bak.2020.06.18
86c86
< param=/usr/libexec/Xorg
---
> param=Xorg
96,103c96,103
< #[Xvnc]
< #param=Xvnc
< #param=-bs
< #param=-nolisten
< #param=tcp
< #param=-localhost
< #param=-dpi
< #param=96
---
> [Xvnc]
> param=Xvnc
> param=-bs
> param=-nolisten
> param=tcp
> param=-localhost
> param=-dpi
> param=96

FYI: for my CentOS 8.1 desktop it was required the following configuration changes:
diff /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak.2020.06.18
181,192c181,183
< [Xorg]
< name=Xorg
< lib=libxup.so
< username=ask
< password=ask
< ip=<IP_ADDRESS>
< port=-1
< code=20
<
< #[Xvnc]
< #name=Xvnc
< #lib=libvnc.so
---
> #[Xorg]
> #name=Xorg
> #lib=libxup.so
196a188,196
> #code=20
>
> [Xvnc]
> name=Xvnc
> lib=libvnc.so
> username=ask
> password=ask
> ip=<IP_ADDRESS>
> port=-1

diff /etc/xrdp/sesman.ini /etc/xrdp/sesman.ini.bak.2020.06.18
86c86
< param=/usr/libexec/Xorg
---
> param=Xorg
96,103c96,103
< #[Xvnc]
< #param=Xvnc
< #param=-bs
< #param=-nolisten
< #param=tcp
< #param=-localhost
< #param=-dpi
< #param=96
---
> [Xvnc]
> param=Xvnc
> param=-bs
> param=-nolisten
> param=tcp
> param=-localhost
> param=-dpi
> param=96

This line should be changed in sesman.ini otherwise xorg won't work:
param=/usr/libexec/Xorg

have changed on my CentOs 8.2 like danchitnis adised:
[root@localhost ~]# diff /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.orig
181,192c181,183
< [Xorg]
< name=Xorg
< lib=libxup.so
< username=ask
< password=ask
< ip=<IP_ADDRESS>
< port=-1
< code=20
<
< #[Xvnc]
< #name=Xvnc
< #lib=libvnc.so

#[Xorg]
#name=Xorg
#lib=libxup.so
196a188,196
#code=20
[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=<IP_ADDRESS>
port=-1
[root@localhost ~]# diff /etc/xrdp/sesman.ini /etc/xrdp/sesman.ini.orig
88,89c88
< #param=Xorg
< param=/usr/libexec/Xorg

param=Xorg
99,106c98,105
< #[Xvnc]
< #param=Xvnc
< #param=-bs
< #param=-nolisten
< #param=tcp
< #param=-localhost
< #param=-dpi
< #param=96

[Xvnc]
param=Xvnc
param=-bs
param=-nolisten
param=tcp
param=-localhost
param=-dpi
param=96
but the result almost the same


how to pass the price to gateway

hi i am trying to write a custom gateway for this package and here is what i have done :
i added this in config in payment module
  'bank_pasargad' => [
        'code' => 'bank_pasargad',
        'title' => 'costum bank',
        'description' => 'bank',
        'class' => 'Webkul\Pasargad\Payment\Pasargad',
        'sandbox' => true,
        'active' => true,
        'business_account' =><EMAIL_ADDRESS>        'sort' => 1
    ],

i made a package for my gateway and like below i added the method :
   protected $code  = 'bank_pasargad';

    public function getRedirectUrl()
    {
        return route('pasargad.request');
    }

now every thing is working fine just i dont know how to pass the price to my controller to give it to gate way and then i success the order . is there any documentation to that ??

Hi @farshadff
In your controller, you can get whole cart from which you will get all the necessary details about cart.
Cart::getCart()
You can use below function to prepare data for order.
Cart::prepareDataForOrder()

No reply from the last 10 days. I hope the above reply solved your issue.


Modify User-Agent check in CalDAV component to account for Windows 10 Mobile

The Calendar app on Windows 10 Mobile (Build 10586) uses a different user-agent string than the one on Windows 10. Please modify the check in owncloud/3rdparty/sabre/dav/lib/CalDAV/Plugin.php in line 620 to account for this.
The string used is:
MSFT-WIN-4/10.0.10586 (gzip)

This is fixed on master.


Align column text to the left

Hello,
I don't know where to find the good way to align my column text to the right.
I just test your module with these command :
function Get-ReportProcess
{
    get-process | foreach {
        [pscustomobject]@{
            Name = $_.ProcessName
            ID = $_.id
        }
    }
}

$ReportProcess=Get-ReportProcess

New-HTML -Name "My title" -FilePath c:\Example04.html  {
    New-HTMLTab -Name "Inventory" {
        New-HTMLSection -name Process{
            New-HTMLTable -DataTable $ReportProcess
        }
    }
}

I have Name and ID column in the center and I would like them to be on the left. + don't use all the page for 2 column. I would like to use only the space I need with the table.
Thanks

New-TableHeader is what you need.
function Get-ReportProcess {
    Get-Process | ForEach-Object {
        [pscustomobject]@{
            Name = $_.ProcessName
            ID   = $_.id
        }
    }
}

$ReportProcess = Get-ReportProcess

New-HTML -Name "My title" -FilePath c:\Example04.html {
    New-HTMLTab -Name "Inventory" {
        New-HTMLSection -Name Process {
            New-HTMLTable -DataTable $ReportProcess {
                New-TableHeader -Alignment left -Names 'Name', 'ID'
            }
        }
    }
} -ShowHTML -Online

For size, you can play with size of sections. By design PSWriteHTML tries to fit the page of 100% width.
function Get-ReportProcess {
    Get-Process | ForEach-Object {
        [pscustomobject]@{
            Name = $_.ProcessName
            ID   = $_.id
        }
    }
}

$ReportProcess = Get-ReportProcess

New-HTML -Name "My title" -FilePath c:\Example04.html {
    New-HTMLTab -Name "Inventory" {
        New-HTMLSection -Invisible {
            New-HTMLSection -Name Process {
                New-HTMLTable -DataTable $ReportProcess {
                    New-TableHeader -Alignment left -Names 'Name', 'ID'
                }
            } -Width 30%
            New-HTMLSection -Name 'Something else' {

            }
        }
    }
} -ShowHTML -Online

Thank you for this fast answer.
It's better.
Is it normal it's not totally on the left ?

Then, I would like to know if there is some help for each parameter ? Because New-HTMLTable has lot of possible parameter and get-help has no description and on your website I see lot of example but no description on each possibilities.
It's the first time I use it, maybe I don't look at the good place...
Finally, many thanks for this module because I used a little html / css and this module will make my life easier and dynamic search is awesome :). I see there are lot of different module I need to read a little each of them but this one is just excellent.

You should read:

🔗 Meet Statusimo – PowerShell generated Status Page
🔗 Meet Dashimo – PowerShell Generated Dashboard
🔗 Dashimo – Easy Table Conditional Formatting and more
🔗 Out-HtmlView – HTML alternative to Out-GridView
🔗 Meet Emailimo – New way to send pretty emails with PowerShell
🔗 All your HTML Tables are belong to us
🔗 Sending HTML emails with PowerShell and zero HTML knowledge required
🔗 Dashimo (PSWriteHTML) – Charting, Icons and few other changes
🔗 Working with HTML in PowerShell just got better
🔗 Comparing two or more objects visually in PowerShell (cross-platform)
🔗 Easy way to create diagrams using PowerShell and PSWriteHTML
🔗 Nested Tabs, Diagram Updates, Diagram Events, Calendar Object and more in PSWriteHTML
🔗 Emailimo merged into PSWriteHTML, IE support and no dependencies
🔗 Active Directory DHCP Report to HTML or EMAIL with zero HTML knowledge
🔗 Creating Office 365 Migration Diagram with PowerShell
🔗 Advanced HTML reporting using PowerShell

It will give you a start. Then you can go into the Examples folder, run them and see what happens and how it's getting built.
There are no other docs, as I have no time to create those, and there's very limited support from people in helping with those. Once people get hang of it, they just start using it without thinking to update docs for someone else.
As for your alignment, it could be fixed - it's padded by default 17px, when changed to 5px it moves it properly

Maybe someday I'll update it.
As for the sizing, there's very rarely need to play with width. As soon as you start adding things and pushing more content it will resize to much smaller object.

Thanks for this return.
Maybe one last question.
I try to test your new advice to align on the left but maybe I don't use it correctly ?
my test code :
function Get-ReportProcess {
    Get-Process | ForEach-Object {
        [pscustomobject]@{
            Name = $_.ProcessName
            ID   = $_.id
        }
    }
}

function Get-ReportServices {
    Get-service | ForEach-Object {
        [pscustomobject]@{
            Name = $_.Name
            ID   = $_.status
        }
    }
}

$ReportProcess = Get-ReportProcess
$ReportServices = Get-ReportServices

New-HTML -Name "My title" -FilePath c:\Example04.html {
    New-HTMLTab -Name "Inventory" {
        New-HTMLSection -Name Process {
            New-HTMLTable -DataTable $ReportProcess {
                New-TableHeader -Alignment left -Names 'Name', 'ID'
            }
        }

        New-HTMLSection -Name Services {
            New-HTMLTable -DataTable $ReportServices {
                New-TableHeader -Alignment left -Names 'Name', 'Status'
            }
        }
    }
} -ShowHTML -Online

my result

You changed New-TableHeader -Alignment left -Names 'Name', 'Status' to Name/Status - There are no Status column in the 2nd table.

Oh right my bad...
I forget to change it in my function... ID need to be replaced by status :)
Sorry about it and thank you very much for your help

@PrzemyslawKlys , that align example is great!
i was messing with the titles a few times now, and didnt got it to work as i wish, but now looking at your example i think its because i use with the New-TableHeader the "-Title" option.
on anyway, i will go now and play with it again, but i suggest to add that example to the list of examples you share with the code.

The Title is for adding Title over 1 or more rows

New-TableHeader -Alignment left -Names 'Name', 'Id' -Title 'Title'

That cmdlet has multiple options to control how things are looking. Anyways I see there's a bug where TItle/Names alignment needs to be fixed. There should be 2 separate alignements.


feat/set notification view from ->view('view')

currently to customise notification view requires to configure in service provider and this set the view globally
this PR enable to set view from Notification->view('view')
    public function notification()
    {
        Notification::make()
            ->title('default notification')
            ->success()
            ->send();
    }

    public function product_notification()
    {
        Notification::make()
            ->title('inline notification')
            ->body('product added to cart')
            ->view('notifications.product')
            ->viewData([
                'image' => 'https://images.unsplash.com/photo-1542291026-7eec264c27ff?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8NHx8cHJvZHVjdHN8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60',
            ])
            ->send();
    }

Thanks for contributing this PR, @wychoong!
Configuring a view which is different than the default requires a check to prevent security issues where a malicious user could set an arbitrary view. Have a look at how this is done in notification actions, which already support custom views: https://github.com/filamentphp/filament/blob/0192236a04a7ee64f3044cdce390fb5d1c346f89/packages/notifications/src/Actions/Action.php#L51.
Mark this PR as ready for review when you're finished.
Also, let me know if you have any questions!

Thanks for contributing this PR, @wychoong!
Configuring a view which is different than the default requires a check to prevent security issues where a malicious user could set an arbitrary view. Have a look at how this is done in notification actions, which already support custom views:
https://github.com/filamentphp/filament/blob/0192236a04a7ee64f3044cdce390fb5d1c346f89/packages/notifications/src/Actions/Action.php#L51
Mark this PR as ready for review when you're finished. Also, let me know if you have any questions!

It explicitly checks for notifications::actions. which wouldn’t work for this case
https://github.com/filamentphp/filament/blob/0192236a04a7ee64f3044cdce390fb5d1c346f89/packages/notifications/src/Actions/Action.php#L72
Or should it check for existence in resources folder?
view()->exists(…)

I don’t see how is this dangerous looking at how ViewField or any other field currently is doing
https://filamentphp.com/docs/2.x/forms/fields#view
But I agree if to make it better I think need another method instead of getViewData

ViewField doesn't ever serialise to JSON... notifications do. So if someone sent a notification from the JS API or something, they shouldn't be able to set a view in your app to anything

Exactly like Dan said.

It explicitly checks for notifications::actions. which wouldn’t work for this case

You should then override the isViewSafe method inside your custom Notification class to accept the views you want.

the JS API

Ah, forgot about this.

You should then override the isViewSafe method inside your custom Notification class to accept the views you want.

I will likely change to check an array of allowed views, do you think I should submit the changes as PR?

set valid views in config
Check valid views
rename getViewData to getNotificationViewData
Add api to JS

I think we shouldn't add new config options, as those will be removed in v3.

I think we shouldn't add new config options, as those will be removed in v3.

i have updated it to use configureUsing instead of config option
    Notification::configureUsing(function (Notification $notification): void {
            $notification->safeViews('notifications.product');
     });

Thanks, but weird PHPStan error. I will run it locally and double check.

thanks for merging this in! much appreciated


Autoslurp and serve static assets from tornado

To lessen load on the server, serve IPython static assets from Tornado. The version of the static assets must match the container though. To make this really easy for admins, we could:

On startup, boot the requested image then docker cp the static assets out of the container
Create a static handler that serves those static assets
Provide an endpoint with a .tar.gz file of the static assets so people can serve the static assets from

nginx
a CDN (#14)

We ended up doing this with nginx in https://github.com/jupyter/tmpnb-deploy/pull/3, but it would be good to provide this for a general tmpnb admin still.

Now we're doing this with a CDN.
Closing unless someone else wants this implemented. It's more of an administrative task that can be run on the side.


iterator limit now match malloc in protocol listing, fix #21, ref #13

The for test now checks if i < n_server_types, even if Q_UNKNOWN_TYPE is always the last gametype.

fix the issue #21, needed by PR #13 .

This issue is more than 13 years old, but since  Q_UNKNOWN_TYPE is always the last gametype, no problem has never occured.

This PR can be merged after #32 or before, as you want, but it must be merged before all others.


Comments

This is probably important. 😉

What should the comment syntax be?

/* C style  */
{ Pascal style }
# Python-ish style #
<| Something I made up |>
{| Something else I made up |}
<- HTML-ish ->
(| Bananas |)
(: Emojis :)

@liam4 @nanalan @jonathan50 @TheMonsterFromTheDeep @algmwc5 please tell me which one you guys think is best (and be serious please)

I am not one of the people listed, but oh well. I'll rank them in order, so my favourite will be at the top, and the one I dislike most will be 8th

6
1
2
8
3
4
7
5

5 just seems to be vertically misaligned and thus displeasing to the eye.

I would prefer C style comments as they're used in a good amount of languages and sometimes pseudocode. Line comments (in the form of  //) would be nice too instead of only multiline.

I like both C-style and Python-ish style. I'm honestly actually not sure which one I like better - although I think whichever one you choose should support block comments.

I like many of the brackets where the opening and closing character is different. Oh, and an interesting feature I would suggest is allow you to escape comment endings. Not sure how useful this would be, but a
< My comment \> continues till here> and then stops

might be cool, not sure though.
I don't like the Python-ish one much because hashtags have a rightward slant that makes my brain think of it as an opening "bracket". If there was a hashtag in ASCII that slants in the opposite direction I'd say that could be a pretty cool comment system.

@joker314, I just didn't know your Github account.
Right now I'm leaning towards 1, 2, and 3. Thanks for the input guys! :D

I personally don't really find angle brackets to be that attractive for commenting. However, that may simply be because I'm so used to other symbols for it... :package:
I think however that the best choice for this language is something that clearly marks said comment as descriptive, and I honestly have no idea what the best syntax to do that might be. I think something with quotation marks might work, like <" comment > because that sort of marks it as a note, but then there is the confusion between that and string syntax...
The other symbol I think might work with commenting is the question mark, so maybe something like <? comment > would be good. I like the question mark in comments because it sort of looks distinct from code and it also sort of conveys the notion that it's there to help.
I also agree with io that inline comments would be nice too - I think question marks would also work well for that, e.g.
? This method calculates the factorial of parameter n.
? This is not the most efficient way to do it, but it works for demonstration purposes.
to factorial with (n) do ...

Hmmm. I like 2-5.
@TheMonsterFromTheDeep Then you can't name procedures or variables stuff like is_integer?. Oh, Haumea doesn't allow question marks in names anyway lol

@Jonathan50 You can't on quite a few other languages either 📦

@Jonathan50 Yeah, there are certainly problems with question marks. :P
I think it's honesty pretty difficult to design a perfect comment syntax for this language, because comment syntax needs to be concise and not interfere with other syntax, but in this case it should also be relatively readable. :/

@TheMonsterFromTheDeep Maybe # or even --? Python, Elixir use the former, Lua the latter, and they all are similar to Haumea in style. I'm kinda leaning to them, since, now that I think of it, \\ feels too "advanced" for a language of this kind.

There's the Smalltalk-style "...".

 Executable code is indented; comments are everything else...

I don't dislike --.

C style

9. Files are a superset of markdown. Executable code is indented; comments are everything else...

That's interesting, I actually have heard of a language like that, but I don't know how many people are going to be writing documents that have Haumea code in it.

I actually have heard of a language like that

I did shamelessly steal the idea from Eve :)

I like --, lua-style, or ?, both of which continue until newline.
Multi-line comments are needed though.
If I had to pick one of the 6, I'd say JS/Python style.

Or you could do (for begginer friendliness)
comment

end

^^^

@joker314 I honestly can't tell if that's sarcastic or not.

I really like the question marks so far, but what about for multiline comments?

???
  Blah
???

That could work.

or
~~~

~~~

Unless somebody writes a comment like
WHYY???? which will unfortunately close the comment

or
***
Comment
***

??? could require a line dedicated to itself.

^

? I'm a comment.
blah blah do
  ???
    this is a multiline comment
    really??? yes
  ???
  stuff
end

or
***
Comment
***

I saw that. :P

Provided somebody writes syntax definitions for Haumea, the actually character shouldn't matter too much since comments would be highlighted :wink:

In the *** system, you can't posssibly write Terms and Conditions apply*** so it should be fine, and allow you to write comments in between tokens:
while ***this will loop*** x < 5 do

nanalan, yeah, but what if somebody is using Notepad to write Haumea

I guess inline comments are nice..?
? This will loop
while x < 5 do

But I prefer this placement of comments..

Of course but some people might write long one liners

@joker314 THEN THEY ARE NOT WORTHY TO USE HAUMEA!

eheehe

some stuff ? hi

while (
  this and ? ..
  that and
  this or even that ? ..
)

I really like ? this is a comment for single line comments, and
???
Hi!
???
``` for multiline comments

gj with the markdown there :sunglasses:

I suppose I'm not allowed to +1 that, given I brought up the idea. :tada:

@BookOwl I also like the fact you used the same font that Gwiddle uses (?) for the Haumea logo :shipit:

Really? I never knew that.

Also, if users REALLY want inline multiline comments, they could do
while ??? This is my condition ??? foo() ??? This is my statement. ??? do
 bar()
end

Exactly.

If anybody has any major objections to question mark comments, speak up now.

My idea works too
while ***This is my condition*** foo() *** This is my statement. *** do
   bar()
end

Hey, why not have two comment thingies

I think I like *** better than ??? but is just my opinion

@joker314 That could get confusing having two different comment syntaxes.

*** works when interlacing inside of statements because it is perfectly symetrical.

That's true

Also, if users REALLY want inline multiline comments, they could do
while ??? This is my condition ??? foo() ??? This is my statement. ??? do
 bar()
end

I dislike that - it could create problems with ??? within the comment themselves.

Great job with markdown @nanalan 😎

I was just about to say that

@BookOwl What will you choose? *** or ??? I will leave the decision to you. 😎

I gtg, 🚆 ride!

bye

Also, if users REALLY want inline multiline comments, they could do
while ??? This is my condition ??? foo() ??? This is my statement. ??? do
bar()
end

I dislike that - it could create problems with ??? within the comment themselves.

That's true, I think I'll stick with @liam4's idea of having the ??? have to appear on it's own line.

Or
***
Just saying much simpler

But that still has the problem with *** appearing inside a comment.

Really???

while foo() *** Hey, a comment *** <- See that? *** bar()

Well this issue exists in a lot of languages it can be avoided less with my version

You should probably choose the simplest choice. There's no need to make up something new and complicated just because it's original.
// or even # would work just fine.

That said, I would not be opposed to something original, it would just have to follow these guidelines (for me, at least):

Nothing too fancy or hard to type like (: sample :)
Nothing too hard to identify as a comment like indentation
Nothing that could be seen as code (like ?)

// or even # would work just fine.
I disagree @birdoftheday, what about float division? (/ vs //)

@birdoftheday provided ? isn't part of the syntax, how could it be seen as code? ;P

condition ? something : somethingelse is in a lot of languages.

It just looks kind of odd to me.
? this does something
? it also does something else
5 + 5 ? this calculates five plus five

It's kind of hard to separate the 5 + 5, the code ,and the ? this calculates five plus five, the comment

Not in Haumea :shipit:
Regarding inline ifs, @BookOwl have you considered newlines being optional? It's a functional piece of syntax but it looks quite nice
x = if 1 = 1 do 25 end else do 2

condition ? something : somethingelse has always been confusing to me, so if I add it it would have different syntax.

All I'm saying is that ? kind of looks like an operator to me. It might be different for other people.

@BookOwl Why not just #?

@birdoftheday not saying I use them, but have you ever used an Apple keyboard? :stuck_out_tongue_winking_eye:

@nanalan Yes

not saying I use them, but have you ever used an Apple keyboard? 😜 # is really difficult to type on them :(

pinky on (left) shift, index on 3, ###, :tada:
I really don't find that difficult to type!

What about @TheMonsterFromTheDeep's idea of using <? ... ?>?

Well, I've programmed skipping comments into the scanner, so as soon as we can decide which comment syntax to use I can push it.

FINAL VOTE

/* This is a comment */
<? This is a comment ?>
?? This is a comment ??
-- This is a comment --
<- This is a comment ->

Currently my favorites are 2 and 3, but I'm open to any of them.

3 and 4.

1 and 5

Because I'm busy.

Every one of them except for 2 and 5. I don't really imagine <> being used in a language of this style, other than for comparing.

What do you think of 3?

What do you think of 3?

It's nice, but I like the idea of having different start/end tokens.

There are 6 reaction emojis, so why not vote using them
1 - +1
2 - -1
3 - Laugh
4 - Hooray
5 - Confused
Please select with the option below. I have initialised them all so that you can just click the one you want. However, this means I cannot vote. You ARE allowed to vote more than once.

pinky on (left) shift, index on 3, ###, 🎉

Alt+3 on non-US Mac keyboards. It did take me a while to get used to it when I first switched from a British PC layout. Not a big deal now though...

?? This is a comment ??
Are you sure?  :P

/* comment */ it is, then?

@nanalan I think so.

Comments have been added to master with commit 0db0ee9
They use the /* I'm a comment */ syntax. Thanks for the help everyone! :D

Multi-line comments are needed though.

Why do you think that?

@joker314 I honestly can't tell if that's sarcastic or not.

Why do you think that?

I saw that. :P

Your link is broken.

gj with the markdown there :sunglasses:

How can you see that…?

I saw that. :P
Your link is broken.

His old comment, which he deleted.

gj with the markdown there :sunglasses:
How can you see that…?

Failed > quote :stuck_out_tongue_winking_eye:

@joker314 I honestly can't tell if that's sarcastic or not.

Why do you think that?

@Jonathan50 I've found everything far too verbose in (at least some) languages like this. Having a huge comment syntax will just distract from the content of the comment! It's not particularly friendly to beginners - it's obvious, but once you've learned (the syntax) it's not hard to remember.
And I figured joker314 wasn't being serious when he suggested that (additionally, since it's a pain to type!).


added idPattern for issue 648

Proposed changes
Added idPattern. Fix for issue #648
Types of changes
What types of changes does your code introduce to the project?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Maintenance (update of libraries or other dependences)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have run all the existing tests locally (not just those related to my feature) and there are no errors
[x] After the last push to the PR branch, I have run the lint script locally and there are no changes to the code base
[x] I have updated the RELEASE NOTES
[ ] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Hi @chicco785 @c0c0n3
can you please check the workflow?

hi @NEC-Vishal! Thank you sooo much for this PR. I've checked out your branch locally and the tests break on my side too. Not sure why. Can you please try running all the tests locally too? Some of them should break for you too, maybe you can help us figure out what's wrong...

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

Hi @c0c0n3 @chicco785
can you please check this PR now for issue #648.
I have resolved the issue with test cases.

@NEC-Vishal just one more favour if you don't mind running the linter locally and fixing whatever it's moaning about, then commit the fixes. The GitHub code linter action is blocking this PR from being merged b/c apparently the linter (autopep8) isn;t happy...

Hi @c0c0n3
I have tried the code linter locally, but linter  shows every time requirement already satisfied.
also when I run the command  sh lint.md.sh showing nothing.
so can you Please suggest me a way to solve this?

@NEC-Vishal I've just tried the same locally on your branch and it actually works for me too. I'm going to try overriding the GitHub check so we can merge...


consolidate cq_compile and ibmq_compile endpoints

@dowusu-antwi this has a few implications for #473:

cq_compile and ibmq_compile should now both call the generic _client.compile() instead of _client.(cq|ibmq)_compile()
_client.compile() *should* also support any valid target other than qscout and aqt (e.g. ionq_ion_qpu)